@onairos/react-native 3.6.9 → 3.7.1

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 (273) hide show
  1. package/README.md +423 -423
  2. package/lib/commonjs/api/index.js +1 -1
  3. package/lib/commonjs/assets/icons/netflix.png +0 -0
  4. package/lib/commonjs/assets/images/Checkbox.svg +3 -3
  5. package/lib/commonjs/assets/images/EnochE.svg +19 -19
  6. package/lib/commonjs/assets/images/Personalityprofile.svg +3 -3
  7. package/lib/commonjs/assets/images/Personalitytraits.svg +3 -3
  8. package/lib/commonjs/assets/images/Userpreferences.svg +3 -3
  9. package/lib/commonjs/assets/images/arrow.svg +20 -20
  10. package/lib/commonjs/assets/images/basicproficon.svg +43 -43
  11. package/lib/commonjs/assets/images/basicprofile.svg +3 -3
  12. package/lib/commonjs/assets/images/checkmark.svg +4 -4
  13. package/lib/commonjs/assets/images/contentanalysis.svg +3 -3
  14. package/lib/commonjs/assets/images/contenticon.svg +23 -23
  15. package/lib/commonjs/assets/images/netflix.png +0 -0
  16. package/lib/commonjs/assets/images/personalityicon.svg +18 -18
  17. package/lib/commonjs/assets/images/x-close.svg +3 -3
  18. package/lib/commonjs/components/BodyText.js +1 -1
  19. package/lib/commonjs/components/BrandMark.js +1 -1
  20. package/lib/commonjs/components/CodeInput.js +1 -1
  21. package/lib/commonjs/components/EmailInput.js +1 -1
  22. package/lib/commonjs/components/GoogleButton.js +1 -1
  23. package/lib/commonjs/components/HeadingGroup.js +1 -1
  24. package/lib/commonjs/components/LLMDataInputModal.js +1 -1
  25. package/lib/commonjs/components/ModalHeader.js +1 -1
  26. package/lib/commonjs/components/ModalSheet.js +1 -1
  27. package/lib/commonjs/components/Onairos.js +1 -1
  28. package/lib/commonjs/components/OnairosButton.js +1 -1
  29. package/lib/commonjs/components/OnairosSignInButton.js +1 -1
  30. package/lib/commonjs/components/Overlay.js +1 -1
  31. package/lib/commonjs/components/PersonaImage.js +1 -1
  32. package/lib/commonjs/components/PersonaLoadingScreen.js +1 -1
  33. package/lib/commonjs/components/PersonalizationConsentScreen.js +1 -1
  34. package/lib/commonjs/components/PinCreationScreen.js +1 -1
  35. package/lib/commonjs/components/PinInput.js +1 -1
  36. package/lib/commonjs/components/PlatformConnectorsStep.js +1 -1
  37. package/lib/commonjs/components/PlatformList.js +1 -1
  38. package/lib/commonjs/components/PlatformToggle.js +1 -1
  39. package/lib/commonjs/components/PrimaryButton.js +1 -1
  40. package/lib/commonjs/components/SignInMatchAnimation.js +1 -1
  41. package/lib/commonjs/components/SignInStep.js +1 -1
  42. package/lib/commonjs/components/UniversalOnboarding.js +1 -1
  43. package/lib/commonjs/components/VerificationStep.js +1 -1
  44. package/lib/commonjs/components/WelcomeScreen.js +1 -1
  45. package/lib/commonjs/components/icons/Basicproficon.js +1 -1
  46. package/lib/commonjs/components/icons/Basicprofile.js +1 -1
  47. package/lib/commonjs/components/icons/Checkbox.js +1 -1
  48. package/lib/commonjs/components/icons/Checkmark.js +1 -1
  49. package/lib/commonjs/components/icons/Contentanalysis.js +1 -1
  50. package/lib/commonjs/components/icons/Contenticon.js +1 -1
  51. package/lib/commonjs/components/icons/EnochE.js +1 -1
  52. package/lib/commonjs/components/icons/Personalityicon.js +1 -1
  53. package/lib/commonjs/components/icons/Personalityprofile.js +1 -1
  54. package/lib/commonjs/components/icons/Personalitytraits.js +1 -1
  55. package/lib/commonjs/components/icons/Userpreferences.js +1 -1
  56. package/lib/commonjs/components/icons/index.js +1 -1
  57. package/lib/commonjs/components/onboarding/OAuthWebView.js +1 -1
  58. package/lib/commonjs/components/onboarding/OnboardingHeader.js +1 -1
  59. package/lib/commonjs/components/onboarding/PinInput.js +1 -1
  60. package/lib/commonjs/components/onboarding/PlatformConnector.js +1 -1
  61. package/lib/commonjs/config/api.js +1 -1
  62. package/lib/commonjs/constants/index.js +1 -1
  63. package/lib/commonjs/context/AuthContext.js +1 -1
  64. package/lib/commonjs/hooks/useConnectedAccounts.js +1 -1
  65. package/lib/commonjs/hooks/useConnections.js +1 -1
  66. package/lib/commonjs/hooks/useCredentials.js +1 -1
  67. package/lib/commonjs/hooks/useUserConnections.js +1 -1
  68. package/lib/commonjs/index.js +1 -1
  69. package/lib/commonjs/services/SDK_API_KEY_VALIDATION.md +421 -421
  70. package/lib/commonjs/services/apiClient.js +1 -1
  71. package/lib/commonjs/services/apiKeyService.js +99 -99
  72. package/lib/commonjs/services/authService.js +72 -72
  73. package/lib/commonjs/services/biometricPinService.js +1 -1
  74. package/lib/commonjs/services/chatGPTConversationExtractor.js +1 -1
  75. package/lib/commonjs/services/chatGPTConversationService.js +1 -1
  76. package/lib/commonjs/services/claudeConversationExtractor.js +1 -1
  77. package/lib/commonjs/services/claudeConversationService.js +1 -1
  78. package/lib/commonjs/services/connectedAccountsService.js +1 -1
  79. package/lib/commonjs/services/googleAuthService.js +1 -1
  80. package/lib/commonjs/services/hingeDataExtractor.js +1 -1
  81. package/lib/commonjs/services/hingeDataService.js +1 -1
  82. package/lib/commonjs/services/imageCompressionService.js +1 -1
  83. package/lib/commonjs/services/instagramDataExtractor.js +1 -1
  84. package/lib/commonjs/services/instagramDataService.js +1 -1
  85. package/lib/commonjs/services/jwtStorageService.js +1 -1
  86. package/lib/commonjs/services/linkedinDOMExtractor.js +1 -1
  87. package/lib/commonjs/services/linkedinProfileService.js +1 -1
  88. package/lib/commonjs/services/linkedinScrapingService.js +1 -1
  89. package/lib/commonjs/services/llmDataStorage.js +1 -1
  90. package/lib/commonjs/services/mobileTrainingService.js +1 -1
  91. package/lib/commonjs/services/netflixDataExtractor.js +8 -0
  92. package/lib/commonjs/services/netflixDataService.js +9 -0
  93. package/lib/commonjs/services/oauthService.js +20 -20
  94. package/lib/commonjs/services/pinEncryptionService.js +1 -1
  95. package/lib/commonjs/services/pinStorageUtils.js +1 -1
  96. package/lib/commonjs/services/platformAuthService.js +1 -1
  97. package/lib/commonjs/services/sephoraDataExtractor.js +1 -1
  98. package/lib/commonjs/services/sephoraDataService.js +1 -1
  99. package/lib/commonjs/services/spotifyDataExtractor.js +8 -0
  100. package/lib/commonjs/services/spotifyDataService.js +9 -0
  101. package/lib/commonjs/services/storageService.js +1 -1
  102. package/lib/commonjs/services/telegramDataExtractor.js +1 -1
  103. package/lib/commonjs/services/telegramDataService.js +1 -1
  104. package/lib/commonjs/services/trainingApiHelpers.js +1 -1
  105. package/lib/commonjs/services/userConnectionsService.js +1 -1
  106. package/lib/commonjs/services/youtubeMigrationService.js +1 -1
  107. package/lib/commonjs/theme/index.js +1 -1
  108. package/lib/commonjs/types/index.js +1 -1
  109. package/lib/commonjs/types.js +1 -1
  110. package/lib/commonjs/utils/Portal.js +1 -1
  111. package/lib/commonjs/utils/api.js +1 -1
  112. package/lib/commonjs/utils/assetRegistry.js +3 -1
  113. package/lib/commonjs/utils/auth.js +1 -1
  114. package/lib/commonjs/utils/connectorTests.js +1 -1
  115. package/lib/commonjs/utils/crypto.js +1 -1
  116. package/lib/commonjs/utils/debugHelper.js +1 -1
  117. package/lib/commonjs/utils/encryption.js +1 -1
  118. package/lib/commonjs/utils/eventUtils.js +1 -1
  119. package/lib/commonjs/utils/haptics.js +1 -1
  120. package/lib/commonjs/utils/imagePreloader.js +1 -1
  121. package/lib/commonjs/utils/networkDiagnostics.js +1 -1
  122. package/lib/commonjs/utils/onairosApi.js +1 -1
  123. package/lib/commonjs/utils/programmaticFlow.js +1 -1
  124. package/lib/commonjs/utils/retryHelper.js +1 -1
  125. package/lib/commonjs/utils/secureStorage.js +1 -1
  126. package/lib/commonjs/utils/webviewScripts/chatgpt.js +1 -1
  127. package/lib/commonjs/utils/webviewScripts/claude.js +1 -1
  128. package/lib/commonjs/utils/webviewScripts/hinge.js +1 -1
  129. package/lib/commonjs/utils/webviewScripts/index.js +4 -2
  130. package/lib/commonjs/utils/webviewScripts/instagram.js +1 -1
  131. package/lib/commonjs/utils/webviewScripts/linkedin.js +1 -1
  132. package/lib/commonjs/utils/webviewScripts/netflix.js +1 -0
  133. package/lib/commonjs/utils/webviewScripts/sephora.js +1 -1
  134. package/lib/commonjs/utils/webviewScripts/spotify.js +1 -0
  135. package/lib/commonjs/utils/webviewScripts/telegram.js +1 -1
  136. package/lib/module/api/index.js +1 -1
  137. package/lib/module/assets/icons/netflix.png +0 -0
  138. package/lib/module/assets/images/Checkbox.svg +3 -3
  139. package/lib/module/assets/images/EnochE.svg +19 -19
  140. package/lib/module/assets/images/Personalityprofile.svg +3 -3
  141. package/lib/module/assets/images/Personalitytraits.svg +3 -3
  142. package/lib/module/assets/images/Userpreferences.svg +3 -3
  143. package/lib/module/assets/images/arrow.svg +20 -20
  144. package/lib/module/assets/images/basicproficon.svg +43 -43
  145. package/lib/module/assets/images/basicprofile.svg +3 -3
  146. package/lib/module/assets/images/checkmark.svg +4 -4
  147. package/lib/module/assets/images/contentanalysis.svg +3 -3
  148. package/lib/module/assets/images/contenticon.svg +23 -23
  149. package/lib/module/assets/images/netflix.png +0 -0
  150. package/lib/module/assets/images/personalityicon.svg +18 -18
  151. package/lib/module/assets/images/x-close.svg +3 -3
  152. package/lib/module/components/BodyText.js +1 -1
  153. package/lib/module/components/BrandMark.js +1 -1
  154. package/lib/module/components/CodeInput.js +1 -1
  155. package/lib/module/components/EmailInput.js +1 -1
  156. package/lib/module/components/GoogleButton.js +1 -1
  157. package/lib/module/components/HeadingGroup.js +1 -1
  158. package/lib/module/components/LLMDataInputModal.js +1 -1
  159. package/lib/module/components/ModalHeader.js +1 -1
  160. package/lib/module/components/ModalSheet.js +1 -1
  161. package/lib/module/components/Onairos.js +1 -1
  162. package/lib/module/components/OnairosButton.js +1 -1
  163. package/lib/module/components/OnairosSignInButton.js +1 -1
  164. package/lib/module/components/Overlay.js +1 -1
  165. package/lib/module/components/PersonaImage.js +1 -1
  166. package/lib/module/components/PersonaLoadingScreen.js +1 -1
  167. package/lib/module/components/PersonalizationConsentScreen.js +1 -1
  168. package/lib/module/components/PinCreationScreen.js +1 -1
  169. package/lib/module/components/PinInput.js +1 -1
  170. package/lib/module/components/PlatformConnectorsStep.js +1 -1
  171. package/lib/module/components/PlatformList.js +1 -1
  172. package/lib/module/components/PlatformToggle.js +1 -1
  173. package/lib/module/components/PrimaryButton.js +1 -1
  174. package/lib/module/components/SignInMatchAnimation.js +1 -1
  175. package/lib/module/components/SignInStep.js +1 -1
  176. package/lib/module/components/UniversalOnboarding.js +1 -1
  177. package/lib/module/components/VerificationStep.js +1 -1
  178. package/lib/module/components/WelcomeScreen.js +1 -1
  179. package/lib/module/components/icons/Basicproficon.js +1 -1
  180. package/lib/module/components/icons/Basicprofile.js +1 -1
  181. package/lib/module/components/icons/Checkbox.js +1 -1
  182. package/lib/module/components/icons/Checkmark.js +1 -1
  183. package/lib/module/components/icons/Contentanalysis.js +1 -1
  184. package/lib/module/components/icons/Contenticon.js +1 -1
  185. package/lib/module/components/icons/EnochE.js +1 -1
  186. package/lib/module/components/icons/Personalityicon.js +1 -1
  187. package/lib/module/components/icons/Personalityprofile.js +1 -1
  188. package/lib/module/components/icons/Personalitytraits.js +1 -1
  189. package/lib/module/components/icons/Userpreferences.js +1 -1
  190. package/lib/module/components/onboarding/OAuthWebView.js +1 -1
  191. package/lib/module/components/onboarding/OnboardingHeader.js +1 -1
  192. package/lib/module/components/onboarding/PinInput.js +1 -1
  193. package/lib/module/components/onboarding/PlatformConnector.js +1 -1
  194. package/lib/module/config/api.js +1 -1
  195. package/lib/module/constants/index.js +1 -1
  196. package/lib/module/context/AuthContext.js +1 -1
  197. package/lib/module/hooks/useConnectedAccounts.js +1 -1
  198. package/lib/module/hooks/useConnections.js +1 -1
  199. package/lib/module/hooks/useCredentials.js +1 -1
  200. package/lib/module/hooks/useUserConnections.js +1 -1
  201. package/lib/module/index.js +1 -1
  202. package/lib/module/services/SDK_API_KEY_VALIDATION.md +421 -421
  203. package/lib/module/services/apiClient.js +1 -1
  204. package/lib/module/services/apiKeyService.js +99 -99
  205. package/lib/module/services/authService.js +72 -72
  206. package/lib/module/services/biometricPinService.js +1 -1
  207. package/lib/module/services/chatGPTConversationExtractor.js +1 -1
  208. package/lib/module/services/chatGPTConversationService.js +1 -1
  209. package/lib/module/services/claudeConversationExtractor.js +1 -1
  210. package/lib/module/services/claudeConversationService.js +1 -1
  211. package/lib/module/services/connectedAccountsService.js +1 -1
  212. package/lib/module/services/googleAuthService.js +1 -1
  213. package/lib/module/services/hingeDataExtractor.js +1 -1
  214. package/lib/module/services/hingeDataService.js +1 -1
  215. package/lib/module/services/imageCompressionService.js +1 -1
  216. package/lib/module/services/instagramDataExtractor.js +1 -1
  217. package/lib/module/services/instagramDataService.js +1 -1
  218. package/lib/module/services/jwtStorageService.js +1 -1
  219. package/lib/module/services/linkedinDOMExtractor.js +1 -1
  220. package/lib/module/services/linkedinProfileService.js +1 -1
  221. package/lib/module/services/linkedinScrapingService.js +1 -1
  222. package/lib/module/services/llmDataStorage.js +1 -1
  223. package/lib/module/services/mobileTrainingService.js +1 -1
  224. package/lib/module/services/netflixDataExtractor.js +1 -0
  225. package/lib/module/services/netflixDataService.js +1 -0
  226. package/lib/module/services/oauthService.js +20 -20
  227. package/lib/module/services/pinEncryptionService.js +1 -1
  228. package/lib/module/services/pinStorageUtils.js +1 -1
  229. package/lib/module/services/platformAuthService.js +1 -1
  230. package/lib/module/services/sephoraDataExtractor.js +1 -1
  231. package/lib/module/services/sephoraDataService.js +1 -1
  232. package/lib/module/services/spotifyDataExtractor.js +1 -0
  233. package/lib/module/services/spotifyDataService.js +1 -0
  234. package/lib/module/services/storageService.js +1 -1
  235. package/lib/module/services/telegramDataExtractor.js +1 -1
  236. package/lib/module/services/telegramDataService.js +1 -1
  237. package/lib/module/services/trainingApiHelpers.js +1 -1
  238. package/lib/module/services/userConnectionsService.js +1 -1
  239. package/lib/module/services/youtubeMigrationService.js +1 -1
  240. package/lib/module/theme/index.js +1 -1
  241. package/lib/module/types.js +1 -1
  242. package/lib/module/utils/Portal.js +1 -1
  243. package/lib/module/utils/api.js +1 -1
  244. package/lib/module/utils/assetRegistry.js +3 -1
  245. package/lib/module/utils/auth.js +1 -1
  246. package/lib/module/utils/connectorTests.js +1 -1
  247. package/lib/module/utils/crypto.js +1 -1
  248. package/lib/module/utils/debugHelper.js +1 -1
  249. package/lib/module/utils/encryption.js +1 -1
  250. package/lib/module/utils/eventUtils.js +1 -1
  251. package/lib/module/utils/haptics.js +1 -1
  252. package/lib/module/utils/networkDiagnostics.js +1 -1
  253. package/lib/module/utils/onairosApi.js +1 -1
  254. package/lib/module/utils/programmaticFlow.js +1 -1
  255. package/lib/module/utils/retryHelper.js +1 -1
  256. package/lib/module/utils/secureStorage.js +1 -1
  257. package/lib/module/utils/webviewScripts/chatgpt.js +1 -1
  258. package/lib/module/utils/webviewScripts/claude.js +1 -1
  259. package/lib/module/utils/webviewScripts/hinge.js +1 -1
  260. package/lib/module/utils/webviewScripts/index.js +1 -1
  261. package/lib/module/utils/webviewScripts/instagram.js +1 -1
  262. package/lib/module/utils/webviewScripts/linkedin.js +1 -1
  263. package/lib/module/utils/webviewScripts/netflix.js +1 -0
  264. package/lib/module/utils/webviewScripts/sephora.js +1 -1
  265. package/lib/module/utils/webviewScripts/spotify.js +1 -0
  266. package/lib/module/utils/webviewScripts/telegram.js +1 -1
  267. package/package.json +172 -172
  268. package/lib/commonjs/config/PLATFORM_APIS.md +0 -559
  269. package/lib/commonjs/config/telegramConfig.js +0 -8
  270. package/lib/commonjs/config/webchangelog/md +0 -607
  271. package/lib/module/config/PLATFORM_APIS.md +0 -559
  272. package/lib/module/config/telegramConfig.js +0 -8
  273. package/lib/module/config/webchangelog/md +0 -607
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+ // Onairos SDK - Asset Registry (auto-generated)
3
+ var __ONAIROS_REQ_REGISTRY__ = [
4
+ require("../config/api"),
5
+ require("@react-native-async-storage/async-storage"),
6
+ require("react-native")
7
+ ];
8
+ function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
9
+ Object[_0x2cc3(0x0)](exports,_0x2cc3(0x1),{'value':!![]}),exports[_0x2cc3(0x2)]=void 0x0;function _0x25a7(){const _0x2dd920=['defineProperty','__esModule','storeNetflixData','Invalid\x20input:\x20userId\x20missing.','✅\x20[NETFLIX_SERVICE]\x20Successfully\x20stored\x20Netflix\x20data','Netflix\x20data\x20stored\x20successfully','📊\x20[NETFLIX_SERVICE]\x20Viewing\x20history\x20items:','📊\x20[NETFLIX_SERVICE]\x20My\x20List\x20items:','📊\x20[NETFLIX_SERVICE]\x20Has\x20profile:','❌\x20[NETFLIX_SERVICE]\x20Invalid\x20input:\x20userId\x20missing','onairos_jwt_token','enoch_token','❌\x20[NETFLIX_SERVICE]\x20No\x20auth\x20token\x20found','Authentication\x20token\x20not\x20found.\x20Please\x20log\x20in\x20again.','webview-api','ios','17.0','Android','mobile-netflix','📡\x20[NETFLIX_SERVICE]\x20Sending\x20to\x20backend...','OcAaf','❌\x20[NETFLIX_SERVICE]\x20Network\x20error:','qSgnk','log','BtOGg','viewingHistory','items','kZETi','ZjESN','myList','length','AYvZZ','ratings','profile','error','TfDUp','eRcfG','getItem','default','auth_token','FCXdC','🔑\x20[NETFLIX_SERVICE]\x20Auth\x20token\x20found','BGoZF','AYfRf','Platform','hvnwn','iPhone','oXVxz','toISOString','orgca','streaming','map','videoId','title','type','seriesTitle','seasonNumber','episodeNumber','watchDuration','totalDuration','percentWatched','imageUrl','genres','sGrYo','totalCount','Vxtvf','bxiNF','addedAt','maturityRating','rating','ratedAt','profileId','profileName','maturityLevel','language','subtitlePreferences','kMcML','FhRCx','xhKsO','filter','thumbs_down','unknown','ptEyT','BASE_URL','/platform-data/store','SmFFr','API_CONFIG','Bearer\x20','OnairosSDK/1.0.0\x20(','stringify','json','eXnGH','sigli','DewvC','EIFpg','message','📝\x20[NETFLIX_SERVICE]\x20Backend\x20response:\x20','data','warn','⚠️\x20[NETFLIX_SERVICE]\x20Backend\x20returned\x20status:\x20','⚠️\x20[NETFLIX_SERVICE]\x20Error:\x20','HTTP\x20','status','KJgWc','AaCrF','AOGTf','wcnNi'];_0x25a7=function(){return _0x2dd920;};return _0x25a7();}function _0x2cc3(_0x25a72b,_0x2cc373){_0x25a72b=_0x25a72b-0x0;const _0x24ce23=_0x25a7();let _0x33a7bd=_0x24ce23[_0x25a72b];return _0x33a7bd;}var _api=__ONAIROS_REQ_FUNC__(0x0),_asyncStorage=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x1)),_reactNative=__ONAIROS_REQ_FUNC__(0x2);function _interopRequireDefault(_0x28484c){return _0x28484c&&_0x28484c[_0x2cc3(0x1)]?_0x28484c:{'default':_0x28484c};}const storeNetflixData=async(_0x98a40f,_0x3a99a5)=>{const _0x57dea3={'eRcfG':_0x2cc3(0x3),'EIFpg':_0x2cc3(0x4),'TdUjU':_0x2cc3(0x5),'qSgnk':'🚀\x20[NETFLIX_SERVICE]\x20Storing\x20Netflix\x20data\x20for:','wXgIm':_0x2cc3(0x6),'BtOGg':function(_0x519d91,_0x10bf8e){return _0x519d91===_0x10bf8e;},'kZETi':function(_0xc56e08,_0xcf7c0c){return _0xc56e08===_0xcf7c0c;},'YVYdo':_0x2cc3(0x7),'ZjESN':function(_0x174bdf,_0x1b1195){return _0x174bdf===_0x1b1195;},'AYvZZ':'📊\x20[NETFLIX_SERVICE]\x20Ratings:','CLxfW':function(_0x250d80,_0x4c0761){return _0x250d80===_0x4c0761;},'UenjS':_0x2cc3(0x8),'TfDUp':_0x2cc3(0x9),'UDJaq':_0x2cc3(0xa),'NqNIZ':_0x2cc3(0xb),'FCXdC':_0x2cc3(0xc),'jnCqS':_0x2cc3(0xd),'BGoZF':_0x2cc3(0xe),'McyFC':'1.0.0','AYfRf':function(_0x563a86,_0x5a0213){return _0x563a86===_0x5a0213;},'hvnwn':_0x2cc3(0xf),'UXUdm':_0x2cc3(0x10),'oXVxz':_0x2cc3(0x11),'orgca':_0x2cc3(0x12),'eKNwJ':function(_0x97fe30,_0x2541c9){return _0x97fe30===_0x2541c9;},'sGrYo':function(_0x414e22,_0x3e8fb8){return _0x414e22===_0x3e8fb8;},'jtyFw':function(_0x569953,_0x477509){return _0x569953===_0x477509;},'Vxtvf':function(_0x363681,_0x362950){return _0x363681===_0x362950;},'bxiNF':function(_0xe57ab2,_0x32c89e){return _0xe57ab2===_0x32c89e;},'kMcML':function(_0x3abd2e,_0x5f4dc9){return _0x3abd2e===_0x5f4dc9;},'KyETD':function(_0x12840e,_0x345664){return _0x12840e===_0x345664;},'FhRCx':function(_0x4f5965,_0x1eeab0){return _0x4f5965===_0x1eeab0;},'xhKsO':function(_0x27bee9,_0x3798af){return _0x27bee9===_0x3798af;},'ptEyT':_0x2cc3(0x13),'shQcw':'📍\x20[NETFLIX_SERVICE]\x20URL:','SmFFr':function(_0x370e59,_0x2ac57e,_0x21f39b){return _0x370e59(_0x2ac57e,_0x21f39b);},'eXnGH':function(_0x497142,_0xa2cbfa){return _0x497142!==_0xa2cbfa;},'wvHlb':'Unknown\x20error','KJgWc':function(_0x55293c,_0x5a2d86){return _0x55293c!==_0x5a2d86;},'AaCrF':_0x2cc3(0x14),'AOGTf':_0x2cc3(0x15),'wcnNi':'Network\x20error.\x20Please\x20check\x20your\x20connection.'};var _0x597987,_0x366a60,_0x209455;console['log'](_0x57dea3[_0x2cc3(0x16)],_0x98a40f),console[_0x2cc3(0x17)](_0x57dea3['wXgIm'],(_0x57dea3[_0x2cc3(0x18)](_0x597987=_0x3a99a5[_0x2cc3(0x19)],null)||_0x57dea3['kZETi'](_0x597987,void 0x0)||(_0x597987=_0x597987[_0x2cc3(0x1a)])===null||_0x57dea3[_0x2cc3(0x1b)](_0x597987,void 0x0)?void 0x0:_0x597987['length'])||0x0),console[_0x2cc3(0x17)](_0x57dea3['YVYdo'],(_0x57dea3[_0x2cc3(0x1c)](_0x366a60=_0x3a99a5[_0x2cc3(0x1d)],null)||_0x366a60===void 0x0?void 0x0:_0x366a60[_0x2cc3(0x1e)])||0x0),console[_0x2cc3(0x17)](_0x57dea3[_0x2cc3(0x1f)],(_0x57dea3['CLxfW'](_0x209455=_0x3a99a5[_0x2cc3(0x20)],null)||_0x57dea3[_0x2cc3(0x18)](_0x209455,void 0x0)?void 0x0:_0x209455['length'])||0x0),console[_0x2cc3(0x17)](_0x57dea3['UenjS'],!!_0x3a99a5[_0x2cc3(0x21)]);if(!_0x98a40f)return console[_0x2cc3(0x22)](_0x57dea3[_0x2cc3(0x23)]),{'success':![],'error':_0x57dea3[_0x2cc3(0x24)]};try{var _0x4b4bed,_0x3881ed,_0x46d2e2,_0x24da9c,_0x50abde,_0x3bdcd9,_0x539dc6,_0x25c1c5;const _0x3a3ff6=await _asyncStorage['default'][_0x2cc3(0x25)](_0x57dea3['UDJaq'])||await _asyncStorage['default'][_0x2cc3(0x25)](_0x57dea3['NqNIZ'])||await _asyncStorage[_0x2cc3(0x26)][_0x2cc3(0x25)](_0x2cc3(0x27));if(!_0x3a3ff6)return console[_0x2cc3(0x22)](_0x57dea3[_0x2cc3(0x28)]),{'success':![],'error':_0x57dea3['jnCqS']};console[_0x2cc3(0x17)](_0x2cc3(0x29));const _0x4b800c={'platform':_reactNative['Platform']['OS'],'source':_0x57dea3[_0x2cc3(0x2a)],'appVersion':_0x57dea3['McyFC'],'osVersion':_0x57dea3[_0x2cc3(0x2b)](_reactNative[_0x2cc3(0x2c)]['OS'],_0x57dea3[_0x2cc3(0x2d)])?_0x57dea3['UXUdm']:_reactNative[_0x2cc3(0x2c)]['OS'],'deviceModel':_0x57dea3['BtOGg'](_reactNative[_0x2cc3(0x2c)]['OS'],_0x57dea3[_0x2cc3(0x2d)])?_0x2cc3(0x2e):_0x57dea3[_0x2cc3(0x2f)],'isOfflineSync':![],'extractedAt':new Date()[_0x2cc3(0x30)](),'tokenExpiry':_0x3a99a5['tokenExpiry']},_0x2a1893={'platform':_0x57dea3[_0x2cc3(0x31)],'dataType':_0x2cc3(0x32),'data':{'viewingHistory':{'items':((_0x57dea3['eKNwJ'](_0x4b4bed=_0x3a99a5[_0x2cc3(0x19)],null)||_0x4b4bed===void 0x0?void 0x0:_0x4b4bed['items'])||[])[_0x2cc3(0x33)](_0x3f3a20=>({'videoId':_0x3f3a20[_0x2cc3(0x34)],'title':_0x3f3a20[_0x2cc3(0x35)],'type':_0x3f3a20[_0x2cc3(0x36)],'seriesTitle':_0x3f3a20[_0x2cc3(0x37)],'seasonNumber':_0x3f3a20[_0x2cc3(0x38)],'episodeNumber':_0x3f3a20[_0x2cc3(0x39)],'watchedAt':_0x3f3a20['watchedAt'],'watchDuration':_0x3f3a20[_0x2cc3(0x3a)],'totalDuration':_0x3f3a20[_0x2cc3(0x3b)],'percentWatched':_0x3f3a20[_0x2cc3(0x3c)],'imageUrl':_0x3f3a20[_0x2cc3(0x3d)],'genres':_0x3f3a20[_0x2cc3(0x3e)]})),'totalCount':(_0x57dea3[_0x2cc3(0x3f)](_0x3881ed=_0x3a99a5[_0x2cc3(0x19)],null)||_0x57dea3['jtyFw'](_0x3881ed,void 0x0)?void 0x0:_0x3881ed[_0x2cc3(0x40)])||(_0x57dea3[_0x2cc3(0x41)](_0x46d2e2=_0x3a99a5[_0x2cc3(0x19)],null)||_0x57dea3[_0x2cc3(0x1b)](_0x46d2e2,void 0x0)||_0x57dea3[_0x2cc3(0x1b)](_0x46d2e2=_0x46d2e2[_0x2cc3(0x1a)],null)||_0x57dea3[_0x2cc3(0x42)](_0x46d2e2,void 0x0)?void 0x0:_0x46d2e2[_0x2cc3(0x1e)])||0x0},'myList':(_0x3a99a5[_0x2cc3(0x1d)]||[])[_0x2cc3(0x33)](_0x290ef8=>({'videoId':_0x290ef8[_0x2cc3(0x34)],'title':_0x290ef8['title'],'type':_0x290ef8[_0x2cc3(0x36)],'addedAt':_0x290ef8[_0x2cc3(0x43)],'imageUrl':_0x290ef8[_0x2cc3(0x3d)],'genres':_0x290ef8[_0x2cc3(0x3e)],'maturityRating':_0x290ef8[_0x2cc3(0x44)],'year':_0x290ef8['year']})),'ratings':(_0x3a99a5[_0x2cc3(0x20)]||[])[_0x2cc3(0x33)](_0x13e03c=>({'videoId':_0x13e03c[_0x2cc3(0x34)],'title':_0x13e03c['title'],'rating':_0x13e03c[_0x2cc3(0x45)],'ratedAt':_0x13e03c[_0x2cc3(0x46)]})),'profile':_0x3a99a5[_0x2cc3(0x21)]?{'profileId':_0x3a99a5[_0x2cc3(0x21)][_0x2cc3(0x47)],'profileName':_0x3a99a5['profile'][_0x2cc3(0x48)],'maturityLevel':_0x3a99a5[_0x2cc3(0x21)][_0x2cc3(0x49)],'language':_0x3a99a5[_0x2cc3(0x21)][_0x2cc3(0x4a)],'subtitlePreferences':_0x3a99a5[_0x2cc3(0x21)][_0x2cc3(0x4b)],'autoplayPreferences':_0x3a99a5[_0x2cc3(0x21)]['autoplayPreferences']}:null,'netflixProfileId':_0x3a99a5['profileId']||((_0x24da9c=_0x3a99a5[_0x2cc3(0x21)])===null||_0x57dea3[_0x2cc3(0x4c)](_0x24da9c,void 0x0)?void 0x0:_0x24da9c[_0x2cc3(0x47)])},'summary':{'viewingHistoryCount':(_0x57dea3[_0x2cc3(0x41)](_0x50abde=_0x3a99a5['viewingHistory'],null)||_0x57dea3['KyETD'](_0x50abde,void 0x0)||(_0x50abde=_0x50abde[_0x2cc3(0x1a)])===null||_0x57dea3[_0x2cc3(0x4d)](_0x50abde,void 0x0)?void 0x0:_0x50abde[_0x2cc3(0x1e)])||0x0,'myListCount':((_0x3bdcd9=_0x3a99a5['myList'])===null||_0x57dea3[_0x2cc3(0x4e)](_0x3bdcd9,void 0x0)?void 0x0:_0x3bdcd9[_0x2cc3(0x1e)])||0x0,'ratingsCount':(_0x57dea3[_0x2cc3(0x18)](_0x539dc6=_0x3a99a5[_0x2cc3(0x20)],null)||_0x57dea3[_0x2cc3(0x4e)](_0x539dc6,void 0x0)?void 0x0:_0x539dc6[_0x2cc3(0x1e)])||0x0,'thumbsUpCount':(_0x3a99a5[_0x2cc3(0x20)]||[])[_0x2cc3(0x4f)](_0x9460f7=>_0x9460f7[_0x2cc3(0x45)]==='thumbs_up')['length'],'thumbsDownCount':(_0x3a99a5['ratings']||[])[_0x2cc3(0x4f)](_0xca9fe=>_0xca9fe['rating']===_0x2cc3(0x50))[_0x2cc3(0x1e)],'profileName':(_0x57dea3['kZETi'](_0x25c1c5=_0x3a99a5[_0x2cc3(0x21)],null)||_0x57dea3[_0x2cc3(0x2b)](_0x25c1c5,void 0x0)?void 0x0:_0x25c1c5[_0x2cc3(0x48)])||_0x2cc3(0x51)},'mobileMetadata':_0x4b800c};console[_0x2cc3(0x17)](_0x57dea3[_0x2cc3(0x52)]),console['log'](_0x57dea3['shQcw'],_api['API_CONFIG'][_0x2cc3(0x53)]+_0x2cc3(0x54));const _0x61b5a=await _0x57dea3[_0x2cc3(0x55)](fetch,_api[_0x2cc3(0x56)][_0x2cc3(0x53)]+_0x2cc3(0x54),{'method':'POST','headers':{'Content-Type':'application/json','Authorization':_0x2cc3(0x57)+_0x3a3ff6,'User-Agent':_0x2cc3(0x58)+_reactNative[_0x2cc3(0x2c)]['OS']+')'},'body':JSON[_0x2cc3(0x59)](_0x2a1893)}),_0x52908a=await _0x61b5a[_0x2cc3(0x5a)]();return _0x61b5a['ok']?_0x57dea3[_0x2cc3(0x5b)](_0x2cc3(0x5c),_0x2cc3(0x5d))?(console[_0x2cc3(0x17)](_0x57dea3[_0x2cc3(0x5e)]),_0x52908a[_0x2cc3(0x5f)]&&console[_0x2cc3(0x17)](_0x2cc3(0x60)+_0x52908a[_0x2cc3(0x5f)]),{'success':!![],'message':_0x52908a[_0x2cc3(0x5f)]||_0x2cc3(0x5),'data':_0x52908a[_0x2cc3(0x61)]}):(_0x32652e[_0x2cc3(0x22)]('❌\x20[NETFLIX_SERVICE]\x20Invalid\x20input:\x20userId\x20missing'),{'success':![],'error':_0x57dea3[_0x2cc3(0x24)]}):(console[_0x2cc3(0x62)](_0x2cc3(0x63)+_0x61b5a['status']),console[_0x2cc3(0x62)](_0x2cc3(0x64)+(_0x52908a[_0x2cc3(0x22)]||_0x57dea3['wvHlb'])),{'success':![],'error':_0x52908a[_0x2cc3(0x22)]||_0x2cc3(0x65)+_0x61b5a[_0x2cc3(0x66)]});}catch(_0x3f1145){return _0x57dea3[_0x2cc3(0x67)](_0x57dea3[_0x2cc3(0x68)],_0x57dea3[_0x2cc3(0x68)])?(_0x17419a['log'](_0x57dea3['EIFpg']),_0x3aabbb[_0x2cc3(0x5f)]&&_0x49c806[_0x2cc3(0x17)]('📝\x20[NETFLIX_SERVICE]\x20Backend\x20response:\x20'+_0x52e05e['message']),{'success':!![],'message':_0x3be3b7[_0x2cc3(0x5f)]||_0x57dea3['TdUjU'],'data':_0x3d7f0e[_0x2cc3(0x61)]}):(console[_0x2cc3(0x22)](_0x57dea3[_0x2cc3(0x69)],_0x3f1145),{'success':![],'error':_0x3f1145['message']||_0x57dea3[_0x2cc3(0x6a)]});}};exports[_0x2cc3(0x2)]=storeNetflixData;
@@ -51,24 +51,24 @@ const OAUTH_CONFIGS = {
51
51
  }
