@ha_tecno/live-id-sdk 2.12.3 → 2.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (220) hide show
  1. package/lib/commonjs/@types/declarations.d.js +2 -0
  2. package/lib/commonjs/@types/declarations.d.js.map +1 -0
  3. package/lib/commonjs/assets/svg/exampleCalibration1.svg +9 -0
  4. package/lib/commonjs/assets/svg/exampleCalibration2.svg +9 -0
  5. package/lib/commonjs/assets/svg/fingerPrint.svg +30 -0
  6. package/lib/commonjs/assets/svg/fingerPrintWithMask.svg +34 -0
  7. package/lib/commonjs/assets/svg/selfieStick.svg +167 -0
  8. package/lib/commonjs/components/HACaptureInstructions/HACaptureInstructions.js +52 -0
  9. package/lib/commonjs/components/HACaptureInstructions/HACaptureInstructions.js.map +1 -0
  10. package/lib/commonjs/components/HACaptureInstructions/HACard/HACard.js +49 -0
  11. package/lib/commonjs/components/HACaptureInstructions/HACard/HACard.js.map +1 -0
  12. package/lib/commonjs/components/HACaptureInstructions/HACard/styles.js +37 -0
  13. package/lib/commonjs/components/HACaptureInstructions/HACard/styles.js.map +1 -0
  14. package/lib/commonjs/components/HACaptureInstructions/data.js +25 -0
  15. package/lib/commonjs/components/HACaptureInstructions/data.js.map +1 -0
  16. package/lib/commonjs/components/HACaptureInstructions/style.js +32 -0
  17. package/lib/commonjs/components/HACaptureInstructions/style.js.map +1 -0
  18. package/lib/commonjs/components/HACarouselCalibration/HACarouselCalibration.js +81 -0
  19. package/lib/commonjs/components/HACarouselCalibration/HACarouselCalibration.js.map +1 -0
  20. package/lib/commonjs/components/HACarouselCalibration/HACarouselItem/HACarouselItem.js +81 -0
  21. package/lib/commonjs/components/HACarouselCalibration/HACarouselItem/HACarouselItem.js.map +1 -0
  22. package/lib/commonjs/components/HACarouselCalibration/HACarouselItem/styles.js +49 -0
  23. package/lib/commonjs/components/HACarouselCalibration/HACarouselItem/styles.js.map +1 -0
  24. package/lib/commonjs/components/HACarouselCalibration/HAPagination/HAPagination.js +46 -0
  25. package/lib/commonjs/components/HACarouselCalibration/HAPagination/HAPagination.js.map +1 -0
  26. package/lib/commonjs/components/HACarouselCalibration/HAPagination/styles.js +22 -0
  27. package/lib/commonjs/components/HACarouselCalibration/HAPagination/styles.js.map +1 -0
  28. package/lib/commonjs/components/HACarouselCalibration/data.js +28 -0
  29. package/lib/commonjs/components/HACarouselCalibration/data.js.map +1 -0
  30. package/lib/commonjs/components/Typograph/typograph.js +28 -0
  31. package/lib/commonjs/components/Typograph/typograph.js.map +1 -0
  32. package/lib/commonjs/components/index.js +28 -0
  33. package/lib/commonjs/components/index.js.map +1 -1
  34. package/lib/commonjs/index.js +25 -0
  35. package/lib/commonjs/index.js.map +1 -1
  36. package/lib/commonjs/screens/RegisterOperations/registerOperationPointsBiometrics.js +185 -0
  37. package/lib/commonjs/screens/RegisterOperations/registerOperationPointsBiometrics.js.map +1 -0
  38. package/lib/commonjs/screens/RegisterOperations/registerOperationPointsLifeCertificate.js +165 -0
  39. package/lib/commonjs/screens/RegisterOperations/registerOperationPointsLifeCertificate.js.map +1 -0
  40. package/lib/commonjs/screens/RegisterOperations/styles.js +47 -0
  41. package/lib/commonjs/screens/RegisterOperations/styles.js.map +1 -0
  42. package/lib/commonjs/screens/index.js +14 -0
  43. package/lib/commonjs/screens/index.js.map +1 -1
  44. package/lib/commonjs/services/index.js +18 -0
  45. package/lib/commonjs/services/index.js.map +1 -1
  46. package/lib/commonjs/services/services.js +106 -1
  47. package/lib/commonjs/services/services.js.map +1 -1
  48. package/lib/commonjs/store/modules/operationPoints/index.js +19 -0
  49. package/lib/commonjs/store/modules/operationPoints/index.js.map +1 -0
  50. package/lib/commonjs/store/modules/operationPoints/selectors.js +13 -0
  51. package/lib/commonjs/store/modules/operationPoints/selectors.js.map +1 -0
  52. package/lib/commonjs/store/modules/operationPoints/slice.js +233 -0
  53. package/lib/commonjs/store/modules/operationPoints/slice.js.map +1 -0
  54. package/lib/commonjs/store/modules/operationPoints/types.js +2 -0
  55. package/lib/commonjs/store/modules/operationPoints/types.js.map +1 -0
  56. package/lib/commonjs/theme/colors.js +19 -0
  57. package/lib/commonjs/theme/colors.js.map +1 -0
  58. package/lib/commonjs/theme/theme.js +25 -0
  59. package/lib/commonjs/theme/theme.js.map +1 -0
  60. package/lib/commonjs/utils/index.js +12 -0
  61. package/lib/commonjs/utils/index.js.map +1 -1
  62. package/lib/commonjs/utils/utils.js +9 -1
  63. package/lib/commonjs/utils/utils.js.map +1 -1
  64. package/lib/module/@types/declarations.d.js +2 -0
  65. package/lib/module/@types/declarations.d.js.map +1 -0
  66. package/lib/module/assets/svg/exampleCalibration1.svg +9 -0
  67. package/lib/module/assets/svg/exampleCalibration2.svg +9 -0
  68. package/lib/module/assets/svg/fingerPrint.svg +30 -0
  69. package/lib/module/assets/svg/fingerPrintWithMask.svg +34 -0
  70. package/lib/module/assets/svg/selfieStick.svg +167 -0
  71. package/lib/module/components/HACaptureInstructions/HACaptureInstructions.js +45 -0
  72. package/lib/module/components/HACaptureInstructions/HACaptureInstructions.js.map +1 -0
  73. package/lib/module/components/HACaptureInstructions/HACard/HACard.js +41 -0
  74. package/lib/module/components/HACaptureInstructions/HACard/HACard.js.map +1 -0
  75. package/lib/module/components/HACaptureInstructions/HACard/styles.js +31 -0
  76. package/lib/module/components/HACaptureInstructions/HACard/styles.js.map +1 -0
  77. package/lib/module/components/HACaptureInstructions/data.js +18 -0
  78. package/lib/module/components/HACaptureInstructions/data.js.map +1 -0
  79. package/lib/module/components/HACaptureInstructions/style.js +26 -0
  80. package/lib/module/components/HACaptureInstructions/style.js.map +1 -0
  81. package/lib/module/components/HACarouselCalibration/HACarouselCalibration.js +72 -0
  82. package/lib/module/components/HACarouselCalibration/HACarouselCalibration.js.map +1 -0
  83. package/lib/module/components/HACarouselCalibration/HACarouselItem/HACarouselItem.js +73 -0
  84. package/lib/module/components/HACarouselCalibration/HACarouselItem/HACarouselItem.js.map +1 -0
  85. package/lib/module/components/HACarouselCalibration/HACarouselItem/styles.js +44 -0
  86. package/lib/module/components/HACarouselCalibration/HACarouselItem/styles.js.map +1 -0
  87. package/lib/module/components/HACarouselCalibration/HAPagination/HAPagination.js +36 -0
  88. package/lib/module/components/HACarouselCalibration/HAPagination/HAPagination.js.map +1 -0
  89. package/lib/module/components/HACarouselCalibration/HAPagination/styles.js +16 -0
  90. package/lib/module/components/HACarouselCalibration/HAPagination/styles.js.map +1 -0
  91. package/lib/module/components/HACarouselCalibration/data.js +21 -0
  92. package/lib/module/components/HACarouselCalibration/data.js.map +1 -0
  93. package/lib/module/components/Typograph/typograph.js +21 -0
  94. package/lib/module/components/Typograph/typograph.js.map +1 -0
  95. package/lib/module/components/index.js +5 -1
  96. package/lib/module/components/index.js.map +1 -1
  97. package/lib/module/index.js +3 -2
  98. package/lib/module/index.js.map +1 -1
  99. package/lib/module/screens/RegisterOperations/registerOperationPointsBiometrics.js +176 -0
  100. package/lib/module/screens/RegisterOperations/registerOperationPointsBiometrics.js.map +1 -0
  101. package/lib/module/screens/RegisterOperations/registerOperationPointsLifeCertificate.js +157 -0
  102. package/lib/module/screens/RegisterOperations/registerOperationPointsLifeCertificate.js.map +1 -0
  103. package/lib/module/screens/RegisterOperations/styles.js +41 -0
  104. package/lib/module/screens/RegisterOperations/styles.js.map +1 -0
  105. package/lib/module/screens/index.js +3 -1
  106. package/lib/module/screens/index.js.map +1 -1
  107. package/lib/module/services/index.js +2 -2
  108. package/lib/module/services/index.js.map +1 -1
  109. package/lib/module/services/services.js +102 -0
  110. package/lib/module/services/services.js.map +1 -1
  111. package/lib/module/store/modules/operationPoints/index.js +3 -0
  112. package/lib/module/store/modules/operationPoints/index.js.map +1 -0
  113. package/lib/module/store/modules/operationPoints/selectors.js +6 -0
  114. package/lib/module/store/modules/operationPoints/selectors.js.map +1 -0
  115. package/lib/module/store/modules/operationPoints/slice.js +227 -0
  116. package/lib/module/store/modules/operationPoints/slice.js.map +1 -0
  117. package/lib/module/store/modules/operationPoints/types.js +2 -0
  118. package/lib/module/store/modules/operationPoints/types.js.map +1 -0
  119. package/lib/module/theme/colors.js +14 -0
  120. package/lib/module/theme/colors.js.map +1 -0
  121. package/lib/module/theme/theme.js +18 -0
  122. package/lib/module/theme/theme.js.map +1 -0
  123. package/lib/module/utils/index.js +2 -2
  124. package/lib/module/utils/index.js.map +1 -1
  125. package/lib/module/utils/utils.js +7 -1
  126. package/lib/module/utils/utils.js.map +1 -1
  127. package/lib/typescript/src/components/HACaptureInstructions/HACaptureInstructions.d.ts +8 -0
  128. package/lib/typescript/src/components/HACaptureInstructions/HACaptureInstructions.d.ts.map +1 -0
  129. package/lib/typescript/src/components/HACaptureInstructions/HACard/HACard.d.ts +11 -0
  130. package/lib/typescript/src/components/HACaptureInstructions/HACard/HACard.d.ts.map +1 -0
  131. package/lib/typescript/src/components/HACaptureInstructions/HACard/styles.d.ts +27 -0
  132. package/lib/typescript/src/components/HACaptureInstructions/HACard/styles.d.ts.map +1 -0
  133. package/lib/typescript/src/components/HACaptureInstructions/data.d.ts +9 -0
  134. package/lib/typescript/src/components/HACaptureInstructions/data.d.ts.map +1 -0
  135. package/lib/typescript/src/components/HACaptureInstructions/style.d.ts +25 -0
  136. package/lib/typescript/src/components/HACaptureInstructions/style.d.ts.map +1 -0
  137. package/lib/typescript/src/components/HACarouselCalibration/HACarouselCalibration.d.ts +7 -0
  138. package/lib/typescript/src/components/HACarouselCalibration/HACarouselCalibration.d.ts.map +1 -0
  139. package/lib/typescript/src/components/HACarouselCalibration/HACarouselItem/HACarouselItem.d.ts +17 -0
  140. package/lib/typescript/src/components/HACarouselCalibration/HACarouselItem/HACarouselItem.d.ts.map +1 -0
  141. package/lib/typescript/src/components/HACarouselCalibration/HACarouselItem/styles.d.ts +39 -0
  142. package/lib/typescript/src/components/HACarouselCalibration/HACarouselItem/styles.d.ts.map +1 -0
  143. package/lib/typescript/src/components/HACarouselCalibration/HAPagination/HAPagination.d.ts +14 -0
  144. package/lib/typescript/src/components/HACarouselCalibration/HAPagination/HAPagination.d.ts.map +1 -0
  145. package/lib/typescript/src/components/HACarouselCalibration/HAPagination/styles.d.ts +15 -0
  146. package/lib/typescript/src/components/HACarouselCalibration/HAPagination/styles.d.ts.map +1 -0
  147. package/lib/typescript/src/components/HACarouselCalibration/data.d.ts +9 -0
  148. package/lib/typescript/src/components/HACarouselCalibration/data.d.ts.map +1 -0
  149. package/lib/typescript/src/components/Typograph/typograph.d.ts +10 -0
  150. package/lib/typescript/src/components/Typograph/typograph.d.ts.map +1 -0
  151. package/lib/typescript/src/components/index.d.ts +5 -1
  152. package/lib/typescript/src/components/index.d.ts.map +1 -1
  153. package/lib/typescript/src/index.d.ts +3 -2
  154. package/lib/typescript/src/index.d.ts.map +1 -1
  155. package/lib/typescript/src/screens/RegisterOperations/registerOperationPointsBiometrics.d.ts +7 -0
  156. package/lib/typescript/src/screens/RegisterOperations/registerOperationPointsBiometrics.d.ts.map +1 -0
  157. package/lib/typescript/src/screens/RegisterOperations/registerOperationPointsLifeCertificate.d.ts +7 -0
  158. package/lib/typescript/src/screens/RegisterOperations/registerOperationPointsLifeCertificate.d.ts.map +1 -0
  159. package/lib/typescript/src/screens/RegisterOperations/styles.d.ts +40 -0
  160. package/lib/typescript/src/screens/RegisterOperations/styles.d.ts.map +1 -0
  161. package/lib/typescript/src/screens/index.d.ts +3 -1
  162. package/lib/typescript/src/screens/index.d.ts.map +1 -1
  163. package/lib/typescript/src/services/index.d.ts +2 -2
  164. package/lib/typescript/src/services/index.d.ts.map +1 -1
  165. package/lib/typescript/src/services/services.d.ts +4 -1
  166. package/lib/typescript/src/services/services.d.ts.map +1 -1
  167. package/lib/typescript/src/services/types.d.ts +29 -0
  168. package/lib/typescript/src/services/types.d.ts.map +1 -1
  169. package/lib/typescript/src/store/modules/operationPoints/index.d.ts +3 -0
  170. package/lib/typescript/src/store/modules/operationPoints/index.d.ts.map +1 -0
  171. package/lib/typescript/src/store/modules/operationPoints/selectors.d.ts +24 -0
  172. package/lib/typescript/src/store/modules/operationPoints/selectors.d.ts.map +1 -0
  173. package/lib/typescript/src/store/modules/operationPoints/slice.d.ts +4 -0
  174. package/lib/typescript/src/store/modules/operationPoints/slice.d.ts.map +1 -0
  175. package/lib/typescript/src/store/modules/operationPoints/types.d.ts +51 -0
  176. package/lib/typescript/src/store/modules/operationPoints/types.d.ts.map +1 -0
  177. package/lib/typescript/src/theme/colors.d.ts +14 -0
  178. package/lib/typescript/src/theme/colors.d.ts.map +1 -0
  179. package/lib/typescript/src/theme/theme.d.ts +8 -0
  180. package/lib/typescript/src/theme/theme.d.ts.map +1 -0
  181. package/lib/typescript/src/utils/index.d.ts +2 -2
  182. package/lib/typescript/src/utils/index.d.ts.map +1 -1
  183. package/lib/typescript/src/utils/utils.d.ts +3 -1
  184. package/lib/typescript/src/utils/utils.d.ts.map +1 -1
  185. package/package.json +4 -1
  186. package/src/@types/declarations.d.ts +5 -0
  187. package/src/assets/svg/exampleCalibration1.svg +9 -0
  188. package/src/assets/svg/exampleCalibration2.svg +9 -0
  189. package/src/assets/svg/fingerPrint.svg +30 -0
  190. package/src/assets/svg/fingerPrintWithMask.svg +34 -0
  191. package/src/assets/svg/selfieStick.svg +167 -0
  192. package/src/components/HACaptureInstructions/HACaptureInstructions.tsx +36 -0
  193. package/src/components/HACaptureInstructions/HACard/HACard.tsx +34 -0
  194. package/src/components/HACaptureInstructions/HACard/styles.ts +30 -0
  195. package/src/components/HACaptureInstructions/data.ts +23 -0
  196. package/src/components/HACaptureInstructions/style.ts +17 -0
  197. package/src/components/HACarouselCalibration/HACarouselCalibration.tsx +71 -0
  198. package/src/components/HACarouselCalibration/HACarouselItem/HACarouselItem.tsx +53 -0
  199. package/src/components/HACarouselCalibration/HACarouselItem/styles.ts +43 -0
  200. package/src/components/HACarouselCalibration/HAPagination/HAPagination.tsx +51 -0
  201. package/src/components/HACarouselCalibration/HAPagination/styles.ts +16 -0
  202. package/src/components/HACarouselCalibration/data.ts +27 -0
  203. package/src/components/Typograph/typograph.tsx +24 -0
  204. package/src/components/index.ts +16 -1
  205. package/src/index.tsx +18 -2
  206. package/src/screens/RegisterOperations/registerOperationPointsBiometrics.tsx +168 -0
  207. package/src/screens/RegisterOperations/registerOperationPointsLifeCertificate.tsx +175 -0
  208. package/src/screens/RegisterOperations/styles.ts +41 -0
  209. package/src/screens/index.ts +9 -1
  210. package/src/services/index.ts +18 -2
  211. package/src/services/services.ts +113 -1
  212. package/src/services/types.ts +33 -0
  213. package/src/store/modules/operationPoints/index.ts +3 -0
  214. package/src/store/modules/operationPoints/selectors.ts +7 -0
  215. package/src/store/modules/operationPoints/slice.ts +240 -0
  216. package/src/store/modules/operationPoints/types.ts +61 -0
  217. package/src/theme/colors.ts +15 -0
  218. package/src/theme/theme.ts +13 -0
  219. package/src/utils/index.ts +2 -2
  220. package/src/utils/utils.ts +9 -1
