@microblink/blinkid-ux-manager 7.4.2 → 7.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 (145) hide show
  1. package/README.md +142 -0
  2. package/dist/blinkid-ux-manager.js +1874 -1270
  3. package/package.json +3 -3
  4. package/types/core/BlinkIdProcessingError.d.ts +1 -1
  5. package/types/core/BlinkIdProcessingError.d.ts.map +1 -1
  6. package/types/core/BlinkIdUxManager.d.ts +29 -2
  7. package/types/core/BlinkIdUxManager.d.ts.map +1 -1
  8. package/types/core/HapticFeedback.d.ts +57 -0
  9. package/types/core/HapticFeedback.d.ts.map +1 -0
  10. package/types/core/HapticFeedback.test.d.ts +5 -0
  11. package/types/core/HapticFeedback.test.d.ts.map +1 -0
  12. package/types/core/blinkid-ui-state.d.ts +7 -5
  13. package/types/core/blinkid-ui-state.d.ts.map +1 -1
  14. package/types/core/ping-camera-utils.d.ts +16 -0
  15. package/types/core/ping-camera-utils.d.ts.map +1 -0
  16. package/types/index.d.ts +1 -0
  17. package/types/index.d.ts.map +1 -1
  18. package/types/index.rollup.d.ts +679 -0
  19. package/types/shared/ping-implementations.d.ts +60 -0
  20. package/types/shared/ping-implementations.d.ts.map +1 -0
  21. package/types/shared/uiEventFeedbackMapper.d.ts +7 -0
  22. package/types/shared/uiEventFeedbackMapper.d.ts.map +1 -0
  23. package/types/ui/BlinkIdFeedbackUi.d.ts.map +1 -1
  24. package/types/ui/BlinkIdUiStoreContext.d.ts +6 -6
  25. package/types/ui/BlinkIdUiStoreContext.d.ts.map +1 -1
  26. package/types/ui/UiFeedbackOverlay.d.ts.map +1 -1
  27. package/types/ui/createBlinkIdFeedbackUi.d.ts +7 -1
  28. package/types/ui/createBlinkIdFeedbackUi.d.ts.map +1 -1
  29. package/types/ui/dialogs/HelpModal.d.ts.map +1 -1
  30. package/types/ui/dialogs/OnboardingGuideModal.d.ts.map +1 -1
  31. package/types/ui/feedbackMessages.d.ts.map +1 -1
  32. package/types/ui/locales/ak.d.ts +55 -0
  33. package/types/ui/locales/ak.d.ts.map +1 -0
  34. package/types/ui/locales/am.d.ts +55 -0
  35. package/types/ui/locales/am.d.ts.map +1 -0
  36. package/types/ui/locales/ar.d.ts +55 -0
  37. package/types/ui/locales/ar.d.ts.map +1 -0
  38. package/types/ui/locales/bn.d.ts +55 -0
  39. package/types/ui/locales/bn.d.ts.map +1 -0
  40. package/types/ui/locales/cs.d.ts +55 -0
  41. package/types/ui/locales/cs.d.ts.map +1 -0
  42. package/types/ui/locales/da.d.ts +55 -0
  43. package/types/ui/locales/da.d.ts.map +1 -0
  44. package/types/ui/locales/de.d.ts +55 -0
  45. package/types/ui/locales/de.d.ts.map +1 -0
  46. package/types/ui/locales/el.d.ts +55 -0
  47. package/types/ui/locales/el.d.ts.map +1 -0
  48. package/types/ui/locales/en.d.ts +40 -39
  49. package/types/ui/locales/en.d.ts.map +1 -1
  50. package/types/ui/locales/en_GB.d.ts +55 -0
  51. package/types/ui/locales/en_GB.d.ts.map +1 -0
  52. package/types/ui/locales/es.d.ts +55 -0
  53. package/types/ui/locales/es.d.ts.map +1 -0
  54. package/types/ui/locales/es_MX.d.ts +55 -0
  55. package/types/ui/locales/es_MX.d.ts.map +1 -0
  56. package/types/ui/locales/fa-latn.d.ts +55 -0
  57. package/types/ui/locales/fa-latn.d.ts.map +1 -0
  58. package/types/ui/locales/fi.d.ts +55 -0
  59. package/types/ui/locales/fi.d.ts.map +1 -0
  60. package/types/ui/locales/fil.d.ts +55 -0
  61. package/types/ui/locales/fil.d.ts.map +1 -0
  62. package/types/ui/locales/fr.d.ts +55 -0
  63. package/types/ui/locales/fr.d.ts.map +1 -0
  64. package/types/ui/locales/fr_CA.d.ts +55 -0
  65. package/types/ui/locales/fr_CA.d.ts.map +1 -0
  66. package/types/ui/locales/ha.d.ts +55 -0
  67. package/types/ui/locales/ha.d.ts.map +1 -0
  68. package/types/ui/locales/he.d.ts +55 -0
  69. package/types/ui/locales/he.d.ts.map +1 -0
  70. package/types/ui/locales/hi.d.ts +55 -0
  71. package/types/ui/locales/hi.d.ts.map +1 -0
  72. package/types/ui/locales/hr.d.ts +55 -0
  73. package/types/ui/locales/hr.d.ts.map +1 -0
  74. package/types/ui/locales/hu.d.ts +55 -0
  75. package/types/ui/locales/hu.d.ts.map +1 -0
  76. package/types/ui/locales/id.d.ts +55 -0
  77. package/types/ui/locales/id.d.ts.map +1 -0
  78. package/types/ui/locales/index.d.ts +60 -0
  79. package/types/ui/locales/index.d.ts.map +1 -0
  80. package/types/ui/locales/is.d.ts +55 -0
  81. package/types/ui/locales/is.d.ts.map +1 -0
  82. package/types/ui/locales/it.d.ts +55 -0
  83. package/types/ui/locales/it.d.ts.map +1 -0
  84. package/types/ui/locales/ja.d.ts +55 -0
  85. package/types/ui/locales/ja.d.ts.map +1 -0
  86. package/types/ui/locales/ka_GE.d.ts +55 -0
  87. package/types/ui/locales/ka_GE.d.ts.map +1 -0
  88. package/types/ui/locales/kk.d.ts +55 -0
  89. package/types/ui/locales/kk.d.ts.map +1 -0
  90. package/types/ui/locales/km_KH.d.ts +55 -0
  91. package/types/ui/locales/km_KH.d.ts.map +1 -0
  92. package/types/ui/locales/ko.d.ts +55 -0
  93. package/types/ui/locales/ko.d.ts.map +1 -0
  94. package/types/ui/locales/lv.d.ts +55 -0
  95. package/types/ui/locales/lv.d.ts.map +1 -0
  96. package/types/ui/locales/ms.d.ts +55 -0
  97. package/types/ui/locales/ms.d.ts.map +1 -0
  98. package/types/ui/locales/ne.d.ts +55 -0
  99. package/types/ui/locales/ne.d.ts.map +1 -0
  100. package/types/ui/locales/nl.d.ts +55 -0
  101. package/types/ui/locales/nl.d.ts.map +1 -0
  102. package/types/ui/locales/no.d.ts +55 -0
  103. package/types/ui/locales/no.d.ts.map +1 -0
  104. package/types/ui/locales/pl.d.ts +55 -0
  105. package/types/ui/locales/pl.d.ts.map +1 -0
  106. package/types/ui/locales/ps_AF.d.ts +55 -0
  107. package/types/ui/locales/ps_AF.d.ts.map +1 -0
  108. package/types/ui/locales/pt.d.ts +55 -0
  109. package/types/ui/locales/pt.d.ts.map +1 -0
  110. package/types/ui/locales/pt_BR.d.ts +55 -0
  111. package/types/ui/locales/pt_BR.d.ts.map +1 -0
  112. package/types/ui/locales/ro.d.ts +55 -0
  113. package/types/ui/locales/ro.d.ts.map +1 -0
  114. package/types/ui/locales/ru.d.ts +55 -0
  115. package/types/ui/locales/ru.d.ts.map +1 -0
  116. package/types/ui/locales/si.d.ts +55 -0
  117. package/types/ui/locales/si.d.ts.map +1 -0
  118. package/types/ui/locales/sk.d.ts +55 -0
  119. package/types/ui/locales/sk.d.ts.map +1 -0
  120. package/types/ui/locales/sl.d.ts +55 -0
  121. package/types/ui/locales/sl.d.ts.map +1 -0
  122. package/types/ui/locales/sr.d.ts +55 -0
  123. package/types/ui/locales/sr.d.ts.map +1 -0
  124. package/types/ui/locales/sv.d.ts +55 -0
  125. package/types/ui/locales/sv.d.ts.map +1 -0
  126. package/types/ui/locales/sw.d.ts +55 -0
  127. package/types/ui/locales/sw.d.ts.map +1 -0
  128. package/types/ui/locales/th.d.ts +55 -0
  129. package/types/ui/locales/th.d.ts.map +1 -0
  130. package/types/ui/locales/tr.d.ts +55 -0
  131. package/types/ui/locales/tr.d.ts.map +1 -0
  132. package/types/ui/locales/uk.d.ts +55 -0
  133. package/types/ui/locales/uk.d.ts.map +1 -0
  134. package/types/ui/locales/ur.d.ts +55 -0
  135. package/types/ui/locales/ur.d.ts.map +1 -0
  136. package/types/ui/locales/uz.d.ts +55 -0
  137. package/types/ui/locales/uz.d.ts.map +1 -0
  138. package/types/ui/locales/vi.d.ts +55 -0
  139. package/types/ui/locales/vi.d.ts.map +1 -0
  140. package/types/ui/locales/yo.d.ts +55 -0
  141. package/types/ui/locales/yo.d.ts.map +1 -0
  142. package/types/ui/locales/zh_CN.d.ts +55 -0
  143. package/types/ui/locales/zh_CN.d.ts.map +1 -0
  144. package/types/ui/locales/zh_TW.d.ts +55 -0
  145. package/types/ui/locales/zh_TW.d.ts.map +1 -0
@@ -1,202 +1,203 @@
1
- (function(){"use strict";(r=>{window.__blinkidUxManagerCssCode=r})("*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.container{width:100%}@media (min-width: 380px){.container{max-width:380px}}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.contain-strict{contain:strict}.backface-hidden{backface-visibility:hidden}.absolute{position:absolute}.relative{position:relative}.bottom-0{bottom:calc(var(--mb-size)*0rem)}.left-0{left:calc(var(--mb-size)*0rem)}.top-0{top:calc(var(--mb-size)*0rem)}.grid{display:grid}.mt-3{margin-top:calc(var(--mb-size)*.75rem)}.size-12{width:calc(var(--mb-size)*3rem);height:calc(var(--mb-size)*3rem)}.size-24{width:calc(var(--mb-size)*6rem);height:calc(var(--mb-size)*6rem)}.size-full{width:100%;height:100%}.max-w-45{max-width:calc(var(--mb-size)*11.25rem)}.w-24{width:calc(var(--mb-size)*6rem)}.w-full{width:100%}.flex{display:flex}.perspective-300px{-webkit-perspective:300px;perspective:300px}.rotate-y-180{--un-rotate:0;--un-rotate-y:180deg;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.scale-130{--un-scale-x:1.3;--un-scale-y:1.3;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.preserve-3d{transform-style:preserve-3d}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.select-none{-webkit-user-select:none;user-select:none}.place-items-center{place-items:center}.justify-center{justify-content:center}.gap-1{gap:calc(var(--mb-size)*.25rem)}.overflow-hidden{overflow:hidden}.rounded-2{border-radius:calc(var(--mb-size)*.5rem)}.rounded-full{border-radius:9999px}.bg-dark-100{--un-bg-opacity:1;background-color:rgb(60 60 60 / var(--un-bg-opacity))}.bg-error-500{--un-bg-opacity:1;background-color:rgb(var(--color-error-500-rgb-value) / var(--un-bg-opacity))}.bg-opacity-30{--un-bg-opacity:.3}.\\[\\&\\>path\\]\\:fill-\\[currentColor\\]>path{fill:currentColor}.\\[\\&\\>path\\]\\:fill-\\[initial\\]>path{fill:initial}.px-2{padding-left:calc(var(--mb-size)*.5rem);padding-right:calc(var(--mb-size)*.5rem)}.py-3{padding-top:calc(var(--mb-size)*.75rem);padding-bottom:calc(var(--mb-size)*.75rem)}.p-inline-4{padding-inline-start:calc(var(--mb-size)*1rem);padding-inline-end:calc(var(--mb-size)*1rem)}.text-center{text-align:center}.text-balance{text-wrap:balance}.text-base{font-size:calc(var(--mb-size)*1rem);line-height:calc(var(--mb-size)*1.5rem)}.text-white{--un-text-opacity:1;color:rgb(var(--color-white-rgb-value) / var(--un-text-opacity))}.font-bold{font-weight:700}.text-shadow-\\[0_1px_4px_rgba\\(0\\,0\\,0\\,0\\.1\\)\\]{text-shadow:0 1px 4px rgba(0,0,0,.1)}.backdrop-blur-xl{--un-backdrop-blur:blur(24px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.drop-shadow-\\[0_0_15px_rgba\\(0\\,0\\,0\\,0\\.1\\)\\]{--un-drop-shadow:drop-shadow(0 0 15px rgba(0,0,0,.1));filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease,.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.will-change-transform{will-change:transform}._dialogPositioner_worsp_1{position:fixed;top:calc(var(--mb-size)*0rem);left:calc(var(--mb-size)*0rem);display:grid;height:100vh;width:100%;padding:calc(var(--mb-size)*2rem)}@supports (height:100dvh){._dialogPositioner_worsp_1{height:100dvh}}._dialogBackdrop_worsp_5{position:absolute;top:calc(var(--mb-size)*0rem);left:calc(var(--mb-size)*0rem);width:100%;height:100%;--un-bg-opacity:1;background-color:rgb(var(--color-black-rgb-value) / var(--un-bg-opacity));--un-bg-opacity:.5;--un-backdrop-blur:blur(4px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}._dialogContent_worsp_9{position:relative;max-height:calc(100dvh - 4rem);max-width:28rem;display:flex;flex-direction:column;place-self:center;border-radius:.5rem;--un-bg-opacity:1;background-color:rgb(var(--color-white-rgb-value) / var(--un-bg-opacity));padding-left:min(8%,3rem);padding-right:min(8%,3rem);padding-top:min(8%,1.5rem);padding-bottom:min(8%,1.5rem);--un-text-opacity:1;color:rgb(15 15 15 / var(--un-text-opacity));--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}._dialogContent_worsp_9._large_worsp_13{padding-left:min(8%,4rem);padding-right:min(8%,4rem);padding-top:min(8%,3rem);padding-bottom:min(8%,3rem)}._dialogContent_worsp_9._compact_worsp_16{padding:min(8%,1.5rem)}@media (min-width: 640px){._dialogContent_worsp_9{max-width:36rem}}@media (min-width: 1024px){._dialogContent_worsp_9{max-width:28rem}}._dialogTitle_worsp_30{text-align:center;font-size:calc(var(--mb-size)*1.5rem);line-height:calc(var(--mb-size)*2rem);font-weight:700}._contentOut_worsp_34{overflow-y:auto}._closeButton_worsp_38{position:absolute;top:.625rem;right:.625rem;width:calc(var(--mb-size)*2rem);height:calc(var(--mb-size)*2rem);display:flex;align-items:center;justify-content:center;border-radius:9999px;border-style:none;background-color:transparent;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.1s}._closeButton_worsp_38:hover{--un-bg-opacity:1;background-color:rgb(var(--color-gray-100-rgb-value) / var(--un-bg-opacity))}._closeButton_worsp_38:active{--un-bg-opacity:1;background-color:rgb(var(--color-gray-200-rgb-value) / var(--un-bg-opacity))}._closeButtonInner_worsp_44{display:flex;--un-translate-y:-2px;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));align-items:center;justify-content:center;font-size:calc(var(--mb-size)*1.875rem);line-height:calc(var(--mb-size)*2.25rem);--un-text-opacity:1;color:rgb(var(--color-black-rgb-value) / var(--un-text-opacity));font-weight:200;line-height:1}._primaryActionButton_worsp_49{height:2.5rem;-webkit-appearance:none;appearance:none;border-radius:calc(var(--mb-size)*2.5rem);border-style:none;--un-bg-opacity:1;background-color:rgb(var(--color-primary) / var(--un-bg-opacity));padding-left:calc(var(--mb-size)*1.25rem);padding-right:calc(var(--mb-size)*1.25rem);padding-top:calc(var(--mb-size)*.25rem);padding-bottom:calc(var(--mb-size)*.25rem);text-wrap:nowrap;font-size:calc(var(--mb-size)*.875rem);line-height:calc(var(--mb-size)*1.25rem);--un-text-opacity:1;color:rgb(var(--color-white-rgb-value) / var(--un-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.1s}._primaryActionButton_worsp_49[disabled]{cursor:not-allowed;--un-bg-opacity:1;background-color:rgb(var(--color-gray-200-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-gray-500-rgb-value) / var(--un-text-opacity));--un-ring-width:0px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}._primaryActionButton_worsp_49[disabled]:hover{--un-bg-opacity:1;background-color:rgb(var(--color-gray-200-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-gray-500-rgb-value) / var(--un-text-opacity))}._primaryActionButton_worsp_49:hover{--un-bg-opacity:1;background-color:rgb(var(--color-accent-700-rgb-value) / var(--un-bg-opacity))}._primaryActionButton_worsp_49:active{--un-bg-opacity:1;background-color:rgb(var(--color-accent-800-rgb-value) / var(--un-bg-opacity))}._primaryActionButton_worsp_49:focus{outline-width:2px;--un-outline-color-opacity:1;outline-color:rgb(var(--color-accent-400-rgb-value) / var(--un-outline-color-opacity));outline-offset:4px;outline-style:solid}._secondaryActionButton_worsp_53{height:2.5rem;-webkit-appearance:none;appearance:none;border-radius:calc(var(--mb-size)*2.5rem);border-style:none;background-color:transparent;padding-left:calc(var(--mb-size)*1.25rem);padding-right:calc(var(--mb-size)*1.25rem);padding-top:calc(var(--mb-size)*.25rem);padding-bottom:calc(var(--mb-size)*.25rem);text-wrap:nowrap;font-size:calc(var(--mb-size)*.875rem);line-height:calc(var(--mb-size)*1.25rem);--un-text-opacity:1;color:rgb(var(--color-primary) / var(--un-text-opacity));--un-ring-width:1px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-ring-opacity:1;--un-ring-color:rgb(var(--color-primary) / var(--un-ring-opacity)) ;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.1s}._secondaryActionButton_worsp_53[disabled]{cursor:not-allowed;--un-bg-opacity:1;background-color:rgb(var(--color-gray-200-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-gray-500-rgb-value) / var(--un-text-opacity));--un-ring-width:0px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}._secondaryActionButton_worsp_53[disabled]:hover{--un-bg-opacity:1;background-color:rgb(var(--color-gray-200-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-gray-500-rgb-value) / var(--un-text-opacity))}._secondaryActionButton_worsp_53:hover{--un-bg-opacity:1;background-color:rgb(var(--color-accent-25-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-accent-700-rgb-value) / var(--un-text-opacity));--un-ring-opacity:1;--un-ring-color:rgb(var(--color-accent-700-rgb-value) / var(--un-ring-opacity)) }._secondaryActionButton_worsp_53:active{--un-bg-opacity:1;background-color:rgb(var(--color-accent-50-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-accent-800-rgb-value) / var(--un-text-opacity));--un-ring-opacity:1;--un-ring-color:rgb(var(--color-accent-800-rgb-value) / var(--un-ring-opacity)) }._secondaryActionButton_worsp_53:focus{outline-width:2px;--un-outline-color-opacity:1;outline-color:rgb(var(--color-accent-400-rgb-value) / var(--un-outline-color-opacity));outline-offset:4px;outline-style:solid}._actions_worsp_57{display:flex;gap:calc(var(--mb-size)*1rem)}._actions_worsp_57 ._primaryActionButton_worsp_49,._actions_worsp_57 ._secondaryActionButton_worsp_53{width:50%}._alertTitle_worsp_64{font-size:calc(var(--mb-size)*1.125rem);line-height:calc(var(--mb-size)*1.75rem);--un-text-opacity:1;color:rgb(var(--color-gray-700-rgb-value) / var(--un-text-opacity));font-weight:400}._alertText_worsp_68{margin-top:calc(var(--mb-size)*1rem);margin-bottom:calc(var(--mb-size)*2rem);padding-left:calc(var(--mb-size)*.5rem);padding-right:calc(var(--mb-size)*.5rem);text-align:center;text-wrap:pretty;--un-text-opacity:1;color:rgb(var(--color-gray-500-rgb-value) / var(--un-text-opacity));font-weight:300;line-height:1.5}._buttonPrimary_jhzz5_1{height:2.5rem;-webkit-appearance:none;appearance:none;border-radius:calc(var(--mb-size)*2.5rem);border-style:none;--un-bg-opacity:1;background-color:rgb(var(--color-primary) / var(--un-bg-opacity));padding-left:calc(var(--mb-size)*1.25rem);padding-right:calc(var(--mb-size)*1.25rem);padding-top:calc(var(--mb-size)*.25rem);padding-bottom:calc(var(--mb-size)*.25rem);text-wrap:nowrap;font-size:calc(var(--mb-size)*.875rem);line-height:calc(var(--mb-size)*1.25rem);--un-text-opacity:1;color:rgb(var(--color-white-rgb-value) / var(--un-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.1s}._buttonPrimary_jhzz5_1[disabled]{cursor:not-allowed;--un-bg-opacity:1;background-color:rgb(var(--color-gray-200-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-gray-500-rgb-value) / var(--un-text-opacity));--un-ring-width:0px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}._buttonPrimary_jhzz5_1[disabled]:hover{--un-bg-opacity:1;background-color:rgb(var(--color-gray-200-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-gray-500-rgb-value) / var(--un-text-opacity))}._buttonPrimary_jhzz5_1:hover{--un-bg-opacity:1;background-color:rgb(var(--color-accent-700-rgb-value) / var(--un-bg-opacity))}._buttonPrimary_jhzz5_1:active{--un-bg-opacity:1;background-color:rgb(var(--color-accent-800-rgb-value) / var(--un-bg-opacity))}._buttonPrimary_jhzz5_1:focus{outline-width:2px;--un-outline-color-opacity:1;outline-color:rgb(var(--color-accent-400-rgb-value) / var(--un-outline-color-opacity));outline-offset:4px;outline-style:solid}._buttonSecondary_jhzz5_5{height:2.5rem;-webkit-appearance:none;appearance:none;border-radius:calc(var(--mb-size)*2.5rem);border-style:none;background-color:transparent;padding-left:calc(var(--mb-size)*1.25rem);padding-right:calc(var(--mb-size)*1.25rem);padding-top:calc(var(--mb-size)*.25rem);padding-bottom:calc(var(--mb-size)*.25rem);text-wrap:nowrap;font-size:calc(var(--mb-size)*.875rem);line-height:calc(var(--mb-size)*1.25rem);--un-text-opacity:1;color:rgb(var(--color-primary) / var(--un-text-opacity));--un-ring-width:1px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-ring-opacity:1;--un-ring-color:rgb(var(--color-primary) / var(--un-ring-opacity)) ;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.1s}._buttonSecondary_jhzz5_5[disabled]{cursor:not-allowed;--un-bg-opacity:1;background-color:rgb(var(--color-gray-200-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-gray-500-rgb-value) / var(--un-text-opacity));--un-ring-width:0px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}._buttonSecondary_jhzz5_5[disabled]:hover{--un-bg-opacity:1;background-color:rgb(var(--color-gray-200-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-gray-500-rgb-value) / var(--un-text-opacity))}._buttonSecondary_jhzz5_5:hover{--un-bg-opacity:1;background-color:rgb(var(--color-accent-25-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-accent-700-rgb-value) / var(--un-text-opacity));--un-ring-opacity:1;--un-ring-color:rgb(var(--color-accent-700-rgb-value) / var(--un-ring-opacity)) }._buttonSecondary_jhzz5_5:active{--un-bg-opacity:1;background-color:rgb(var(--color-accent-50-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-accent-800-rgb-value) / var(--un-text-opacity));--un-ring-opacity:1;--un-ring-color:rgb(var(--color-accent-800-rgb-value) / var(--un-ring-opacity)) }._buttonSecondary_jhzz5_5:focus{outline-width:2px;--un-outline-color-opacity:1;outline-color:rgb(var(--color-accent-400-rgb-value) / var(--un-outline-color-opacity));outline-offset:4px;outline-style:solid}._buttonActions_jhzz5_9{width:100%;display:flex;gap:calc(var(--mb-size)*1rem)}._buttonActions_jhzz5_9 ._buttonPrimary_jhzz5_1,._buttonActions_jhzz5_9 ._buttonSecondary_jhzz5_5{width:50%}._modalGrid_jhzz5_16,._onboardingGuide_jhzz5_16{display:grid;grid-template-rows:1fr auto;gap:calc(var(--mb-size)*1rem)}._content_jhzz5_20,._onboardingGuide_jhzz5_16 ._content_jhzz5_20,._carousel_jhzz5_20 ._itemGroup_jhzz5_20{max-width:24rem}@media (min-width: 640px){._content_jhzz5_20,._onboardingGuide_jhzz5_16 ._content_jhzz5_20,._carousel_jhzz5_20 ._itemGroup_jhzz5_20{max-width:32rem}}@media (min-width: 1024px){._content_jhzz5_20,._onboardingGuide_jhzz5_16 ._content_jhzz5_20,._carousel_jhzz5_20 ._itemGroup_jhzz5_20{max-width:24rem}}._header_jhzz5_34,._onboardingGuide_jhzz5_16 ._header_jhzz5_34,._carousel_jhzz5_20 ._item_jhzz5_20{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;justify-items:center;column-gap:calc(var(--mb-size)*1rem)}._header_jhzz5_34 svg,._onboardingGuide_jhzz5_16 ._header_jhzz5_34 svg,._carousel_jhzz5_20 ._item_jhzz5_20 svg{grid-column:span 2/span 2;max-width:18rem}@media (min-width: 640px){._header_jhzz5_34 svg,._onboardingGuide_jhzz5_16 ._header_jhzz5_34 svg,._carousel_jhzz5_20 ._item_jhzz5_20 svg{grid-column:span 1/span 1;width:10rem;max-width:10rem}}@media (min-width: 1024px){._header_jhzz5_34 svg,._onboardingGuide_jhzz5_16 ._header_jhzz5_34 svg,._carousel_jhzz5_20 ._item_jhzz5_20 svg{grid-column:span 2/span 2;width:18rem;max-width:18rem}}._textContent_jhzz5_51{grid-column:span 2/span 2;text-align:center}@media (min-width: 640px){._textContent_jhzz5_51{grid-column:span 1/span 1;text-align:left}}@media (min-width: 1024px){._textContent_jhzz5_51{grid-column:span 2/span 2;text-align:center}}._textContent_jhzz5_51 h2{margin-bottom:calc(var(--mb-size)*.75rem);font-size:calc(var(--mb-size)*1.5rem);line-height:calc(var(--mb-size)*2rem);font-weight:600}._textContent_jhzz5_51 p{width:100%;max-width:24rem;text-wrap:pretty;--un-text-opacity:1;color:rgb(var(--color-gray-600-rgb-value) / var(--un-text-opacity));font-weight:300;line-height:1.5}._carousel_jhzz5_20{display:grid;grid-template-rows:1fr auto auto}._carousel_jhzz5_20 ._itemGroup_jhzz5_20{grid-row-start:1}._carousel_jhzz5_20 ._indicators_jhzz5_77{grid-row-start:2;display:flex;justify-content:center;gap:calc(var(--mb-size)*.75rem);padding-top:calc(var(--mb-size)*.75rem);padding-bottom:calc(var(--mb-size)*.75rem)}._carousel_jhzz5_20 ._indicators_jhzz5_77 ._indicator_jhzz5_77{width:calc(var(--mb-size)*.5rem);height:calc(var(--mb-size)*.5rem);cursor:auto;border-radius:9999px;border-style:none;--un-bg-opacity:1;background-color:rgb(var(--color-gray-200-rgb-value) / var(--un-bg-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.2s}._carousel_jhzz5_20 ._indicators_jhzz5_77 ._indicator_jhzz5_77[data-current]{--un-bg-opacity:1;background-color:rgb(var(--color-primary) / var(--un-bg-opacity))}._carousel_jhzz5_20 ._controls_jhzz5_86{grid-row-start:3;display:flex;justify-content:center;padding:calc(var(--mb-size)*.5rem)}._carousel_jhzz5_20 ._controls_jhzz5_86 ._controlsInner_jhzz5_89{width:100%;max-width:100%;display:flex;gap:calc(var(--mb-size)*1rem)}._carousel_jhzz5_20 ._controls_jhzz5_86 ._controlsInner_jhzz5_89 ._buttonPrimary_jhzz5_1,._carousel_jhzz5_20 ._controls_jhzz5_86 ._controlsInner_jhzz5_89 ._buttonSecondary_jhzz5_5{width:50%}@media (min-width: 640px){._carousel_jhzz5_20 ._controls_jhzz5_86 ._controlsInner_jhzz5_89{max-width:15rem}}@media (min-width: 1024px){._carousel_jhzz5_20 ._controls_jhzz5_86 ._controlsInner_jhzz5_89{max-width:100%}}._onboardingGuide_jhzz5_16 ._content_jhzz5_20,._onboardingGuide_jhzz5_16 ._carousel_jhzz5_20 ._itemGroup_jhzz5_20,._carousel_jhzz5_20 ._onboardingGuide_jhzz5_16 ._itemGroup_jhzz5_20{grid-row-start:1}._onboardingGuide_jhzz5_16 ._actions_jhzz5_109{grid-row-start:2;display:flex;justify-content:center;padding-top:calc(var(--mb-size)*1rem);padding-bottom:calc(var(--mb-size)*1rem)}._helpButton_jhzz5_113{position:absolute;bottom:calc(var(--mb-size)*1rem);right:calc(var(--mb-size)*1rem);display:grid;width:calc(var(--mb-size)*2.25rem);height:calc(var(--mb-size)*2.25rem);-webkit-appearance:none;appearance:none;place-items:center;border-radius:9999px;border-style:none;--un-bg-opacity:1;background-color:rgb(var(--color-white-rgb-value) / var(--un-bg-opacity))}._helpButton_jhzz5_113:hover{--un-bg-opacity:1;background-color:rgb(var(--color-gray-100-rgb-value) / var(--un-bg-opacity))}._helpButton_jhzz5_113:active{--un-bg-opacity:1;background-color:rgb(var(--color-gray-200-rgb-value) / var(--un-bg-opacity))}._helpButton_jhzz5_113 svg{width:calc(var(--mb-size)*1.75rem);height:calc(var(--mb-size)*1.75rem)}._tooltip_jhzz5_121{border-radius:.375rem;--un-bg-opacity:1;background-color:rgb(var(--color-primary) / var(--un-bg-opacity));padding:calc(var(--mb-size)*.5rem);text-align:center;font-size:calc(var(--mb-size)*.875rem);line-height:calc(var(--mb-size)*1.25rem);--un-text-opacity:1;color:rgb(var(--color-white-rgb-value) / var(--un-text-opacity));--un-drop-shadow:drop-shadow(0 4px 3px var(--un-drop-shadow-color, rgb(0 0 0 / .07))) drop-shadow(0 2px 2px var(--un-drop-shadow-color, rgb(0 0 0 / .06)));filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}._tooltip_jhzz5_121 ._arrow_jhzz5_124{--arrow-size: .5rem;--arrow-background: rgb(var(--color-primary))}._demoOverlay_17vst_1{position:absolute;top:15%;width:100%;display:flex;align-items:center;justify-content:center}._microblinkOverlay_17vst_5{position:absolute;bottom:calc(var(--mb-size)*1rem);width:100%;display:flex;align-items:center;justify-content:center}")})();
2
- import { insert as S, createComponent as o, isServer as Y1, mergeProps as X1, Dynamic as Me, spread as R, template as v, memo as b1, effect as K, use as k1, delegateEvents as Oe, Portal as et, className as k } from "solid-js/web";
3
- import { createRoot as tt, createContext as R1, createEffect as q, useContext as C1, createMemo as $1, on as nt, untrack as x1, createSignal as Q, useTransition as rt, createComputed as it, batch as M1, splitProps as at, onCleanup as o1, Switch as Ae, Match as W, Show as U, onMount as ot, For as ae } from "solid-js";
4
- import { cameraManagerStore as st } from "@microblink/camera-manager";
5
- import { createWithSignal as ct } from "solid-zustand";
6
- import { createStore as De } from "solid-js/store";
7
- import { EnvironmentProvider as lt } from "@ark-ui/solid/environment";
8
- import { Dialog as a1 } from "@ark-ui/solid/dialog";
9
- import { DialogTitle as ke, Carousel as Y, Tooltip as s1 } from "@ark-ui/solid";
10
- const P = Symbol.for("@ts-pattern/matcher"), Re = Symbol.for("@ts-pattern/isVariadic"), O1 = "@ts-pattern/anonymous-select-key", B1 = (e) => !!(e && typeof e == "object"), E1 = (e) => e && !!e[P], A = (e, t, n) => {
11
- if (E1(e)) {
12
- const r = e[P](), { matched: i, selections: a } = r.match(t);
13
- return i && a && Object.keys(a).forEach((s) => n(s, a[s])), i;
14
- }
15
- if (B1(e)) {
16
- if (!B1(t)) return !1;
1
+ (function(){"use strict";(r=>{window.__blinkidUxManagerCssCode=r})("*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.container{width:100%}@media (min-width: 380px){.container{max-width:380px}}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.contain-strict{contain:strict}.backface-hidden{backface-visibility:hidden}.absolute{position:absolute}.relative{position:relative}.bottom-0{bottom:calc(var(--mb-size)*0rem)}.left-0{left:calc(var(--mb-size)*0rem)}.top-0{top:calc(var(--mb-size)*0rem)}.grid{display:grid}.mt-3{margin-top:calc(var(--mb-size)*.75rem)}.size-12{width:calc(var(--mb-size)*3rem);height:calc(var(--mb-size)*3rem)}.size-24{width:calc(var(--mb-size)*6rem);height:calc(var(--mb-size)*6rem)}.size-full{width:100%;height:100%}.max-w-45{max-width:calc(var(--mb-size)*11.25rem)}.w-24{width:calc(var(--mb-size)*6rem)}.w-full{width:100%}.flex{display:flex}.perspective-300px{-webkit-perspective:300px;perspective:300px}.rotate-y-180{--un-rotate:0;--un-rotate-y:180deg;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.scale-130{--un-scale-x:1.3;--un-scale-y:1.3;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.preserve-3d{transform-style:preserve-3d}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.select-none{-webkit-user-select:none;user-select:none}.place-items-center{place-items:center}.justify-center{justify-content:center}.gap-1{gap:calc(var(--mb-size)*.25rem)}.overflow-hidden{overflow:hidden}.rounded-2{border-radius:calc(var(--mb-size)*.5rem)}.rounded-full{border-radius:9999px}.bg-error-400\\/60{background-color:rgb(var(--color-error-400-rgb-value) / .6)}.bg-gray-550\\/50{background-color:rgb(var(--color-gray-550-rgb-value) / .5)}.bg-gray-550\\/90{background-color:rgb(var(--color-gray-550-rgb-value) / .9)}.\\[\\&\\>path\\]\\:fill-\\[currentColor\\]>path{fill:currentColor}.\\[\\&\\>path\\]\\:fill-\\[initial\\]>path{fill:initial}.px-2{padding-left:calc(var(--mb-size)*.5rem);padding-right:calc(var(--mb-size)*.5rem)}.py-3{padding-top:calc(var(--mb-size)*.75rem);padding-bottom:calc(var(--mb-size)*.75rem)}.p-inline-4{padding-inline-start:calc(var(--mb-size)*1rem);padding-inline-end:calc(var(--mb-size)*1rem)}.text-center{text-align:center}.text-balance{text-wrap:balance}.text-base{font-size:calc(var(--mb-size)*1rem);line-height:calc(var(--mb-size)*1.5rem)}.text-white{--un-text-opacity:1;color:rgb(var(--color-white-rgb-value) / var(--un-text-opacity))}.font-bold{font-weight:700}.text-shadow-\\[0_1px_4px_rgba\\(0\\,0\\,0\\,0\\.1\\)\\]{text-shadow:0 1px 4px rgba(0,0,0,.1)}.backdrop-blur-xl{--un-backdrop-blur:blur(24px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.drop-shadow-\\[0_0_15px_rgba\\(0\\,0\\,0\\,0\\.1\\)\\]{--un-drop-shadow:drop-shadow(0 0 15px rgba(0,0,0,.1));filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease,.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.will-change-transform{will-change:transform}._dialogPositioner_15i6c_1{position:fixed;top:calc(var(--mb-size)*0rem);left:calc(var(--mb-size)*0rem);display:grid;height:100vh;width:100%;padding:calc(var(--mb-size)*2rem)}@supports (height:100dvh){._dialogPositioner_15i6c_1{height:100dvh}}@media (max-width: 379.9px){._dialogPositioner_15i6c_1{padding:calc(var(--mb-size)*1rem)}}._dialogBackdrop_15i6c_10{position:absolute;top:calc(var(--mb-size)*0rem);left:calc(var(--mb-size)*0rem);width:100%;height:100%;--un-bg-opacity:1;background-color:rgb(var(--color-black-rgb-value) / var(--un-bg-opacity));--un-bg-opacity:.5;--un-backdrop-blur:blur(4px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}._dialogContent_15i6c_14{position:relative;max-height:calc(100dvh - 4rem);max-width:28rem;display:flex;flex-direction:column;place-self:center;border-radius:.5rem;--un-bg-opacity:1;background-color:rgb(var(--color-white-rgb-value) / var(--un-bg-opacity));padding-left:min(8%,3rem);padding-right:min(8%,3rem);padding-top:min(8%,1.5rem);padding-bottom:min(8%,1.5rem);--un-text-opacity:1;color:rgb(15 15 15 / var(--un-text-opacity));--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}._dialogContent_15i6c_14._large_15i6c_18{padding-left:min(8%,4rem);padding-right:min(8%,4rem);padding-top:min(8%,3rem);padding-bottom:min(8%,3rem)}._dialogContent_15i6c_14._compact_15i6c_21{padding:min(8%,1.5rem)}@media screen and (max-height: 500px){._dialogContent_15i6c_14._compact_15i6c_21{height:auto}}@media screen and (max-height: 500px){._dialogContent_15i6c_14{height:100%;max-height:calc(100dvh - 2rem);overflow:hidden;padding-left:min(8%,1.5rem);padding-right:min(8%,1.5rem);padding-top:min(8%,.5rem);padding-bottom:min(8%,.5rem)}}@media (min-width: 640px){._dialogContent_15i6c_14{max-width:36rem}}@media (min-width: 1024px){._dialogContent_15i6c_14{max-width:28rem}}._dialogTitle_15i6c_45{text-align:center;font-size:calc(var(--mb-size)*1.5rem);line-height:calc(var(--mb-size)*2rem);font-weight:700}._contentOut_15i6c_49{height:100%}._closeButton_15i6c_53{position:absolute;top:.625rem;right:.625rem;width:calc(var(--mb-size)*2rem);height:calc(var(--mb-size)*2rem);display:flex;align-items:center;justify-content:center;border-style:none;background-color:transparent;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.1s}._closeButton_15i6c_53:hover{--un-bg-opacity:1;background-color:rgb(var(--color-gray-100-rgb-value) / var(--un-bg-opacity))}._closeButton_15i6c_53:active{--un-bg-opacity:1;background-color:rgb(var(--color-gray-200-rgb-value) / var(--un-bg-opacity))}._closeButtonInner_15i6c_59{width:.875rem;height:.875rem}._primaryActionButton_15i6c_63{height:2.5rem;-webkit-appearance:none;appearance:none;border-radius:calc(var(--mb-size)*2.5rem);border-style:none;--un-bg-opacity:1;background-color:rgb(var(--color-primary) / var(--un-bg-opacity));padding-left:calc(var(--mb-size)*1.25rem);padding-right:calc(var(--mb-size)*1.25rem);padding-top:calc(var(--mb-size)*.25rem);padding-bottom:calc(var(--mb-size)*.25rem);text-wrap:nowrap;font-size:calc(var(--mb-size)*.875rem);line-height:calc(var(--mb-size)*1.25rem);--un-text-opacity:1;color:rgb(var(--color-white-rgb-value) / var(--un-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.1s}._primaryActionButton_15i6c_63[disabled]{cursor:not-allowed;--un-bg-opacity:1;background-color:rgb(var(--color-gray-200-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-gray-500-rgb-value) / var(--un-text-opacity));--un-ring-width:0px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}._primaryActionButton_15i6c_63[disabled]:hover{--un-bg-opacity:1;background-color:rgb(var(--color-gray-200-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-gray-500-rgb-value) / var(--un-text-opacity))}._primaryActionButton_15i6c_63:hover{--un-bg-opacity:1;background-color:rgb(var(--color-accent-700-rgb-value) / var(--un-bg-opacity))}._primaryActionButton_15i6c_63:active{--un-bg-opacity:1;background-color:rgb(var(--color-accent-800-rgb-value) / var(--un-bg-opacity))}._primaryActionButton_15i6c_63:focus-visible{outline-width:2px;--un-outline-color-opacity:1;outline-color:rgb(var(--color-primary) / var(--un-outline-color-opacity));outline-offset:4px;outline-style:solid}._secondaryActionButton_15i6c_67{height:2.5rem;-webkit-appearance:none;appearance:none;border-radius:calc(var(--mb-size)*2.5rem);border-style:none;background-color:transparent;padding-left:calc(var(--mb-size)*1.25rem);padding-right:calc(var(--mb-size)*1.25rem);padding-top:calc(var(--mb-size)*.25rem);padding-bottom:calc(var(--mb-size)*.25rem);text-wrap:nowrap;font-size:calc(var(--mb-size)*.875rem);line-height:calc(var(--mb-size)*1.25rem);--un-text-opacity:1;color:rgb(var(--color-primary) / var(--un-text-opacity));--un-ring-width:1px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-ring-opacity:1;--un-ring-color:rgb(var(--color-primary) / var(--un-ring-opacity)) ;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.1s}._secondaryActionButton_15i6c_67[disabled]{cursor:not-allowed;--un-bg-opacity:1;background-color:rgb(var(--color-gray-200-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-gray-500-rgb-value) / var(--un-text-opacity));--un-ring-width:0px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}._secondaryActionButton_15i6c_67[disabled]:hover{--un-bg-opacity:1;background-color:rgb(var(--color-gray-200-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-gray-500-rgb-value) / var(--un-text-opacity))}._secondaryActionButton_15i6c_67:hover{--un-bg-opacity:1;background-color:rgb(var(--color-accent-25-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-accent-700-rgb-value) / var(--un-text-opacity));--un-ring-opacity:1;--un-ring-color:rgb(var(--color-accent-700-rgb-value) / var(--un-ring-opacity)) }._secondaryActionButton_15i6c_67:active{--un-bg-opacity:1;background-color:rgb(var(--color-accent-50-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-accent-800-rgb-value) / var(--un-text-opacity));--un-ring-opacity:1;--un-ring-color:rgb(var(--color-accent-800-rgb-value) / var(--un-ring-opacity)) }._secondaryActionButton_15i6c_67:focus-visible{outline-width:2px;--un-outline-color-opacity:1;outline-color:rgb(var(--color-primary) / var(--un-outline-color-opacity));outline-offset:4px;outline-style:solid}._actions_15i6c_71{display:flex;gap:calc(var(--mb-size)*1rem)}._actions_15i6c_71 ._primaryActionButton_15i6c_63,._actions_15i6c_71 ._secondaryActionButton_15i6c_67{width:50%}._alertTitle_15i6c_79{font-size:calc(var(--mb-size)*1.125rem);line-height:calc(var(--mb-size)*1.75rem);--un-text-opacity:1;color:rgb(var(--color-gray-700-rgb-value) / var(--un-text-opacity));font-weight:400}._alertText_15i6c_83{margin-top:calc(var(--mb-size)*1rem);margin-bottom:calc(var(--mb-size)*2rem);padding-left:calc(var(--mb-size)*.5rem);padding-right:calc(var(--mb-size)*.5rem);text-align:center;text-wrap:pretty;--un-text-opacity:1;color:rgb(var(--color-gray-500-rgb-value) / var(--un-text-opacity));font-weight:300;line-height:1.5}._buttonPrimary_1gpgn_1{height:2.5rem;-webkit-appearance:none;appearance:none;border-radius:calc(var(--mb-size)*2.5rem);border-style:none;--un-bg-opacity:1;background-color:rgb(var(--color-primary) / var(--un-bg-opacity));padding-left:calc(var(--mb-size)*1.25rem);padding-right:calc(var(--mb-size)*1.25rem);padding-top:calc(var(--mb-size)*.25rem);padding-bottom:calc(var(--mb-size)*.25rem);text-wrap:nowrap;font-size:calc(var(--mb-size)*.875rem);line-height:calc(var(--mb-size)*1.25rem);--un-text-opacity:1;color:rgb(var(--color-white-rgb-value) / var(--un-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.1s}._buttonPrimary_1gpgn_1[disabled]{cursor:not-allowed;--un-bg-opacity:1;background-color:rgb(var(--color-gray-200-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-gray-500-rgb-value) / var(--un-text-opacity));--un-ring-width:0px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}._buttonPrimary_1gpgn_1[disabled]:hover{--un-bg-opacity:1;background-color:rgb(var(--color-gray-200-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-gray-500-rgb-value) / var(--un-text-opacity))}._buttonPrimary_1gpgn_1:hover{--un-bg-opacity:1;background-color:rgb(var(--color-accent-700-rgb-value) / var(--un-bg-opacity))}._buttonPrimary_1gpgn_1:active{--un-bg-opacity:1;background-color:rgb(var(--color-accent-800-rgb-value) / var(--un-bg-opacity))}._buttonPrimary_1gpgn_1:focus-visible{outline-width:2px;--un-outline-color-opacity:1;outline-color:rgb(var(--color-primary) / var(--un-outline-color-opacity));outline-offset:4px;outline-style:solid}._buttonSecondary_1gpgn_5{height:2.5rem;-webkit-appearance:none;appearance:none;border-radius:calc(var(--mb-size)*2.5rem);border-style:none;background-color:transparent;padding-left:calc(var(--mb-size)*1.25rem);padding-right:calc(var(--mb-size)*1.25rem);padding-top:calc(var(--mb-size)*.25rem);padding-bottom:calc(var(--mb-size)*.25rem);text-wrap:nowrap;font-size:calc(var(--mb-size)*.875rem);line-height:calc(var(--mb-size)*1.25rem);--un-text-opacity:1;color:rgb(var(--color-primary) / var(--un-text-opacity));--un-ring-width:1px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-ring-opacity:1;--un-ring-color:rgb(var(--color-primary) / var(--un-ring-opacity)) ;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.1s}._buttonSecondary_1gpgn_5[disabled]{cursor:not-allowed;--un-bg-opacity:1;background-color:rgb(var(--color-gray-200-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-gray-500-rgb-value) / var(--un-text-opacity));--un-ring-width:0px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}._buttonSecondary_1gpgn_5[disabled]:hover{--un-bg-opacity:1;background-color:rgb(var(--color-gray-200-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-gray-500-rgb-value) / var(--un-text-opacity))}._buttonSecondary_1gpgn_5:hover{--un-bg-opacity:1;background-color:rgb(var(--color-accent-25-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-accent-700-rgb-value) / var(--un-text-opacity));--un-ring-opacity:1;--un-ring-color:rgb(var(--color-accent-700-rgb-value) / var(--un-ring-opacity)) }._buttonSecondary_1gpgn_5:active{--un-bg-opacity:1;background-color:rgb(var(--color-accent-50-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-accent-800-rgb-value) / var(--un-text-opacity));--un-ring-opacity:1;--un-ring-color:rgb(var(--color-accent-800-rgb-value) / var(--un-ring-opacity)) }._buttonSecondary_1gpgn_5:focus-visible{outline-width:2px;--un-outline-color-opacity:1;outline-color:rgb(var(--color-primary) / var(--un-outline-color-opacity));outline-offset:4px;outline-style:solid}._buttonActions_1gpgn_9{width:100%;display:flex;gap:calc(var(--mb-size)*1rem)}._buttonActions_1gpgn_9 ._buttonPrimary_1gpgn_1,._buttonActions_1gpgn_9 ._buttonSecondary_1gpgn_5{width:50%}._modalGrid_1gpgn_17,._onboardingGuide_1gpgn_17{display:grid;grid-template-rows:1fr auto;gap:calc(var(--mb-size)*1rem)}._content_1gpgn_21,._onboardingGuide_1gpgn_17 ._content_1gpgn_21,._carousel_1gpgn_21 ._itemGroup_1gpgn_21{max-width:24rem}@media (min-width: 640px){._content_1gpgn_21,._onboardingGuide_1gpgn_17 ._content_1gpgn_21,._carousel_1gpgn_21 ._itemGroup_1gpgn_21{max-width:32rem}}@media (min-width: 1024px){._content_1gpgn_21,._onboardingGuide_1gpgn_17 ._content_1gpgn_21,._carousel_1gpgn_21 ._itemGroup_1gpgn_21{max-width:24rem}}._header_1gpgn_35,._onboardingGuide_1gpgn_17 ._header_1gpgn_35,._carousel_1gpgn_21 ._item_1gpgn_21{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;justify-items:center;column-gap:calc(var(--mb-size)*1rem)}._header_1gpgn_35 svg,._onboardingGuide_1gpgn_17 ._header_1gpgn_35 svg,._carousel_1gpgn_21 ._item_1gpgn_21 svg{grid-column:span 2/span 2;max-width:18rem}@media (min-width: 640px){._header_1gpgn_35 svg,._onboardingGuide_1gpgn_17 ._header_1gpgn_35 svg,._carousel_1gpgn_21 ._item_1gpgn_21 svg{grid-column:span 1/span 1;width:10rem;max-width:10rem}}@media (min-width: 1024px){._header_1gpgn_35 svg,._onboardingGuide_1gpgn_17 ._header_1gpgn_35 svg,._carousel_1gpgn_21 ._item_1gpgn_21 svg{grid-column:span 2/span 2;width:18rem;max-width:18rem}}@media screen and (max-height: 500px){._header_1gpgn_35 svg,._onboardingGuide_1gpgn_17 ._header_1gpgn_35 svg,._carousel_1gpgn_21 ._item_1gpgn_21 svg{grid-column:span 1/span 1;width:10rem;max-width:10rem}}._textContent_1gpgn_57{grid-column:span 2/span 2;overflow-y:auto;text-align:center}@media (min-width: 640px){._textContent_1gpgn_57{grid-column:span 1/span 1;text-align:left}}@media (min-width: 1024px){._textContent_1gpgn_57{grid-column:span 2/span 2;text-align:center}}._textContent_1gpgn_57 h2{margin-bottom:calc(var(--mb-size)*.75rem);font-size:calc(var(--mb-size)*1.5rem);line-height:calc(var(--mb-size)*2rem);font-weight:600}._textContent_1gpgn_57 p{width:100%;max-width:24rem;text-wrap:pretty;--un-text-opacity:1;color:rgb(var(--color-gray-600-rgb-value) / var(--un-text-opacity));font-weight:300;line-height:1.5}._carousel_1gpgn_21{display:grid;grid-template-rows:1fr auto auto}@media screen and (max-height: 500px){._carousel_1gpgn_21{height:100%}}._carousel_1gpgn_21 ._itemGroup_1gpgn_21{grid-row-start:1}._carousel_1gpgn_21 ._item_1gpgn_21{overflow-y:auto}._carousel_1gpgn_21 ._indicators_1gpgn_91{grid-row-start:2;display:flex;justify-content:center;gap:calc(var(--mb-size)*.75rem);padding-top:calc(var(--mb-size)*.75rem);padding-bottom:calc(var(--mb-size)*.75rem)}@media screen and (max-height: 500px){._carousel_1gpgn_21 ._indicators_1gpgn_91{padding-top:.375rem;padding-bottom:.375rem}}._carousel_1gpgn_21 ._indicators_1gpgn_91 ._indicator_1gpgn_91{width:calc(var(--mb-size)*.5rem);height:calc(var(--mb-size)*.5rem);cursor:auto;border-radius:9999px;border-style:none;--un-bg-opacity:1;background-color:rgb(var(--color-gray-200-rgb-value) / var(--un-bg-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.2s}._carousel_1gpgn_21 ._indicators_1gpgn_91 ._indicator_1gpgn_91[data-current]{--un-bg-opacity:1;background-color:rgb(var(--color-primary) / var(--un-bg-opacity))}._carousel_1gpgn_21 ._controls_1gpgn_105{grid-row-start:3;display:flex;justify-content:center;padding:calc(var(--mb-size)*.5rem)}._carousel_1gpgn_21 ._controls_1gpgn_105 ._controlsInner_1gpgn_108{width:100%;max-width:100%;display:flex;gap:calc(var(--mb-size)*1rem)}._carousel_1gpgn_21 ._controls_1gpgn_105 ._controlsInner_1gpgn_108 ._buttonPrimary_1gpgn_1,._carousel_1gpgn_21 ._controls_1gpgn_105 ._controlsInner_1gpgn_108 ._buttonSecondary_1gpgn_5{width:50%}@media (min-width: 640px){._carousel_1gpgn_21 ._controls_1gpgn_105 ._controlsInner_1gpgn_108{max-width:15rem}}@media (min-width: 1024px){._carousel_1gpgn_21 ._controls_1gpgn_105 ._controlsInner_1gpgn_108{max-width:100%}}._onboardingGuide_1gpgn_17 ._content_1gpgn_21,._onboardingGuide_1gpgn_17 ._carousel_1gpgn_21 ._itemGroup_1gpgn_21,._carousel_1gpgn_21 ._onboardingGuide_1gpgn_17 ._itemGroup_1gpgn_21{grid-row-start:1}._onboardingGuide_1gpgn_17 ._actions_1gpgn_129{grid-row-start:2;display:flex;justify-content:center;padding-top:calc(var(--mb-size)*1rem);padding-bottom:calc(var(--mb-size)*1rem)}._helpButton_1gpgn_133{position:absolute;bottom:calc(var(--mb-size)*1rem);right:calc(var(--mb-size)*1rem);display:grid;width:calc(var(--mb-size)*2.25rem);height:calc(var(--mb-size)*2.25rem);-webkit-appearance:none;appearance:none;place-items:center;border-radius:9999px;border-style:none;--un-bg-opacity:1;background-color:rgb(var(--color-white-rgb-value) / var(--un-bg-opacity))}._helpButton_1gpgn_133:hover{--un-bg-opacity:1;background-color:rgb(var(--color-gray-100-rgb-value) / var(--un-bg-opacity))}._helpButton_1gpgn_133:active{--un-bg-opacity:1;background-color:rgb(var(--color-gray-200-rgb-value) / var(--un-bg-opacity))}._helpButton_1gpgn_133:focus-visible{outline-width:2px;--un-outline-color-opacity:1;outline-color:rgb(var(--color-primary) / var(--un-outline-color-opacity));outline-offset:4px;outline-style:solid}._helpButton_1gpgn_133 svg{width:calc(var(--mb-size)*1.75rem);height:calc(var(--mb-size)*1.75rem)}._tooltip_1gpgn_141{border-radius:.375rem;--un-bg-opacity:1;background-color:rgb(var(--color-primary) / var(--un-bg-opacity));padding:calc(var(--mb-size)*.5rem);text-align:center;font-size:calc(var(--mb-size)*.875rem);line-height:calc(var(--mb-size)*1.25rem);--un-text-opacity:1;color:rgb(var(--color-white-rgb-value) / var(--un-text-opacity));--un-drop-shadow:drop-shadow(0 4px 3px var(--un-drop-shadow-color, rgb(0 0 0 / .07))) drop-shadow(0 2px 2px var(--un-drop-shadow-color, rgb(0 0 0 / .06)));filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}._tooltip_1gpgn_141 ._arrow_1gpgn_144{--arrow-size: .5rem;--arrow-background: rgb(var(--color-primary))}._demoOverlay_17vst_1{position:absolute;top:15%;width:100%;display:flex;align-items:center;justify-content:center}._microblinkOverlay_17vst_5{position:absolute;bottom:calc(var(--mb-size)*1rem);width:100%;display:flex;align-items:center;justify-content:center}")})();
2
+ import { getDeviceInfo as gt } from "@microblink/blinkid-core";
3
+ import { insert as w, createComponent as o, isServer as t1, mergeProps as n1, Dynamic as N1, spread as R, template as v, memo as Ve, effect as Q, use as i1, delegateEvents as x1, Portal as pt, className as P } from "solid-js/web";
4
+ import { createRoot as mt, createContext as Ie, createEffect as G, useContext as Ae, createMemo as We, on as ft, untrack as xe, createSignal as Y, useTransition as _t, createComputed as vt, batch as De, splitProps as yt, onCleanup as oe, Switch as F1, Match as q, Show as L, onMount as G1, For as u1 } from "solid-js";
5
+ import { cameraManagerStore as St } from "@microblink/camera-manager";
6
+ import { createWithSignal as wt } from "solid-zustand";
7
+ import { createStore as U1 } from "solid-js/store";
8
+ import { EnvironmentProvider as bt } from "@ark-ui/solid/environment";
9
+ import { Dialog as se } from "@ark-ui/solid/dialog";
10
+ import { Carousel as X, DialogTitle as L1, Tooltip as le } from "@ark-ui/solid";
11
+ const N = Symbol.for("@ts-pattern/matcher"), H1 = Symbol.for("@ts-pattern/isVariadic"), ke = "@ts-pattern/anonymous-select-key", Ke = (e) => !!(e && typeof e == "object"), Me = (e) => e && !!e[N], D = (e, t, n) => {
12
+ if (Me(e)) {
13
+ const i = e[N](), { matched: r, selections: a } = i.match(t);
14
+ return r && a && Object.keys(a).forEach((c) => n(c, a[c])), r;
15
+ }
16
+ if (Ke(e)) {
17
+ if (!Ke(t)) return !1;
17
18
  if (Array.isArray(e)) {
18
19
  if (!Array.isArray(t)) return !1;
19
- let r = [], i = [], a = [];
20
- for (const s of e.keys()) {
21
- const c = e[s];
22
- E1(c) && c[Re] ? a.push(c) : a.length ? i.push(c) : r.push(c);
20
+ let i = [], r = [], a = [];
21
+ for (const c of e.keys()) {
22
+ const u = e[c];
23
+ Me(u) && u[H1] ? a.push(u) : a.length ? r.push(u) : i.push(u);
23
24
  }
24
25
  if (a.length) {
25
26
  if (a.length > 1) throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");
26
- if (t.length < r.length + i.length) return !1;
27
- const s = t.slice(0, r.length), c = i.length === 0 ? [] : t.slice(-i.length), f = t.slice(r.length, i.length === 0 ? 1 / 0 : -i.length);
28
- return r.every((l, u) => A(l, s[u], n)) && i.every((l, u) => A(l, c[u], n)) && (a.length === 0 || A(a[0], f, n));
27
+ if (t.length < i.length + r.length) return !1;
28
+ const c = t.slice(0, i.length), u = r.length === 0 ? [] : t.slice(-r.length), h = t.slice(i.length, r.length === 0 ? 1 / 0 : -r.length);
29
+ return i.every((g, p) => D(g, c[p], n)) && r.every((g, p) => D(g, u[p], n)) && (a.length === 0 || D(a[0], h, n));
29
30
  }
30
- return e.length === t.length && e.every((s, c) => A(s, t[c], n));
31
+ return e.length === t.length && e.every((c, u) => D(c, t[u], n));
31
32
  }
32
- return Reflect.ownKeys(e).every((r) => {
33
- const i = e[r];
34
- return (r in t || E1(a = i) && a[P]().matcherType === "optional") && A(i, t[r], n);
33
+ return Reflect.ownKeys(e).every((i) => {
34
+ const r = e[i];
35
+ return (i in t || Me(a = r) && a[N]().matcherType === "optional") && D(r, t[i], n);
35
36
  var a;
36
37
  });
37
38
  }
38
39
  return Object.is(t, e);
39
- }, z = (e) => {
40
- var t, n, r;
41
- return B1(e) ? E1(e) ? (t = (n = (r = e[P]()).getSelectionKeys) == null ? void 0 : n.call(r)) != null ? t : [] : Array.isArray(e) ? _1(e, z) : _1(Object.values(e), z) : [];
42
- }, _1 = (e, t) => e.reduce((n, r) => n.concat(t(r)), []);
43
- function ut(...e) {
40
+ }, F = (e) => {
41
+ var t, n, i;
42
+ return Ke(e) ? Me(e) ? (t = (n = (i = e[N]()).getSelectionKeys) == null ? void 0 : n.call(i)) != null ? t : [] : Array.isArray(e) ? Se(e, F) : Se(Object.values(e), F) : [];
43
+ }, Se = (e, t) => e.reduce((n, i) => n.concat(t(i)), []);
44
+ function Et(...e) {
44
45
  if (e.length === 1) {
45
46
  const [t] = e;
46
- return (n) => A(t, n, () => {
47
+ return (n) => D(t, n, () => {
47
48
  });
48
49
  }
49
50
  if (e.length === 2) {
50
51
  const [t, n] = e;
51
- return A(t, n, () => {
52
+ return D(t, n, () => {
52
53
  });
53
54
  }
54
55
  throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${e.length}.`);
55
56
  }
56
- function D(e) {
57
- return Object.assign(e, { optional: () => Z1(e), and: (t) => T(e, t), or: (t) => Ie(e, t), select: (t) => t === void 0 ? v1(e) : v1(t, e) });
57
+ function k(e) {
58
+ return Object.assign(e, { optional: () => r1(e), and: (t) => E(e, t), or: (t) => B1(e, t), select: (t) => t === void 0 ? we(e) : we(t, e) });
58
59
  }
59
- function H1(e) {
60
+ function je(e) {
60
61
  return Object.assign(((t) => Object.assign(t, { [Symbol.iterator]() {
61
62
  let n = 0;
62
- const r = [{ value: Object.assign(t, { [Re]: !0 }), done: !1 }, { done: !0, value: void 0 }];
63
+ const i = [{ value: Object.assign(t, { [H1]: !0 }), done: !1 }, { done: !0, value: void 0 }];
63
64
  return { next: () => {
64
- var i;
65
- return (i = r[n++]) != null ? i : r.at(-1);
65
+ var r;
66
+ return (r = i[n++]) != null ? r : i.at(-1);
66
67
  } };
67
- } }))(e), { optional: () => H1(Z1(e)), select: (t) => H1(t === void 0 ? v1(e) : v1(t, e)) });
68
+ } }))(e), { optional: () => je(r1(e)), select: (t) => je(t === void 0 ? we(e) : we(t, e)) });
68
69
  }
69
- function Z1(e) {
70
- return D({ [P]: () => ({ match: (t) => {
70
+ function r1(e) {
71
+ return k({ [N]: () => ({ match: (t) => {
71
72
  let n = {};
72
- const r = (i, a) => {
73
- n[i] = a;
73
+ const i = (r, a) => {
74
+ n[r] = a;
74
75
  };
75
- return t === void 0 ? (z(e).forEach((i) => r(i, void 0)), { matched: !0, selections: n }) : { matched: A(e, t, r), selections: n };
76
- }, getSelectionKeys: () => z(e), matcherType: "optional" }) });
76
+ return t === void 0 ? (F(e).forEach((r) => i(r, void 0)), { matched: !0, selections: n }) : { matched: D(e, t, i), selections: n };
77
+ }, getSelectionKeys: () => F(e), matcherType: "optional" }) });
77
78
  }
78
- const ht = (e, t) => {
79
+ const Tt = (e, t) => {
79
80
  for (const n of e) if (!t(n)) return !1;
80
81
  return !0;
81
- }, dt = (e, t) => {
82
- for (const [n, r] of e.entries()) if (!t(r, n)) return !1;
82
+ }, Ct = (e, t) => {
83
+ for (const [n, i] of e.entries()) if (!t(i, n)) return !1;
83
84
  return !0;
84
85
  };
85
- function T(...e) {
86
- return D({ [P]: () => ({ match: (t) => {
86
+ function E(...e) {
87
+ return k({ [N]: () => ({ match: (t) => {
87
88
  let n = {};
88
- const r = (i, a) => {
89
- n[i] = a;
89
+ const i = (r, a) => {
90
+ n[r] = a;
90
91
  };
91
- return { matched: e.every((i) => A(i, t, r)), selections: n };
92
- }, getSelectionKeys: () => _1(e, z), matcherType: "and" }) });
92
+ return { matched: e.every((r) => D(r, t, i)), selections: n };
93
+ }, getSelectionKeys: () => Se(e, F), matcherType: "and" }) });
93
94
  }
94
- function Ie(...e) {
95
- return D({ [P]: () => ({ match: (t) => {
95
+ function B1(...e) {
96
+ return k({ [N]: () => ({ match: (t) => {
96
97
  let n = {};
97
- const r = (i, a) => {
98
- n[i] = a;
98
+ const i = (r, a) => {
99
+ n[r] = a;
99
100
  };
100
- return _1(e, z).forEach((i) => r(i, void 0)), { matched: e.some((i) => A(i, t, r)), selections: n };
101
- }, getSelectionKeys: () => _1(e, z), matcherType: "or" }) });
101
+ return Se(e, F).forEach((r) => i(r, void 0)), { matched: e.some((r) => D(r, t, i)), selections: n };
102
+ }, getSelectionKeys: () => Se(e, F), matcherType: "or" }) });
102
103
  }
103
104
  function _(e) {
104
- return { [P]: () => ({ match: (t) => ({ matched: !!e(t) }) }) };
105
+ return { [N]: () => ({ match: (t) => ({ matched: !!e(t) }) }) };
105
106
  }
106
- function v1(...e) {
107
+ function we(...e) {
107
108
  const t = typeof e[0] == "string" ? e[0] : void 0, n = e.length === 2 ? e[1] : typeof e[0] == "string" ? void 0 : e[0];
108
- return D({ [P]: () => ({ match: (r) => {
109
- let i = { [t ?? O1]: r };
110
- return { matched: n === void 0 || A(n, r, (a, s) => {
111
- i[a] = s;
112
- }), selections: i };
113
- }, getSelectionKeys: () => [t ?? O1].concat(n === void 0 ? [] : z(n)) }) });
114
- }
115
- function L(e) {
109
+ return k({ [N]: () => ({ match: (i) => {
110
+ let r = { [t ?? ke]: i };
111
+ return { matched: n === void 0 || D(n, i, (a, c) => {
112
+ r[a] = c;
113
+ }), selections: r };
114
+ }, getSelectionKeys: () => [t ?? ke].concat(n === void 0 ? [] : F(n)) }) });
115
+ }
116
+ function W(e) {
116
117
  return typeof e == "number";
117
118
  }
118
- function X(e) {
119
+ function Z(e) {
119
120
  return typeof e == "string";
120
121
  }
121
- function Z(e) {
122
+ function J(e) {
122
123
  return typeof e == "bigint";
123
124
  }
124
- const xe = D(_(function(e) {
125
+ const $1 = k(_(function(e) {
125
126
  return !0;
126
- })), ft = xe, J = (e) => Object.assign(D(e), { startsWith: (t) => {
127
- return J(T(e, (n = t, _((r) => X(r) && r.startsWith(n)))));
127
+ })), Mt = $1, ee = (e) => Object.assign(k(e), { startsWith: (t) => {
128
+ return ee(E(e, (n = t, _((i) => Z(i) && i.startsWith(n)))));
128
129
  var n;
129
130
  }, endsWith: (t) => {
130
- return J(T(e, (n = t, _((r) => X(r) && r.endsWith(n)))));
131
+ return ee(E(e, (n = t, _((i) => Z(i) && i.endsWith(n)))));
131
132
  var n;
132
- }, minLength: (t) => J(T(e, ((n) => _((r) => X(r) && r.length >= n))(t))), length: (t) => J(T(e, ((n) => _((r) => X(r) && r.length === n))(t))), maxLength: (t) => J(T(e, ((n) => _((r) => X(r) && r.length <= n))(t))), includes: (t) => {
133
- return J(T(e, (n = t, _((r) => X(r) && r.includes(n)))));
133
+ }, minLength: (t) => ee(E(e, ((n) => _((i) => Z(i) && i.length >= n))(t))), length: (t) => ee(E(e, ((n) => _((i) => Z(i) && i.length === n))(t))), maxLength: (t) => ee(E(e, ((n) => _((i) => Z(i) && i.length <= n))(t))), includes: (t) => {
134
+ return ee(E(e, (n = t, _((i) => Z(i) && i.includes(n)))));
134
135
  var n;
135
136
  }, regex: (t) => {
136
- return J(T(e, (n = t, _((r) => X(r) && !!r.match(n)))));
137
+ return ee(E(e, (n = t, _((i) => Z(i) && !!i.match(n)))));
137
138
  var n;
138
- } }), gt = J(_(X)), V = (e) => Object.assign(D(e), { between: (t, n) => V(T(e, ((r, i) => _((a) => L(a) && r <= a && i >= a))(t, n))), lt: (t) => V(T(e, ((n) => _((r) => L(r) && r < n))(t))), gt: (t) => V(T(e, ((n) => _((r) => L(r) && r > n))(t))), lte: (t) => V(T(e, ((n) => _((r) => L(r) && r <= n))(t))), gte: (t) => V(T(e, ((n) => _((r) => L(r) && r >= n))(t))), int: () => V(T(e, _((t) => L(t) && Number.isInteger(t)))), finite: () => V(T(e, _((t) => L(t) && Number.isFinite(t)))), positive: () => V(T(e, _((t) => L(t) && t > 0))), negative: () => V(T(e, _((t) => L(t) && t < 0))) }), mt = V(_(L)), e1 = (e) => Object.assign(D(e), { between: (t, n) => e1(T(e, ((r, i) => _((a) => Z(a) && r <= a && i >= a))(t, n))), lt: (t) => e1(T(e, ((n) => _((r) => Z(r) && r < n))(t))), gt: (t) => e1(T(e, ((n) => _((r) => Z(r) && r > n))(t))), lte: (t) => e1(T(e, ((n) => _((r) => Z(r) && r <= n))(t))), gte: (t) => e1(T(e, ((n) => _((r) => Z(r) && r >= n))(t))), positive: () => e1(T(e, _((t) => Z(t) && t > 0))), negative: () => e1(T(e, _((t) => Z(t) && t < 0))) }), pt = e1(_(Z)), _t = D(_(function(e) {
139
+ } }), Ot = ee(_(Z)), K = (e) => Object.assign(k(e), { between: (t, n) => K(E(e, ((i, r) => _((a) => W(a) && i <= a && r >= a))(t, n))), lt: (t) => K(E(e, ((n) => _((i) => W(i) && i < n))(t))), gt: (t) => K(E(e, ((n) => _((i) => W(i) && i > n))(t))), lte: (t) => K(E(e, ((n) => _((i) => W(i) && i <= n))(t))), gte: (t) => K(E(e, ((n) => _((i) => W(i) && i >= n))(t))), int: () => K(E(e, _((t) => W(t) && Number.isInteger(t)))), finite: () => K(E(e, _((t) => W(t) && Number.isFinite(t)))), positive: () => K(E(e, _((t) => W(t) && t > 0))), negative: () => K(E(e, _((t) => W(t) && t < 0))) }), At = K(_(W)), te = (e) => Object.assign(k(e), { between: (t, n) => te(E(e, ((i, r) => _((a) => J(a) && i <= a && r >= a))(t, n))), lt: (t) => te(E(e, ((n) => _((i) => J(i) && i < n))(t))), gt: (t) => te(E(e, ((n) => _((i) => J(i) && i > n))(t))), lte: (t) => te(E(e, ((n) => _((i) => J(i) && i <= n))(t))), gte: (t) => te(E(e, ((n) => _((i) => J(i) && i >= n))(t))), positive: () => te(E(e, _((t) => J(t) && t > 0))), negative: () => te(E(e, _((t) => J(t) && t < 0))) }), Dt = te(_(J)), kt = k(_(function(e) {
139
140
  return typeof e == "boolean";
140
- })), vt = D(_(function(e) {
141
+ })), Rt = k(_(function(e) {
141
142
  return typeof e == "symbol";
142
- })), yt = D(_(function(e) {
143
+ })), Pt = k(_(function(e) {
143
144
  return e == null;
144
- })), wt = D(_(function(e) {
145
+ })), It = k(_(function(e) {
145
146
  return e != null;
146
147
  }));
147
- var O = { __proto__: null, matcher: P, optional: Z1, array: function(...e) {
148
- return H1({ [P]: () => ({ match: (t) => {
148
+ var M = { __proto__: null, matcher: N, optional: r1, array: function(...e) {
149
+ return je({ [N]: () => ({ match: (t) => {
149
150
  if (!Array.isArray(t)) return { matched: !1 };
150
151
  if (e.length === 0) return { matched: !0 };
151
152
  const n = e[0];
152
- let r = {};
153
- if (t.length === 0) return z(n).forEach((a) => {
154
- r[a] = [];
155
- }), { matched: !0, selections: r };
156
- const i = (a, s) => {
157
- r[a] = (r[a] || []).concat([s]);
153
+ let i = {};
154
+ if (t.length === 0) return F(n).forEach((a) => {
155
+ i[a] = [];
156
+ }), { matched: !0, selections: i };
157
+ const r = (a, c) => {
158
+ i[a] = (i[a] || []).concat([c]);
158
159
  };
159
- return { matched: t.every((a) => A(n, a, i)), selections: r };
160
- }, getSelectionKeys: () => e.length === 0 ? [] : z(e[0]) }) });
160
+ return { matched: t.every((a) => D(n, a, r)), selections: i };
161
+ }, getSelectionKeys: () => e.length === 0 ? [] : F(e[0]) }) });
161
162
  }, set: function(...e) {
162
- return D({ [P]: () => ({ match: (t) => {
163
+ return k({ [N]: () => ({ match: (t) => {
163
164
  if (!(t instanceof Set)) return { matched: !1 };
164
165
  let n = {};
165
166
  if (t.size === 0) return { matched: !0, selections: n };
166
167
  if (e.length === 0) return { matched: !0 };
167
- const r = (a, s) => {
168
- n[a] = (n[a] || []).concat([s]);
169
- }, i = e[0];
170
- return { matched: ht(t, (a) => A(i, a, r)), selections: n };
171
- }, getSelectionKeys: () => e.length === 0 ? [] : z(e[0]) }) });
168
+ const i = (a, c) => {
169
+ n[a] = (n[a] || []).concat([c]);
170
+ }, r = e[0];
171
+ return { matched: Tt(t, (a) => D(r, a, i)), selections: n };
172
+ }, getSelectionKeys: () => e.length === 0 ? [] : F(e[0]) }) });
172
173
  }, map: function(...e) {
173
- return D({ [P]: () => ({ match: (t) => {
174
+ return k({ [N]: () => ({ match: (t) => {
174
175
  if (!(t instanceof Map)) return { matched: !1 };
175
176
  let n = {};
176
177
  if (t.size === 0) return { matched: !0, selections: n };
177
- const r = (c, f) => {
178
- n[c] = (n[c] || []).concat([f]);
178
+ const i = (u, h) => {
179
+ n[u] = (n[u] || []).concat([h]);
179
180
  };
180
181
  if (e.length === 0) return { matched: !0 };
181
- var i;
182
- if (e.length === 1) throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${(i = e[0]) == null ? void 0 : i.toString()}`);
183
- const [a, s] = e;
184
- return { matched: dt(t, (c, f) => {
185
- const l = A(a, f, r), u = A(s, c, r);
186
- return l && u;
182
+ var r;
183
+ if (e.length === 1) throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${(r = e[0]) == null ? void 0 : r.toString()}`);
184
+ const [a, c] = e;
185
+ return { matched: Ct(t, (u, h) => {
186
+ const g = D(a, h, i), p = D(c, u, i);
187
+ return g && p;
187
188
  }), selections: n };
188
- }, getSelectionKeys: () => e.length === 0 ? [] : [...z(e[0]), ...z(e[1])] }) });
189
- }, intersection: T, union: Ie, not: function(e) {
190
- return D({ [P]: () => ({ match: (t) => ({ matched: !A(e, t, () => {
189
+ }, getSelectionKeys: () => e.length === 0 ? [] : [...F(e[0]), ...F(e[1])] }) });
190
+ }, intersection: E, union: B1, not: function(e) {
191
+ return k({ [N]: () => ({ match: (t) => ({ matched: !D(e, t, () => {
191
192
  }) }), getSelectionKeys: () => [], matcherType: "not" }) });
192
- }, when: _, select: v1, any: xe, _: ft, string: gt, number: mt, bigint: pt, boolean: _t, symbol: vt, nullish: yt, nonNullable: wt, instanceOf: function(e) {
193
- return D(_(/* @__PURE__ */ function(t) {
193
+ }, when: _, select: we, any: $1, _: Mt, string: Ot, number: At, bigint: Dt, boolean: kt, symbol: Rt, nullish: Pt, nonNullable: It, instanceOf: function(e) {
194
+ return k(_(/* @__PURE__ */ function(t) {
194
195
  return (n) => n instanceof t;
195
196
  }(e)));
196
197
  }, shape: function(e) {
197
- return D(_(ut(e)));
198
+ return k(_(Et(e)));
198
199
  } };
199
- class St extends Error {
200
+ class Nt extends Error {
200
201
  constructor(t) {
201
202
  let n;
202
203
  try {
@@ -207,36 +208,36 @@ class St extends Error {
207
208
  super(`Pattern matching error: no pattern matches value ${n}`), this.input = void 0, this.input = t;
208
209
  }
209
210
  }
210
- const L1 = { matched: !1, value: void 0 };
211
- function Et(e) {
212
- return new A1(e, L1);
211
+ const qe = { matched: !1, value: void 0 };
212
+ function xt(e) {
213
+ return new Re(e, qe);
213
214
  }
214
- class A1 {
215
+ class Re {
215
216
  constructor(t, n) {
216
217
  this.input = void 0, this.state = void 0, this.input = t, this.state = n;
217
218
  }
218
219
  with(...t) {
219
220
  if (this.state.matched) return this;
220
- const n = t[t.length - 1], r = [t[0]];
221
- let i;
222
- t.length === 3 && typeof t[1] == "function" ? i = t[1] : t.length > 2 && r.push(...t.slice(1, t.length - 1));
223
- let a = !1, s = {};
224
- const c = (l, u) => {
225
- a = !0, s[l] = u;
226
- }, f = !r.some((l) => A(l, this.input, c)) || i && !i(this.input) ? L1 : { matched: !0, value: n(a ? O1 in s ? s[O1] : s : this.input, this.input) };
227
- return new A1(this.input, f);
221
+ const n = t[t.length - 1], i = [t[0]];
222
+ let r;
223
+ t.length === 3 && typeof t[1] == "function" ? r = t[1] : t.length > 2 && i.push(...t.slice(1, t.length - 1));
224
+ let a = !1, c = {};
225
+ const u = (g, p) => {
226
+ a = !0, c[g] = p;
227
+ }, h = !i.some((g) => D(g, this.input, u)) || r && !r(this.input) ? qe : { matched: !0, value: n(a ? ke in c ? c[ke] : c : this.input, this.input) };
228
+ return new Re(this.input, h);
228
229
  }
229
230
  when(t, n) {
230
231
  if (this.state.matched) return this;
231
- const r = !!t(this.input);
232
- return new A1(this.input, r ? { matched: !0, value: n(this.input, this.input) } : L1);
232
+ const i = !!t(this.input);
233
+ return new Re(this.input, i ? { matched: !0, value: n(this.input, this.input) } : qe);
233
234
  }
234
235
  otherwise(t) {
235
236
  return this.state.matched ? this.state.value : t(this.input);
236
237
  }
237
238
  exhaustive() {
238
239
  if (this.state.matched) return this.state.value;
239
- throw new St(this.input);
240
+ throw new Nt(this.input);
240
241
  }
241
242
  run() {
242
243
  return this.exhaustive();
@@ -245,12 +246,7 @@ class A1 {
245
246
  return this;
246
247
  }
247
248
  }
248
- const J1 = [
249
- "FLIP_CARD",
250
- "MOVE_LEFT",
251
- "MOVE_RIGHT",
252
- "MOVE_TOP"
253
- ], l1 = {
249
+ const ce = {
254
250
  SENSING_FRONT: {
255
251
  key: "SENSING_FRONT",
256
252
  reticleType: "searching",
@@ -281,6 +277,11 @@ const J1 = [
281
277
  reticleType: "searching",
282
278
  minDuration: 1e3
283
279
  },
280
+ SENSING_LAST_PAGE: {
281
+ key: "SENSING_LAST_PAGE",
282
+ reticleType: "searching",
283
+ minDuration: 1e3
284
+ },
284
285
  SCAN_BARCODE: {
285
286
  key: "SCAN_BARCODE",
286
287
  reticleType: "processing",
@@ -312,6 +313,12 @@ const J1 = [
312
313
  minDuration: 2e3,
313
314
  singleEmit: !0
314
315
  },
316
+ MOVE_LAST_PAGE: {
317
+ key: "MOVE_LAST_PAGE",
318
+ reticleType: "done",
319
+ minDuration: 0,
320
+ singleEmit: !0
321
+ },
315
322
  // Capturing all sides completed
316
323
  DOCUMENT_CAPTURED: {
317
324
  key: "DOCUMENT_CAPTURED",
@@ -359,6 +366,11 @@ const J1 = [
359
366
  reticleType: "error",
360
367
  minDuration: 1500
361
368
  },
369
+ WRONG_LAST_PAGE: {
370
+ key: "WRONG_LAST_PAGE",
371
+ reticleType: "error",
372
+ minDuration: 1500
373
+ },
362
374
  TOO_DARK: {
363
375
  key: "TOO_DARK",
364
376
  reticleType: "error",
@@ -394,12 +406,25 @@ const J1 = [
394
406
  reticleType: "error",
395
407
  minDuration: 1500
396
408
  }
397
- };
398
- function H(e) {
409
+ }, ye = [
410
+ // two sided documents
411
+ "FLIP_CARD",
412
+ // passport pages
413
+ "MOVE_LEFT",
414
+ "MOVE_RIGHT",
415
+ "MOVE_TOP",
416
+ "MOVE_LAST_PAGE"
417
+ ], Ft = Object.values(
418
+ ce
419
+ ).filter((e) => e.reticleType === "error").map((e) => e.key);
420
+ function B(e) {
399
421
  return e?.type === "passport";
400
422
  }
401
- function Tt(e, t) {
402
- return Et(e).with(
423
+ function Fe(e) {
424
+ return B(e) && (e?.country === "usa" || e?.country === "india");
425
+ }
426
+ function Gt(e, t) {
427
+ return xt(e).with(
403
428
  {
404
429
  resultCompleteness: {
405
430
  scanningStatus: "document-scanned"
@@ -419,7 +444,17 @@ function Tt(e, t) {
419
444
  scanningStatus: "side-scanned"
420
445
  },
421
446
  inputImageAnalysisResult: {
422
- documentClassInfo: O.when(H),
447
+ documentClassInfo: M.when(Fe)
448
+ }
449
+ },
450
+ () => "MOVE_LAST_PAGE"
451
+ ).with(
452
+ {
453
+ resultCompleteness: {
454
+ scanningStatus: "side-scanned"
455
+ },
456
+ inputImageAnalysisResult: {
457
+ documentClassInfo: M.when(B),
423
458
  documentRotation: "counter-clockwise-90"
424
459
  }
425
460
  },
@@ -430,7 +465,7 @@ function Tt(e, t) {
430
465
  scanningStatus: "side-scanned"
431
466
  },
432
467
  inputImageAnalysisResult: {
433
- documentClassInfo: O.when(H),
468
+ documentClassInfo: M.when(B),
434
469
  documentRotation: "clockwise-90"
435
470
  }
436
471
  },
@@ -441,7 +476,7 @@ function Tt(e, t) {
441
476
  scanningStatus: "side-scanned"
442
477
  },
443
478
  inputImageAnalysisResult: {
444
- documentClassInfo: O.when(H)
479
+ documentClassInfo: M.when(B)
445
480
  }
446
481
  },
447
482
  () => "MOVE_TOP"
@@ -484,7 +519,7 @@ function Tt(e, t) {
484
519
  {
485
520
  inputImageAnalysisResult: {
486
521
  processingStatus: "image-preprocessing-failed",
487
- documentLightingStatus: O.when(
522
+ documentLightingStatus: M.when(
488
523
  (n) => n === "too-bright" && t?.skipImagesWithInadequateLightingConditions
489
524
  )
490
525
  }
@@ -494,7 +529,7 @@ function Tt(e, t) {
494
529
  {
495
530
  inputImageAnalysisResult: {
496
531
  processingStatus: "image-preprocessing-failed",
497
- documentLightingStatus: O.when(
532
+ documentLightingStatus: M.when(
498
533
  (n) => n === "too-dark" && t?.skipImagesWithInadequateLightingConditions
499
534
  )
500
535
  }
@@ -504,7 +539,7 @@ function Tt(e, t) {
504
539
  {
505
540
  inputImageAnalysisResult: {
506
541
  processingStatus: "image-preprocessing-failed",
507
- glareDetectionStatus: O.when(
542
+ glareDetectionStatus: M.when(
508
543
  (n) => n === "detected" && t?.skipImagesWithGlare
509
544
  )
510
545
  }
@@ -520,7 +555,7 @@ function Tt(e, t) {
520
555
  ).with(
521
556
  {
522
557
  inputImageAnalysisResult: {
523
- documentHandOcclusionStatus: O.when(
558
+ documentHandOcclusionStatus: M.when(
524
559
  (n) => n === "detected" && t?.skipImagesOccludedByHand
525
560
  )
526
561
  }
@@ -529,7 +564,7 @@ function Tt(e, t) {
529
564
  ).with(
530
565
  {
531
566
  inputImageAnalysisResult: {
532
- missingMandatoryFields: O.when(
567
+ missingMandatoryFields: M.when(
533
568
  (n) => Array.isArray(n) && n.length > 0
534
569
  )
535
570
  }
@@ -560,7 +595,7 @@ function Tt(e, t) {
560
595
  {
561
596
  inputImageAnalysisResult: {
562
597
  processingStatus: "image-return-failed",
563
- imageExtractionFailures: O.when(
598
+ imageExtractionFailures: M.when(
564
599
  (n) => Array.isArray(n) && n.includes("face")
565
600
  )
566
601
  }
@@ -570,7 +605,7 @@ function Tt(e, t) {
570
605
  {
571
606
  inputImageAnalysisResult: {
572
607
  processingStatus: "image-preprocessing-failed",
573
- blurDetectionStatus: O.when(
608
+ blurDetectionStatus: M.when(
574
609
  (n) => n === "detected" && t?.skipImagesWithBlur
575
610
  )
576
611
  }
@@ -581,7 +616,16 @@ function Tt(e, t) {
581
616
  inputImageAnalysisResult: {
582
617
  scanningSide: "second",
583
618
  processingStatus: "scanning-wrong-side",
584
- documentClassInfo: O.when(H),
619
+ documentClassInfo: M.when(Fe)
620
+ }
621
+ },
622
+ () => "WRONG_LAST_PAGE"
623
+ ).with(
624
+ {
625
+ inputImageAnalysisResult: {
626
+ scanningSide: "second",
627
+ processingStatus: "scanning-wrong-side",
628
+ documentClassInfo: M.when(B),
585
629
  documentRotation: "counter-clockwise-90"
586
630
  }
587
631
  },
@@ -591,7 +635,7 @@ function Tt(e, t) {
591
635
  inputImageAnalysisResult: {
592
636
  scanningSide: "second",
593
637
  processingStatus: "scanning-wrong-side",
594
- documentClassInfo: O.when(H),
638
+ documentClassInfo: M.when(B),
595
639
  documentRotation: "clockwise-90"
596
640
  }
597
641
  },
@@ -601,7 +645,7 @@ function Tt(e, t) {
601
645
  inputImageAnalysisResult: {
602
646
  scanningSide: "second",
603
647
  processingStatus: "scanning-wrong-side",
604
- documentClassInfo: O.when(H)
648
+ documentClassInfo: M.when(B)
605
649
  }
606
650
  },
607
651
  () => "WRONG_TOP_PAGE"
@@ -623,7 +667,15 @@ function Tt(e, t) {
623
667
  {
624
668
  inputImageAnalysisResult: {
625
669
  scanningSide: "second",
626
- documentClassInfo: O.when(H),
670
+ documentClassInfo: M.when(Fe)
671
+ }
672
+ },
673
+ () => "SENSING_LAST_PAGE"
674
+ ).with(
675
+ {
676
+ inputImageAnalysisResult: {
677
+ scanningSide: "second",
678
+ documentClassInfo: M.when(B),
627
679
  documentRotation: "counter-clockwise-90"
628
680
  }
629
681
  },
@@ -632,7 +684,7 @@ function Tt(e, t) {
632
684
  {
633
685
  inputImageAnalysisResult: {
634
686
  scanningSide: "second",
635
- documentClassInfo: O.when(H),
687
+ documentClassInfo: M.when(B),
636
688
  documentRotation: "clockwise-90"
637
689
  }
638
690
  },
@@ -641,7 +693,7 @@ function Tt(e, t) {
641
693
  {
642
694
  inputImageAnalysisResult: {
643
695
  scanningSide: "first",
644
- documentClassInfo: O.when(H)
696
+ documentClassInfo: M.when(B)
645
697
  }
646
698
  },
647
699
  () => "SENSING_DATA_PAGE"
@@ -649,7 +701,7 @@ function Tt(e, t) {
649
701
  {
650
702
  inputImageAnalysisResult: {
651
703
  scanningSide: "second",
652
- documentClassInfo: O.when(H)
704
+ documentClassInfo: M.when(B)
653
705
  }
654
706
  },
655
707
  () => "SENSING_TOP_PAGE"
@@ -673,16 +725,16 @@ function Tt(e, t) {
673
725
  () => "SENSING_BACK"
674
726
  ).otherwise((n) => (console.debug("Fallback to SENSING_FRONT", n), "SENSING_FRONT"));
675
727
  }
676
- function bt(e) {
728
+ function Ut(e) {
677
729
  const t = Object.keys(e);
678
730
  if (t.length === 0)
679
731
  throw new Error("No members in object!");
680
- let n = t[0], r = -1 / 0;
681
- for (const [i, a] of Object.entries(e))
682
- a > r && (r = a, n = i);
732
+ let n = t[0], i = -1 / 0;
733
+ for (const [r, a] of Object.entries(e))
734
+ a > i && (i = a, n = r);
683
735
  return n;
684
736
  }
685
- class Ct {
737
+ class Lt {
686
738
  /** The initial key. */
687
739
  initialKey;
688
740
  /** The UI state map. */
@@ -752,8 +804,8 @@ class Ct {
752
804
  * @param timeWindow - Optional custom time window (in ms) for state averaging
753
805
  * @param decayRate - Optional custom decay rate for event weights
754
806
  */
755
- constructor(t, n, r, i) {
756
- this.uiStateMap = t, this.initialKey = n, this.currentKey = n, this.getNewUiState(n), r && (this.timeWindow = r), i && (this.decayRate = i);
807
+ constructor(t, n, i, r) {
808
+ this.uiStateMap = t, this.initialKey = n, this.currentKey = n, this.getNewUiState(n), i && (this.timeWindow = i), r && (this.decayRate = r);
757
809
  }
758
810
  /**
759
811
  * Resets the stabilizer to its initial state.
@@ -781,72 +833,253 @@ class Ct {
781
833
  * @returns The UI state that should be displayed.
782
834
  */
783
835
  getNewUiState(t) {
784
- const n = performance.now(), r = this.uiStateMap[t].initialWeight, i = {
836
+ const n = performance.now(), i = this.uiStateMap[t].initialWeight, r = {
785
837
  key: t,
786
838
  timeStamp: n,
787
- currentWeight: r ?? 1,
839
+ currentWeight: i ?? 1,
788
840
  singleEmit: this.uiStateMap[t].singleEmit
789
841
  };
790
- if (i.singleEmit && this.singleEventQueue.push(i), this.singleEventQueue.length > 0 && this.canShowNewUiState()) {
791
- const c = this.singleEventQueue.shift();
792
- return this.eventQueue = [], this.currentKey = c.key, this.currentStateStartTime = n, this.uiStateMap[c.key];
842
+ if (r.singleEmit && this.singleEventQueue.push(r), this.singleEventQueue.length > 0 && this.canShowNewUiState()) {
843
+ const u = this.singleEventQueue.shift();
844
+ return this.eventQueue = [], this.currentKey = u.key, this.currentStateStartTime = n, this.uiStateMap[u.key];
793
845
  }
794
- if (this.eventQueue.push(i), this.scoreBoard = {}, this.eventQueue.forEach((c) => {
795
- if (n - c.timeStamp > this.timeWindow) {
846
+ if (this.eventQueue.push(r), this.scoreBoard = {}, this.eventQueue.forEach((u) => {
847
+ if (n - u.timeStamp > this.timeWindow) {
796
848
  this.eventQueue.shift();
797
849
  return;
798
850
  }
799
- const f = c.timeStamp / n;
800
- c.currentWeight *= this.decayRate * f, this.scoreBoard[c.key] || (this.scoreBoard[c.key] = []), this.scoreBoard[c.key].push(c.currentWeight);
851
+ const h = u.timeStamp / n;
852
+ u.currentWeight *= this.decayRate * h, this.scoreBoard[u.key] || (this.scoreBoard[u.key] = []), this.scoreBoard[u.key].push(u.currentWeight);
801
853
  }), !this.canShowNewUiState())
802
854
  return this.uiStateMap[this.currentKey];
803
855
  this.summedScores = {};
804
- for (const c in this.scoreBoard) {
805
- const f = this.scoreBoard[c];
806
- if (!f)
856
+ for (const u in this.scoreBoard) {
857
+ const h = this.scoreBoard[u];
858
+ if (!h)
807
859
  throw new Error("no track - SHOULD NOT HAPPEN");
808
- if (!this.scoreBoard[c])
860
+ if (!this.scoreBoard[u])
809
861
  throw new Error("no score board for key");
810
- const l = f.length / this.eventQueue.length, u = this.scoreBoard[c].reduce((m, h) => m + h, 0);
811
- this.summedScores[c] = u * l;
862
+ const g = h.length / this.eventQueue.length, p = this.scoreBoard[u].reduce((m, d) => m + d, 0);
863
+ this.summedScores[u] = p * g;
812
864
  }
813
865
  if (Object.keys(this.summedScores).length === 0)
814
866
  return this.uiStateMap[this.currentKey];
815
- const a = bt(this.summedScores), s = this.uiStateMap[a];
816
- return s.key !== this.currentKey && (this.currentKey = a, this.currentStateStartTime = n), s;
867
+ const a = Ut(this.summedScores), c = this.uiStateMap[a];
868
+ return c.key !== this.currentKey && (this.currentKey = a, this.currentStateStartTime = n), c;
869
+ }
870
+ }
871
+ class Ht {
872
+ constructor(t) {
873
+ this.data = t;
874
+ }
875
+ data;
876
+ schemaName = "ping.browser.device.info";
877
+ schemaVersion = "1.0.0";
878
+ }
879
+ class H {
880
+ constructor(t) {
881
+ this.data = t;
882
+ }
883
+ data;
884
+ schemaName = "ping.sdk.ux.event";
885
+ schemaVersion = "1.0.0";
886
+ }
887
+ class Bt {
888
+ constructor(t) {
889
+ this.data = t;
890
+ }
891
+ data;
892
+ schemaName = "ping.hardware.camera.info";
893
+ schemaVersion = "1.0.1";
894
+ sessionNumber = 0;
895
+ }
896
+ class $t {
897
+ constructor(t) {
898
+ this.data = t;
899
+ }
900
+ data;
901
+ schemaName = "ping.sdk.camera.input.info";
902
+ schemaVersion = "1.0.1";
903
+ }
904
+ class ue {
905
+ constructor(t) {
906
+ this.data = t;
817
907
  }
908
+ data;
909
+ schemaName = "ping.sdk.camera.permission";
910
+ schemaVersion = "1.0.0";
818
911
  }
819
- async function oe(e) {
912
+ class d1 {
913
+ constructor(t) {
914
+ this.data = t;
915
+ }
916
+ data;
917
+ schemaName = "ping.sdk.scan.conditions";
918
+ schemaVersion = "1.0.0";
919
+ }
920
+ const z1 = {
921
+ DOCUMENT_FRAMING_CAMERA_TOO_FAR: "MoveCloser",
922
+ DOCUMENT_FRAMING_CAMERA_TOO_CLOSE: "MoveFarther",
923
+ DOCUMENT_FRAMING_CAMERA_ANGLE_TOO_STEEP: "AlignDocument",
924
+ DOCUMENT_TOO_CLOSE_TO_FRAME_EDGE: "MoveFromEdge",
925
+ BLUR_DETECTED: "EliminateBlur",
926
+ GLARE_DETECTED: "EliminateGlare",
927
+ TOO_DARK: "IncreaseLighting",
928
+ TOO_BRIGHT: "DecreaseLighting",
929
+ OCCLUDED: "KeepVisible",
930
+ FACE_PHOTO_OCCLUDED: "KeepVisible",
931
+ WRONG_SIDE: "FlipSide",
932
+ WRONG_LEFT_PAGE: "FlipSide",
933
+ WRONG_RIGHT_PAGE: "FlipSide",
934
+ WRONG_TOP_PAGE: "FlipSide"
935
+ };
936
+ function zt(e) {
937
+ return e in z1;
938
+ }
939
+ function Vt(e) {
940
+ if (zt(e)) {
941
+ const t = z1[e];
942
+ return new H({
943
+ eventType: "ErrorMessage",
944
+ errorMessageType: t
945
+ });
946
+ }
947
+ return null;
948
+ }
949
+ const Wt = {
950
+ short: 100,
951
+ long: 300
952
+ };
953
+ class Kt {
954
+ #n = !0;
955
+ /**
956
+ * Check if haptic feedback is supported by the current browser/device.
957
+ *
958
+ * @returns true if haptic feedback is supported
959
+ */
960
+ isSupported() {
961
+ return typeof navigator < "u" && "vibrate" in navigator;
962
+ }
963
+ /**
964
+ * Enable or disable haptic feedback.
965
+ *
966
+ * @param enabled - Whether haptic feedback should be enabled
967
+ */
968
+ setEnabled(t) {
969
+ this.#n = t;
970
+ }
971
+ /**
972
+ * Check if haptic feedback is currently enabled.
973
+ *
974
+ * @returns true if haptic feedback is enabled
975
+ */
976
+ isEnabled() {
977
+ return this.#n;
978
+ }
979
+ /**
980
+ * Trigger haptic feedback with the specified type.
981
+ *
982
+ * @param type - The type of haptic feedback to trigger
983
+ */
984
+ triggerFeedback(t) {
985
+ if (!this.#n || !this.isSupported())
986
+ return;
987
+ const n = Wt[t];
988
+ try {
989
+ const i = navigator.vibrate([n]);
990
+ console.debug(
991
+ i ? `HapticFeedback: Triggered ${t} feedback (${n}ms)` : `HapticFeedback: Failed to trigger ${t} feedback`
992
+ );
993
+ } catch (i) {
994
+ console.warn("HapticFeedback: Error triggering vibration:", i);
995
+ }
996
+ }
997
+ /**
998
+ * Stop any ongoing haptic feedback.
999
+ */
1000
+ stop() {
1001
+ this.isSupported() && navigator.vibrate(0);
1002
+ }
1003
+ /**
1004
+ * Trigger long haptic feedback.
1005
+ * Uses long feedback pattern.
1006
+ */
1007
+ triggerLong() {
1008
+ this.triggerFeedback("long");
1009
+ }
1010
+ /**
1011
+ * Trigger short haptic feedback.
1012
+ * Uses short feedback pattern.
1013
+ */
1014
+ triggerShort() {
1015
+ this.triggerFeedback("short");
1016
+ }
1017
+ }
1018
+ const Ge = ({
1019
+ extractionArea: e,
1020
+ selectedCamera: t,
1021
+ videoResolution: n
1022
+ }) => {
1023
+ const i = e?.width ? e.width : n.width, r = e?.height ? e.height : n.height;
1024
+ return new $t({
1025
+ cameraFacing: V1(t.facingMode),
1026
+ cameraFrameWidth: n.width,
1027
+ cameraFrameHeight: n.height,
1028
+ roiWidth: i,
1029
+ roiHeight: r,
1030
+ viewPortAspectRatio: i / r
1031
+ });
1032
+ }, V1 = (e) => {
1033
+ switch (e) {
1034
+ case "front":
1035
+ return "Front";
1036
+ case "back":
1037
+ return "Back";
1038
+ default:
1039
+ return "Unknown";
1040
+ }
1041
+ }, jt = (e) => ({
1042
+ cameraFacing: V1(e.facingMode),
1043
+ /** we can't know this */
1044
+ availableResolutions: void 0,
1045
+ focus: e.singleShotSupported ? "Auto" : "Fixed"
1046
+ });
1047
+ async function h1(e) {
820
1048
  return new Promise((t) => setTimeout(t, e));
821
1049
  }
822
- class D2 {
1050
+ class ta {
1051
+ #n = !0;
823
1052
  /** The success process result. */
824
- #e;
1053
+ #i;
825
1054
  /** Whether the thread is busy. */
826
- #n = !1;
1055
+ #s = !1;
827
1056
  /** The scanning session timeout ID. */
828
- #l;
1057
+ #o;
829
1058
  /** Timeout duration in ms for the scanning session. If null, timeout won't be triggered ever. */
830
- #t = 1e4;
1059
+ #r = 1e4;
831
1060
  // 10s
832
1061
  /** Time in ms before the help tooltip is shown. If null, tooltip won't be auto shown. */
833
- #u = 5e3;
1062
+ #g = 5e3;
834
1063
  // 5s
835
1064
  /** Time in ms before the help tooltip is hidden. If null, tooltip won't be auto hidden. */
836
- #h = 5e3;
1065
+ #p = 5e3;
837
1066
  // 5s
838
1067
  /** The callbacks for when the UI state changes. */
839
- #r = /* @__PURE__ */ new Set();
1068
+ #c = /* @__PURE__ */ new Set();
840
1069
  /** The callbacks for when a scan result is available. */
841
- #i = /* @__PURE__ */ new Set();
1070
+ #l = /* @__PURE__ */ new Set();
842
1071
  /** The callbacks for when a frame is processed. */
843
- #a = /* @__PURE__ */ new Set();
1072
+ #u = /* @__PURE__ */ new Set();
844
1073
  /** The callbacks for when an error occurs during processing. */
845
- #o = /* @__PURE__ */ new Set();
1074
+ #d = /* @__PURE__ */ new Set();
846
1075
  /** The callbacks for when a document is filtered. */
847
- #s = /* @__PURE__ */ new Set();
1076
+ #h = /* @__PURE__ */ new Set();
1077
+ /** Clean up observers, store subscriptions and event listeners. */
1078
+ #e = /* @__PURE__ */ new Set();
848
1079
  /** The document class filter. */
849
- #c;
1080
+ #a;
1081
+ /** The haptic feedback manager. */
1082
+ #t = new Kt();
850
1083
  /**
851
1084
  * The constructor for the BlinkIdUxManager class.
852
1085
  *
@@ -854,29 +1087,215 @@ class D2 {
854
1087
  * @param scanningSession - The scanning session.
855
1088
  */
856
1089
  constructor(t, n) {
857
- this.cameraManager = t, this.scanningSession = n, this.feedbackStabilizer = new Ct(
858
- l1,
1090
+ this.cameraManager = t, this.scanningSession = n, this.feedbackStabilizer = new Lt(
1091
+ ce,
859
1092
  "SENSING_FRONT"
860
- ), this.uiState = this.feedbackStabilizer.currentState, this.scanningSession.getSettings().then((a) => {
861
- this.sessionSettings = a;
862
- }), this.scanningSession.showDemoOverlay().then((a) => {
863
- this.showDemoOverlay = a;
864
- }), this.scanningSession.showProductionOverlay().then((a) => {
865
- this.showProductionOverlay = a;
1093
+ ), this.uiState = this.feedbackStabilizer.currentState, this.scanningSession.getSettings().then((r) => {
1094
+ this.sessionSettings = r;
1095
+ }), this.scanningSession.showDemoOverlay().then((r) => {
1096
+ this.showDemoOverlay = r;
1097
+ }), this.scanningSession.showProductionOverlay().then((r) => {
1098
+ this.showProductionOverlay = r;
1099
+ }), gt().then(
1100
+ (r) => void this.scanningSession.ping(
1101
+ new Ht(r)
1102
+ )
1103
+ ), this.#w();
1104
+ const i = this.cameraManager.addFrameCaptureCallback(this.#M);
1105
+ this.#e.add(i);
1106
+ }
1107
+ #w() {
1108
+ const t = this.cameraManager.subscribe(
1109
+ (s) => s.playbackState,
1110
+ (s) => {
1111
+ console.debug(`⏯️ ${s}`), this.#r !== null && (s !== "capturing" ? this.clearScanTimeout() : (console.debug("🔁 continuing timeout"), this.#v(this.uiState)));
1112
+ }
1113
+ );
1114
+ this.#e.add(t);
1115
+ const n = this.cameraManager.subscribe(
1116
+ (s) => s.playbackState !== "idle",
1117
+ (s) => {
1118
+ s ? this.scanningSession.ping(
1119
+ new H({
1120
+ eventType: "CameraStarted"
1121
+ })
1122
+ ) : this.scanningSession.ping(
1123
+ new H({
1124
+ eventType: "CameraClosed"
1125
+ })
1126
+ ), this.scanningSession.sendPinglets();
1127
+ }
1128
+ );
1129
+ this.#e.add(n);
1130
+ const i = this.cameraManager.subscribe(
1131
+ (s) => s.cameras,
1132
+ (s) => {
1133
+ const l = s.map(
1134
+ (S) => jt(S)
1135
+ );
1136
+ this.scanningSession.ping(
1137
+ new Bt({
1138
+ availableCameras: l
1139
+ })
1140
+ );
1141
+ }
1142
+ );
1143
+ this.#e.add(i);
1144
+ const r = () => {
1145
+ document.visibilityState === "hidden" && this.scanningSession.ping(
1146
+ new H({
1147
+ eventType: "AppMovedToBackground"
1148
+ })
1149
+ ), this.scanningSession.sendPinglets();
1150
+ };
1151
+ document.addEventListener("visibilitychange", r), this.#e.add(() => {
1152
+ document.removeEventListener(
1153
+ "visibilitychange",
1154
+ r
1155
+ );
866
1156
  });
867
- const r = this.cameraManager.subscribe(
868
- (a) => a.playbackState,
869
- (a) => {
870
- console.debug(`⏯️ ${a}`), this.#t !== null && (a !== "capturing" ? this.clearScanTimeout() : (console.debug("🔁 continuing timeout"), this.#g(this.uiState)));
1157
+ const a = this.cameraManager.subscribe(
1158
+ (s) => s.selectedCamera,
1159
+ (s) => {
1160
+ if (!s)
1161
+ return;
1162
+ const l = this.cameraManager.getState();
1163
+ l.videoResolution && this.scanningSession.ping(
1164
+ Ge({
1165
+ extractionArea: l.extractionArea,
1166
+ videoResolution: l.videoResolution,
1167
+ selectedCamera: s
1168
+ })
1169
+ );
871
1170
  }
872
- ), i = this.cameraManager.subscribe(
873
- (a) => a.videoElement,
874
- (a) => {
875
- a || (console.debug("Removing camera manager subscriptions"), this.reset(), i(), r());
1171
+ );
1172
+ this.#e.add(a);
1173
+ const c = this.cameraManager.subscribe(
1174
+ (s) => s.videoResolution,
1175
+ (s) => {
1176
+ if (!s)
1177
+ return;
1178
+ const l = this.cameraManager.getState();
1179
+ l.selectedCamera && this.scanningSession.ping(
1180
+ Ge({
1181
+ extractionArea: l.extractionArea,
1182
+ videoResolution: l.videoResolution,
1183
+ selectedCamera: l.selectedCamera
1184
+ })
1185
+ );
876
1186
  }
877
1187
  );
878
- this.cameraManager.addFrameCaptureCallback(this.#S);
879
- }
1188
+ this.#e.add(c);
1189
+ const u = this.cameraManager.subscribe(
1190
+ (s) => s.extractionArea,
1191
+ () => {
1192
+ const s = this.cameraManager.getState();
1193
+ s.selectedCamera && s.videoResolution && this.scanningSession.ping(
1194
+ Ge({
1195
+ extractionArea: s.extractionArea,
1196
+ videoResolution: s.videoResolution,
1197
+ selectedCamera: s.selectedCamera
1198
+ })
1199
+ );
1200
+ }
1201
+ );
1202
+ this.#e.add(u);
1203
+ const h = this.cameraManager.subscribe(
1204
+ (s) => s.cameraPermission,
1205
+ this.#b
1206
+ );
1207
+ this.#e.add(h);
1208
+ const g = (s) => {
1209
+ let l;
1210
+ switch (s.type) {
1211
+ case "portrait-primary":
1212
+ l = "Portrait";
1213
+ break;
1214
+ case "portrait-secondary":
1215
+ l = "PortraitUpside";
1216
+ break;
1217
+ case "landscape-primary":
1218
+ l = "LandscapeLeft";
1219
+ break;
1220
+ case "landscape-secondary":
1221
+ l = "LandscapeRight";
1222
+ break;
1223
+ }
1224
+ this.scanningSession.ping(
1225
+ new d1({
1226
+ updateType: "DeviceOrientation",
1227
+ deviceOrientation: l
1228
+ })
1229
+ );
1230
+ }, p = (s) => {
1231
+ const l = s.target;
1232
+ g(l);
1233
+ };
1234
+ screen.orientation.addEventListener("change", p), g(screen.orientation), this.#e.add(() => {
1235
+ screen.orientation.removeEventListener(
1236
+ "change",
1237
+ p
1238
+ );
1239
+ });
1240
+ const m = this.cameraManager.subscribe(
1241
+ (s) => s.selectedCamera?.torchEnabled,
1242
+ (s) => {
1243
+ s !== void 0 && this.scanningSession.ping(
1244
+ new d1({
1245
+ updateType: "FlashlightState",
1246
+ flashlightOn: s
1247
+ })
1248
+ );
1249
+ }
1250
+ );
1251
+ this.#e.add(m);
1252
+ const d = this.cameraManager.subscribe(
1253
+ (s) => s.selectedCamera?.torchEnabled,
1254
+ (s) => {
1255
+ s === !0 && this.#t.triggerShort();
1256
+ }
1257
+ );
1258
+ this.#e.add(d);
1259
+ const f = this.cameraManager.subscribe(
1260
+ (s) => s.videoElement,
1261
+ (s) => {
1262
+ s || (console.debug("Removing camera manager subscriptions"), this.reset(), this.cleanupAllObservers());
1263
+ }
1264
+ );
1265
+ this.#e.add(f);
1266
+ }
1267
+ #b = (t, n) => {
1268
+ n === void 0 && (t === "granted" ? (console.debug("previously granted"), this.scanningSession.ping(
1269
+ new ue({
1270
+ eventType: "CameraPermissionCheck",
1271
+ cameraPermissionGranted: !0
1272
+ })
1273
+ )) : t === "denied" ? (console.debug("previously blocked"), this.scanningSession.ping(
1274
+ new ue({
1275
+ eventType: "CameraPermissionCheck",
1276
+ cameraPermissionGranted: !1
1277
+ })
1278
+ )) : t === "prompt" && (console.debug("Waiting for user response"), this.scanningSession.ping(
1279
+ new ue({
1280
+ eventType: "CameraPermissionRequest"
1281
+ })
1282
+ ))), n === "prompt" && (t === "granted" ? (console.debug("user granted permission"), this.scanningSession.ping(
1283
+ new ue({
1284
+ eventType: "CameraPermissionUserResponse",
1285
+ cameraPermissionGranted: !0
1286
+ })
1287
+ )) : t === "denied" && (console.debug("user denied permission"), this.scanningSession.ping(
1288
+ new ue({
1289
+ eventType: "CameraPermissionUserResponse",
1290
+ cameraPermissionGranted: !1
1291
+ })
1292
+ ))), n === "denied" && (t === "granted" ? console.debug("user gave permission in browser settings") : t === "prompt" ? (console.debug("retrying for camera permission"), this.scanningSession.ping(
1293
+ new ue({
1294
+ eventType: "CameraPermissionRequest",
1295
+ cameraPermissionGranted: !0
1296
+ })
1297
+ )) : t === void 0 && console.debug("user reset permission")), n === "granted" && (t === "denied" ? console.debug("user revoked permission") : t === "prompt" && console.debug("user reset permission after granting v1")), this.scanningSession.sendPinglets();
1298
+ };
880
1299
  /**
881
1300
  * Indicates whether the UI should display the demo overlay. Controlled by the
882
1301
  * license property.
@@ -895,19 +1314,51 @@ class D2 {
895
1314
  * Returns the timeout duration in ms. Null if timeout won't be triggered ever.
896
1315
  */
897
1316
  getTimeoutDuration() {
898
- return this.#t;
1317
+ return this.#r;
899
1318
  }
900
1319
  /**
901
1320
  * Returns the time in ms before the help tooltip is shown. Null if tooltip won't be auto shown.
902
1321
  */
903
1322
  getHelpTooltipShowDelay() {
904
- return this.#u;
1323
+ return this.#g;
905
1324
  }
906
1325
  /**
907
1326
  * Returns the time in ms before the help tooltip is hidden. Null if tooltip won't be auto hidden.
908
1327
  */
909
1328
  getHelpTooltipHideDelay() {
910
- return this.#h;
1329
+ return this.#p;
1330
+ }
1331
+ /**
1332
+ * Gets the haptic feedback manager instance.
1333
+ *
1334
+ * @returns The haptic feedback manager
1335
+ */
1336
+ getHapticFeedbackManager() {
1337
+ return this.#t;
1338
+ }
1339
+ /**
1340
+ * Enable or disable haptic feedback.
1341
+ *
1342
+ * @param enabled - Whether haptic feedback should be enabled
1343
+ */
1344
+ setHapticFeedbackEnabled(t) {
1345
+ this.#t.setEnabled(t);
1346
+ }
1347
+ /**
1348
+ * Check if haptic feedback is currently enabled.
1349
+ *
1350
+ * @returns true if haptic feedback is enabled
1351
+ */
1352
+ isHapticFeedbackEnabled() {
1353
+ return this.#t.isEnabled();
1354
+ }
1355
+ /**
1356
+ * Check if haptic feedback is supported by the current browser/device.
1357
+ *
1358
+ * @returns true if haptic feedback is supported
1359
+ */
1360
+ isHapticFeedbackSupported() {
1361
+ return this.#t.isSupported();
911
1362
  }
912
1363
  /**
913
1364
  * Adds a callback function to be executed when the UI state changes.
@@ -924,8 +1375,8 @@ class D2 {
924
1375
  * cleanup();
925
1376
  */
926
1377
  addOnUiStateChangedCallback(t) {
927
- return this.#r.add(t), () => {
928
- this.#r.delete(t);
1378
+ return this.#c.add(t), () => {
1379
+ this.#c.delete(t);
929
1380
  };
930
1381
  }
931
1382
  /**
@@ -945,8 +1396,8 @@ class D2 {
945
1396
  * cleanup();
946
1397
  */
947
1398
  addOnResultCallback(t) {
948
- return this.#i.add(t), () => {
949
- this.#i.delete(t);
1399
+ return this.#l.add(t), () => {
1400
+ this.#l.delete(t);
950
1401
  };
951
1402
  }
952
1403
  /**
@@ -966,8 +1417,8 @@ class D2 {
966
1417
  * cleanup();
967
1418
  */
968
1419
  addDocumentClassFilter(t) {
969
- return this.#c = t, () => {
970
- this.#c = void 0;
1420
+ return this.#a = t, () => {
1421
+ this.#a = void 0;
971
1422
  };
972
1423
  }
973
1424
  /**
@@ -987,8 +1438,8 @@ class D2 {
987
1438
  * cleanup();
988
1439
  */
989
1440
  addOnFrameProcessCallback(t) {
990
- return this.#a.add(t), () => {
991
- this.#a.delete(t);
1441
+ return this.#u.add(t), () => {
1442
+ this.#u.delete(t);
992
1443
  };
993
1444
  }
994
1445
  /**
@@ -1008,8 +1459,8 @@ class D2 {
1008
1459
  * cleanup();
1009
1460
  */
1010
1461
  addOnErrorCallback(t) {
1011
- return this.#o.add(t), () => {
1012
- this.#o.delete(t);
1462
+ return this.#d.add(t), () => {
1463
+ this.#d.delete(t);
1013
1464
  };
1014
1465
  }
1015
1466
  /**
@@ -1017,12 +1468,13 @@ class D2 {
1017
1468
  *
1018
1469
  * @param errorState - The error state.
1019
1470
  */
1020
- #_ = (t) => {
1021
- for (const n of this.#o)
1471
+ #m = (t) => {
1472
+ this.#t.triggerLong();
1473
+ for (const n of this.#d)
1022
1474
  try {
1023
1475
  n(t);
1024
- } catch (r) {
1025
- console.error("Error in onError callback", r);
1476
+ } catch (i) {
1477
+ console.error("Error in onError callback", i);
1026
1478
  }
1027
1479
  };
1028
1480
  /**
@@ -1042,8 +1494,8 @@ class D2 {
1042
1494
  * cleanup();
1043
1495
  */
1044
1496
  addOnDocumentFilteredCallback(t) {
1045
- return this.#s.add(t), () => {
1046
- this.#s.delete(t);
1497
+ return this.#h.add(t), () => {
1498
+ this.#h.delete(t);
1047
1499
  };
1048
1500
  }
1049
1501
  /**
@@ -1051,12 +1503,13 @@ class D2 {
1051
1503
  *
1052
1504
  * @param documentClassInfo - The document class info.
1053
1505
  */
1054
- #v = (t) => {
1055
- for (const n of this.#s)
1506
+ #E = (t) => {
1507
+ this.#t.triggerLong();
1508
+ for (const n of this.#h)
1056
1509
  try {
1057
1510
  n(t);
1058
- } catch (r) {
1059
- console.error("Error in onDocumentFiltered callback", r);
1511
+ } catch (i) {
1512
+ console.error("Error in onDocumentFiltered callback", i);
1060
1513
  }
1061
1514
  };
1062
1515
  /**
@@ -1064,12 +1517,12 @@ class D2 {
1064
1517
  *
1065
1518
  * @param result - The scan result.
1066
1519
  */
1067
- #y = (t) => {
1068
- for (const n of this.#i)
1520
+ #T = (t) => {
1521
+ for (const n of this.#l)
1069
1522
  try {
1070
1523
  n(t);
1071
- } catch (r) {
1072
- console.error("Error in onResult callback", r);
1524
+ } catch (i) {
1525
+ console.error("Error in onResult callback", i);
1073
1526
  }
1074
1527
  };
1075
1528
  /**
@@ -1077,12 +1530,12 @@ class D2 {
1077
1530
  *
1078
1531
  * @param frameResult - The frame result.
1079
1532
  */
1080
- #d = (t) => {
1081
- for (const n of this.#a)
1533
+ #f = (t) => {
1534
+ for (const n of this.#u)
1082
1535
  try {
1083
1536
  n(t);
1084
- } catch (r) {
1085
- console.error("Error in onFrameProcess callback", r);
1537
+ } catch (i) {
1538
+ console.error("Error in onFrameProcess callback", i);
1086
1539
  }
1087
1540
  };
1088
1541
  /**
@@ -1090,12 +1543,12 @@ class D2 {
1090
1543
  *
1091
1544
  * @param uiState - The UI state.
1092
1545
  */
1093
- #f = (t) => {
1094
- for (const n of this.#r)
1546
+ #_ = (t) => {
1547
+ for (const n of this.#c)
1095
1548
  try {
1096
1549
  n(t);
1097
- } catch (r) {
1098
- console.error("Error in onUiStateChanged callback", r);
1550
+ } catch (i) {
1551
+ console.error("Error in onUiStateChanged callback", i);
1099
1552
  }
1100
1553
  };
1101
1554
  /**
@@ -1105,11 +1558,11 @@ class D2 {
1105
1558
  * @param processResult - The result of processing the current frame
1106
1559
  * @returns boolean indicating if the document should be processed
1107
1560
  */
1108
- #w(t) {
1109
- if (this.#c === void 0)
1561
+ #C(t) {
1562
+ if (this.#a === void 0)
1110
1563
  return !0;
1111
- const n = this.#T(t);
1112
- return !this.#b(n) || this.#c(n) ? !0 : (this.cameraManager.stopFrameCapture(), this.#v(n), this.#d(t), !1);
1564
+ const n = this.#D(t);
1565
+ return !this.#k(n) || this.#a(n) ? !0 : (this.cameraManager.stopFrameCapture(), this.#E(n), this.#f(t), !1);
1113
1566
  }
1114
1567
  /**
1115
1568
  * The frame capture callback. This is the main function that is called when a
@@ -1117,29 +1570,36 @@ class D2 {
1117
1570
  * updating the UI state.
1118
1571
  *
1119
1572
  * @param imageData - The image data.
1573
+ * @returns The processed frame's ArrayBuffer, or undefined if not applicable.
1120
1574
  */
1121
- #S = async (t) => {
1122
- if (this.#n) {
1575
+ #M = async (t) => {
1576
+ if (this.#s) {
1123
1577
  console.debug("🚦🔴 Thread is busy, skipping frame capture");
1124
1578
  return;
1125
1579
  }
1126
- this.#n = !0;
1127
- const n = {
1128
- data: t.data,
1129
- width: t.width,
1130
- height: t.height,
1131
- colorSpace: "srgb"
1132
- };
1133
- if (this.#e) {
1134
- window.setTimeout(() => {
1135
- if (!this.#e)
1136
- throw new Error("No success process result, should not happen");
1137
- this.#m(this.#e);
1138
- }, l1.DOCUMENT_CAPTURED.minDuration);
1139
- return;
1580
+ this.#s = !0;
1581
+ try {
1582
+ const n = {
1583
+ data: t.data,
1584
+ width: t.width,
1585
+ height: t.height,
1586
+ colorSpace: "srgb"
1587
+ };
1588
+ if (this.#i) {
1589
+ window.setTimeout(() => {
1590
+ if (!this.#i) {
1591
+ console.error("No success process result, should not happen");
1592
+ return;
1593
+ }
1594
+ this.#y(this.#i);
1595
+ }, ce.DOCUMENT_CAPTURED.minDuration);
1596
+ return;
1597
+ }
1598
+ const i = await this.scanningSession.process(n);
1599
+ return this.#n && (this.#n = !1, this.scanningSession.sendPinglets()), this.#C(i) && (this.#y(i), this.#f(i)), i.arrayBuffer;
1600
+ } finally {
1601
+ this.#s = !1;
1140
1602
  }
1141
- const r = await this.scanningSession.process(n);
1142
- return this.#n = !1, this.#w(r) && (this.#m(r), this.#d(r)), r.arrayBuffer;
1143
1603
  };
1144
1604
  /**
1145
1605
  * Sets the duration after which the scanning session will timeout. The
@@ -1156,7 +1616,7 @@ class D2 {
1156
1616
  setTimeoutDuration(t, n = !0) {
1157
1617
  if (t !== null && t <= 0)
1158
1618
  throw new Error("Timeout duration must be greater than 0");
1159
- this.#t = t, n && this.setHelpTooltipShowDelay(t !== null ? t / 2 : null);
1619
+ this.#r = t, n && this.setHelpTooltipShowDelay(t !== null ? t / 2 : null);
1160
1620
  }
1161
1621
  /**
1162
1622
  * Sets the duration in milliseconds before the help tooltip is shown.
@@ -1170,7 +1630,7 @@ class D2 {
1170
1630
  setHelpTooltipShowDelay(t) {
1171
1631
  if (t !== null && t <= 0)
1172
1632
  throw new Error("Help tooltip show delay must be greater than 0");
1173
- this.#u = t;
1633
+ this.#g = t;
1174
1634
  }
1175
1635
  /**
1176
1636
  * Sets the duration in milliseconds before the help tooltip is hidden.
@@ -1184,37 +1644,59 @@ class D2 {
1184
1644
  setHelpTooltipHideDelay(t) {
1185
1645
  if (t !== null && t <= 0)
1186
1646
  throw new Error("Help tooltip display duration must be greater than 0");
1187
- this.#h = t;
1647
+ this.#p = t;
1188
1648
  }
1189
1649
  /**
1190
1650
  * Sets the timeout for the scanning session.
1191
1651
  *
1192
1652
  * @param uiState - The UI state.
1193
1653
  */
1194
- #g = (t) => {
1195
- if (this.#t === null) {
1654
+ #v = (t) => {
1655
+ if (this.#r === null) {
1196
1656
  console.debug("⏳🟢 timeout duration is null, not starting timeout");
1197
1657
  return;
1198
1658
  }
1199
- this.clearScanTimeout(), console.debug(`⏳🟢 starting timeout for ${t.key}`), this.#l = window.setTimeout(() => {
1200
- console.debug("⏳🟢 timeout triggered"), this.cameraManager.stopFrameCapture(), this.#_("timeout"), this.#p();
1201
- }, this.#t);
1659
+ this.clearScanTimeout(), console.debug(`⏳🟢 starting timeout for ${t.key}`), this.#o = window.setTimeout(() => {
1660
+ console.debug("⏳🟢 timeout triggered"), this.cameraManager.stopFrameCapture(), this.#m("timeout"), this.scanningSession.ping(
1661
+ new H({
1662
+ eventType: "StepTimeout"
1663
+ })
1664
+ ), this.scanningSession.sendPinglets(), this.#S();
1665
+ }, this.#r);
1202
1666
  };
1203
1667
  /**
1204
- * Handles the UI state changes. This is the main function that is called
1205
- * when a new frame is processed. It is responsible for updating the UI state,
1206
- * handling the timeout, and handling the first side captured states.
1668
+ * Handles haptic feedback based on UI state changes.
1207
1669
  *
1208
- * @param processResult - The process result.
1670
+ * @param uiStateKey - The new UI state key
1209
1671
  */
1210
- #m = (t) => {
1211
- const n = Tt(
1672
+ #O = (t) => {
1673
+ if (ye.includes(t)) {
1674
+ this.#t.triggerShort();
1675
+ return;
1676
+ }
1677
+ if (t === "DOCUMENT_CAPTURED") {
1678
+ this.#t.triggerLong();
1679
+ return;
1680
+ }
1681
+ if (t !== "UNSUPPORTED_DOCUMENT" && Ft.includes(t)) {
1682
+ this.#t.triggerShort();
1683
+ return;
1684
+ }
1685
+ };
1686
+ /**
1687
+ * Updates the UI state based on the process result. This is called after a frame has been processed
1688
+ * to update the UI state according to the recognition results.
1689
+ *
1690
+ * @param processResult - The process result from frame processing.
1691
+ */
1692
+ #y = (t) => {
1693
+ const n = Gt(
1212
1694
  t,
1213
1695
  this.sessionSettings.scanningSettings
1214
1696
  );
1215
- n === "DOCUMENT_CAPTURED" && (this.#e = t), this.rawUiStateKey = n;
1216
- const r = this.feedbackStabilizer.getNewUiState(n);
1217
- r.key !== this.uiState.key && (this.uiState = r, this.#f(r), this.#E(r));
1697
+ ye.includes(n) && this.scanningSession.sendPinglets(), n === "DOCUMENT_CAPTURED" && (this.#i = t, this.scanningSession.sendPinglets()), this.rawUiStateKey = n;
1698
+ const i = this.feedbackStabilizer.getNewUiState(n);
1699
+ i.key !== this.uiState.key && (this.#O(i.key), this.uiState = i, this.#_(i), this.#A(i));
1218
1700
  };
1219
1701
  /**
1220
1702
  * Handles the UI state change. This is the main function that is called
@@ -1224,21 +1706,23 @@ class D2 {
1224
1706
  *
1225
1707
  * @param uiState - The UI state.
1226
1708
  */
1227
- #E = async (t) => {
1228
- if (this.#t !== null && this.#g(t), J1.includes(t.key)) {
1229
- this.cameraManager.stopFrameCapture(), await oe(
1230
- t.minDuration + l1.DOCUMENT_CAPTURED.minDuration
1709
+ #A = async (t) => {
1710
+ this.#r !== null && this.#v(t);
1711
+ const n = Vt(t.key);
1712
+ if (n && this.scanningSession.ping(n), ye.includes(t.key)) {
1713
+ this.cameraManager.stopFrameCapture(), await h1(
1714
+ t.minDuration + ce.DOCUMENT_CAPTURED.minDuration
1231
1715
  ), await this.cameraManager.startFrameCapture();
1232
1716
  return;
1233
1717
  }
1234
1718
  if (t.key === "UNSUPPORTED_DOCUMENT") {
1235
- this.cameraManager.stopFrameCapture();
1719
+ console.debug("🔴 Unsupported document"), this.cameraManager.stopFrameCapture(), this.#m("unsupported_document");
1236
1720
  return;
1237
1721
  }
1238
1722
  if (t.key === "DOCUMENT_CAPTURED") {
1239
- this.cameraManager.stopFrameCapture(), await oe(t.minDuration);
1240
- const n = await this.getSessionResult(!0);
1241
- this.#y(n);
1723
+ this.cameraManager.stopFrameCapture(), await h1(t.minDuration);
1724
+ const i = await this.getSessionResult(!0);
1725
+ this.#T(i);
1242
1726
  return;
1243
1727
  }
1244
1728
  };
@@ -1248,7 +1732,7 @@ class D2 {
1248
1732
  * @param processResult - The process result.
1249
1733
  * @returns The document class info.
1250
1734
  */
1251
- #T(t) {
1735
+ #D(t) {
1252
1736
  return t.inputImageAnalysisResult.documentClassInfo;
1253
1737
  }
1254
1738
  /**
@@ -1257,20 +1741,20 @@ class D2 {
1257
1741
  * @param documentClassInfo - The document class info.
1258
1742
  * @returns Whether the document class is classified.
1259
1743
  */
1260
- #b(t) {
1744
+ #k(t) {
1261
1745
  return t?.country !== void 0 && t?.type !== void 0;
1262
1746
  }
1263
1747
  /**
1264
1748
  * Resets the feedback stabilizer and invokes the onUiStateChanged callbacks.
1265
1749
  */
1266
- #p = () => {
1267
- this.feedbackStabilizer.reset(), this.uiState = this.feedbackStabilizer.currentState, this.#f(this.uiState);
1750
+ #S = () => {
1751
+ this.feedbackStabilizer.reset(), this.uiState = this.feedbackStabilizer.currentState, this.#_(this.uiState);
1268
1752
  };
1269
1753
  /**
1270
1754
  * Clears the scanning session timeout.
1271
1755
  */
1272
1756
  clearScanTimeout = () => {
1273
- this.#l && (console.debug("⏳🔴 clearing timeout"), window.clearTimeout(this.#l));
1757
+ this.#o && (console.debug("⏳🔴 clearing timeout"), window.clearTimeout(this.#o), this.#o = void 0);
1274
1758
  };
1275
1759
  /**
1276
1760
  * Gets the result from the scanning session.
@@ -1296,7 +1780,13 @@ class D2 {
1296
1780
  * @param startFrameCapture Whether to start frame processing.
1297
1781
  */
1298
1782
  async resetScanningSession(t = !0) {
1299
- console.debug("🔁 Resetting scanning session"), this.clearScanTimeout(), this.#n = !1, this.#e = void 0, this.#p(), await this.scanningSession.reset(), t && (this.cameraManager.isActive || await this.cameraManager.startCameraStream(), await this.cameraManager.startFrameCapture());
1783
+ console.debug("🔁 Resetting scanning session"), this.clearScanTimeout(), this.#s = !1, this.#i = void 0, this.#S(), this.#a = void 0, await this.scanningSession.reset(), t && (this.cameraManager.isActive || await this.cameraManager.startCameraStream(), await this.cameraManager.startFrameCapture());
1784
+ }
1785
+ clearUserCallbacks() {
1786
+ console.debug("🧹 Clearing all BlinkIdUxManager user callbacks"), this.#c.clear(), this.#l.clear(), this.#u.clear(), this.#d.clear(), this.#h.clear();
1787
+ }
1788
+ cleanupAllObservers() {
1789
+ console.debug("🧹 Removing all BlinkIdUxManager observers"), this.#e.forEach((t) => t()), this.#e.clear();
1300
1790
  }
1301
1791
  /**
1302
1792
  * Resets the BlinkIdUxManager. Clears all callbacks.
@@ -1304,221 +1794,222 @@ class D2 {
1304
1794
  * Does not reset the camera manager or the scanning session.
1305
1795
  */
1306
1796
  reset() {
1307
- console.debug("🔁 Resetting BlinkIdUxManager"), this.clearScanTimeout(), this.#n = !1, this.#e = void 0, this.#r.clear(), this.#i.clear(), this.#a.clear(), this.#o.clear(), this.#s.clear();
1797
+ console.debug("🔁 Resetting BlinkIdUxManager"), this.clearScanTimeout(), this.#s = !1, this.#i = void 0, this.clearUserCallbacks(), this.#a = void 0;
1308
1798
  }
1309
1799
  }
1310
- const Mt = (e, t, n) => tt((r) => (S(t, e(), t.firstChild ? null : void 0), () => {
1311
- r(), t.textContent = "";
1312
- }), n), Ot = {
1313
- scan_the_front_side: "Scan the front side of the document",
1314
- scan_data_page: "Scan the data page of the document",
1315
- scan_top_page: "Scan the top page",
1316
- scan_left_page: "Scan the left page",
1317
- scan_right_page: "Scan the right page",
1318
- flip_document: "Flip the document",
1319
- wrong_top: "Move to the top page",
1320
- wrong_left: "Move to the left page",
1321
- wrong_right: "Move to the right page",
1322
- flip_to_back_side: "Flip to the back side",
1323
- move_top: "Move to the page on top",
1324
- move_left: "Move to the page on the left",
1325
- move_right: "Move to the page on the right",
1326
- scan_the_back_side: "Scan the back side of the document",
1327
- scan_the_barcode: "Scan the barcode",
1328
- move_closer: "Move closer",
1329
- move_farther: "Move farther",
1330
- camera_angle_too_steep: "Keep document parallel to phone",
1331
- face_photo_not_fully_visible: "Keep face photo fully visible",
1332
- document_too_close_to_edge: "Move the document from the edge",
1800
+ const qt = (e, t, n) => mt((i) => (w(t, e(), t.firstChild ? null : void 0), () => {
1801
+ i(), t.textContent = "";
1802
+ }), n), Qt = {
1803
+ alert_cancel_btn: "Cancel",
1804
+ alert_retry_btn: "Retry",
1333
1805
  blur_detected: "Keep document and phone still",
1334
- glare_detected: "Tilt or move document to remove reflection",
1335
- occluded: "Keep the document fully visible",
1336
- too_dark: "Move to brighter spot",
1337
- too_bright: "Move to spot with less lighting",
1338
- scan_unsuccessful: "Scan unsuccessful",
1339
- scan_unsuccessful_details: "Unable to read the document. Please try again.",
1340
- document_not_recognized: "Document not recognized",
1341
- document_not_recognized_details: "Scan the front side of a supported document.",
1806
+ camera_angle_too_steep: "Keep document parallel to phone",
1342
1807
  document_filtered: "Document not accepted",
1343
1808
  document_filtered_details: "Try scanning a different document.",
1344
- onboarding_modal_title: "Keep all the details visible",
1345
- onboarding_modal_details: "Make sure you keep the document well lit. All document fields should be visible on the camera screen.",
1346
- onboarding_modal_btn: "Start scanning",
1347
- help_modal_title_1: "Keep all the fields visible",
1809
+ document_not_recognized: "Document not recognized",
1810
+ document_not_recognized_details: "Scan the front side of a supported document.",
1811
+ document_too_close_to_edge: "Move the document from the edge",
1812
+ face_photo_not_fully_visible: "Keep face photo fully visible",
1813
+ flip_document: "Flip the document",
1814
+ flip_to_back_side: "Flip to the back side",
1815
+ glare_detected: "Tilt or move document to remove reflection",
1816
+ help_aria_label: "Help",
1817
+ help_modal_back_btn: "Back",
1348
1818
  help_modal_details_1: "Make sure you aren’t covering parts of the document with a finger, including the bottom lines. Also, watch out for hologram reflections that go over the document fields.",
1349
- help_modal_title_2: "Watch out for harsh light",
1350
1819
  help_modal_details_2: "Avoid direct harsh light because it reflects from the document and can make parts of the document unreadable. If you can’t read data on the document, it won’t be visible to the camera either.",
1351
- help_modal_title_3: "Keep still while scanning",
1352
1820
  help_modal_details_3: "Try to keep the phone and document still while scanning. Moving either can blur the image and make data on the document unreadable.",
1353
- help_modal_back_btn: "Back",
1354
- help_modal_next_btn: "Next",
1355
1821
  help_modal_done_btn: "Done",
1356
- help_aria_label: "Help",
1822
+ help_modal_next_btn: "Next",
1823
+ help_modal_title_1: "Keep all the fields visible",
1824
+ help_modal_title_2: "Watch out for harsh light",
1825
+ help_modal_title_3: "Keep still while scanning",
1357
1826
  help_tooltip: "Need help?",
1358
- alert_retry_btn: "Retry",
1359
- alert_cancel_btn: "Cancel"
1360
- }, Pe = R1(), At = (e) => {
1827
+ move_closer: "Move closer",
1828
+ move_farther: "Move farther",
1829
+ move_left: "Move to the page on the left",
1830
+ move_right: "Move to the page on the right",
1831
+ move_top: "Move to the page on top",
1832
+ occluded: "Keep the document fully visible",
1833
+ onboarding_modal_btn: "Start scanning",
1834
+ onboarding_modal_details: "Make sure you keep the document well lit. All document fields should be visible on the camera screen.",
1835
+ onboarding_modal_title: "Keep all the details visible",
1836
+ scan_data_page: "Scan the data page of the document",
1837
+ scan_last_page_barcode: "Scan barcode from the last page",
1838
+ scan_left_page: "Scan the left page",
1839
+ scan_right_page: "Scan the right page",
1840
+ scan_the_back_side: "Scan the back side of the document",
1841
+ scan_the_barcode: "Scan the barcode",
1842
+ scan_the_front_side: "Scan the front side of the document",
1843
+ scan_top_page: "Scan the top page",
1844
+ scan_unsuccessful: "Scan unsuccessful",
1845
+ scan_unsuccessful_details: "Unable to read the document. Please try again.",
1846
+ too_bright: "Move to spot with less lighting",
1847
+ too_dark: "Move to brighter spot",
1848
+ wrong_left: "Move to the left page",
1849
+ wrong_right: "Move to the right page",
1850
+ wrong_top: "Move to the top page"
1851
+ }, W1 = Ie(), Yt = (e) => {
1361
1852
  const [t, n] = (
1362
1853
  // avoid initing with original as proxying to the original object will
1363
1854
  // mutate the original object on store updates
1364
- De({})
1365
- ), r = () => ({
1366
- ...Ot,
1855
+ U1({})
1856
+ ), i = () => ({
1857
+ ...Qt,
1367
1858
  ...e.userStrings
1368
1859
  });
1369
- q(() => {
1370
- n(r());
1860
+ G(() => {
1861
+ n(i());
1371
1862
  });
1372
- const i = {
1863
+ const r = {
1373
1864
  t,
1374
1865
  updateLocalization: n
1375
1866
  };
1376
- return o(Pe.Provider, {
1377
- value: i,
1867
+ return o(W1.Provider, {
1868
+ value: r,
1378
1869
  get children() {
1379
1870
  return e.children;
1380
1871
  }
1381
1872
  });
1382
1873
  };
1383
- function f1() {
1384
- const e = C1(Pe);
1874
+ function me() {
1875
+ const e = Ae(W1);
1385
1876
  if (!e)
1386
1877
  throw new Error("LocalizationContext.Provider not in scope.");
1387
1878
  return e;
1388
1879
  }
1389
- function Dt(e) {
1880
+ function Xt(e) {
1390
1881
  const t = typeof e.on == "function" || Array.isArray(e.on) ? e.on : () => e.on;
1391
- return $1(nt(t, (n, r) => {
1392
- const i = e.children;
1393
- return typeof i == "function" && i.length > 0 ? i(n, r) : i;
1882
+ return We(ft(t, (n, i) => {
1883
+ const r = e.children;
1884
+ return typeof r == "function" && r.length > 0 ? r(n, i) : r;
1394
1885
  }));
1395
1886
  }
1396
- var kt = /((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;
1397
- function se(e) {
1887
+ var Zt = /((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;
1888
+ function g1(e) {
1398
1889
  const t = {};
1399
1890
  let n;
1400
- for (; n = kt.exec(e); )
1891
+ for (; n = Zt.exec(e); )
1401
1892
  t[n[1]] = n[2];
1402
1893
  return t;
1403
1894
  }
1404
- function Rt(e, t) {
1895
+ function Jt(e, t) {
1405
1896
  if (typeof e == "string") {
1406
1897
  if (typeof t == "string")
1407
1898
  return `${e};${t}`;
1408
- e = se(e);
1409
- } else typeof t == "string" && (t = se(t));
1899
+ e = g1(e);
1900
+ } else typeof t == "string" && (t = g1(t));
1410
1901
  return { ...e, ...t };
1411
1902
  }
1412
- function Ne(e, t) {
1903
+ function K1(e, t) {
1413
1904
  e.indexOf(t) === -1 && e.push(t);
1414
1905
  }
1415
- function It(e, t) {
1906
+ function en(e, t) {
1416
1907
  const n = e.indexOf(t);
1417
1908
  n > -1 && e.splice(n, 1);
1418
1909
  }
1419
- const ze = (e, t, n) => Math.min(Math.max(n, e), t), G = {
1910
+ const j1 = (e, t, n) => Math.min(Math.max(n, e), t), $ = {
1420
1911
  duration: 0.3,
1421
1912
  delay: 0,
1422
1913
  endDelay: 0,
1423
1914
  repeat: 0,
1424
1915
  easing: "ease"
1425
- }, y1 = (e) => typeof e == "number", u1 = (e) => Array.isArray(e) && !y1(e[0]), xt = (e, t, n) => {
1426
- const r = t - e;
1427
- return ((n - e) % r + r) % r + e;
1916
+ }, be = (e) => typeof e == "number", he = (e) => Array.isArray(e) && !be(e[0]), tn = (e, t, n) => {
1917
+ const i = t - e;
1918
+ return ((n - e) % i + i) % i + e;
1428
1919
  };
1429
- function Pt(e, t) {
1430
- return u1(e) ? e[xt(0, e.length, t)] : e;
1920
+ function nn(e, t) {
1921
+ return he(e) ? e[tn(0, e.length, t)] : e;
1431
1922
  }
1432
- const Fe = (e, t, n) => -n * e + n * t + e, Ue = () => {
1433
- }, t1 = (e) => e, ee = (e, t, n) => t - e === 0 ? 1 : (n - e) / (t - e);
1434
- function Ge(e, t) {
1923
+ const q1 = (e, t, n) => -n * e + n * t + e, Q1 = () => {
1924
+ }, ne = (e) => e, a1 = (e, t, n) => t - e === 0 ? 1 : (n - e) / (t - e);
1925
+ function Y1(e, t) {
1435
1926
  const n = e[e.length - 1];
1436
- for (let r = 1; r <= t; r++) {
1437
- const i = ee(0, t, r);
1438
- e.push(Fe(n, 1, i));
1927
+ for (let i = 1; i <= t; i++) {
1928
+ const r = a1(0, t, i);
1929
+ e.push(q1(n, 1, r));
1439
1930
  }
1440
1931
  }
1441
- function Nt(e) {
1932
+ function rn(e) {
1442
1933
  const t = [0];
1443
- return Ge(t, e - 1), t;
1934
+ return Y1(t, e - 1), t;
1444
1935
  }
1445
- function zt(e, t = Nt(e.length), n = t1) {
1446
- const r = e.length, i = r - t.length;
1447
- return i > 0 && Ge(t, i), (a) => {
1448
- let s = 0;
1449
- for (; s < r - 2 && !(a < t[s + 1]); s++)
1936
+ function an(e, t = rn(e.length), n = ne) {
1937
+ const i = e.length, r = i - t.length;
1938
+ return r > 0 && Y1(t, r), (a) => {
1939
+ let c = 0;
1940
+ for (; c < i - 2 && !(a < t[c + 1]); c++)
1450
1941
  ;
1451
- let c = ze(0, 1, ee(t[s], t[s + 1], a));
1452
- return c = Pt(n, s)(c), Fe(e[s], e[s + 1], c);
1942
+ let u = j1(0, 1, a1(t[c], t[c + 1], a));
1943
+ return u = nn(n, c)(u), q1(e[c], e[c + 1], u);
1453
1944
  };
1454
1945
  }
1455
- const $e = (e) => Array.isArray(e) && y1(e[0]), V1 = (e) => typeof e == "object" && !!e.createAnimation, w1 = (e) => typeof e == "function", Ft = (e) => typeof e == "string", P1 = {
1946
+ const X1 = (e) => Array.isArray(e) && be(e[0]), Qe = (e) => typeof e == "object" && !!e.createAnimation, Ee = (e) => typeof e == "function", sn = (e) => typeof e == "string", Ue = {
1456
1947
  ms: (e) => e * 1e3,
1457
1948
  s: (e) => e / 1e3
1458
- }, Be = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, Ut = 1e-7, Gt = 12;
1459
- function $t(e, t, n, r, i) {
1460
- let a, s, c = 0;
1949
+ }, Z1 = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, on = 1e-7, cn = 12;
1950
+ function ln(e, t, n, i, r) {
1951
+ let a, c, u = 0;
1461
1952
  do
1462
- s = t + (n - t) / 2, a = Be(s, r, i) - e, a > 0 ? n = s : t = s;
1463
- while (Math.abs(a) > Ut && ++c < Gt);
1464
- return s;
1953
+ c = t + (n - t) / 2, a = Z1(c, i, r) - e, a > 0 ? n = c : t = c;
1954
+ while (Math.abs(a) > on && ++u < cn);
1955
+ return c;
1465
1956
  }
1466
- function m1(e, t, n, r) {
1467
- if (e === t && n === r)
1468
- return t1;
1469
- const i = (a) => $t(a, 0, 1, e, n);
1470
- return (a) => a === 0 || a === 1 ? a : Be(i(a), t, r);
1957
+ function _e(e, t, n, i) {
1958
+ if (e === t && n === i)
1959
+ return ne;
1960
+ const r = (a) => ln(a, 0, 1, e, n);
1961
+ return (a) => a === 0 || a === 1 ? a : Z1(r(a), t, i);
1471
1962
  }
1472
- const Bt = (e, t = "end") => (n) => {
1963
+ const un = (e, t = "end") => (n) => {
1473
1964
  n = t === "end" ? Math.min(n, 0.999) : Math.max(n, 1e-3);
1474
- const r = n * e, i = t === "end" ? Math.floor(r) : Math.ceil(r);
1475
- return ze(0, 1, i / e);
1476
- }, Ht = {
1477
- ease: m1(0.25, 0.1, 0.25, 1),
1478
- "ease-in": m1(0.42, 0, 1, 1),
1479
- "ease-in-out": m1(0.42, 0, 0.58, 1),
1480
- "ease-out": m1(0, 0, 0.58, 1)
1481
- }, Lt = /\((.*?)\)/;
1482
- function ce(e) {
1483
- if (w1(e))
1965
+ const i = n * e, r = t === "end" ? Math.floor(i) : Math.ceil(i);
1966
+ return j1(0, 1, r / e);
1967
+ }, dn = {
1968
+ ease: _e(0.25, 0.1, 0.25, 1),
1969
+ "ease-in": _e(0.42, 0, 1, 1),
1970
+ "ease-in-out": _e(0.42, 0, 0.58, 1),
1971
+ "ease-out": _e(0, 0, 0.58, 1)
1972
+ }, hn = /\((.*?)\)/;
1973
+ function p1(e) {
1974
+ if (Ee(e))
1484
1975
  return e;
1485
- if ($e(e))
1486
- return m1(...e);
1487
- const t = Ht[e];
1976
+ if (X1(e))
1977
+ return _e(...e);
1978
+ const t = dn[e];
1488
1979
  if (t)
1489
1980
  return t;
1490
1981
  if (e.startsWith("steps")) {
1491
- const n = Lt.exec(e);
1982
+ const n = hn.exec(e);
1492
1983
  if (n) {
1493
- const r = n[1].split(",");
1494
- return Bt(parseFloat(r[0]), r[1].trim());
1984
+ const i = n[1].split(",");
1985
+ return un(parseFloat(i[0]), i[1].trim());
1495
1986
  }
1496
1987
  }
1497
- return t1;
1988
+ return ne;
1498
1989
  }
1499
- class Vt {
1500
- constructor(t, n = [0, 1], { easing: r, duration: i = G.duration, delay: a = G.delay, endDelay: s = G.endDelay, repeat: c = G.repeat, offset: f, direction: l = "normal", autoplay: u = !0 } = {}) {
1501
- if (this.startTime = null, this.rate = 1, this.t = 0, this.cancelTimestamp = null, this.easing = t1, this.duration = 0, this.totalDuration = 0, this.repeat = 0, this.playState = "idle", this.finished = new Promise((h, p) => {
1502
- this.resolve = h, this.reject = p;
1503
- }), r = r || G.easing, V1(r)) {
1504
- const h = r.createAnimation(n);
1505
- r = h.easing, n = h.keyframes || n, i = h.duration || i;
1990
+ class gn {
1991
+ constructor(t, n = [0, 1], { easing: i, duration: r = $.duration, delay: a = $.delay, endDelay: c = $.endDelay, repeat: u = $.repeat, offset: h, direction: g = "normal", autoplay: p = !0 } = {}) {
1992
+ if (this.startTime = null, this.rate = 1, this.t = 0, this.cancelTimestamp = null, this.easing = ne, this.duration = 0, this.totalDuration = 0, this.repeat = 0, this.playState = "idle", this.finished = new Promise((d, f) => {
1993
+ this.resolve = d, this.reject = f;
1994
+ }), i = i || $.easing, Qe(i)) {
1995
+ const d = i.createAnimation(n);
1996
+ i = d.easing, n = d.keyframes || n, r = d.duration || r;
1506
1997
  }
1507
- this.repeat = c, this.easing = u1(r) ? t1 : ce(r), this.updateDuration(i);
1508
- const m = zt(n, f, u1(r) ? r.map(ce) : t1);
1509
- this.tick = (h) => {
1510
- var p;
1998
+ this.repeat = u, this.easing = he(i) ? ne : p1(i), this.updateDuration(r);
1999
+ const m = an(n, h, he(i) ? i.map(p1) : ne);
2000
+ this.tick = (d) => {
2001
+ var f;
1511
2002
  a = a;
1512
- let d = 0;
1513
- this.pauseTime !== void 0 ? d = this.pauseTime : d = (h - this.startTime) * this.rate, this.t = d, d /= 1e3, d = Math.max(d - a, 0), this.playState === "finished" && this.pauseTime === void 0 && (d = this.totalDuration);
1514
- const g = d / this.duration;
1515
- let y = Math.floor(g), b = g % 1;
1516
- !b && g >= 1 && (b = 1), b === 1 && y--;
1517
- const $ = y % 2;
1518
- (l === "reverse" || l === "alternate" && $ || l === "alternate-reverse" && !$) && (b = 1 - b);
1519
- const B = d >= this.totalDuration ? 1 : Math.min(b, 1), F = m(this.easing(B));
1520
- t(F), this.pauseTime === void 0 && (this.playState === "finished" || d >= this.totalDuration + s) ? (this.playState = "finished", (p = this.resolve) === null || p === void 0 || p.call(this, F)) : this.playState !== "idle" && (this.frameRequestId = requestAnimationFrame(this.tick));
1521
- }, u && this.play();
2003
+ let s = 0;
2004
+ this.pauseTime !== void 0 ? s = this.pauseTime : s = (d - this.startTime) * this.rate, this.t = s, s /= 1e3, s = Math.max(s - a, 0), this.playState === "finished" && this.pauseTime === void 0 && (s = this.totalDuration);
2005
+ const l = s / this.duration;
2006
+ let S = Math.floor(l), T = l % 1;
2007
+ !T && l >= 1 && (T = 1), T === 1 && S--;
2008
+ const z = S % 2;
2009
+ (g === "reverse" || g === "alternate" && z || g === "alternate-reverse" && !z) && (T = 1 - T);
2010
+ const V = s >= this.totalDuration ? 1 : Math.min(T, 1), U = m(this.easing(V));
2011
+ t(U), this.pauseTime === void 0 && (this.playState === "finished" || s >= this.totalDuration + c) ? (this.playState = "finished", (f = this.resolve) === null || f === void 0 || f.call(this, U)) : this.playState !== "idle" && (this.frameRequestId = requestAnimationFrame(this.tick));
2012
+ }, p && this.play();
1522
2013
  }
1523
2014
  play() {
1524
2015
  const t = performance.now();
@@ -1558,13 +2049,13 @@ class Vt {
1558
2049
  this.rate = t;
1559
2050
  }
1560
2051
  }
1561
- var He = function() {
2052
+ var J1 = function() {
1562
2053
  };
1563
- process.env.NODE_ENV !== "production" && (He = function(e, t) {
2054
+ process.env.NODE_ENV !== "production" && (J1 = function(e, t) {
1564
2055
  if (!e)
1565
2056
  throw new Error(t);
1566
2057
  });
1567
- class jt {
2058
+ class pn {
1568
2059
  setAnimation(t) {
1569
2060
  this.animation = t, t?.finished.then(() => this.clearAnimation()).catch(() => {
1570
2061
  });
@@ -1573,53 +2064,53 @@ class jt {
1573
2064
  this.animation = this.generator = void 0;
1574
2065
  }
1575
2066
  }
1576
- const N1 = /* @__PURE__ */ new WeakMap();
1577
- function Le(e) {
1578
- return N1.has(e) || N1.set(e, {
2067
+ const Le = /* @__PURE__ */ new WeakMap();
2068
+ function et(e) {
2069
+ return Le.has(e) || Le.set(e, {
1579
2070
  transforms: [],
1580
2071
  values: /* @__PURE__ */ new Map()
1581
- }), N1.get(e);
2072
+ }), Le.get(e);
1582
2073
  }
1583
- function Kt(e, t) {
1584
- return e.has(t) || e.set(t, new jt()), e.get(t);
2074
+ function mn(e, t) {
2075
+ return e.has(t) || e.set(t, new pn()), e.get(t);
1585
2076
  }
1586
- const Wt = ["", "X", "Y", "Z"], qt = ["translate", "scale", "rotate", "skew"], h1 = {
2077
+ const fn = ["", "X", "Y", "Z"], _n = ["translate", "scale", "rotate", "skew"], ge = {
1587
2078
  x: "translateX",
1588
2079
  y: "translateY",
1589
2080
  z: "translateZ"
1590
- }, le = {
2081
+ }, m1 = {
1591
2082
  syntax: "<angle>",
1592
2083
  initialValue: "0deg",
1593
2084
  toDefaultUnit: (e) => e + "deg"
1594
- }, Qt = {
2085
+ }, vn = {
1595
2086
  translate: {
1596
2087
  syntax: "<length-percentage>",
1597
2088
  initialValue: "0px",
1598
2089
  toDefaultUnit: (e) => e + "px"
1599
2090
  },
1600
- rotate: le,
2091
+ rotate: m1,
1601
2092
  scale: {
1602
2093
  syntax: "<number>",
1603
2094
  initialValue: 1,
1604
- toDefaultUnit: t1
2095
+ toDefaultUnit: ne
1605
2096
  },
1606
- skew: le
1607
- }, d1 = /* @__PURE__ */ new Map(), I1 = (e) => `--motion-${e}`, D1 = ["x", "y", "z"];
1608
- qt.forEach((e) => {
1609
- Wt.forEach((t) => {
1610
- D1.push(e + t), d1.set(I1(e + t), Qt[e]);
2097
+ skew: m1
2098
+ }, pe = /* @__PURE__ */ new Map(), Ne = (e) => `--motion-${e}`, Pe = ["x", "y", "z"];
2099
+ _n.forEach((e) => {
2100
+ fn.forEach((t) => {
2101
+ Pe.push(e + t), pe.set(Ne(e + t), vn[e]);
1611
2102
  });
1612
2103
  });
1613
- const Yt = (e, t) => D1.indexOf(e) - D1.indexOf(t), Xt = new Set(D1), te = (e) => Xt.has(e), Zt = (e, t) => {
1614
- h1[t] && (t = h1[t]);
1615
- const { transforms: n } = Le(e);
1616
- Ne(n, t), e.style.transform = Ve(n);
1617
- }, Ve = (e) => e.sort(Yt).reduce(Jt, "").trim(), Jt = (e, t) => `${e} ${t}(var(${I1(t)}))`, j1 = (e) => e.startsWith("--"), ue = /* @__PURE__ */ new Set();
1618
- function en(e) {
1619
- if (!ue.has(e)) {
1620
- ue.add(e);
2104
+ const yn = (e, t) => Pe.indexOf(e) - Pe.indexOf(t), Sn = new Set(Pe), s1 = (e) => Sn.has(e), wn = (e, t) => {
2105
+ ge[t] && (t = ge[t]);
2106
+ const { transforms: n } = et(e);
2107
+ K1(n, t), e.style.transform = tt(n);
2108
+ }, tt = (e) => e.sort(yn).reduce(bn, "").trim(), bn = (e, t) => `${e} ${t}(var(${Ne(t)}))`, Ye = (e) => e.startsWith("--"), f1 = /* @__PURE__ */ new Set();
2109
+ function En(e) {
2110
+ if (!f1.has(e)) {
2111
+ f1.add(e);
1621
2112
  try {
1622
- const { syntax: t, initialValue: n } = d1.has(e) ? d1.get(e) : {};
2113
+ const { syntax: t, initialValue: n } = pe.has(e) ? pe.get(e) : {};
1623
2114
  CSS.registerProperty({
1624
2115
  name: e,
1625
2116
  inherits: !1,
@@ -1630,140 +2121,140 @@ function en(e) {
1630
2121
  }
1631
2122
  }
1632
2123
  }
1633
- const z1 = (e, t) => document.createElement("div").animate(e, t), he = {
2124
+ const He = (e, t) => document.createElement("div").animate(e, t), _1 = {
1634
2125
  cssRegisterProperty: () => typeof CSS < "u" && Object.hasOwnProperty.call(CSS, "registerProperty"),
1635
2126
  waapi: () => Object.hasOwnProperty.call(Element.prototype, "animate"),
1636
2127
  partialKeyframes: () => {
1637
2128
  try {
1638
- z1({ opacity: [1] });
2129
+ He({ opacity: [1] });
1639
2130
  } catch {
1640
2131
  return !1;
1641
2132
  }
1642
2133
  return !0;
1643
2134
  },
1644
- finished: () => !!z1({ opacity: [0, 1] }, { duration: 1e-3 }).finished,
2135
+ finished: () => !!He({ opacity: [0, 1] }, { duration: 1e-3 }).finished,
1645
2136
  linearEasing: () => {
1646
2137
  try {
1647
- z1({ opacity: 0 }, { easing: "linear(0, 1)" });
2138
+ He({ opacity: 0 }, { easing: "linear(0, 1)" });
1648
2139
  } catch {
1649
2140
  return !1;
1650
2141
  }
1651
2142
  return !0;
1652
2143
  }
1653
- }, F1 = {}, c1 = {};
1654
- for (const e in he)
1655
- c1[e] = () => (F1[e] === void 0 && (F1[e] = he[e]()), F1[e]);
1656
- const tn = 0.015, nn = (e, t) => {
2144
+ }, Be = {}, de = {};
2145
+ for (const e in _1)
2146
+ de[e] = () => (Be[e] === void 0 && (Be[e] = _1[e]()), Be[e]);
2147
+ const Tn = 0.015, Cn = (e, t) => {
1657
2148
  let n = "";
1658
- const r = Math.round(t / tn);
1659
- for (let i = 0; i < r; i++)
1660
- n += e(ee(0, r - 1, i)) + ", ";
2149
+ const i = Math.round(t / Tn);
2150
+ for (let r = 0; r < i; r++)
2151
+ n += e(a1(0, i - 1, r)) + ", ";
1661
2152
  return n.substring(0, n.length - 2);
1662
- }, de = (e, t) => w1(e) ? c1.linearEasing() ? `linear(${nn(e, t)})` : G.easing : $e(e) ? rn(e) : e, rn = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`;
1663
- function an(e, t) {
2153
+ }, v1 = (e, t) => Ee(e) ? de.linearEasing() ? `linear(${Cn(e, t)})` : $.easing : X1(e) ? Mn(e) : e, Mn = ([e, t, n, i]) => `cubic-bezier(${e}, ${t}, ${n}, ${i})`;
2154
+ function On(e, t) {
1664
2155
  for (let n = 0; n < e.length; n++)
1665
2156
  e[n] === null && (e[n] = n ? e[n - 1] : t());
1666
2157
  return e;
1667
2158
  }
1668
- const on = (e) => Array.isArray(e) ? e : [e];
1669
- function K1(e) {
1670
- return h1[e] && (e = h1[e]), te(e) ? I1(e) : e;
2159
+ const An = (e) => Array.isArray(e) ? e : [e];
2160
+ function Xe(e) {
2161
+ return ge[e] && (e = ge[e]), s1(e) ? Ne(e) : e;
1671
2162
  }
1672
- const p1 = {
2163
+ const ve = {
1673
2164
  get: (e, t) => {
1674
- t = K1(t);
1675
- let n = j1(t) ? e.style.getPropertyValue(t) : getComputedStyle(e)[t];
2165
+ t = Xe(t);
2166
+ let n = Ye(t) ? e.style.getPropertyValue(t) : getComputedStyle(e)[t];
1676
2167
  if (!n && n !== 0) {
1677
- const r = d1.get(t);
1678
- r && (n = r.initialValue);
2168
+ const i = pe.get(t);
2169
+ i && (n = i.initialValue);
1679
2170
  }
1680
2171
  return n;
1681
2172
  },
1682
2173
  set: (e, t, n) => {
1683
- t = K1(t), j1(t) ? e.style.setProperty(t, n) : e.style[t] = n;
2174
+ t = Xe(t), Ye(t) ? e.style.setProperty(t, n) : e.style[t] = n;
1684
2175
  }
1685
2176
  };
1686
- function sn(e, t = !0) {
2177
+ function Dn(e, t = !0) {
1687
2178
  if (!(!e || e.playState === "finished"))
1688
2179
  try {
1689
2180
  e.stop ? e.stop() : (t && e.commitStyles(), e.cancel());
1690
2181
  } catch {
1691
2182
  }
1692
2183
  }
1693
- function cn(e, t) {
2184
+ function kn(e, t) {
1694
2185
  var n;
1695
- let r = t?.toDefaultUnit || t1;
1696
- const i = e[e.length - 1];
1697
- if (Ft(i)) {
1698
- const a = ((n = i.match(/(-?[\d.]+)([a-z%]*)/)) === null || n === void 0 ? void 0 : n[2]) || "";
1699
- a && (r = (s) => s + a);
2186
+ let i = t?.toDefaultUnit || ne;
2187
+ const r = e[e.length - 1];
2188
+ if (sn(r)) {
2189
+ const a = ((n = r.match(/(-?[\d.]+)([a-z%]*)/)) === null || n === void 0 ? void 0 : n[2]) || "";
2190
+ a && (i = (c) => c + a);
1700
2191
  }
1701
- return r;
2192
+ return i;
1702
2193
  }
1703
- function ln() {
2194
+ function Rn() {
1704
2195
  return window.__MOTION_DEV_TOOLS_RECORD;
1705
2196
  }
1706
- function un(e, t, n, r = {}, i) {
1707
- const a = ln(), s = r.record !== !1 && a;
1708
- let c, { duration: f = G.duration, delay: l = G.delay, endDelay: u = G.endDelay, repeat: m = G.repeat, easing: h = G.easing, persist: p = !1, direction: d, offset: g, allowWebkitAcceleration: y = !1, autoplay: b = !0 } = r;
1709
- const $ = Le(e), B = te(t);
1710
- let F = c1.waapi();
1711
- B && Zt(e, t);
1712
- const I = K1(t), r1 = Kt($.values, I), w = d1.get(I);
1713
- return sn(r1.animation, !(V1(h) && r1.generator) && r.record !== !1), () => {
1714
- const N = () => {
1715
- var C, g1;
1716
- return (g1 = (C = p1.get(e, I)) !== null && C !== void 0 ? C : w?.initialValue) !== null && g1 !== void 0 ? g1 : 0;
2197
+ function Pn(e, t, n, i = {}, r) {
2198
+ const a = Rn(), c = i.record !== !1 && a;
2199
+ let u, { duration: h = $.duration, delay: g = $.delay, endDelay: p = $.endDelay, repeat: m = $.repeat, easing: d = $.easing, persist: f = !1, direction: s, offset: l, allowWebkitAcceleration: S = !1, autoplay: T = !0 } = i;
2200
+ const z = et(e), V = s1(t);
2201
+ let U = de.waapi();
2202
+ V && wn(e, t);
2203
+ const A = Xe(t), re = mn(z.values, A), y = pe.get(A);
2204
+ return Dn(re.animation, !(Qe(d) && re.generator) && i.record !== !1), () => {
2205
+ const x = () => {
2206
+ var C, fe;
2207
+ return (fe = (C = ve.get(e, A)) !== null && C !== void 0 ? C : y?.initialValue) !== null && fe !== void 0 ? fe : 0;
1717
2208
  };
1718
- let E = an(on(n), N);
1719
- const ie = cn(E, w);
1720
- if (V1(h)) {
1721
- const C = h.createAnimation(E, t !== "opacity", N, I, r1);
1722
- h = C.easing, E = C.keyframes || E, f = C.duration || f;
2209
+ let b = On(An(n), x);
2210
+ const l1 = kn(b, y);
2211
+ if (Qe(d)) {
2212
+ const C = d.createAnimation(b, t !== "opacity", x, A, re);
2213
+ d = C.easing, b = C.keyframes || b, h = C.duration || h;
1723
2214
  }
1724
- if (j1(I) && (c1.cssRegisterProperty() ? en(I) : F = !1), B && !c1.linearEasing() && (w1(h) || u1(h) && h.some(w1)) && (F = !1), F) {
1725
- w && (E = E.map((i1) => y1(i1) ? w.toDefaultUnit(i1) : i1)), E.length === 1 && (!c1.partialKeyframes() || s) && E.unshift(N());
2215
+ if (Ye(A) && (de.cssRegisterProperty() ? En(A) : U = !1), V && !de.linearEasing() && (Ee(d) || he(d) && d.some(Ee)) && (U = !1), U) {
2216
+ y && (b = b.map((ae) => be(ae) ? y.toDefaultUnit(ae) : ae)), b.length === 1 && (!de.partialKeyframes() || c) && b.unshift(x());
1726
2217
  const C = {
1727
- delay: P1.ms(l),
1728
- duration: P1.ms(f),
1729
- endDelay: P1.ms(u),
1730
- easing: u1(h) ? void 0 : de(h, f),
1731
- direction: d,
2218
+ delay: Ue.ms(g),
2219
+ duration: Ue.ms(h),
2220
+ endDelay: Ue.ms(p),
2221
+ easing: he(d) ? void 0 : v1(d, h),
2222
+ direction: s,
1732
2223
  iterations: m + 1,
1733
2224
  fill: "both"
1734
2225
  };
1735
- c = e.animate({
1736
- [I]: E,
1737
- offset: g,
1738
- easing: u1(h) ? h.map((i1) => de(i1, f)) : void 0
1739
- }, C), c.finished || (c.finished = new Promise((i1, Je) => {
1740
- c.onfinish = i1, c.oncancel = Je;
2226
+ u = e.animate({
2227
+ [A]: b,
2228
+ offset: l,
2229
+ easing: he(d) ? d.map((ae) => v1(ae, h)) : void 0
2230
+ }, C), u.finished || (u.finished = new Promise((ae, ht) => {
2231
+ u.onfinish = ae, u.oncancel = ht;
1741
2232
  }));
1742
- const g1 = E[E.length - 1];
1743
- c.finished.then(() => {
1744
- p || (p1.set(e, I, g1), c.cancel());
1745
- }).catch(Ue), y || (c.playbackRate = 1.000001);
1746
- } else if (B)
1747
- E = E.map((C) => typeof C == "string" ? parseFloat(C) : C), E.length === 1 && E.unshift(parseFloat(N())), c = new i((C) => {
1748
- p1.set(e, I, ie ? ie(C) : C);
1749
- }, E, Object.assign(Object.assign({}, r), {
1750
- duration: f,
1751
- easing: h
2233
+ const fe = b[b.length - 1];
2234
+ u.finished.then(() => {
2235
+ f || (ve.set(e, A, fe), u.cancel());
2236
+ }).catch(Q1), S || (u.playbackRate = 1.000001);
2237
+ } else if (V)
2238
+ b = b.map((C) => typeof C == "string" ? parseFloat(C) : C), b.length === 1 && b.unshift(parseFloat(x())), u = new r((C) => {
2239
+ ve.set(e, A, l1 ? l1(C) : C);
2240
+ }, b, Object.assign(Object.assign({}, i), {
2241
+ duration: h,
2242
+ easing: d
1752
2243
  }));
1753
2244
  else {
1754
- const C = E[E.length - 1];
1755
- p1.set(e, I, w && y1(C) ? w.toDefaultUnit(C) : C);
2245
+ const C = b[b.length - 1];
2246
+ ve.set(e, A, y && be(C) ? y.toDefaultUnit(C) : C);
1756
2247
  }
1757
- return s && a(e, t, E, {
1758
- duration: f,
1759
- delay: l,
1760
- easing: h,
2248
+ return c && a(e, t, b, {
2249
+ duration: h,
2250
+ delay: g,
2251
+ easing: d,
1761
2252
  repeat: m,
1762
- offset: g
1763
- }, "motion-one"), r1.setAnimation(c), c && !b && c.pause(), c;
2253
+ offset: l
2254
+ }, "motion-one"), re.setAnimation(u), u && !T && u.pause(), u;
1764
2255
  };
1765
2256
  }
1766
- const hn = (e, t) => (
2257
+ const In = (e, t) => (
1767
2258
  /**
1768
2259
  * TODO: Make test for this
1769
2260
  * Always return a new object otherwise delay is overwritten by results of stagger
@@ -1771,336 +2262,336 @@ const hn = (e, t) => (
1771
2262
  */
1772
2263
  e[t] ? Object.assign(Object.assign({}, e), e[t]) : Object.assign({}, e)
1773
2264
  );
1774
- function dn(e, t) {
2265
+ function Nn(e, t) {
1775
2266
  return typeof e == "string" ? e = document.querySelectorAll(e) : e instanceof Element && (e = [e]), Array.from(e || []);
1776
2267
  }
1777
- function je(e, t) {
2268
+ function nt(e, t) {
1778
2269
  var n = {};
1779
- for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
2270
+ for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (n[i] = e[i]);
1780
2271
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
1781
- for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
1782
- t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
2272
+ for (var r = 0, i = Object.getOwnPropertySymbols(e); r < i.length; r++)
2273
+ t.indexOf(i[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[r]) && (n[i[r]] = e[i[r]]);
1783
2274
  return n;
1784
2275
  }
1785
- const fn = {
2276
+ const xn = {
1786
2277
  any: 0,
1787
2278
  all: 1
1788
2279
  };
1789
- function gn(e, t, { root: n, margin: r, amount: i = "any" } = {}) {
2280
+ function Fn(e, t, { root: n, margin: i, amount: r = "any" } = {}) {
1790
2281
  if (typeof IntersectionObserver > "u")
1791
2282
  return () => {
1792
2283
  };
1793
- const a = dn(e), s = /* @__PURE__ */ new WeakMap(), c = (l) => {
1794
- l.forEach((u) => {
1795
- const m = s.get(u.target);
1796
- if (u.isIntersecting !== !!m)
1797
- if (u.isIntersecting) {
1798
- const h = t(u);
1799
- w1(h) ? s.set(u.target, h) : f.unobserve(u.target);
1800
- } else m && (m(u), s.delete(u.target));
2284
+ const a = Nn(e), c = /* @__PURE__ */ new WeakMap(), u = (g) => {
2285
+ g.forEach((p) => {
2286
+ const m = c.get(p.target);
2287
+ if (p.isIntersecting !== !!m)
2288
+ if (p.isIntersecting) {
2289
+ const d = t(p);
2290
+ Ee(d) ? c.set(p.target, d) : h.unobserve(p.target);
2291
+ } else m && (m(p), c.delete(p.target));
1801
2292
  });
1802
- }, f = new IntersectionObserver(c, {
2293
+ }, h = new IntersectionObserver(u, {
1803
2294
  root: n,
1804
- rootMargin: r,
1805
- threshold: typeof i == "number" ? i : fn[i]
2295
+ rootMargin: i,
2296
+ threshold: typeof r == "number" ? r : xn[r]
1806
2297
  });
1807
- return a.forEach((l) => f.observe(l)), () => f.disconnect();
2298
+ return a.forEach((g) => h.observe(g)), () => h.disconnect();
1808
2299
  }
1809
- function mn(e, t) {
1810
- return typeof e != typeof t ? !0 : Array.isArray(e) && Array.isArray(t) ? !pn(e, t) : e !== t;
2300
+ function Gn(e, t) {
2301
+ return typeof e != typeof t ? !0 : Array.isArray(e) && Array.isArray(t) ? !Un(e, t) : e !== t;
1811
2302
  }
1812
- function pn(e, t) {
2303
+ function Un(e, t) {
1813
2304
  const n = t.length;
1814
2305
  if (n !== e.length)
1815
2306
  return !1;
1816
- for (let r = 0; r < n; r++)
1817
- if (t[r] !== e[r])
2307
+ for (let i = 0; i < n; i++)
2308
+ if (t[i] !== e[i])
1818
2309
  return !1;
1819
2310
  return !0;
1820
2311
  }
1821
- function _n(e) {
2312
+ function Ln(e) {
1822
2313
  return typeof e == "object";
1823
2314
  }
1824
- function fe(e, t) {
1825
- if (_n(e))
2315
+ function y1(e, t) {
2316
+ if (Ln(e))
1826
2317
  return e;
1827
2318
  if (e && t)
1828
2319
  return t[e];
1829
2320
  }
1830
- let n1;
1831
- function vn() {
1832
- if (!n1)
2321
+ let ie;
2322
+ function Hn() {
2323
+ if (!ie)
1833
2324
  return;
1834
- const e = n1.sort(wn).map(Sn);
1835
- e.forEach(ge), e.forEach(ge), n1 = void 0;
2325
+ const e = ie.sort($n).map(zn);
2326
+ e.forEach(S1), e.forEach(S1), ie = void 0;
1836
2327
  }
1837
- function U1(e) {
1838
- n1 ? Ne(n1, e) : (n1 = [e], requestAnimationFrame(vn));
2328
+ function $e(e) {
2329
+ ie ? K1(ie, e) : (ie = [e], requestAnimationFrame(Hn));
1839
2330
  }
1840
- function yn(e) {
1841
- n1 && It(n1, e);
2331
+ function Bn(e) {
2332
+ ie && en(ie, e);
1842
2333
  }
1843
- const wn = (e, t) => e.getDepth() - t.getDepth(), Sn = (e) => e.animateUpdates(), ge = (e) => e.next(), me = (e, t) => new CustomEvent(e, { detail: { target: t } });
1844
- function W1(e, t, n) {
2334
+ const $n = (e, t) => e.getDepth() - t.getDepth(), zn = (e) => e.animateUpdates(), S1 = (e) => e.next(), w1 = (e, t) => new CustomEvent(e, { detail: { target: t } });
2335
+ function Ze(e, t, n) {
1845
2336
  e.dispatchEvent(new CustomEvent(t, { detail: { originalEvent: n } }));
1846
2337
  }
1847
- function pe(e, t, n) {
2338
+ function b1(e, t, n) {
1848
2339
  e.dispatchEvent(new CustomEvent(t, { detail: { originalEntry: n } }));
1849
2340
  }
1850
- const En = {
2341
+ const Vn = {
1851
2342
  isActive: (e) => !!e.inView,
1852
- subscribe: (e, { enable: t, disable: n }, { inViewOptions: r = {} }) => {
1853
- const { once: i } = r, a = je(r, ["once"]);
1854
- return gn(e, (s) => {
1855
- if (t(), pe(e, "viewenter", s), !i)
1856
- return (c) => {
1857
- n(), pe(e, "viewleave", c);
2343
+ subscribe: (e, { enable: t, disable: n }, { inViewOptions: i = {} }) => {
2344
+ const { once: r } = i, a = nt(i, ["once"]);
2345
+ return Fn(e, (c) => {
2346
+ if (t(), b1(e, "viewenter", c), !r)
2347
+ return (u) => {
2348
+ n(), b1(e, "viewleave", u);
1858
2349
  };
1859
2350
  }, a);
1860
2351
  }
1861
- }, _e = (e, t, n) => (r) => {
1862
- r.pointerType && r.pointerType !== "mouse" || (n(), W1(e, t, r));
1863
- }, Tn = {
2352
+ }, E1 = (e, t, n) => (i) => {
2353
+ i.pointerType && i.pointerType !== "mouse" || (n(), Ze(e, t, i));
2354
+ }, Wn = {
1864
2355
  isActive: (e) => !!e.hover,
1865
2356
  subscribe: (e, { enable: t, disable: n }) => {
1866
- const r = _e(e, "hoverstart", t), i = _e(e, "hoverend", n);
1867
- return e.addEventListener("pointerenter", r), e.addEventListener("pointerleave", i), () => {
1868
- e.removeEventListener("pointerenter", r), e.removeEventListener("pointerleave", i);
2357
+ const i = E1(e, "hoverstart", t), r = E1(e, "hoverend", n);
2358
+ return e.addEventListener("pointerenter", i), e.addEventListener("pointerleave", r), () => {
2359
+ e.removeEventListener("pointerenter", i), e.removeEventListener("pointerleave", r);
1869
2360
  };
1870
2361
  }
1871
- }, bn = {
2362
+ }, Kn = {
1872
2363
  isActive: (e) => !!e.press,
1873
2364
  subscribe: (e, { enable: t, disable: n }) => {
1874
- const r = (a) => {
1875
- n(), W1(e, "pressend", a), window.removeEventListener("pointerup", r);
1876
- }, i = (a) => {
1877
- t(), W1(e, "pressstart", a), window.addEventListener("pointerup", r);
2365
+ const i = (a) => {
2366
+ n(), Ze(e, "pressend", a), window.removeEventListener("pointerup", i);
2367
+ }, r = (a) => {
2368
+ t(), Ze(e, "pressstart", a), window.addEventListener("pointerup", i);
1878
2369
  };
1879
- return e.addEventListener("pointerdown", i), () => {
1880
- e.removeEventListener("pointerdown", i), window.removeEventListener("pointerup", r);
2370
+ return e.addEventListener("pointerdown", r), () => {
2371
+ e.removeEventListener("pointerdown", r), window.removeEventListener("pointerup", i);
1881
2372
  };
1882
2373
  }
1883
- }, T1 = { inView: En, hover: Tn, press: bn }, ve = ["initial", "animate", ...Object.keys(T1), "exit"], q1 = /* @__PURE__ */ new WeakMap();
1884
- function Cn(e = {}, t) {
1885
- let n, r = t ? t.getDepth() + 1 : 0;
1886
- const i = { initial: !0, animate: !0 }, a = {}, s = {};
1887
- for (const g of ve)
1888
- s[g] = typeof e[g] == "string" ? e[g] : t?.getContext()[g];
1889
- const c = e.initial === !1 ? "animate" : "initial";
1890
- let f = fe(e[c] || s[c], e.variants) || {}, l = je(f, ["transition"]);
1891
- const u = Object.assign({}, l);
2374
+ }, Oe = { inView: Vn, hover: Wn, press: Kn }, T1 = ["initial", "animate", ...Object.keys(Oe), "exit"], Je = /* @__PURE__ */ new WeakMap();
2375
+ function jn(e = {}, t) {
2376
+ let n, i = t ? t.getDepth() + 1 : 0;
2377
+ const r = { initial: !0, animate: !0 }, a = {}, c = {};
2378
+ for (const l of T1)
2379
+ c[l] = typeof e[l] == "string" ? e[l] : t?.getContext()[l];
2380
+ const u = e.initial === !1 ? "animate" : "initial";
2381
+ let h = y1(e[u] || c[u], e.variants) || {}, g = nt(h, ["transition"]);
2382
+ const p = Object.assign({}, g);
1892
2383
  function* m() {
1893
- var g, y;
1894
- const b = l;
1895
- l = {};
1896
- const $ = {};
1897
- for (const w of ve) {
1898
- if (!i[w])
2384
+ var l, S;
2385
+ const T = g;
2386
+ g = {};
2387
+ const z = {};
2388
+ for (const y of T1) {
2389
+ if (!r[y])
1899
2390
  continue;
1900
- const N = fe(e[w]);
1901
- if (N)
1902
- for (const E in N)
1903
- E !== "transition" && (l[E] = N[E], $[E] = hn((y = (g = N.transition) !== null && g !== void 0 ? g : e.transition) !== null && y !== void 0 ? y : {}, E));
2391
+ const x = y1(e[y]);
2392
+ if (x)
2393
+ for (const b in x)
2394
+ b !== "transition" && (g[b] = x[b], z[b] = In((S = (l = x.transition) !== null && l !== void 0 ? l : e.transition) !== null && S !== void 0 ? S : {}, b));
1904
2395
  }
1905
- const B = /* @__PURE__ */ new Set([
1906
- ...Object.keys(l),
1907
- ...Object.keys(b)
1908
- ]), F = [];
1909
- B.forEach((w) => {
1910
- var N;
1911
- l[w] === void 0 && (l[w] = u[w]), mn(b[w], l[w]) && ((N = u[w]) !== null && N !== void 0 || (u[w] = p1.get(n, w)), F.push(un(n, w, l[w], $[w], Vt)));
2396
+ const V = /* @__PURE__ */ new Set([
2397
+ ...Object.keys(g),
2398
+ ...Object.keys(T)
2399
+ ]), U = [];
2400
+ V.forEach((y) => {
2401
+ var x;
2402
+ g[y] === void 0 && (g[y] = p[y]), Gn(T[y], g[y]) && ((x = p[y]) !== null && x !== void 0 || (p[y] = ve.get(n, y)), U.push(Pn(n, y, g[y], z[y], gn)));
1912
2403
  }), yield;
1913
- const I = F.map((w) => w()).filter(Boolean);
1914
- if (!I.length)
2404
+ const A = U.map((y) => y()).filter(Boolean);
2405
+ if (!A.length)
1915
2406
  return;
1916
- const r1 = l;
1917
- n.dispatchEvent(me("motionstart", r1)), Promise.all(I.map((w) => w.finished)).then(() => {
1918
- n.dispatchEvent(me("motioncomplete", r1));
1919
- }).catch(Ue);
1920
- }
1921
- const h = (g, y) => () => {
1922
- i[g] = y, U1(d);
1923
- }, p = () => {
1924
- for (const g in T1) {
1925
- const y = T1[g].isActive(e), b = a[g];
1926
- y && !b ? a[g] = T1[g].subscribe(n, {
1927
- enable: h(g, !0),
1928
- disable: h(g, !1)
1929
- }, e) : !y && b && (b(), delete a[g]);
2407
+ const re = g;
2408
+ n.dispatchEvent(w1("motionstart", re)), Promise.all(A.map((y) => y.finished)).then(() => {
2409
+ n.dispatchEvent(w1("motioncomplete", re));
2410
+ }).catch(Q1);
2411
+ }
2412
+ const d = (l, S) => () => {
2413
+ r[l] = S, $e(s);
2414
+ }, f = () => {
2415
+ for (const l in Oe) {
2416
+ const S = Oe[l].isActive(e), T = a[l];
2417
+ S && !T ? a[l] = Oe[l].subscribe(n, {
2418
+ enable: d(l, !0),
2419
+ disable: d(l, !1)
2420
+ }, e) : !S && T && (T(), delete a[l]);
1930
2421
  }
1931
- }, d = {
1932
- update: (g) => {
1933
- n && (e = g, p(), U1(d));
2422
+ }, s = {
2423
+ update: (l) => {
2424
+ n && (e = l, f(), $e(s));
1934
2425
  },
1935
- setActive: (g, y) => {
1936
- n && (i[g] = y, U1(d));
2426
+ setActive: (l, S) => {
2427
+ n && (r[l] = S, $e(s));
1937
2428
  },
1938
2429
  animateUpdates: m,
1939
- getDepth: () => r,
1940
- getTarget: () => l,
2430
+ getDepth: () => i,
2431
+ getTarget: () => g,
1941
2432
  getOptions: () => e,
1942
- getContext: () => s,
1943
- mount: (g) => (He(!!g, "Animation state must be mounted with valid Element"), n = g, q1.set(n, d), p(), () => {
1944
- q1.delete(n), yn(d);
1945
- for (const y in a)
1946
- a[y]();
2433
+ getContext: () => c,
2434
+ mount: (l) => (J1(!!l, "Animation state must be mounted with valid Element"), n = l, Je.set(n, s), f(), () => {
2435
+ Je.delete(n), Bn(s);
2436
+ for (const S in a)
2437
+ a[S]();
1947
2438
  }),
1948
2439
  isMounted: () => !!n
1949
2440
  };
1950
- return d;
2441
+ return s;
1951
2442
  }
1952
- function Mn(e) {
2443
+ function qn(e) {
1953
2444
  const t = {}, n = [];
1954
- for (let r in e) {
1955
- const i = e[r];
1956
- te(r) && (h1[r] && (r = h1[r]), n.push(r), r = I1(r));
1957
- let a = Array.isArray(i) ? i[0] : i;
1958
- const s = d1.get(r);
1959
- s && (a = y1(i) ? s.toDefaultUnit(i) : i), t[r] = a;
2445
+ for (let i in e) {
2446
+ const r = e[i];
2447
+ s1(i) && (ge[i] && (i = ge[i]), n.push(i), i = Ne(i));
2448
+ let a = Array.isArray(r) ? r[0] : r;
2449
+ const c = pe.get(i);
2450
+ c && (a = be(r) ? c.toDefaultUnit(r) : r), t[i] = a;
1960
2451
  }
1961
- return n.length && (t.transform = Ve(n)), t;
2452
+ return n.length && (t.transform = tt(n)), t;
1962
2453
  }
1963
- var ye = Y1 ? (e) => e != null && typeof e == "object" && "t" in e : (e) => e instanceof Element;
1964
- function Q1(e, t) {
2454
+ var C1 = t1 ? (e) => e != null && typeof e == "object" && "t" in e : (e) => e instanceof Element;
2455
+ function e1(e, t) {
1965
2456
  if (t(e))
1966
2457
  return e;
1967
2458
  if (typeof e == "function" && !e.length)
1968
- return Q1(e(), t);
2459
+ return e1(e(), t);
1969
2460
  if (Array.isArray(e))
1970
2461
  for (const n of e) {
1971
- const r = Q1(n, t);
1972
- if (r)
1973
- return r;
2462
+ const i = e1(n, t);
2463
+ if (i)
2464
+ return i;
1974
2465
  }
1975
2466
  return null;
1976
2467
  }
1977
- function On(e, t = ye, n = ye) {
1978
- const r = $1(e);
1979
- return $1(() => Q1(r(), Y1 ? n : t));
1980
- }
1981
- var An = () => {
1982
- }, we = (e, t) => t();
1983
- function Dn(e, t) {
1984
- const n = x1(e), r = n ? [n] : [];
1985
- if (Y1)
1986
- return () => r;
1987
- const { onEnter: i = we, onExit: a = we } = t, [s, c] = Q(
1988
- t.appear ? [] : r
1989
- ), [f] = rt();
1990
- let l, u = !1;
1991
- function m(d, g) {
1992
- if (!d)
1993
- return g && g();
1994
- u = !0, a(d, () => {
1995
- M1(() => {
1996
- u = !1, c((y) => y.filter((b) => b !== d)), g && g();
2468
+ function Qn(e, t = C1, n = C1) {
2469
+ const i = We(e);
2470
+ return We(() => e1(i(), t1 ? n : t));
2471
+ }
2472
+ var Yn = () => {
2473
+ }, M1 = (e, t) => t();
2474
+ function Xn(e, t) {
2475
+ const n = xe(e), i = n ? [n] : [];
2476
+ if (t1)
2477
+ return () => i;
2478
+ const { onEnter: r = M1, onExit: a = M1 } = t, [c, u] = Y(
2479
+ t.appear ? [] : i
2480
+ ), [h] = _t();
2481
+ let g, p = !1;
2482
+ function m(s, l) {
2483
+ if (!s)
2484
+ return l && l();
2485
+ p = !0, a(s, () => {
2486
+ De(() => {
2487
+ p = !1, u((S) => S.filter((T) => T !== s)), l && l();
1997
2488
  });
1998
2489
  });
1999
2490
  }
2000
- function h(d) {
2001
- const g = l;
2002
- if (!g)
2003
- return d && d();
2004
- l = void 0, c((y) => [g, ...y]), i(g, d ?? An);
2491
+ function d(s) {
2492
+ const l = g;
2493
+ if (!l)
2494
+ return s && s();
2495
+ g = void 0, u((S) => [l, ...S]), r(l, s ?? Yn);
2005
2496
  }
2006
- const p = t.mode === "out-in" ? (
2497
+ const f = t.mode === "out-in" ? (
2007
2498
  // exit -> enter
2008
- (d) => u || m(d, h)
2499
+ (s) => p || m(s, d)
2009
2500
  ) : t.mode === "in-out" ? (
2010
2501
  // enter -> exit
2011
- (d) => h(() => m(d))
2502
+ (s) => d(() => m(s))
2012
2503
  ) : (
2013
2504
  // exit & enter
2014
- (d) => {
2015
- m(d), h();
2505
+ (s) => {
2506
+ m(s), d();
2016
2507
  }
2017
2508
  );
2018
- return it(
2019
- (d) => {
2020
- const g = e();
2021
- return x1(f) ? (f(), d) : (g !== d && (l = g, M1(() => x1(() => p(d)))), g);
2509
+ return vt(
2510
+ (s) => {
2511
+ const l = e();
2512
+ return xe(h) ? (h(), s) : (l !== s && (g = l, De(() => xe(() => f(s)))), l);
2022
2513
  },
2023
2514
  t.appear ? void 0 : n
2024
- ), s;
2515
+ ), c;
2025
2516
  }
2026
- var Ke = R1(), kn = (e) => {
2027
- const [t, n] = Q(!0), r = {
2517
+ var it = Ie(), Zn = (e) => {
2518
+ const [t, n] = Y(!0), i = {
2028
2519
  initial: e.initial ?? !0,
2029
2520
  mount: t
2030
- }, i = o(Ke.Provider, {
2031
- value: r,
2521
+ }, r = o(it.Provider, {
2522
+ value: i,
2032
2523
  get children() {
2033
- return Dn(On(() => e.children), {
2034
- appear: r.initial,
2524
+ return Xn(Qn(() => e.children), {
2525
+ appear: i.initial,
2035
2526
  mode: e.exitBeforeEnter ? "out-in" : "parallel",
2036
- onExit(a, s) {
2037
- M1(() => {
2038
- n(!1), q1.get(a)?.getOptions()?.exit ? a.addEventListener("motioncomplete", s) : s();
2527
+ onExit(a, c) {
2528
+ De(() => {
2529
+ n(!1), Je.get(a)?.getOptions()?.exit ? a.addEventListener("motioncomplete", c) : c();
2039
2530
  });
2040
2531
  },
2041
- onEnter(a, s) {
2042
- M1(() => {
2043
- n(!0), s();
2532
+ onEnter(a, c) {
2533
+ De(() => {
2534
+ n(!0), c();
2044
2535
  });
2045
2536
  }
2046
2537
  });
2047
2538
  }
2048
2539
  });
2049
- return r.initial = !0, i;
2540
+ return i.initial = !0, r;
2050
2541
  };
2051
- function Rn(e, t, n, r) {
2052
- const i = Cn(n?.initial === !1 ? {
2542
+ function Jn(e, t, n, i) {
2543
+ const r = jn(n?.initial === !1 ? {
2053
2544
  ...t(),
2054
2545
  initial: !1
2055
- } : t(), r);
2056
- return q(() => {
2546
+ } : t(), i);
2547
+ return G(() => {
2057
2548
  if (n && !n.mount()) return;
2058
- const a = e(), s = i.mount(a);
2059
- q(() => i.update(t())), o1(() => {
2060
- n && t().exit ? (i.setActive("exit", !0), a.addEventListener("motioncomplete", s)) : s();
2549
+ const a = e(), c = r.mount(a);
2550
+ G(() => r.update(t())), oe(() => {
2551
+ n && t().exit ? (r.setActive("exit", !0), a.addEventListener("motioncomplete", c)) : c();
2061
2552
  });
2062
- }), [i, Mn(i.getTarget())];
2553
+ }), [r, qn(r.getTarget())];
2063
2554
  }
2064
- var In = ["initial", "animate", "inView", "inViewOptions", "hover", "press", "variants", "transition", "exit"], xn = ["tag"], Se = R1(), Ee = (e) => {
2065
- const [t, , n] = at(e, In, xn), [r, i] = Rn(() => a, () => ({
2555
+ var ei = ["initial", "animate", "inView", "inViewOptions", "hover", "press", "variants", "transition", "exit"], ti = ["tag"], O1 = Ie(), A1 = (e) => {
2556
+ const [t, , n] = yt(e, ei, ti), [i, r] = Jn(() => a, () => ({
2066
2557
  ...t
2067
- }), C1(Ke), C1(Se));
2558
+ }), Ae(it), Ae(O1));
2068
2559
  let a;
2069
- return o(Se.Provider, {
2070
- value: r,
2560
+ return o(O1.Provider, {
2561
+ value: i,
2071
2562
  get children() {
2072
- return o(Me, X1(n, {
2073
- ref: (s) => {
2074
- a = s, e.ref?.(s);
2563
+ return o(N1, n1(n, {
2564
+ ref: (c) => {
2565
+ a = c, e.ref?.(c);
2075
2566
  },
2076
2567
  get component() {
2077
2568
  return e.tag || "div";
2078
2569
  },
2079
2570
  get style() {
2080
- return Rt(e.style, i);
2571
+ return Jt(e.style, r);
2081
2572
  }
2082
2573
  }));
2083
2574
  }
2084
2575
  });
2085
- }, j = new Proxy(Ee, {
2086
- get: (e, t) => (n) => o(Ee, X1(n, {
2576
+ }, j = new Proxy(A1, {
2577
+ get: (e, t) => (n) => o(A1, n1(n, {
2087
2578
  tag: t
2088
2579
  }))
2089
2580
  });
2090
- function We(e) {
2091
- var t, n, r = "";
2092
- if (typeof e == "string" || typeof e == "number") r += e;
2581
+ function rt(e) {
2582
+ var t, n, i = "";
2583
+ if (typeof e == "string" || typeof e == "number") i += e;
2093
2584
  else if (typeof e == "object") if (Array.isArray(e)) {
2094
- var i = e.length;
2095
- for (t = 0; t < i; t++) e[t] && (n = We(e[t])) && (r && (r += " "), r += n);
2096
- } else for (n in e) e[n] && (r && (r += " "), r += n);
2097
- return r;
2585
+ var r = e.length;
2586
+ for (t = 0; t < r; t++) e[t] && (n = rt(e[t])) && (i && (i += " "), i += n);
2587
+ } else for (n in e) e[n] && (i && (i += " "), i += n);
2588
+ return i;
2098
2589
  }
2099
- function qe() {
2100
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = We(e)) && (r && (r += " "), r += t);
2101
- return r;
2590
+ function at() {
2591
+ for (var e, t, n = 0, i = "", r = arguments.length; n < r; n++) (e = arguments[n]) && (t = rt(e)) && (i && (i += " "), i += t);
2592
+ return i;
2102
2593
  }
2103
- const Te = {
2594
+ const D1 = {
2104
2595
  SENSING_FRONT: "scan_the_front_side",
2105
2596
  SENSING_BACK: "scan_the_back_side",
2106
2597
  FLIP_CARD: "flip_to_back_side",
@@ -2111,12 +2602,15 @@ const Te = {
2111
2602
  SENSING_TOP_PAGE: "scan_top_page",
2112
2603
  SENSING_LEFT_PAGE: "scan_left_page",
2113
2604
  SENSING_RIGHT_PAGE: "scan_right_page",
2605
+ SENSING_LAST_PAGE: "scan_last_page_barcode",
2114
2606
  MOVE_TOP: "move_top",
2115
2607
  MOVE_LEFT: "move_left",
2116
2608
  MOVE_RIGHT: "move_right",
2609
+ MOVE_LAST_PAGE: "scan_last_page_barcode",
2117
2610
  WRONG_TOP_PAGE: "wrong_top",
2118
2611
  WRONG_LEFT_PAGE: "wrong_left",
2119
2612
  WRONG_RIGHT_PAGE: "wrong_right",
2613
+ WRONG_LAST_PAGE: "scan_last_page_barcode",
2120
2614
  // occlusion
2121
2615
  BLUR_DETECTED: "blur_detected",
2122
2616
  GLARE_DETECTED: "glare_detected",
@@ -2132,59 +2626,59 @@ const Te = {
2132
2626
  TOO_DARK: "too_dark",
2133
2627
  TOO_BRIGHT: "too_bright"
2134
2628
  };
2135
- var Pn = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 96 60"><path fill=#fff fill-rule=evenodd d="M0 6a6 6 0 0 1 6-6h84a6 6 0 0 1 6 6v48a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6zm10.2 7.8c0-1.325 1.11-2.4 2.48-2.4h69.44c1.37 0 2.48 1.075 2.48 2.4s-1.11 2.4-2.48 2.4H12.68c-1.37 0-2.48-1.074-2.48-2.4m70.5 35.4a3.9 3.9 0 1 0 0-7.8 3.9 3.9 0 0 0 0 7.8m-70.5-3c0-1.326 1.098-2.4 2.451-2.4H34.15c1.353 0 2.451 1.075 2.451 2.4s-1.098 2.4-2.451 2.4h-21.5c-1.354 0-2.451-1.075-2.451-2.4Zm2.474-13.8c-1.366 0-2.474 1.075-2.474 2.4 0 1.326 1.108 2.4 2.474 2.4h30.452c1.366 0 2.474-1.075 2.474-2.4s-1.108-2.4-2.474-2.4z"clip-rule=evenodd>');
2136
- const Nn = (e = {}) => (() => {
2137
- var t = Pn();
2629
+ var ni = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 96 60"><path fill=#fff fill-rule=evenodd d="M0 6a6 6 0 0 1 6-6h84a6 6 0 0 1 6 6v48a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6zm10.2 7.8c0-1.325 1.11-2.4 2.48-2.4h69.44c1.37 0 2.48 1.075 2.48 2.4s-1.11 2.4-2.48 2.4H12.68c-1.37 0-2.48-1.074-2.48-2.4m70.5 35.4a3.9 3.9 0 1 0 0-7.8 3.9 3.9 0 0 0 0 7.8m-70.5-3c0-1.326 1.098-2.4 2.451-2.4H34.15c1.353 0 2.451 1.075 2.451 2.4s-1.098 2.4-2.451 2.4h-21.5c-1.354 0-2.451-1.075-2.451-2.4Zm2.474-13.8c-1.366 0-2.474 1.075-2.474 2.4 0 1.326 1.108 2.4 2.474 2.4h30.452c1.366 0 2.474-1.075 2.474-2.4s-1.108-2.4-2.474-2.4z"clip-rule=evenodd>');
2630
+ const ii = (e = {}) => (() => {
2631
+ var t = ni();
2138
2632
  return R(t, e, !0, !0), t;
2139
2633
  })();
2140
- var zn = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 96 60"><path fill=#fff fill-rule=evenodd d="M6 0a6 6 0 0 0-6 6v48a6 6 0 0 0 6 6h84a6 6 0 0 0 6-6V6a6 6 0 0 0-6-6zm42.671 10.8c-1.365 0-2.471 1.074-2.471 2.4s1.106 2.4 2.471 2.4H82.13c1.365 0 2.471-1.075 2.471-2.4s-1.106-2.4-2.471-2.4zM72 49.2c0-1.326 1.058-2.4 2.364-2.4h7.272c1.306 0 2.364 1.075 2.364 2.4s-1.058 2.4-2.364 2.4h-7.272C73.058 51.6 72 50.525 72 49.2M48.702 33.6c-1.382 0-2.502 1.075-2.502 2.4s1.12 2.4 2.502 2.4h15.396c1.382 0 2.502-1.075 2.502-2.4s-1.12-2.4-2.502-2.4zm-2.502-9c0-1.326 1.106-2.4 2.471-2.4H82.13c1.365 0 2.471 1.075 2.471 2.4S83.494 27 82.129 27H48.67c-1.365 0-2.471-1.075-2.471-2.4M13.265 10.8c-1.693 0-3.065 1.407-3.065 3.144v24.024c0 1.117.569 2.097 1.42 2.653.266.174.59.224.894.138a1.12 1.12 0 0 0 .698-.587c1.385-2.82 3.678-5.021 6.438-6.162.373-.154.637-.504.688-.915.05-.41-.119-.816-.443-1.062a7.23 7.23 0 0 1-2.84-5.78c0-3.962 3.115-7.164 6.945-7.164s6.944 3.203 6.944 7.165a7.23 7.23 0 0 1-2.839 5.78 1.16 1.16 0 0 0-.442 1.061c.05.41.314.76.688.915 2.76 1.14 5.052 3.343 6.437 6.162.142.288.395.501.698.587.304.086.628.036.893-.138a3.16 3.16 0 0 0 1.421-2.653V13.944c0-1.737-1.372-3.144-3.065-3.144z"clip-rule=evenodd>');
2141
- const Fn = (e = {}) => (() => {
2142
- var t = zn();
2634
+ var ri = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 96 60"><path fill=#fff fill-rule=evenodd d="M6 0a6 6 0 0 0-6 6v48a6 6 0 0 0 6 6h84a6 6 0 0 0 6-6V6a6 6 0 0 0-6-6zm42.671 10.8c-1.365 0-2.471 1.074-2.471 2.4s1.106 2.4 2.471 2.4H82.13c1.365 0 2.471-1.075 2.471-2.4s-1.106-2.4-2.471-2.4zM72 49.2c0-1.326 1.058-2.4 2.364-2.4h7.272c1.306 0 2.364 1.075 2.364 2.4s-1.058 2.4-2.364 2.4h-7.272C73.058 51.6 72 50.525 72 49.2M48.702 33.6c-1.382 0-2.502 1.075-2.502 2.4s1.12 2.4 2.502 2.4h15.396c1.382 0 2.502-1.075 2.502-2.4s-1.12-2.4-2.502-2.4zm-2.502-9c0-1.326 1.106-2.4 2.471-2.4H82.13c1.365 0 2.471 1.075 2.471 2.4S83.494 27 82.129 27H48.67c-1.365 0-2.471-1.075-2.471-2.4M13.265 10.8c-1.693 0-3.065 1.407-3.065 3.144v24.024c0 1.117.569 2.097 1.42 2.653.266.174.59.224.894.138a1.12 1.12 0 0 0 .698-.587c1.385-2.82 3.678-5.021 6.438-6.162.373-.154.637-.504.688-.915.05-.41-.119-.816-.443-1.062a7.23 7.23 0 0 1-2.84-5.78c0-3.962 3.115-7.164 6.945-7.164s6.944 3.203 6.944 7.165a7.23 7.23 0 0 1-2.839 5.78 1.16 1.16 0 0 0-.442 1.061c.05.41.314.76.688.915 2.76 1.14 5.052 3.343 6.437 6.162.142.288.395.501.698.587.304.086.628.036.893-.138a3.16 3.16 0 0 0 1.421-2.653V13.944c0-1.737-1.372-3.144-3.065-3.144z"clip-rule=evenodd>');
2635
+ const ai = (e = {}) => (() => {
2636
+ var t = ri();
2143
2637
  return R(t, e, !0, !0), t;
2144
2638
  })();
2145
- var Un = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 96 96"><rect width=96 height=96 fill=#fff rx=48></rect><path fill=#000 d="M44.972 57.46a2 2 0 0 1-1.414-.584l-8.484-8.486a2 2 0 1 1 2.826-2.83l7.07 7.07L57.7 39.904a2 2 0 1 1 2.83 2.828L46.386 56.876a2 2 0 0 1-1.414.584">');
2146
- const Gn = (e = {}) => (() => {
2147
- var t = Un();
2639
+ var si = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 96 96"><rect width=96 height=96 fill=#fff rx=48></rect><path fill=#000 d="M44.972 57.46a2 2 0 0 1-1.414-.584l-8.484-8.486a2 2 0 1 1 2.826-2.83l7.07 7.07L57.7 39.904a2 2 0 1 1 2.83 2.828L46.386 56.876a2 2 0 0 1-1.414.584">');
2640
+ const oi = (e = {}) => (() => {
2641
+ var t = si();
2148
2642
  return R(t, e, !0, !0), t;
2149
2643
  })();
2150
- var $n = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 100 100"><path fill=#fff fill-rule=evenodd d="M50 7.692C26.634 7.692 7.692 26.634 7.692 50S26.634 92.308 50 92.308 92.308 73.366 92.308 50 73.366 7.692 50 7.692M0 50C0 22.386 22.386 0 50 0s50 22.386 50 50-22.386 50-50 50S0 77.614 0 50"clip-rule=evenodd opacity=.75></path><circle cx=50 cy=50 r=4 fill=#fff>');
2151
- const Bn = (e = {}) => (() => {
2152
- var t = $n();
2644
+ var ci = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 100 100"><path fill=#fff fill-rule=evenodd d="M50 7.692C26.634 7.692 7.692 26.634 7.692 50S26.634 92.308 50 92.308 92.308 73.366 92.308 50 73.366 7.692 50 7.692M0 50C0 22.386 22.386 0 50 0s50 22.386 50 50-22.386 50-50 50S0 77.614 0 50"clip-rule=evenodd opacity=.75></path><circle cx=50 cy=50 r=4 fill=#fff>');
2645
+ const li = (e = {}) => (() => {
2646
+ var t = ci();
2153
2647
  return R(t, e, !0, !0), t;
2154
2648
  })();
2155
- var Hn = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 120 76"><path fill=#fff fill-rule=evenodd d="M118 .5H2a2 2 0 0 0-2 2V68a7.5 7.5 0 0 0 7.5 7.5h105A7.5 7.5 0 0 0 120 68V2.5a2 2 0 0 0-2-2m-14.875 18.75h-38.75a3.125 3.125 0 1 0 0 6.25h38.75a3.125 3.125 0 1 0 0-6.25m-38.75 30h17.5a3.125 3.125 0 1 1 0 6.25h-17.5a3.125 3.125 0 1 1 0-6.25m38.75-15h-38.75a3.125 3.125 0 1 0 0 6.25h38.75a3.125 3.125 0 1 0 0-6.25M16.665 15.5c-2.3 0-4.165 1.935-4.165 4.322v33.034a4.36 4.36 0 0 0 1.93 3.648c.36.239.801.307 1.213.19.412-.118.757-.411.95-.807 1.881-3.877 4.997-6.904 8.746-8.473.508-.213.866-.694.935-1.258a1.6 1.6 0 0 0-.602-1.46c-2.34-1.795-3.857-4.685-3.857-7.947 0-5.448 4.231-9.851 9.435-9.851s9.435 4.403 9.435 9.851c0 3.262-1.517 6.152-3.857 7.947-.44.337-.671.896-.602 1.46s.427 1.045.935 1.258c3.75 1.569 6.865 4.596 8.747 8.473.192.396.537.689.949.807.412.117.852.049 1.213-.19A4.36 4.36 0 0 0 50 52.857V19.822c0-2.387-1.864-4.322-4.164-4.322z"clip-rule=evenodd>');
2156
- const Ln = (e = {}) => (() => {
2157
- var t = Hn();
2649
+ var ui = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 120 76"><path fill=#fff fill-rule=evenodd d="M118 .5H2a2 2 0 0 0-2 2V68a7.5 7.5 0 0 0 7.5 7.5h105A7.5 7.5 0 0 0 120 68V2.5a2 2 0 0 0-2-2m-14.875 18.75h-38.75a3.125 3.125 0 1 0 0 6.25h38.75a3.125 3.125 0 1 0 0-6.25m-38.75 30h17.5a3.125 3.125 0 1 1 0 6.25h-17.5a3.125 3.125 0 1 1 0-6.25m38.75-15h-38.75a3.125 3.125 0 1 0 0 6.25h38.75a3.125 3.125 0 1 0 0-6.25M16.665 15.5c-2.3 0-4.165 1.935-4.165 4.322v33.034a4.36 4.36 0 0 0 1.93 3.648c.36.239.801.307 1.213.19.412-.118.757-.411.95-.807 1.881-3.877 4.997-6.904 8.746-8.473.508-.213.866-.694.935-1.258a1.6 1.6 0 0 0-.602-1.46c-2.34-1.795-3.857-4.685-3.857-7.947 0-5.448 4.231-9.851 9.435-9.851s9.435 4.403 9.435 9.851c0 3.262-1.517 6.152-3.857 7.947-.44.337-.671.896-.602 1.46s.427 1.045.935 1.258c3.75 1.569 6.865 4.596 8.747 8.473.192.396.537.689.949.807.412.117.852.049 1.213-.19A4.36 4.36 0 0 0 50 52.857V19.822c0-2.387-1.864-4.322-4.164-4.322z"clip-rule=evenodd>');
2650
+ const di = (e = {}) => (() => {
2651
+ var t = ui();
2158
2652
  return R(t, e, !0, !0), t;
2159
2653
  })();
2160
- var Vn = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 144 86"><path stroke=#fff stroke-linecap=round stroke-linejoin=round stroke-width=4 d="M9.119 2H2v7.119M134.883 2h7.118v7.119M134.883 83.865h7.118v-7.119M9.119 83.865H2v-7.119">');
2161
- const jn = (e = {}) => (() => {
2162
- var t = Vn();
2654
+ var hi = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 144 86"><path stroke=#fff stroke-linecap=round stroke-linejoin=round stroke-width=4 d="M9.119 2H2v7.119M134.883 2h7.118v7.119M134.883 83.865h7.118v-7.119M9.119 83.865H2v-7.119">');
2655
+ const gi = (e = {}) => (() => {
2656
+ var t = hi();
2163
2657
  return R(t, e, !0, !0), t;
2164
2658
  })();
2165
- var Kn = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 120 75"><path fill=#fff fill-rule=evenodd d="M6 0a6 6 0 0 0-6 6v67a2 2 0 0 0 2 2h116a2 2 0 0 0 2-2V6a6 6 0 0 0-6-6zm82.125 56.25h15a3.125 3.125 0 1 1 0 6.25h-15a3.125 3.125 0 1 1 0-6.25m-32.5-42.5h-40a3.125 3.125 0 1 0 0 6.25h40a3.125 3.125 0 1 0 0-6.25m-40 12.5h25a3.125 3.125 0 1 1 0 6.25h-25a3.125 3.125 0 1 1 0-6.25"clip-rule=evenodd>');
2166
- const Wn = (e = {}) => (() => {
2167
- var t = Kn();
2659
+ var pi = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 120 75"><path fill=#fff fill-rule=evenodd d="M6 0a6 6 0 0 0-6 6v67a2 2 0 0 0 2 2h116a2 2 0 0 0 2-2V6a6 6 0 0 0-6-6zm82.125 56.25h15a3.125 3.125 0 1 1 0 6.25h-15a3.125 3.125 0 1 1 0-6.25m-32.5-42.5h-40a3.125 3.125 0 1 0 0 6.25h40a3.125 3.125 0 1 0 0-6.25m-40 12.5h25a3.125 3.125 0 1 1 0 6.25h-25a3.125 3.125 0 1 1 0-6.25"clip-rule=evenodd>');
2660
+ const mi = (e = {}) => (() => {
2661
+ var t = pi();
2168
2662
  return R(t, e, !0, !0), t;
2169
2663
  })();
2170
- var qn = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 100 100"><path fill=#fff fill-rule=evenodd d="M67.122 11.998a42.16 42.16 0 0 0-34.244 0l-3.397-7.644a50.52 50.52 0 0 1 41.038 0zm-55.124 20.88a42.16 42.16 0 0 0 0 34.244l-7.644 3.397a50.52 50.52 0 0 1 0-41.038zm76.004 34.244a42.16 42.16 0 0 0 0-34.244l7.644-3.397a50.52 50.52 0 0 1 0 41.038zm-55.124 20.88a42.16 42.16 0 0 0 34.244 0l3.397 7.644a50.52 50.52 0 0 1-41.038 0z"clip-rule=evenodd opacity=.75></path><circle cx=50 cy=50 r=4 fill=#fff>');
2171
- const Qn = (e = {}) => (() => {
2172
- var t = qn();
2664
+ var fi = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 100 100"><path fill=#fff fill-rule=evenodd d="M67.122 11.998a42.16 42.16 0 0 0-34.244 0l-3.397-7.644a50.52 50.52 0 0 1 41.038 0zm-55.124 20.88a42.16 42.16 0 0 0 0 34.244l-7.644 3.397a50.52 50.52 0 0 1 0-41.038zm76.004 34.244a42.16 42.16 0 0 0 0-34.244l7.644-3.397a50.52 50.52 0 0 1 0 41.038zm-55.124 20.88a42.16 42.16 0 0 0 34.244 0l3.397 7.644a50.52 50.52 0 0 1-41.038 0z"clip-rule=evenodd opacity=.75></path><circle cx=50 cy=50 r=4 fill=#fff>');
2665
+ const _i = (e = {}) => (() => {
2666
+ var t = fi();
2173
2667
  return R(t, e, !0, !0), t;
2174
2668
  })();
2175
- var Yn = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 101 100"><path fill=#fff fill-rule=evenodd d="M50.301 7.692C26.935 7.692 7.994 26.634 7.994 50S26.935 92.308 50.3 92.308 92.61 73.366 92.61 50 73.667 7.692 50.301 7.692M.301 50c0-27.614 22.386-50 50-50s50 22.386 50 50-22.386 50-50 50-50-22.386-50-50"clip-rule=evenodd opacity=.3></path><circle cx=50.3 cy=50 r=4 fill=#fff></circle><path fill=#fff fill-rule=evenodd d="M29.148 13.36C8.912 25.043 1.977 50.918 13.662 71.154L7 75C-6.807 51.085 1.387 20.506 25.301 6.699z"clip-rule=evenodd>');
2176
- const Xn = (e = {}) => (() => {
2177
- var t = Yn();
2669
+ var vi = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 101 100"><path fill=#fff fill-rule=evenodd d="M50.301 7.692C26.935 7.692 7.994 26.634 7.994 50S26.935 92.308 50.3 92.308 92.61 73.366 92.61 50 73.667 7.692 50.301 7.692M.301 50c0-27.614 22.386-50 50-50s50 22.386 50 50-22.386 50-50 50-50-22.386-50-50"clip-rule=evenodd opacity=.3></path><circle cx=50.3 cy=50 r=4 fill=#fff></circle><path fill=#fff fill-rule=evenodd d="M29.148 13.36C8.912 25.043 1.977 50.918 13.662 71.154L7 75C-6.807 51.085 1.387 20.506 25.301 6.699z"clip-rule=evenodd>');
2670
+ const yi = (e = {}) => (() => {
2671
+ var t = vi();
2178
2672
  return R(t, e, !0, !0), t;
2179
2673
  })();
2180
- var Zn = /* @__PURE__ */ v('<div class="absolute left-0 top-0 grid size-full select-none place-items-center contain-strict overflow-hidden"><div><div class=size-24><div class="relative size-full grid place-items-center"aria-hidden>'), Qe = /* @__PURE__ */ v('<div class="absolute perspective-300px bottom-0">'), Jn = /* @__PURE__ */ v("<div class=relative>"), e0 = /* @__PURE__ */ v("<div role=alert>"), t0 = /* @__PURE__ */ v('<div class="absolute left-0 mt-3 w-full flex justify-center p-inline-4">');
2181
- const n0 = (e) => {
2182
- const [t, n] = Q(!1);
2183
- let r;
2184
- q(() => {
2185
- J1.includes(e.uiState.key) ? (n(!0), r = window.setTimeout(() => n(!1), l1.DOCUMENT_CAPTURED.minDuration)) : (n(!1), clearTimeout(r)), o1(() => clearTimeout(r));
2674
+ var Si = /* @__PURE__ */ v('<div class="absolute left-0 top-0 grid size-full select-none place-items-center contain-strict overflow-hidden"><div><div class=size-24><div class="relative size-full grid place-items-center"aria-hidden>'), st = /* @__PURE__ */ v('<div class="absolute perspective-300px bottom-0">'), wi = /* @__PURE__ */ v("<div class=relative>"), bi = /* @__PURE__ */ v("<div role=alert>"), Ei = /* @__PURE__ */ v('<div class="absolute left-0 mt-3 w-full flex justify-center p-inline-4">');
2675
+ const Ti = (e) => {
2676
+ const [t, n] = Y(!1);
2677
+ let i;
2678
+ G(() => {
2679
+ ye.includes(e.uiState.key) ? (n(!0), i = window.setTimeout(() => n(!1), ce.DOCUMENT_CAPTURED.minDuration)) : (n(!1), window.clearTimeout(i)), oe(() => clearTimeout(i));
2186
2680
  });
2187
- const i = () => e.uiState.key === "MOVE_TOP" || e.uiState.key === "MOVE_LEFT" || e.uiState.key === "MOVE_RIGHT", a = () => {
2681
+ const r = () => e.uiState.key === "MOVE_TOP" || e.uiState.key === "MOVE_LEFT" || e.uiState.key === "MOVE_RIGHT", a = () => {
2188
2682
  switch (e.uiState.key) {
2189
2683
  case "MOVE_TOP":
2190
2684
  return "top";
@@ -2197,74 +2691,74 @@ const n0 = (e) => {
2197
2691
  }
2198
2692
  };
2199
2693
  return (() => {
2200
- var s = Zn(), c = s.firstChild, f = c.firstChild, l = f.firstChild;
2201
- return S(l, o(Ae, {
2694
+ var c = Si(), u = c.firstChild, h = u.firstChild, g = h.firstChild;
2695
+ return w(g, o(F1, {
2202
2696
  get children() {
2203
- return [o(W, {
2697
+ return [o(q, {
2204
2698
  get when() {
2205
2699
  return e.uiState.reticleType === "searching";
2206
2700
  },
2207
2701
  get children() {
2208
- return o(o0, {});
2702
+ return o(Ai, {});
2209
2703
  }
2210
- }), o(W, {
2704
+ }), o(q, {
2211
2705
  get when() {
2212
2706
  return e.uiState.reticleType === "processing";
2213
2707
  },
2214
2708
  get children() {
2215
- return o(c0, {});
2709
+ return o(ki, {});
2216
2710
  }
2217
- }), o(W, {
2711
+ }), o(q, {
2218
2712
  get when() {
2219
2713
  return e.uiState.reticleType === "error";
2220
2714
  },
2221
2715
  get children() {
2222
- return o(s0, {});
2716
+ return o(Di, {});
2223
2717
  }
2224
- }), o(W, {
2718
+ }), o(q, {
2225
2719
  get when() {
2226
2720
  return e.uiState.reticleType === "done" || t();
2227
2721
  },
2228
2722
  get children() {
2229
- return o(r0, {});
2723
+ return o(Ci, {});
2230
2724
  }
2231
- }), o(W, {
2725
+ }), o(q, {
2232
2726
  get when() {
2233
- return b1(() => e.uiState.reticleType === "flip")() && !t();
2727
+ return Ve(() => e.uiState.reticleType === "flip")() && !t();
2234
2728
  },
2235
2729
  get children() {
2236
- return o(i0, {});
2730
+ return o(Mi, {});
2237
2731
  }
2238
- }), o(W, {
2732
+ }), o(q, {
2239
2733
  get when() {
2240
- return b1(() => !!i())() && !t();
2734
+ return Ve(() => !!r())() && !t();
2241
2735
  },
2242
2736
  get children() {
2243
- return o(a0, {
2737
+ return o(Oi, {
2244
2738
  get direction() {
2245
2739
  return a();
2246
2740
  },
2247
2741
  get duration() {
2248
- return l1[e.uiState.key].minDuration;
2742
+ return ce[e.uiState.key].minDuration;
2249
2743
  }
2250
2744
  });
2251
2745
  }
2252
2746
  })];
2253
2747
  }
2254
- })), S(c, o(U, {
2748
+ })), w(u, o(L, {
2255
2749
  get when() {
2256
2750
  return !t();
2257
2751
  },
2258
2752
  get children() {
2259
- return o(l0, {
2753
+ return o(Ri, {
2260
2754
  get uiState() {
2261
2755
  return e.uiState;
2262
2756
  }
2263
2757
  });
2264
2758
  }
2265
- }), null), s;
2759
+ }), null), c;
2266
2760
  })();
2267
- }, r0 = () => o(j, {
2761
+ }, Ci = () => o(j, {
2268
2762
  initial: {
2269
2763
  opacity: 0,
2270
2764
  scale: 0.5
@@ -2282,15 +2776,16 @@ const n0 = (e) => {
2282
2776
  scale: 5
2283
2777
  },
2284
2778
  get children() {
2285
- return o(Gn, {
2286
- class: "[&>path]:fill-[initial] size-24 drop-shadow-[0_0_15px_rgba(0,0,0,0.1)]"
2779
+ return o(oi, {
2780
+ class: `[&>path]:fill-[initial] size-24
2781
+ drop-shadow-[0_0_15px_rgba(0,0,0,0.1)]`
2287
2782
  });
2288
2783
  }
2289
- }), i0 = () => {
2784
+ }), Mi = () => {
2290
2785
  const e = "backface-hidden drop-shadow-[0_0_15px_rgba(0,0,0,0.1)]";
2291
2786
  return (() => {
2292
- var t = Qe();
2293
- return S(t, o(j, {
2787
+ var t = st();
2788
+ return w(t, o(j, {
2294
2789
  class: "relative preserve-3d w-24",
2295
2790
  initial: {
2296
2791
  opacity: 0
@@ -2301,7 +2796,7 @@ const n0 = (e) => {
2301
2796
  rotateY: ["180deg"],
2302
2797
  transition: {
2303
2798
  rotateY: {
2304
- duration: l1.FLIP_CARD.minDuration / 1e3
2799
+ duration: ce.FLIP_CARD.minDuration / 1e3
2305
2800
  },
2306
2801
  opacity: {
2307
2802
  duration: 0.5
@@ -2313,17 +2808,17 @@ const n0 = (e) => {
2313
2808
  opacity: 0
2314
2809
  },
2315
2810
  get children() {
2316
- return [o(Fn, {
2811
+ return [o(ai, {
2317
2812
  class: e
2318
- }), o(Nn, {
2813
+ }), o(ii, {
2319
2814
  get class() {
2320
- return qe(e, "absolute top-0 left-0 w-full transform rotate-y-180");
2815
+ return at(e, "absolute top-0 left-0 w-full transform rotate-y-180");
2321
2816
  }
2322
2817
  })];
2323
2818
  }
2324
2819
  })), t;
2325
2820
  })();
2326
- }, a0 = (e) => {
2821
+ }, Oi = (e) => {
2327
2822
  const t = () => {
2328
2823
  switch (e.direction) {
2329
2824
  case "top":
@@ -2335,8 +2830,8 @@ const n0 = (e) => {
2335
2830
  }
2336
2831
  };
2337
2832
  return (() => {
2338
- var n = Qe();
2339
- return S(n, o(j, {
2833
+ var n = st();
2834
+ return w(n, o(j, {
2340
2835
  class: "relative",
2341
2836
  initial: {
2342
2837
  opacity: 0
@@ -2351,8 +2846,8 @@ const n0 = (e) => {
2351
2846
  duration: 0.3
2352
2847
  },
2353
2848
  get children() {
2354
- var r = Jn();
2355
- return S(r, o(j, {
2849
+ var i = wi();
2850
+ return w(i, o(j, {
2356
2851
  class: "w-24",
2357
2852
  initial: {
2358
2853
  opacity: 0.3
@@ -2367,11 +2862,12 @@ const n0 = (e) => {
2367
2862
  };
2368
2863
  },
2369
2864
  get children() {
2370
- return o(Wn, {
2371
- class: "[&>path]:fill-[currentColor] drop-shadow-[0_0_15px_rgba(0,0,0,0.1)]"
2865
+ return o(mi, {
2866
+ class: `[&>path]:fill-[currentColor]
2867
+ drop-shadow-[0_0_15px_rgba(0,0,0,0.1)]`
2372
2868
  });
2373
2869
  }
2374
- }), null), S(r, o(j, {
2870
+ }), null), w(i, o(j, {
2375
2871
  class: "w-24",
2376
2872
  initial: {
2377
2873
  opacity: 1
@@ -2386,11 +2882,12 @@ const n0 = (e) => {
2386
2882
  };
2387
2883
  },
2388
2884
  get children() {
2389
- return o(Ln, {
2390
- class: "[&>path]:fill-[currentColor] drop-shadow-[0_0_15px_rgba(0,0,0,0.1)]"
2885
+ return o(di, {
2886
+ class: `[&>path]:fill-[currentColor]
2887
+ drop-shadow-[0_0_15px_rgba(0,0,0,0.1)]`
2391
2888
  });
2392
2889
  }
2393
- }), null), S(r, o(j, {
2890
+ }), null), w(i, o(j, {
2394
2891
  class: "absolute bottom-0 w-full",
2395
2892
  initial: {
2396
2893
  y: "0"
@@ -2405,18 +2902,18 @@ const n0 = (e) => {
2405
2902
  };
2406
2903
  },
2407
2904
  get children() {
2408
- return o(jn, {
2905
+ return o(gi, {
2409
2906
  class: "scale-130"
2410
2907
  });
2411
2908
  }
2412
- }), null), K((i) => (i = `rotate(${t()})`) != null ? r.style.setProperty("transform", i) : r.style.removeProperty("transform")), r;
2909
+ }), null), Q((r) => (r = `rotate(${t()})`) != null ? i.style.setProperty("transform", r) : i.style.removeProperty("transform")), i;
2413
2910
  }
2414
2911
  })), n;
2415
2912
  })();
2416
- }, ne = (e) => o(j.div, {
2913
+ }, o1 = (e) => o(j.div, {
2417
2914
  get class() {
2418
- return qe(`absolute bottom-0 grid size-full place-items-center rounded-full
2419
- backdrop-blur-xl bg-opacity-30`, e.type === "error" ? "bg-error-500 " : "bg-dark-100");
2915
+ return at(`absolute bottom-0 grid size-full place-items-center rounded-full
2916
+ backdrop-blur-xl`, e.type === "error" ? "bg-error-400/60 " : "bg-gray-550/50");
2420
2917
  },
2421
2918
  initial: {
2422
2919
  opacity: 0
@@ -2433,7 +2930,7 @@ const n0 = (e) => {
2433
2930
  get children() {
2434
2931
  return e.children;
2435
2932
  }
2436
- }), o0 = () => o(ne, {
2933
+ }), Ai = () => o(o1, {
2437
2934
  type: "searching",
2438
2935
  get children() {
2439
2936
  return o(j, {
@@ -2450,20 +2947,20 @@ const n0 = (e) => {
2450
2947
  }
2451
2948
  },
2452
2949
  get children() {
2453
- return o(Qn, {
2950
+ return o(_i, {
2454
2951
  class: "size-12"
2455
2952
  });
2456
2953
  }
2457
2954
  });
2458
2955
  }
2459
- }), s0 = () => o(ne, {
2956
+ }), Di = () => o(o1, {
2460
2957
  type: "error",
2461
2958
  get children() {
2462
- return o(Bn, {
2959
+ return o(li, {
2463
2960
  class: "size-12"
2464
2961
  });
2465
2962
  }
2466
- }), c0 = () => o(ne, {
2963
+ }), ki = () => o(o1, {
2467
2964
  type: "processing",
2468
2965
  get children() {
2469
2966
  return o(j, {
@@ -2479,29 +2976,29 @@ const n0 = (e) => {
2479
2976
  }
2480
2977
  },
2481
2978
  get children() {
2482
- return o(Xn, {
2979
+ return o(yi, {
2483
2980
  class: "size-12"
2484
2981
  });
2485
2982
  }
2486
2983
  });
2487
2984
  }
2488
- }), l0 = (e) => {
2985
+ }), Ri = (e) => {
2489
2986
  const {
2490
2987
  t
2491
- } = f1(), n = () => {
2492
- const r = e.uiState.key;
2493
- if (r in Te)
2494
- return Te[r];
2988
+ } = me(), n = () => {
2989
+ const i = e.uiState.key;
2990
+ if (i in D1)
2991
+ return D1[i];
2495
2992
  };
2496
2993
  return (() => {
2497
- var r = t0();
2498
- return S(r, o(kn, {
2994
+ var i = Ei();
2995
+ return w(i, o(Zn, {
2499
2996
  exitBeforeEnter: !0,
2500
2997
  get children() {
2501
- return o(Dt, {
2998
+ return o(Xt, {
2502
2999
  on: () => e.uiState.key,
2503
3000
  get children() {
2504
- return o(U, {
3001
+ return o(L, {
2505
3002
  get when() {
2506
3003
  return n();
2507
3004
  },
@@ -2525,12 +3022,13 @@ const n0 = (e) => {
2525
3022
  opacity: 0,
2526
3023
  transform: "translateY(-2rem)"
2527
3024
  },
2528
- class: `max-w-45 text-base gap-1 rounded-2 bg-opacity-30 bg-dark-100 px-2 py-3
3025
+ class: `max-w-45 text-base gap-1 rounded-2 bg-gray-550/90 px-2 py-3
2529
3026
  text-center text-balance text-white font-bold
2530
- text-shadow-[0_1px_4px_rgba(0,0,0,0.1)] backdrop-blur-xl will-change-transform`,
3027
+ text-shadow-[0_1px_4px_rgba(0,0,0,0.1)] backdrop-blur-xl
3028
+ will-change-transform`,
2531
3029
  get children() {
2532
- var i = e0();
2533
- return S(i, () => t[n()]), i;
3030
+ var r = bi();
3031
+ return w(r, () => t[n()]), r;
2534
3032
  }
2535
3033
  });
2536
3034
  }
@@ -2538,10 +3036,44 @@ const n0 = (e) => {
2538
3036
  }
2539
3037
  });
2540
3038
  }
2541
- })), r;
3039
+ })), i;
2542
3040
  })();
2543
- }, Ye = R1(), u0 = (e) => {
2544
- const [t, n] = De({});
3041
+ };
3042
+ var Pi = /* @__PURE__ */ v("<span>");
3043
+ const ot = (e) => {
3044
+ const [t, n] = Y(), [i, r] = Y();
3045
+ return G1(() => {
3046
+ const a = i();
3047
+ a && n(a.getRootNode());
3048
+ }), o(L, {
3049
+ get when() {
3050
+ return t();
3051
+ },
3052
+ get fallback() {
3053
+ return (() => {
3054
+ var a = Pi();
3055
+ return i1(r, a), a;
3056
+ })();
3057
+ },
3058
+ children: (a) => o(bt, {
3059
+ value: () => a(),
3060
+ get children() {
3061
+ return e.children(a());
3062
+ }
3063
+ })
3064
+ });
3065
+ };
3066
+ var Ii = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 250 35"><g fill=#0062F2 clip-path=url(#a)><path fill-rule=evenodd d="m30.827 6.401 4.006 9.975a3.44 3.44 0 0 1-.03 2.648l-4.24 9.882a3.46 3.46 0 0 1-1.896 1.848l-10.003 3.998a3.47 3.47 0 0 1-2.651-.03L6.107 30.49a3.46 3.46 0 0 1-1.852-1.892L.249 18.621a3.45 3.45 0 0 1 .03-2.645l4.24-9.883a3.46 3.46 0 0 1 1.896-1.848L16.417.248a3.47 3.47 0 0 1 2.652.03l9.905 4.23a3.46 3.46 0 0 1 1.853 1.893m-5.763 17.945c.771-.396 1.612-.827 2.534-1.331 1.52-.826 2.624-2.255 2.905-3.561.308-1.32-.213-2.516-1.256-3.172-2.383-1.523-3.362-3.42-4.842-6.291-.397-.769-.83-1.607-1.334-2.526-.824-1.517-2.256-2.621-3.565-2.898-1.323-.308-2.522.211-3.18 1.253-1.526 2.376-3.428 3.352-6.304 4.829-.77.395-1.611.827-2.534 1.33-1.52.828-2.626 2.256-2.905 3.563-.308 1.318.212 2.516 1.256 3.171 2.383 1.523 3.362 3.42 4.842 6.291.397.769.829 1.607 1.334 2.526.824 1.517 2.256 2.621 3.565 2.898 1.323.308 2.522-.21 3.18-1.252 1.526-2.378 3.428-3.354 6.304-4.83"clip-rule=evenodd></path><path d="M62.466 23.715 55.704 6.373H51.2v22.57h3.073V11.192l7.007 17.846h2.242l7.07-18.005v17.91h3.168V6.373h-4.534zM83.133 6.373h-3.325v22.57h3.324zM127.593 17.637a7.42 7.42 0 0 0 1.38-4.363c0-1.847-.795-3.57-2.24-4.853-1.49-1.32-3.561-2.045-5.84-2.045h-9.178v22.57h3.325v-8.072h5.385l4.698 8.069h3.946l-5.027-8.624a7.66 7.66 0 0 0 3.551-2.682m-2.008-4.331a4.5 4.5 0 0 1-.323 1.729 4.4 4.4 0 0 1-.961 1.464c-.846.845-2.034 1.31-3.344 1.31h-5.921V9.471h5.921c2.638 0 4.628 1.648 4.628 3.835M143.07 5.991c-3.121 0-5.934 1.224-7.934 3.445-1.924 2.142-2.984 5.062-2.984 8.221 0 3.16 1.06 6.095 2.984 8.234 1.993 2.214 4.81 3.43 7.934 3.43 3.137 0 5.965-1.22 7.961-3.43 1.927-2.136 2.988-5.06 2.988-8.234 0-3.173-1.061-6.08-2.987-8.22-2.001-2.225-4.828-3.446-7.962-3.446m0 20.17a7 7 0 0 1-2.969-.646 7.1 7.1 0 0 1-2.433-1.846c-1.372-1.58-2.127-3.716-2.127-6.012s.755-4.415 2.127-6c1.397-1.615 3.315-2.504 5.402-2.504s4.013.889 5.418 2.505c1.381 1.59 2.143 3.718 2.143 6 0 2.28-.761 4.428-2.143 6.011a7.2 7.2 0 0 1-2.442 1.845c-.935.43-1.95.651-2.976.648M172.244 17.103c1.939-1.087 3.091-2.995 3.091-5.132 0-3.296-2.885-5.598-7.006-5.598h-9.75v22.57h10.22c4.06 0 7.006-2.743 7.006-6.521.003-2.267-1.358-4.29-3.561-5.319m-3.348 8.742h-6.994v-7.003h6.518c2.39 0 3.998 1.3 3.998 3.232.002 2.29-1.382 3.77-3.522 3.77m-.852-10.04h-6.142V9.472h6.518c2.143 0 3.524 1.13 3.524 2.882.003 1.72-1.204 3.453-3.9 3.453zM183.92 6.373h-3.326v22.57h14.551V25.78H183.92zM202.18 6.373h-3.326v22.57h3.326zM223.067 23.071 211.48 6.443l-.05-.07h-3.214v22.57h3.136V11.418l12.205 17.525h2.646V6.373h-3.136zM241.061 16.303l8.702-9.93h-4.068L235.56 17.918V6.373h-3.326v22.57h3.326V22.39l3.226-3.641 7.182 10.193H250zM104.791 21.307c-1.483 3.425-3.386 4.887-6.377 4.887-2.043 0-3.915-.886-5.27-2.494-1.334-1.584-2.07-3.73-2.07-6.043 0-2.295.72-4.427 2.023-6.003 1.336-1.613 3.19-2.501 5.224-2.501 2.754 0 4.768 1.393 6.158 4.258l.059.122h3.479l-.016-.098c-.083-.476-.254-.92-.42-1.357l-.053-.141a9.3 9.3 0 0 0-3.561-4.367c-1.603-1.048-3.535-1.579-5.741-1.579-3.017 0-5.739 1.224-7.666 3.448-1.853 2.14-2.874 5.059-2.874 8.218 0 3.202 1.026 6.134 2.89 8.255 1.963 2.233 4.65 3.412 7.775 3.412 2.189 0 4.113-.575 5.718-1.71q.406-.286.777-.615c1.628-1.437 2.861-3.481 3.297-5.468l.011-.052q.023-.103.039-.206l.017-.098h-3.366z"></path></g><defs><clipPath id=a><path fill=#fff d="M0 0h250v35H0z">');
3067
+ const Ni = (e = {}) => (() => {
3068
+ var t = Ii();
3069
+ return R(t, e, !0, !0), t;
3070
+ })();
3071
+ var xi = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 95 28"><path fill=#fff d="M25.088 7.572c1.314 0 2.178-.891 2.178-2.16 0-1.287-.855-2.151-2.178-2.151h-2.601V9.84h1.152V7.572zm-.225-3.285c.765 0 1.197.396 1.197 1.116s-.423 1.143-1.215 1.143h-1.206v-2.26zM27.772 7.608c0 1.386.999 2.34 2.376 2.34s2.376-.954 2.376-2.34-.999-2.34-2.376-2.34-2.376.954-2.376 2.34m1.098 0c0-.81.522-1.36 1.278-1.36s1.278.55 1.278 1.36-.522 1.359-1.278 1.359-1.278-.55-1.278-1.36M34.336 9.84h1.07l.613-1.908c.225-.73.306-1.044.35-1.251.037.225.136.648.316 1.233l.612 1.926h1.026l1.539-4.446H38.7l-.594 1.908c-.081.279-.225.81-.297 1.143a16 16 0 0 0-.288-1.143l-.594-1.908h-1.116L35.2 7.302c-.144.44-.225.72-.306 1.152a15 15 0 0 0-.27-1.152l-.585-1.908h-1.143zM42.476 9.957c1.16 0 1.97-.585 2.16-1.557h-1.017c-.126.423-.522.657-1.125.657-.73 0-1.143-.396-1.224-1.18l3.348-.008v-.333c0-1.386-.846-2.277-2.178-2.277-1.305 0-2.214.963-2.214 2.358 0 1.377.927 2.34 2.25 2.34m-.027-3.798c.657 0 1.08.405 1.08 1.017h-2.232c.108-.666.504-1.017 1.152-1.017M48.467 5.376a2 2 0 0 0-.486-.063c-.595 0-1.017.297-1.206.738l-.063-.648h-1.036V9.84h1.099V7.68c0-.864.495-1.287 1.287-1.287h.405zM51.23 9.957c1.16 0 1.97-.585 2.16-1.557h-1.018c-.126.423-.522.657-1.125.657-.729 0-1.143-.396-1.224-1.18l3.348-.008v-.333c0-1.386-.846-2.277-2.178-2.277-1.305 0-2.214.963-2.214 2.358 0 1.377.927 2.34 2.25 2.34m-.028-3.798c.657 0 1.08.405 1.08 1.017H50.05c.108-.666.504-1.017 1.152-1.017M56.257 9.957c.675 0 1.251-.297 1.521-.81l.072.693h1.008V3.144h-1.089V5.96c-.279-.441-.828-.702-1.449-.702-1.341 0-2.151.99-2.151 2.376 0 1.377.801 2.322 2.088 2.322m.243-1.008c-.765 0-1.233-.558-1.233-1.35s.468-1.36 1.233-1.36 1.26.559 1.26 1.36c0 .8-.495 1.35-1.26 1.35M63.805 9.84l.072-.693c.261.513.828.81 1.494.81 1.278 0 2.115-.945 2.115-2.313 0-1.404-.774-2.394-2.043-2.394-.675 0-1.269.297-1.557.792V3.144h-1.098V9.84zm.09-2.241c0-.801.495-1.36 1.251-1.36.774 0 1.233.568 1.233 1.36s-.459 1.35-1.233 1.35c-.756 0-1.25-.55-1.25-1.35M67.986 11.9c.243.064.513.1.82.1.728 0 1.196-.342 1.53-1.17l2.177-5.436H71.38l-1.206 3.24-1.143-3.24h-1.16l1.79 4.635-.126.333c-.189.522-.459.62-.89.62h-.658z"></path><g fill=#fff clip-path=url(#a)><path d="m9.816 23.595-2.89-7.432H5v9.673h1.314v-7.608l2.996 7.649h.958l3.023-7.717v7.676h1.355v-9.673h-1.939zM18.653 16.163H17.23v9.673h1.422zM37.663 20.991a3.2 3.2 0 0 0 .59-1.87c0-.791-.34-1.53-.958-2.08-.637-.565-1.523-.876-2.497-.876h-3.924v9.673h1.421v-3.46h2.303l2.009 3.459h1.687l-2.15-3.696a3.3 3.3 0 0 0 1.519-1.15m-.86-1.856a1.93 1.93 0 0 1-.548 1.369c-.362.362-.87.561-1.43.561h-2.532v-3.573h2.532c1.128 0 1.979.706 1.979 1.643M44.28 16c-1.334 0-2.537.525-3.392 1.477-.822.918-1.276 2.169-1.276 3.523s.453 2.612 1.276 3.529c.852.948 2.057 1.47 3.392 1.47 1.341 0 2.55-.523 3.404-1.47.824-.916 1.278-2.17 1.278-3.53s-.454-2.605-1.278-3.522C46.83 16.523 45.62 16 44.28 16m0 8.645a3 3 0 0 1-1.27-.278 3.05 3.05 0 0 1-1.04-.79c-.586-.678-.909-1.593-.909-2.577s.323-1.892.91-2.572a3.02 3.02 0 0 1 2.31-1.073c.892 0 1.715.381 2.316 1.074.59.68.916 1.593.916 2.57 0 .979-.325 1.899-.916 2.578a3.1 3.1 0 0 1-1.044.79c-.4.184-.834.28-1.273.278M56.754 20.762c.83-.466 1.322-1.284 1.322-2.2 0-1.412-1.233-2.399-2.995-2.399h-4.17v9.673h4.37c1.736 0 2.996-1.175 2.996-2.795.001-.97-.581-1.838-1.523-2.279m-1.431 3.746h-2.99v-3h2.786c1.022 0 1.71.556 1.71 1.384 0 .982-.591 1.616-1.506 1.616m-.364-4.302h-2.627V17.49h2.787c.916 0 1.507.485 1.507 1.236.001.736-.515 1.48-1.667 1.48zM61.746 16.163h-1.422v9.673h6.222v-1.355h-4.8zM69.554 16.163h-1.422v9.673h1.422zM78.484 23.32l-4.954-7.127-.021-.03h-1.375v9.673h1.341v-7.51l5.219 7.51h1.131v-9.673h-1.34zM86.178 20.419l3.72-4.256H88.16l-4.333 4.948v-4.948h-1.422v9.673h1.422v-2.808l1.38-1.56 3.07 4.368H90zM27.913 22.564c-.634 1.468-1.448 2.094-2.726 2.094-.874 0-1.674-.38-2.253-1.069-.571-.678-.885-1.598-.885-2.59 0-.983.307-1.896.864-2.572.571-.691 1.364-1.072 2.234-1.072 1.177 0 2.039.597 2.633 1.825l.025.052h1.488l-.007-.042c-.036-.204-.109-.394-.18-.581l-.023-.06a3.98 3.98 0 0 0-1.522-1.872c-.685-.45-1.511-.677-2.455-.677-1.29 0-2.453.525-3.277 1.478-.793.917-1.23 2.168-1.23 3.522 0 1.372.44 2.628 1.237 3.538.839.956 1.988 1.462 3.324 1.462.936 0 1.758-.247 2.445-.733q.173-.123.332-.264c.696-.616 1.223-1.491 1.41-2.343l.004-.022q.01-.045.017-.089l.007-.041h-1.439z"></path></g><defs><clipPath id=a><path fill=#fff d="M5 16h85v10H5z">');
3072
+ const Fi = (e = {}) => (() => {
3073
+ var t = xi();
3074
+ return R(t, e, !0, !0), t;
3075
+ })(), ct = Ie(), Gi = (e) => {
3076
+ const [t, n] = U1({});
2545
3077
  n({
2546
3078
  /* eslint-disable solid/reactivity */
2547
3079
  blinkIdUxManager: e.blinkIdUxManager,
@@ -2555,161 +3087,147 @@ const n0 = (e) => {
2555
3087
  dismountFeedbackUi: e.dismountFeedbackUi
2556
3088
  /* eslint-enable solid/reactivity */
2557
3089
  });
2558
- const r = {
3090
+ const i = {
2559
3091
  store: t,
2560
3092
  updateStore: n
2561
3093
  };
2562
- return o1(() => {
3094
+ return oe(() => {
2563
3095
  console.debug("BlinkIdUiStoreProvider cleanup");
2564
- }), o(Ye.Provider, {
2565
- value: r,
3096
+ }), o(ct.Provider, {
3097
+ value: i,
2566
3098
  get children() {
2567
3099
  return e.children;
2568
3100
  }
2569
3101
  });
2570
3102
  };
2571
- function S1() {
2572
- const e = C1(Ye);
3103
+ function Te() {
3104
+ const e = Ae(ct);
2573
3105
  if (!e)
2574
3106
  throw new Error("BlinkIdUiStoreContext.Provider not in scope");
2575
3107
  return e;
2576
3108
  }
2577
- var h0 = /* @__PURE__ */ v("<span>");
2578
- const Xe = (e) => {
2579
- const [t, n] = Q(), [r, i] = Q();
2580
- return ot(() => {
2581
- const a = r();
2582
- a && n(a.getRootNode());
2583
- }), o(U, {
2584
- get when() {
2585
- return t();
2586
- },
2587
- get fallback() {
2588
- return (() => {
2589
- var a = h0();
2590
- return k1(i, a), a;
2591
- })();
2592
- },
2593
- children: (a) => o(lt, {
2594
- value: () => a(),
2595
- get children() {
2596
- return e.children(a());
2597
- }
2598
- })
2599
- });
2600
- }, d0 = "_dialogPositioner_worsp_1", f0 = "_dialogBackdrop_worsp_5", g0 = "_dialogContent_worsp_9", m0 = "_large_worsp_13", p0 = "_compact_worsp_16", _0 = "_dialogTitle_worsp_30", v0 = "_contentOut_worsp_34", y0 = "_closeButton_worsp_38", w0 = "_closeButtonInner_worsp_44", S0 = "_primaryActionButton_worsp_49", E0 = "_secondaryActionButton_worsp_53", T0 = "_actions_worsp_57", b0 = "_alertTitle_worsp_64", C0 = "_alertText_worsp_68", x = {
2601
- dialogPositioner: d0,
2602
- dialogBackdrop: f0,
2603
- dialogContent: g0,
2604
- large: m0,
2605
- compact: p0,
2606
- dialogTitle: _0,
2607
- contentOut: v0,
2608
- closeButton: y0,
2609
- closeButtonInner: w0,
2610
- primaryActionButton: S0,
2611
- secondaryActionButton: E0,
2612
- actions: T0,
2613
- alertTitle: b0,
2614
- alertText: C0
3109
+ var Ui = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 14 14"><path fill=#000 fill-rule=evenodd d="M13.707 1.707A1 1 0 0 0 12.293.293L7 5.586 1.707.293A1 1 0 0 0 .293 1.707L5.586 7 .293 12.293a1 1 0 1 0 1.414 1.414L7 8.414l5.293 5.293a1 1 0 0 0 1.414-1.414L8.414 7z"clip-rule=evenodd>');
3110
+ const Li = (e = {}) => (() => {
3111
+ var t = Ui();
3112
+ return R(t, e, !0, !0), t;
3113
+ })(), Hi = "_dialogPositioner_15i6c_1", Bi = "_dialogBackdrop_15i6c_10", $i = "_dialogContent_15i6c_14", zi = "_large_15i6c_18", Vi = "_compact_15i6c_21", Wi = "_dialogTitle_15i6c_45", Ki = "_contentOut_15i6c_49", ji = "_closeButton_15i6c_53", qi = "_closeButtonInner_15i6c_59", Qi = "_primaryActionButton_15i6c_63", Yi = "_secondaryActionButton_15i6c_67", Xi = "_actions_15i6c_71", Zi = "_alertTitle_15i6c_79", Ji = "_alertText_15i6c_83", I = {
3114
+ dialogPositioner: Hi,
3115
+ dialogBackdrop: Bi,
3116
+ dialogContent: $i,
3117
+ large: zi,
3118
+ compact: Vi,
3119
+ dialogTitle: Wi,
3120
+ contentOut: Ki,
3121
+ closeButton: ji,
3122
+ closeButtonInner: qi,
3123
+ primaryActionButton: Qi,
3124
+ secondaryActionButton: Yi,
3125
+ actions: Xi,
3126
+ alertTitle: Zi,
3127
+ alertText: Ji
2615
3128
  };
2616
- var M0 = /* @__PURE__ */ v("<span>&times;"), O0 = /* @__PURE__ */ v("<div>"), A0 = /* @__PURE__ */ v("<p>"), D0 = /* @__PURE__ */ v("<span>"), k0 = /* @__PURE__ */ v("<div><button></button><button>");
2617
- const re = (e) => {
3129
+ var er = /* @__PURE__ */ v("<div>"), tr = /* @__PURE__ */ v("<p>"), nr = /* @__PURE__ */ v("<span>"), ir = /* @__PURE__ */ v("<div><button></button><button>");
3130
+ const c1 = (e) => {
2618
3131
  const t = () => {
2619
3132
  switch (e.modalStyle) {
2620
3133
  case "compact":
2621
- return x.compact;
3134
+ return I.compact;
2622
3135
  case "large":
2623
- return x.compact;
3136
+ return I.compact;
2624
3137
  case "default":
2625
3138
  default:
2626
3139
  return;
2627
3140
  }
2628
3141
  };
2629
- return o(Xe, {
2630
- children: () => o(a1.Root, X1({
2631
- onFocusOutside: (n) => n.preventDefault(),
2632
- onInteractOutside: (n) => n.preventDefault(),
3142
+ return o(ot, {
3143
+ children: (n) => o(se.Root, n1({
3144
+ onFocusOutside: (i) => i.preventDefault(),
3145
+ onInteractOutside: (i) => i.preventDefault(),
3146
+ initialFocusEl: () => n.querySelector('[role="dialog"]'),
2633
3147
  restoreFocus: !0,
2634
3148
  unmountOnExit: !0,
2635
3149
  lazyMount: !0
2636
3150
  }, e, {
2637
3151
  get children() {
2638
- return o(U, {
3152
+ return o(L, {
2639
3153
  get when() {
2640
3154
  return e.open;
2641
3155
  },
2642
3156
  get children() {
2643
- return o(et, {
3157
+ return o(pt, {
2644
3158
  get mount() {
2645
3159
  return e.mountTarget;
2646
3160
  },
2647
3161
  get children() {
2648
- return o(a1.Positioner, {
3162
+ return o(se.Positioner, {
2649
3163
  get class() {
2650
- return x.dialogPositioner;
3164
+ return I.dialogPositioner;
2651
3165
  },
2652
3166
  get children() {
2653
- return [o(a1.Backdrop, {
3167
+ return [o(se.Backdrop, {
2654
3168
  get class() {
2655
- return x.dialogBackdrop;
3169
+ return I.dialogBackdrop;
2656
3170
  }
2657
- }), o(a1.Content, {
3171
+ }), o(se.Content, {
2658
3172
  get class() {
2659
- return `${x.dialogContent} ${t()}`;
3173
+ return `${I.dialogContent} ${t()}`;
2660
3174
  },
2661
3175
  get children() {
2662
- return [o(U, {
3176
+ return [o(L, {
2663
3177
  get when() {
2664
3178
  return e.showCloseButton;
2665
3179
  },
2666
3180
  get children() {
2667
- return o(a1.CloseTrigger, {
3181
+ return o(se.CloseTrigger, {
3182
+ "aria-label": "Close",
2668
3183
  get class() {
2669
- return x.closeButton;
3184
+ return I.closeButton;
2670
3185
  },
2671
3186
  get onClick() {
2672
3187
  return e.onCloseClicked;
2673
3188
  },
2674
3189
  get children() {
2675
- var n = M0();
2676
- return K(() => k(n, x.closeButtonInner)), n;
3190
+ return o(Li, {
3191
+ get class() {
3192
+ return I.closeButtonInner;
3193
+ }
3194
+ });
2677
3195
  }
2678
3196
  });
2679
3197
  }
2680
- }), o(U, {
3198
+ }), o(L, {
2681
3199
  get when() {
2682
3200
  return e.headerImage;
2683
3201
  },
2684
3202
  get children() {
2685
3203
  return e.headerImage;
2686
3204
  }
2687
- }), o(U, {
3205
+ }), o(L, {
2688
3206
  get when() {
2689
3207
  return e.header;
2690
3208
  },
2691
- children: (n) => o(a1.Title, {
3209
+ children: (i) => o(se.Title, {
2692
3210
  get class() {
2693
- return x.dialogTitle;
3211
+ return I.dialogTitle;
2694
3212
  },
2695
3213
  get children() {
2696
- return n();
3214
+ return i();
2697
3215
  }
2698
3216
  })
2699
- }), o(a1.Description, {
3217
+ }), o(se.Description, {
2700
3218
  get class() {
2701
- return x.contentOut;
3219
+ return I.contentOut;
2702
3220
  },
2703
3221
  get children() {
2704
3222
  return e.children;
2705
3223
  }
2706
- }), o(U, {
3224
+ }), o(L, {
2707
3225
  get when() {
2708
3226
  return e.actions;
2709
3227
  },
2710
3228
  get children() {
2711
- var n = O0();
2712
- return S(n, () => e.actions), n;
3229
+ var i = er();
3230
+ return w(i, () => e.actions), i;
2713
3231
  }
2714
3232
  })];
2715
3233
  }
@@ -2723,584 +3241,670 @@ const re = (e) => {
2723
3241
  }
2724
3242
  }))
2725
3243
  });
2726
- }, R0 = ({
3244
+ }, rr = ({
2727
3245
  mountTarget: e,
2728
3246
  header: t,
2729
3247
  text: n,
2730
- open: r,
2731
- onPrimaryClick: i,
3248
+ open: i,
3249
+ onPrimaryClick: r,
2732
3250
  onSecondaryClick: a,
2733
- primaryButtonText: s = "Retry",
2734
- secondaryButtonText: c = "Cancel"
2735
- }) => {
2736
- let f;
2737
- return o(re, {
2738
- mountTarget: e,
2739
- get header() {
2740
- return (() => {
2741
- var l = D0();
2742
- return S(l, t), K(() => k(l, x.alertTitle)), l;
2743
- })();
2744
- },
2745
- initialFocusEl: () => f,
2746
- open: r,
2747
- get actions() {
2748
- return (() => {
2749
- var l = k0(), u = l.firstChild, m = u.nextSibling;
2750
- u.$$click = () => a(), S(u, c), m.$$click = () => i();
2751
- var h = f;
2752
- return typeof h == "function" ? k1(h, m) : f = m, S(m, s), K((p) => {
2753
- var d = x.actions, g = x.secondaryActionButton, y = x.primaryActionButton;
2754
- return d !== p.e && k(l, p.e = d), g !== p.t && k(u, p.t = g), y !== p.a && k(m, p.a = y), p;
2755
- }, {
2756
- e: void 0,
2757
- t: void 0,
2758
- a: void 0
2759
- }), l;
2760
- })();
2761
- },
2762
- modalStyle: "compact",
2763
- get children() {
2764
- var l = A0();
2765
- return S(l, n), K(() => k(l, x.alertText)), l;
2766
- }
2767
- });
2768
- };
2769
- Oe(["click"]);
2770
- var I0 = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 280 197"><path fill=#10B990 d="M150 175.5c0 7.456-6.044 13.5-13.5 13.5-7.455 0-13.5-6.044-13.5-13.5s6.045-13.5 13.5-13.5c7.456 0 13.5 6.044 13.5 13.5M239.717 153.996H36.283c-5.667 0-10.283-4.574-10.283-10.2V22.201C26 16.578 30.61 12 36.283 12h203.434C245.384 12 250 16.574 250 22.2V143.8c0 5.623-4.612 10.201-10.283 10.201zM36.283 14.324c-4.382 0-7.945 3.535-7.945 7.882v121.593c0 4.347 3.563 7.882 7.945 7.882h203.434c4.381 0 7.944-3.535 7.944-7.882V22.201c0-4.346-3.563-7.881-7.944-7.881H36.283z"></path><path fill=#fff d="M142.651 171.333a1.214 1.214 0 0 0-1.292-.246 1.2 1.2 0 0 0-.385.246l-6.234 5.962-2.715-2.596a1.214 1.214 0 0 0-1.293-.246 1.2 1.2 0 0 0-.384.246q-.167.16-.258.368a1.1 1.1 0 0 0 .258 1.236l3.516 3.366c.231.222.535.331.838.331h.075c.304 0 .607-.109.839-.331l7.035-6.727a1.1 1.1 0 0 0 .349-.802 1.106 1.106 0 0 0-.349-.802z"></path><path fill=#142641 d="M224.891 30H45.108C40.078 30 36 34.066 36 39.08v95.84c0 5.014 4.078 9.08 9.108 9.08H224.89c5.031 0 9.109-4.066 9.109-9.08V39.08c0-5.014-4.078-9.08-9.109-9.08"opacity=.3></path><path fill=#fff d="M228.892 24H49.109C44.078 24 40 28.065 40 33.08v95.84c0 5.015 4.078 9.08 9.109 9.08h179.783c5.03 0 9.108-4.065 9.108-9.08V33.08c0-5.014-4.078-9.08-9.108-9.08"></path><path fill=#142641 d="M228.741 139H49.259C43.605 139 39 134.419 39 128.785v-95.57C39 27.585 43.6 23 49.259 23H228.74C234.395 23 239 27.58 239 33.215v95.57c0 5.63-4.601 10.215-10.259 10.215M49.259 25.327c-4.372 0-7.927 3.54-7.927 7.893v95.569c0 4.353 3.555 7.893 7.927 7.893H228.74c4.371 0 7.926-3.54 7.926-7.893V33.216c0-4.353-3.555-7.893-7.926-7.893H49.259z"></path><path fill=#142641 d="M81 82c-8.82 0-16-7.178-16-16s7.18-16 16-16c8.822 0 16 7.178 16 16s-7.178 16-16 16m0-29.662c-7.533 0-13.666 6.128-13.666 13.666s6.128 13.667 13.667 13.667c7.537 0 13.666-6.129 13.666-13.667S88.539 52.338 81 52.338"></path><path fill=#142641 d="M106.989 102.79a1.167 1.167 0 0 1-1.165-1.168c0-10.42-10.878-18.895-24.248-18.895S57.33 91.2 57.33 101.622c0 .645-.522 1.168-1.165 1.168A1.166 1.166 0 0 1 55 101.622c0-11.707 11.921-21.234 26.576-21.234s26.577 9.528 26.577 21.234c0 .645-.521 1.168-1.164 1.168m101.224-43.344h-85.925a1.16 1.16 0 0 1-.823-.342 1.18 1.18 0 0 1-.342-.828c0-.645.522-1.17 1.165-1.17h85.925c.643 0 1.165.524 1.165 1.17s-.522 1.17-1.165 1.17m.176 16.485h-85.926a1.167 1.167 0 0 1-1.164-1.17c0-.645.522-1.168 1.164-1.168h85.926c.643 0 1.165.523 1.165 1.169s-.522 1.169-1.165 1.169m-23.683 16.346h-62.224a1.17 1.17 0 0 1-1.165-1.17c0-.644.523-1.168 1.165-1.168h62.224c.643 0 1.164.523 1.164 1.168 0 .646-.521 1.17-1.164 1.17m.028 30.709c-.471 0-.918-.291-1.09-.762a1.18 1.18 0 0 1 .685-1.507 15.1 15.1 0 0 0 5.44-3.545c-.755-.206-1.537-.571-2.138-1.197-.713-.748-1.048-1.74-.959-2.867.065-.889.433-1.787 1.057-2.595q.182-.237.363-.482c.592-.8 1.268-1.708 2.255-2.315 1.034-.636 2.245-.786 3.247-.398.927.355 1.617 1.146 1.938 2.231.28.935.238 1.964-.126 2.97a17 17 0 0 1-1.011 2.277 13.8 13.8 0 0 0 4.231-1.693 1.38 1.38 0 0 1 1.667.182c.447.431.555 1.119.251 1.666-.255.468-.498 1.094-.199 1.435.223.258.66.253.973.118.615-.272 1.062-.824 1.546-1.904a1.713 1.713 0 0 1 1.202-.969 1.73 1.73 0 0 1 1.514.413c1.183 1.07 2.828 1.636 4.384 1.519 1.798-.13 3.526-1.164 4.505-2.684a1.161 1.161 0 0 1 1.612-.351c.54.351.699 1.071.349 1.618-1.365 2.129-3.773 3.569-6.289 3.751a8.26 8.26 0 0 1-5.502-1.613c-.489.907-1.206 1.842-2.376 2.361-1.317.585-2.79.295-3.67-.72a2.88 2.88 0 0 1-.708-1.8 16 16 0 0 1-5.195 1.281 17.56 17.56 0 0 1-7.542 5.519 1.1 1.1 0 0 1-.405.075zm7.7-13.545c-.275 0-.591.094-.871.267-.606.369-1.09 1.024-1.602 1.716q-.197.267-.391.52c-.243.313-.537.799-.578 1.341-.047.613.158.908.316 1.072.401.421 1.212.687 2.18.73a15 15 0 0 0 1.729-3.364c.186-.524.219-1.061.084-1.505-.173-.575-.447-.683-.541-.72a.9.9 0 0 0-.326-.057m30.401-71.103H56.164A1.166 1.166 0 0 1 55 37.17c0-.646.521-1.17 1.164-1.17h166.671c.643 0 1.165.523 1.165 1.17 0 .644-.522 1.168-1.165 1.168m-115.846 81.879H56.164a1.16 1.16 0 0 1-.822-.342 1.18 1.18 0 0 1-.342-.828c0-.645.521-1.168 1.164-1.168h50.825c.643 0 1.164.523 1.164 1.168 0 .646-.521 1.17-1.164 1.17">');
2771
- const x0 = (e = {}) => (() => {
2772
- var t = I0();
2773
- return R(t, e, !0, !0), t;
2774
- })(), P0 = "_buttonPrimary_jhzz5_1", N0 = "_buttonSecondary_jhzz5_5", z0 = "_buttonActions_jhzz5_9", F0 = "_modalGrid_jhzz5_16", U0 = "_onboardingGuide_jhzz5_16", G0 = "_content_jhzz5_20", $0 = "_carousel_jhzz5_20", B0 = "_itemGroup_jhzz5_20", H0 = "_header_jhzz5_34", L0 = "_item_jhzz5_20", V0 = "_textContent_jhzz5_51", j0 = "_indicators_jhzz5_77", K0 = "_indicator_jhzz5_77", W0 = "_controls_jhzz5_86", q0 = "_controlsInner_jhzz5_89", Q0 = "_actions_jhzz5_109", Y0 = "_helpButton_jhzz5_113", X0 = "_tooltip_jhzz5_121", Z0 = "_arrow_jhzz5_124", M = {
2775
- buttonPrimary: P0,
2776
- buttonSecondary: N0,
2777
- buttonActions: z0,
2778
- modalGrid: F0,
2779
- onboardingGuide: U0,
2780
- content: G0,
2781
- carousel: $0,
2782
- itemGroup: B0,
2783
- header: H0,
2784
- item: L0,
2785
- textContent: V0,
2786
- indicators: j0,
2787
- indicator: K0,
2788
- controls: W0,
2789
- controlsInner: q0,
2790
- actions: Q0,
2791
- helpButton: Y0,
2792
- tooltip: X0,
2793
- arrow: Z0
2794
- };
2795
- var J0 = /* @__PURE__ */ v("<div><div><div><div><p></p></div></div></div><div><button>");
2796
- const e2 = () => {
3251
+ primaryButtonText: c = "Retry",
3252
+ secondaryButtonText: u = "Cancel"
3253
+ }) => o(c1, {
3254
+ mountTarget: e,
3255
+ get header() {
3256
+ return (() => {
3257
+ var h = nr();
3258
+ return w(h, t), Q(() => P(h, I.alertTitle)), h;
3259
+ })();
3260
+ },
3261
+ open: i,
3262
+ get actions() {
3263
+ return (() => {
3264
+ var h = ir(), g = h.firstChild, p = g.nextSibling;
3265
+ return g.$$click = () => a(), w(g, u), p.$$click = () => r(), w(p, c), Q((m) => {
3266
+ var d = I.actions, f = I.secondaryActionButton, s = I.primaryActionButton;
3267
+ return d !== m.e && P(h, m.e = d), f !== m.t && P(g, m.t = f), s !== m.a && P(p, m.a = s), m;
3268
+ }, {
3269
+ e: void 0,
3270
+ t: void 0,
3271
+ a: void 0
3272
+ }), h;
3273
+ })();
3274
+ },
3275
+ modalStyle: "compact",
3276
+ get children() {
3277
+ var h = tr();
3278
+ return w(h, n), Q(() => P(h, I.alertText)), h;
3279
+ }
3280
+ });
3281
+ x1(["click"]);
3282
+ const ze = (e) => {
2797
3283
  const {
2798
- t: e
2799
- } = f1(), {
2800
- store: t,
2801
- updateStore: n
2802
- } = S1(), r = () => t.showOnboardingGuide, i = () => {
2803
- n({
2804
- showOnboardingGuide: !1
2805
- }), t.blinkIdUxManager.cameraManager.startFrameCapture();
3284
+ t
3285
+ } = me(), {
3286
+ store: n,
3287
+ updateStore: i
3288
+ } = Te(), r = () => {
3289
+ i({
3290
+ errorState: void 0,
3291
+ documentFiltered: !1
3292
+ });
3293
+ }, a = () => {
3294
+ n.cameraManagerComponent.dismount();
3295
+ }, c = async () => {
3296
+ r(), e.shouldResetScanningSession && await n.blinkIdUxManager.resetScanningSession(!1), await n.blinkIdUxManager.cameraManager.startFrameCapture();
2806
3297
  };
2807
- let a;
2808
- return o(re, {
3298
+ return o(rr, {
2809
3299
  get mountTarget() {
2810
- return t.cameraManagerComponent.overlayLayerNode;
3300
+ return n.cameraManagerComponent.overlayLayerNode;
2811
3301
  },
2812
- initialFocusEl: () => a,
2813
- get open() {
2814
- return r();
3302
+ get header() {
3303
+ return e.header;
2815
3304
  },
2816
- modalStyle: "large",
2817
- get children() {
2818
- var s = J0(), c = s.firstChild, f = c.firstChild, l = f.firstChild, u = l.firstChild, m = c.nextSibling, h = m.firstChild;
2819
- S(f, o(x0, {}), l), S(l, o(ke, {
2820
- get children() {
2821
- return e.onboarding_modal_title;
2822
- }
2823
- }), u), S(u, () => e.onboarding_modal_details), h.$$click = () => i();
2824
- var p = a;
2825
- return typeof p == "function" ? k1(p, h) : a = h, S(h, () => e.onboarding_modal_btn), K((d) => {
2826
- var g = M.onboardingGuide, y = M.content, b = M.header, $ = M.textContent, B = M.actions, F = M.buttonPrimary;
2827
- return g !== d.e && k(s, d.e = g), y !== d.t && k(c, d.t = y), b !== d.a && k(f, d.a = b), $ !== d.o && k(l, d.o = $), B !== d.i && k(m, d.i = B), F !== d.n && k(h, d.n = F), d;
2828
- }, {
2829
- e: void 0,
2830
- t: void 0,
2831
- a: void 0,
2832
- o: void 0,
2833
- i: void 0,
2834
- n: void 0
2835
- }), s;
3305
+ get text() {
3306
+ return e.text;
3307
+ },
3308
+ open: !0,
3309
+ onPrimaryClick: () => void c(),
3310
+ onSecondaryClick: () => a(),
3311
+ get primaryButtonText() {
3312
+ return t.alert_retry_btn;
3313
+ },
3314
+ get secondaryButtonText() {
3315
+ return t.alert_cancel_btn;
2836
3316
  }
2837
3317
  });
2838
3318
  };
2839
- Oe(["click"]);
2840
- var t2 = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 280 197"><path fill=#F43F5E d="M150 175.5c0 7.456-6.044 13.5-13.5 13.5-7.455 0-13.5-6.044-13.5-13.5s6.045-13.5 13.5-13.5c7.456 0 13.5 6.044 13.5 13.5"></path><path fill=#fff d="m138.103 175.501 2.563-2.564a1.14 1.14 0 0 0 .333-.802 1.12 1.12 0 0 0-.333-.802 1.135 1.135 0 0 0-1.236-.247 1.1 1.1 0 0 0-.367.247l-2.563 2.564-2.563-2.564a1.135 1.135 0 0 0-1.603 1.604l2.563 2.564-2.563 2.565a1.131 1.131 0 0 0 .802 1.934c.289 0 .579-.109.801-.33l2.563-2.565 2.563 2.565c.222.221.512.33.801.33a1.132 1.132 0 0 0 .802-1.934z"></path><path fill=#142641 d="M223.1 28H86.9c-3.81 0-6.9 3.067-6.9 6.85v72.3c0 3.783 3.09 6.85 6.9 6.85h136.2c3.811 0 6.9-3.067 6.9-6.85v-72.3c0-3.783-3.089-6.85-6.9-6.85"opacity=.3></path><path fill=#fff d="M226.1 23H89.9c-3.81 0-6.9 3.066-6.9 6.85v72.3c0 3.784 3.09 6.85 6.9 6.85h136.2c3.811 0 6.9-3.066 6.9-6.85v-72.3c0-3.783-3.089-6.85-6.9-6.85"></path><path fill=#F43F5E fill-rule=evenodd d="M94 95c0-.552.45-1 1.006-1h64.988c.556 0 1.006.448 1.006 1s-.45 1-1.006 1H95.006A1.003 1.003 0 0 1 94 95"clip-rule=evenodd></path><path fill=#142641 d="M86.204 114.895a7 7 0 0 1-.197-.304c-.287-.473-.579-.925-.874-1.38-2.837-4.382-5.908-9.125-6.36-36.155-.136-8.148-.081-19.483-.036-28.752.019-3.943.036-7.513.036-10.304C61.178 49.778 60.7 51.017 54.456 67.186a660 660 0 0 1-3.88 9.87c-9.27 22.957-9.071 38.414-8.167 48.304.578 6.325 1.7 12.626 3.353 18.761l3.373 12.526c.85 3.158 3.733 5.353 7.015 5.353h34.072c4.168 0 7.94-2.507 9.257-6.447 1.022-3.055 1.969-6.21 2.898-9.303.748-2.493 1.484-4.946 2.239-7.277a275 275 0 0 0 2.126-6.841l23.344-25.859c4.406-4.879 3.734-12.473-1.461-16.511a11.33 11.33 0 0 0-14.451.446z"opacity=.3></path><path fill=#142641 fill-rule=evenodd d="M90.852 24.001a5.853 5.853 0 0 0-5.856 5.85v72.298a5.853 5.853 0 0 0 5.856 5.85h135.296a5.853 5.853 0 0 0 5.856-5.85V29.851a5.853 5.853 0 0 0-5.856-5.85zM83 29.851A7.85 7.85 0 0 1 90.852 22h135.296A7.85 7.85 0 0 1 234 29.85v72.299a7.85 7.85 0 0 1-7.852 7.851H90.852A7.85 7.85 0 0 1 83 102.149z"clip-rule=evenodd></path><path fill=#fff fill-rule=evenodd d="M90.061 104.73c-1.222-.761-2.377-1.906-3.38-3.555-.636-1.042-1.111-1.791-1.47-2.592-1.37-3.05-1.053-6.846-1.45-30.49-.137-8.18-.08-20.081-.036-29.674.02-4.03.036-7.651.036-10.419-20.716 13.819-25.98 24.099-36.488 50.03-10.175 25.107-7.267 38.726-5.44 47.288l.077.359c.517 2.424.864 4.881 1.212 7.338.219 1.547.438 3.094.699 4.633l2.43 14.327c.59 3.478 3.635 6.025 7.19 6.025h33.622c4.184 0 7.97-2.507 9.292-6.447 1.026-3.056 1.976-6.212 2.908-9.306.752-2.494 1.491-4.948 2.248-7.279a275 275 0 0 0 2.124-6.807l23.442-25.876c4.42-4.88 3.745-12.473-1.468-16.511-4.315-3.343-10.407-3.156-14.502.445z"clip-rule=evenodd></path><path fill=#142641 fill-rule=evenodd d="m84.765 26-1.564 1.044c-10.427 6.964-17.026 13.077-22.337 20.757-5.29 7.65-9.27 16.81-14.519 29.779-5.124 12.657-6.97 22.46-7.292 30.21-.322 7.746.883 13.396 1.8 17.694l.078.369c.509 2.388.852 4.813 1.2 7.278l.001.007c.218 1.544.439 3.104.702 4.657l2.43 14.342c.672 3.964 4.137 6.863 8.179 6.863h33.62c4.58 0 8.775-2.752 10.244-7.135 1.03-3.075 1.984-6.246 2.915-9.339l.002-.007c.752-2.498 1.488-4.944 2.241-7.265a279 279 0 0 0 2.067-6.621l23.287-25.734c4.81-5.315 4.075-13.583-1.596-17.981-4.696-3.642-11.327-3.439-15.784.485l-20.454 18.01c-.859-.657-1.69-1.566-2.446-2.808l-.22-.361c-.532-.873-.903-1.48-1.192-2.124-.596-1.329-.86-2.862-1.002-7.157-.08-2.436-.122-5.7-.179-10.245-.043-3.443-.095-7.62-.18-12.729-.138-8.175-.082-20.076-.037-29.682v-.003c.02-4.032.036-7.66.036-10.432zm-2.01 3.76c-.005 2.447-.019 5.365-.033 8.537v.01c-.046 9.596-.102 21.516.036 29.715.085 5.074.137 9.241.18 12.685.058 4.572.099 7.87.18 10.322.141 4.285.402 6.179 1.175 7.903.344.767.787 1.491 1.307 2.344q.11.176.22.361c1.076 1.768 2.338 3.034 3.708 3.887l.636.397 21.607-19.025a10.38 10.38 0 0 1 13.217-.406c4.754 3.687 5.369 10.62 1.338 15.075l-23.592 26.07-.064.218a277 277 0 0 1-2.116 6.789c-.76 2.343-1.502 4.808-2.252 7.3l-.002.006c-.933 3.1-1.879 6.244-2.898 9.286-1.175 3.505-4.553 5.771-8.34 5.771H53.444c-3.065 0-5.69-2.199-6.199-5.199l-2.43-14.342a170 170 0 0 1-.694-4.61l-.003-.017c-.346-2.448-.697-4.936-1.221-7.396l-.077-.36c-.91-4.271-2.07-9.719-1.76-17.209.312-7.493 2.099-17.072 7.149-29.548 5.258-12.989 9.164-21.951 14.31-29.394C67.38 41.9 73.377 36.19 82.756 29.76"clip-rule=evenodd></path><path fill=#142641 fill-rule=evenodd d="M92.209 102.843a1.007 1.007 0 0 0-1.342.459c-.306.623-.998 1.36-2.044 2.125-1.027.751-2.31 1.468-3.682 2.078a23.8 23.8 0 0 1-4.119 1.409c-1.331.313-2.475.423-3.293.325a1.003 1.003 0 0 0-1.116.871 1 1 0 0 0 .876 1.11c1.153.138 2.559-.027 3.995-.364a26 26 0 0 0 4.477-1.53c1.47-.654 2.885-1.439 4.052-2.292 1.146-.839 2.143-1.807 2.658-2.857a.995.995 0 0 0-.462-1.334"clip-rule=evenodd></path><path fill=#142641 d="M114 67c-6.616 0-12-5.383-12-12s5.384-12 12-12 12 5.383 12 12c0 6.616-5.384 12-12 12m0-22.247c-5.65 0-10.249 4.596-10.249 10.25s4.596 10.25 10.249 10.25 10.25-4.596 10.25-10.25-4.596-10.25-10.25-10.25"></path><path fill=#142641 fill-rule=evenodd d="M145 49c0-.552.449-1 1.003-1h64.994c.554 0 1.003.448 1.003 1s-.449 1-1.003 1h-64.994A1 1 0 0 1 145 49M145 61c0-.552.449-1 1.003-1h64.994c.554 0 1.003.448 1.003 1s-.449 1-1.003 1h-64.994A1 1 0 0 1 145 61M94 34c0-.552.446-1 .997-1h125.006c.551 0 .997.448.997 1s-.446 1-.997 1H94.997A1 1 0 0 1 94 34M145 74c0-.552.451-1 1.007-1h46.986c.556 0 1.007.448 1.007 1s-.451 1-1.007 1h-46.986A1.004 1.004 0 0 1 145 74M114 66.984c-10.183 0-18.019 6.485-18.019 14.024a.991.991 0 1 1-1.981 0C94 71.961 103.186 65 114 65s20 6.96 20 16.008a.992.992 0 1 1-1.981 0c0-7.54-7.836-14.024-18.019-14.024"clip-rule=evenodd></path><path fill=#142641 d="M196.809 95.99a.81.81 0 0 1-.735-1.147.81.81 0 0 1 .453-.423 10.5 10.5 0 0 0 3.789-2.454c-.526-.142-1.071-.394-1.489-.829-.497-.517-.73-1.204-.668-1.984.045-.615.301-1.236.736-1.796q.127-.164.253-.334c.412-.553.883-1.181 1.57-1.602.721-.44 1.564-.54 2.262-.276.645.247 1.125.794 1.349 1.545.195.648.166 1.36-.087 2.056a12 12 0 0 1-.705 1.576 9.6 9.6 0 0 0 2.947-1.172.96.96 0 0 1 1.443.673.96.96 0 0 1-.107.606c-.178.323-.347.757-.139.993.156.179.46.175.678.082.428-.188.739-.57 1.077-1.318a1.19 1.19 0 0 1 1.398-.653c.183.05.352.141.493.268a4.2 4.2 0 0 0 3.053 1.052 4.17 4.17 0 0 0 3.137-1.858.815.815 0 0 1 1.462.275.8.8 0 0 1-.096.602c-.951 1.473-2.628 2.47-4.379 2.596a5.77 5.77 0 0 1-3.832-1.117c-.341.629-.84 1.276-1.655 1.635-.918.404-1.943.204-2.556-.499a2 2 0 0 1-.493-1.245 11.2 11.2 0 0 1-3.618.886 12.2 12.2 0 0 1-5.252 3.82.8.8 0 0 1-.282.052zm5.363-9.375c-.192 0-.412.065-.607.185-.422.256-.759.709-1.116 1.188q-.137.184-.272.36c-.169.216-.373.553-.403.928-.032.424.111.628.221.742.279.291.844.476 1.518.505.499-.722.903-1.504 1.204-2.328.129-.362.152-.735.059-1.042-.121-.398-.312-.473-.377-.499a.7.7 0 0 0-.227-.039">');
2841
- const n2 = (e = {}) => (() => {
2842
- var t = t2();
3319
+ var ar = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 280 197"><path fill=#F43F5E d="M150 175.5c0 7.456-6.044 13.5-13.5 13.5-7.455 0-13.5-6.044-13.5-13.5s6.045-13.5 13.5-13.5c7.456 0 13.5 6.044 13.5 13.5"></path><path fill=#fff d="m138.103 175.501 2.563-2.564a1.14 1.14 0 0 0 .333-.802 1.12 1.12 0 0 0-.333-.802 1.135 1.135 0 0 0-1.236-.247 1.1 1.1 0 0 0-.367.247l-2.563 2.564-2.563-2.564a1.135 1.135 0 0 0-1.603 1.604l2.563 2.564-2.563 2.565a1.131 1.131 0 0 0 .802 1.934c.289 0 .579-.109.801-.33l2.563-2.565 2.563 2.565c.222.221.512.33.801.33a1.132 1.132 0 0 0 .802-1.934z"></path><path fill=#142641 d="M223.1 28H86.9c-3.81 0-6.9 3.067-6.9 6.85v72.3c0 3.783 3.09 6.85 6.9 6.85h136.2c3.811 0 6.9-3.067 6.9-6.85v-72.3c0-3.783-3.089-6.85-6.9-6.85"opacity=.3></path><path fill=#fff d="M226.1 23H89.9c-3.81 0-6.9 3.066-6.9 6.85v72.3c0 3.784 3.09 6.85 6.9 6.85h136.2c3.811 0 6.9-3.066 6.9-6.85v-72.3c0-3.783-3.089-6.85-6.9-6.85"></path><path fill=#F43F5E fill-rule=evenodd d="M94 95c0-.552.45-1 1.006-1h64.988c.556 0 1.006.448 1.006 1s-.45 1-1.006 1H95.006A1.003 1.003 0 0 1 94 95"clip-rule=evenodd></path><path fill=#142641 d="M86.204 114.895a7 7 0 0 1-.197-.304c-.287-.473-.579-.925-.874-1.38-2.837-4.382-5.908-9.125-6.36-36.155-.136-8.148-.081-19.483-.036-28.752.019-3.943.036-7.513.036-10.304C61.178 49.778 60.7 51.017 54.456 67.186a660 660 0 0 1-3.88 9.87c-9.27 22.957-9.071 38.414-8.167 48.304.578 6.325 1.7 12.626 3.353 18.761l3.373 12.526c.85 3.158 3.733 5.353 7.015 5.353h34.072c4.168 0 7.94-2.507 9.257-6.447 1.022-3.055 1.969-6.21 2.898-9.303.748-2.493 1.484-4.946 2.239-7.277a275 275 0 0 0 2.126-6.841l23.344-25.859c4.406-4.879 3.734-12.473-1.461-16.511a11.33 11.33 0 0 0-14.451.446z"opacity=.3></path><path fill=#142641 fill-rule=evenodd d="M90.852 24.001a5.853 5.853 0 0 0-5.856 5.85v72.298a5.853 5.853 0 0 0 5.856 5.85h135.296a5.853 5.853 0 0 0 5.856-5.85V29.851a5.853 5.853 0 0 0-5.856-5.85zM83 29.851A7.85 7.85 0 0 1 90.852 22h135.296A7.85 7.85 0 0 1 234 29.85v72.299a7.85 7.85 0 0 1-7.852 7.851H90.852A7.85 7.85 0 0 1 83 102.149z"clip-rule=evenodd></path><path fill=#fff fill-rule=evenodd d="M90.061 104.73c-1.222-.761-2.377-1.906-3.38-3.555-.636-1.042-1.111-1.791-1.47-2.592-1.37-3.05-1.053-6.846-1.45-30.49-.137-8.18-.08-20.081-.036-29.674.02-4.03.036-7.651.036-10.419-20.716 13.819-25.98 24.099-36.488 50.03-10.175 25.107-7.267 38.726-5.44 47.288l.077.359c.517 2.424.864 4.881 1.212 7.338.219 1.547.438 3.094.699 4.633l2.43 14.327c.59 3.478 3.635 6.025 7.19 6.025h33.622c4.184 0 7.97-2.507 9.292-6.447 1.026-3.056 1.976-6.212 2.908-9.306.752-2.494 1.491-4.948 2.248-7.279a275 275 0 0 0 2.124-6.807l23.442-25.876c4.42-4.88 3.745-12.473-1.468-16.511-4.315-3.343-10.407-3.156-14.502.445z"clip-rule=evenodd></path><path fill=#142641 fill-rule=evenodd d="m84.765 26-1.564 1.044c-10.427 6.964-17.026 13.077-22.337 20.757-5.29 7.65-9.27 16.81-14.519 29.779-5.124 12.657-6.97 22.46-7.292 30.21-.322 7.746.883 13.396 1.8 17.694l.078.369c.509 2.388.852 4.813 1.2 7.278l.001.007c.218 1.544.439 3.104.702 4.657l2.43 14.342c.672 3.964 4.137 6.863 8.179 6.863h33.62c4.58 0 8.775-2.752 10.244-7.135 1.03-3.075 1.984-6.246 2.915-9.339l.002-.007c.752-2.498 1.488-4.944 2.241-7.265a279 279 0 0 0 2.067-6.621l23.287-25.734c4.81-5.315 4.075-13.583-1.596-17.981-4.696-3.642-11.327-3.439-15.784.485l-20.454 18.01c-.859-.657-1.69-1.566-2.446-2.808l-.22-.361c-.532-.873-.903-1.48-1.192-2.124-.596-1.329-.86-2.862-1.002-7.157-.08-2.436-.122-5.7-.179-10.245-.043-3.443-.095-7.62-.18-12.729-.138-8.175-.082-20.076-.037-29.682v-.003c.02-4.032.036-7.66.036-10.432zm-2.01 3.76c-.005 2.447-.019 5.365-.033 8.537v.01c-.046 9.596-.102 21.516.036 29.715.085 5.074.137 9.241.18 12.685.058 4.572.099 7.87.18 10.322.141 4.285.402 6.179 1.175 7.903.344.767.787 1.491 1.307 2.344q.11.176.22.361c1.076 1.768 2.338 3.034 3.708 3.887l.636.397 21.607-19.025a10.38 10.38 0 0 1 13.217-.406c4.754 3.687 5.369 10.62 1.338 15.075l-23.592 26.07-.064.218a277 277 0 0 1-2.116 6.789c-.76 2.343-1.502 4.808-2.252 7.3l-.002.006c-.933 3.1-1.879 6.244-2.898 9.286-1.175 3.505-4.553 5.771-8.34 5.771H53.444c-3.065 0-5.69-2.199-6.199-5.199l-2.43-14.342a170 170 0 0 1-.694-4.61l-.003-.017c-.346-2.448-.697-4.936-1.221-7.396l-.077-.36c-.91-4.271-2.07-9.719-1.76-17.209.312-7.493 2.099-17.072 7.149-29.548 5.258-12.989 9.164-21.951 14.31-29.394C67.38 41.9 73.377 36.19 82.756 29.76"clip-rule=evenodd></path><path fill=#142641 fill-rule=evenodd d="M92.209 102.843a1.007 1.007 0 0 0-1.342.459c-.306.623-.998 1.36-2.044 2.125-1.027.751-2.31 1.468-3.682 2.078a23.8 23.8 0 0 1-4.119 1.409c-1.331.313-2.475.423-3.293.325a1.003 1.003 0 0 0-1.116.871 1 1 0 0 0 .876 1.11c1.153.138 2.559-.027 3.995-.364a26 26 0 0 0 4.477-1.53c1.47-.654 2.885-1.439 4.052-2.292 1.146-.839 2.143-1.807 2.658-2.857a.995.995 0 0 0-.462-1.334"clip-rule=evenodd></path><path fill=#142641 d="M114 67c-6.616 0-12-5.383-12-12s5.384-12 12-12 12 5.383 12 12c0 6.616-5.384 12-12 12m0-22.247c-5.65 0-10.249 4.596-10.249 10.25s4.596 10.25 10.249 10.25 10.25-4.596 10.25-10.25-4.596-10.25-10.25-10.25"></path><path fill=#142641 fill-rule=evenodd d="M145 49c0-.552.449-1 1.003-1h64.994c.554 0 1.003.448 1.003 1s-.449 1-1.003 1h-64.994A1 1 0 0 1 145 49M145 61c0-.552.449-1 1.003-1h64.994c.554 0 1.003.448 1.003 1s-.449 1-1.003 1h-64.994A1 1 0 0 1 145 61M94 34c0-.552.446-1 .997-1h125.006c.551 0 .997.448.997 1s-.446 1-.997 1H94.997A1 1 0 0 1 94 34M145 74c0-.552.451-1 1.007-1h46.986c.556 0 1.007.448 1.007 1s-.451 1-1.007 1h-46.986A1.004 1.004 0 0 1 145 74M114 66.984c-10.183 0-18.019 6.485-18.019 14.024a.991.991 0 1 1-1.981 0C94 71.961 103.186 65 114 65s20 6.96 20 16.008a.992.992 0 1 1-1.981 0c0-7.54-7.836-14.024-18.019-14.024"clip-rule=evenodd></path><path fill=#142641 d="M196.809 95.99a.81.81 0 0 1-.735-1.147.81.81 0 0 1 .453-.423 10.5 10.5 0 0 0 3.789-2.454c-.526-.142-1.071-.394-1.489-.829-.497-.517-.73-1.204-.668-1.984.045-.615.301-1.236.736-1.796q.127-.164.253-.334c.412-.553.883-1.181 1.57-1.602.721-.44 1.564-.54 2.262-.276.645.247 1.125.794 1.349 1.545.195.648.166 1.36-.087 2.056a12 12 0 0 1-.705 1.576 9.6 9.6 0 0 0 2.947-1.172.96.96 0 0 1 1.443.673.96.96 0 0 1-.107.606c-.178.323-.347.757-.139.993.156.179.46.175.678.082.428-.188.739-.57 1.077-1.318a1.19 1.19 0 0 1 1.398-.653c.183.05.352.141.493.268a4.2 4.2 0 0 0 3.053 1.052 4.17 4.17 0 0 0 3.137-1.858.815.815 0 0 1 1.462.275.8.8 0 0 1-.096.602c-.951 1.473-2.628 2.47-4.379 2.596a5.77 5.77 0 0 1-3.832-1.117c-.341.629-.84 1.276-1.655 1.635-.918.404-1.943.204-2.556-.499a2 2 0 0 1-.493-1.245 11.2 11.2 0 0 1-3.618.886 12.2 12.2 0 0 1-5.252 3.82.8.8 0 0 1-.282.052zm5.363-9.375c-.192 0-.412.065-.607.185-.422.256-.759.709-1.116 1.188q-.137.184-.272.36c-.169.216-.373.553-.403.928-.032.424.111.628.221.742.279.291.844.476 1.518.505.499-.722.903-1.504 1.204-2.328.129-.362.152-.735.059-1.042-.121-.398-.312-.473-.377-.499a.7.7 0 0 0-.227-.039">');
3320
+ const sr = (e = {}) => (() => {
3321
+ var t = ar();
2843
3322
  return R(t, e, !0, !0), t;
2844
3323
  })();
2845
- var r2 = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 280 197"><path fill=#F43F5E d="M150 175.5c0 7.456-6.044 13.5-13.5 13.5-7.455 0-13.5-6.044-13.5-13.5s6.045-13.5 13.5-13.5c7.456 0 13.5 6.044 13.5 13.5M239.717 153.996H36.283c-5.667 0-10.283-4.574-10.283-10.2V22.201C26 16.578 30.61 12 36.283 12h203.434C245.384 12 250 16.574 250 22.2V143.8c0 5.623-4.612 10.201-10.283 10.201zM36.283 14.324c-4.382 0-7.945 3.535-7.945 7.882v121.593c0 4.347 3.563 7.882 7.945 7.882h203.434c4.381 0 7.944-3.535 7.944-7.882V22.201c0-4.346-3.563-7.881-7.944-7.881H36.283z"></path><path fill=#fff d="m138.103 175.501 2.563-2.564a1.14 1.14 0 0 0 .333-.802 1.12 1.12 0 0 0-.333-.802 1.135 1.135 0 0 0-1.236-.247 1.1 1.1 0 0 0-.367.247l-2.563 2.564-2.563-2.564a1.135 1.135 0 0 0-1.603 1.604l2.563 2.564-2.563 2.565a1.131 1.131 0 0 0 .802 1.934c.289 0 .579-.109.801-.33l2.563-2.565 2.563 2.565c.222.221.512.33.801.33a1.132 1.132 0 0 0 .802-1.934z"></path><path fill=#142641 d="M225.891 30H46.108a9.12 9.12 0 0 0-6.44 2.66A9.07 9.07 0 0 0 37 39.08v95.839a9.05 9.05 0 0 0 2.667 6.421 9.13 9.13 0 0 0 6.44 2.66h179.784a9.14 9.14 0 0 0 6.441-2.659 9.1 9.1 0 0 0 1.975-2.947 9.05 9.05 0 0 0 .693-3.475v-95.84a9.07 9.07 0 0 0-5.623-8.388 9.1 9.1 0 0 0-3.486-.691"opacity=.3></path><path fill=#fff d="M229.892 24H50.109a9.13 9.13 0 0 0-6.441 2.66A9.08 9.08 0 0 0 41 33.08v95.839a9 9 0 0 0 .693 3.475 9.1 9.1 0 0 0 4.93 4.915 9.1 9.1 0 0 0 3.486.691h179.783a9.129 9.129 0 0 0 6.441-2.66 9.07 9.07 0 0 0 2.667-6.421v-95.84c0-2.407-.96-4.717-2.668-6.42a9.12 9.12 0 0 0-6.44-2.659"></path><path fill=#142641 d="M229.741 140H50.259C44.605 140 40 135.379 40 129.696V33.304C40 27.624 44.6 23 50.259 23H229.74C235.395 23 240 27.62 240 33.304v96.392c0 5.679-4.6 10.304-10.259 10.304M50.259 25.348c-4.37 0-7.926 3.57-7.926 7.96V129.7c0 4.391 3.555 7.961 7.926 7.961H229.74c4.372 0 7.927-3.57 7.927-7.961V33.304c0-4.39-3.555-7.961-7.927-7.961H50.259z"></path><path fill=#142641 d="M82 83c-8.822 0-16-7.178-16-16 0-8.82 7.178-16 16-16s16 7.18 16 16c0 8.822-7.178 16-16 16m0-29.662c-7.533 0-13.667 6.13-13.667 13.666 0 7.539 6.129 13.667 13.667 13.667s13.667-6.128 13.667-13.667c0-7.537-6.129-13.666-13.667-13.666"></path><path fill=#142641 d="M107.989 102.791c-.309 0-.605-.124-.823-.343a1.17 1.17 0 0 1-.342-.827c0-10.42-10.877-18.894-24.247-18.894S58.33 91.202 58.33 101.621a1.17 1.17 0 0 1-1.165 1.136c-.303 0-.594-.119-.811-.331a1.17 1.17 0 0 1-.353-.805c0-11.705 11.921-21.232 26.576-21.232s26.576 9.527 26.576 21.232c0 .646-.521 1.17-1.164 1.17m101.223-43.346h-85.925a1.16 1.16 0 0 1-.801-.354 1.174 1.174 0 0 1 0-1.63c.211-.218.498-.345.801-.354h85.925a1.169 1.169 0 0 1 0 2.338m.178 16.486h-85.926a1.169 1.169 0 0 1-.823-1.996 1.16 1.16 0 0 1 .823-.342h85.926a1.163 1.163 0 0 1 1.13 1.17 1.163 1.163 0 0 1-1.13 1.169m-23.684 16.346h-62.223a1.165 1.165 0 0 1-1.131-1.17 1.165 1.165 0 0 1 1.131-1.17h62.223a1.164 1.164 0 0 1 1.131 1.17 1.164 1.164 0 0 1-1.131 1.169m.028 30.709c-.471 0-.918-.291-1.09-.763a1.18 1.18 0 0 1 .034-.894c.128-.282.362-.502.651-.612a15.1 15.1 0 0 0 5.44-3.545c-.754-.205-1.537-.57-2.138-1.197-.713-.748-1.048-1.74-.959-2.867.065-.889.433-1.787 1.057-2.595q.183-.239.363-.482c.592-.8 1.268-1.707 2.255-2.315 1.035-.637 2.245-.781 3.248-.398.926.356 1.616 1.146 1.937 2.231.28.936.238 1.964-.126 2.97q-.42 1.176-1.011 2.277a13.8 13.8 0 0 0 4.231-1.693 1.374 1.374 0 0 1 2.071.973c.047.301-.007.608-.153.874-.255.468-.498 1.095-.199 1.437.223.257.661.252.973.117.615-.272 1.062-.824 1.546-1.904a1.71 1.71 0 0 1 1.202-.968 1.74 1.74 0 0 1 1.514.411c1.183 1.072 2.832 1.637 4.384 1.521 1.799-.132 3.527-1.165 4.505-2.685a1.165 1.165 0 0 1 2.099.398c.068.297.019.609-.138.87-1.365 2.127-3.773 3.567-6.289 3.75a8.25 8.25 0 0 1-5.502-1.614c-.489.908-1.206 1.843-2.376 2.362-1.317.585-2.79.295-3.67-.72a2.88 2.88 0 0 1-.708-1.8 16 16 0 0 1-5.195 1.281 17.57 17.57 0 0 1-7.541 5.519 1.2 1.2 0 0 1-.406.075zm7.701-13.545c-.276 0-.592.094-.872.267-.606.37-1.09 1.024-1.602 1.717q-.197.266-.391.519c-.243.313-.536.8-.578 1.342-.047.612.158.907.316 1.071.401.421 1.212.688 2.18.73a14.9 14.9 0 0 0 1.729-3.364c.186-.523.219-1.061.084-1.505-.173-.575-.447-.683-.541-.72a.9.9 0 0 0-.325-.057m30.4-71.102H57.165c-.309 0-.605-.123-.824-.342A1.172 1.172 0 0 1 57.165 36h166.67A1.164 1.164 0 0 1 225 37.17a1.164 1.164 0 0 1-1.165 1.17m-115.846 81.878H57.165a1.164 1.164 0 0 1-1.13-1.169 1.164 1.164 0 0 1 1.13-1.169h50.824a1.165 1.165 0 0 1 1.165 1.169 1.165 1.165 0 0 1-1.165 1.169"></path><path fill=#F9FAFB d="M101.772 23 54 139.999h47.772L144.158 23zm56.203 0-47.772 117 7.727-.001L165 23z"opacity=.95>');
2846
- const i2 = (e = {}) => (() => {
2847
- var t = r2();
3324
+ var or = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 280 197"><path fill=#F43F5E d="M150 175.5c0 7.456-6.044 13.5-13.5 13.5-7.455 0-13.5-6.044-13.5-13.5s6.045-13.5 13.5-13.5c7.456 0 13.5 6.044 13.5 13.5M239.717 153.996H36.283c-5.667 0-10.283-4.574-10.283-10.2V22.201C26 16.578 30.61 12 36.283 12h203.434C245.384 12 250 16.574 250 22.2V143.8c0 5.623-4.612 10.201-10.283 10.201zM36.283 14.324c-4.382 0-7.945 3.535-7.945 7.882v121.593c0 4.347 3.563 7.882 7.945 7.882h203.434c4.381 0 7.944-3.535 7.944-7.882V22.201c0-4.346-3.563-7.881-7.944-7.881H36.283z"></path><path fill=#fff d="m138.103 175.501 2.563-2.564a1.14 1.14 0 0 0 .333-.802 1.12 1.12 0 0 0-.333-.802 1.135 1.135 0 0 0-1.236-.247 1.1 1.1 0 0 0-.367.247l-2.563 2.564-2.563-2.564a1.135 1.135 0 0 0-1.603 1.604l2.563 2.564-2.563 2.565a1.131 1.131 0 0 0 .802 1.934c.289 0 .579-.109.801-.33l2.563-2.565 2.563 2.565c.222.221.512.33.801.33a1.132 1.132 0 0 0 .802-1.934z"></path><path fill=#142641 d="M225.891 30H46.108a9.12 9.12 0 0 0-6.44 2.66A9.07 9.07 0 0 0 37 39.08v95.839a9.05 9.05 0 0 0 2.667 6.421 9.13 9.13 0 0 0 6.44 2.66h179.784a9.14 9.14 0 0 0 6.441-2.659 9.1 9.1 0 0 0 1.975-2.947 9.05 9.05 0 0 0 .693-3.475v-95.84a9.07 9.07 0 0 0-5.623-8.388 9.1 9.1 0 0 0-3.486-.691"opacity=.3></path><path fill=#fff d="M229.892 24H50.109a9.13 9.13 0 0 0-6.441 2.66A9.08 9.08 0 0 0 41 33.08v95.839a9 9 0 0 0 .693 3.475 9.1 9.1 0 0 0 4.93 4.915 9.1 9.1 0 0 0 3.486.691h179.783a9.129 9.129 0 0 0 6.441-2.66 9.07 9.07 0 0 0 2.667-6.421v-95.84c0-2.407-.96-4.717-2.668-6.42a9.12 9.12 0 0 0-6.44-2.659"></path><path fill=#142641 d="M229.741 140H50.259C44.605 140 40 135.379 40 129.696V33.304C40 27.624 44.6 23 50.259 23H229.74C235.395 23 240 27.62 240 33.304v96.392c0 5.679-4.6 10.304-10.259 10.304M50.259 25.348c-4.37 0-7.926 3.57-7.926 7.96V129.7c0 4.391 3.555 7.961 7.926 7.961H229.74c4.372 0 7.927-3.57 7.927-7.961V33.304c0-4.39-3.555-7.961-7.927-7.961H50.259z"></path><path fill=#142641 d="M82 83c-8.822 0-16-7.178-16-16 0-8.82 7.178-16 16-16s16 7.18 16 16c0 8.822-7.178 16-16 16m0-29.662c-7.533 0-13.667 6.13-13.667 13.666 0 7.539 6.129 13.667 13.667 13.667s13.667-6.128 13.667-13.667c0-7.537-6.129-13.666-13.667-13.666"></path><path fill=#142641 d="M107.989 102.791c-.309 0-.605-.124-.823-.343a1.17 1.17 0 0 1-.342-.827c0-10.42-10.877-18.894-24.247-18.894S58.33 91.202 58.33 101.621a1.17 1.17 0 0 1-1.165 1.136c-.303 0-.594-.119-.811-.331a1.17 1.17 0 0 1-.353-.805c0-11.705 11.921-21.232 26.576-21.232s26.576 9.527 26.576 21.232c0 .646-.521 1.17-1.164 1.17m101.223-43.346h-85.925a1.16 1.16 0 0 1-.801-.354 1.174 1.174 0 0 1 0-1.63c.211-.218.498-.345.801-.354h85.925a1.169 1.169 0 0 1 0 2.338m.178 16.486h-85.926a1.169 1.169 0 0 1-.823-1.996 1.16 1.16 0 0 1 .823-.342h85.926a1.163 1.163 0 0 1 1.13 1.17 1.163 1.163 0 0 1-1.13 1.169m-23.684 16.346h-62.223a1.165 1.165 0 0 1-1.131-1.17 1.165 1.165 0 0 1 1.131-1.17h62.223a1.164 1.164 0 0 1 1.131 1.17 1.164 1.164 0 0 1-1.131 1.169m.028 30.709c-.471 0-.918-.291-1.09-.763a1.18 1.18 0 0 1 .034-.894c.128-.282.362-.502.651-.612a15.1 15.1 0 0 0 5.44-3.545c-.754-.205-1.537-.57-2.138-1.197-.713-.748-1.048-1.74-.959-2.867.065-.889.433-1.787 1.057-2.595q.183-.239.363-.482c.592-.8 1.268-1.707 2.255-2.315 1.035-.637 2.245-.781 3.248-.398.926.356 1.616 1.146 1.937 2.231.28.936.238 1.964-.126 2.97q-.42 1.176-1.011 2.277a13.8 13.8 0 0 0 4.231-1.693 1.374 1.374 0 0 1 2.071.973c.047.301-.007.608-.153.874-.255.468-.498 1.095-.199 1.437.223.257.661.252.973.117.615-.272 1.062-.824 1.546-1.904a1.71 1.71 0 0 1 1.202-.968 1.74 1.74 0 0 1 1.514.411c1.183 1.072 2.832 1.637 4.384 1.521 1.799-.132 3.527-1.165 4.505-2.685a1.165 1.165 0 0 1 2.099.398c.068.297.019.609-.138.87-1.365 2.127-3.773 3.567-6.289 3.75a8.25 8.25 0 0 1-5.502-1.614c-.489.908-1.206 1.843-2.376 2.362-1.317.585-2.79.295-3.67-.72a2.88 2.88 0 0 1-.708-1.8 16 16 0 0 1-5.195 1.281 17.57 17.57 0 0 1-7.541 5.519 1.2 1.2 0 0 1-.406.075zm7.701-13.545c-.276 0-.592.094-.872.267-.606.37-1.09 1.024-1.602 1.717q-.197.266-.391.519c-.243.313-.536.8-.578 1.342-.047.612.158.907.316 1.071.401.421 1.212.688 2.18.73a14.9 14.9 0 0 0 1.729-3.364c.186-.523.219-1.061.084-1.505-.173-.575-.447-.683-.541-.72a.9.9 0 0 0-.325-.057m30.4-71.102H57.165c-.309 0-.605-.123-.824-.342A1.172 1.172 0 0 1 57.165 36h166.67A1.164 1.164 0 0 1 225 37.17a1.164 1.164 0 0 1-1.165 1.17m-115.846 81.878H57.165a1.164 1.164 0 0 1-1.13-1.169 1.164 1.164 0 0 1 1.13-1.169h50.824a1.165 1.165 0 0 1 1.165 1.169 1.165 1.165 0 0 1-1.165 1.169"></path><path fill=#F9FAFB d="M101.772 23 54 139.999h47.772L144.158 23zm56.203 0-47.772 117 7.727-.001L165 23z"opacity=.95>');
3325
+ const cr = (e = {}) => (() => {
3326
+ var t = or();
2848
3327
  return R(t, e, !0, !0), t;
2849
3328
  })();
2850
- var a2 = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 280 197"><path fill=#F43F5E d="M150 175.5c0 7.456-6.044 13.5-13.5 13.5-7.455 0-13.5-6.044-13.5-13.5s6.045-13.5 13.5-13.5c7.456 0 13.5 6.044 13.5 13.5"></path><path fill=#142641 d="M225.893 29.001H46.109a9.13 9.13 0 0 0-6.441 2.66A9.08 9.08 0 0 0 37 38.08v95.839a9.06 9.06 0 0 0 2.668 6.421 9.1 9.1 0 0 0 6.44 2.659h179.784a9.12 9.12 0 0 0 6.44-2.659A9.07 9.07 0 0 0 235 133.92V38.08a9.05 9.05 0 0 0-2.667-6.42 9.11 9.11 0 0 0-6.441-2.66z"opacity=.3></path><path fill=#fff d="M230.892 24H51.108a9.12 9.12 0 0 0-6.44 2.66A9.07 9.07 0 0 0 42 33.08v95.839a9.05 9.05 0 0 0 2.667 6.421 9.13 9.13 0 0 0 6.44 2.66h179.785a9.129 9.129 0 0 0 6.441-2.66 9.07 9.07 0 0 0 2.667-6.421v-95.84c0-2.407-.96-4.717-2.668-6.42a9.12 9.12 0 0 0-6.44-2.659"></path><g fill=#142641 opacity=.4><path d="M229.741 139H50.259C44.605 139 40 134.38 40 128.696V32.304C40 26.624 44.6 22 50.259 22H229.74C235.395 22 240 26.62 240 32.304v96.392c0 5.679-4.6 10.304-10.259 10.304M50.259 24.348c-4.372 0-7.927 3.57-7.927 7.961v96.392c0 4.39 3.555 7.96 7.927 7.96H229.74c4.372 0 7.927-3.57 7.927-7.96V32.304c0-4.39-3.555-7.961-7.927-7.961H50.259z"></path><path d="M82 82c-8.822 0-16-7.178-16-16 0-8.82 7.178-16 16-16 8.82 0 16 7.178 16 16 0 8.82-7.18 16-16 16m0-29.66c-7.534 0-13.667 6.127-13.667 13.665S74.463 79.673 82 79.673c7.538 0 13.666-6.13 13.666-13.666 0-7.539-6.128-13.667-13.666-13.667"></path><path d="M108.026 101.791a1.172 1.172 0 0 1-1.165-1.169c0-10.42-10.876-18.895-24.246-18.895S58.368 90.2 58.368 100.622a1.163 1.163 0 1 1-2.329 0c0-11.707 11.92-21.234 26.576-21.234 14.655 0 26.576 9.527 26.576 21.234 0 .645-.522 1.169-1.165 1.169m101.216-43.345h-85.923a1.164 1.164 0 0 1-1.165-1.17 1.164 1.164 0 0 1 1.165-1.17h85.923a1.17 1.17 0 0 1 .824 1.997c-.218.22-.515.343-.824.343m.182 16.486h-85.922a1.17 1.17 0 0 1-.824-1.997c.218-.22.515-.343.824-.343h85.922a1.164 1.164 0 0 1 1.165 1.17 1.164 1.164 0 0 1-1.165 1.17m-23.683 16.346h-62.226a1.17 1.17 0 0 1-.824-1.996c.218-.22.515-.344.824-.344h62.221a1.17 1.17 0 0 1 .824 1.997c-.218.22-.515.343-.824.343zm.023 30.708c-.47 0-.917-.29-1.09-.763a1.174 1.174 0 0 1 .685-1.505 15.1 15.1 0 0 0 5.441-3.546c-.754-.205-1.537-.57-2.138-1.196-.713-.749-1.048-1.74-.96-2.868.066-.889.433-1.787 1.058-2.595.121-.16.241-.318.363-.482.591-.8 1.267-1.707 2.254-2.316 1.034-.635 2.246-.78 3.247-.396.928.354 1.617 1.145 1.938 2.23.279.936.238 1.965-.126 2.97a17 17 0 0 1-1.01 2.278 13.7 13.7 0 0 0 4.229-1.694 1.37 1.37 0 0 1 1.668.183c.448.431.554 1.118.252 1.665-.257.467-.499 1.095-.201 1.435.224.258.662.253.974.118.615-.272 1.062-.823 1.547-1.903a1.7 1.7 0 0 1 2.007-.943c.263.071.505.203.708.385 1.184 1.072 2.828 1.638 4.384 1.521 1.798-.132 3.526-1.165 4.504-2.685a1.164 1.164 0 0 1 2.099.398c.069.297.019.609-.137.87-1.365 2.127-3.774 3.568-6.289 3.751a8.26 8.26 0 0 1-5.501-1.614c-.489.907-1.207 1.842-2.376 2.361-1.319.586-2.791.295-3.671-.719a2.9 2.9 0 0 1-.708-1.801 16 16 0 0 1-5.194 1.282c-1.956 2.464-4.575 4.405-7.542 5.518q-.202.077-.406.075zm7.701-13.545c-.309.009-.61.101-.872.267-.605.37-1.09 1.024-1.602 1.717q-.192.261-.391.519c-.243.313-.536.799-.578 1.342-.046.613.158.908.317 1.071.4.421 1.211.688 2.18.73a15 15 0 0 0 1.728-3.363c.187-.524.219-1.062.084-1.506-.173-.575-.447-.683-.54-.721a.9.9 0 0 0-.326-.056m30.404-71.103H57.199a1.16 1.16 0 0 1-.802-.354A1.172 1.172 0 0 1 57.2 35h166.67A1.164 1.164 0 0 1 225 36.17a1.163 1.163 0 0 1-1.131 1.169m-115.843 81.879H57.199A1.165 1.165 0 0 1 56 118.048a1.17 1.17 0 0 1 .743-1.09c.145-.057.3-.084.456-.079h50.822a1.164 1.164 0 0 1 1.107 1.169 1.17 1.17 0 0 1-1.107 1.169z"></path></g><g fill=#142641 opacity=.3><path d="m230.991 136.742-179.244 4.255c-5.647.136-10.35-4.367-10.485-10.035l-2.259-96.18c-.135-5.669 4.353-10.388 10.001-10.523l179.243-4.256c5.648-.135 10.35 4.37 10.485 10.036l2.265 96.175c.135 5.669-4.352 10.388-10.001 10.523zM49.059 26.597c-4.362.103-7.83 3.751-7.726 8.128l2.264 96.175c.102 4.378 3.737 7.857 8.1 7.754l179.242-4.255c4.362-.103 7.829-3.751 7.727-8.128l-2.265-96.175c-.102-4.378-3.737-7.857-8.099-7.754z"></path><path d="M82.378 82.995c-8.822.21-16.163-6.796-16.373-15.617S72.8 51.215 81.622 51.005 97.785 57.8 97.995 66.62 91.2 82.785 82.378 82.995m-.7-29.657c-7.534.177-13.518 6.451-13.34 13.984.177 7.533 6.45 13.517 13.984 13.339s13.518-6.45 13.34-13.984c-.177-7.533-6.45-13.517-13.984-13.339"></path><path d="M108.547 102.403a1.17 1.17 0 0 1-1.193-1.14c-.247-10.397-11.326-18.601-24.697-18.284s-24.053 9.034-23.807 19.433a1.17 1.17 0 0 1-1.138 1.144 1.17 1.17 0 0 1-1.192-1.088c-.275-11.686 11.423-21.473 26.08-21.824 14.659-.345 26.809 8.876 27.084 20.563a1.168 1.168 0 0 1-1.137 1.196m100.222-45.66-85.942 2.036a1.168 1.168 0 0 1-.056-2.335l85.942-2.036a1.164 1.164 0 0 1 1.142 1.14 1.17 1.17 0 0 1-1.086 1.195m.569 16.45-85.943 2.035a1.164 1.164 0 0 1-1.193-1.14 1.17 1.17 0 0 1 1.137-1.195l85.943-2.035a1.166 1.166 0 0 1 1.174 1.14 1.17 1.17 0 0 1-1.118 1.194M186.03 90.072l-62.233 1.475a1.165 1.165 0 0 1-1.155-1.14 1.17 1.17 0 0 1 1.099-1.195l62.233-1.475a1.166 1.166 0 0 1 1.174 1.14 1.17 1.17 0 0 1-1.118 1.195m.75 30.648a1.163 1.163 0 0 1-1.162-.933 1.17 1.17 0 0 1 .701-1.317 15.15 15.15 0 0 0 5.36-3.67c-.76-.187-1.552-.533-2.167-1.149-.732-.728-1.086-1.709-1.03-2.839.046-.887.392-1.793.997-2.615q.176-.238.349-.49c.574-.813 1.227-1.737 2.201-2.362 1.015-.659 2.228-.837 3.238-.477.937.332 1.646 1.107 1.996 2.181.302.929.283 1.952-.056 2.969a16.4 16.4 0 0 1-.961 2.297 13.7 13.7 0 0 0 4.191-1.788 1.38 1.38 0 0 1 1.673.14c.461.421.578 1.102.293 1.657-.242.473-.47 1.103-.168 1.434.233.252.667.238.979.093.606-.284 1.044-.849 1.505-1.937a1.71 1.71 0 0 1 1.986-.99c.265.065.511.191.718.369 1.207 1.036 2.866 1.569 4.418 1.415 1.799-.178 3.501-1.242 4.441-2.788a1.166 1.166 0 0 1 1.991 1.219c-1.315 2.157-3.691 3.651-6.203 3.894a8.28 8.28 0 0 1-5.542-1.48c-.47.914-1.161 1.867-2.321 2.413-1.305.613-2.788.36-3.686-.63a2.88 2.88 0 0 1-.755-1.779 15.9 15.9 0 0 1-5.165 1.401c-1.901 2.507-4.469 4.506-7.41 5.687q-.203.078-.406.084zm7.383-13.699a1.7 1.7 0 0 0-.867.285c-.596.382-1.063 1.045-1.561 1.751q-.189.266-.378.527c-.232.317-.517.807-.545 1.35-.033.611.182.9.345 1.064.41.41 1.23.659 2.2.677a14.5 14.5 0 0 0 1.645-3.399c.178-.528.196-1.065.052-1.508-.187-.574-.467-.672-.56-.705a.9.9 0 0 0-.331-.047zm28.738-71.686-166.707 3.95A1.165 1.165 0 0 1 55 38.145a1.17 1.17 0 0 1 1.138-1.195L222.845 33a1.171 1.171 0 0 1 .846 1.96 1.16 1.16 0 0 1-.79.375m-113.944 84.46L58.123 121a1.169 1.169 0 0 1-.056-2.334l50.834-1.205a1.17 1.17 0 0 1 .844.315 1.16 1.16 0 0 1 .368.824 1.167 1.167 0 0 1-1.156 1.195"></path></g><g fill=#142641 opacity=.2><path d="m233.237 132.957-179.59 9.03c-5.66.283-10.497-4.064-10.782-9.695L38.013 36.77c-.284-5.632 4.086-10.444 9.745-10.727l179.589-9.03c5.661-.284 10.499 4.064 10.784 9.695l4.856 95.527c.285 5.631-4.085 10.443-9.746 10.727zM47.876 28.363c-4.375.219-7.75 3.938-7.53 8.285l4.856 95.528c.22 4.347 3.959 7.709 8.33 7.49l179.588-9.03c4.375-.218 7.749-3.937 7.53-8.285l-4.857-95.527c-.219-4.348-3.959-7.71-8.329-7.49z"></path><path d="M82.808 83.98c-8.814.443-16.344-6.363-16.788-15.173s6.363-16.344 15.173-16.786c8.809-.445 16.343 6.362 16.786 15.171.445 8.814-6.362 16.344-15.17 16.788m-1.5-29.632c-7.524.38-13.34 6.817-12.958 14.343s6.816 13.342 14.341 12.959 13.342-6.816 12.959-14.342c-.383-7.525-6.816-13.342-14.34-12.959z"></path><path d="M109.292 102.14a1.2 1.2 0 0 1-.45-.066 1.15 1.15 0 0 1-.39-.233 1.152 1.152 0 0 1-.382-.803c-.522-10.343-11.828-18.209-25.197-17.534-13.367.673-23.82 9.636-23.292 19.979a1.16 1.16 0 0 1-1.106 1.219 1.165 1.165 0 0 1-1.223-1.102c-.587-11.622 10.854-21.677 25.51-22.416 14.655-.74 27.057 8.116 27.645 19.738a1.16 1.16 0 0 1-1.106 1.218zm99.037-48.132-85.925 4.328a1.17 1.17 0 0 1-1.111-.662 1.159 1.159 0 0 1 .994-1.657l85.926-4.329a1.17 1.17 0 0 1 1.111.662 1.16 1.16 0 0 1-.995 1.658m1.012 16.359-85.925 4.327a1.165 1.165 0 0 1-1.156-1.55 1.17 1.17 0 0 1 1.039-.769l85.926-4.328a1.164 1.164 0 0 1 1.156 1.55 1.17 1.17 0 0 1-1.04.77m-22.859 17.422-62.222 3.134a1.166 1.166 0 0 1-1.222-1.102 1.16 1.16 0 0 1 1.106-1.218l62.221-3.133a1.17 1.17 0 0 1 1.111.662 1.155 1.155 0 0 1-.188 1.276 1.17 1.17 0 0 1-.806.381m1.572 30.482a1.17 1.17 0 0 1-1.191-.899 1.165 1.165 0 0 1 .669-1.332 15.15 15.15 0 0 0 5.261-3.794c-.77-.167-1.567-.488-2.197-1.083-.751-.707-1.133-1.674-1.105-2.799.023-.883.344-1.794.928-2.63q.167-.247.34-.498c.556-.823 1.18-1.758 2.137-2.413 1.002-.683 2.206-.893 3.227-.562.947.307 1.674 1.06 2.052 2.115.327.915.336 1.938.024 2.956a16 16 0 0 1-.9 2.31 13.8 13.8 0 0 0 4.141-1.891 1.38 1.38 0 0 1 1.681.094 1.37 1.37 0 0 1 .334 1.644c-.232.474-.442 1.112-.13 1.433.237.246.671.218.979.064.602-.302 1.022-.873 1.451-1.966a1.71 1.71 0 0 1 1.964-1.038c.266.058.516.178.727.35 1.236 1 2.91 1.483 4.46 1.293a6 6 0 0 0 2.518-.946 5.95 5.95 0 0 0 1.847-1.951 1.15 1.15 0 0 1 .706-.543 1.16 1.16 0 0 1 .885.115c.559.321.75 1.032.428 1.585-1.259 2.181-3.596 3.734-6.1 4.045a8.3 8.3 0 0 1-5.584-1.325c-.442.925-1.114 1.887-2.256 2.464-1.288.646-2.776.432-3.709-.53a2.87 2.87 0 0 1-.802-1.753 16 16 0 0 1-5.131 1.534c-1.833 2.543-4.351 4.607-7.262 5.857a1.1 1.1 0 0 1-.402.094zm7.02-13.834a1.7 1.7 0 0 0-.859.306c-.588.4-1.035 1.074-1.515 1.786-.122.181-.243.362-.364.533-.224.321-.495.819-.509 1.358-.014.609.205.893.374 1.051.424.4 1.246.623 2.215.614a14.7 14.7 0 0 0 1.558-3.427c.163-.53.163-1.064.009-1.501-.201-.563-.484-.656-.578-.688a.9.9 0 0 0-.331-.037zm26.819-72.114-166.67 8.394a1.17 1.17 0 0 1-1.11-.662 1.16 1.16 0 0 1 .553-1.547c.138-.066.288-.104.44-.111l166.67-8.395a1.167 1.167 0 0 1 1.223 1.101 1.16 1.16 0 0 1-.665 1.108 1.2 1.2 0 0 1-.441.111m-111.724 87.114-50.822 2.562a1.2 1.2 0 0 1-.45-.066 1.18 1.18 0 0 1-.661-.596 1.157 1.157 0 0 1 .553-1.547c.138-.065.288-.103.44-.11l50.823-2.563a1.18 1.18 0 0 1 1.111.663c.066.138.104.287.111.439q.012.231-.066.449a1.168 1.168 0 0 1-1.039.769"></path></g><g fill=#142641 opacity=.2><path d="m227.168 142.986-179.435-9.401c-5.656-.294-10.013-5.143-9.719-10.804l5.025-96.038c.294-5.662 5.138-10.023 10.794-9.729l179.433 9.402c5.657.294 10.014 5.142 9.72 10.804l-5.021 96.038c-.294 5.661-5.137 10.022-10.793 9.728zM53.706 19.352c-4.366-.23-8.107 3.142-8.336 7.518l-5.021 96.037c-.228 4.371 3.138 8.116 7.51 8.345l179.435 9.402c4.366.228 8.107-3.142 8.336-7.518l5.02-96.038c.229-4.371-3.138-8.116-7.51-8.345z"></path><path d="M82.165 77.978c-8.808-.462-15.604-8.005-15.143-16.813.463-8.808 8.006-15.604 16.814-15.143 8.808.462 15.603 8.006 15.142 16.814S90.973 78.44 82.165 77.978m1.55-29.626c-7.525-.392-13.966 5.41-14.363 12.934-.397 7.525 5.41 13.966 12.934 14.363 7.525.392 13.966-5.41 14.363-12.935.391-7.524-5.41-13.965-12.934-14.362"></path><path d="M106.723 99.65a1.17 1.17 0 0 1-.805-.388 1.19 1.19 0 0 1-.299-.847c.541-10.448-9.88-19.517-23.231-20.226s-24.659 7.223-25.199 17.667a1.18 1.18 0 0 1-.394.792 1.16 1.16 0 0 1-1.626-.086 1.18 1.18 0 0 1-.31-.829c.611-11.739 13.012-20.662 27.65-19.892 14.632.771 26.045 10.951 25.435 22.691a1.18 1.18 0 0 1-.384.812 1.16 1.16 0 0 1-.841.301zm103.342-38.13-85.811-4.528a1.16 1.16 0 0 1-.806-.387 1.18 1.18 0 0 1 .086-1.66 1.16 1.16 0 0 1 .841-.3l85.811 4.527c.3.028.578.171.775.401a1.18 1.18 0 0 1-.084 1.628c-.22.208-.511.322-.812.318m-.675 16.538-85.811-4.527a1.16 1.16 0 0 1-.806-.387 1.18 1.18 0 0 1 .086-1.66c.229-.209.532-.317.841-.3l85.811 4.526c.309.017.598.156.806.387a1.18 1.18 0 0 1-.086 1.66 1.16 1.16 0 0 1-.841.301m-24.505 15.144-62.141-3.277a1.17 1.17 0 0 1-.806-.387 1.18 1.18 0 0 1 .086-1.66 1.16 1.16 0 0 1 .841-.302l62.141 3.279c.297.032.57.178.763.407a1.181 1.181 0 0 1-.884 1.94m-1.575 30.791a1.164 1.164 0 0 1-1.09-1.025 1.18 1.18 0 0 1 .802-1.267 15.1 15.1 0 0 0 5.618-3.268c-.746-.248-1.504-.653-2.073-1.315-.675-.789-.955-1.798-.811-2.925.112-.888.527-1.766 1.193-2.545q.195-.226.386-.465c.634-.771 1.352-1.644 2.372-2.203 1.062-.582 2.287-.667 3.266-.23.908.404 1.556 1.236 1.821 2.338.233.954.135 1.983-.279 2.973a17 17 0 0 1-1.132 2.231 13.6 13.6 0 0 0 4.308-1.474 1.37 1.37 0 0 1 1.654.267 1.4 1.4 0 0 1 .168 1.681c-.279.456-.554 1.07-.274 1.428.209.272.643.29.968.169.629-.24 1.104-.77 1.645-1.827a1.72 1.72 0 0 1 1.253-.911 1.74 1.74 0 0 1 1.49.493c1.128 1.137 2.74 1.789 4.296 1.757 1.803-.039 3.583-.982 4.635-2.457a1.162 1.162 0 0 1 2.094.497c.05.307-.023.622-.202.875-1.473 2.061-3.956 3.376-6.476 3.432a8.22 8.22 0 0 1-5.409-1.911c-.535.883-1.3 1.784-2.496 2.244-1.347.518-2.805.151-3.629-.91a2.92 2.92 0 0 1-.615-1.846 15.8 15.8 0 0 1-5.255 1.009c-2.082 2.367-4.799 4.18-7.817 5.138a1.1 1.1 0 0 1-.411.052zm8.396-13.176a1.7 1.7 0 0 0-.886.22c-.624.338-1.141.967-1.686 1.634q-.21.255-.419.502c-.257.301-.578.771-.648 1.316-.079.61.112.915.261 1.093.382.442 1.174.752 2.138.851a14.8 14.8 0 0 0 1.901-3.283c.214-.516.275-1.051.163-1.507-.144-.587-.415-.71-.503-.747a.9.9 0 0 0-.326-.07zm34.068-69.687L59.323 32.348a1.16 1.16 0 0 1-.785-.397 1.18 1.18 0 0 1 .083-1.638c.223-.208.518-.32.821-.314l166.452 8.782a1.16 1.16 0 0 1 .806.387 1.17 1.17 0 0 1 .298.848 1.18 1.18 0 0 1-.383.812 1.17 1.17 0 0 1-.841.3m-119.959 75.993-50.755-2.677a1.16 1.16 0 0 1-.775-.401 1.184 1.184 0 0 1 .084-1.628c.22-.208.51-.322.812-.318l50.756 2.676a1.17 1.17 0 0 1 1.103 1.236 1.18 1.18 0 0 1-.775 1.046 1.15 1.15 0 0 1-.45.066"></path></g><g fill=#142641 opacity=.3><path d="m228.097 140.997-179.114-4.508c-5.645-.14-10.12-4.858-9.98-10.514l2.407-95.972c.14-5.656 4.848-10.14 10.493-10l179.114 4.507c5.645.14 10.12 4.858 9.98 10.514l-2.407 95.972c-.14 5.656-4.848 10.141-10.493 10.001M51.847 22.331c-4.36-.112-7.997 3.355-8.108 7.728l-2.409 95.972c-.111 4.368 3.35 8.013 7.713 8.125l179.114 4.508c4.359.112 7.997-3.356 8.108-7.728l2.409-95.972c.111-4.368-3.35-8.013-7.713-8.125z"></path><path d="M82.598 79.996c-8.816-.22-15.812-7.575-15.593-16.397.219-8.817 7.575-15.813 16.397-15.594 8.816.219 15.812 7.575 15.593 16.397-.22 8.822-7.575 15.814-16.397 15.594m.748-29.653c-7.534-.192-13.817 5.783-14.003 13.317-.192 7.533 5.783 13.816 13.316 14.002s13.816-5.783 14.003-13.316c.19-7.533-5.783-13.817-13.316-14.003"></path><path d="M107.409 100.903a1.17 1.17 0 0 1-1.137-1.194c.262-10.393-10.404-19.12-23.772-19.455-13.368-.337-24.456 7.844-24.718 18.237a1.17 1.17 0 0 1-1.192 1.12 1.165 1.165 0 0 1-1.137-1.176c.293-11.68 12.454-20.88 27.103-20.51 14.654.368 26.335 10.168 26.041 21.85a1.165 1.165 0 0 1-1.193 1.138zm102.297-40.692-85.914-2.16a1.165 1.165 0 0 1-1.138-1.195 1.164 1.164 0 0 1 1.193-1.139l85.915 2.16a1.165 1.165 0 0 1 1.098 1.194 1.17 1.17 0 0 1-1.154 1.14m-.233 16.45-85.914-2.16a1.165 1.165 0 0 1-1.099-1.195 1.167 1.167 0 0 1 1.155-1.14l85.914 2.16a1.167 1.167 0 0 1-.056 2.335m-24.089 15.712-62.216-1.568a1.165 1.165 0 0 1-1.038-1.64 1.175 1.175 0 0 1 1.093-.694l62.217 1.568a1.165 1.165 0 0 1 1.098 1.194 1.165 1.165 0 0 1-1.154 1.14M184.638 123a1.17 1.17 0 0 1-.349-2.273 15.1 15.1 0 0 0 5.531-3.402c-.751-.224-1.524-.606-2.107-1.25-.694-.766-1.001-1.76-.889-2.884.088-.882.48-1.769 1.123-2.562q.189-.232.377-.472c.615-.784 1.309-1.67 2.311-2.254 1.048-.606 2.264-.723 3.257-.317.917.378 1.589 1.185 1.883 2.273.255.942.185 1.964-.201 2.963a16.4 16.4 0 0 1-1.072 2.245 13.8 13.8 0 0 0 4.273-1.582 1.372 1.372 0 0 1 2.054 1.02c.037.302-.026.608-.181.87-.266.457-.526 1.078-.238 1.423.219.266.652.271.97.14.619-.257 1.08-.793 1.597-1.862a1.714 1.714 0 0 1 2.731-.49c1.155 1.097 2.787 1.703 4.342 1.629 1.803-.089 3.556-1.069 4.571-2.567a1.17 1.17 0 0 1 .745-.489 1.156 1.156 0 0 1 1.19.505 1.17 1.17 0 0 1-.011 1.295c-1.416 2.091-3.862 3.463-6.383 3.584-1.952.098-3.904-.536-5.46-1.75-.513.892-1.254 1.806-2.438 2.296-1.333.551-2.799.224-3.652-.807a2.9 2.9 0 0 1-.667-1.815 16 16 0 0 1-5.228 1.148c-2.016 2.408-4.682 4.279-7.679 5.315a1.3 1.3 0 0 1-.409.065zm8.037-13.319a1.8 1.8 0 0 0-.88.243c-.615.355-1.113.994-1.645 1.671-.135.172-.27.345-.405.508-.247.304-.554.784-.61 1.321-.061.611.135.91.294 1.078.391.429 1.192.714 2.161.784a15 15 0 0 0 1.812-3.313c.201-.518.248-1.055.122-1.503-.159-.579-.434-.695-.522-.728a.9.9 0 0 0-.327-.061m32.183-70.153-166.65-4.195a1.164 1.164 0 0 1-1.118-1.194A1.17 1.17 0 0 1 58.263 33l166.651 4.195a1.168 1.168 0 0 1-.056 2.333m-117.882 78.754-50.82-1.279a1.16 1.16 0 0 1-1.076-.742 1.166 1.166 0 0 1 1.133-1.591l50.819 1.279a1.163 1.163 0 0 1 1.156 1.195 1.16 1.16 0 0 1-.758 1.066c-.145.054-.3.078-.454.072"></path></g><path fill=#F43F5E d="M239.717 153.996H36.283c-5.667 0-10.283-4.574-10.283-10.2V22.201C26 16.578 30.61 12 36.283 12h203.434C245.384 12 250 16.574 250 22.2V143.8c0 5.623-4.612 10.201-10.283 10.201zM36.283 14.324c-4.382 0-7.945 3.535-7.945 7.882v121.593c0 4.347 3.563 7.882 7.945 7.882h203.434c4.381 0 7.944-3.535 7.944-7.882V22.201c0-4.346-3.563-7.881-7.944-7.881H36.283z"></path><path fill=#fff d="m138.103 175.501 2.563-2.564a1.14 1.14 0 0 0 .333-.802 1.12 1.12 0 0 0-.333-.802 1.135 1.135 0 0 0-1.236-.247 1.1 1.1 0 0 0-.367.247l-2.563 2.564-2.563-2.564a1.135 1.135 0 0 0-1.603 1.604l2.563 2.564-2.563 2.565a1.131 1.131 0 0 0 .802 1.934c.289 0 .579-.109.801-.33l2.563-2.565 2.563 2.565c.222.221.512.33.801.33a1.132 1.132 0 0 0 .802-1.934z">');
2851
- const o2 = (e = {}) => (() => {
2852
- var t = a2();
3329
+ var lr = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 280 197"><path fill=#F43F5E d="M150 175.5c0 7.456-6.044 13.5-13.5 13.5-7.455 0-13.5-6.044-13.5-13.5s6.045-13.5 13.5-13.5c7.456 0 13.5 6.044 13.5 13.5"></path><path fill=#142641 d="M225.893 29.001H46.109a9.13 9.13 0 0 0-6.441 2.66A9.08 9.08 0 0 0 37 38.08v95.839a9.06 9.06 0 0 0 2.668 6.421 9.1 9.1 0 0 0 6.44 2.659h179.784a9.12 9.12 0 0 0 6.44-2.659A9.07 9.07 0 0 0 235 133.92V38.08a9.05 9.05 0 0 0-2.667-6.42 9.11 9.11 0 0 0-6.441-2.66z"opacity=.3></path><path fill=#fff d="M230.892 24H51.108a9.12 9.12 0 0 0-6.44 2.66A9.07 9.07 0 0 0 42 33.08v95.839a9.05 9.05 0 0 0 2.667 6.421 9.13 9.13 0 0 0 6.44 2.66h179.785a9.129 9.129 0 0 0 6.441-2.66 9.07 9.07 0 0 0 2.667-6.421v-95.84c0-2.407-.96-4.717-2.668-6.42a9.12 9.12 0 0 0-6.44-2.659"></path><g fill=#142641 opacity=.4><path d="M229.741 139H50.259C44.605 139 40 134.38 40 128.696V32.304C40 26.624 44.6 22 50.259 22H229.74C235.395 22 240 26.62 240 32.304v96.392c0 5.679-4.6 10.304-10.259 10.304M50.259 24.348c-4.372 0-7.927 3.57-7.927 7.961v96.392c0 4.39 3.555 7.96 7.927 7.96H229.74c4.372 0 7.927-3.57 7.927-7.96V32.304c0-4.39-3.555-7.961-7.927-7.961H50.259z"></path><path d="M82 82c-8.822 0-16-7.178-16-16 0-8.82 7.178-16 16-16 8.82 0 16 7.178 16 16 0 8.82-7.18 16-16 16m0-29.66c-7.534 0-13.667 6.127-13.667 13.665S74.463 79.673 82 79.673c7.538 0 13.666-6.13 13.666-13.666 0-7.539-6.128-13.667-13.666-13.667"></path><path d="M108.026 101.791a1.172 1.172 0 0 1-1.165-1.169c0-10.42-10.876-18.895-24.246-18.895S58.368 90.2 58.368 100.622a1.163 1.163 0 1 1-2.329 0c0-11.707 11.92-21.234 26.576-21.234 14.655 0 26.576 9.527 26.576 21.234 0 .645-.522 1.169-1.165 1.169m101.216-43.345h-85.923a1.164 1.164 0 0 1-1.165-1.17 1.164 1.164 0 0 1 1.165-1.17h85.923a1.17 1.17 0 0 1 .824 1.997c-.218.22-.515.343-.824.343m.182 16.486h-85.922a1.17 1.17 0 0 1-.824-1.997c.218-.22.515-.343.824-.343h85.922a1.164 1.164 0 0 1 1.165 1.17 1.164 1.164 0 0 1-1.165 1.17m-23.683 16.346h-62.226a1.17 1.17 0 0 1-.824-1.996c.218-.22.515-.344.824-.344h62.221a1.17 1.17 0 0 1 .824 1.997c-.218.22-.515.343-.824.343zm.023 30.708c-.47 0-.917-.29-1.09-.763a1.174 1.174 0 0 1 .685-1.505 15.1 15.1 0 0 0 5.441-3.546c-.754-.205-1.537-.57-2.138-1.196-.713-.749-1.048-1.74-.96-2.868.066-.889.433-1.787 1.058-2.595.121-.16.241-.318.363-.482.591-.8 1.267-1.707 2.254-2.316 1.034-.635 2.246-.78 3.247-.396.928.354 1.617 1.145 1.938 2.23.279.936.238 1.965-.126 2.97a17 17 0 0 1-1.01 2.278 13.7 13.7 0 0 0 4.229-1.694 1.37 1.37 0 0 1 1.668.183c.448.431.554 1.118.252 1.665-.257.467-.499 1.095-.201 1.435.224.258.662.253.974.118.615-.272 1.062-.823 1.547-1.903a1.7 1.7 0 0 1 2.007-.943c.263.071.505.203.708.385 1.184 1.072 2.828 1.638 4.384 1.521 1.798-.132 3.526-1.165 4.504-2.685a1.164 1.164 0 0 1 2.099.398c.069.297.019.609-.137.87-1.365 2.127-3.774 3.568-6.289 3.751a8.26 8.26 0 0 1-5.501-1.614c-.489.907-1.207 1.842-2.376 2.361-1.319.586-2.791.295-3.671-.719a2.9 2.9 0 0 1-.708-1.801 16 16 0 0 1-5.194 1.282c-1.956 2.464-4.575 4.405-7.542 5.518q-.202.077-.406.075zm7.701-13.545c-.309.009-.61.101-.872.267-.605.37-1.09 1.024-1.602 1.717q-.192.261-.391.519c-.243.313-.536.799-.578 1.342-.046.613.158.908.317 1.071.4.421 1.211.688 2.18.73a15 15 0 0 0 1.728-3.363c.187-.524.219-1.062.084-1.506-.173-.575-.447-.683-.54-.721a.9.9 0 0 0-.326-.056m30.404-71.103H57.199a1.16 1.16 0 0 1-.802-.354A1.172 1.172 0 0 1 57.2 35h166.67A1.164 1.164 0 0 1 225 36.17a1.163 1.163 0 0 1-1.131 1.169m-115.843 81.879H57.199A1.165 1.165 0 0 1 56 118.048a1.17 1.17 0 0 1 .743-1.09c.145-.057.3-.084.456-.079h50.822a1.164 1.164 0 0 1 1.107 1.169 1.17 1.17 0 0 1-1.107 1.169z"></path></g><g fill=#142641 opacity=.3><path d="m230.991 136.742-179.244 4.255c-5.647.136-10.35-4.367-10.485-10.035l-2.259-96.18c-.135-5.669 4.353-10.388 10.001-10.523l179.243-4.256c5.648-.135 10.35 4.37 10.485 10.036l2.265 96.175c.135 5.669-4.352 10.388-10.001 10.523zM49.059 26.597c-4.362.103-7.83 3.751-7.726 8.128l2.264 96.175c.102 4.378 3.737 7.857 8.1 7.754l179.242-4.255c4.362-.103 7.829-3.751 7.727-8.128l-2.265-96.175c-.102-4.378-3.737-7.857-8.099-7.754z"></path><path d="M82.378 82.995c-8.822.21-16.163-6.796-16.373-15.617S72.8 51.215 81.622 51.005 97.785 57.8 97.995 66.62 91.2 82.785 82.378 82.995m-.7-29.657c-7.534.177-13.518 6.451-13.34 13.984.177 7.533 6.45 13.517 13.984 13.339s13.518-6.45 13.34-13.984c-.177-7.533-6.45-13.517-13.984-13.339"></path><path d="M108.547 102.403a1.17 1.17 0 0 1-1.193-1.14c-.247-10.397-11.326-18.601-24.697-18.284s-24.053 9.034-23.807 19.433a1.17 1.17 0 0 1-1.138 1.144 1.17 1.17 0 0 1-1.192-1.088c-.275-11.686 11.423-21.473 26.08-21.824 14.659-.345 26.809 8.876 27.084 20.563a1.168 1.168 0 0 1-1.137 1.196m100.222-45.66-85.942 2.036a1.168 1.168 0 0 1-.056-2.335l85.942-2.036a1.164 1.164 0 0 1 1.142 1.14 1.17 1.17 0 0 1-1.086 1.195m.569 16.45-85.943 2.035a1.164 1.164 0 0 1-1.193-1.14 1.17 1.17 0 0 1 1.137-1.195l85.943-2.035a1.166 1.166 0 0 1 1.174 1.14 1.17 1.17 0 0 1-1.118 1.194M186.03 90.072l-62.233 1.475a1.165 1.165 0 0 1-1.155-1.14 1.17 1.17 0 0 1 1.099-1.195l62.233-1.475a1.166 1.166 0 0 1 1.174 1.14 1.17 1.17 0 0 1-1.118 1.195m.75 30.648a1.163 1.163 0 0 1-1.162-.933 1.17 1.17 0 0 1 .701-1.317 15.15 15.15 0 0 0 5.36-3.67c-.76-.187-1.552-.533-2.167-1.149-.732-.728-1.086-1.709-1.03-2.839.046-.887.392-1.793.997-2.615q.176-.238.349-.49c.574-.813 1.227-1.737 2.201-2.362 1.015-.659 2.228-.837 3.238-.477.937.332 1.646 1.107 1.996 2.181.302.929.283 1.952-.056 2.969a16.4 16.4 0 0 1-.961 2.297 13.7 13.7 0 0 0 4.191-1.788 1.38 1.38 0 0 1 1.673.14c.461.421.578 1.102.293 1.657-.242.473-.47 1.103-.168 1.434.233.252.667.238.979.093.606-.284 1.044-.849 1.505-1.937a1.71 1.71 0 0 1 1.986-.99c.265.065.511.191.718.369 1.207 1.036 2.866 1.569 4.418 1.415 1.799-.178 3.501-1.242 4.441-2.788a1.166 1.166 0 0 1 1.991 1.219c-1.315 2.157-3.691 3.651-6.203 3.894a8.28 8.28 0 0 1-5.542-1.48c-.47.914-1.161 1.867-2.321 2.413-1.305.613-2.788.36-3.686-.63a2.88 2.88 0 0 1-.755-1.779 15.9 15.9 0 0 1-5.165 1.401c-1.901 2.507-4.469 4.506-7.41 5.687q-.203.078-.406.084zm7.383-13.699a1.7 1.7 0 0 0-.867.285c-.596.382-1.063 1.045-1.561 1.751q-.189.266-.378.527c-.232.317-.517.807-.545 1.35-.033.611.182.9.345 1.064.41.41 1.23.659 2.2.677a14.5 14.5 0 0 0 1.645-3.399c.178-.528.196-1.065.052-1.508-.187-.574-.467-.672-.56-.705a.9.9 0 0 0-.331-.047zm28.738-71.686-166.707 3.95A1.165 1.165 0 0 1 55 38.145a1.17 1.17 0 0 1 1.138-1.195L222.845 33a1.171 1.171 0 0 1 .846 1.96 1.16 1.16 0 0 1-.79.375m-113.944 84.46L58.123 121a1.169 1.169 0 0 1-.056-2.334l50.834-1.205a1.17 1.17 0 0 1 .844.315 1.16 1.16 0 0 1 .368.824 1.167 1.167 0 0 1-1.156 1.195"></path></g><g fill=#142641 opacity=.2><path d="m233.237 132.957-179.59 9.03c-5.66.283-10.497-4.064-10.782-9.695L38.013 36.77c-.284-5.632 4.086-10.444 9.745-10.727l179.589-9.03c5.661-.284 10.499 4.064 10.784 9.695l4.856 95.527c.285 5.631-4.085 10.443-9.746 10.727zM47.876 28.363c-4.375.219-7.75 3.938-7.53 8.285l4.856 95.528c.22 4.347 3.959 7.709 8.33 7.49l179.588-9.03c4.375-.218 7.749-3.937 7.53-8.285l-4.857-95.527c-.219-4.348-3.959-7.71-8.329-7.49z"></path><path d="M82.808 83.98c-8.814.443-16.344-6.363-16.788-15.173s6.363-16.344 15.173-16.786c8.809-.445 16.343 6.362 16.786 15.171.445 8.814-6.362 16.344-15.17 16.788m-1.5-29.632c-7.524.38-13.34 6.817-12.958 14.343s6.816 13.342 14.341 12.959 13.342-6.816 12.959-14.342c-.383-7.525-6.816-13.342-14.34-12.959z"></path><path d="M109.292 102.14a1.2 1.2 0 0 1-.45-.066 1.15 1.15 0 0 1-.39-.233 1.152 1.152 0 0 1-.382-.803c-.522-10.343-11.828-18.209-25.197-17.534-13.367.673-23.82 9.636-23.292 19.979a1.16 1.16 0 0 1-1.106 1.219 1.165 1.165 0 0 1-1.223-1.102c-.587-11.622 10.854-21.677 25.51-22.416 14.655-.74 27.057 8.116 27.645 19.738a1.16 1.16 0 0 1-1.106 1.218zm99.037-48.132-85.925 4.328a1.17 1.17 0 0 1-1.111-.662 1.159 1.159 0 0 1 .994-1.657l85.926-4.329a1.17 1.17 0 0 1 1.111.662 1.16 1.16 0 0 1-.995 1.658m1.012 16.359-85.925 4.327a1.165 1.165 0 0 1-1.156-1.55 1.17 1.17 0 0 1 1.039-.769l85.926-4.328a1.164 1.164 0 0 1 1.156 1.55 1.17 1.17 0 0 1-1.04.77m-22.859 17.422-62.222 3.134a1.166 1.166 0 0 1-1.222-1.102 1.16 1.16 0 0 1 1.106-1.218l62.221-3.133a1.17 1.17 0 0 1 1.111.662 1.155 1.155 0 0 1-.188 1.276 1.17 1.17 0 0 1-.806.381m1.572 30.482a1.17 1.17 0 0 1-1.191-.899 1.165 1.165 0 0 1 .669-1.332 15.15 15.15 0 0 0 5.261-3.794c-.77-.167-1.567-.488-2.197-1.083-.751-.707-1.133-1.674-1.105-2.799.023-.883.344-1.794.928-2.63q.167-.247.34-.498c.556-.823 1.18-1.758 2.137-2.413 1.002-.683 2.206-.893 3.227-.562.947.307 1.674 1.06 2.052 2.115.327.915.336 1.938.024 2.956a16 16 0 0 1-.9 2.31 13.8 13.8 0 0 0 4.141-1.891 1.38 1.38 0 0 1 1.681.094 1.37 1.37 0 0 1 .334 1.644c-.232.474-.442 1.112-.13 1.433.237.246.671.218.979.064.602-.302 1.022-.873 1.451-1.966a1.71 1.71 0 0 1 1.964-1.038c.266.058.516.178.727.35 1.236 1 2.91 1.483 4.46 1.293a6 6 0 0 0 2.518-.946 5.95 5.95 0 0 0 1.847-1.951 1.15 1.15 0 0 1 .706-.543 1.16 1.16 0 0 1 .885.115c.559.321.75 1.032.428 1.585-1.259 2.181-3.596 3.734-6.1 4.045a8.3 8.3 0 0 1-5.584-1.325c-.442.925-1.114 1.887-2.256 2.464-1.288.646-2.776.432-3.709-.53a2.87 2.87 0 0 1-.802-1.753 16 16 0 0 1-5.131 1.534c-1.833 2.543-4.351 4.607-7.262 5.857a1.1 1.1 0 0 1-.402.094zm7.02-13.834a1.7 1.7 0 0 0-.859.306c-.588.4-1.035 1.074-1.515 1.786-.122.181-.243.362-.364.533-.224.321-.495.819-.509 1.358-.014.609.205.893.374 1.051.424.4 1.246.623 2.215.614a14.7 14.7 0 0 0 1.558-3.427c.163-.53.163-1.064.009-1.501-.201-.563-.484-.656-.578-.688a.9.9 0 0 0-.331-.037zm26.819-72.114-166.67 8.394a1.17 1.17 0 0 1-1.11-.662 1.16 1.16 0 0 1 .553-1.547c.138-.066.288-.104.44-.111l166.67-8.395a1.167 1.167 0 0 1 1.223 1.101 1.16 1.16 0 0 1-.665 1.108 1.2 1.2 0 0 1-.441.111m-111.724 87.114-50.822 2.562a1.2 1.2 0 0 1-.45-.066 1.18 1.18 0 0 1-.661-.596 1.157 1.157 0 0 1 .553-1.547c.138-.065.288-.103.44-.11l50.823-2.563a1.18 1.18 0 0 1 1.111.663c.066.138.104.287.111.439q.012.231-.066.449a1.168 1.168 0 0 1-1.039.769"></path></g><g fill=#142641 opacity=.2><path d="m227.168 142.986-179.435-9.401c-5.656-.294-10.013-5.143-9.719-10.804l5.025-96.038c.294-5.662 5.138-10.023 10.794-9.729l179.433 9.402c5.657.294 10.014 5.142 9.72 10.804l-5.021 96.038c-.294 5.661-5.137 10.022-10.793 9.728zM53.706 19.352c-4.366-.23-8.107 3.142-8.336 7.518l-5.021 96.037c-.228 4.371 3.138 8.116 7.51 8.345l179.435 9.402c4.366.228 8.107-3.142 8.336-7.518l5.02-96.038c.229-4.371-3.138-8.116-7.51-8.345z"></path><path d="M82.165 77.978c-8.808-.462-15.604-8.005-15.143-16.813.463-8.808 8.006-15.604 16.814-15.143 8.808.462 15.603 8.006 15.142 16.814S90.973 78.44 82.165 77.978m1.55-29.626c-7.525-.392-13.966 5.41-14.363 12.934-.397 7.525 5.41 13.966 12.934 14.363 7.525.392 13.966-5.41 14.363-12.935.391-7.524-5.41-13.965-12.934-14.362"></path><path d="M106.723 99.65a1.17 1.17 0 0 1-.805-.388 1.19 1.19 0 0 1-.299-.847c.541-10.448-9.88-19.517-23.231-20.226s-24.659 7.223-25.199 17.667a1.18 1.18 0 0 1-.394.792 1.16 1.16 0 0 1-1.626-.086 1.18 1.18 0 0 1-.31-.829c.611-11.739 13.012-20.662 27.65-19.892 14.632.771 26.045 10.951 25.435 22.691a1.18 1.18 0 0 1-.384.812 1.16 1.16 0 0 1-.841.301zm103.342-38.13-85.811-4.528a1.16 1.16 0 0 1-.806-.387 1.18 1.18 0 0 1 .086-1.66 1.16 1.16 0 0 1 .841-.3l85.811 4.527c.3.028.578.171.775.401a1.18 1.18 0 0 1-.084 1.628c-.22.208-.511.322-.812.318m-.675 16.538-85.811-4.527a1.16 1.16 0 0 1-.806-.387 1.18 1.18 0 0 1 .086-1.66c.229-.209.532-.317.841-.3l85.811 4.526c.309.017.598.156.806.387a1.18 1.18 0 0 1-.086 1.66 1.16 1.16 0 0 1-.841.301m-24.505 15.144-62.141-3.277a1.17 1.17 0 0 1-.806-.387 1.18 1.18 0 0 1 .086-1.66 1.16 1.16 0 0 1 .841-.302l62.141 3.279c.297.032.57.178.763.407a1.181 1.181 0 0 1-.884 1.94m-1.575 30.791a1.164 1.164 0 0 1-1.09-1.025 1.18 1.18 0 0 1 .802-1.267 15.1 15.1 0 0 0 5.618-3.268c-.746-.248-1.504-.653-2.073-1.315-.675-.789-.955-1.798-.811-2.925.112-.888.527-1.766 1.193-2.545q.195-.226.386-.465c.634-.771 1.352-1.644 2.372-2.203 1.062-.582 2.287-.667 3.266-.23.908.404 1.556 1.236 1.821 2.338.233.954.135 1.983-.279 2.973a17 17 0 0 1-1.132 2.231 13.6 13.6 0 0 0 4.308-1.474 1.37 1.37 0 0 1 1.654.267 1.4 1.4 0 0 1 .168 1.681c-.279.456-.554 1.07-.274 1.428.209.272.643.29.968.169.629-.24 1.104-.77 1.645-1.827a1.72 1.72 0 0 1 1.253-.911 1.74 1.74 0 0 1 1.49.493c1.128 1.137 2.74 1.789 4.296 1.757 1.803-.039 3.583-.982 4.635-2.457a1.162 1.162 0 0 1 2.094.497c.05.307-.023.622-.202.875-1.473 2.061-3.956 3.376-6.476 3.432a8.22 8.22 0 0 1-5.409-1.911c-.535.883-1.3 1.784-2.496 2.244-1.347.518-2.805.151-3.629-.91a2.92 2.92 0 0 1-.615-1.846 15.8 15.8 0 0 1-5.255 1.009c-2.082 2.367-4.799 4.18-7.817 5.138a1.1 1.1 0 0 1-.411.052zm8.396-13.176a1.7 1.7 0 0 0-.886.22c-.624.338-1.141.967-1.686 1.634q-.21.255-.419.502c-.257.301-.578.771-.648 1.316-.079.61.112.915.261 1.093.382.442 1.174.752 2.138.851a14.8 14.8 0 0 0 1.901-3.283c.214-.516.275-1.051.163-1.507-.144-.587-.415-.71-.503-.747a.9.9 0 0 0-.326-.07zm34.068-69.687L59.323 32.348a1.16 1.16 0 0 1-.785-.397 1.18 1.18 0 0 1 .083-1.638c.223-.208.518-.32.821-.314l166.452 8.782a1.16 1.16 0 0 1 .806.387 1.17 1.17 0 0 1 .298.848 1.18 1.18 0 0 1-.383.812 1.17 1.17 0 0 1-.841.3m-119.959 75.993-50.755-2.677a1.16 1.16 0 0 1-.775-.401 1.184 1.184 0 0 1 .084-1.628c.22-.208.51-.322.812-.318l50.756 2.676a1.17 1.17 0 0 1 1.103 1.236 1.18 1.18 0 0 1-.775 1.046 1.15 1.15 0 0 1-.45.066"></path></g><g fill=#142641 opacity=.3><path d="m228.097 140.997-179.114-4.508c-5.645-.14-10.12-4.858-9.98-10.514l2.407-95.972c.14-5.656 4.848-10.14 10.493-10l179.114 4.507c5.645.14 10.12 4.858 9.98 10.514l-2.407 95.972c-.14 5.656-4.848 10.141-10.493 10.001M51.847 22.331c-4.36-.112-7.997 3.355-8.108 7.728l-2.409 95.972c-.111 4.368 3.35 8.013 7.713 8.125l179.114 4.508c4.359.112 7.997-3.356 8.108-7.728l2.409-95.972c.111-4.368-3.35-8.013-7.713-8.125z"></path><path d="M82.598 79.996c-8.816-.22-15.812-7.575-15.593-16.397.219-8.817 7.575-15.813 16.397-15.594 8.816.219 15.812 7.575 15.593 16.397-.22 8.822-7.575 15.814-16.397 15.594m.748-29.653c-7.534-.192-13.817 5.783-14.003 13.317-.192 7.533 5.783 13.816 13.316 14.002s13.816-5.783 14.003-13.316c.19-7.533-5.783-13.817-13.316-14.003"></path><path d="M107.409 100.903a1.17 1.17 0 0 1-1.137-1.194c.262-10.393-10.404-19.12-23.772-19.455-13.368-.337-24.456 7.844-24.718 18.237a1.17 1.17 0 0 1-1.192 1.12 1.165 1.165 0 0 1-1.137-1.176c.293-11.68 12.454-20.88 27.103-20.51 14.654.368 26.335 10.168 26.041 21.85a1.165 1.165 0 0 1-1.193 1.138zm102.297-40.692-85.914-2.16a1.165 1.165 0 0 1-1.138-1.195 1.164 1.164 0 0 1 1.193-1.139l85.915 2.16a1.165 1.165 0 0 1 1.098 1.194 1.17 1.17 0 0 1-1.154 1.14m-.233 16.45-85.914-2.16a1.165 1.165 0 0 1-1.099-1.195 1.167 1.167 0 0 1 1.155-1.14l85.914 2.16a1.167 1.167 0 0 1-.056 2.335m-24.089 15.712-62.216-1.568a1.165 1.165 0 0 1-1.038-1.64 1.175 1.175 0 0 1 1.093-.694l62.217 1.568a1.165 1.165 0 0 1 1.098 1.194 1.165 1.165 0 0 1-1.154 1.14M184.638 123a1.17 1.17 0 0 1-.349-2.273 15.1 15.1 0 0 0 5.531-3.402c-.751-.224-1.524-.606-2.107-1.25-.694-.766-1.001-1.76-.889-2.884.088-.882.48-1.769 1.123-2.562q.189-.232.377-.472c.615-.784 1.309-1.67 2.311-2.254 1.048-.606 2.264-.723 3.257-.317.917.378 1.589 1.185 1.883 2.273.255.942.185 1.964-.201 2.963a16.4 16.4 0 0 1-1.072 2.245 13.8 13.8 0 0 0 4.273-1.582 1.372 1.372 0 0 1 2.054 1.02c.037.302-.026.608-.181.87-.266.457-.526 1.078-.238 1.423.219.266.652.271.97.14.619-.257 1.08-.793 1.597-1.862a1.714 1.714 0 0 1 2.731-.49c1.155 1.097 2.787 1.703 4.342 1.629 1.803-.089 3.556-1.069 4.571-2.567a1.17 1.17 0 0 1 .745-.489 1.156 1.156 0 0 1 1.19.505 1.17 1.17 0 0 1-.011 1.295c-1.416 2.091-3.862 3.463-6.383 3.584-1.952.098-3.904-.536-5.46-1.75-.513.892-1.254 1.806-2.438 2.296-1.333.551-2.799.224-3.652-.807a2.9 2.9 0 0 1-.667-1.815 16 16 0 0 1-5.228 1.148c-2.016 2.408-4.682 4.279-7.679 5.315a1.3 1.3 0 0 1-.409.065zm8.037-13.319a1.8 1.8 0 0 0-.88.243c-.615.355-1.113.994-1.645 1.671-.135.172-.27.345-.405.508-.247.304-.554.784-.61 1.321-.061.611.135.91.294 1.078.391.429 1.192.714 2.161.784a15 15 0 0 0 1.812-3.313c.201-.518.248-1.055.122-1.503-.159-.579-.434-.695-.522-.728a.9.9 0 0 0-.327-.061m32.183-70.153-166.65-4.195a1.164 1.164 0 0 1-1.118-1.194A1.17 1.17 0 0 1 58.263 33l166.651 4.195a1.168 1.168 0 0 1-.056 2.333m-117.882 78.754-50.82-1.279a1.16 1.16 0 0 1-1.076-.742 1.166 1.166 0 0 1 1.133-1.591l50.819 1.279a1.163 1.163 0 0 1 1.156 1.195 1.16 1.16 0 0 1-.758 1.066c-.145.054-.3.078-.454.072"></path></g><path fill=#F43F5E d="M239.717 153.996H36.283c-5.667 0-10.283-4.574-10.283-10.2V22.201C26 16.578 30.61 12 36.283 12h203.434C245.384 12 250 16.574 250 22.2V143.8c0 5.623-4.612 10.201-10.283 10.201zM36.283 14.324c-4.382 0-7.945 3.535-7.945 7.882v121.593c0 4.347 3.563 7.882 7.945 7.882h203.434c4.381 0 7.944-3.535 7.944-7.882V22.201c0-4.346-3.563-7.881-7.944-7.881H36.283z"></path><path fill=#fff d="m138.103 175.501 2.563-2.564a1.14 1.14 0 0 0 .333-.802 1.12 1.12 0 0 0-.333-.802 1.135 1.135 0 0 0-1.236-.247 1.1 1.1 0 0 0-.367.247l-2.563 2.564-2.563-2.564a1.135 1.135 0 0 0-1.603 1.604l2.563 2.564-2.563 2.565a1.131 1.131 0 0 0 .802 1.934c.289 0 .579-.109.801-.33l2.563-2.565 2.563 2.565c.222.221.512.33.801.33a1.132 1.132 0 0 0 .802-1.934z">');
3330
+ const ur = (e = {}) => (() => {
3331
+ var t = lr();
2853
3332
  return R(t, e, !0, !0), t;
2854
3333
  })();
2855
- var s2 = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 36 36"><path fill=#0062F2 fill-rule=evenodd d="M12 15c0-3.315 2.685-6 6-6s6 2.685 6 6c0 1.924-1.185 2.96-2.339 3.968-1.095.957-2.161 1.889-2.161 3.532h-3c0-2.732 1.413-3.815 2.656-4.767C20.13 16.985 21 16.319 21 15c0-1.65-1.35-3-3-3s-3 1.35-3 3zm7.5 9v3h-3v-3z"clip-rule=evenodd>');
2856
- const c2 = (e = {}) => (() => {
2857
- var t = s2();
3334
+ var dr = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 36 36"><path fill=#0062F2 fill-rule=evenodd d="M12 15c0-3.315 2.685-6 6-6s6 2.685 6 6c0 1.924-1.185 2.96-2.339 3.968-1.095.957-2.161 1.889-2.161 3.532h-3c0-2.732 1.413-3.815 2.656-4.767C20.13 16.985 21 16.319 21 15c0-1.65-1.35-3-3-3s-3 1.35-3 3zm7.5 9v3h-3v-3z"clip-rule=evenodd>');
3335
+ const hr = (e = {}) => (() => {
3336
+ var t = dr();
2858
3337
  return R(t, e, !0, !0), t;
2859
- })();
2860
- var l2 = /* @__PURE__ */ v("<div>"), u2 = /* @__PURE__ */ v("<div><p>");
2861
- const h2 = () => {
3338
+ })(), gr = "_buttonPrimary_1gpgn_1", pr = "_buttonSecondary_1gpgn_5", mr = "_buttonActions_1gpgn_9", fr = "_modalGrid_1gpgn_17", _r = "_onboardingGuide_1gpgn_17", vr = "_content_1gpgn_21", yr = "_carousel_1gpgn_21", Sr = "_itemGroup_1gpgn_21", wr = "_header_1gpgn_35", br = "_item_1gpgn_21", Er = "_textContent_1gpgn_57", Tr = "_indicators_1gpgn_91", Cr = "_indicator_1gpgn_91", Mr = "_controls_1gpgn_105", Or = "_controlsInner_1gpgn_108", Ar = "_actions_1gpgn_129", Dr = "_helpButton_1gpgn_133", kr = "_tooltip_1gpgn_141", Rr = "_arrow_1gpgn_144", O = {
3339
+ buttonPrimary: gr,
3340
+ buttonSecondary: pr,
3341
+ buttonActions: mr,
3342
+ modalGrid: fr,
3343
+ onboardingGuide: _r,
3344
+ content: vr,
3345
+ carousel: yr,
3346
+ itemGroup: Sr,
3347
+ header: wr,
3348
+ item: br,
3349
+ textContent: Er,
3350
+ indicators: Tr,
3351
+ indicator: Cr,
3352
+ controls: Mr,
3353
+ controlsInner: Or,
3354
+ actions: Ar,
3355
+ helpButton: Dr,
3356
+ tooltip: kr,
3357
+ arrow: Rr
3358
+ };
3359
+ var Pr = /* @__PURE__ */ v("<div>"), Ir = /* @__PURE__ */ v("<div><p>");
3360
+ const Nr = () => {
2862
3361
  const {
2863
3362
  t: e
2864
- } = f1(), {
3363
+ } = me(), {
2865
3364
  store: t,
2866
3365
  updateStore: n
2867
- } = S1(), [r, i] = Q(0), a = () => t.showHelpModal, s = () => {
3366
+ } = Te(), i = t.blinkIdUxManager.scanningSession.ping, [r, a] = Y(0), c = () => t.showHelpModal, u = () => {
2868
3367
  n({
2869
3368
  showHelpModal: !1
2870
- }), i(0), t.blinkIdUxManager.cameraManager.startFrameCapture();
2871
- }, c = [{
3369
+ }), a(0), t.blinkIdUxManager.cameraManager.startFrameCapture(), i(new H({
3370
+ eventType: "HelpClosed",
3371
+ helpCloseType: g() ? "ContentFullyViewed" : "ContentSkipped"
3372
+ }));
3373
+ }, h = [{
2872
3374
  title: "help_modal_title_1",
2873
- img: n2,
3375
+ img: sr,
2874
3376
  text: "help_modal_details_1"
2875
3377
  }, {
2876
3378
  title: "help_modal_title_2",
2877
- img: i2,
3379
+ img: cr,
2878
3380
  text: "help_modal_details_2"
2879
3381
  }, {
2880
3382
  title: "help_modal_title_3",
2881
- img: o2,
3383
+ img: ur,
2882
3384
  text: "help_modal_details_3"
2883
- }], f = () => r() === c.length - 1, l = () => r() === 0;
2884
- let u;
2885
- return q(() => {
2886
- const m = t.showHelpModal;
2887
- m !== void 0 && (m ? t.blinkIdUxManager.cameraManager.stopFrameCapture() : t.blinkIdUxManager.cameraManager.startFrameCapture());
2888
- }), o(re, {
3385
+ }], g = () => r() === h.length - 1, p = () => r() === 0;
3386
+ let m;
3387
+ return G(() => {
3388
+ c() && i(new H({
3389
+ eventType: "HelpOpened"
3390
+ }));
3391
+ }), G(() => {
3392
+ const d = t.showHelpModal;
3393
+ d !== void 0 && (d ? t.blinkIdUxManager.cameraManager.stopFrameCapture() : t.blinkIdUxManager.cameraManager.startFrameCapture());
3394
+ }), o(c1, {
2889
3395
  get mountTarget() {
2890
3396
  return t.cameraManagerComponent.overlayLayerNode;
2891
3397
  },
2892
- initialFocusEl: () => u,
2893
3398
  get open() {
2894
- return a();
3399
+ return c();
2895
3400
  },
2896
3401
  showCloseButton: !0,
2897
- onCloseClicked: () => s(),
3402
+ onCloseClicked: () => u(),
2898
3403
  get children() {
2899
- return o(Y.Root, {
3404
+ return o(X.Root, {
2900
3405
  defaultPage: 0,
2901
3406
  get slideCount() {
2902
- return c.length;
3407
+ return h.length;
2903
3408
  },
2904
3409
  get page() {
2905
3410
  return r();
2906
3411
  },
2907
- onPageChange: (m) => i(m.page),
3412
+ onPageChange: (d) => a(d.page),
2908
3413
  get class() {
2909
- return M.carousel;
3414
+ return O.carousel;
3415
+ },
3416
+ onKeyDown: (d) => {
3417
+ (d.key === "ArrowLeft" || d.key === "ArrowRight") && (d.stopPropagation(), d.preventDefault());
2910
3418
  },
2911
3419
  get children() {
2912
- return [o(Y.ItemGroup, {
3420
+ return [o(X.ItemGroup, {
2913
3421
  get class() {
2914
- return M.itemGroup;
3422
+ return O.itemGroup;
2915
3423
  },
2916
3424
  get children() {
2917
- return o(ae, {
2918
- each: c,
2919
- children: (m, h) => o(Y.Item, {
3425
+ return o(u1, {
3426
+ each: h,
3427
+ children: (d, f) => o(X.Item, {
2920
3428
  get class() {
2921
- return M.item;
3429
+ return O.item;
2922
3430
  },
2923
3431
  get index() {
2924
- return h();
3432
+ return f();
2925
3433
  },
2926
3434
  get children() {
2927
- return [o(Me, {
3435
+ return [o(N1, {
2928
3436
  get component() {
2929
- return m.img;
2930
- }
3437
+ return d.img;
3438
+ },
3439
+ "aria-hidden": !0
2931
3440
  }), (() => {
2932
- var p = u2(), d = p.firstChild;
2933
- return S(p, o(ke, {
3441
+ var s = Ir(), l = s.firstChild;
3442
+ return w(s, o(L1, {
2934
3443
  get children() {
2935
- return e[m.title];
3444
+ return e[d.title];
2936
3445
  }
2937
- }), d), S(d, () => e[m.text]), K(() => k(p, M.textContent)), p;
3446
+ }), l), w(l, () => e[d.text]), Q(() => P(s, O.textContent)), s;
2938
3447
  })()];
2939
3448
  }
2940
3449
  })
2941
3450
  });
2942
3451
  }
2943
- }), o(Y.IndicatorGroup, {
3452
+ }), o(X.IndicatorGroup, {
2944
3453
  get class() {
2945
- return M.indicators;
3454
+ return O.indicators;
2946
3455
  },
2947
3456
  get children() {
2948
- return o(ae, {
2949
- each: c,
2950
- children: (m, h) => o(Y.Indicator, {
3457
+ return o(u1, {
3458
+ each: h,
3459
+ children: (d, f) => o(X.Indicator, {
2951
3460
  get index() {
2952
- return h();
3461
+ return f();
2953
3462
  },
3463
+ readOnly: !0,
2954
3464
  get class() {
2955
- return M.indicator;
2956
- }
3465
+ return O.indicator;
3466
+ },
3467
+ "aria-hidden": !0,
3468
+ tabIndex: -1
2957
3469
  })
2958
3470
  });
2959
3471
  }
2960
- }), o(Y.Control, {
3472
+ }), o(X.Control, {
2961
3473
  get class() {
2962
- return M.controls;
3474
+ return O.controls;
2963
3475
  },
2964
3476
  get children() {
2965
- var m = l2();
2966
- return S(m, o(Y.PrevTrigger, {
3477
+ var d = Pr();
3478
+ return w(d, o(X.PrevTrigger, {
2967
3479
  get class() {
2968
- return M.buttonSecondary;
3480
+ return O.buttonSecondary;
2969
3481
  },
2970
3482
  get disabled() {
2971
- return l();
3483
+ return p();
2972
3484
  },
2973
3485
  get children() {
2974
3486
  return e.help_modal_back_btn;
2975
3487
  }
2976
- }), null), S(m, o(Y.NextTrigger, {
2977
- ref(h) {
2978
- var p = u;
2979
- typeof p == "function" ? p(h) : u = h;
3488
+ }), null), w(d, o(X.NextTrigger, {
3489
+ ref(f) {
3490
+ var s = m;
3491
+ typeof s == "function" ? s(f) : m = f;
2980
3492
  },
2981
3493
  get class() {
2982
- return M.buttonPrimary;
3494
+ return O.buttonPrimary;
2983
3495
  },
2984
3496
  onClick: () => {
2985
- r() >= c.length - 1 && s();
3497
+ r() >= h.length - 1 && u();
2986
3498
  },
2987
3499
  disabled: !1,
2988
3500
  get children() {
2989
- return f() ? e.help_modal_done_btn : e.help_modal_next_btn;
3501
+ return g() ? e.help_modal_done_btn : e.help_modal_next_btn;
2990
3502
  }
2991
- }), null), K(() => k(m, M.controlsInner)), m;
3503
+ }), null), Q(() => P(d, O.controlsInner)), d;
2992
3504
  }
2993
3505
  })];
2994
3506
  }
2995
3507
  });
2996
3508
  }
2997
3509
  });
2998
- }, d2 = (e) => {
3510
+ }, xr = (e) => {
2999
3511
  const {
3000
3512
  t
3001
- } = f1(), {
3513
+ } = me(), {
3002
3514
  store: n,
3003
- updateStore: r
3004
- } = S1(), [i, a] = Q(!1), [s, c] = Q(!1);
3005
- let f, l;
3006
- const u = () => {
3007
- f !== void 0 && (window.clearTimeout(f), f = void 0), l !== void 0 && (window.clearTimeout(l), l = void 0);
3008
- }, m = () => {
3009
- const p = n.blinkIdUxManager.getHelpTooltipHideDelay();
3010
- p && p > 0 && (l = window.setTimeout(() => {
3011
- a(!1);
3012
- }, p));
3013
- }, h = () => {
3014
- const p = n.blinkIdUxManager.getHelpTooltipShowDelay();
3015
- p && p > 0 && (f = window.setTimeout(() => {
3016
- a(!0), c(!0), m();
3017
- }, p));
3515
+ updateStore: i
3516
+ } = Te(), r = n.blinkIdUxManager.scanningSession.ping, [a, c] = Y(!1), [u, h] = Y(!1);
3517
+ let g, p;
3518
+ const m = () => {
3519
+ g !== void 0 && (window.clearTimeout(g), g = void 0), p !== void 0 && (window.clearTimeout(p), p = void 0);
3520
+ }, d = () => {
3521
+ const s = n.blinkIdUxManager.getHelpTooltipHideDelay();
3522
+ s && s > 0 && (p = window.setTimeout(() => {
3523
+ c(!1);
3524
+ }, s));
3525
+ }, f = () => {
3526
+ const s = n.blinkIdUxManager.getHelpTooltipShowDelay();
3527
+ s && s > 0 && (g = window.setTimeout(() => {
3528
+ c(!0), h(!0), d();
3529
+ }, s));
3018
3530
  };
3019
- return o1(u), q(() => {
3531
+ return oe(m), G(() => {
3020
3532
  if (!e.isProcessing) {
3021
- a(!1), c(!1), u();
3533
+ c(!1), h(!1), m();
3022
3534
  return;
3023
3535
  }
3024
- !i() && !s() && h();
3025
- }), o(s1.Root, {
3536
+ !a() && !u() && f();
3537
+ }), G(() => {
3538
+ a() && r(new H({
3539
+ eventType: "HelpTooltipDisplayed"
3540
+ }));
3541
+ }), o(le.Root, {
3026
3542
  positioning: {
3027
3543
  placement: "top-end"
3028
3544
  },
3029
3545
  get open() {
3030
- return i();
3546
+ return a();
3031
3547
  },
3032
3548
  openDelay: 300,
3033
3549
  closeDelay: 300,
3034
- onOpenChange: (p) => a(p.open),
3550
+ onOpenChange: (s) => c(s.open),
3035
3551
  get children() {
3036
- return [o(s1.Trigger, {
3552
+ return [o(le.Trigger, {
3037
3553
  part: "help-button-part",
3038
3554
  get "aria-label"() {
3039
3555
  return t.help_aria_label;
3040
3556
  },
3041
3557
  get class() {
3042
- return M.helpButton;
3558
+ return O.helpButton;
3043
3559
  },
3044
- onClick: () => r({
3560
+ onClick: () => i({
3045
3561
  showHelpModal: !0
3046
3562
  }),
3047
3563
  get children() {
3048
- return o(c2, {});
3564
+ return o(hr, {});
3049
3565
  }
3050
- }), o(s1.Positioner, {
3566
+ }), o(le.Positioner, {
3051
3567
  get children() {
3052
- return o(s1.Content, {
3568
+ return o(le.Content, {
3053
3569
  part: "help-button-tooltip-part",
3054
3570
  get class() {
3055
- return M.tooltip;
3571
+ return O.tooltip;
3056
3572
  },
3057
3573
  get children() {
3058
- return [o(s1.Arrow, {
3574
+ return [o(le.Arrow, {
3059
3575
  get class() {
3060
- return M.arrow;
3576
+ return O.arrow;
3061
3577
  },
3062
3578
  get children() {
3063
- return o(s1.ArrowTip, {});
3579
+ return o(le.ArrowTip, {});
3064
3580
  }
3065
- }), b1(() => t.help_tooltip)];
3581
+ }), Ve(() => t.help_tooltip)];
3066
3582
  }
3067
3583
  });
3068
3584
  }
3069
3585
  })];
3070
3586
  }
3071
3587
  });
3072
- }, G1 = (e) => {
3588
+ };
3589
+ var Fr = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 280 197"><path fill=#10B990 d="M150 175.5c0 7.456-6.044 13.5-13.5 13.5-7.455 0-13.5-6.044-13.5-13.5s6.045-13.5 13.5-13.5c7.456 0 13.5 6.044 13.5 13.5M239.717 153.996H36.283c-5.667 0-10.283-4.574-10.283-10.2V22.201C26 16.578 30.61 12 36.283 12h203.434C245.384 12 250 16.574 250 22.2V143.8c0 5.623-4.612 10.201-10.283 10.201zM36.283 14.324c-4.382 0-7.945 3.535-7.945 7.882v121.593c0 4.347 3.563 7.882 7.945 7.882h203.434c4.381 0 7.944-3.535 7.944-7.882V22.201c0-4.346-3.563-7.881-7.944-7.881H36.283z"></path><path fill=#fff d="M142.651 171.333a1.214 1.214 0 0 0-1.292-.246 1.2 1.2 0 0 0-.385.246l-6.234 5.962-2.715-2.596a1.214 1.214 0 0 0-1.293-.246 1.2 1.2 0 0 0-.384.246q-.167.16-.258.368a1.1 1.1 0 0 0 .258 1.236l3.516 3.366c.231.222.535.331.838.331h.075c.304 0 .607-.109.839-.331l7.035-6.727a1.1 1.1 0 0 0 .349-.802 1.106 1.106 0 0 0-.349-.802z"></path><path fill=#142641 d="M224.891 30H45.108C40.078 30 36 34.066 36 39.08v95.84c0 5.014 4.078 9.08 9.108 9.08H224.89c5.031 0 9.109-4.066 9.109-9.08V39.08c0-5.014-4.078-9.08-9.109-9.08"opacity=.3></path><path fill=#fff d="M228.892 24H49.109C44.078 24 40 28.065 40 33.08v95.84c0 5.015 4.078 9.08 9.109 9.08h179.783c5.03 0 9.108-4.065 9.108-9.08V33.08c0-5.014-4.078-9.08-9.108-9.08"></path><path fill=#142641 d="M228.741 139H49.259C43.605 139 39 134.419 39 128.785v-95.57C39 27.585 43.6 23 49.259 23H228.74C234.395 23 239 27.58 239 33.215v95.57c0 5.63-4.601 10.215-10.259 10.215M49.259 25.327c-4.372 0-7.927 3.54-7.927 7.893v95.569c0 4.353 3.555 7.893 7.927 7.893H228.74c4.371 0 7.926-3.54 7.926-7.893V33.216c0-4.353-3.555-7.893-7.926-7.893H49.259z"></path><path fill=#142641 d="M81 82c-8.82 0-16-7.178-16-16s7.18-16 16-16c8.822 0 16 7.178 16 16s-7.178 16-16 16m0-29.662c-7.533 0-13.666 6.128-13.666 13.666s6.128 13.667 13.667 13.667c7.537 0 13.666-6.129 13.666-13.667S88.539 52.338 81 52.338"></path><path fill=#142641 d="M106.989 102.79a1.167 1.167 0 0 1-1.165-1.168c0-10.42-10.878-18.895-24.248-18.895S57.33 91.2 57.33 101.622c0 .645-.522 1.168-1.165 1.168A1.166 1.166 0 0 1 55 101.622c0-11.707 11.921-21.234 26.576-21.234s26.577 9.528 26.577 21.234c0 .645-.521 1.168-1.164 1.168m101.224-43.344h-85.925a1.16 1.16 0 0 1-.823-.342 1.18 1.18 0 0 1-.342-.828c0-.645.522-1.17 1.165-1.17h85.925c.643 0 1.165.524 1.165 1.17s-.522 1.17-1.165 1.17m.176 16.485h-85.926a1.167 1.167 0 0 1-1.164-1.17c0-.645.522-1.168 1.164-1.168h85.926c.643 0 1.165.523 1.165 1.169s-.522 1.169-1.165 1.169m-23.683 16.346h-62.224a1.17 1.17 0 0 1-1.165-1.17c0-.644.523-1.168 1.165-1.168h62.224c.643 0 1.164.523 1.164 1.168 0 .646-.521 1.17-1.164 1.17m.028 30.709c-.471 0-.918-.291-1.09-.762a1.18 1.18 0 0 1 .685-1.507 15.1 15.1 0 0 0 5.44-3.545c-.755-.206-1.537-.571-2.138-1.197-.713-.748-1.048-1.74-.959-2.867.065-.889.433-1.787 1.057-2.595q.182-.237.363-.482c.592-.8 1.268-1.708 2.255-2.315 1.034-.636 2.245-.786 3.247-.398.927.355 1.617 1.146 1.938 2.231.28.935.238 1.964-.126 2.97a17 17 0 0 1-1.011 2.277 13.8 13.8 0 0 0 4.231-1.693 1.38 1.38 0 0 1 1.667.182c.447.431.555 1.119.251 1.666-.255.468-.498 1.094-.199 1.435.223.258.66.253.973.118.615-.272 1.062-.824 1.546-1.904a1.713 1.713 0 0 1 1.202-.969 1.73 1.73 0 0 1 1.514.413c1.183 1.07 2.828 1.636 4.384 1.519 1.798-.13 3.526-1.164 4.505-2.684a1.161 1.161 0 0 1 1.612-.351c.54.351.699 1.071.349 1.618-1.365 2.129-3.773 3.569-6.289 3.751a8.26 8.26 0 0 1-5.502-1.613c-.489.907-1.206 1.842-2.376 2.361-1.317.585-2.79.295-3.67-.72a2.88 2.88 0 0 1-.708-1.8 16 16 0 0 1-5.195 1.281 17.56 17.56 0 0 1-7.542 5.519 1.1 1.1 0 0 1-.405.075zm7.7-13.545c-.275 0-.591.094-.871.267-.606.369-1.09 1.024-1.602 1.716q-.197.267-.391.52c-.243.313-.537.799-.578 1.341-.047.613.158.908.316 1.072.401.421 1.212.687 2.18.73a15 15 0 0 0 1.729-3.364c.186-.524.219-1.061.084-1.505-.173-.575-.447-.683-.541-.72a.9.9 0 0 0-.326-.057m30.401-71.103H56.164A1.166 1.166 0 0 1 55 37.17c0-.646.521-1.17 1.164-1.17h166.671c.643 0 1.165.523 1.165 1.17 0 .644-.522 1.168-1.165 1.168m-115.846 81.879H56.164a1.16 1.16 0 0 1-.822-.342 1.18 1.18 0 0 1-.342-.828c0-.645.521-1.168 1.164-1.168h50.825c.643 0 1.164.523 1.164 1.168 0 .646-.521 1.17-1.164 1.17">');
3590
+ const Gr = (e = {}) => (() => {
3591
+ var t = Fr();
3592
+ return R(t, e, !0, !0), t;
3593
+ })();
3594
+ var Ur = /* @__PURE__ */ v("<div><div><div><div><p></p></div></div></div><div><button>");
3595
+ const Lr = () => {
3073
3596
  const {
3074
- t
3075
- } = f1(), {
3076
- store: n,
3077
- updateStore: r
3078
- } = S1(), i = () => {
3079
- r({
3080
- errorState: void 0,
3081
- documentFiltered: !1
3082
- });
3083
- }, a = () => {
3084
- n.cameraManagerComponent.dismount();
3085
- }, s = async () => {
3086
- i(), e.shouldResetScanningSession && await n.blinkIdUxManager.resetScanningSession(!1), await n.blinkIdUxManager.cameraManager.startFrameCapture();
3597
+ t: e
3598
+ } = me(), {
3599
+ store: t,
3600
+ updateStore: n
3601
+ } = Te(), i = t.blinkIdUxManager.scanningSession.ping, r = () => t.showOnboardingGuide, a = () => {
3602
+ n({
3603
+ showOnboardingGuide: !1
3604
+ }), t.blinkIdUxManager.cameraManager.startFrameCapture();
3087
3605
  };
3088
- return o(R0, {
3606
+ G(() => {
3607
+ r() && i(new H({
3608
+ eventType: "OnboardingInfoDisplayed"
3609
+ }));
3610
+ });
3611
+ let c;
3612
+ return o(c1, {
3089
3613
  get mountTarget() {
3090
- return n.cameraManagerComponent.overlayLayerNode;
3091
- },
3092
- get header() {
3093
- return e.header;
3094
- },
3095
- get text() {
3096
- return e.text;
3614
+ return t.cameraManagerComponent.overlayLayerNode;
3097
3615
  },
3098
- open: !0,
3099
- onPrimaryClick: () => void s(),
3100
- onSecondaryClick: () => a(),
3101
- get primaryButtonText() {
3102
- return t.alert_retry_btn;
3616
+ get open() {
3617
+ return r();
3103
3618
  },
3104
- get secondaryButtonText() {
3105
- return t.alert_cancel_btn;
3619
+ modalStyle: "large",
3620
+ get children() {
3621
+ var u = Ur(), h = u.firstChild, g = h.firstChild, p = g.firstChild, m = p.firstChild, d = h.nextSibling, f = d.firstChild;
3622
+ w(g, o(Gr, {
3623
+ "aria-hidden": !0
3624
+ }), p), w(p, o(L1, {
3625
+ get children() {
3626
+ return e.onboarding_modal_title;
3627
+ }
3628
+ }), m), w(m, () => e.onboarding_modal_details), f.$$click = () => a();
3629
+ var s = c;
3630
+ return typeof s == "function" ? i1(s, f) : c = f, w(f, () => e.onboarding_modal_btn), Q((l) => {
3631
+ var S = O.onboardingGuide, T = O.content, z = O.header, V = O.textContent, U = O.actions, A = O.buttonPrimary;
3632
+ return S !== l.e && P(u, l.e = S), T !== l.t && P(h, l.t = T), z !== l.a && P(g, l.a = z), V !== l.o && P(p, l.o = V), U !== l.i && P(d, l.i = U), A !== l.n && P(f, l.n = A), l;
3633
+ }, {
3634
+ e: void 0,
3635
+ t: void 0,
3636
+ a: void 0,
3637
+ o: void 0,
3638
+ i: void 0,
3639
+ n: void 0
3640
+ }), u;
3106
3641
  }
3107
3642
  });
3108
3643
  };
3109
- var f2 = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 250 35"><g fill=#0062F2 clip-path=url(#a)><path fill-rule=evenodd d="m30.827 6.401 4.006 9.975a3.44 3.44 0 0 1-.03 2.648l-4.24 9.882a3.46 3.46 0 0 1-1.896 1.848l-10.003 3.998a3.47 3.47 0 0 1-2.651-.03L6.107 30.49a3.46 3.46 0 0 1-1.852-1.892L.249 18.621a3.45 3.45 0 0 1 .03-2.645l4.24-9.883a3.46 3.46 0 0 1 1.896-1.848L16.417.248a3.47 3.47 0 0 1 2.652.03l9.905 4.23a3.46 3.46 0 0 1 1.853 1.893m-5.763 17.945c.771-.396 1.612-.827 2.534-1.331 1.52-.826 2.624-2.255 2.905-3.561.308-1.32-.213-2.516-1.256-3.172-2.383-1.523-3.362-3.42-4.842-6.291-.397-.769-.83-1.607-1.334-2.526-.824-1.517-2.256-2.621-3.565-2.898-1.323-.308-2.522.211-3.18 1.253-1.526 2.376-3.428 3.352-6.304 4.829-.77.395-1.611.827-2.534 1.33-1.52.828-2.626 2.256-2.905 3.563-.308 1.318.212 2.516 1.256 3.171 2.383 1.523 3.362 3.42 4.842 6.291.397.769.829 1.607 1.334 2.526.824 1.517 2.256 2.621 3.565 2.898 1.323.308 2.522-.21 3.18-1.252 1.526-2.378 3.428-3.354 6.304-4.83"clip-rule=evenodd></path><path d="M62.466 23.715 55.704 6.373H51.2v22.57h3.073V11.192l7.007 17.846h2.242l7.07-18.005v17.91h3.168V6.373h-4.534zM83.133 6.373h-3.325v22.57h3.324zM127.593 17.637a7.42 7.42 0 0 0 1.38-4.363c0-1.847-.795-3.57-2.24-4.853-1.49-1.32-3.561-2.045-5.84-2.045h-9.178v22.57h3.325v-8.072h5.385l4.698 8.069h3.946l-5.027-8.624a7.66 7.66 0 0 0 3.551-2.682m-2.008-4.331a4.5 4.5 0 0 1-.323 1.729 4.4 4.4 0 0 1-.961 1.464c-.846.845-2.034 1.31-3.344 1.31h-5.921V9.471h5.921c2.638 0 4.628 1.648 4.628 3.835M143.07 5.991c-3.121 0-5.934 1.224-7.934 3.445-1.924 2.142-2.984 5.062-2.984 8.221 0 3.16 1.06 6.095 2.984 8.234 1.993 2.214 4.81 3.43 7.934 3.43 3.137 0 5.965-1.22 7.961-3.43 1.927-2.136 2.988-5.06 2.988-8.234 0-3.173-1.061-6.08-2.987-8.22-2.001-2.225-4.828-3.446-7.962-3.446m0 20.17a7 7 0 0 1-2.969-.646 7.1 7.1 0 0 1-2.433-1.846c-1.372-1.58-2.127-3.716-2.127-6.012s.755-4.415 2.127-6c1.397-1.615 3.315-2.504 5.402-2.504s4.013.889 5.418 2.505c1.381 1.59 2.143 3.718 2.143 6 0 2.28-.761 4.428-2.143 6.011a7.2 7.2 0 0 1-2.442 1.845c-.935.43-1.95.651-2.976.648M172.244 17.103c1.939-1.087 3.091-2.995 3.091-5.132 0-3.296-2.885-5.598-7.006-5.598h-9.75v22.57h10.22c4.06 0 7.006-2.743 7.006-6.521.003-2.267-1.358-4.29-3.561-5.319m-3.348 8.742h-6.994v-7.003h6.518c2.39 0 3.998 1.3 3.998 3.232.002 2.29-1.382 3.77-3.522 3.77m-.852-10.04h-6.142V9.472h6.518c2.143 0 3.524 1.13 3.524 2.882.003 1.72-1.204 3.453-3.9 3.453zM183.92 6.373h-3.326v22.57h14.551V25.78H183.92zM202.18 6.373h-3.326v22.57h3.326zM223.067 23.071 211.48 6.443l-.05-.07h-3.214v22.57h3.136V11.418l12.205 17.525h2.646V6.373h-3.136zM241.061 16.303l8.702-9.93h-4.068L235.56 17.918V6.373h-3.326v22.57h3.326V22.39l3.226-3.641 7.182 10.193H250zM104.791 21.307c-1.483 3.425-3.386 4.887-6.377 4.887-2.043 0-3.915-.886-5.27-2.494-1.334-1.584-2.07-3.73-2.07-6.043 0-2.295.72-4.427 2.023-6.003 1.336-1.613 3.19-2.501 5.224-2.501 2.754 0 4.768 1.393 6.158 4.258l.059.122h3.479l-.016-.098c-.083-.476-.254-.92-.42-1.357l-.053-.141a9.3 9.3 0 0 0-3.561-4.367c-1.603-1.048-3.535-1.579-5.741-1.579-3.017 0-5.739 1.224-7.666 3.448-1.853 2.14-2.874 5.059-2.874 8.218 0 3.202 1.026 6.134 2.89 8.255 1.963 2.233 4.65 3.412 7.775 3.412 2.189 0 4.113-.575 5.718-1.71q.406-.286.777-.615c1.628-1.437 2.861-3.481 3.297-5.468l.011-.052q.023-.103.039-.206l.017-.098h-3.366z"></path></g><defs><clipPath id=a><path fill=#fff d="M0 0h250v35H0z">');
3110
- const g2 = (e = {}) => (() => {
3111
- var t = f2();
3112
- return R(t, e, !0, !0), t;
3113
- })();
3114
- var m2 = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 95 28"><path fill=#fff d="M25.088 7.572c1.314 0 2.178-.891 2.178-2.16 0-1.287-.855-2.151-2.178-2.151h-2.601V9.84h1.152V7.572zm-.225-3.285c.765 0 1.197.396 1.197 1.116s-.423 1.143-1.215 1.143h-1.206v-2.26zM27.772 7.608c0 1.386.999 2.34 2.376 2.34s2.376-.954 2.376-2.34-.999-2.34-2.376-2.34-2.376.954-2.376 2.34m1.098 0c0-.81.522-1.36 1.278-1.36s1.278.55 1.278 1.36-.522 1.359-1.278 1.359-1.278-.55-1.278-1.36M34.336 9.84h1.07l.613-1.908c.225-.73.306-1.044.35-1.251.037.225.136.648.316 1.233l.612 1.926h1.026l1.539-4.446H38.7l-.594 1.908c-.081.279-.225.81-.297 1.143a16 16 0 0 0-.288-1.143l-.594-1.908h-1.116L35.2 7.302c-.144.44-.225.72-.306 1.152a15 15 0 0 0-.27-1.152l-.585-1.908h-1.143zM42.476 9.957c1.16 0 1.97-.585 2.16-1.557h-1.017c-.126.423-.522.657-1.125.657-.73 0-1.143-.396-1.224-1.18l3.348-.008v-.333c0-1.386-.846-2.277-2.178-2.277-1.305 0-2.214.963-2.214 2.358 0 1.377.927 2.34 2.25 2.34m-.027-3.798c.657 0 1.08.405 1.08 1.017h-2.232c.108-.666.504-1.017 1.152-1.017M48.467 5.376a2 2 0 0 0-.486-.063c-.595 0-1.017.297-1.206.738l-.063-.648h-1.036V9.84h1.099V7.68c0-.864.495-1.287 1.287-1.287h.405zM51.23 9.957c1.16 0 1.97-.585 2.16-1.557h-1.018c-.126.423-.522.657-1.125.657-.729 0-1.143-.396-1.224-1.18l3.348-.008v-.333c0-1.386-.846-2.277-2.178-2.277-1.305 0-2.214.963-2.214 2.358 0 1.377.927 2.34 2.25 2.34m-.028-3.798c.657 0 1.08.405 1.08 1.017H50.05c.108-.666.504-1.017 1.152-1.017M56.257 9.957c.675 0 1.251-.297 1.521-.81l.072.693h1.008V3.144h-1.089V5.96c-.279-.441-.828-.702-1.449-.702-1.341 0-2.151.99-2.151 2.376 0 1.377.801 2.322 2.088 2.322m.243-1.008c-.765 0-1.233-.558-1.233-1.35s.468-1.36 1.233-1.36 1.26.559 1.26 1.36c0 .8-.495 1.35-1.26 1.35M63.805 9.84l.072-.693c.261.513.828.81 1.494.81 1.278 0 2.115-.945 2.115-2.313 0-1.404-.774-2.394-2.043-2.394-.675 0-1.269.297-1.557.792V3.144h-1.098V9.84zm.09-2.241c0-.801.495-1.36 1.251-1.36.774 0 1.233.568 1.233 1.36s-.459 1.35-1.233 1.35c-.756 0-1.25-.55-1.25-1.35M67.986 11.9c.243.064.513.1.82.1.728 0 1.196-.342 1.53-1.17l2.177-5.436H71.38l-1.206 3.24-1.143-3.24h-1.16l1.79 4.635-.126.333c-.189.522-.459.62-.89.62h-.658z"></path><g fill=#fff clip-path=url(#a)><path d="m9.816 23.595-2.89-7.432H5v9.673h1.314v-7.608l2.996 7.649h.958l3.023-7.717v7.676h1.355v-9.673h-1.939zM18.653 16.163H17.23v9.673h1.422zM37.663 20.991a3.2 3.2 0 0 0 .59-1.87c0-.791-.34-1.53-.958-2.08-.637-.565-1.523-.876-2.497-.876h-3.924v9.673h1.421v-3.46h2.303l2.009 3.459h1.687l-2.15-3.696a3.3 3.3 0 0 0 1.519-1.15m-.86-1.856a1.93 1.93 0 0 1-.548 1.369c-.362.362-.87.561-1.43.561h-2.532v-3.573h2.532c1.128 0 1.979.706 1.979 1.643M44.28 16c-1.334 0-2.537.525-3.392 1.477-.822.918-1.276 2.169-1.276 3.523s.453 2.612 1.276 3.529c.852.948 2.057 1.47 3.392 1.47 1.341 0 2.55-.523 3.404-1.47.824-.916 1.278-2.17 1.278-3.53s-.454-2.605-1.278-3.522C46.83 16.523 45.62 16 44.28 16m0 8.645a3 3 0 0 1-1.27-.278 3.05 3.05 0 0 1-1.04-.79c-.586-.678-.909-1.593-.909-2.577s.323-1.892.91-2.572a3.02 3.02 0 0 1 2.31-1.073c.892 0 1.715.381 2.316 1.074.59.68.916 1.593.916 2.57 0 .979-.325 1.899-.916 2.578a3.1 3.1 0 0 1-1.044.79c-.4.184-.834.28-1.273.278M56.754 20.762c.83-.466 1.322-1.284 1.322-2.2 0-1.412-1.233-2.399-2.995-2.399h-4.17v9.673h4.37c1.736 0 2.996-1.175 2.996-2.795.001-.97-.581-1.838-1.523-2.279m-1.431 3.746h-2.99v-3h2.786c1.022 0 1.71.556 1.71 1.384 0 .982-.591 1.616-1.506 1.616m-.364-4.302h-2.627V17.49h2.787c.916 0 1.507.485 1.507 1.236.001.736-.515 1.48-1.667 1.48zM61.746 16.163h-1.422v9.673h6.222v-1.355h-4.8zM69.554 16.163h-1.422v9.673h1.422zM78.484 23.32l-4.954-7.127-.021-.03h-1.375v9.673h1.341v-7.51l5.219 7.51h1.131v-9.673h-1.34zM86.178 20.419l3.72-4.256H88.16l-4.333 4.948v-4.948h-1.422v9.673h1.422v-2.808l1.38-1.56 3.07 4.368H90zM27.913 22.564c-.634 1.468-1.448 2.094-2.726 2.094-.874 0-1.674-.38-2.253-1.069-.571-.678-.885-1.598-.885-2.59 0-.983.307-1.896.864-2.572.571-.691 1.364-1.072 2.234-1.072 1.177 0 2.039.597 2.633 1.825l.025.052h1.488l-.007-.042c-.036-.204-.109-.394-.18-.581l-.023-.06a3.98 3.98 0 0 0-1.522-1.872c-.685-.45-1.511-.677-2.455-.677-1.29 0-2.453.525-3.277 1.478-.793.917-1.23 2.168-1.23 3.522 0 1.372.44 2.628 1.237 3.538.839.956 1.988 1.462 3.324 1.462.936 0 1.758-.247 2.445-.733q.173-.123.332-.264c.696-.616 1.223-1.491 1.41-2.343l.004-.022q.01-.045.017-.089l.007-.041h-1.439z"></path></g><defs><clipPath id=a><path fill=#fff d="M5 16h85v10H5z">');
3115
- const p2 = (e = {}) => (() => {
3116
- var t = m2();
3117
- return R(t, e, !0, !0), t;
3118
- })(), _2 = "_demoOverlay_17vst_1", v2 = "_microblinkOverlay_17vst_5", be = {
3119
- demoOverlay: _2,
3120
- microblinkOverlay: v2
3644
+ x1(["click"]);
3645
+ const Hr = "_demoOverlay_17vst_1", Br = "_microblinkOverlay_17vst_5", k1 = {
3646
+ demoOverlay: Hr,
3647
+ microblinkOverlay: Br
3121
3648
  };
3122
- var y2 = /* @__PURE__ */ v("<div><style id=blinkid-ux-manager-style>"), Ce = /* @__PURE__ */ v("<div>");
3123
- const w2 = (e) => {
3649
+ var $r = /* @__PURE__ */ v("<div><style id=blinkid-ux-manager-style>"), R1 = /* @__PURE__ */ v("<div>");
3650
+ const zr = (e) => {
3124
3651
  const {
3125
3652
  store: t,
3126
3653
  updateStore: n
3127
- } = S1(), [r, i] = Q(t.blinkIdUxManager.uiState);
3128
- q(() => {
3129
- const u = t.blinkIdUxManager.addOnErrorCallback((m) => {
3654
+ } = Te(), [i, r] = Y(t.blinkIdUxManager.uiState);
3655
+ G(() => {
3656
+ const d = t.blinkIdUxManager.addOnErrorCallback((f) => {
3130
3657
  n({
3131
- errorState: m
3658
+ errorState: f
3132
3659
  });
3133
3660
  });
3134
- o1(() => u());
3135
- }), q(() => {
3136
- const u = t.blinkIdUxManager.addOnDocumentFilteredCallback((m) => {
3661
+ oe(() => d());
3662
+ }), G1(() => {
3663
+ const d = t.cameraManagerComponent.addOnDismountCallback(() => {
3664
+ d(), t.cameraManagerComponent.cameraManager.userInitiatedAbort && t.blinkIdUxManager.scanningSession.ping(new H({
3665
+ eventType: "CloseButtonClicked"
3666
+ }));
3667
+ });
3668
+ }), G(() => {
3669
+ const d = t.blinkIdUxManager.addOnDocumentFilteredCallback(() => {
3137
3670
  n({
3138
3671
  documentFiltered: !0
3139
- });
3672
+ }), t.blinkIdUxManager.scanningSession.ping(new H({
3673
+ eventType: "AlertDisplayed",
3674
+ alertType: "DocumentClassNotAllowed"
3675
+ }));
3140
3676
  });
3141
- o1(() => u());
3677
+ oe(() => d());
3142
3678
  });
3143
- const a = ct(st)((u) => u.playbackState), s = () => a() === "capturing", c = () => s() || J1.includes(r().key) || r().key === "DOCUMENT_CAPTURED", f = () => t.blinkIdUxManager.getShowDemoOverlay(), l = () => t.blinkIdUxManager.getShowProductionOverlay();
3144
- return q(() => {
3145
- const u = t.blinkIdUxManager.addOnUiStateChangedCallback((m) => {
3146
- i(m);
3147
- });
3148
- o1(() => u());
3679
+ const a = wt(St)((d) => d.playbackState), c = () => a() === "capturing", u = () => c() || ye.includes(i().key) || i().key === "DOCUMENT_CAPTURED", h = () => t.showTimeoutModal && t.errorState === "timeout", g = () => t.blinkIdUxManager.getShowDemoOverlay(), p = () => t.blinkIdUxManager.getShowProductionOverlay(), m = (d) => {
3680
+ r(d);
3681
+ };
3682
+ return G(() => {
3683
+ const d = t.blinkIdUxManager.addOnUiStateChangedCallback(m);
3684
+ oe(() => d());
3685
+ }), G(() => {
3686
+ h() && t.blinkIdUxManager.scanningSession.ping(new H({
3687
+ eventType: "AlertDisplayed",
3688
+ alertType: "StepTimeout"
3689
+ }));
3149
3690
  }), (() => {
3150
- var u = y2(), m = u.firstChild;
3151
- return k1((h) => {
3152
- window.__blinkidUxManagerCssCode && (h.innerHTML = window.__blinkidUxManagerCssCode);
3153
- }, m), S(u, o(At, {
3691
+ var d = $r(), f = d.firstChild;
3692
+ return i1((s) => {
3693
+ window.__blinkidUxManagerCssCode && (s.innerHTML = window.__blinkidUxManagerCssCode);
3694
+ }, f), w(d, o(Yt, {
3154
3695
  get userStrings() {
3155
3696
  return e.localization;
3156
3697
  },
3157
3698
  get children() {
3158
- return [o(Xe, {
3699
+ return [o(ot, {
3159
3700
  children: () => {
3160
3701
  const {
3161
- t: h
3162
- } = f1();
3163
- return [o(Ae, {
3702
+ t: s
3703
+ } = me();
3704
+ return [o(F1, {
3164
3705
  get children() {
3165
- return [o(W, {
3706
+ return [o(q, {
3166
3707
  get when() {
3167
- return t.showTimeoutModal && t.errorState === "timeout";
3708
+ return h();
3168
3709
  },
3169
3710
  get children() {
3170
- return o(G1, {
3711
+ return o(ze, {
3171
3712
  get header() {
3172
- return h.scan_unsuccessful;
3713
+ return s.scan_unsuccessful;
3173
3714
  },
3174
3715
  get text() {
3175
- return h.scan_unsuccessful_details;
3716
+ return s.scan_unsuccessful_details;
3176
3717
  },
3177
3718
  shouldResetScanningSession: !0
3178
3719
  });
3179
3720
  }
3180
- }), o(W, {
3721
+ }), o(q, {
3181
3722
  get when() {
3182
- return b1(() => !!t.showUnsupportedDocumentModal)() && r().key === "UNSUPPORTED_DOCUMENT";
3723
+ return t.showUnsupportedDocumentModal && t.errorState === "unsupported_document";
3183
3724
  },
3184
3725
  get children() {
3185
- return o(G1, {
3726
+ return o(ze, {
3186
3727
  get header() {
3187
- return h.document_not_recognized;
3728
+ return s.document_not_recognized;
3188
3729
  },
3189
3730
  get text() {
3190
- return h.document_not_recognized_details;
3731
+ return s.document_not_recognized_details;
3191
3732
  },
3192
3733
  shouldResetScanningSession: !0
3193
3734
  });
3194
3735
  }
3195
- }), o(W, {
3736
+ }), o(q, {
3196
3737
  get when() {
3197
3738
  return t.showDocumentFilteredModal && t.documentFiltered;
3198
3739
  },
3199
3740
  get children() {
3200
- return o(G1, {
3741
+ return o(ze, {
3201
3742
  get header() {
3202
- return h.document_filtered;
3743
+ return s.document_filtered;
3203
3744
  },
3204
3745
  get text() {
3205
- return h.document_filtered_details;
3746
+ return s.document_filtered_details;
3206
3747
  },
3207
3748
  shouldResetScanningSession: !0
3208
3749
  });
3209
3750
  }
3210
3751
  })];
3211
3752
  }
3212
- }), o(U, {
3753
+ }), o(L, {
3213
3754
  get when() {
3214
- return c();
3755
+ return u();
3215
3756
  },
3216
3757
  get children() {
3217
- return o(n0, {
3758
+ return o(Ti, {
3218
3759
  get uiState() {
3219
- return r();
3760
+ return i();
3220
3761
  }
3221
3762
  });
3222
3763
  }
3223
- }), o(U, {
3764
+ }), o(L, {
3224
3765
  get when() {
3225
- return f();
3766
+ return g();
3226
3767
  },
3227
3768
  get children() {
3228
- var p = Ce();
3229
- return S(p, o(g2, {
3230
- width: "250"
3231
- })), K(() => k(p, be.demoOverlay)), p;
3769
+ var l = R1();
3770
+ return w(l, o(Ni, {
3771
+ width: "250",
3772
+ "aria-hidden": !0
3773
+ })), Q(() => P(l, k1.demoOverlay)), l;
3232
3774
  }
3233
- }), o(U, {
3775
+ }), o(L, {
3234
3776
  get when() {
3235
- return l();
3777
+ return p();
3236
3778
  },
3237
3779
  get children() {
3238
- var p = Ce();
3239
- return S(p, o(p2, {
3240
- width: "100"
3241
- })), K(() => k(p, be.microblinkOverlay)), p;
3780
+ var l = R1();
3781
+ return w(l, o(Fi, {
3782
+ width: "100",
3783
+ "aria-hidden": !0
3784
+ })), Q(() => P(l, k1.microblinkOverlay)), l;
3242
3785
  }
3243
- }), o(U, {
3786
+ }), o(L, {
3244
3787
  get when() {
3245
3788
  return t.showHelpButton;
3246
3789
  },
3247
3790
  get children() {
3248
- return o(d2, {
3791
+ return o(xr, {
3249
3792
  get isProcessing() {
3250
- return s();
3793
+ return c();
3251
3794
  }
3252
3795
  });
3253
3796
  }
3254
3797
  })];
3255
3798
  }
3256
- }), o(e2, {}), o(h2, {})];
3799
+ }), o(Lr, {}), o(Nr, {})];
3257
3800
  }
3258
- }), null), u;
3801
+ }), null), d;
3259
3802
  })();
3260
3803
  };
3261
- function k2(e, t, {
3262
- localizationStrings: n,
3263
- // todo - implement this
3264
- preserveSdkInstance: r,
3265
- showOnboardingGuide: i = !0,
3266
- showHelpButton: a = !0,
3267
- showDocumentFilteredModal: s = !0,
3268
- showTimeoutModal: c = !0,
3269
- showUnsupportedDocumentModal: f = !0
3270
- } = {}) {
3271
- const l = {
3804
+ function lt(e) {
3805
+ return Object.prototype.toString.call(e).slice(8, -1);
3806
+ }
3807
+ function Ce(e) {
3808
+ if (lt(e) !== "Object")
3809
+ return !1;
3810
+ const t = Object.getPrototypeOf(e);
3811
+ return !!t && t.constructor === Object && t === Object.prototype;
3812
+ }
3813
+ function P1(e) {
3814
+ return lt(e) === "Symbol";
3815
+ }
3816
+ function I1(e, t, n, i) {
3817
+ const r = {}.propertyIsEnumerable.call(i, t) ? "enumerable" : "nonenumerable";
3818
+ r === "enumerable" && (e[t] = n), r === "nonenumerable" && Object.defineProperty(e, t, {
3819
+ value: n,
3820
+ enumerable: !1,
3821
+ writable: !0,
3822
+ configurable: !0
3823
+ });
3824
+ }
3825
+ function ut(e, t, n) {
3826
+ if (!Ce(t))
3827
+ return t;
3828
+ let i = {};
3829
+ if (Ce(e)) {
3830
+ const u = Object.getOwnPropertyNames(e), h = Object.getOwnPropertySymbols(e);
3831
+ i = [...u, ...h].reduce((g, p) => {
3832
+ const m = e[p];
3833
+ return (!P1(p) && !Object.getOwnPropertyNames(t).includes(p) || P1(p) && !Object.getOwnPropertySymbols(t).includes(p)) && I1(g, p, m, e), g;
3834
+ }, {});
3835
+ }
3836
+ const r = Object.getOwnPropertyNames(t), a = Object.getOwnPropertySymbols(t);
3837
+ return [...r, ...a].reduce((u, h) => {
3838
+ let g = t[h];
3839
+ const p = Ce(e) ? e[h] : void 0;
3840
+ return p !== void 0 && Ce(g) && (g = ut(p, g)), I1(u, h, g, t), u;
3841
+ }, i);
3842
+ }
3843
+ function Vr(e, ...t) {
3844
+ return t.reduce((n, i) => ut(n, i), e);
3845
+ }
3846
+ const Wr = {
3847
+ localizationStrings: {},
3848
+ preserveSdkInstance: !1,
3849
+ showOnboardingGuide: !0,
3850
+ showHelpButton: !0,
3851
+ showDocumentFilteredModal: !0,
3852
+ showTimeoutModal: !0,
3853
+ showUnsupportedDocumentModal: !0,
3854
+ showHelpTooltipTimeout: 3e3
3855
+ };
3856
+ function na(e, t, n) {
3857
+ const i = {
3272
3858
  current: () => {
3273
3859
  }
3274
- };
3860
+ }, r = Vr(Wr, n);
3275
3861
  t.addOnDismountCallback(() => {
3276
- l.current();
3862
+ i.current();
3277
3863
  });
3278
- const u = Mt(() => o(u0, {
3864
+ const a = qt(() => o(Gi, {
3279
3865
  blinkIdUxManager: e,
3280
3866
  cameraManagerComponent: t,
3281
- showOnboardingGuide: i,
3282
- showHelpButton: a,
3283
- showDocumentFilteredModal: s,
3284
- showTimeoutModal: c,
3285
- showUnsupportedDocumentModal: f,
3286
- dismountFeedbackUi: () => l.current(),
3867
+ get showOnboardingGuide() {
3868
+ return r.showOnboardingGuide;
3869
+ },
3870
+ get showHelpButton() {
3871
+ return r.showHelpButton;
3872
+ },
3873
+ get showDocumentFilteredModal() {
3874
+ return r.showDocumentFilteredModal;
3875
+ },
3876
+ get showTimeoutModal() {
3877
+ return r.showTimeoutModal;
3878
+ },
3879
+ get showUnsupportedDocumentModal() {
3880
+ return r.showUnsupportedDocumentModal;
3881
+ },
3882
+ get showHelpTooltipTimeout() {
3883
+ return r.showHelpTooltipTimeout;
3884
+ },
3885
+ dismountFeedbackUi: () => i.current(),
3287
3886
  get children() {
3288
- return o(w2, {
3289
- localization: n
3887
+ return o(zr, {
3888
+ get localization() {
3889
+ return r.localizationStrings;
3890
+ }
3290
3891
  });
3291
3892
  }
3292
3893
  }), t.feedbackLayerNode, t.owner);
3293
- return l.current = u, u;
3894
+ return i.current = a, a;
3294
3895
  }
3295
- const Ze = Symbol();
3296
- globalThis.__BLINKID_UX_MANAGER__ ||= Ze;
3297
- globalThis.__BLINKID_UX_MANAGER__ !== Ze && console.warn(
3896
+ const dt = Symbol();
3897
+ globalThis.__BLINKID_UX_MANAGER__ ||= dt;
3898
+ globalThis.__BLINKID_UX_MANAGER__ !== dt && console.warn(
3298
3899
  "Detected multiple instances of @microblink/blinkid-ux-manager. This can lead to unexpected behavior."
3299
3900
  );
3300
3901
  export {
3301
- D2 as BlinkIdUxManager,
3302
- l1 as blinkIdUiStateMap,
3303
- k2 as createBlinkIdFeedbackUi,
3304
- J1 as firstSideCapturedStates,
3305
- Tt as getUiStateKey
3902
+ ta as BlinkIdUxManager,
3903
+ Wt as HAPTIC_FEEDBACK_CONFIGS,
3904
+ Kt as HapticFeedbackManager,
3905
+ ce as blinkIdUiStateMap,
3906
+ na as createBlinkIdFeedbackUi,
3907
+ Ft as errorUiStateKeys,
3908
+ ye as firstSideCapturedUiStateKeys,
3909
+ Gt as getUiStateKey
3306
3910
  };