@onairos/react-native 3.7.1 → 3.7.3

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 (241) hide show
  1. package/lib/commonjs/api/index.js +219 -9
  2. package/lib/commonjs/assets/icons/spotify.png +0 -0
  3. package/lib/commonjs/assets/images/spotify.png +0 -0
  4. package/lib/commonjs/components/BodyText.js +27 -9
  5. package/lib/commonjs/components/BrandMark.js +111 -10
  6. package/lib/commonjs/components/CodeInput.js +116 -9
  7. package/lib/commonjs/components/EmailInput.js +30 -8
  8. package/lib/commonjs/components/GoogleButton.js +56 -9
  9. package/lib/commonjs/components/HeadingGroup.js +43 -9
  10. package/lib/commonjs/components/LLMDataInputModal.js +664 -14
  11. package/lib/commonjs/components/ModalHeader.js +99 -9
  12. package/lib/commonjs/components/ModalSheet.js +47 -9
  13. package/lib/commonjs/components/Onairos.js +380 -14
  14. package/lib/commonjs/components/OnairosButton.js +313 -13
  15. package/lib/commonjs/components/OnairosSignInButton.js +130 -12
  16. package/lib/commonjs/components/Overlay.js +465 -13
  17. package/lib/commonjs/components/PersonaImage.js +137 -10
  18. package/lib/commonjs/components/PersonaLoadingScreen.js +318 -12
  19. package/lib/commonjs/components/PersonalizationConsentScreen.js +467 -13
  20. package/lib/commonjs/components/PinCreationScreen.js +403 -12
  21. package/lib/commonjs/components/PinInput.js +464 -9
  22. package/lib/commonjs/components/PlatformConnectorsStep.js +1311 -23
  23. package/lib/commonjs/components/PlatformList.js +137 -10
  24. package/lib/commonjs/components/PlatformToggle.js +180 -9
  25. package/lib/commonjs/components/PrimaryButton.js +180 -10
  26. package/lib/commonjs/components/SignInMatchAnimation.js +197 -9
  27. package/lib/commonjs/components/SignInStep.js +345 -12
  28. package/lib/commonjs/components/UniversalOnboarding.js +2780 -30
  29. package/lib/commonjs/components/VerificationStep.js +176 -11
  30. package/lib/commonjs/components/WelcomeScreen.js +461 -22
  31. package/lib/commonjs/components/icons/Basicproficon.js +37 -8
  32. package/lib/commonjs/components/icons/Basicprofile.js +21 -8
  33. package/lib/commonjs/components/icons/Checkbox.js +21 -8
  34. package/lib/commonjs/components/icons/Checkmark.js +27 -8
  35. package/lib/commonjs/components/icons/Contentanalysis.js +21 -8
  36. package/lib/commonjs/components/icons/Contenticon.js +39 -8
  37. package/lib/commonjs/components/icons/EnochE.js +41 -8
  38. package/lib/commonjs/components/icons/Personalityicon.js +30 -8
  39. package/lib/commonjs/components/icons/Personalityprofile.js +21 -8
  40. package/lib/commonjs/components/icons/Personalitytraits.js +21 -8
  41. package/lib/commonjs/components/icons/Userpreferences.js +21 -8
  42. package/lib/commonjs/components/icons/index.js +84 -17
  43. package/lib/commonjs/components/onboarding/OAuthWebView.js +1754 -18
  44. package/lib/commonjs/components/onboarding/OnboardingHeader.js +74 -10
  45. package/lib/commonjs/components/onboarding/PinInput.js +283 -10
  46. package/lib/commonjs/components/onboarding/PlatformConnector.js +249 -11
  47. package/lib/commonjs/config/PLATFORM_APIS.md +849 -0
  48. package/lib/commonjs/config/api.js +56 -7
  49. package/lib/commonjs/constants/index.js +120 -7
  50. package/lib/commonjs/context/AuthContext.js +345 -10
  51. package/lib/commonjs/hooks/useConnectedAccounts.js +111 -9
  52. package/lib/commonjs/hooks/useConnections.js +102 -8
  53. package/lib/commonjs/hooks/useCredentials.js +178 -10
  54. package/lib/commonjs/hooks/useUserConnections.js +148 -10
  55. package/lib/commonjs/index.js +439 -34
  56. package/lib/commonjs/services/apiClient.js +298 -8
  57. package/lib/commonjs/services/biometricPinService.js +180 -8
  58. package/lib/commonjs/services/chatGPTConversationExtractor.js +155 -8
  59. package/lib/commonjs/services/chatGPTConversationService.js +275 -9
  60. package/lib/commonjs/services/claudeConversationExtractor.js +103 -8
  61. package/lib/commonjs/services/claudeConversationService.js +158 -9
  62. package/lib/commonjs/services/connectedAccountsService.js +310 -10
  63. package/lib/commonjs/services/googleAuthService.js +252 -11
  64. package/lib/commonjs/services/hingeDataExtractor.js +105 -8
  65. package/lib/commonjs/services/hingeDataService.js +150 -9
  66. package/lib/commonjs/services/imageCompressionService.js +260 -7
  67. package/lib/commonjs/services/instagramDataExtractor.js +126 -8
  68. package/lib/commonjs/services/instagramDataService.js +163 -9
  69. package/lib/commonjs/services/jwtStorageService.js +276 -7
  70. package/lib/commonjs/services/linkedinDOMExtractor.js +245 -7
  71. package/lib/commonjs/services/linkedinProfileService.js +222 -9
  72. package/lib/commonjs/services/linkedinScrapingService.js +230 -8
  73. package/lib/commonjs/services/llmDataStorage.js +294 -8
  74. package/lib/commonjs/services/mobileTrainingService.js +186 -8
  75. package/lib/commonjs/services/netflixDataExtractor.js +120 -8
  76. package/lib/commonjs/services/netflixDataService.js +198 -9
  77. package/lib/commonjs/services/pinEncryptionService.js +84 -8
  78. package/lib/commonjs/services/pinStorageUtils.js +105 -7
  79. package/lib/commonjs/services/platformAuthService.js +1484 -12
  80. package/lib/commonjs/services/sephoraDataExtractor.js +140 -8
  81. package/lib/commonjs/services/sephoraDataService.js +200 -9
  82. package/lib/commonjs/services/spotifyDataExtractor.js +148 -8
  83. package/lib/commonjs/services/spotifyDataService.js +241 -9
  84. package/lib/commonjs/services/storageService.js +404 -8
  85. package/lib/commonjs/services/telegramDataExtractor.js +115 -8
  86. package/lib/commonjs/services/telegramDataService.js +499 -9
  87. package/lib/commonjs/services/trainingApiHelpers.js +73 -7
  88. package/lib/commonjs/services/userConnectionsService.js +340 -10
  89. package/lib/commonjs/services/youtubeMigrationService.js +416 -10
  90. package/lib/commonjs/theme/index.js +250 -7
  91. package/lib/commonjs/types/ambient.d.js +2 -1
  92. package/lib/commonjs/types/declarations.d.js +2 -1
  93. package/lib/commonjs/types/index.js +6 -1
  94. package/lib/commonjs/types/node-fix.d.js +2 -1
  95. package/lib/commonjs/types/node-override.d.js +2 -1
  96. package/lib/commonjs/types/opacity.d.js +2 -1
  97. package/lib/commonjs/types.js +14 -1
  98. package/lib/commonjs/utils/Portal.js +98 -8
  99. package/lib/commonjs/utils/api.js +130 -9
  100. package/lib/commonjs/utils/assetRegistry.js +210 -35
  101. package/lib/commonjs/utils/auth.js +112 -9
  102. package/lib/commonjs/utils/connectorTests.js +613 -29
  103. package/lib/commonjs/utils/crypto.js +62 -8
  104. package/lib/commonjs/utils/debugHelper.js +64 -1
  105. package/lib/commonjs/utils/encryption.js +76 -7
  106. package/lib/commonjs/utils/eventUtils.js +288 -1
  107. package/lib/commonjs/utils/haptics.js +66 -9
  108. package/lib/commonjs/utils/imagePreloader.js +6 -1
  109. package/lib/commonjs/utils/networkDiagnostics.js +226 -8
  110. package/lib/commonjs/utils/onairosApi.js +350 -9
  111. package/lib/commonjs/utils/programmaticFlow.js +117 -9
  112. package/lib/commonjs/utils/retryHelper.js +220 -1
  113. package/lib/commonjs/utils/secureStorage.js +349 -10
  114. package/lib/commonjs/utils/webviewScripts/chatgpt.js +551 -1
  115. package/lib/commonjs/utils/webviewScripts/claude.js +376 -1
  116. package/lib/commonjs/utils/webviewScripts/hinge.js +411 -1
  117. package/lib/commonjs/utils/webviewScripts/index.js +698 -15
  118. package/lib/commonjs/utils/webviewScripts/instagram.js +454 -1
  119. package/lib/commonjs/utils/webviewScripts/linkedin.js +880 -1
  120. package/lib/commonjs/utils/webviewScripts/netflix.js +382 -1
  121. package/lib/commonjs/utils/webviewScripts/sephora.js +516 -1
  122. package/lib/commonjs/utils/webviewScripts/spotify.js +419 -1
  123. package/lib/commonjs/utils/webviewScripts/telegram.js +678 -1
  124. package/lib/module/api/index.js +211 -1
  125. package/lib/module/assets/icons/spotify.png +0 -0
  126. package/lib/module/assets/images/spotify.png +0 -0
  127. package/lib/module/components/BodyText.js +20 -1
  128. package/lib/module/components/BrandMark.js +104 -1
  129. package/lib/module/components/CodeInput.js +109 -1
  130. package/lib/module/components/EmailInput.js +23 -1
  131. package/lib/module/components/GoogleButton.js +49 -1
  132. package/lib/module/components/HeadingGroup.js +36 -1
  133. package/lib/module/components/LLMDataInputModal.js +656 -7
  134. package/lib/module/components/ModalHeader.js +92 -1
  135. package/lib/module/components/ModalSheet.js +39 -1
  136. package/lib/module/components/Onairos.js +373 -1
  137. package/lib/module/components/OnairosButton.js +305 -1
  138. package/lib/module/components/OnairosSignInButton.js +121 -1
  139. package/lib/module/components/Overlay.js +456 -1
  140. package/lib/module/components/PersonaImage.js +129 -1
  141. package/lib/module/components/PersonaLoadingScreen.js +310 -1
  142. package/lib/module/components/PersonalizationConsentScreen.js +460 -1
  143. package/lib/module/components/PinCreationScreen.js +396 -1
  144. package/lib/module/components/PinInput.js +456 -1
  145. package/lib/module/components/PlatformConnectorsStep.js +1302 -6
  146. package/lib/module/components/PlatformList.js +129 -1
  147. package/lib/module/components/PlatformToggle.js +173 -1
  148. package/lib/module/components/PrimaryButton.js +172 -1
  149. package/lib/module/components/SignInMatchAnimation.js +189 -1
  150. package/lib/module/components/SignInStep.js +338 -1
  151. package/lib/module/components/UniversalOnboarding.js +2770 -1
  152. package/lib/module/components/VerificationStep.js +168 -1
  153. package/lib/module/components/WelcomeScreen.js +453 -1
  154. package/lib/module/components/icons/Basicproficon.js +30 -1
  155. package/lib/module/components/icons/Basicprofile.js +14 -1
  156. package/lib/module/components/icons/Checkbox.js +14 -1
  157. package/lib/module/components/icons/Checkmark.js +20 -1
  158. package/lib/module/components/icons/Contentanalysis.js +14 -1
  159. package/lib/module/components/icons/Contenticon.js +32 -1
  160. package/lib/module/components/icons/EnochE.js +34 -1
  161. package/lib/module/components/icons/Personalityicon.js +23 -1
  162. package/lib/module/components/icons/Personalityprofile.js +14 -1
  163. package/lib/module/components/icons/Personalitytraits.js +14 -1
  164. package/lib/module/components/icons/Userpreferences.js +14 -1
  165. package/lib/module/components/icons/index.js +13 -1
  166. package/lib/module/components/onboarding/OAuthWebView.js +1746 -1
  167. package/lib/module/components/onboarding/OnboardingHeader.js +66 -1
  168. package/lib/module/components/onboarding/PinInput.js +274 -1
  169. package/lib/module/components/onboarding/PlatformConnector.js +240 -1
  170. package/lib/module/config/PLATFORM_APIS.md +849 -0
  171. package/lib/module/config/api.js +47 -1
  172. package/lib/module/constants/index.js +114 -1
  173. package/lib/module/context/AuthContext.js +335 -1
  174. package/lib/module/hooks/useConnectedAccounts.js +106 -1
  175. package/lib/module/hooks/useConnections.js +95 -1
  176. package/lib/module/hooks/useCredentials.js +171 -6
  177. package/lib/module/hooks/useUserConnections.js +140 -1
  178. package/lib/module/index.js +172 -1
  179. package/lib/module/services/apiClient.js +295 -1
  180. package/lib/module/services/biometricPinService.js +169 -1
  181. package/lib/module/services/chatGPTConversationExtractor.js +149 -1
  182. package/lib/module/services/chatGPTConversationService.js +268 -1
  183. package/lib/module/services/claudeConversationExtractor.js +97 -1
  184. package/lib/module/services/claudeConversationService.js +151 -1
  185. package/lib/module/services/connectedAccountsService.js +293 -1
  186. package/lib/module/services/googleAuthService.js +241 -1
  187. package/lib/module/services/hingeDataExtractor.js +99 -1
  188. package/lib/module/services/hingeDataService.js +143 -1
  189. package/lib/module/services/imageCompressionService.js +250 -1
  190. package/lib/module/services/instagramDataExtractor.js +120 -1
  191. package/lib/module/services/instagramDataService.js +156 -1
  192. package/lib/module/services/jwtStorageService.js +257 -1
  193. package/lib/module/services/linkedinDOMExtractor.js +234 -1
  194. package/lib/module/services/linkedinProfileService.js +210 -1
  195. package/lib/module/services/linkedinScrapingService.js +219 -1
  196. package/lib/module/services/llmDataStorage.js +277 -1
  197. package/lib/module/services/mobileTrainingService.js +173 -1
  198. package/lib/module/services/netflixDataExtractor.js +114 -1
  199. package/lib/module/services/netflixDataService.js +191 -1
  200. package/lib/module/services/pinEncryptionService.js +74 -6
  201. package/lib/module/services/pinStorageUtils.js +93 -1
  202. package/lib/module/services/platformAuthService.js +1461 -1
  203. package/lib/module/services/sephoraDataExtractor.js +134 -1
  204. package/lib/module/services/sephoraDataService.js +193 -1
  205. package/lib/module/services/spotifyDataExtractor.js +142 -1
  206. package/lib/module/services/spotifyDataService.js +234 -1
  207. package/lib/module/services/storageService.js +383 -1
  208. package/lib/module/services/telegramDataExtractor.js +109 -1
  209. package/lib/module/services/telegramDataService.js +493 -1
  210. package/lib/module/services/trainingApiHelpers.js +67 -1
  211. package/lib/module/services/userConnectionsService.js +329 -1
  212. package/lib/module/services/youtubeMigrationService.js +405 -1
  213. package/lib/module/theme/index.js +245 -1
  214. package/lib/module/types.js +10 -1
  215. package/lib/module/utils/Portal.js +90 -1
  216. package/lib/module/utils/api.js +118 -1
  217. package/lib/module/utils/assetRegistry.js +200 -34
  218. package/lib/module/utils/auth.js +100 -1
  219. package/lib/module/utils/connectorTests.js +600 -27
  220. package/lib/module/utils/crypto.js +54 -1
  221. package/lib/module/utils/debugHelper.js +54 -1
  222. package/lib/module/utils/encryption.js +67 -1
  223. package/lib/module/utils/eventUtils.js +270 -1
  224. package/lib/module/utils/haptics.js +59 -8
  225. package/lib/module/utils/imagePreloader.js +3 -1
  226. package/lib/module/utils/networkDiagnostics.js +217 -1
  227. package/lib/module/utils/onairosApi.js +333 -1
  228. package/lib/module/utils/programmaticFlow.js +111 -1
  229. package/lib/module/utils/retryHelper.js +211 -1
  230. package/lib/module/utils/secureStorage.js +330 -6
  231. package/lib/module/utils/webviewScripts/chatgpt.js +545 -1
  232. package/lib/module/utils/webviewScripts/claude.js +370 -1
  233. package/lib/module/utils/webviewScripts/hinge.js +405 -1
  234. package/lib/module/utils/webviewScripts/index.js +434 -1
  235. package/lib/module/utils/webviewScripts/instagram.js +448 -1
  236. package/lib/module/utils/webviewScripts/linkedin.js +874 -1
  237. package/lib/module/utils/webviewScripts/netflix.js +376 -1
  238. package/lib/module/utils/webviewScripts/sephora.js +510 -1
  239. package/lib/module/utils/webviewScripts/spotify.js +413 -1
  240. package/lib/module/utils/webviewScripts/telegram.js +672 -1
  241. package/package.json +2 -2