@@ -1 +1 @@
1
- {"version":3,"names":["_axios","_interopRequireDefault","require","_reactNative","_reactNativeUuid","_reactNativeDeviceInfo","obj","__esModule","default","API_URL","TOKEN","deviceModel","DeviceInfo","getModel","axiosInstance","axios","create","baseURL","getConfigsApi","data","get","headers","Authorization","deviceParamsConfig","exports","registerFingerImages","UID","images","finger","exposure","zoom","post","device_model","code","message","error","console","response","authFinger","image","lifeCertificate","videoPath","uuidv4","uuid","v4","formData","FormData","append","uri","Platform","select","ios","android","type","name","bpm"],"sourceRoot":"../../../src","sources":["services/services.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,gBAAA,GAAAH,sBAAA,CAAAC,OAAA;AAUA,IAAAG,sBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAAkD,SAAAD,uBAAAK,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAElD,MAAMG,OAAO,GAAG,2BAA2B;AAC3C,MAAMC,KAAK,GACT,mHAAmH;AAErH,MAAMC,WAAW,GAAGC,8BAAU,CAACC,QAAQ,CAA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I,EAAG,GAAE5B,GAAI,IAAGgB,MAAO;IACzB,CAAC,CAAC;IAEFG,QAAQ,CAACE,MAAM,CAAC,WAAW,EAAEL,MAAM,CAAC;IACpCG,QAAQ,CAACE,MAAM,CAAC,WAAW,EAAErB,GAAG,CAAC;IACjCmB,QAAQ,CAACE,MAAM,CAAC,cAAc,EAAEpC,WAAW,CAAC;IAC5CkC,QAAQ,CAACE,MAAM,CAAC,UAAU,EAAElB,QAAQ,CAAC;IAErC,MAAM;MAAEV;IAAK,CAAC,GAAG,MAAML,aAAa,CAACiB,IAAI,CAAC,WAAW,EAAEc,QAAQ,EAAE;MAC/DxB,OAAO,EAAE;QACP,cAAc,EAAE,qBAAqB;QACrCC,aAAa,EAAG,UAASZ,KAAM;MACjC;IACF,CAAC,CAAC;IACF,OAAO;MACLuB,IAAI,EAAEd,IAAI,CAACc,IAAI;MACfsB,GAAG,EAAEpC,IAAI,CAACoC;IACZ,CAAC;EACH,CAAC,CAAC,OAAOpB,KAAU,EAAE;IACnBC,OAAO,CAACD,KAAK,CAACA,KAAK,CAACE,QAAQ,CAAClB,IAAI,CAACe,OAAO,CAAC;IAC1C,OAAO;MACLD,IAAI,EAAEE,KAAK,CAACE,QAAQ,CAAClB,IAAI,CAACc,IAAI;MAC9BC,OAAO,EAAEC,KAAK,CAACE,QAAQ,CAAClB,IAAI,CAACe;IAC/B,CAAC;EACH;AACF,CAAC;AAACV,OAAA,CAAAgB,eAAA,GAAAA,eAAA"}
1
+ {"version":3,"names":["_axios","_interopRequireDefault","require","_reactNative","_reactNativeUuid","_reactNativeDeviceInfo","obj","__esModule","default","API_URL","TOKEN","deviceModel","DeviceInfo","getModel","axiosInstance","axios","create","baseURL","getConfigsApi","data","get","headers","Authorization","deviceParamsConfig","exports","registerFingerImages","UID","images","finger","exposure","zoom","post","device_model","code","message","error","console","response","authFinger","image","lifeCertificate","videoPath","uuidv4","uuid","v4","formData","FormData","append","uri","Platform","select","ios","android","type","name","bpm","getConfigOperationPoints","sendImagesForRegisterOperationPoints","exposureMax","exposureMin","exposureScaleZeroToOneBiometrics","zoomMax","zoomMin","zoomScaleZeroToOne","exposureScaleZeroToOne","operationalSystem","OS","status","sendVideoForRegisterOperationPoints","exposureScaleZeroToOneLifeCertificate","hasConfig","config","undefined","e"],"sourceRoot":"../../../src","sources":["services/services.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,gBAAA,GAAAH,sBAAA,CAAAC,OAAA;AAcA,IAAAG,sBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAAkD,SAAAD,uBAAAK,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAElD,MAAMG,OAAO,GAAG,2BAA2B;AAC3C,MAAMC,KAAK,GACT,mHAAmH;AAErH,MAAMC,WAAW,GAAGC,8BAAU,CAACC,QAAQ,CAAC,CAAC;AAEzC,MAAMC,aAAa,GAAGC,cAAK,CAACC,MAAM,CAAC;EACjCC,OAAO,EAAER;AACX,CAAC,CAAC;AAEK,MAAMS,aAAa,GAAG,MAAAA,CAAA,KAA2C;EACtE,MAAM;IAAEC;EAAK,CAAC,GAAG,MAAML,aAAa,CAACM,GAAG,CAAC,UAAU,EAAE;IACnDC,OAAO,EAAE;MACP,cAAc,EAAE,kBAAkB;MAClCC,aAAa,EAAG,UAASZ,KAAM;IACjC;EACF,CAAC,CAAC;EACF,OAAOS,IAAI,CAACI,kBAAkB;AAChC,CAAC;AAACC,OAAA,CAAAN,aAAA,GAAAA,aAAA;AAEK,MAAMO,oBAAoB,GAAG,MAAAA,CAAO;EACzCC,GAAG;EACHC,MAAM;EACNC,MAAM;EACNC,QAAQ;EACRC;AACwB,CAAC,KAAsC;EAC/D,IAAI;IACF,MAAM;MAAEX;IAAK,CAAC,GAAG,MAAML,aAAa,CAACiB,IAAI,CACvC,gBAAgB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AEhF,MAAM;MAAElD;IAAK,CAAC,GAAG,MAAML,aAAa,CAACiB,IAAI,CAAC,gBAAgB,EAAEc,QAAQ,EAAE;MACpExB,OAAO,EAAE;QACP,cAAc,EAAE,qBAAqB;QACrCC,aAAa,EAAG,UAASZ,KAAM;MACjC;IACF,CAAC,CAAC;IACF,MAAM4D,SAAS,GAAGnD,IAAI,CAACoD,MAAM,KAAKC,SAAS;IAC3C,OAAO;MACLtC,OAAO,EAAEoC,SAAS,GACd,sDAAsD,GACtD,2DAA2D;MAC/DH,MAAM,EAAEhD,IAAI,CAACgD,MAAM;MACnBG;IACF,CAAC;EACH,CAAC,CAAC,OAAOG,CAAM,EAAE;IACf,OAAO;MACLvC,OAAO,EAAE,iDAAiD;MAC1DiC,MAAM,EAAEM,CAAC,CAACpC,QAAQ,CAAClB,IAAI,CAACgD;IAC1B,CAAC;EACH;AACF,CAAC;AAAC3C,OAAA,CAAA4C,mCAAA,GAAAA,mCAAA"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "useDispatch", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _selectors.useDispatch;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "useSelector", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _selectors.useSelector;
16
+ }
17
+ });
18
+ var _selectors = require("./selectors");
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_selectors","require"],"sourceRoot":"../../../../../src","sources":["store/modules/operationPoints/index.ts"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useSelector = exports.useDispatch = void 0;
7
+ var _createSelectors = _interopRequireDefault(require("../../createSelectors"));
8
+ var _slice = _interopRequireDefault(require("./slice"));
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ const selector = (0, _createSelectors.default)(_slice.default);
11
+ const useSelector = exports.useSelector = selector.use.state;
12
+ const useDispatch = exports.useDispatch = selector.use.dispatch;
13
+ //# sourceMappingURL=selectors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_createSelectors","_interopRequireDefault","require","_slice","obj","__esModule","default","selector","createSelectors","OperationPointsStore","useSelector","exports","use","state","useDispatch","dispatch"],"sourceRoot":"../../../../../src","sources":["store/modules/operationPoints/selectors.ts"],"mappings":";;;;;;AAAA,IAAAA,gBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAF,sBAAA,CAAAC,OAAA;AAA2C,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAE3C,MAAMG,QAAQ,GAAG,IAAAC,wBAAe,EAACC,cAAoB,CAAC;AAE/C,MAAMC,WAAW,GAAAC,OAAA,CAAAD,WAAA,GAAGH,QAAQ,CAACK,GAAG,CAACC,KAAK;AACtC,MAAMC,WAAW,GAAAH,OAAA,CAAAG,WAAA,GAAGP,QAAQ,CAACK,GAAG,CAACG,QAAQ"}
@@ -0,0 +1,233 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _zustand = require("zustand");
8
+ var _reactNative = require("react-native");
9
+ var _services = require("../../../services");
10
+ var _reactNativeDeviceInfo = require("react-native-device-info");
11
+ var _utils = require("../../../utils");
12
+ const initialState = {
13
+ state: {
14
+ loading: "idle",
15
+ hasConfigOperationPointsBiometrics: "idle",
16
+ hasConfigOperationPointsLifeCertificate: "idle",
17
+ base64Images: [],
18
+ exposureScaleZeroToOneBiometrics: _reactNative.Platform.OS === "android" ? 0.12 : 0.3,
19
+ exposureScaleZeroToOneLifeCertificate: _reactNative.Platform.OS === "android" ? 0.12 : 0.3,
20
+ registered: false,
21
+ helpStep: "introduction"
22
+ }
23
+ };
24
+ const resetState = () => {
25
+ slice.setState(state => ({
26
+ state: {
27
+ ...state.state,
28
+ loading: "idle",
29
+ base64Images: [],
30
+ registered: false,
31
+ helpStep: "introduction"
32
+ }
33
+ }));
34
+ };
35
+ const loadingPending = () => {
36
+ slice.setState(state => ({
37
+ state: {
38
+ ...state.state,
39
+ loading: "pending"
40
+ }
41
+ }));
42
+ };
43
+ const setImageBase64 = imageBase64 => {
44
+ slice.setState(state => ({
45
+ state: {
46
+ ...state.state,
47
+ base64Images: [...state.state.base64Images, imageBase64]
48
+ }
49
+ }));
50
+ };
51
+ const changeExposureBiometrics = () => {
52
+ resetState();
53
+ const exposureMap = {
54
+ 0.12: 0.2,
55
+ 0.2: 0.35,
56
+ 0.3: 0.4,
57
+ 0.35: 0.5,
58
+ 0.4: 0.5,
59
+ 0.5: _reactNative.Platform.OS === "android" ? 0.65 : 0.6,
60
+ 0.65: 0.8,
61
+ 0.6: 0.7,
62
+ 0.7: 0.3,
63
+ 0.8: 0.12
64
+ };
65
+ slice.setState(state => {
66
+ const {
67
+ exposureScaleZeroToOneBiometrics
68
+ } = state.state;
69
+ return {
70
+ state: {
71
+ ...state.state,
72
+ exposureScaleZeroToOneBiometrics: exposureMap[exposureScaleZeroToOneBiometrics] || exposureScaleZeroToOneBiometrics
73
+ }
74
+ };
75
+ });
76
+ };
77
+ const changeExposureLifeCertificate = () => {
78
+ resetState();
79
+ const exposureMap = {
80
+ 0.12: 0.2,
81
+ 0.2: 0.35,
82
+ 0.3: 0.4,
83
+ 0.35: 0.5,
84
+ 0.4: 0.5,
85
+ 0.5: _reactNative.Platform.OS === "android" ? 0.65 : 0.6,
86
+ 0.65: 0.8,
87
+ 0.6: 0.7,
88
+ 0.7: 0.3,
89
+ 0.8: 0.12
90
+ };
91
+ slice.setState(state => {
92
+ const {
93
+ exposureScaleZeroToOneLifeCertificate
94
+ } = state.state;
95
+ return {
96
+ state: {
97
+ ...state.state,
98
+ exposureScaleZeroToOneLifeCertificate: exposureMap[exposureScaleZeroToOneLifeCertificate] || exposureScaleZeroToOneLifeCertificate
99
+ }
100
+ };
101
+ });
102
+ };
103
+ const handleStepHelp = () => {
104
+ slice.setState(state => {
105
+ const {
106
+ helpStep
107
+ } = state.state;
108
+ return {
109
+ state: {
110
+ ...state.state,
111
+ helpStep: helpStep === "introduction" ? "instruction" : "introduction"
112
+ }
113
+ };
114
+ });
115
+ };
116
+
117
+ // separar a lógica do store
118
+ const getConfigDefault = async operation => {
119
+ const configs = await (0, _services.getConfigOperationPoints)();
120
+ const deviceModel = (0, _reactNativeDeviceInfo.getModel)();
121
+ const deviceType = _reactNative.Platform.OS;
122
+ const configsDeviceType = configs.filter(config => config.deviceType === deviceType && config.serviceType === operation);
123
+ const configDeviceModel = configsDeviceType.find(config => config.deviceModels.includes(deviceModel));
124
+ return configDeviceModel === undefined ? false : true;
125
+ };
126
+ const getConfigDefaultBiometrics = async () => {
127
+ const payload = await getConfigDefault("finger");
128
+ slice.setState(state => ({
129
+ state: {
130
+ ...state.state,
131
+ hasConfigOperationPointsBiometrics: payload ? "notEmpty" : "empty"
132
+ }
133
+ }));
134
+ resetState();
135
+ };
136
+ const getConfigDefaultLifeCertificate = async () => {
137
+ const payload = await getConfigDefault("liveness");
138
+ slice.setState(state => ({
139
+ state: {
140
+ ...state.state,
141
+ hasConfigOperationPointsLifeCertificate: payload ? "notEmpty" : "empty"
142
+ }
143
+ }));
144
+ resetState();
145
+ };
146
+
147
+ // separar a lógica do store
148
+ const sendImagesBase64 = async ({
149
+ exposureScaleZeroToOneBiometrics,
150
+ base64Images,
151
+ exposureMax,
152
+ exposureMin,
153
+ zoomMax,
154
+ zoomMin
155
+ }) => {
156
+ loadingPending();
157
+ const deviceModel = (0, _reactNativeDeviceInfo.getModel)();
158
+ const zoom = 3;
159
+ const zoomScaleZeroToOne = (0, _utils.scale0to1)(zoom, zoomMin, zoomMax);
160
+ const exposure = (0, _utils.scale0to1Inverse)(exposureScaleZeroToOneBiometrics, exposureMin, exposureMax);
161
+ const {
162
+ message,
163
+ status
164
+ } = await (0, _services.sendImagesForRegisterOperationPoints)({
165
+ deviceModel,
166
+ images: base64Images,
167
+ exposure,
168
+ exposureMin,
169
+ exposureMax,
170
+ exposureScaleZeroToOneBiometrics,
171
+ zoom,
172
+ zoomMin,
173
+ zoomMax,
174
+ zoomScaleZeroToOne
175
+ });
176
+ slice.setState(state => ({
177
+ state: {
178
+ ...state.state,
179
+ loading: status === 200 ? "succeeded" : "failed",
180
+ status: status,
181
+ message: message
182
+ }
183
+ }));
184
+ };
185
+
186
+ // separar a lógica do store
187
+ const sendVideosLifeCertificate = async ({
188
+ exposureMax,
189
+ exposureMin,
190
+ videoPath,
191
+ exposureScaleZeroToOneLifeCertificate
192
+ }) => {
193
+ loadingPending();
194
+ const deviceModel = (0, _reactNativeDeviceInfo.getModel)();
195
+ const exposure = (0, _utils.scale0to1Inverse)(exposureScaleZeroToOneLifeCertificate, exposureMin, exposureMax);
196
+ const {
197
+ message,
198
+ status,
199
+ hasConfig
200
+ } = await (0, _services.sendVideoForRegisterOperationPoints)({
201
+ deviceModel,
202
+ exposure,
203
+ videoPath,
204
+ exposureMax,
205
+ exposureMin,
206
+ exposureScaleZeroToOneLifeCertificate
207
+ });
208
+ slice.setState(state => ({
209
+ state: {
210
+ ...state.state,
211
+ registered: hasConfig ?? false,
212
+ loading: status === 200 && hasConfig ? "succeeded" : "failed",
213
+ status: status,
214
+ message: message
215
+ }
216
+ }));
217
+ };
218
+ const slice = (0, _zustand.create)(() => ({
219
+ ...initialState,
220
+ dispatch: {
221
+ setImageBase64,
222
+ resetState,
223
+ changeExposureBiometrics,
224
+ changeExposureLifeCertificate,
225
+ handleStepHelp,
226
+ getConfigDefaultBiometrics,
227
+ getConfigDefaultLifeCertificate,
228
+ sendImagesBase64,
229
+ sendVideosLifeCertificate
230
+ }
231
+ }));
232
+ var _default = exports.default = slice;
233
+ //# sourceMappingURL=slice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_zustand","require","_reactNative","_services","_reactNativeDeviceInfo","_utils","initialState","state","loading","hasConfigOperationPointsBiometrics","hasConfigOperationPointsLifeCertificate","base64Images","exposureScaleZeroToOneBiometrics","Platform","OS","exposureScaleZeroToOneLifeCertificate","registered","helpStep","resetState","slice","setState","loadingPending","setImageBase64","imageBase64","changeExposureBiometrics","exposureMap","changeExposureLifeCertificate","handleStepHelp","getConfigDefault","operation","configs","getConfigOperationPoints","deviceModel","getModel","deviceType","configsDeviceType","filter","config","serviceType","configDeviceModel","find","deviceModels","includes","undefined","getConfigDefaultBiometrics","payload","getConfigDefaultLifeCertificate","sendImagesBase64","exposureMax","exposureMin","zoomMax","zoomMin","zoom","zoomScaleZeroToOne","scale0to1","exposure","scale0to1Inverse","message","status","sendImagesForRegisterOperationPoints","images","sendVideosLifeCertificate","videoPath","hasConfig","sendVideoForRegisterOperationPoints","create","dispatch","_default","exports","default"],"sourceRoot":"../../../../../src","sources":["store/modules/operationPoints/slice.ts"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AASA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AAKA,IAAAG,sBAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AAEA,MAAMK,YAA0B,GAAG;EACjCC,KAAK,EAAE;IACLC,OAAO,EAAE,MAAM;IACfC,kCAAkC,EAAE,MAAM;IAC1CC,uCAAuC,EAAE,MAAM;IAC/CC,YAAY,EAAE,EAAE;IAChBC,gCAAgC,EAAEC,qBAAQ,CAACC,EAAE,KAAK,SAAS,GAAG,IAAI,GAAG,GAAG;IACxEC,qCAAqC,EAAEF,qBAAQ,CAACC,EAAE,KAAK,SAAS,GAAG,IAAI,GAAG,GAAG;IAC7EE,UAAU,EAAE,KAAK;IACjBC,QAAQ,EAAE;EACZ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zBA,KAAK,EAAE;MACL,GAAGA,KAAK,CAACA,KAAK;MACdS,UAAU,EAAE+C,SAAS,IAAI,KAAK;MAC9BvD,OAAO,EAAEkD,MAAM,KAAK,GAAG,IAAIK,SAAS,GAAG,WAAW,GAAG,QAAQ;MAC7DL,MAAM,EAAEA,MAAM;MACdD,OAAO,EAAEA;IACX;EACF,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAMtC,KAAK,GAAG,IAAA8C,eAAM,EAAuB,OAAO;EAChD,GAAG3D,YAAY;EACf4D,QAAQ,EAAE;IACR5C,cAAc;IACdJ,UAAU;IACVM,wBAAwB;IACxBE,6BAA6B;IAC7BC,cAAc;IACdiB,0BAA0B;IAC1BE,+BAA+B;IAC/BC,gBAAgB;IAChBc;EACF;AACF,CAAC,CAAC,CAAC;AAAC,IAAAM,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEWlD,KAAK"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["store/modules/operationPoints/types.ts"],"mappings":""}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.light = exports.dark = void 0;
7
+ const light = exports.light = {
8
+ backgroundColor: "#ffffff",
9
+ gray: "#F5F5F5",
10
+ text: "#000000",
11
+ blue: "#005EFF"
12
+ };
13
+ const dark = exports.dark = {
14
+ backgroundColor: "#000000",
15
+ gray: "#212121",
16
+ text: "#ffffff",
17
+ blue: "#005EFF"
18
+ };
19
+ //# sourceMappingURL=colors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["light","exports","backgroundColor","gray","text","blue","dark"],"sourceRoot":"../../../src","sources":["theme/colors.ts"],"mappings":";;;;;;AAAA,MAAMA,KAAK,GAAAC,OAAA,CAAAD,KAAA,GAAG;EACZE,eAAe,EAAE,SAAS;EAC1BC,IAAI,EAAE,SAAS;EACfC,IAAI,EAAE,SAAS;EACfC,IAAI,EAAE;AACR,CAAC;AAED,MAAMC,IAAI,GAAAL,OAAA,CAAAK,IAAA,GAAG;EACXJ,eAAe,EAAE,SAAS;EAC1BC,IAAI,EAAE,SAAS;EACfC,IAAI,EAAE,SAAS;EACfC,IAAI,EAAE;AACR,CAAC"}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useTheme = void 0;
7
+ var _reactNative = require("react-native");
8
+ var _colors = require("./colors");
9
+ const useTheme = () => {
10
+ const isDark = (0, _reactNative.useColorScheme)() === "dark";
11
+ const theme = isDark ? _colors.dark : _colors.light;
12
+ const backgroundColor = theme.backgroundColor;
13
+ const gray = theme.gray;
14
+ const text = theme.text;
15
+ const blue = theme.blue;
16
+ return {
17
+ isDark,
18
+ backgroundColor,
19
+ gray,
20
+ text,
21
+ blue
22
+ };
23
+ };
24
+ exports.useTheme = useTheme;
25
+ //# sourceMappingURL=theme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_colors","useTheme","isDark","useColorScheme","theme","dark","light","backgroundColor","gray","text","blue","exports"],"sourceRoot":"../../../src","sources":["theme/theme.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AAEO,MAAME,QAAQ,GAAGA,CAAA,KAAM;EAC5B,MAAMC,MAAM,GAAG,IAAAC,2BAAc,EAAC,CAAC,KAAK,MAAM;EAC1C,MAAMC,KAAK,GAAGF,MAAM,GAAGG,YAAI,GAAGC,aAAK;EACnC,MAAMC,eAAe,GAAGH,KAAK,CAACG,eAAe;EAC7C,MAAMC,IAAI,GAAGJ,KAAK,CAACI,IAAI;EACvB,MAAMC,IAAI,GAAGL,KAAK,CAACK,IAAI;EACvB,MAAMC,IAAI,GAAGN,KAAK,CAACM,IAAI;EAEvB,OAAO;IAAER,MAAM;IAAEK,eAAe;IAAEC,IAAI;IAAEC,IAAI;IAAEC;EAAK,CAAC;AACtD,CAAC;AAACC,OAAA,CAAAV,QAAA,GAAAA,QAAA"}
@@ -21,6 +21,18 @@ Object.defineProperty(exports, "randomHeartRate", {
21
21
  return _utils.randomHeartRate;
22
22
  }
23
23
  });