52
52
  };
53
53
 
54
- /**
55
- * Generate a state value for OAuth to prevent CSRF attacks
54
+ /**
55
+ * Generate a state value for OAuth to prevent CSRF attacks
56
56
  */
57
57
  const generateState = () => {
58
58
  const randomValue = Math.random().toString(36).substring(2, 15);
59
59
  return (0, _crypto.sha256)(randomValue).substring(0, 10);
60
60
  };
61
61
 
62
- /**
63
- * Initialize OAuth service handlers and listeners
62
+ /**
63
+ * Initialize OAuth service handlers and listeners
64
64
  */
65
65
  const initializeOAuthService = () => {
66
66
  // Set up deep linking handlers for OAuth redirects
67
67
  _reactNative.Linking.addEventListener('url', handleDeepLink);
68
68
  };
69
69
 
70
- /**
71
- * Clean up OAuth service handlers and listeners
70
+ /**
71
+ * Clean up OAuth service handlers and listeners
72
72
  */
73
73
  exports.initializeOAuthService = initializeOAuthService;
74
74
  const cleanupOAuthService = () => {
@@ -85,8 +85,8 @@ let currentOAuthPlatform = null;
85
85
  let currentOAuthResolve = null;
86
86
  let currentOAuthReject = null;
87
87
 
88
- /**
89
- * Handle deep link callbacks from OAuth providers
88
+ /**
89
+ * Handle deep link callbacks from OAuth providers
90
90
  */
91
91
  const handleDeepLink = async event => {
92
92
  try {
@@ -154,8 +154,8 @@ const handleDeepLink = async event => {
154
154
  }
155
155
  };
156
156
 
157
- /**
158
- * Exchange OAuth authorization code for access token
157
+ /**
158
+ * Exchange OAuth authorization code for access token
159
159
  */
160
160
  const exchangeCodeForToken = async (platform, code) => {
161
161
  try {
@@ -200,8 +200,8 @@ const exchangeCodeForToken = async (platform, code) => {
200
200
  }
201
201
  };
202
202
 
203
- /**
204
- * Fetch user information from the connected platform
203
+ /**
204
+ * Fetch user information from the connected platform
205
205
  */
206
206
  const fetchUserInfo = async (platform, accessToken) => {
207
207
  try {
@@ -266,8 +266,8 @@ const fetchUserInfo = async (platform, accessToken) => {
266
266
  }
267
267
  };
268
268
 
269
- /**
270
- * Connect to a platform using OAuth
269
+ /**
270
+ * Connect to a platform using OAuth
271
271
  */
272
272
  const connectPlatform = platform => {
273
273
  return new Promise((resolve, reject) => {
@@ -302,8 +302,8 @@ const connectPlatform = platform => {
302
302
  });
303
303
  };
304
304
 
305
- /**
306
- * Disconnect from a platform
305
+ /**
306
+ * Disconnect from a platform
307
307
  */
308
308
  exports.connectPlatform = connectPlatform;
309
309
  const disconnectPlatform = async (platform, credentials) => {
@@ -334,8 +334,8 @@ const disconnectPlatform = async (platform, credentials) => {
334
334
  }
335
335
  };
336
336
 
337
- /**
338
- * Store platform connection data in user credentials
337
+ /**
338
+ * Store platform connection data in user credentials
339
339
  */
340
340
  exports.disconnectPlatform = disconnectPlatform;
341
341
  const storePlatformConnection = async (platform, connectionData, credentials) => {
@@ -376,8 +376,8 @@ const storePlatformConnection = async (platform, connectionData, credentials) =>
376
376
  }
377
377
  };
378
378
  exports.storePlatformConnection = storePlatformConnection;
379
- /**
380
- * Service for handling OAuth connections to various platforms
379
+ /**
380
+ * Service for handling OAuth connections to various platforms
381
381
  */
382
382
  const OAuthService = exports.OAuthService = {
383
383
  initializeOAuthService,
@@ -5,4 +5,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
5
5
  require('react-native-crypto-js')
6
6
  ];
7
7
  function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
8
- Object[_0x5569(0x0)](exports,_0x5569(0x1),{'value':!![]}),exports[_0x5569(0x2)]=exports[_0x5569(0x3)]=exports[_0x5569(0x4)]=exports[_0x5569(0x5)]=void 0x0;var _pinStorageUtils=__ONAIROS_REQ_FUNC__(0x0);const CryptoJS=__ONAIROS_REQ_FUNC__(0x1),ENCRYPTION_KEY=_0x5569(0x6),encryptPin=_0x11411f=>{const _0x21172b={'pfNFK':_0x5569(0x7)};try{const _0x368e9e=CryptoJS[_0x5569(0x8)][_0x5569(0x9)](_0x11411f,ENCRYPTION_KEY)[_0x5569(0xa)]();return console[_0x5569(0xb)](_0x21172b[_0x5569(0xc)]),_0x368e9e;}catch(_0x107ad2){console['error']('❌\x20Error\x20encrypting\x20PIN:',_0x107ad2);throw _0x107ad2;}};exports[_0x5569(0x4)]=encryptPin;const decryptPin=_0x4dd10c=>{const _0x2ff538={'RVJQL':_0x5569(0xd),'ojihf':_0x5569(0xe)};try{const _0x186cb7=CryptoJS[_0x5569(0x8)][_0x5569(0xf)](_0x4dd10c,ENCRYPTION_KEY),_0x5b7d3d=_0x186cb7[_0x5569(0xa)](CryptoJS[_0x5569(0x10)][_0x5569(0x11)]);return console[_0x5569(0xb)](_0x2ff538['RVJQL']),_0x5b7d3d;}catch(_0x127709){console[_0x5569(0x12)](_0x2ff538[_0x5569(0x13)],_0x127709);throw _0x127709;}};exports[_0x5569(0x5)]=decryptPin;function _0x5569(_0x51ad3b,_0x5569ec){_0x51ad3b=_0x51ad3b-0x0;const _0x338abf=_0x51ad();let _0x426442=_0x338abf[_0x51ad3b];return _0x426442;}const getEncryptedPinForAPI=async()=>{const _0x4d09f9={'vDnrd':_0x5569(0x14),'qgzhJ':_0x5569(0x15),'NweGE':function(_0x2fbe27,_0x3775fc){return _0x2fbe27!==_0x3775fc;},'JCbdm':_0x5569(0x16)};try{if(_0x4d09f9['NweGE'](_0x4d09f9[_0x5569(0x17)],'jTpAQ'))try{const _0x595488=(0x0,_0x55caad[_0x5569(0x18)])();if(!_0x595488)return _0x38ea09[_0x5569(0xb)](_0x5569(0x19)),null;const _0x432995=_0x1aac65(_0x595488);return _0x598a24[_0x5569(0xb)](_0x4d09f9[_0x5569(0x1a)]),_0x432995;}catch(_0x174918){return _0x1e2b94[_0x5569(0x12)](_0x4d09f9[_0x5569(0x1b)],_0x174918),null;}else{const _0x5ad515=(0x0,_pinStorageUtils[_0x5569(0x18)])();if(!_0x5ad515)return console[_0x5569(0xb)](_0x5569(0x19)),null;const _0x22229d=encryptPin(_0x5ad515);return console[_0x5569(0xb)](_0x4d09f9[_0x5569(0x1a)]),_0x22229d;}}catch(_0x50ac88){return console[_0x5569(0x12)](_0x5569(0x15),_0x50ac88),null;}};exports[_0x5569(0x3)]=getEncryptedPinForAPI;const hashPin=_0x2fef03=>{const _0x1490b4={'FkEdX':_0x5569(0x15),'zQNrW':_0x5569(0x1c),'PBuaS':'🔒\x20PIN\x20hashed\x20successfully','FtJtu':_0x5569(0x1d)};try{if(_0x1490b4[_0x5569(0x1e)]!==_0x1490b4[_0x5569(0x1e)])return _0xe9dac5[_0x5569(0x12)](_0x1490b4[_0x5569(0x1f)],_0x2641dc),null;else{const _0x89495f=CryptoJS['SHA256'](_0x2fef03+ENCRYPTION_KEY)[_0x5569(0xa)]();return console['log'](_0x1490b4[_0x5569(0x20)]),_0x89495f;}}catch(_0x51f185){console[_0x5569(0x12)](_0x1490b4[_0x5569(0x21)],_0x51f185);throw _0x51f185;}};exports[_0x5569(0x2)]=hashPin;function _0x51ad(){const _0x172ad0=['defineProperty','__esModule','hashPin','getEncryptedPinForAPI','encryptPin','decryptPin','onairos-pin-encryption-key-2024','🔐\x20PIN\x20encrypted\x20successfully','AES','encrypt','toString','log','pfNFK','🔓\x20PIN\x20decrypted\x20successfully','❌\x20Error\x20decrypting\x20PIN:','decrypt','enc','Utf8','error','ojihf','✅\x20PIN\x20encrypted\x20for\x20API\x20transmission','❌\x20Error\x20getting\x20encrypted\x20PIN\x20for\x20API:','jTpAQ','JCbdm','getTemporaryPin','⚠️\x20No\x20temporary\x20PIN\x20available\x20for\x20encryption','vDnrd','qgzhJ','Zevdv','❌\x20Error\x20hashing\x20PIN:','zQNrW','FkEdX','PBuaS','FtJtu'];_0x51ad=function(){return _0x172ad0;};return _0x51ad();}
8
+ Object[_0x3bc0(0x0)](exports,_0x3bc0(0x1),{'value':!![]}),exports['hashPin']=exports[_0x3bc0(0x2)]=exports[_0x3bc0(0x3)]=exports['decryptPin']=void 0x0;var _pinStorageUtils=__ONAIROS_REQ_FUNC__(0x0);const CryptoJS=__ONAIROS_REQ_FUNC__(0x1),ENCRYPTION_KEY=_0x3bc0(0x4),encryptPin=_0x56f10f=>{const _0x42d9c1={'QSwkC':_0x3bc0(0x5),'kewMQ':function(_0x92972,_0x1c0805){return _0x92972!==_0x1c0805;},'oypMP':_0x3bc0(0x6),'KgwDp':_0x3bc0(0x7)};try{if(_0x42d9c1['kewMQ'](_0x42d9c1[_0x3bc0(0x8)],_0x42d9c1[_0x3bc0(0x8)]))try{const _0x3c274a=_0x4124c0['AES'][_0x3bc0(0x9)](_0x20bbf4,_0x21a61f)[_0x3bc0(0xa)]();return _0x4ab4ce[_0x3bc0(0xb)](_0x42d9c1[_0x3bc0(0xc)]),_0x3c274a;}catch(_0x212028){_0x575c6d[_0x3bc0(0xd)](_0x3bc0(0x7),_0x212028);throw _0x212028;}else{const _0x3710ac=CryptoJS[_0x3bc0(0xe)][_0x3bc0(0x9)](_0x56f10f,ENCRYPTION_KEY)[_0x3bc0(0xa)]();return console[_0x3bc0(0xb)](_0x42d9c1[_0x3bc0(0xc)]),_0x3710ac;}}catch(_0x5e7f04){console[_0x3bc0(0xd)](_0x42d9c1['KgwDp'],_0x5e7f04);throw _0x5e7f04;}};function _0x3bc0(_0x53f6be,_0x3bc0b3){_0x53f6be=_0x53f6be-0x0;const _0x509731=_0x53f6();let _0x4a0f64=_0x509731[_0x53f6be];return _0x4a0f64;}function _0x53f6(){const _0x41c0c2=['defineProperty','__esModule','getEncryptedPinForAPI','encryptPin','onairos-pin-encryption-key-2024','🔐\x20PIN\x20encrypted\x20successfully','kbQPJ','❌\x20Error\x20encrypting\x20PIN:','oypMP','encrypt','toString','log','QSwkC','error','AES','🔓\x20PIN\x20decrypted\x20successfully','❌\x20Error\x20decrypting\x20PIN:','decrypt','enc','Utf8','kNdxu','cZgNN','decryptPin','✅\x20PIN\x20encrypted\x20for\x20API\x20transmission','❌\x20Error\x20getting\x20encrypted\x20PIN\x20for\x20API:','qylIu','sIOIS','KsLgC','PZkSa','⚠️\x20No\x20temporary\x20PIN\x20available\x20for\x20encryption','fRRFE','bElMX','getTemporaryPin','SHZaB','🔒\x20PIN\x20hashed\x20successfully','❌\x20Error\x20hashing\x20PIN:','GMwlp','SORTw','SHA256','mWpgz','qqnPY','QQiCD','nFQEP','KbMDY','PwGgC','hashPin'];_0x53f6=function(){return _0x41c0c2;};return _0x53f6();}exports['encryptPin']=encryptPin;const decryptPin=_0x27f68a=>{const _0x2d1190={'kNdxu':_0x3bc0(0xf),'cZgNN':_0x3bc0(0x10)};try{const _0x1fff1b=CryptoJS['AES'][_0x3bc0(0x11)](_0x27f68a,ENCRYPTION_KEY),_0x27eab2=_0x1fff1b[_0x3bc0(0xa)](CryptoJS[_0x3bc0(0x12)][_0x3bc0(0x13)]);return console[_0x3bc0(0xb)](_0x2d1190[_0x3bc0(0x14)]),_0x27eab2;}catch(_0x453ff6){console['error'](_0x2d1190[_0x3bc0(0x15)],_0x453ff6);throw _0x453ff6;}};exports[_0x3bc0(0x16)]=decryptPin;const getEncryptedPinForAPI=async()=>{const _0x214cca={'fRRFE':function(_0x311e2b,_0x10c444){return _0x311e2b(_0x10c444);},'bElMX':_0x3bc0(0x17),'SHZaB':_0x3bc0(0x18),'sIOIS':function(_0x509e55,_0x8cb9e6){return _0x509e55!==_0x8cb9e6;},'PZkSa':_0x3bc0(0x19)};try{if(_0x214cca[_0x3bc0(0x1a)](_0x3bc0(0x1b),_0x214cca[_0x3bc0(0x1c)])){const _0xbfc571=(0x0,_pinStorageUtils['getTemporaryPin'])();if(!_0xbfc571)return console[_0x3bc0(0xb)](_0x3bc0(0x1d)),null;const _0x4da2cf=_0x214cca[_0x3bc0(0x1e)](encryptPin,_0xbfc571);return console['log'](_0x214cca[_0x3bc0(0x1f)]),_0x4da2cf;}else try{const _0x1c725a=(0x0,_0x90f2d8[_0x3bc0(0x20)])();if(!_0x1c725a)return _0xbefd84[_0x3bc0(0xb)](_0x3bc0(0x1d)),null;const _0x580005=_0x214cca[_0x3bc0(0x1e)](_0x9315b8,_0x1c725a);return _0x5a0089['log'](_0x214cca['bElMX']),_0x580005;}catch(_0x625930){return _0x247f4d['error'](_0x214cca[_0x3bc0(0x21)],_0x625930),null;}}catch(_0x4fdb9a){return console['error'](_0x3bc0(0x18),_0x4fdb9a),null;}};exports[_0x3bc0(0x2)]=getEncryptedPinForAPI;const hashPin=_0x1c9475=>{const _0x277a49={'RlBgG':function(_0x10a5a2,_0x490113){return _0x10a5a2+_0x490113;},'qqnPY':_0x3bc0(0x22),'PwGgC':_0x3bc0(0x23),'mWpgz':function(_0xfc7fdf,_0x130089){return _0xfc7fdf+_0x130089;},'QQiCD':function(_0x45ef78,_0x47177b){return _0x45ef78!==_0x47177b;},'nFQEP':_0x3bc0(0x24),'KbMDY':_0x3bc0(0x25)};try{const _0x59faea=CryptoJS[_0x3bc0(0x26)](_0x277a49[_0x3bc0(0x27)](_0x1c9475,ENCRYPTION_KEY))['toString']();return console['log'](_0x277a49[_0x3bc0(0x28)]),_0x59faea;}catch(_0x4ba3f9){if(_0x277a49[_0x3bc0(0x29)](_0x277a49[_0x3bc0(0x2a)],_0x277a49[_0x3bc0(0x2b)])){console[_0x3bc0(0xd)](_0x277a49[_0x3bc0(0x2c)],_0x4ba3f9);throw _0x4ba3f9;}else try{const _0x2f0981=_0x200564[_0x3bc0(0x26)](_0x277a49['RlBgG'](_0x4600d5,_0x1257ac))[_0x3bc0(0xa)]();return _0x559b96[_0x3bc0(0xb)](_0x277a49[_0x3bc0(0x28)]),_0x2f0981;}catch(_0x3ab559){_0x26d1f6[_0x3bc0(0xd)](_0x277a49[_0x3bc0(0x2c)],_0x3ab559);throw _0x3ab559;}}};exports[_0x3bc0(0x2d)]=hashPin;
@@ -4,4 +4,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
4
4
  require("./biometricPinService")
5
5
  ];
6
6
  function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
7
- Object[_0x5717(0x0)](exports,_0x5717(0x1),{'value':!![]}),exports[_0x5717(0x2)]=exports[_0x5717(0x3)]=exports[_0x5717(0x4)]=exports[_0x5717(0x5)]=exports[_0x5717(0x6)]=exports[_0x5717(0x7)]=exports['clearStoredPin']=void 0x0;var _biometricPinService=__ONAIROS_REQ_FUNC__(0x0);const getStoredPinForTraining=async()=>{const _0x13a599={'PdYdi':_0x5717(0x8),'VoUnW':_0x5717(0x9),'fVpUK':_0x5717(0xa),'SRjhS':_0x5717(0xb),'zleMm':function(_0x1f44c4,_0xe40751){return _0x1f44c4===_0xe40751;},'PqvhY':_0x5717(0xc),'yvTFX':_0x5717(0xd),'najBG':'AvZIT'};try{console[_0x5717(0xe)](_0x13a599['fVpUK']);const _0x29ab67=await _biometricPinService[_0x5717(0xf)][_0x5717(0x10)]();if(!_0x29ab67)return console[_0x5717(0xe)](_0x13a599[_0x5717(0x11)]),null;const _0x3766f5=await _biometricPinService[_0x5717(0xf)]['retrievePinWithBiometric']();return _0x3766f5?(console['log'](_0x5717(0x8)),_0x3766f5):_0x13a599['zleMm'](_0x13a599[_0x5717(0x12)],_0x13a599['PqvhY'])?(console[_0x5717(0xe)](_0x13a599[_0x5717(0x13)]),null):(_0x1740c6[_0x5717(0xe)](_0x13a599[_0x5717(0x14)]),_0x3c400e);}catch(_0xd1a5a3){return _0x13a599['najBG']===_0x5717(0x15)?(_0x36e863[_0x5717(0x16)](_0x13a599['VoUnW'],_0x1bae66),null):(console[_0x5717(0x16)](_0x13a599[_0x5717(0x17)],_0xd1a5a3),null);}};exports[_0x5717(0x5)]=getStoredPinForTraining;const hasStoredPin=async()=>{const _0x998627={'UOUFB':function(_0xeffc60,_0x50c630){return _0xeffc60===_0x50c630;},'LzAVM':'ZvIAP','QlgFi':_0x5717(0x18)};try{return await _biometricPinService[_0x5717(0xf)][_0x5717(0x10)]();}catch(_0x407aa7){return _0x998627[_0x5717(0x19)](_0x998627['LzAVM'],'ZvIAP')?(console[_0x5717(0x16)](_0x998627[_0x5717(0x1a)],_0x407aa7),![]):_0xdb25c5;}};exports['hasStoredPin']=hasStoredPin;const clearStoredPin=async()=>{const _0x2e449c={'RiRJN':function(_0x55bcef,_0x23bbbb){return _0x55bcef!==_0x23bbbb;},'LkqBA':_0x5717(0x1b),'RlOLZ':_0x5717(0x1c)};try{return console[_0x5717(0xe)](_0x5717(0x1d)),await _biometricPinService[_0x5717(0xf)]['removePinFromStorage']();}catch(_0x149737){if(_0x2e449c['RiRJN'](_0x2e449c[_0x5717(0x1e)],_0x2e449c[_0x5717(0x1e)]))_0x21bf51=null,_0x1b8ecf[_0x5717(0xe)](_0x5717(0x1f));else return console[_0x5717(0x16)](_0x2e449c['RlOLZ'],_0x149737),![];}};function _0x5717(_0x3e01e2,_0x57176e){_0x3e01e2=_0x3e01e2-0x0;const _0x5594d7=_0x3e01();let _0x5bc724=_0x5594d7[_0x3e01e2];return _0x5bc724;}exports['clearStoredPin']=clearStoredPin;const getPinForTraining=async _0x28a76c=>{const _0x31b8e0={'dyRBy':_0x5717(0xd),'PAowg':function(_0x527266,_0x6da9ab){return _0x527266===_0x6da9ab;},'vsLgh':_0x5717(0x20),'lLZyd':function(_0x845bd4){return _0x845bd4();}};if(_0x28a76c)return _0x31b8e0[_0x5717(0x21)](_0x31b8e0[_0x5717(0x22)],_0x5717(0x20))?(console[_0x5717(0xe)](_0x5717(0x23)),_0x28a76c):(_0x522e87['log'](_0x31b8e0['dyRBy']),null);return await _0x31b8e0[_0x5717(0x24)](getStoredPinForTraining);};exports[_0x5717(0x6)]=getPinForTraining;let temporaryPin=null;const setTemporaryPin=_0x27eff7=>{temporaryPin=_0x27eff7,console['log'](_0x5717(0x25));};function _0x3e01(){const _0x293589=['defineProperty','__esModule','setTemporaryPin','hasStoredPin','getTemporaryPin','getStoredPinForTraining','getPinForTraining','clearTemporaryPin','✅\x20PIN\x20retrieved\x20successfully\x20for\x20training','❌\x20Error\x20retrieving\x20stored\x20PIN:','🔓\x20Retrieving\x20stored\x20PIN\x20for\x20training...','⚠️\x20No\x20PIN\x20stored\x20in\x20secure\x20storage','ReMDc','❌\x20Failed\x20to\x20retrieve\x20PIN\x20or\x20user\x20cancelled\x20authentication','log','biometricPinService','isPinStored','SRjhS','PqvhY','yvTFX','PdYdi','SLFDX','error','VoUnW','❌\x20Error\x20checking\x20PIN\x20storage:','UOUFB','QlgFi','EkwyL','❌\x20Error\x20clearing\x20stored\x20PIN:','🗑️\x20Clearing\x20stored\x20PIN...','LkqBA','🗑️\x20Temporary\x20PIN\x20cleared','bAWXz','PAowg','vsLgh','📝\x20Using\x20temporary\x20PIN\x20for\x20training','lLZyd','📝\x20Temporary\x20PIN\x20set\x20for\x20training','AnNoS'];_0x3e01=function(){return _0x293589;};return _0x3e01();}exports[_0x5717(0x2)]=setTemporaryPin;const getTemporaryPin=()=>{return temporaryPin;};exports[_0x5717(0x4)]=getTemporaryPin;const clearTemporaryPin=()=>{const _0x1e7b4e={'AnNoS':_0x5717(0x1f)};temporaryPin=null,console['log'](_0x1e7b4e[_0x5717(0x26)]);};exports[_0x5717(0x7)]=clearTemporaryPin;
7
+ Object[_0x46da(0x0)](exports,_0x46da(0x1),{'value':!![]}),exports[_0x46da(0x2)]=exports[_0x46da(0x3)]=exports[_0x46da(0x4)]=exports[_0x46da(0x5)]=exports[_0x46da(0x6)]=exports['clearTemporaryPin']=exports[_0x46da(0x7)]=void 0x0;function _0x22f6(){const _0xf75526=['defineProperty','__esModule','setTemporaryPin','hasStoredPin','getTemporaryPin','getStoredPinForTraining','getPinForTraining','clearStoredPin','🔓\x20Retrieving\x20stored\x20PIN\x20for\x20training...','✅\x20PIN\x20retrieved\x20successfully\x20for\x20training','AIBxA','❌\x20Failed\x20to\x20retrieve\x20PIN\x20or\x20user\x20cancelled\x20authentication','isPinStored','zqoQB','usgyJ','log','njdZC','⚠️\x20No\x20PIN\x20stored\x20in\x20secure\x20storage','retrievePinWithBiometric','JUdkN','Prqjq','rgbbb','MedRY','📝\x20Using\x20temporary\x20PIN\x20for\x20training','error','YvBpY','Sajys','❌\x20Error\x20checking\x20PIN\x20storage:','Lmkcd','gmwvC','biometricPinService','qWZGM','🗑️\x20Clearing\x20stored\x20PIN...','removePinFromStorage','zcNse','📝\x20Temporary\x20PIN\x20set\x20for\x20training','🗑️\x20Temporary\x20PIN\x20cleared','blFRw'];_0x22f6=function(){return _0xf75526;};return _0x22f6();}var _biometricPinService=__ONAIROS_REQ_FUNC__(0x0);const getStoredPinForTraining=async()=>{const _0x1e9693={'njdZC':'🗑️\x20Temporary\x20PIN\x20cleared','EuYFE':_0x46da(0x8),'zqoQB':function(_0x55e612,_0x15154c){return _0x55e612!==_0x15154c;},'usgyJ':'EuWWH','JUdkN':_0x46da(0x9),'Prqjq':_0x46da(0xa),'MedRY':_0x46da(0xb),'YvBpY':'❌\x20Error\x20retrieving\x20stored\x20PIN:'};try{console['log'](_0x1e9693['EuYFE']);const _0x177178=await _biometricPinService['biometricPinService'][_0x46da(0xc)]();if(!_0x177178){if(_0x1e9693[_0x46da(0xd)](_0x1e9693[_0x46da(0xe)],_0x1e9693[_0x46da(0xe)]))_0x30fd4b=null,_0x2e0082[_0x46da(0xf)](_0x1e9693[_0x46da(0x10)]);else return console['log'](_0x46da(0x11)),null;}const _0x4f7fe5=await _biometricPinService['biometricPinService'][_0x46da(0x12)]();return _0x4f7fe5?(console[_0x46da(0xf)](_0x1e9693[_0x46da(0x13)]),_0x4f7fe5):_0x1e9693[_0x46da(0xd)](_0x1e9693[_0x46da(0x14)],_0x46da(0x15))?(console[_0x46da(0xf)](_0x1e9693[_0x46da(0x16)]),null):(_0x5206fd[_0x46da(0xf)](_0x46da(0x17)),_0x43a3f8);}catch(_0x2c6efe){return console[_0x46da(0x18)](_0x1e9693[_0x46da(0x19)],_0x2c6efe),null;}};exports[_0x46da(0x5)]=getStoredPinForTraining;const hasStoredPin=async()=>{const _0x418438={'Lmkcd':'UeGqW','gmwvC':_0x46da(0x1a),'qWZGM':_0x46da(0x1b)};try{return _0x418438[_0x46da(0x1c)]===_0x418438[_0x46da(0x1d)]?(_0x4976c3[_0x46da(0xf)](_0x46da(0xb)),null):await _biometricPinService[_0x46da(0x1e)][_0x46da(0xc)]();}catch(_0x535b88){return console['error'](_0x418438[_0x46da(0x1f)],_0x535b88),![];}};exports['hasStoredPin']=hasStoredPin;const clearStoredPin=async()=>{const _0x39158e={'JSyAz':'❌\x20Error\x20clearing\x20stored\x20PIN:'};try{return console[_0x46da(0xf)](_0x46da(0x20)),await _biometricPinService[_0x46da(0x1e)][_0x46da(0x21)]();}catch(_0x54060f){return console[_0x46da(0x18)](_0x39158e['JSyAz'],_0x54060f),![];}};exports[_0x46da(0x7)]=clearStoredPin;const getPinForTraining=async _0x2a2e43=>{const _0x5d8b13={'pJtSr':_0x46da(0x17),'zcNse':function(_0x523d68){return _0x523d68();}};if(_0x2a2e43)return console[_0x46da(0xf)](_0x5d8b13['pJtSr']),_0x2a2e43;return await _0x5d8b13[_0x46da(0x22)](getStoredPinForTraining);};exports['getPinForTraining']=getPinForTraining;let temporaryPin=null;const setTemporaryPin=_0x3bea3f=>{const _0x44a30e={'EecDT':_0x46da(0x23)};temporaryPin=_0x3bea3f,console[_0x46da(0xf)](_0x44a30e['EecDT']);};function _0x46da(_0x22f681,_0x46daed){_0x22f681=_0x22f681-0x0;const _0x25c0fd=_0x22f6();let _0x6588be=_0x25c0fd[_0x22f681];return _0x6588be;}exports[_0x46da(0x2)]=setTemporaryPin;const getTemporaryPin=()=>{return temporaryPin;};exports['getTemporaryPin']=getTemporaryPin;const clearTemporaryPin=()=>{const _0x427434={'blFRw':_0x46da(0x24)};temporaryPin=null,console[_0x46da(0xf)](_0x427434[_0x46da(0x25)]);};exports['clearTemporaryPin']=clearTemporaryPin;