@onairos/react-native 3.7.2 → 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.
- package/lib/commonjs/api/index.js +219 -9
- package/lib/commonjs/components/BodyText.js +27 -9
- package/lib/commonjs/components/BrandMark.js +111 -10
- package/lib/commonjs/components/CodeInput.js +116 -9
- package/lib/commonjs/components/EmailInput.js +30 -8
- package/lib/commonjs/components/GoogleButton.js +56 -9
- package/lib/commonjs/components/HeadingGroup.js +43 -9
- package/lib/commonjs/components/LLMDataInputModal.js +664 -14
- package/lib/commonjs/components/ModalHeader.js +99 -9
- package/lib/commonjs/components/ModalSheet.js +47 -9
- package/lib/commonjs/components/Onairos.js +380 -14
- package/lib/commonjs/components/OnairosButton.js +313 -13
- package/lib/commonjs/components/OnairosSignInButton.js +130 -12
- package/lib/commonjs/components/Overlay.js +465 -13
- package/lib/commonjs/components/PersonaImage.js +137 -10
- package/lib/commonjs/components/PersonaLoadingScreen.js +318 -12
- package/lib/commonjs/components/PersonalizationConsentScreen.js +467 -13
- package/lib/commonjs/components/PinCreationScreen.js +403 -12
- package/lib/commonjs/components/PinInput.js +464 -9
- package/lib/commonjs/components/PlatformConnectorsStep.js +1311 -23
- package/lib/commonjs/components/PlatformList.js +137 -10
- package/lib/commonjs/components/PlatformToggle.js +180 -9
- package/lib/commonjs/components/PrimaryButton.js +180 -10
- package/lib/commonjs/components/SignInMatchAnimation.js +197 -9
- package/lib/commonjs/components/SignInStep.js +345 -12
- package/lib/commonjs/components/UniversalOnboarding.js +2780 -30
- package/lib/commonjs/components/VerificationStep.js +176 -11
- package/lib/commonjs/components/WelcomeScreen.js +461 -22
- package/lib/commonjs/components/icons/Basicproficon.js +37 -8
- package/lib/commonjs/components/icons/Basicprofile.js +21 -8
- package/lib/commonjs/components/icons/Checkbox.js +21 -8
- package/lib/commonjs/components/icons/Checkmark.js +27 -8
- package/lib/commonjs/components/icons/Contentanalysis.js +21 -8
- package/lib/commonjs/components/icons/Contenticon.js +39 -8
- package/lib/commonjs/components/icons/EnochE.js +41 -8
- package/lib/commonjs/components/icons/Personalityicon.js +30 -8
- package/lib/commonjs/components/icons/Personalityprofile.js +21 -8
- package/lib/commonjs/components/icons/Personalitytraits.js +21 -8
- package/lib/commonjs/components/icons/Userpreferences.js +21 -8
- package/lib/commonjs/components/icons/index.js +84 -17
- package/lib/commonjs/components/onboarding/OAuthWebView.js +1754 -18
- package/lib/commonjs/components/onboarding/OnboardingHeader.js +74 -10
- package/lib/commonjs/components/onboarding/PinInput.js +283 -10
- package/lib/commonjs/components/onboarding/PlatformConnector.js +249 -11
- package/lib/commonjs/config/PLATFORM_APIS.md +849 -0
- package/lib/commonjs/config/api.js +56 -7
- package/lib/commonjs/constants/index.js +120 -7
- package/lib/commonjs/context/AuthContext.js +345 -10
- package/lib/commonjs/hooks/useConnectedAccounts.js +111 -9
- package/lib/commonjs/hooks/useConnections.js +102 -8
- package/lib/commonjs/hooks/useCredentials.js +178 -10
- package/lib/commonjs/hooks/useUserConnections.js +148 -10
- package/lib/commonjs/index.js +439 -34
- package/lib/commonjs/services/apiClient.js +298 -8
- package/lib/commonjs/services/biometricPinService.js +180 -8
- package/lib/commonjs/services/chatGPTConversationExtractor.js +155 -8
- package/lib/commonjs/services/chatGPTConversationService.js +275 -9
- package/lib/commonjs/services/claudeConversationExtractor.js +103 -8
- package/lib/commonjs/services/claudeConversationService.js +158 -9
- package/lib/commonjs/services/connectedAccountsService.js +310 -10
- package/lib/commonjs/services/googleAuthService.js +252 -11
- package/lib/commonjs/services/hingeDataExtractor.js +105 -8
- package/lib/commonjs/services/hingeDataService.js +150 -9
- package/lib/commonjs/services/imageCompressionService.js +260 -7
- package/lib/commonjs/services/instagramDataExtractor.js +126 -8
- package/lib/commonjs/services/instagramDataService.js +163 -9
- package/lib/commonjs/services/jwtStorageService.js +276 -7
- package/lib/commonjs/services/linkedinDOMExtractor.js +245 -7
- package/lib/commonjs/services/linkedinProfileService.js +222 -9
- package/lib/commonjs/services/linkedinScrapingService.js +230 -8
- package/lib/commonjs/services/llmDataStorage.js +294 -8
- package/lib/commonjs/services/mobileTrainingService.js +186 -8
- package/lib/commonjs/services/netflixDataExtractor.js +120 -8
- package/lib/commonjs/services/netflixDataService.js +198 -9
- package/lib/commonjs/services/pinEncryptionService.js +84 -8
- package/lib/commonjs/services/pinStorageUtils.js +105 -7
- package/lib/commonjs/services/platformAuthService.js +1484 -12
- package/lib/commonjs/services/sephoraDataExtractor.js +140 -8
- package/lib/commonjs/services/sephoraDataService.js +200 -9
- package/lib/commonjs/services/spotifyDataExtractor.js +148 -8
- package/lib/commonjs/services/spotifyDataService.js +241 -9
- package/lib/commonjs/services/storageService.js +404 -8
- package/lib/commonjs/services/telegramDataExtractor.js +115 -8
- package/lib/commonjs/services/telegramDataService.js +499 -9
- package/lib/commonjs/services/trainingApiHelpers.js +73 -7
- package/lib/commonjs/services/userConnectionsService.js +340 -10
- package/lib/commonjs/services/youtubeMigrationService.js +416 -10
- package/lib/commonjs/theme/index.js +250 -7
- package/lib/commonjs/types/ambient.d.js +2 -1
- package/lib/commonjs/types/declarations.d.js +2 -1
- package/lib/commonjs/types/index.js +6 -1
- package/lib/commonjs/types/node-fix.d.js +2 -1
- package/lib/commonjs/types/node-override.d.js +2 -1
- package/lib/commonjs/types/opacity.d.js +2 -1
- package/lib/commonjs/types.js +14 -1
- package/lib/commonjs/utils/Portal.js +98 -8
- package/lib/commonjs/utils/api.js +130 -9
- package/lib/commonjs/utils/assetRegistry.js +210 -35
- package/lib/commonjs/utils/auth.js +112 -9
- package/lib/commonjs/utils/connectorTests.js +613 -29
- package/lib/commonjs/utils/crypto.js +62 -8
- package/lib/commonjs/utils/debugHelper.js +64 -1
- package/lib/commonjs/utils/encryption.js +76 -7
- package/lib/commonjs/utils/eventUtils.js +288 -1
- package/lib/commonjs/utils/haptics.js +66 -9
- package/lib/commonjs/utils/imagePreloader.js +6 -1
- package/lib/commonjs/utils/networkDiagnostics.js +226 -8
- package/lib/commonjs/utils/onairosApi.js +350 -9
- package/lib/commonjs/utils/programmaticFlow.js +117 -9
- package/lib/commonjs/utils/retryHelper.js +220 -1
- package/lib/commonjs/utils/secureStorage.js +349 -10
- package/lib/commonjs/utils/webviewScripts/chatgpt.js +551 -1
- package/lib/commonjs/utils/webviewScripts/claude.js +376 -1
- package/lib/commonjs/utils/webviewScripts/hinge.js +411 -1
- package/lib/commonjs/utils/webviewScripts/index.js +698 -15
- package/lib/commonjs/utils/webviewScripts/instagram.js +454 -1
- package/lib/commonjs/utils/webviewScripts/linkedin.js +880 -1
- package/lib/commonjs/utils/webviewScripts/netflix.js +382 -1
- package/lib/commonjs/utils/webviewScripts/sephora.js +516 -1
- package/lib/commonjs/utils/webviewScripts/spotify.js +419 -1
- package/lib/commonjs/utils/webviewScripts/telegram.js +678 -1
- package/lib/module/api/index.js +211 -1
- package/lib/module/components/BodyText.js +20 -1
- package/lib/module/components/BrandMark.js +104 -1
- package/lib/module/components/CodeInput.js +109 -1
- package/lib/module/components/EmailInput.js +23 -1
- package/lib/module/components/GoogleButton.js +49 -1
- package/lib/module/components/HeadingGroup.js +36 -1
- package/lib/module/components/LLMDataInputModal.js +656 -7
- package/lib/module/components/ModalHeader.js +92 -1
- package/lib/module/components/ModalSheet.js +39 -1
- package/lib/module/components/Onairos.js +373 -1
- package/lib/module/components/OnairosButton.js +305 -1
- package/lib/module/components/OnairosSignInButton.js +121 -1
- package/lib/module/components/Overlay.js +456 -1
- package/lib/module/components/PersonaImage.js +129 -1
- package/lib/module/components/PersonaLoadingScreen.js +310 -1
- package/lib/module/components/PersonalizationConsentScreen.js +460 -1
- package/lib/module/components/PinCreationScreen.js +396 -1
- package/lib/module/components/PinInput.js +456 -1
- package/lib/module/components/PlatformConnectorsStep.js +1302 -6
- package/lib/module/components/PlatformList.js +129 -1
- package/lib/module/components/PlatformToggle.js +173 -1
- package/lib/module/components/PrimaryButton.js +172 -1
- package/lib/module/components/SignInMatchAnimation.js +189 -1
- package/lib/module/components/SignInStep.js +338 -1
- package/lib/module/components/UniversalOnboarding.js +2770 -1
- package/lib/module/components/VerificationStep.js +168 -1
- package/lib/module/components/WelcomeScreen.js +453 -1
- package/lib/module/components/icons/Basicproficon.js +30 -1
- package/lib/module/components/icons/Basicprofile.js +14 -1
- package/lib/module/components/icons/Checkbox.js +14 -1
- package/lib/module/components/icons/Checkmark.js +20 -1
- package/lib/module/components/icons/Contentanalysis.js +14 -1
- package/lib/module/components/icons/Contenticon.js +32 -1
- package/lib/module/components/icons/EnochE.js +34 -1
- package/lib/module/components/icons/Personalityicon.js +23 -1
- package/lib/module/components/icons/Personalityprofile.js +14 -1
- package/lib/module/components/icons/Personalitytraits.js +14 -1
- package/lib/module/components/icons/Userpreferences.js +14 -1
- package/lib/module/components/icons/index.js +13 -1
- package/lib/module/components/onboarding/OAuthWebView.js +1746 -1
- package/lib/module/components/onboarding/OnboardingHeader.js +66 -1
- package/lib/module/components/onboarding/PinInput.js +274 -1
- package/lib/module/components/onboarding/PlatformConnector.js +240 -1
- package/lib/module/config/PLATFORM_APIS.md +849 -0
- package/lib/module/config/api.js +47 -1
- package/lib/module/constants/index.js +114 -1
- package/lib/module/context/AuthContext.js +335 -1
- package/lib/module/hooks/useConnectedAccounts.js +106 -1
- package/lib/module/hooks/useConnections.js +95 -1
- package/lib/module/hooks/useCredentials.js +171 -6
- package/lib/module/hooks/useUserConnections.js +140 -1
- package/lib/module/index.js +172 -1
- package/lib/module/services/apiClient.js +295 -1
- package/lib/module/services/biometricPinService.js +169 -1
- package/lib/module/services/chatGPTConversationExtractor.js +149 -1
- package/lib/module/services/chatGPTConversationService.js +268 -1
- package/lib/module/services/claudeConversationExtractor.js +97 -1
- package/lib/module/services/claudeConversationService.js +151 -1
- package/lib/module/services/connectedAccountsService.js +293 -1
- package/lib/module/services/googleAuthService.js +241 -1
- package/lib/module/services/hingeDataExtractor.js +99 -1
- package/lib/module/services/hingeDataService.js +143 -1
- package/lib/module/services/imageCompressionService.js +250 -1
- package/lib/module/services/instagramDataExtractor.js +120 -1
- package/lib/module/services/instagramDataService.js +156 -1
- package/lib/module/services/jwtStorageService.js +257 -1
- package/lib/module/services/linkedinDOMExtractor.js +234 -1
- package/lib/module/services/linkedinProfileService.js +210 -1
- package/lib/module/services/linkedinScrapingService.js +219 -1
- package/lib/module/services/llmDataStorage.js +277 -1
- package/lib/module/services/mobileTrainingService.js +173 -1
- package/lib/module/services/netflixDataExtractor.js +114 -1
- package/lib/module/services/netflixDataService.js +191 -1
- package/lib/module/services/pinEncryptionService.js +74 -6
- package/lib/module/services/pinStorageUtils.js +93 -1
- package/lib/module/services/platformAuthService.js +1461 -1
- package/lib/module/services/sephoraDataExtractor.js +134 -1
- package/lib/module/services/sephoraDataService.js +193 -1
- package/lib/module/services/spotifyDataExtractor.js +142 -1
- package/lib/module/services/spotifyDataService.js +234 -1
- package/lib/module/services/storageService.js +383 -1
- package/lib/module/services/telegramDataExtractor.js +109 -1
- package/lib/module/services/telegramDataService.js +493 -1
- package/lib/module/services/trainingApiHelpers.js +67 -1
- package/lib/module/services/userConnectionsService.js +329 -1
- package/lib/module/services/youtubeMigrationService.js +405 -1
- package/lib/module/theme/index.js +245 -1
- package/lib/module/types.js +10 -1
- package/lib/module/utils/Portal.js +90 -1
- package/lib/module/utils/api.js +118 -1
- package/lib/module/utils/assetRegistry.js +200 -34
- package/lib/module/utils/auth.js +100 -1
- package/lib/module/utils/connectorTests.js +600 -27
- package/lib/module/utils/crypto.js +54 -1
- package/lib/module/utils/debugHelper.js +54 -1
- package/lib/module/utils/encryption.js +67 -1
- package/lib/module/utils/eventUtils.js +270 -1
- package/lib/module/utils/haptics.js +59 -8
- package/lib/module/utils/imagePreloader.js +3 -1
- package/lib/module/utils/networkDiagnostics.js +217 -1
- package/lib/module/utils/onairosApi.js +333 -1
- package/lib/module/utils/programmaticFlow.js +111 -1
- package/lib/module/utils/retryHelper.js +211 -1
- package/lib/module/utils/secureStorage.js +330 -6
- package/lib/module/utils/webviewScripts/chatgpt.js +545 -1
- package/lib/module/utils/webviewScripts/claude.js +370 -1
- package/lib/module/utils/webviewScripts/hinge.js +405 -1
- package/lib/module/utils/webviewScripts/index.js +434 -1
- package/lib/module/utils/webviewScripts/instagram.js +448 -1
- package/lib/module/utils/webviewScripts/linkedin.js +874 -1
- package/lib/module/utils/webviewScripts/netflix.js +376 -1
- package/lib/module/utils/webviewScripts/sephora.js +510 -1
- package/lib/module/utils/webviewScripts/spotify.js +413 -1
- package/lib/module/utils/webviewScripts/telegram.js +672 -1
- package/package.json +2 -2
|
@@ -1,15 +1,698 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
Object[_0x22f1(0x0)](exports,'__esModule',{'value':!![]}),exports[_0x22f1(0x1)]=exports[_0x22f1(0x2)]=void 0x0,Object['defineProperty'](exports,_0x22f1(0x3),{'enumerable':!![],'get':function(){return _chatgpt[_0x22f1(0x3)];}}),Object['defineProperty'](exports,_0x22f1(0x4),{'enumerable':!![],'get':function(){return _chatgpt[_0x22f1(0x4)];}}),Object[_0x22f1(0x0)](exports,_0x22f1(0x5),{'enumerable':!![],'get':function(){return _chatgpt[_0x22f1(0x5)];}}),Object[_0x22f1(0x0)](exports,_0x22f1(0x6),{'enumerable':!![],'get':function(){return _chatgpt[_0x22f1(0x6)];}}),Object['defineProperty'](exports,_0x22f1(0x7),{'enumerable':!![],'get':function(){return _chatgpt[_0x22f1(0x7)];}}),Object[_0x22f1(0x0)](exports,'CLAUDE_CONSENT_POPUP_SCRIPT',{'enumerable':!![],'get':function(){return _claude[_0x22f1(0x8)];}}),Object[_0x22f1(0x0)](exports,_0x22f1(0x9),{'enumerable':!![],'get':function(){return _claude[_0x22f1(0x9)];}}),Object[_0x22f1(0x0)](exports,'CLAUDE_EXPORT_SCRIPT',{'enumerable':!![],'get':function(){return _claude[_0x22f1(0xa)];}}),Object[_0x22f1(0x0)](exports,_0x22f1(0xb),{'enumerable':!![],'get':function(){return _claude[_0x22f1(0xb)];}}),Object['defineProperty'](exports,_0x22f1(0xc),{'enumerable':!![],'get':function(){return _hinge['HINGE_CONSENT_POPUP_SCRIPT'];}}),Object[_0x22f1(0x0)](exports,_0x22f1(0xd),{'enumerable':!![],'get':function(){return _hinge[_0x22f1(0xd)];}}),Object[_0x22f1(0x0)](exports,'HINGE_EXPORT_SCRIPT',{'enumerable':!![],'get':function(){return _hinge[_0x22f1(0xe)];}}),Object[_0x22f1(0x0)](exports,_0x22f1(0xf),{'enumerable':!![],'get':function(){return _hinge['HINGE_SUCCESS_SCRIPT'];}}),Object[_0x22f1(0x0)](exports,'INSTAGRAM_CONSENT_POPUP_SCRIPT',{'enumerable':!![],'get':function(){return _instagram[_0x22f1(0x10)];}}),Object[_0x22f1(0x0)](exports,_0x22f1(0x11),{'enumerable':!![],'get':function(){return _instagram[_0x22f1(0x11)];}}),Object['defineProperty'](exports,_0x22f1(0x12),{'enumerable':!![],'get':function(){return _instagram[_0x22f1(0x12)];}}),Object['defineProperty'](exports,_0x22f1(0x13),{'enumerable':!![],'get':function(){return _instagram[_0x22f1(0x13)];}}),Object[_0x22f1(0x0)](exports,_0x22f1(0x14),{'enumerable':!![],'get':function(){return _linkedin[_0x22f1(0x14)];}}),Object['defineProperty'](exports,'LINKEDIN_NAVIGATE_TO_PROFILE_SCRIPT',{'enumerable':!![],'get':function(){return _linkedin[_0x22f1(0x15)];}}),Object[_0x22f1(0x0)](exports,'LINKEDIN_PROFILE_CONSENT_POPUP_SCRIPT',{'enumerable':!![],'get':function(){return _linkedin[_0x22f1(0x16)];}}),Object['defineProperty'](exports,_0x22f1(0x17),{'enumerable':!![],'get':function(){return _linkedin[_0x22f1(0x17)];}}),Object[_0x22f1(0x0)](exports,_0x22f1(0x18),{'enumerable':!![],'get':function(){return _linkedin[_0x22f1(0x18)];}}),Object['defineProperty'](exports,_0x22f1(0x19),{'enumerable':!![],'get':function(){return _linkedin[_0x22f1(0x19)];}}),Object[_0x22f1(0x0)](exports,_0x22f1(0x1a),{'enumerable':!![],'get':function(){return _linkedin[_0x22f1(0x1a)];}}),exports['LLM_PLATFORM_URLS']=void 0x0,Object[_0x22f1(0x0)](exports,_0x22f1(0x1b),{'enumerable':!![],'get':function(){return _netflix[_0x22f1(0x1b)];}}),Object[_0x22f1(0x0)](exports,_0x22f1(0x1c),{'enumerable':!![],'get':function(){return _netflix[_0x22f1(0x1c)];}}),Object[_0x22f1(0x0)](exports,_0x22f1(0x1d),{'enumerable':!![],'get':function(){return _netflix[_0x22f1(0x1d)];}}),Object[_0x22f1(0x0)](exports,_0x22f1(0x1e),{'enumerable':!![],'get':function(){return _netflix[_0x22f1(0x1e)];}}),Object[_0x22f1(0x0)](exports,_0x22f1(0x1f),{'enumerable':!![],'get':function(){return _sephora[_0x22f1(0x1f)];}}),Object[_0x22f1(0x0)](exports,_0x22f1(0x20),{'enumerable':!![],'get':function(){return _sephora[_0x22f1(0x20)];}}),Object[_0x22f1(0x0)](exports,_0x22f1(0x21),{'enumerable':!![],'get':function(){return _sephora[_0x22f1(0x21)];}}),Object['defineProperty'](exports,_0x22f1(0x22),{'enumerable':!![],'get':function(){return _sephora[_0x22f1(0x22)];}}),Object[_0x22f1(0x0)](exports,_0x22f1(0x23),{'enumerable':!![],'get':function(){return _spotify[_0x22f1(0x23)];}}),Object[_0x22f1(0x0)](exports,_0x22f1(0x24),{'enumerable':!![],'get':function(){return _spotify['SPOTIFY_ERROR_SCRIPT'];}}),Object['defineProperty'](exports,_0x22f1(0x25),{'enumerable':!![],'get':function(){return _spotify[_0x22f1(0x25)];}}),Object[_0x22f1(0x0)](exports,_0x22f1(0x26),{'enumerable':!![],'get':function(){return _spotify[_0x22f1(0x26)];}}),Object['defineProperty'](exports,_0x22f1(0x27),{'enumerable':!![],'get':function(){return _telegram[_0x22f1(0x27)];}}),Object[_0x22f1(0x0)](exports,_0x22f1(0x28),{'enumerable':!![],'get':function(){return _telegram[_0x22f1(0x28)];}}),Object[_0x22f1(0x0)](exports,_0x22f1(0x29),{'enumerable':!![],'get':function(){return _telegram[_0x22f1(0x29)];}}),Object[_0x22f1(0x0)](exports,_0x22f1(0x2a),{'enumerable':!![],'get':function(){return _telegram[_0x22f1(0x2a)];}}),exports['isWebViewExtractionPlatform']=exports[_0x22f1(0x2b)]=exports['isSpotifyPlatform']=exports['isSephoraPlatform']=exports[_0x22f1(0x2c)]=exports[_0x22f1(0x2d)]=exports[_0x22f1(0x2e)]=exports[_0x22f1(0x2f)]=exports[_0x22f1(0x30)]=exports[_0x22f1(0x31)]=exports[_0x22f1(0x32)]=exports[_0x22f1(0x33)]=exports[_0x22f1(0x34)]=exports['getPlatformUserAgent']=exports[_0x22f1(0x35)]=exports[_0x22f1(0x36)]=exports[_0x22f1(0x37)]=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);function _0x5992(){const _0x3b135d=['defineProperty','APP_PLATFORM_URLS','ANTI_DETECTION_SCRIPT','CHATGPT_CONSENT_POPUP_SCRIPT','CHATGPT_ERROR_SCRIPT','CHATGPT_EXPORT_SCRIPT','CHATGPT_FETCH_MEMORIES_SCRIPT','CHATGPT_SUCCESS_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','NETFLIX_CONSENT_POPUP_SCRIPT','NETFLIX_ERROR_SCRIPT','NETFLIX_EXPORT_SCRIPT','NETFLIX_SUCCESS_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','isTelegramPlatform','isNetflixPlatform','isLoggedInUrl','isLinkedInProfilePage','isLinkedInPlatform','isLinkedInOAuthCallback','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','anthropic','hinge','instagram','sephora','telegram','toLowerCase','rKSmo','pfwpC','\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','SpoXE','qchZi','\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','claude','ZdUst','zvKEb','hVIKC','\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','\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','aUqFY','\x0a(function()\x20{\x0a\x20\x20//\x20Telegram\x20Web\x20anti-detection\x0a\x20\x20console.log(\x27🛡️\x20[TELEGRAM]\x20Anti-detection\x20enhanced\x27);\x0a})();\x0atrue;\x0a','OoSER','\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','LLM_PLATFORM_URLS','https://chat.openai.com','https://claude.ai/login','https://gemini.google.com','https://hinge.co','https://www.instagram.com','https://www.sephora.com','https://web.telegram.org/k/','https://open.spotify.com','openai','MTVZk','tsiDg','JBQkj','SKINo','gemini','bOfQF','includes','netflix','ZlykS','BaSiy','kMxfN','RtuwP','HOTor','isWebViewExtractionPlatform','UGzRr','dtaJM','imOcw','kyJuW','yVoBb','YHqCC','isSephoraPlatform','goSHN','Bgckz','spotify','isSpotifyPlatform','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','gmail','twitter','grok','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','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','oUgqI','bIrbC','GIkrh','WQRkw','google','CWUXi','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','nOcsk','zqSSa','YoUhV','rLWxI','gAUYw','GhlQn','getPlatformUserAgent','chat.openai.com','/login','/c/','/auth','gemini.google.com','/signin','x.com/i/grok','hinge.co','/accounts/login','/explore/','sephora.com','/account','/k/','netflix.com','/title','/collection','/artist','aBaGz','GSzbb','https://chat.openai.com/','brNQL','McPEv','https://claude.ai/','DGKKx','XsaXT','xhcQj','XLVvW','DPxGF','Rmant','tQtHV','instagram.com','ejgFt','/accounts/signup','WeNCB','LUeNX','SFeGU','IbQfX','oANMI','/cart','Xcwbd','web.telegram.org','endsWith','/a/','hBUse','TwCow','XZMJc','WyIDX','bCBJP','jEqcI','/latest','RjwoH','yGaZA','teaev','wmToW','EolaA','PYPjS','https://open.spotify.com/','edOzu','linkedin.com/in/','linkedin.com/me','sOuUY','/checkpoint','/challenge','OgYTc','/uas/login','owUik','/authwall','onairos.uk','callback','ZAuuE'];_0x5992=function(){return _0x3b135d;};return _0x5992();}const ANTI_DETECTION_SCRIPT=exports[_0x22f1(0x2)]=_0x22f1(0x38),getAntiDetectionScript=_0x164c7b=>{const _0x292b3f={'ZopNu':_0x22f1(0x39),'rKSmo':function(_0x8c5d,_0x41ce55){return _0x8c5d+_0x41ce55;},'pfwpC':function(_0x411f6a,_0xa56018){return _0x411f6a+_0xa56018;},'SpoXE':_0x22f1(0x3a),'BQmQL':'openai','qchZi':function(_0xb3e768,_0x4cc9fa){return _0xb3e768+_0x4cc9fa;},'xHSXN':_0x22f1(0x3b),'ZdUst':_0x22f1(0x3c),'zvKEb':function(_0x3f5db7,_0x4b3eea){return _0x3f5db7+_0x4b3eea;},'hVIKC':_0x22f1(0x3d),'IUZug':_0x22f1(0x3e),'aUqFY':_0x22f1(0x3f),'OoSER':'spotify','kYiCF':function(_0x1fcb8c,_0x15fdbb){return _0x1fcb8c+_0x15fdbb;}},_0xb0eb24=ANTI_DETECTION_SCRIPT;switch(_0x164c7b[_0x22f1(0x40)]()){case _0x292b3f['ZopNu']:return _0x292b3f[_0x22f1(0x41)](_0x292b3f[_0x22f1(0x42)](_0xb0eb24,_0x22f1(0x43)),_linkedin['LINKEDIN_APP_BLOCKER_SCRIPT']);case _0x292b3f[_0x22f1(0x44)]:case _0x292b3f['BQmQL']:return _0x292b3f[_0x22f1(0x45)](_0xb0eb24,_0x22f1(0x46));case _0x22f1(0x47):case _0x292b3f['xHSXN']:return _0x292b3f[_0x22f1(0x42)](_0xb0eb24,'\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');case _0x292b3f[_0x22f1(0x48)]:return _0x292b3f[_0x22f1(0x49)](_0xb0eb24,'\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 _0x292b3f[_0x22f1(0x4a)]:return _0x292b3f[_0x22f1(0x45)](_0xb0eb24,_0x22f1(0x4b));case _0x292b3f['IUZug']:return _0xb0eb24+_0x22f1(0x4c);case _0x292b3f[_0x22f1(0x4d)]:return _0x292b3f[_0x22f1(0x49)](_0xb0eb24,_0x22f1(0x4e));case'netflix':return _0xb0eb24+'\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';case _0x292b3f[_0x22f1(0x4f)]:return _0x292b3f['kYiCF'](_0xb0eb24,_0x22f1(0x50));default:return _0xb0eb24;}};exports[_0x22f1(0x37)]=getAntiDetectionScript;const LLM_PLATFORM_URLS=exports[_0x22f1(0x51)]={'chatgpt':_0x22f1(0x52),'openai':_0x22f1(0x52),'claude':_0x22f1(0x53),'anthropic':_0x22f1(0x53),'gemini':_0x22f1(0x54),'grok':'https://x.com/i/grok'},APP_PLATFORM_URLS=exports[_0x22f1(0x1)]={'hinge':_0x22f1(0x55),'instagram':_0x22f1(0x56),'sephora':_0x22f1(0x57),'telegram':_0x22f1(0x58),'netflix':'https://www.netflix.com','spotify':_0x22f1(0x59)},getLLMPlatformUrl=_0x53428e=>{const _0x7ede21=_0x53428e[_0x22f1(0x40)]();return LLM_PLATFORM_URLS[_0x7ede21]||null;};exports['getLLMPlatformUrl']=getLLMPlatformUrl;const isLLMPlatform=_0x319adc=>{const _0x41cd40={'MTVZk':_0x22f1(0x3a),'tsiDg':_0x22f1(0x5a),'JBQkj':_0x22f1(0x47),'SKINo':_0x22f1(0x3b),'bOfQF':'grok'},_0x4ecd13=[_0x41cd40[_0x22f1(0x5b)],_0x41cd40[_0x22f1(0x5c)],_0x41cd40[_0x22f1(0x5d)],_0x41cd40[_0x22f1(0x5e)],_0x22f1(0x5f),_0x41cd40[_0x22f1(0x60)]];return _0x4ecd13[_0x22f1(0x61)](_0x319adc['toLowerCase']());};exports['isLLMPlatform']=isLLMPlatform;const isWebViewExtractionPlatform=_0x4d9829=>{const _0x105730={'ZlykS':_0x22f1(0x3c),'BaSiy':'instagram','lvngn':_0x22f1(0x3e),'kMxfN':'telegram','RtuwP':_0x22f1(0x62),'HOTor':'spotify'},_0x432b09=[_0x105730[_0x22f1(0x63)],_0x105730[_0x22f1(0x64)],_0x105730['lvngn'],_0x105730[_0x22f1(0x65)],_0x105730[_0x22f1(0x66)],_0x105730[_0x22f1(0x67)]];return _0x432b09['includes'](_0x4d9829[_0x22f1(0x40)]());};exports[_0x22f1(0x68)]=isWebViewExtractionPlatform;const isTelegramPlatform=_0x369fec=>{const _0x2e67a0={'BRIwo':function(_0x5560ce,_0x11614e){return _0x5560ce===_0x11614e;},'UGzRr':_0x22f1(0x3f)};return _0x2e67a0['BRIwo'](_0x369fec[_0x22f1(0x40)](),_0x2e67a0[_0x22f1(0x69)]);};exports[_0x22f1(0x2b)]=isTelegramPlatform;const isHingePlatform=_0x20b956=>{const _0x421e47={'dtaJM':function(_0x2aa862,_0x108459){return _0x2aa862===_0x108459;},'imOcw':_0x22f1(0x3c)};return _0x421e47[_0x22f1(0x6a)](_0x20b956[_0x22f1(0x40)](),_0x421e47[_0x22f1(0x6b)]);};exports[_0x22f1(0x34)]=isHingePlatform;const isInstagramPlatform=_0x36c8e6=>{const _0x56824e={'kyJuW':function(_0x1b2dc1,_0x429634){return _0x1b2dc1===_0x429634;},'sjfMZ':_0x22f1(0x3d)};return _0x56824e[_0x22f1(0x6c)](_0x36c8e6['toLowerCase'](),_0x56824e['sjfMZ']);};exports[_0x22f1(0x33)]=isInstagramPlatform;const isSephoraPlatform=_0x240f00=>{const _0x177311={'yVoBb':function(_0x416bf5,_0x10e1d5){return _0x416bf5===_0x10e1d5;},'YHqCC':_0x22f1(0x3e)};return _0x177311[_0x22f1(0x6d)](_0x240f00['toLowerCase'](),_0x177311[_0x22f1(0x6e)]);};exports[_0x22f1(0x6f)]=isSephoraPlatform;const isNetflixPlatform=_0x4bbf69=>{const _0x240056={'edcDP':function(_0x2196ca,_0x231f69){return _0x2196ca===_0x231f69;},'goSHN':_0x22f1(0x62)};return _0x240056['edcDP'](_0x4bbf69[_0x22f1(0x40)](),_0x240056[_0x22f1(0x70)]);};exports[_0x22f1(0x2c)]=isNetflixPlatform;const isSpotifyPlatform=_0x3b9161=>{const _0x1d4c21={'Bgckz':function(_0x15dc1c,_0x275893){return _0x15dc1c===_0x275893;}};return _0x1d4c21[_0x22f1(0x71)](_0x3b9161[_0x22f1(0x40)](),_0x22f1(0x72));};exports[_0x22f1(0x73)]=isSpotifyPlatform;function _0x22f1(_0x5992fd,_0x22f1ee){_0x5992fd=_0x5992fd-0x0;const _0x428810=_0x5992();let _0x4c56e0=_0x428810[_0x5992fd];return _0x4c56e0;}const getAppPlatformUrl=_0x1723db=>{const _0x46b293=_0x1723db['toLowerCase']();return APP_PLATFORM_URLS[_0x46b293]||null;};exports[_0x22f1(0x36)]=getAppPlatformUrl;const getPlatformUserAgent=_0x53f17e=>{const _0x4ea9a2={'oUgqI':_0x22f1(0x74),'bIrbC':'chatgpt','ouIXf':_0x22f1(0x5a),'GIkrh':'anthropic','zqSSa':_0x22f1(0x75),'WQRkw':_0x22f1(0x76),'CWUXi':'gemini','pnrlN':_0x22f1(0x77),'hWWjl':_0x22f1(0x78),'nOcsk':_0x22f1(0x79),'NjqFy':_0x22f1(0x3c),'YoUhV':_0x22f1(0x3d),'wqOzm':_0x22f1(0x3e),'rLWxI':_0x22f1(0x3f),'gAUYw':_0x22f1(0x7a),'GhlQn':_0x22f1(0x62)},_0x55be86=_0x4ea9a2[_0x22f1(0x7b)];switch(_0x53f17e['toLowerCase']()){case _0x22f1(0x39):return _0x22f1(0x75);case _0x4ea9a2[_0x22f1(0x7c)]:case _0x4ea9a2['ouIXf']:return _0x22f1(0x75);case _0x22f1(0x47):case _0x4ea9a2[_0x22f1(0x7d)]:return _0x4ea9a2['zqSSa'];case _0x4ea9a2[_0x22f1(0x7e)]:case _0x22f1(0x7f):case _0x4ea9a2[_0x22f1(0x80)]:return _0x22f1(0x81);case'x':case _0x4ea9a2['pnrlN']:case _0x4ea9a2['hWWjl']:return _0x4ea9a2[_0x22f1(0x82)];case _0x4ea9a2['NjqFy']:return _0x4ea9a2[_0x22f1(0x83)];case _0x4ea9a2[_0x22f1(0x84)]:return _0x4ea9a2[_0x22f1(0x83)];case _0x4ea9a2['wqOzm']:return _0x22f1(0x75);case _0x4ea9a2[_0x22f1(0x85)]:return _0x4ea9a2[_0x22f1(0x86)];case _0x4ea9a2[_0x22f1(0x87)]:return _0x4ea9a2[_0x22f1(0x83)];case'spotify':return _0x22f1(0x75);default:return _0x55be86;}};exports[_0x22f1(0x88)]=getPlatformUserAgent;const isLoggedInUrl=(_0x3cacb4,_0x1551a3)=>{const _0x5bd18f={'aBaGz':_0x22f1(0x89),'DPxGF':_0x22f1(0x8a),'GSzbb':function(_0x382e6f,_0x240e54){return _0x382e6f===_0x240e54;},'brNQL':'/chat','INTxP':_0x22f1(0x8b),'pIuXU':_0x22f1(0x3b),'McPEv':_0x22f1(0x8c),'qjagM':'gemini','DGKKx':_0x22f1(0x8d),'XsaXT':_0x22f1(0x8e),'xhcQj':_0x22f1(0x78),'XLVvW':_0x22f1(0x8f),'Rmant':_0x22f1(0x3c),'tQtHV':_0x22f1(0x90),'zkbOL':_0x22f1(0x3d),'ejgFt':_0x22f1(0x91),'WeNCB':_0x22f1(0x92),'LUeNX':_0x22f1(0x3e),'SFeGU':_0x22f1(0x93),'IbQfX':'/profile','oANMI':_0x22f1(0x94),'Xcwbd':_0x22f1(0x3f),'dGkpl':_0x22f1(0x95),'hBUse':'/z/','TwCow':_0x22f1(0x62),'XZMJc':_0x22f1(0x96),'WyIDX':'/browse','fYjId':'/watch','bCBJP':_0x22f1(0x97),'jEqcI':'/my-list','RjwoH':_0x22f1(0x72),'yGaZA':'open.spotify.com','teaev':'/authorize','xzigR':_0x22f1(0x98),'wmToW':'/playlist','EolaA':_0x22f1(0x99),'PYPjS':function(_0xf6bf37,_0x36d294){return _0xf6bf37===_0x36d294;}},_0x46619d=_0x1551a3['toLowerCase'](),_0x545d26=_0x3cacb4[_0x22f1(0x40)]();switch(_0x46619d){case _0x22f1(0x3a):case _0x22f1(0x5a):return _0x545d26[_0x22f1(0x61)](_0x5bd18f[_0x22f1(0x9a)])&&!_0x545d26[_0x22f1(0x61)](_0x22f1(0x8c))&&!_0x545d26[_0x22f1(0x61)](_0x5bd18f['DPxGF'])&&(_0x5bd18f[_0x22f1(0x9b)](_0x545d26,_0x22f1(0x9c))||_0x545d26[_0x22f1(0x61)](_0x5bd18f[_0x22f1(0x9d)])||_0x545d26[_0x22f1(0x61)](_0x5bd18f['INTxP']));case _0x22f1(0x47):case _0x5bd18f['pIuXU']:return _0x545d26['includes']('claude.ai')&&!_0x545d26['includes']('/login')&&!_0x545d26[_0x22f1(0x61)](_0x5bd18f[_0x22f1(0x9e)])&&(_0x5bd18f['GSzbb'](_0x545d26,_0x22f1(0x9f))||_0x545d26[_0x22f1(0x61)](_0x5bd18f['brNQL'])||_0x545d26[_0x22f1(0x61)]('/new'));case _0x5bd18f['qjagM']:return _0x545d26[_0x22f1(0x61)](_0x5bd18f[_0x22f1(0xa0)])&&!_0x545d26[_0x22f1(0x61)](_0x5bd18f[_0x22f1(0x9e)])&&!_0x545d26[_0x22f1(0x61)](_0x5bd18f[_0x22f1(0xa1)]);case _0x5bd18f[_0x22f1(0xa2)]:return _0x545d26[_0x22f1(0x61)](_0x5bd18f[_0x22f1(0xa3)])&&!_0x545d26[_0x22f1(0x61)](_0x5bd18f[_0x22f1(0xa4)]);case _0x5bd18f[_0x22f1(0xa5)]:return _0x545d26['includes'](_0x5bd18f[_0x22f1(0xa6)])&&!_0x545d26[_0x22f1(0x61)](_0x5bd18f[_0x22f1(0xa4)])&&!_0x545d26[_0x22f1(0x61)](_0x22f1(0x8c))&&!_0x545d26['includes']('/signup');case _0x5bd18f['zkbOL']:return _0x545d26[_0x22f1(0x61)](_0x22f1(0xa7))&&!_0x545d26['includes'](_0x5bd18f[_0x22f1(0xa8)])&&!_0x545d26[_0x22f1(0x61)](_0x22f1(0xa9))&&(_0x545d26==='https://www.instagram.com/'||_0x545d26[_0x22f1(0x61)]('/direct/')||_0x545d26[_0x22f1(0x61)](_0x5bd18f[_0x22f1(0xaa)]));case _0x5bd18f[_0x22f1(0xab)]:return _0x545d26[_0x22f1(0x61)](_0x5bd18f[_0x22f1(0xac)])&&!_0x545d26[_0x22f1(0x61)](_0x5bd18f[_0x22f1(0xa4)])&&!_0x545d26[_0x22f1(0x61)](_0x5bd18f[_0x22f1(0xa1)])&&(_0x545d26['includes'](_0x5bd18f[_0x22f1(0xad)])||_0x545d26['includes'](_0x5bd18f[_0x22f1(0xae)])||_0x545d26[_0x22f1(0x61)](_0x22f1(0xaf)));case _0x5bd18f[_0x22f1(0xb0)]:return _0x545d26[_0x22f1(0x61)](_0x22f1(0xb1))&&!_0x545d26[_0x22f1(0x61)](_0x22f1(0x8c))&&(_0x545d26['includes']('#')||_0x545d26[_0x22f1(0xb2)](_0x5bd18f['dGkpl'])||_0x545d26['endsWith'](_0x22f1(0xb3))||_0x545d26['endsWith'](_0x5bd18f[_0x22f1(0xb4)]));case _0x5bd18f[_0x22f1(0xb5)]:return _0x545d26[_0x22f1(0x61)](_0x5bd18f[_0x22f1(0xb6)])&&!_0x545d26['includes'](_0x5bd18f['DPxGF'])&&!_0x545d26[_0x22f1(0x61)](_0x5bd18f['XsaXT'])&&(_0x545d26[_0x22f1(0x61)](_0x5bd18f[_0x22f1(0xb7)])||_0x545d26['includes'](_0x5bd18f['fYjId'])||_0x545d26[_0x22f1(0x61)](_0x5bd18f[_0x22f1(0xb8)])||_0x545d26[_0x22f1(0x61)](_0x5bd18f[_0x22f1(0xb9)])||_0x545d26['includes'](_0x22f1(0xba)));case _0x5bd18f[_0x22f1(0xbb)]:return _0x545d26[_0x22f1(0x61)](_0x5bd18f[_0x22f1(0xbc)])&&!_0x545d26[_0x22f1(0x61)](_0x22f1(0x8a))&&!_0x545d26[_0x22f1(0x61)](_0x5bd18f[_0x22f1(0xbd)])&&(_0x545d26[_0x22f1(0x61)](_0x5bd18f['xzigR'])||_0x545d26[_0x22f1(0x61)](_0x5bd18f[_0x22f1(0xbe)])||_0x545d26[_0x22f1(0x61)]('/track')||_0x545d26[_0x22f1(0x61)]('/album')||_0x545d26[_0x22f1(0x61)](_0x5bd18f[_0x22f1(0xbf)])||_0x545d26[_0x22f1(0x61)]('/search')||_0x5bd18f[_0x22f1(0xc0)](_0x545d26,_0x22f1(0xc1)));default:return![];}};exports[_0x22f1(0x2d)]=isLoggedInUrl;const isLinkedInPlatform=_0x17a3e9=>{const _0x17fac4={'EpIzE':function(_0x3c00b9,_0x51794c){return _0x3c00b9===_0x51794c;},'edOzu':'linkedin'};return _0x17fac4['EpIzE'](_0x17a3e9[_0x22f1(0x40)](),_0x17fac4[_0x22f1(0xc2)]);};exports[_0x22f1(0x2f)]=isLinkedInPlatform;const isLinkedInProfilePage=_0x306eea=>{const _0xd6f703={'sOuUY':_0x22f1(0xc3),'MAMGL':_0x22f1(0xc4)},_0xd10f2=_0x306eea[_0x22f1(0x40)]();return _0xd10f2[_0x22f1(0x61)](_0xd6f703[_0x22f1(0xc5)])||_0xd10f2[_0x22f1(0x61)](_0xd6f703['MAMGL']);};exports[_0x22f1(0x2e)]=isLinkedInProfilePage;const isLinkedInLoginPage=_0xe48c4a=>{const _0x3f0b7d={'rHjJN':_0x22f1(0x8a),'OgYTc':_0x22f1(0xc6),'owUik':_0x22f1(0xc7),'OgHUr':'/uas/challenge'},_0x2d0e93=_0xe48c4a['toLowerCase']();return _0x2d0e93['includes'](_0x3f0b7d['rHjJN'])||_0x2d0e93['includes'](_0x3f0b7d[_0x22f1(0xc8)])||_0x2d0e93['includes'](_0x22f1(0xc9))||_0x2d0e93[_0x22f1(0x61)](_0x3f0b7d[_0x22f1(0xca)])||_0x2d0e93[_0x22f1(0x61)](_0x3f0b7d['OgHUr'])||_0x2d0e93[_0x22f1(0x61)](_0x22f1(0xcb));};exports['isLinkedInLoginPage']=isLinkedInLoginPage;const isLinkedInOAuthCallback=_0x17e461=>{const _0x1d3a4e={'ukqDH':_0x22f1(0xcc),'ZAuuE':_0x22f1(0xcd)},_0x9fe5f3=_0x17e461[_0x22f1(0x40)]();return _0x9fe5f3['includes'](_0x1d3a4e['ukqDH'])&&_0x9fe5f3[_0x22f1(0x61)](_0x1d3a4e[_0x22f1(0xce)]);};exports[_0x22f1(0x30)]=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
|