24
+ Object.defineProperty(exports, "scale0to1", {
25
+ enumerable: true,
26
+ get: function () {
27
+ return _utils.scale0to1;
28
+ }
29
+ });
30
+ Object.defineProperty(exports, "scale0to1Inverse", {
31
+ enumerable: true,
32
+ get: function () {
33
+ return _utils.scale0to1Inverse;
34
+ }
35
+ });
24
36
  Object.defineProperty(exports, "useIsForeground", {
25
37
  enumerable: true,
26
38
  get: function () {
@@ -1 +1 @@
1
- {"version":3,"names":["_getConfigCamera","_interopRequireDefault","require","_utils","_useIsForeground","obj","__esModule","default"],"sourceRoot":"../../../src","sources":["utils/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,gBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,gBAAA,GAAAF,OAAA;AAA0D,SAAAD,uBAAAI,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA"}
1
+ {"version":3,"names":["_getConfigCamera","_interopRequireDefault","require","_utils","_useIsForeground","obj","__esModule","default"],"sourceRoot":"../../../src","sources":["utils/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,gBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,gBAAA,GAAAF,OAAA;AAA0D,SAAAD,uBAAAI,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA"}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.randomHeartRate = exports.filteredFingers = void 0;
6
+ exports.scale0to1Inverse = exports.scale0to1 = exports.randomHeartRate = exports.filteredFingers = void 0;
7
7
  const randomHeartRate = () => {
8
8
  return Math.floor(Math.random() * (90 - 75 + 1) + 75);
9
9
  };
@@ -12,4 +12,12 @@ const filteredFingers = (registeredFingers, items) => {
12
12
  return items.filter(item => !registeredFingers.includes(item.value));
13
13
  };
14
14
  exports.filteredFingers = filteredFingers;
15
+ const scale0to1 = (value, min, max) => {
16
+ return (value - min) / (max - min);
17
+ };
18
+ exports.scale0to1 = scale0to1;
19
+ const scale0to1Inverse = (scaledValue, min, max) => {
20
+ return scaledValue * (max - min) + min;
21
+ };
22
+ exports.scale0to1Inverse = scale0to1Inverse;
15
23
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["randomHeartRate","Math","floor","random","exports","filteredFingers","registeredFingers","items","filter","item","includes","value"],"sourceRoot":"../../../src","sources":["utils/utils.ts"],"mappings":";;;;;;AAEA,MAAMA,eAAe,GAAGA,CAAA,KAAc;EACpC,OAAOC,IAAI,CAACC,KAAK,CAACD,IAAI,CAACE,MAAM,CAAC,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC;AACvD,CAAC;AAACC,OAAA,CAAAJ,eAAA,GAAAA,eAAA;AAEF,MAAMK,eAAe,GAAGA,CACtBC,iBAA2B,EAC3BC,KAAyC,KACF;EACvC,OAAOA,KAAK,CAACC,MAAM,CAAEC,IAAI,IAAK,CAACH,iBAAiB,CAACI,QAAQ,CAACD,IAAI,CAACE,KAAK,CAAC,CAAC;AACxE,CAAC;AAACP,OAAA,CAAAC,eAAA,GAAAA,eAAA"}
1
+ {"version":3,"names":["randomHeartRate","Math","floor","random","exports","filteredFingers","registeredFingers","items","filter","item","includes","value","scale0to1","min","max","scale0to1Inverse","scaledValue"],"sourceRoot":"../../../src","sources":["utils/utils.ts"],"mappings":";;;;;;AAEA,MAAMA,eAAe,GAAGA,CAAA,KAAc;EACpC,OAAOC,IAAI,CAACC,KAAK,CAACD,IAAI,CAACE,MAAM,CAAC,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC;AACvD,CAAC;AAACC,OAAA,CAAAJ,eAAA,GAAAA,eAAA;AAEF,MAAMK,eAAe,GAAGA,CACtBC,iBAA2B,EAC3BC,KAAyC,KACF;EACvC,OAAOA,KAAK,CAACC,MAAM,CAAEC,IAAI,IAAK,CAACH,iBAAiB,CAACI,QAAQ,CAACD,IAAI,CAACE,KAAK,CAAC,CAAC;AACxE,CAAC;AAACP,OAAA,CAAAC,eAAA,GAAAA,eAAA;AAEF,MAAMO,SAAS,GAAGA,CAACD,KAAa,EAAEE,GAAW,EAAEC,GAAW,KAAK;EAC7D,OAAO,CAACH,KAAK,GAAGE,GAAG,KAAKC,GAAG,GAAGD,GAAG,CAAC;AACpC,CAAC;AAACT,OAAA,CAAAQ,SAAA,GAAAA,SAAA;AAEF,MAAMG,gBAAgB,GAAGA,CAACC,WAAmB,EAAEH,GAAW,EAAEC,GAAW,KAAK;EAC1E,OAAOE,WAAW,IAAIF,GAAG,GAAGD,GAAG,CAAC,GAAGA,GAAG;AACxC,CAAC;AAACT,OAAA,CAAAW,gBAAA,GAAAA,gBAAA"}
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=declarations.d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/declarations.d.ts"],"mappings":""}