@@ -1,15 +1,698 @@
1
- 'use strict';
2
- // Onairos SDK - Asset Registry (auto-generated)
3
- var __ONAIROS_REQ_REGISTRY__ = [
4
- require("./chatgpt"),
5
- require("./claude"),
6
- require("./linkedin"),
7
- require("./hinge"),
8
- require("./instagram"),
9
- require("./sephora"),
10
- require("./telegram"),
11
- require("./netflix"),
12
- require("./spotify")
13
- ];
14
- function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
15
- function _0x3caa(_0x415d1f,_0x3caac){_0x415d1f=_0x415d1f-0x0;const _0x5aed7d=_0x415d();let _0x5cbc2a=_0x5aed7d[_0x415d1f];return _0x5cbc2a;}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['APP_PLATFORM_URLS']=exports[_0x3caa(0x0)]=void 0x0,Object[_0x3caa(0x1)](exports,'CHATGPT_CONSENT_POPUP_SCRIPT',{'enumerable':!![],'get':function(){return _chatgpt[_0x3caa(0x2)];}}),Object[_0x3caa(0x1)](exports,'CHATGPT_ERROR_SCRIPT',{'enumerable':!![],'get':function(){return _chatgpt[_0x3caa(0x3)];}}),Object['defineProperty'](exports,_0x3caa(0x4),{'enumerable':!![],'get':function(){return _chatgpt[_0x3caa(0x4)];}}),Object[_0x3caa(0x1)](exports,'CHATGPT_FETCH_MEMORIES_SCRIPT',{'enumerable':!![],'get':function(){return _chatgpt[_0x3caa(0x5)];}}),Object[_0x3caa(0x1)](exports,'CHATGPT_SUCCESS_SCRIPT',{'enumerable':!![],'get':function(){return _chatgpt['CHATGPT_SUCCESS_SCRIPT'];}}),Object[_0x3caa(0x1)](exports,_0x3caa(0x6),{'enumerable':!![],'get':function(){return _claude[_0x3caa(0x6)];}}),Object[_0x3caa(0x1)](exports,_0x3caa(0x7),{'enumerable':!![],'get':function(){return _claude[_0x3caa(0x7)];}}),Object[_0x3caa(0x1)](exports,_0x3caa(0x8),{'enumerable':!![],'get':function(){return _claude[_0x3caa(0x8)];}}),Object[_0x3caa(0x1)](exports,_0x3caa(0x9),{'enumerable':!![],'get':function(){return _claude[_0x3caa(0x9)];}}),Object[_0x3caa(0x1)](exports,'HINGE_CONSENT_POPUP_SCRIPT',{'enumerable':!![],'get':function(){return _hinge[_0x3caa(0xa)];}}),Object[_0x3caa(0x1)](exports,_0x3caa(0xb),{'enumerable':!![],'get':function(){return _hinge[_0x3caa(0xb)];}}),Object[_0x3caa(0x1)](exports,_0x3caa(0xc),{'enumerable':!![],'get':function(){return _hinge['HINGE_EXPORT_SCRIPT'];}}),Object[_0x3caa(0x1)](exports,_0x3caa(0xd),{'enumerable':!![],'get':function(){return _hinge[_0x3caa(0xd)];}}),Object['defineProperty'](exports,'INSTAGRAM_CONSENT_POPUP_SCRIPT',{'enumerable':!![],'get':function(){return _instagram[_0x3caa(0xe)];}}),Object[_0x3caa(0x1)](exports,_0x3caa(0xf),{'enumerable':!![],'get':function(){return _instagram['INSTAGRAM_ERROR_SCRIPT'];}}),Object['defineProperty'](exports,_0x3caa(0x10),{'enumerable':!![],'get':function(){return _instagram[_0x3caa(0x10)];}}),Object[_0x3caa(0x1)](exports,_0x3caa(0x11),{'enumerable':!![],'get':function(){return _instagram['INSTAGRAM_SUCCESS_SCRIPT'];}}),Object['defineProperty'](exports,_0x3caa(0x12),{'enumerable':!![],'get':function(){return _linkedin[_0x3caa(0x12)];}}),Object[_0x3caa(0x1)](exports,_0x3caa(0x13),{'enumerable':!![],'get':function(){return _linkedin[_0x3caa(0x13)];}}),Object[_0x3caa(0x1)](exports,_0x3caa(0x14),{'enumerable':!![],'get':function(){return _linkedin[_0x3caa(0x14)];}}),Object[_0x3caa(0x1)](exports,_0x3caa(0x15),{'enumerable':!![],'get':function(){return _linkedin['LINKEDIN_PROFILE_ERROR_SCRIPT'];}}),Object[_0x3caa(0x1)](exports,_0x3caa(0x16),{'enumerable':!![],'get':function(){return _linkedin['LINKEDIN_PROFILE_EXTRACTOR_SCRIPT'];}}),Object[_0x3caa(0x1)](exports,_0x3caa(0x17),{'enumerable':!![],'get':function(){return _linkedin[_0x3caa(0x17)];}}),Object[_0x3caa(0x1)](exports,_0x3caa(0x18),{'enumerable':!![],'get':function(){return _linkedin['LINKEDIN_PROFILE_SUCCESS_SCRIPT'];}}),exports[_0x3caa(0x19)]=void 0x0,Object['defineProperty'](exports,'NETFLIX_CONSENT_POPUP_SCRIPT',{'enumerable':!![],'get':function(){return _netflix['NETFLIX_CONSENT_POPUP_SCRIPT'];}}),Object[_0x3caa(0x1)](exports,'NETFLIX_ERROR_SCRIPT',{'enumerable':!![],'get':function(){return _netflix[_0x3caa(0x1a)];}}),Object[_0x3caa(0x1)](exports,_0x3caa(0x1b),{'enumerable':!![],'get':function(){return _netflix[_0x3caa(0x1b)];}}),Object[_0x3caa(0x1)](exports,'NETFLIX_SUCCESS_SCRIPT',{'enumerable':!![],'get':function(){return _netflix['NETFLIX_SUCCESS_SCRIPT'];}}),Object['defineProperty'](exports,_0x3caa(0x1c),{'enumerable':!![],'get':function(){return _sephora['SEPHORA_CONSENT_POPUP_SCRIPT'];}}),Object[_0x3caa(0x1)](exports,_0x3caa(0x1d),{'enumerable':!![],'get':function(){return _sephora['SEPHORA_ERROR_SCRIPT'];}}),Object[_0x3caa(0x1)](exports,_0x3caa(0x1e),{'enumerable':!![],'get':function(){return _sephora[_0x3caa(0x1e)];}}),Object['defineProperty'](exports,_0x3caa(0x1f),{'enumerable':!![],'get':function(){return _sephora[_0x3caa(0x1f)];}}),Object['defineProperty'](exports,_0x3caa(0x20),{'enumerable':!![],'get':function(){return _spotify[_0x3caa(0x20)];}}),Object[_0x3caa(0x1)](exports,_0x3caa(0x21),{'enumerable':!![],'get':function(){return _spotify[_0x3caa(0x21)];}}),Object['defineProperty'](exports,'SPOTIFY_EXPORT_SCRIPT',{'enumerable':!![],'get':function(){return _spotify[_0x3caa(0x22)];}}),Object[_0x3caa(0x1)](exports,'SPOTIFY_SUCCESS_SCRIPT',{'enumerable':!![],'get':function(){return _spotify[_0x3caa(0x23)];}}),Object[_0x3caa(0x1)](exports,_0x3caa(0x24),{'enumerable':!![],'get':function(){return _telegram['TELEGRAM_CONSENT_POPUP_SCRIPT'];}}),Object[_0x3caa(0x1)](exports,'TELEGRAM_ERROR_SCRIPT',{'enumerable':!![],'get':function(){return _telegram[_0x3caa(0x25)];}}),Object[_0x3caa(0x1)](exports,_0x3caa(0x26),{'enumerable':!![],'get':function(){return _telegram['TELEGRAM_EXPORT_SCRIPT'];}}),Object[_0x3caa(0x1)](exports,_0x3caa(0x27),{'enumerable':!![],'get':function(){return _telegram[_0x3caa(0x27)];}}),exports[_0x3caa(0x28)]=exports['isTelegramPlatform']=exports[_0x3caa(0x29)]=exports[_0x3caa(0x2a)]=exports[_0x3caa(0x2b)]=exports[_0x3caa(0x2c)]=exports['isLinkedInProfilePage']=exports[_0x3caa(0x2d)]=exports['isLinkedInOAuthCallback']=exports[_0x3caa(0x2e)]=exports[_0x3caa(0x2f)]=exports[_0x3caa(0x30)]=exports[_0x3caa(0x31)]=exports['getPlatformUserAgent']=exports[_0x3caa(0x32)]=exports[_0x3caa(0x33)]=exports[_0x3caa(0x34)]=void 0x0;var _chatgpt=__ONAIROS_REQ_FUNC__(0x0),_claude=__ONAIROS_REQ_FUNC__(0x1),_linkedin=__ONAIROS_REQ_FUNC__(0x2),_hinge=__ONAIROS_REQ_FUNC__(0x3),_instagram=__ONAIROS_REQ_FUNC__(0x4),_sephora=__ONAIROS_REQ_FUNC__(0x5),_telegram=__ONAIROS_REQ_FUNC__(0x6),_netflix=__ONAIROS_REQ_FUNC__(0x7),_spotify=__ONAIROS_REQ_FUNC__(0x8);const ANTI_DETECTION_SCRIPT=exports[_0x3caa(0x0)]=_0x3caa(0x35),getAntiDetectionScript=_0x3ad674=>{const _0x47a789={'Cwxdj':_0x3caa(0x36),'wBKKM':function(_0x28b43d,_0x52672c){return _0x28b43d+_0x52672c;},'kNHyD':_0x3caa(0x37),'jaqCD':_0x3caa(0x38),'xCQQk':function(_0x4529d6,_0xcfebe1){return _0x4529d6+_0xcfebe1;},'yvZVJ':'claude','vMIKe':_0x3caa(0x39),'idYFT':function(_0x515fdc,_0x17eb2b){return _0x515fdc+_0x17eb2b;},'VwHNM':_0x3caa(0x3a),'VBoof':function(_0x5be598,_0x5b8171){return _0x5be598+_0x5b8171;},'WxCDQ':_0x3caa(0x3b),'ZaBXP':function(_0x198b89,_0x3f9a8b){return _0x198b89+_0x3f9a8b;}},_0x5068bd=ANTI_DETECTION_SCRIPT;switch(_0x3ad674[_0x3caa(0x3c)]()){case _0x47a789[_0x3caa(0x3d)]:return _0x47a789[_0x3caa(0x3e)](_0x5068bd,_0x3caa(0x3f))+_linkedin[_0x3caa(0x12)];case _0x47a789['kNHyD']:case _0x47a789[_0x3caa(0x40)]:return _0x47a789[_0x3caa(0x41)](_0x5068bd,_0x3caa(0x42));case _0x47a789[_0x3caa(0x43)]:case _0x3caa(0x44):return _0x47a789[_0x3caa(0x3e)](_0x5068bd,_0x3caa(0x45));case _0x47a789[_0x3caa(0x46)]:return _0x47a789[_0x3caa(0x47)](_0x5068bd,'\x0a(function()\x20{\x0a\x20\x20//\x20Hinge\x20anti-detection\x20settings\x0a\x20\x20console.log(\x27🛡️\x20[HINGE]\x20Anti-detection\x20enhanced\x27);\x0a})();\x0atrue;\x0a');case _0x47a789['VwHNM']:return _0x47a789[_0x3caa(0x47)](_0x5068bd,'\x0a(function()\x20{\x0a\x20\x20//\x20Instagram\x20has\x20sophisticated\x20bot\x20detection\x0a\x20\x20Object.defineProperty(navigator,\x20\x27userAgent\x27,\x20{\x0a\x20\x20\x20\x20get:\x20()\x20=>\x20\x27Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2017_0\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Version/17.0\x20Mobile/15E148\x20Safari/604.1\x27\x0a\x20\x20});\x0a\x20\x20console.log(\x27🛡️\x20[INSTAGRAM]\x20Anti-detection\x20enhanced\x27);\x0a})();\x0atrue;\x0a');case _0x3caa(0x48):return _0x47a789[_0x3caa(0x49)](_0x5068bd,'\x0a(function()\x20{\x0a\x20\x20//\x20Sephora\x20e-commerce\x20anti-detection\x0a\x20\x20console.log(\x27🛡️\x20[SEPHORA]\x20Anti-detection\x20enhanced\x27);\x0a})();\x0atrue;\x0a');case _0x47a789['WxCDQ']:return _0x47a789[_0x3caa(0x41)](_0x5068bd,_0x3caa(0x4a));case _0x3caa(0x4b):return _0x47a789[_0x3caa(0x3e)](_0x5068bd,_0x3caa(0x4c));case _0x3caa(0x4d):return _0x47a789[_0x3caa(0x4e)](_0x5068bd,_0x3caa(0x4f));default:return _0x5068bd;}};exports[_0x3caa(0x34)]=getAntiDetectionScript;const LLM_PLATFORM_URLS=exports[_0x3caa(0x19)]={'chatgpt':'https://chat.openai.com','openai':'https://chat.openai.com','claude':'https://claude.ai/login','anthropic':_0x3caa(0x50),'gemini':'https://gemini.google.com','grok':_0x3caa(0x51)},APP_PLATFORM_URLS=exports[_0x3caa(0x52)]={'hinge':_0x3caa(0x53),'instagram':_0x3caa(0x54),'sephora':_0x3caa(0x55),'telegram':_0x3caa(0x56),'netflix':'https://www.netflix.com','spotify':_0x3caa(0x57)},getLLMPlatformUrl=_0x788216=>{const _0x29fe77=_0x788216[_0x3caa(0x3c)]();return LLM_PLATFORM_URLS[_0x29fe77]||null;};exports[_0x3caa(0x32)]=getLLMPlatformUrl;const isLLMPlatform=_0x2f9a2a=>{const _0x30cf4e={'ZxDzr':'chatgpt','MllTM':'openai','JcmDJ':'claude'},_0x42ada2=[_0x30cf4e[_0x3caa(0x58)],_0x30cf4e[_0x3caa(0x59)],_0x30cf4e['JcmDJ'],_0x3caa(0x44),_0x3caa(0x5a),'grok'];return _0x42ada2[_0x3caa(0x5b)](_0x2f9a2a['toLowerCase']());};exports[_0x3caa(0x2f)]=isLLMPlatform;const isWebViewExtractionPlatform=_0xfcb8fa=>{const _0x373310={'eaKxu':'hinge','EwMDN':_0x3caa(0x3a),'xiMaR':_0x3caa(0x3b),'SbLmG':_0x3caa(0x4b),'ZwPZF':_0x3caa(0x4d)},_0x2c528e=[_0x373310[_0x3caa(0x5c)],_0x373310['EwMDN'],_0x3caa(0x48),_0x373310[_0x3caa(0x5d)],_0x373310['SbLmG'],_0x373310[_0x3caa(0x5e)]];return _0x2c528e[_0x3caa(0x5b)](_0xfcb8fa[_0x3caa(0x3c)]());};exports['isWebViewExtractionPlatform']=isWebViewExtractionPlatform;const isTelegramPlatform=_0x28958a=>{return _0x28958a['toLowerCase']()===_0x3caa(0x3b);};exports[_0x3caa(0x5f)]=isTelegramPlatform;const isHingePlatform=_0x3fa34e=>{const _0x3413f5={'MwEnr':function(_0x5286dc,_0x4cb270){return _0x5286dc===_0x4cb270;},'cOLlG':_0x3caa(0x39)};return _0x3413f5[_0x3caa(0x60)](_0x3fa34e[_0x3caa(0x3c)](),_0x3413f5[_0x3caa(0x61)]);};exports[_0x3caa(0x31)]=isHingePlatform;const isInstagramPlatform=_0x4ba15c=>{const _0x4b5b76={'ifFxO':'instagram'};return _0x4ba15c[_0x3caa(0x3c)]()===_0x4b5b76[_0x3caa(0x62)];};exports['isInstagramPlatform']=isInstagramPlatform;const isSephoraPlatform=_0xa83d05=>{const _0x2e93d2={'FtFJN':function(_0x2f7d71,_0x1d29ad){return _0x2f7d71===_0x1d29ad;},'ReUVm':_0x3caa(0x48)};return _0x2e93d2['FtFJN'](_0xa83d05[_0x3caa(0x3c)](),_0x2e93d2[_0x3caa(0x63)]);};exports[_0x3caa(0x2a)]=isSephoraPlatform;function _0x415d(){const _0x4328fd=['ANTI_DETECTION_SCRIPT','defineProperty','CHATGPT_CONSENT_POPUP_SCRIPT','CHATGPT_ERROR_SCRIPT','CHATGPT_EXPORT_SCRIPT','CHATGPT_FETCH_MEMORIES_SCRIPT','CLAUDE_CONSENT_POPUP_SCRIPT','CLAUDE_ERROR_SCRIPT','CLAUDE_EXPORT_SCRIPT','CLAUDE_SUCCESS_SCRIPT','HINGE_CONSENT_POPUP_SCRIPT','HINGE_ERROR_SCRIPT','HINGE_EXPORT_SCRIPT','HINGE_SUCCESS_SCRIPT','INSTAGRAM_CONSENT_POPUP_SCRIPT','INSTAGRAM_ERROR_SCRIPT','INSTAGRAM_EXPORT_SCRIPT','INSTAGRAM_SUCCESS_SCRIPT','LINKEDIN_APP_BLOCKER_SCRIPT','LINKEDIN_NAVIGATE_TO_PROFILE_SCRIPT','LINKEDIN_PROFILE_CONSENT_POPUP_SCRIPT','LINKEDIN_PROFILE_ERROR_SCRIPT','LINKEDIN_PROFILE_EXTRACTOR_SCRIPT','LINKEDIN_PROFILE_SCRAPER_SCRIPT','LINKEDIN_PROFILE_SUCCESS_SCRIPT','LLM_PLATFORM_URLS','NETFLIX_ERROR_SCRIPT','NETFLIX_EXPORT_SCRIPT','SEPHORA_CONSENT_POPUP_SCRIPT','SEPHORA_ERROR_SCRIPT','SEPHORA_EXPORT_SCRIPT','SEPHORA_SUCCESS_SCRIPT','SPOTIFY_CONSENT_POPUP_SCRIPT','SPOTIFY_ERROR_SCRIPT','SPOTIFY_EXPORT_SCRIPT','SPOTIFY_SUCCESS_SCRIPT','TELEGRAM_CONSENT_POPUP_SCRIPT','TELEGRAM_ERROR_SCRIPT','TELEGRAM_EXPORT_SCRIPT','TELEGRAM_SUCCESS_SCRIPT','isWebViewExtractionPlatform','isSpotifyPlatform','isSephoraPlatform','isNetflixPlatform','isLoggedInUrl','isLinkedInPlatform','isLinkedInLoginPage','isLLMPlatform','isInstagramPlatform','isHingePlatform','getLLMPlatformUrl','getAppPlatformUrl','getAntiDetectionScript','\x0a(function()\x20{\x0a\x20\x20//\x20Override\x20webdriver\x20detection\x0a\x20\x20Object.defineProperty(navigator,\x20\x27webdriver\x27,\x20{\x0a\x20\x20\x20\x20get:\x20()\x20=>\x20undefined\x0a\x20\x20});\x0a\x20\x20\x0a\x20\x20//\x20Override\x20automation\x20detection\x0a\x20\x20Object.defineProperty(navigator,\x20\x27automationController\x27,\x20{\x0a\x20\x20\x20\x20get:\x20()\x20=>\x20undefined\x0a\x20\x20});\x0a\x20\x20\x0a\x20\x20//\x20Ensure\x20proper\x20user\x20agent\x20and\x20platform\x20detection\x0a\x20\x20Object.defineProperty(navigator,\x20\x27platform\x27,\x20{\x0a\x20\x20\x20\x20get:\x20()\x20=>\x20\x27iPhone\x27\x0a\x20\x20});\x0a\x20\x20\x0a\x20\x20//\x20Override\x20plugins\x20(empty\x20in\x20real\x20mobile\x20Safari)\x0a\x20\x20Object.defineProperty(navigator,\x20\x27plugins\x27,\x20{\x0a\x20\x20\x20\x20get:\x20()\x20=>\x20[]\x0a\x20\x20});\x0a\x20\x20\x0a\x20\x20//\x20Override\x20languages\x0a\x20\x20Object.defineProperty(navigator,\x20\x27languages\x27,\x20{\x0a\x20\x20\x20\x20get:\x20()\x20=>\x20[\x27en-US\x27,\x20\x27en\x27]\x0a\x20\x20});\x0a\x20\x20\x0a\x20\x20//\x20Remove\x20automation-related\x20properties\x0a\x20\x20delete\x20window.cdc_adoQpoasnfa76pfcZLmcfl_Array;\x0a\x20\x20delete\x20window.cdc_adoQpoasnfa76pfcZLmcfl_Promise;\x0a\x20\x20delete\x20window.cdc_adoQpoasnfa76pfcZLmcfl_Symbol;\x0a\x20\x20\x0a\x20\x20console.log(\x27🛡️\x20[ANTI-DETECTION]\x20Script\x20injected\x20successfully\x27);\x0a})();\x0atrue;\x0a','linkedin','chatgpt','openai','hinge','instagram','telegram','toLowerCase','Cwxdj','wBKKM','\x0a(function()\x20{\x0a\x20\x20//\x20LinkedIn-specific\x20anti-detection\x0a\x20\x20Object.defineProperty(navigator,\x20\x27userAgent\x27,\x20{\x0a\x20\x20\x20\x20get:\x20()\x20=>\x20\x27Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2017_0\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Version/17.0\x20Mobile/15E148\x20Safari/604.1\x27\x0a\x20\x20});\x0a\x20\x20\x0a\x20\x20//\x20Block\x20LinkedIn\x27s\x20tracking\x20scripts\x0a\x20\x20const\x20originalCreateElement\x20=\x20document.createElement.bind(document);\x0a\x20\x20document.createElement\x20=\x20function(tagName)\x20{\x0a\x20\x20\x20\x20const\x20element\x20=\x20originalCreateElement(tagName);\x0a\x20\x20\x20\x20if\x20(tagName.toLowerCase()\x20===\x20\x27script\x27)\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20originalSetAttribute\x20=\x20element.setAttribute.bind(element);\x0a\x20\x20\x20\x20\x20\x20element.setAttribute\x20=\x20function(name,\x20value)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(name\x20===\x20\x27src\x27\x20&&\x20value\x20&&\x20(value.includes(\x27tracking\x27)\x20||\x20value.includes(\x27analytics\x27)))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20console.log(\x27🛡️\x20[LINKEDIN]\x20Blocked\x20tracking\x20script:\x27,\x20value);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20originalSetAttribute(name,\x20value);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20return\x20element;\x0a\x20\x20};\x0a\x20\x20\x0a\x20\x20console.log(\x27🛡️\x20[LINKEDIN]\x20Enhanced\x20anti-detection\x20active\x27);\x0a})();\x0atrue;\x0a','jaqCD','xCQQk','\x0a(function()\x20{\x0a\x20\x20//\x20Ensure\x20ChatGPT\x20sees\x20us\x20as\x20a\x20real\x20mobile\x20browser\x0a\x20\x20console.log(\x27🛡️\x20[CHATGPT]\x20Anti-detection\x20enhanced\x27);\x0a})();\x0atrue;\x0a','yvZVJ','anthropic','\x0a(function()\x20{\x0a\x20\x20//\x20Ensure\x20Claude\x20sees\x20us\x20as\x20a\x20real\x20mobile\x20browser\x0a\x20\x20console.log(\x27🛡️\x20[CLAUDE]\x20Anti-detection\x20enhanced\x27);\x0a})();\x0atrue;\x0a','vMIKe','idYFT','sephora','VBoof','\x0a(function()\x20{\x0a\x20\x20//\x20Telegram\x20Web\x20anti-detection\x0a\x20\x20console.log(\x27🛡️\x20[TELEGRAM]\x20Anti-detection\x20enhanced\x27);\x0a})();\x0atrue;\x0a','netflix','\x0a(function()\x20{\x0a\x20\x20//\x20Netflix\x20anti-detection\x20settings\x0a\x20\x20Object.defineProperty(navigator,\x20\x27userAgent\x27,\x20{\x0a\x20\x20\x20\x20get:\x20()\x20=>\x20\x27Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2017_0\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Version/17.0\x20Mobile/15E148\x20Safari/604.1\x27\x0a\x20\x20});\x0a\x20\x20console.log(\x27🛡️\x20[NETFLIX]\x20Anti-detection\x20enhanced\x27);\x0a})();\x0atrue;\x0a','spotify','ZaBXP','\x0a(function()\x20{\x0a\x20\x20//\x20Spotify\x20Web\x20Player\x20anti-detection\x0a\x20\x20Object.defineProperty(navigator,\x20\x27userAgent\x27,\x20{\x0a\x20\x20\x20\x20get:\x20()\x20=>\x20\x27Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2017_0\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Version/17.0\x20Mobile/15E148\x20Safari/604.1\x27\x0a\x20\x20});\x0a\x20\x20console.log(\x27🛡️\x20[SPOTIFY]\x20Anti-detection\x20enhanced\x27);\x0a})();\x0atrue;\x0a','https://claude.ai/login','https://x.com/i/grok','APP_PLATFORM_URLS','https://hinge.co','https://www.instagram.com','https://www.sephora.com','https://web.telegram.org/k/','https://open.spotify.com','ZxDzr','MllTM','gemini','includes','eaKxu','xiMaR','ZwPZF','isTelegramPlatform','MwEnr','cOLlG','ifFxO','ReUVm','sFgqq','YncBf','qULWs','Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2014_4\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Version/14.0.3\x20Mobile/15E148\x20Safari/604.1','Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2017_0\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Version/17.0\x20Mobile/15E148\x20Safari/604.1','Mozilla/5.0\x20(Linux;\x20Android\x2010;\x20SM-G975F)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20Chrome/91.0.4472.120\x20Mobile\x20Safari/537.36','twitter','grok','Mozilla/5.0\x20(Macintosh;\x20Intel\x20Mac\x20OS\x20X\x2010_15_7)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20Chrome/120.0.0.0\x20Safari/537.36','cVPRe','OTUOY','wJCII','qZBFR','CUdQh','ZkqBt','wDjUl','PXsHf','Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2015_0\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20CriOS/94.0.4606.76\x20Mobile/15E148\x20Safari/604.1','cteRM','IxRgs','psPyi','vppaz','LhCel','chat.openai.com','https://chat.openai.com/','/chat','/c/','/login','/auth','https://claude.ai/','gemini.google.com','/signin','x.com/i/grok','/signup','/accounts/signup','https://www.instagram.com/','/direct/','/explore/','sephora.com','/profile','/cart','web.telegram.org','netflix.com','/browse','/watch','/my-list','/track','/artist','RgMmG','EDrUT','uxjZr','XLltP','AQtxR','claude.ai','oUBgU','smAUk','/new','YWWjY','MOZJP','IwVzz','RTSoM','gMHDF','hinge.co','FTxOJ','PvRcf','ImHJB','fdpYz','QWBFL','BXroX','HqkdT','WHSnB','CkAhE','pzPxJ','gpDjg','qrPzF','IwCht','iRaac','FFUeo','endsWith','lXDNc','/z/','JSgtv','hhpoZ','bTJAv','/title','rutyp','xqgBT','cxhGM','qstRY','UzWlE','FHKxS','aqtcG','iKmzO','LWnfC','isLinkedInProfilePage','/checkpoint','FVLLS','GQiKf','rYFCS','LHbwt','onairos.uk','callback','ycxJB','uJnzF','isLinkedInOAuthCallback'];_0x415d=function(){return _0x4328fd;};return _0x415d();}const isNetflixPlatform=_0x399794=>{const _0x1cc216={'sFgqq':function(_0x1177f9,_0x383465){return _0x1177f9===_0x383465;},'YncBf':_0x3caa(0x4b)};return _0x1cc216[_0x3caa(0x64)](_0x399794[_0x3caa(0x3c)](),_0x1cc216[_0x3caa(0x65)]);};exports[_0x3caa(0x2b)]=isNetflixPlatform;const isSpotifyPlatform=_0x39fbea=>{const _0x2e5b2f={'GxbFM':function(_0x25da21,_0x2cdb26){return _0x25da21===_0x2cdb26;},'qULWs':_0x3caa(0x4d)};return _0x2e5b2f['GxbFM'](_0x39fbea[_0x3caa(0x3c)](),_0x2e5b2f[_0x3caa(0x66)]);};exports[_0x3caa(0x29)]=isSpotifyPlatform;const getAppPlatformUrl=_0x1da4a4=>{const _0x512980=_0x1da4a4['toLowerCase']();return APP_PLATFORM_URLS[_0x512980]||null;};exports['getAppPlatformUrl']=getAppPlatformUrl;const getPlatformUserAgent=_0x2bc7d4=>{const _0x52d3da={'cVPRe':_0x3caa(0x67),'OTUOY':_0x3caa(0x68),'wJCII':'claude','qZBFR':_0x3caa(0x44),'CUdQh':'gmail','tOBXL':'google','ZkqBt':'gemini','wDjUl':_0x3caa(0x69),'PXsHf':_0x3caa(0x6a),'gtiVm':_0x3caa(0x6b),'cteRM':'hinge','IxRgs':'instagram','psPyi':'telegram','vppaz':_0x3caa(0x6c),'KeGQg':_0x3caa(0x4b),'LhCel':_0x3caa(0x4d)},_0x5dda86=_0x52d3da[_0x3caa(0x6d)];switch(_0x2bc7d4['toLowerCase']()){case _0x3caa(0x36):return _0x52d3da[_0x3caa(0x6e)];case _0x3caa(0x37):case'openai':return _0x52d3da[_0x3caa(0x6e)];case _0x52d3da[_0x3caa(0x6f)]:case _0x52d3da[_0x3caa(0x70)]:return'Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2017_0\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Version/17.0\x20Mobile/15E148\x20Safari/604.1';case _0x52d3da[_0x3caa(0x71)]:case _0x52d3da['tOBXL']:case _0x52d3da[_0x3caa(0x72)]:return _0x52d3da[_0x3caa(0x73)];case'x':case _0x52d3da[_0x3caa(0x74)]:case _0x52d3da['gtiVm']:return _0x3caa(0x75);case _0x52d3da[_0x3caa(0x76)]:return _0x52d3da[_0x3caa(0x6e)];case _0x52d3da[_0x3caa(0x77)]:return _0x3caa(0x68);case _0x3caa(0x48):return _0x52d3da[_0x3caa(0x6e)];case _0x52d3da[_0x3caa(0x78)]:return _0x52d3da[_0x3caa(0x79)];case _0x52d3da['KeGQg']:return _0x52d3da[_0x3caa(0x6e)];case _0x52d3da[_0x3caa(0x7a)]:return _0x52d3da['OTUOY'];default:return _0x5dda86;}};exports['getPlatformUserAgent']=getPlatformUserAgent;const isLoggedInUrl=(_0x36c67f,_0x42d267)=>{const _0x197f06={'RgMmG':_0x3caa(0x37),'EDrUT':_0x3caa(0x38),'uxjZr':_0x3caa(0x7b),'XLltP':function(_0x3e489f,_0xc7f38d){return _0x3e489f===_0xc7f38d;},'ZqjrI':_0x3caa(0x7c),'XBoSn':_0x3caa(0x7d),'JmjFg':_0x3caa(0x7e),'AQtxR':'claude','czauJ':_0x3caa(0x44),'oUBgU':_0x3caa(0x7f),'smAUk':_0x3caa(0x80),'mDVwg':_0x3caa(0x81),'YWWjY':_0x3caa(0x82),'MOZJP':_0x3caa(0x83),'IwVzz':'grok','RTSoM':_0x3caa(0x84),'gMHDF':_0x3caa(0x39),'FTxOJ':_0x3caa(0x85),'PvRcf':_0x3caa(0x3a),'ImHJB':'instagram.com','KdbAJ':'/accounts/login','fdpYz':_0x3caa(0x86),'QWBFL':_0x3caa(0x87),'BXroX':_0x3caa(0x88),'HqkdT':_0x3caa(0x89),'WHSnB':_0x3caa(0x48),'CkAhE':_0x3caa(0x8a),'pzPxJ':_0x3caa(0x8b),'gpDjg':'/account','qrPzF':_0x3caa(0x8c),'IwCht':_0x3caa(0x3b),'iRaac':_0x3caa(0x8d),'FFUeo':'/k/','lXDNc':'/a/','JSgtv':_0x3caa(0x4b),'hhpoZ':_0x3caa(0x8e),'sxbeb':_0x3caa(0x8f),'bTJAv':_0x3caa(0x90),'rutyp':_0x3caa(0x91),'xqgBT':'/latest','UDomK':_0x3caa(0x4d),'cxhGM':'open.spotify.com','pYduR':'/authorize','qstRY':'/playlist','nwLRe':_0x3caa(0x92),'UzWlE':'/album','FHKxS':_0x3caa(0x93)},_0xb2f257=_0x42d267[_0x3caa(0x3c)](),_0x36b4dc=_0x36c67f[_0x3caa(0x3c)]();switch(_0xb2f257){case _0x197f06[_0x3caa(0x94)]:case _0x197f06[_0x3caa(0x95)]:return _0x36b4dc[_0x3caa(0x5b)](_0x197f06[_0x3caa(0x96)])&&!_0x36b4dc[_0x3caa(0x5b)](_0x3caa(0x80))&&!_0x36b4dc['includes'](_0x3caa(0x7f))&&(_0x197f06[_0x3caa(0x97)](_0x36b4dc,_0x197f06['ZqjrI'])||_0x36b4dc['includes'](_0x197f06['XBoSn'])||_0x36b4dc[_0x3caa(0x5b)](_0x197f06['JmjFg']));case _0x197f06[_0x3caa(0x98)]:case _0x197f06['czauJ']:return _0x36b4dc[_0x3caa(0x5b)](_0x3caa(0x99))&&!_0x36b4dc['includes'](_0x197f06[_0x3caa(0x9a)])&&!_0x36b4dc['includes'](_0x197f06[_0x3caa(0x9b)])&&(_0x197f06[_0x3caa(0x97)](_0x36b4dc,_0x197f06['mDVwg'])||_0x36b4dc[_0x3caa(0x5b)](_0x197f06['XBoSn'])||_0x36b4dc[_0x3caa(0x5b)](_0x3caa(0x9c)));case _0x3caa(0x5a):return _0x36b4dc[_0x3caa(0x5b)](_0x197f06[_0x3caa(0x9d)])&&!_0x36b4dc[_0x3caa(0x5b)](_0x197f06[_0x3caa(0x9b)])&&!_0x36b4dc[_0x3caa(0x5b)](_0x197f06[_0x3caa(0x9e)]);case _0x197f06[_0x3caa(0x9f)]:return _0x36b4dc[_0x3caa(0x5b)](_0x197f06[_0x3caa(0xa0)])&&!_0x36b4dc['includes'](_0x197f06[_0x3caa(0x9a)]);case _0x197f06[_0x3caa(0xa1)]:return _0x36b4dc[_0x3caa(0x5b)](_0x3caa(0xa2))&&!_0x36b4dc[_0x3caa(0x5b)](_0x197f06['oUBgU'])&&!_0x36b4dc['includes']('/auth')&&!_0x36b4dc[_0x3caa(0x5b)](_0x197f06[_0x3caa(0xa3)]);case _0x197f06[_0x3caa(0xa4)]:return _0x36b4dc[_0x3caa(0x5b)](_0x197f06[_0x3caa(0xa5)])&&!_0x36b4dc[_0x3caa(0x5b)](_0x197f06['KdbAJ'])&&!_0x36b4dc[_0x3caa(0x5b)](_0x197f06[_0x3caa(0xa6)])&&(_0x197f06[_0x3caa(0x97)](_0x36b4dc,_0x197f06[_0x3caa(0xa7)])||_0x36b4dc[_0x3caa(0x5b)](_0x197f06[_0x3caa(0xa8)])||_0x36b4dc[_0x3caa(0x5b)](_0x197f06[_0x3caa(0xa9)]));case _0x197f06[_0x3caa(0xaa)]:return _0x36b4dc['includes'](_0x197f06[_0x3caa(0xab)])&&!_0x36b4dc[_0x3caa(0x5b)](_0x197f06[_0x3caa(0x9a)])&&!_0x36b4dc['includes'](_0x197f06['MOZJP'])&&(_0x36b4dc['includes'](_0x197f06[_0x3caa(0xac)])||_0x36b4dc['includes'](_0x197f06[_0x3caa(0xad)])||_0x36b4dc[_0x3caa(0x5b)](_0x197f06[_0x3caa(0xae)]));case _0x197f06[_0x3caa(0xaf)]:return _0x36b4dc[_0x3caa(0x5b)](_0x197f06[_0x3caa(0xb0)])&&!_0x36b4dc[_0x3caa(0x5b)](_0x3caa(0x80))&&(_0x36b4dc['includes']('#')||_0x36b4dc['endsWith'](_0x197f06[_0x3caa(0xb1)])||_0x36b4dc[_0x3caa(0xb2)](_0x197f06[_0x3caa(0xb3)])||_0x36b4dc[_0x3caa(0xb2)](_0x3caa(0xb4)));case _0x197f06[_0x3caa(0xb5)]:return _0x36b4dc[_0x3caa(0x5b)](_0x197f06[_0x3caa(0xb6)])&&!_0x36b4dc[_0x3caa(0x5b)](_0x197f06[_0x3caa(0x9a)])&&!_0x36b4dc[_0x3caa(0x5b)](_0x197f06[_0x3caa(0x9e)])&&(_0x36b4dc[_0x3caa(0x5b)](_0x197f06['sxbeb'])||_0x36b4dc[_0x3caa(0x5b)](_0x197f06[_0x3caa(0xb7)])||_0x36b4dc['includes'](_0x3caa(0xb8))||_0x36b4dc['includes'](_0x197f06[_0x3caa(0xb9)])||_0x36b4dc[_0x3caa(0x5b)](_0x197f06[_0x3caa(0xba)]));case _0x197f06['UDomK']:return _0x36b4dc[_0x3caa(0x5b)](_0x197f06[_0x3caa(0xbb)])&&!_0x36b4dc['includes'](_0x197f06[_0x3caa(0x9a)])&&!_0x36b4dc[_0x3caa(0x5b)](_0x197f06['pYduR'])&&(_0x36b4dc[_0x3caa(0x5b)]('/collection')||_0x36b4dc['includes'](_0x197f06[_0x3caa(0xbc)])||_0x36b4dc['includes'](_0x197f06['nwLRe'])||_0x36b4dc[_0x3caa(0x5b)](_0x197f06[_0x3caa(0xbd)])||_0x36b4dc['includes'](_0x197f06[_0x3caa(0xbe)])||_0x36b4dc['includes']('/search')||_0x36b4dc==='https://open.spotify.com/');default:return![];}};exports['isLoggedInUrl']=isLoggedInUrl;const isLinkedInPlatform=_0x4f3878=>{const _0x4aed22={'aqtcG':function(_0x3edb65,_0x482a98){return _0x3edb65===_0x482a98;}};return _0x4aed22[_0x3caa(0xbf)](_0x4f3878[_0x3caa(0x3c)](),_0x3caa(0x36));};exports[_0x3caa(0x2d)]=isLinkedInPlatform;const isLinkedInProfilePage=_0x279bb8=>{const _0x151965={'iKmzO':'linkedin.com/in/','LWnfC':'linkedin.com/me'},_0x401afe=_0x279bb8[_0x3caa(0x3c)]();return _0x401afe['includes'](_0x151965[_0x3caa(0xc0)])||_0x401afe['includes'](_0x151965[_0x3caa(0xc1)]);};exports[_0x3caa(0xc2)]=isLinkedInProfilePage;const isLinkedInLoginPage=_0x43ada7=>{const _0x162f1b={'FVLLS':_0x3caa(0x7f),'GQiKf':_0x3caa(0xc3),'rYFCS':'/uas/login','LHbwt':'/uas/challenge'},_0x3cfaec=_0x43ada7[_0x3caa(0x3c)]();return _0x3cfaec[_0x3caa(0x5b)](_0x162f1b[_0x3caa(0xc4)])||_0x3cfaec[_0x3caa(0x5b)](_0x162f1b[_0x3caa(0xc5)])||_0x3cfaec['includes'](_0x162f1b[_0x3caa(0xc6)])||_0x3cfaec[_0x3caa(0x5b)]('/challenge')||_0x3cfaec['includes'](_0x162f1b[_0x3caa(0xc7)])||_0x3cfaec[_0x3caa(0x5b)]('/authwall');};exports[_0x3caa(0x2e)]=isLinkedInLoginPage;const isLinkedInOAuthCallback=_0x4ca39b=>{const _0xe1391d={'ycxJB':_0x3caa(0xc8),'uJnzF':_0x3caa(0xc9)},_0x214e35=_0x4ca39b[_0x3caa(0x3c)]();return _0x214e35['includes'](_0xe1391d[_0x3caa(0xca)])&&_0x214e35[_0x3caa(0x5b)](_0xe1391d[_0x3caa(0xcb)]);};exports[_0x3caa(0xcc)]=isLinkedInOAuthCallback;
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.APP_PLATFORM_URLS = exports.ANTI_DETECTION_SCRIPT = void 0;
7
+ Object.defineProperty(exports, "CHATGPT_CONSENT_POPUP_SCRIPT", {
8
+ enumerable: true,
9
+ get: function () {
10
+ return _chatgpt.CHATGPT_CONSENT_POPUP_SCRIPT;
11
+ }
12
+ });
13
+ Object.defineProperty(exports, "CHATGPT_ERROR_SCRIPT", {
14
+ enumerable: true,
15
+ get: function () {
16
+ return _chatgpt.CHATGPT_ERROR_SCRIPT;
17
+ }
18
+ });
19
+ Object.defineProperty(exports, "CHATGPT_EXPORT_SCRIPT", {
20
+ enumerable: true,
21
+ get: function () {
22
+ return _chatgpt.CHATGPT_EXPORT_SCRIPT;
23
+ }
24
+ });
25
+ Object.defineProperty(exports, "CHATGPT_FETCH_MEMORIES_SCRIPT", {
26
+ enumerable: true,
27
+ get: function () {
28
+ return _chatgpt.CHATGPT_FETCH_MEMORIES_SCRIPT;
29
+ }
30
+ });
31
+ Object.defineProperty(exports, "CHATGPT_SUCCESS_SCRIPT", {
32
+ enumerable: true,
33
+ get: function () {
34
+ return _chatgpt.CHATGPT_SUCCESS_SCRIPT;
35
+ }
36
+ });
37
+ Object.defineProperty(exports, "CLAUDE_CONSENT_POPUP_SCRIPT", {
38
+ enumerable: true,
39
+ get: function () {
40
+ return _claude.CLAUDE_CONSENT_POPUP_SCRIPT;
41
+ }
42
+ });
43
+ Object.defineProperty(exports, "CLAUDE_ERROR_SCRIPT", {
44
+ enumerable: true,
45
+ get: function () {
46
+ return _claude.CLAUDE_ERROR_SCRIPT;
47
+ }
48
+ });
49
+ Object.defineProperty(exports, "CLAUDE_EXPORT_SCRIPT", {
50
+ enumerable: true,
51
+ get: function () {
52
+ return _claude.CLAUDE_EXPORT_SCRIPT;
53
+ }
54
+ });
55
+ Object.defineProperty(exports, "CLAUDE_SUCCESS_SCRIPT", {
56
+ enumerable: true,
57
+ get: function () {
58
+ return _claude.CLAUDE_SUCCESS_SCRIPT;
59
+ }
60
+ });
61
+ Object.defineProperty(exports, "HINGE_CONSENT_POPUP_SCRIPT", {
62
+ enumerable: true,
63
+ get: function () {
64
+ return _hinge.HINGE_CONSENT_POPUP_SCRIPT;
65
+ }
66
+ });
67
+ Object.defineProperty(exports, "HINGE_ERROR_SCRIPT", {
68
+ enumerable: true,
69
+ get: function () {
70
+ return _hinge.HINGE_ERROR_SCRIPT;
71
+ }
72
+ });
73
+ Object.defineProperty(exports, "HINGE_EXPORT_SCRIPT", {
74
+ enumerable: true,
75
+ get: function () {
76
+ return _hinge.HINGE_EXPORT_SCRIPT;
77
+ }
78
+ });
79
+ Object.defineProperty(exports, "HINGE_SUCCESS_SCRIPT", {
80
+ enumerable: true,
81
+ get: function () {
82
+ return _hinge.HINGE_SUCCESS_SCRIPT;
83
+ }
84
+ });
85
+ Object.defineProperty(exports, "INSTAGRAM_CONSENT_POPUP_SCRIPT", {
86
+ enumerable: true,
87
+ get: function () {
88
+ return _instagram.INSTAGRAM_CONSENT_POPUP_SCRIPT;
89
+ }
90
+ });
91
+ Object.defineProperty(exports, "INSTAGRAM_ERROR_SCRIPT", {
92
+ enumerable: true,
93
+ get: function () {
94
+ return _instagram.INSTAGRAM_ERROR_SCRIPT;
95
+ }
96
+ });
97
+ Object.defineProperty(exports, "INSTAGRAM_EXPORT_SCRIPT", {
98
+ enumerable: true,
99
+ get: function () {
100
+ return _instagram.INSTAGRAM_EXPORT_SCRIPT;
101
+ }
102
+ });
103
+ Object.defineProperty(exports, "INSTAGRAM_SUCCESS_SCRIPT", {
104
+ enumerable: true,
105
+ get: function () {
106
+ return _instagram.INSTAGRAM_SUCCESS_SCRIPT;
107
+ }
108
+ });
109
+ Object.defineProperty(exports, "LINKEDIN_APP_BLOCKER_SCRIPT", {
110
+ enumerable: true,
111
+ get: function () {
112
+ return _linkedin.LINKEDIN_APP_BLOCKER_SCRIPT;
113
+ }
114
+ });
115
+ Object.defineProperty(exports, "LINKEDIN_NAVIGATE_TO_PROFILE_SCRIPT", {
116
+ enumerable: true,
117
+ get: function () {
118
+ return _linkedin.LINKEDIN_NAVIGATE_TO_PROFILE_SCRIPT;
119
+ }
120
+ });
121
+ Object.defineProperty(exports, "LINKEDIN_PROFILE_CONSENT_POPUP_SCRIPT", {
122
+ enumerable: true,
123
+ get: function () {
124
+ return _linkedin.LINKEDIN_PROFILE_CONSENT_POPUP_SCRIPT;
125
+ }
126
+ });
127
+ Object.defineProperty(exports, "LINKEDIN_PROFILE_ERROR_SCRIPT", {
128
+ enumerable: true,
129
+ get: function () {
130
+ return _linkedin.LINKEDIN_PROFILE_ERROR_SCRIPT;
131
+ }
132
+ });
133
+ Object.defineProperty(exports, "LINKEDIN_PROFILE_EXTRACTOR_SCRIPT", {
134
+ enumerable: true,
135
+ get: function () {
136
+ return _linkedin.LINKEDIN_PROFILE_EXTRACTOR_SCRIPT;
137
+ }
138
+ });
139
+ Object.defineProperty(exports, "LINKEDIN_PROFILE_SCRAPER_SCRIPT", {
140
+ enumerable: true,
141
+ get: function () {
142
+ return _linkedin.LINKEDIN_PROFILE_SCRAPER_SCRIPT;
143
+ }
144
+ });
145
+ Object.defineProperty(exports, "LINKEDIN_PROFILE_SUCCESS_SCRIPT", {
146
+ enumerable: true,
147
+ get: function () {
148
+ return _linkedin.LINKEDIN_PROFILE_SUCCESS_SCRIPT;
149
+ }
150
+ });
151
+ exports.LLM_PLATFORM_URLS = void 0;
152
+ Object.defineProperty(exports, "NETFLIX_CONSENT_POPUP_SCRIPT", {
153
+ enumerable: true,
154
+ get: function () {
155
+ return _netflix.NETFLIX_CONSENT_POPUP_SCRIPT;
156
+ }
157
+ });
158
+ Object.defineProperty(exports, "NETFLIX_ERROR_SCRIPT", {
159
+ enumerable: true,
160
+ get: function () {
161
+ return _netflix.NETFLIX_ERROR_SCRIPT;
162
+ }
163
+ });
164
+ Object.defineProperty(exports, "NETFLIX_EXPORT_SCRIPT", {
165
+ enumerable: true,
166
+ get: function () {
167
+ return _netflix.NETFLIX_EXPORT_SCRIPT;
168
+ }
169
+ });
170
+ Object.defineProperty(exports, "NETFLIX_SUCCESS_SCRIPT", {
171
+ enumerable: true,
172
+ get: function () {
173
+ return _netflix.NETFLIX_SUCCESS_SCRIPT;
174
+ }
175
+ });
176
+ Object.defineProperty(exports, "SEPHORA_CONSENT_POPUP_SCRIPT", {
177
+ enumerable: true,
178
+ get: function () {
179
+ return _sephora.SEPHORA_CONSENT_POPUP_SCRIPT;
180
+ }
181
+ });
182
+ Object.defineProperty(exports, "SEPHORA_ERROR_SCRIPT", {
183
+ enumerable: true,
184
+ get: function () {
185
+ return _sephora.SEPHORA_ERROR_SCRIPT;
186
+ }
187
+ });
188
+ Object.defineProperty(exports, "SEPHORA_EXPORT_SCRIPT", {
189
+ enumerable: true,
190
+ get: function () {
191
+ return _sephora.SEPHORA_EXPORT_SCRIPT;
192
+ }
193
+ });
194
+ Object.defineProperty(exports, "SEPHORA_SUCCESS_SCRIPT", {
195
+ enumerable: true,
196
+ get: function () {
197
+ return _sephora.SEPHORA_SUCCESS_SCRIPT;
198
+ }
199
+ });
200
+ Object.defineProperty(exports, "SPOTIFY_CONSENT_POPUP_SCRIPT", {
201
+ enumerable: true,
202
+ get: function () {
203
+ return _spotify.SPOTIFY_CONSENT_POPUP_SCRIPT;
204
+ }
205
+ });
206
+ Object.defineProperty(exports, "SPOTIFY_ERROR_SCRIPT", {
207
+ enumerable: true,
208
+ get: function () {
209
+ return _spotify.SPOTIFY_ERROR_SCRIPT;
210
+ }
211
+ });
212
+ Object.defineProperty(exports, "SPOTIFY_EXPORT_SCRIPT", {
213
+ enumerable: true,
214
+ get: function () {
215
+ return _spotify.SPOTIFY_EXPORT_SCRIPT;
216
+ }
217
+ });
218
+ Object.defineProperty(exports, "SPOTIFY_SUCCESS_SCRIPT", {
219
+ enumerable: true,
220
+ get: function () {
221
+ return _spotify.SPOTIFY_SUCCESS_SCRIPT;
222
+ }
223
+ });
224
+ Object.defineProperty(exports, "TELEGRAM_CONSENT_POPUP_SCRIPT", {
225
+ enumerable: true,
226
+ get: function () {
227
+ return _telegram.TELEGRAM_CONSENT_POPUP_SCRIPT;
228
+ }
229
+ });
230
+ Object.defineProperty(exports, "TELEGRAM_ERROR_SCRIPT", {
231
+ enumerable: true,
232
+ get: function () {
233
+ return _telegram.TELEGRAM_ERROR_SCRIPT;
234
+ }
235
+ });
236
+ Object.defineProperty(exports, "TELEGRAM_EXPORT_SCRIPT", {
237
+ enumerable: true,
238
+ get: function () {
239
+ return _telegram.TELEGRAM_EXPORT_SCRIPT;
240
+ }
241
+ });
242
+ Object.defineProperty(exports, "TELEGRAM_SUCCESS_SCRIPT", {
243
+ enumerable: true,
244
+ get: function () {
245
+ return _telegram.TELEGRAM_SUCCESS_SCRIPT;
246
+ }
247
+ });
248
+ exports.isWebViewExtractionPlatform = exports.isTelegramPlatform = exports.isSpotifyPlatform = exports.isSephoraPlatform = exports.isNetflixPlatform = exports.isLoggedInUrl = exports.isLinkedInProfilePage = exports.isLinkedInPlatform = exports.isLinkedInOAuthCallback = exports.isLinkedInLoginPage = exports.isLLMPlatform = exports.isInstagramPlatform = exports.isHingePlatform = exports.getPlatformUserAgent = exports.getLLMPlatformUrl = exports.getAppPlatformUrl = exports.getAntiDetectionScript = void 0;
249
+ var _chatgpt = require("./chatgpt");
250
+ var _claude = require("./claude");
251
+ var _linkedin = require("./linkedin");
252
+ var _hinge = require("./hinge");
253
+ var _instagram = require("./instagram");
254
+ var _sephora = require("./sephora");
255
+ var _telegram = require("./telegram");
256
+ var _netflix = require("./netflix");
257
+ var _spotify = require("./spotify");
258
+ /**
259
+ * WebView Injection Scripts for LLM Platform Integrations
260
+ *
261
+ * This module exports all JavaScript scripts that are injected into WebViews
262
+ * to extract conversation data from LLM platforms (ChatGPT, Claude, etc.)
263
+ * and handle LinkedIn profile URL extraction.
264
+ */
265
+
266
+ // ChatGPT Scripts
267
+
268
+ // Claude Scripts
269
+
270
+ // LinkedIn Scripts
271
+
272
+ // Hinge Scripts
273
+
274
+ // Instagram Scripts
275
+
276
+ // Sephora Scripts
277
+
278
+ // Telegram Scripts
279
+
280
+ // Netflix Scripts
281
+
282
+ // Spotify Scripts
283
+
284
+ /**
285
+ * Anti-detection script to prevent WebView detection by platforms
286
+ * This helps avoid bot detection and ensures smooth login experience
287
+ */
288
+ const ANTI_DETECTION_SCRIPT = exports.ANTI_DETECTION_SCRIPT = `
289
+ (function() {
290
+ // Override webdriver detection
291
+ Object.defineProperty(navigator, 'webdriver', {
292
+ get: () => undefined
293
+ });
294
+
295
+ // Override automation detection
296
+ Object.defineProperty(navigator, 'automationController', {
297
+ get: () => undefined
298
+ });
299
+
300
+ // Ensure proper user agent and platform detection
301
+ Object.defineProperty(navigator, 'platform', {
302
+ get: () => 'iPhone'
303
+ });
304
+
305
+ // Override plugins (empty in real mobile Safari)
306
+ Object.defineProperty(navigator, 'plugins', {
307
+ get: () => []
308
+ });
309
+
310
+ // Override languages
311
+ Object.defineProperty(navigator, 'languages', {
312
+ get: () => ['en-US', 'en']
313
+ });
314
+
315
+ // Remove automation-related properties
316
+ delete window.cdc_adoQpoasnfa76pfcZLmcfl_Array;
317
+ delete window.cdc_adoQpoasnfa76pfcZLmcfl_Promise;
318
+ delete window.cdc_adoQpoasnfa76pfcZLmcfl_Symbol;
319
+
320
+ console.log('🛡️ [ANTI-DETECTION] Script injected successfully');
321
+ })();
322
+ true;
323
+ `;
324
+
325
+ // Import LinkedIn app blocker for use in getAntiDetectionScript
326
+
327
+ /**
328
+ * Get platform-specific anti-detection script
329
+ * Some platforms may need additional overrides
330
+ */
331
+ const getAntiDetectionScript = platform => {
332
+ const baseScript = ANTI_DETECTION_SCRIPT;
333
+ switch (platform.toLowerCase()) {
334
+ case 'linkedin':
335
+ // LinkedIn has additional bot detection + app blocker
336
+ return baseScript + `
337
+ (function() {
338
+ // LinkedIn-specific anti-detection
339
+ Object.defineProperty(navigator, 'userAgent', {
340
+ get: () => 'Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1'
341
+ });
342
+
343
+ // Block LinkedIn's tracking scripts
344
+ const originalCreateElement = document.createElement.bind(document);
345
+ document.createElement = function(tagName) {
346
+ const element = originalCreateElement(tagName);
347
+ if (tagName.toLowerCase() === 'script') {
348
+ const originalSetAttribute = element.setAttribute.bind(element);
349
+ element.setAttribute = function(name, value) {
350
+ if (name === 'src' && value && (value.includes('tracking') || value.includes('analytics'))) {
351
+ console.log('🛡️ [LINKEDIN] Blocked tracking script:', value);
352
+ return;
353
+ }
354
+ return originalSetAttribute(name, value);
355
+ };
356
+ }
357
+ return element;
358
+ };
359
+
360
+ console.log('🛡️ [LINKEDIN] Enhanced anti-detection active');
361
+ })();
362
+ true;
363
+ ` + _linkedin.LINKEDIN_APP_BLOCKER_SCRIPT;
364
+ case 'chatgpt':
365
+ case 'openai':
366
+ // ChatGPT/OpenAI specific overrides
367
+ return baseScript + `
368
+ (function() {
369
+ // Ensure ChatGPT sees us as a real mobile browser
370
+ console.log('🛡️ [CHATGPT] Anti-detection enhanced');
371
+ })();
372
+ true;
373
+ `;
374
+ case 'claude':
375
+ case 'anthropic':
376
+ // Claude/Anthropic specific overrides
377
+ return baseScript + `
378
+ (function() {
379
+ // Ensure Claude sees us as a real mobile browser
380
+ console.log('🛡️ [CLAUDE] Anti-detection enhanced');
381
+ })();
382
+ true;
383
+ `;
384
+ case 'hinge':
385
+ // Hinge-specific overrides
386
+ return baseScript + `
387
+ (function() {
388
+ // Hinge anti-detection settings
389
+ console.log('🛡️ [HINGE] Anti-detection enhanced');
390
+ })();
391
+ true;
392
+ `;
393
+ case 'instagram':
394
+ // Instagram-specific overrides
395
+ return baseScript + `
396
+ (function() {
397
+ // Instagram has sophisticated bot detection
398
+ Object.defineProperty(navigator, 'userAgent', {
399
+ get: () => 'Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1'
400
+ });
401
+ console.log('🛡️ [INSTAGRAM] Anti-detection enhanced');
402
+ })();
403
+ true;
404
+ `;
405
+ case 'sephora':
406
+ // Sephora-specific overrides
407
+ return baseScript + `
408
+ (function() {
409
+ // Sephora e-commerce anti-detection
410
+ console.log('🛡️ [SEPHORA] Anti-detection enhanced');
411
+ })();
412
+ true;
413
+ `;
414
+ case 'telegram':
415
+ // Telegram-specific overrides
416
+ return baseScript + `
417
+ (function() {
418
+ // Telegram Web anti-detection
419
+ console.log('🛡️ [TELEGRAM] Anti-detection enhanced');
420
+ })();
421
+ true;
422
+ `;
423
+ case 'netflix':
424
+ // Netflix-specific overrides
425
+ return baseScript + `
426
+ (function() {
427
+ // Netflix anti-detection settings
428
+ Object.defineProperty(navigator, 'userAgent', {
429
+ get: () => 'Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1'
430
+ });
431
+ console.log('🛡️ [NETFLIX] Anti-detection enhanced');
432
+ })();
433
+ true;
434
+ `;
435
+ case 'spotify':
436
+ // Spotify-specific overrides
437
+ return baseScript + `
438
+ (function() {
439
+ // Spotify Web Player anti-detection
440
+ Object.defineProperty(navigator, 'userAgent', {
441
+ get: () => 'Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1'
442
+ });
443
+ console.log('🛡️ [SPOTIFY] Anti-detection enhanced');
444
+ })();
445
+ true;
446
+ `;
447
+ default:
448
+ return baseScript;
449
+ }
450
+ };
451
+
452
+ /**
453
+ * LLM Platform URLs
454
+ */
455
+ exports.getAntiDetectionScript = getAntiDetectionScript;
456
+ const LLM_PLATFORM_URLS = exports.LLM_PLATFORM_URLS = {
457
+ chatgpt: 'https://chat.openai.com',
458
+ openai: 'https://chat.openai.com',
459
+ claude: 'https://claude.ai/login',
460
+ anthropic: 'https://claude.ai/login',
461
+ gemini: 'https://gemini.google.com',
462
+ grok: 'https://x.com/i/grok' // Grok is accessed via X/Twitter
463
+ };
464
+
465
+ /**
466
+ * Social/App Platform URLs (WebView-based extraction)
467
+ */
468
+ const APP_PLATFORM_URLS = exports.APP_PLATFORM_URLS = {
469
+ hinge: 'https://hinge.co',
470
+ // PLACEHOLDER - may need mobile web URL
471
+ instagram: 'https://www.instagram.com',
472
+ sephora: 'https://www.sephora.com',
473
+ telegram: 'https://web.telegram.org/k/',
474
+ // Telegram Web K (most compatible)
475
+ netflix: 'https://www.netflix.com',
476
+ spotify: 'https://open.spotify.com'
477
+ };
478
+
479
+ /**
480
+ * Get the login URL for an LLM platform
481
+ */
482
+ const getLLMPlatformUrl = platform => {
483
+ const normalizedPlatform = platform.toLowerCase();
484
+ return LLM_PLATFORM_URLS[normalizedPlatform] || null;
485
+ };
486
+
487
+ /**
488
+ * Check if a platform is an LLM platform
489
+ */
490
+ exports.getLLMPlatformUrl = getLLMPlatformUrl;
491
+ const isLLMPlatform = platform => {
492
+ const llmPlatforms = ['chatgpt', 'openai', 'claude', 'anthropic', 'gemini', 'grok'];
493
+ return llmPlatforms.includes(platform.toLowerCase());
494
+ };
495
+
496
+ /**
497
+ * Check if a platform is a WebView-extraction platform (non-LLM)
498
+ * These platforms use WebView + JS injection for data extraction
499
+ */
500
+ exports.isLLMPlatform = isLLMPlatform;
501
+ const isWebViewExtractionPlatform = platform => {
502
+ const webViewPlatforms = ['hinge', 'instagram', 'sephora', 'telegram', 'netflix', 'spotify'];
503
+ return webViewPlatforms.includes(platform.toLowerCase());
504
+ };
505
+
506
+ /**
507
+ * Check if platform is Telegram
508
+ */
509
+ exports.isWebViewExtractionPlatform = isWebViewExtractionPlatform;
510
+ const isTelegramPlatform = platform => {
511
+ return platform.toLowerCase() === 'telegram';
512
+ };
513
+
514
+ /**
515
+ * Check if platform is Hinge
516
+ */
517
+ exports.isTelegramPlatform = isTelegramPlatform;
518
+ const isHingePlatform = platform => {
519
+ return platform.toLowerCase() === 'hinge';
520
+ };
521
+
522
+ /**
523
+ * Check if platform is Instagram (WebView extraction mode)
524
+ */
525
+ exports.isHingePlatform = isHingePlatform;
526
+ const isInstagramPlatform = platform => {
527
+ return platform.toLowerCase() === 'instagram';
528
+ };
529
+
530
+ /**
531
+ * Check if platform is Sephora
532
+ */
533
+ exports.isInstagramPlatform = isInstagramPlatform;
534
+ const isSephoraPlatform = platform => {
535
+ return platform.toLowerCase() === 'sephora';
536
+ };
537
+
538
+ /**
539
+ * Check if platform is Netflix
540
+ */
541
+ exports.isSephoraPlatform = isSephoraPlatform;
542
+ const isNetflixPlatform = platform => {
543
+ return platform.toLowerCase() === 'netflix';
544
+ };
545
+
546
+ /**
547
+ * Check if platform is Spotify
548
+ */
549
+ exports.isNetflixPlatform = isNetflixPlatform;
550
+ const isSpotifyPlatform = platform => {
551
+ return platform.toLowerCase() === 'spotify';
552
+ };
553
+
554
+ /**
555
+ * Get the WebView URL for a platform
556
+ */
557
+ exports.isSpotifyPlatform = isSpotifyPlatform;
558
+ const getAppPlatformUrl = platform => {
559
+ const normalizedPlatform = platform.toLowerCase();
560
+ return APP_PLATFORM_URLS[normalizedPlatform] || null;
561
+ };
562
+
563
+ /**
564
+ * Get platform-specific user agent for optimal experience
565
+ * Different platforms may require different user agents for proper rendering
566
+ */
567
+ exports.getAppPlatformUrl = getAppPlatformUrl;
568
+ const getPlatformUserAgent = platform => {
569
+ const defaultUA = "Mozilla/5.0 (iPhone; CPU iPhone OS 14_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Mobile/15E148 Safari/604.1";
570
+ switch (platform.toLowerCase()) {
571
+ case 'linkedin':
572
+ // LinkedIn-optimized user agent - iOS Safari
573
+ return "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1";
574
+ case 'chatgpt':
575
+ case 'openai':
576
+ // ChatGPT-optimized user agent
577
+ return "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1";
578
+ case 'claude':
579
+ case 'anthropic':
580
+ // Claude-optimized user agent
581
+ return "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1";
582
+ case 'gmail':
583
+ case 'google':
584
+ case 'gemini':
585
+ // Chrome user agent for Google services
586
+ return "Mozilla/5.0 (Linux; Android 10; SM-G975F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.120 Mobile Safari/537.36";
587
+ case 'x':
588
+ case 'twitter':
589
+ case 'grok':
590
+ // Standard mobile Chrome for X/Twitter/Grok
591
+ return "Mozilla/5.0 (iPhone; CPU iPhone OS 15_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/94.0.4606.76 Mobile/15E148 Safari/604.1";
592
+ case 'hinge':
593
+ // Hinge mobile web user agent
594
+ return "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1";
595
+ case 'instagram':
596
+ // Instagram mobile web user agent
597
+ return "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1";
598
+ case 'sephora':
599
+ // Sephora mobile web user agent
600
+ return "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1";
601
+ case 'telegram':
602
+ // Telegram Web user agent (desktop Chrome works better)
603
+ return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36";
604
+ case 'netflix':
605
+ // Netflix mobile web user agent
606
+ return "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1";
607
+ case 'spotify':
608
+ // Spotify Web Player user agent
609
+ return "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1";
610
+ default:
611
+ return defaultUA;
612
+ }
613
+ };
614
+
615
+ /**
616
+ * Check if URL indicates successful login for a platform
617
+ */
618
+ exports.getPlatformUserAgent = getPlatformUserAgent;
619
+ const isLoggedInUrl = (url, platform) => {
620
+ const normalizedPlatform = platform.toLowerCase();
621
+ const normalizedUrl = url.toLowerCase();
622
+ switch (normalizedPlatform) {
623
+ case 'chatgpt':
624
+ case 'openai':
625
+ // After login, ChatGPT redirects to the main chat page
626
+ return normalizedUrl.includes('chat.openai.com') && !normalizedUrl.includes('/auth') && !normalizedUrl.includes('/login') && (normalizedUrl === 'https://chat.openai.com/' || normalizedUrl.includes('/chat') || normalizedUrl.includes('/c/'));
627
+ case 'claude':
628
+ case 'anthropic':
629
+ // After login, Claude redirects to the main page or a chat
630
+ return normalizedUrl.includes('claude.ai') && !normalizedUrl.includes('/login') && !normalizedUrl.includes('/auth') && (normalizedUrl === 'https://claude.ai/' || normalizedUrl.includes('/chat') || normalizedUrl.includes('/new'));
631
+ case 'gemini':
632
+ // After login, Gemini redirects to the main app
633
+ return normalizedUrl.includes('gemini.google.com') && !normalizedUrl.includes('/auth') && !normalizedUrl.includes('/signin');
634
+ case 'grok':
635
+ // After login on X, Grok is accessible
636
+ return normalizedUrl.includes('x.com/i/grok') && !normalizedUrl.includes('/login');
637
+ case 'hinge':
638
+ // Hinge logged in detection
639
+ return normalizedUrl.includes('hinge.co') && !normalizedUrl.includes('/login') && !normalizedUrl.includes('/auth') && !normalizedUrl.includes('/signup');
640
+ case 'instagram':
641
+ // Instagram logged in detection
642
+ return normalizedUrl.includes('instagram.com') && !normalizedUrl.includes('/accounts/login') && !normalizedUrl.includes('/accounts/signup') && (normalizedUrl === 'https://www.instagram.com/' || normalizedUrl.includes('/direct/') || normalizedUrl.includes('/explore/'));
643
+ case 'sephora':
644
+ // Sephora logged in detection
645
+ return normalizedUrl.includes('sephora.com') && !normalizedUrl.includes('/login') && !normalizedUrl.includes('/signin') && (normalizedUrl.includes('/profile') || normalizedUrl.includes('/account') || normalizedUrl.includes('/cart'));
646
+ case 'telegram':
647
+ // Telegram Web logged in detection
648
+ // When logged in, URL changes from /k/ auth to /k/#chats or similar
649
+ return normalizedUrl.includes('web.telegram.org') && !normalizedUrl.includes('/auth') && (normalizedUrl.includes('#') ||
650
+ // Has hash fragment (indicates loaded app)
651
+ normalizedUrl.endsWith('/k/') || normalizedUrl.endsWith('/a/') || normalizedUrl.endsWith('/z/'));
652
+ case 'netflix':
653
+ // Netflix logged in detection
654
+ return normalizedUrl.includes('netflix.com') && !normalizedUrl.includes('/login') && !normalizedUrl.includes('/signin') && (normalizedUrl.includes('/browse') || normalizedUrl.includes('/watch') || normalizedUrl.includes('/title') || normalizedUrl.includes('/my-list') || normalizedUrl.includes('/latest'));
655
+ case 'spotify':
656
+ // Spotify Web Player logged in detection
657
+ return normalizedUrl.includes('open.spotify.com') && !normalizedUrl.includes('/login') && !normalizedUrl.includes('/authorize') && (normalizedUrl.includes('/collection') || normalizedUrl.includes('/playlist') || normalizedUrl.includes('/track') || normalizedUrl.includes('/album') || normalizedUrl.includes('/artist') || normalizedUrl.includes('/search') || normalizedUrl === 'https://open.spotify.com/');
658
+ default:
659
+ return false;
660
+ }
661
+ };
662
+
663
+ /**
664
+ * Check if a platform is LinkedIn
665
+ */
666
+ exports.isLoggedInUrl = isLoggedInUrl;
667
+ const isLinkedInPlatform = platform => {
668
+ return platform.toLowerCase() === 'linkedin';
669
+ };
670
+
671
+ /**
672
+ * Check if URL is a LinkedIn profile page
673
+ */
674
+ exports.isLinkedInPlatform = isLinkedInPlatform;
675
+ const isLinkedInProfilePage = url => {
676
+ const normalizedUrl = url.toLowerCase();
677
+ return normalizedUrl.includes('linkedin.com/in/') || normalizedUrl.includes('linkedin.com/me');
678
+ };
679
+
680
+ /**
681
+ * Check if URL is a LinkedIn login/auth page
682
+ */
683
+ exports.isLinkedInProfilePage = isLinkedInProfilePage;
684
+ const isLinkedInLoginPage = url => {
685
+ const normalizedUrl = url.toLowerCase();
686
+ return normalizedUrl.includes('/login') || normalizedUrl.includes('/checkpoint') || normalizedUrl.includes('/uas/login') || normalizedUrl.includes('/challenge') || normalizedUrl.includes('/uas/challenge') || normalizedUrl.includes('/authwall');
687
+ };
688
+
689
+ /**
690
+ * Check if URL is a LinkedIn OAuth callback
691
+ */
692
+ exports.isLinkedInLoginPage = isLinkedInLoginPage;
693
+ const isLinkedInOAuthCallback = url => {
694
+ const normalizedUrl = url.toLowerCase();
695
+ return normalizedUrl.includes('onairos.uk') && normalizedUrl.includes('callback');
696
+ };
697
+ exports.isLinkedInOAuthCallback = isLinkedInOAuthCallback;
698
+ //# sourceMappingURL=index.js.map