react-native-inapp-inspector 2.4.2 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) hide show
  1. package/android/.gradle/8.9/checksums/checksums.lock +0 -0
  2. package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
  3. package/android/.gradle/8.9/executionHistory/executionHistory.lock +0 -0
  4. package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
  5. package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
  6. package/android/.gradle/8.9/gc.properties +0 -0
  7. package/android/.gradle/9.2.0/checksums/checksums.lock +0 -0
  8. package/android/.gradle/9.2.0/fileChanges/last-build.bin +0 -0
  9. package/android/.gradle/9.2.0/fileHashes/fileHashes.bin +0 -0
  10. package/android/.gradle/9.2.0/fileHashes/fileHashes.lock +0 -0
  11. package/android/.gradle/9.2.0/gc.properties +0 -0
  12. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  13. package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
  14. package/android/.gradle/vcs-1/gc.properties +0 -0
  15. package/android/.settings/org.eclipse.buildship.core.prefs +13 -0
  16. package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +523 -2
  17. package/dist/commonjs/capture.d.ts +2 -0
  18. package/dist/commonjs/capture.js +1 -1
  19. package/dist/commonjs/components/AnalyticsDetail.js +23 -23
  20. package/dist/commonjs/components/AnalyticsEventCard.js +1 -1
  21. package/dist/commonjs/components/AnalyticsGraph.js +44 -44
  22. package/dist/commonjs/components/AnimatedBrandOwl.js +32 -32
  23. package/dist/commonjs/components/AppHeaderLogo.js +6 -6
  24. package/dist/commonjs/components/BrandCircleIcon.js +28 -28
  25. package/dist/commonjs/components/BrandSquareIcon.js +33 -33
  26. package/dist/commonjs/components/ConsoleLogCard.js +1 -1
  27. package/dist/commonjs/components/Inspector/AnalyticsTab.js +2 -2
  28. package/dist/commonjs/components/Inspector/ConfirmationModal.js +23 -25
  29. package/dist/commonjs/components/Inspector/ConsoleTab.js +5 -5
  30. package/dist/commonjs/components/Inspector/CrashTab.js +44 -11
  31. package/dist/commonjs/components/Inspector/DeviceInfoTab.js +1 -1
  32. package/dist/commonjs/components/Inspector/FabLauncher.js +30 -25
  33. package/dist/commonjs/components/Inspector/FloatingCaptureWidget.d.ts +3 -0
  34. package/dist/commonjs/components/Inspector/FloatingCaptureWidget.js +54 -0
  35. package/dist/commonjs/components/Inspector/GlobalCrashScreenModal.d.ts +11 -0
  36. package/dist/commonjs/components/Inspector/GlobalCrashScreenModal.js +234 -0
  37. package/dist/commonjs/components/Inspector/InspectorHeader.js +137 -127
  38. package/dist/commonjs/components/Inspector/LanguageSelectorModal.d.ts +1 -1
  39. package/dist/commonjs/components/Inspector/LanguageSelectorModal.js +114 -32
  40. package/dist/commonjs/components/Inspector/MainScreen.js +26 -19
  41. package/dist/commonjs/components/Inspector/MediaGalleryTab.js +38 -35
  42. package/dist/commonjs/components/Inspector/MediaPreviewModal.d.ts +36 -0
  43. package/dist/commonjs/components/Inspector/MediaPreviewModal.js +345 -123
  44. package/dist/commonjs/components/Inspector/NetworkTab.js +14 -14
  45. package/dist/commonjs/components/Inspector/PushCard.js +1 -1
  46. package/dist/commonjs/components/Inspector/PushDetail.js +9 -9
  47. package/dist/commonjs/components/Inspector/PushTab.js +3 -3
  48. package/dist/commonjs/components/Inspector/ReduxTab.js +9 -7
  49. package/dist/commonjs/components/Inspector/SecondaryTelemetryStrip.d.ts +2 -0
  50. package/dist/commonjs/components/Inspector/SecondaryTelemetryStrip.js +43 -0
  51. package/dist/commonjs/components/Inspector/SettingsPanel.js +102 -73
  52. package/dist/commonjs/components/Inspector/SocketCard.js +1 -1
  53. package/dist/commonjs/components/Inspector/SocketDetail.js +73 -63
  54. package/dist/commonjs/components/Inspector/SocketTab.js +4 -4
  55. package/dist/commonjs/components/Inspector/StorageTab.js +10 -10
  56. package/dist/commonjs/components/Inspector/SupportModal.js +2 -2
  57. package/dist/commonjs/components/Inspector/SupportPage.js +1 -1
  58. package/dist/commonjs/components/JsonViewer.js +47 -45
  59. package/dist/commonjs/components/LogCard.js +22 -20
  60. package/dist/commonjs/components/ModuleErrorBoundary.js +5 -5
  61. package/dist/commonjs/components/NetworkIcons.d.ts +27 -0
  62. package/dist/commonjs/components/NetworkIcons.js +103 -5
  63. package/dist/commonjs/constants/telemetryConfig.d.ts +3 -3
  64. package/dist/commonjs/constants/telemetryConfig.js +1 -1
  65. package/dist/commonjs/constants/version.d.ts +1 -1
  66. package/dist/commonjs/constants/version.js +1 -1
  67. package/dist/commonjs/crash.d.ts +1 -1
  68. package/dist/commonjs/crash.js +1 -1
  69. package/dist/commonjs/customHooks/crashHandler.d.ts +2 -1
  70. package/dist/commonjs/customHooks/crashHandler.js +7 -7
  71. package/dist/commonjs/editor.d.ts +13 -0
  72. package/dist/commonjs/editor.js +1 -0
  73. package/dist/commonjs/helpers/index.d.ts +1 -0
  74. package/dist/commonjs/helpers/index.js +1 -1
  75. package/dist/commonjs/helpers/settingsStore.js +1 -1
  76. package/dist/commonjs/helpers/telemetry.js +1 -1
  77. package/dist/commonjs/i18n/index.js +1 -1
  78. package/dist/commonjs/i18n/locales/ar.json +1 -1
  79. package/dist/commonjs/i18n/locales/bn.json +1 -1
  80. package/dist/commonjs/i18n/locales/de.json +1 -1
  81. package/dist/commonjs/i18n/locales/en.json +1 -1
  82. package/dist/commonjs/i18n/locales/es.json +1 -1
  83. package/dist/commonjs/i18n/locales/fr.json +1 -1
  84. package/dist/commonjs/i18n/locales/gu.json +1 -1
  85. package/dist/commonjs/i18n/locales/hi.json +1 -1
  86. package/dist/commonjs/i18n/locales/id.json +1 -1
  87. package/dist/commonjs/i18n/locales/it.json +1 -1
  88. package/dist/commonjs/i18n/locales/ja.json +1 -1
  89. package/dist/commonjs/i18n/locales/kn.json +1 -1
  90. package/dist/commonjs/i18n/locales/ko.json +1 -1
  91. package/dist/commonjs/i18n/locales/ml.json +1 -1
  92. package/dist/commonjs/i18n/locales/mr.json +1 -1
  93. package/dist/commonjs/i18n/locales/nl.json +1 -1
  94. package/dist/commonjs/i18n/locales/pa.json +1 -1
  95. package/dist/commonjs/i18n/locales/pl.json +1 -1
  96. package/dist/commonjs/i18n/locales/pt.json +1 -1
  97. package/dist/commonjs/i18n/locales/ru.json +1 -1
  98. package/dist/commonjs/i18n/locales/ta.json +1 -1
  99. package/dist/commonjs/i18n/locales/te.json +1 -1
  100. package/dist/commonjs/i18n/locales/tr.json +1 -1
  101. package/dist/commonjs/i18n/locales/vi.json +1 -1
  102. package/dist/commonjs/i18n/locales/zh.json +1 -1
  103. package/dist/commonjs/index.d.ts +4 -1
  104. package/dist/commonjs/index.js +3 -3
  105. package/dist/commonjs/native/NativeInspector.d.ts +3 -0
  106. package/dist/commonjs/native/NativeInspector.js +1 -1
  107. package/dist/commonjs/native/NativeNetworkInspector.d.ts +4 -0
  108. package/dist/commonjs/styles/AppColors.d.ts +42 -2
  109. package/dist/commonjs/styles/AppColors.js +1 -1
  110. package/dist/commonjs/styles/common.js +1 -1
  111. package/dist/commonjs/styles/index.d.ts +7 -0
  112. package/dist/commonjs/styles/index.js +1 -1
  113. package/dist/commonjs/types/editor.d.ts +96 -0
  114. package/dist/commonjs/types/editor.js +1 -0
  115. package/dist/commonjs/types/interfaces.d.ts +21 -0
  116. package/dist/esm/capture.d.ts +2 -0
  117. package/dist/esm/capture.js +1 -1
  118. package/dist/esm/components/AnalyticsDetail.js +31 -31
  119. package/dist/esm/components/AnalyticsEventCard.js +1 -1
  120. package/dist/esm/components/AnalyticsGraph.js +74 -74
  121. package/dist/esm/components/AnimatedBrandOwl.js +114 -114
  122. package/dist/esm/components/AppHeaderLogo.js +7 -7
  123. package/dist/esm/components/BrandCircleIcon.js +70 -70
  124. package/dist/esm/components/BrandSquareIcon.js +61 -61
  125. package/dist/esm/components/ConsoleLogCard.js +1 -1
  126. package/dist/esm/components/Inspector/AnalyticsTab.js +14 -14
  127. package/dist/esm/components/Inspector/ConfirmationModal.js +23 -25
  128. package/dist/esm/components/Inspector/ConsoleTab.js +17 -17
  129. package/dist/esm/components/Inspector/CrashTab.js +202 -169
  130. package/dist/esm/components/Inspector/DeviceInfoTab.js +75 -75
  131. package/dist/esm/components/Inspector/FabLauncher.js +56 -51
  132. package/dist/esm/components/Inspector/FloatingCaptureWidget.d.ts +3 -0
  133. package/dist/esm/components/Inspector/FloatingCaptureWidget.js +54 -0
  134. package/dist/esm/components/Inspector/GlobalCrashScreenModal.d.ts +11 -0
  135. package/dist/esm/components/Inspector/GlobalCrashScreenModal.js +234 -0
  136. package/dist/esm/components/Inspector/InspectorHeader.js +162 -152
  137. package/dist/esm/components/Inspector/LanguageSelectorModal.d.ts +1 -1
  138. package/dist/esm/components/Inspector/LanguageSelectorModal.js +140 -58
  139. package/dist/esm/components/Inspector/MainScreen.js +61 -54
  140. package/dist/esm/components/Inspector/MediaGalleryTab.js +55 -52
  141. package/dist/esm/components/Inspector/MediaPreviewModal.d.ts +36 -0
  142. package/dist/esm/components/Inspector/MediaPreviewModal.js +345 -123
  143. package/dist/esm/components/Inspector/NetworkTab.js +74 -74
  144. package/dist/esm/components/Inspector/PushCard.js +1 -1
  145. package/dist/esm/components/Inspector/PushDetail.js +18 -18
  146. package/dist/esm/components/Inspector/PushTab.js +1 -1
  147. package/dist/esm/components/Inspector/ReduxTab.js +18 -16
  148. package/dist/esm/components/Inspector/SecondaryTelemetryStrip.d.ts +2 -0
  149. package/dist/esm/components/Inspector/SecondaryTelemetryStrip.js +43 -0
  150. package/dist/esm/components/Inspector/SettingsPanel.js +224 -195
  151. package/dist/esm/components/Inspector/SocketCard.js +8 -8
  152. package/dist/esm/components/Inspector/SocketDetail.js +106 -96
  153. package/dist/esm/components/Inspector/SocketTab.js +18 -18
  154. package/dist/esm/components/Inspector/StorageTab.js +47 -47
  155. package/dist/esm/components/Inspector/SupportModal.js +64 -64
  156. package/dist/esm/components/Inspector/SupportPage.js +5 -5
  157. package/dist/esm/components/JsonViewer.js +51 -49
  158. package/dist/esm/components/LogCard.js +41 -39
  159. package/dist/esm/components/ModuleErrorBoundary.js +10 -10
  160. package/dist/esm/components/NetworkIcons.d.ts +27 -0
  161. package/dist/esm/components/NetworkIcons.js +101 -3
  162. package/dist/esm/constants/telemetryConfig.d.ts +3 -3
  163. package/dist/esm/constants/telemetryConfig.js +1 -1
  164. package/dist/esm/constants/version.d.ts +1 -1
  165. package/dist/esm/constants/version.js +1 -1
  166. package/dist/esm/crash.d.ts +1 -1
  167. package/dist/esm/crash.js +1 -1
  168. package/dist/esm/customHooks/crashHandler.d.ts +2 -1
  169. package/dist/esm/customHooks/crashHandler.js +7 -7
  170. package/dist/esm/editor.d.ts +13 -0
  171. package/dist/esm/editor.js +1 -0
  172. package/dist/esm/helpers/index.d.ts +1 -0
  173. package/dist/esm/helpers/index.js +4 -4
  174. package/dist/esm/helpers/settingsStore.js +1 -1
  175. package/dist/esm/helpers/telemetry.js +1 -1
  176. package/dist/esm/i18n/index.js +1 -1
  177. package/dist/esm/i18n/locales/ar.json +1 -1
  178. package/dist/esm/i18n/locales/bn.json +1 -1
  179. package/dist/esm/i18n/locales/de.json +1 -1
  180. package/dist/esm/i18n/locales/en.json +1 -1
  181. package/dist/esm/i18n/locales/es.json +1 -1
  182. package/dist/esm/i18n/locales/fr.json +1 -1
  183. package/dist/esm/i18n/locales/gu.json +1 -1
  184. package/dist/esm/i18n/locales/hi.json +1 -1
  185. package/dist/esm/i18n/locales/id.json +1 -1
  186. package/dist/esm/i18n/locales/it.json +1 -1
  187. package/dist/esm/i18n/locales/ja.json +1 -1
  188. package/dist/esm/i18n/locales/kn.json +1 -1
  189. package/dist/esm/i18n/locales/ko.json +1 -1
  190. package/dist/esm/i18n/locales/ml.json +1 -1
  191. package/dist/esm/i18n/locales/mr.json +1 -1
  192. package/dist/esm/i18n/locales/nl.json +1 -1
  193. package/dist/esm/i18n/locales/pa.json +1 -1
  194. package/dist/esm/i18n/locales/pl.json +1 -1
  195. package/dist/esm/i18n/locales/pt.json +1 -1
  196. package/dist/esm/i18n/locales/ru.json +1 -1
  197. package/dist/esm/i18n/locales/ta.json +1 -1
  198. package/dist/esm/i18n/locales/te.json +1 -1
  199. package/dist/esm/i18n/locales/tr.json +1 -1
  200. package/dist/esm/i18n/locales/vi.json +1 -1
  201. package/dist/esm/i18n/locales/zh.json +1 -1
  202. package/dist/esm/index.d.ts +4 -1
  203. package/dist/esm/index.js +5 -5
  204. package/dist/esm/native/NativeInspector.d.ts +3 -0
  205. package/dist/esm/native/NativeInspector.js +1 -1
  206. package/dist/esm/native/NativeNetworkInspector.d.ts +4 -0
  207. package/dist/esm/styles/AppColors.d.ts +42 -2
  208. package/dist/esm/styles/AppColors.js +1 -1
  209. package/dist/esm/styles/common.js +1 -1
  210. package/dist/esm/styles/index.d.ts +7 -0
  211. package/dist/esm/styles/index.js +1 -1
  212. package/dist/esm/types/editor.d.ts +96 -0
  213. package/dist/esm/types/editor.js +1 -0
  214. package/dist/esm/types/interfaces.d.ts +21 -0
  215. package/editor.d.ts +1 -0
  216. package/editor.js +1 -0
  217. package/ios/NetworkInspectorModule.mm +429 -0
  218. package/package.json +10 -1
  219. package/react-native-inapp-inspector.podspec +1 -1
  220. package/src/native/NativeInspector.ts +57 -4
  221. package/src/native/NativeNetworkInspector.ts +4 -0
@@ -1,4 +1,4 @@
1
- "use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(o,i,A,n){n===void 0&&(n=A);var b=Object.getOwnPropertyDescriptor(i,A);(!b||("get"in b?!i.__esModule:b.writable||b.configurable))&&(b={enumerable:!0,get:function(){return i[A]}}),Object.defineProperty(o,n,b)}):(function(o,i,A,n){n===void 0&&(n=A),o[n]=i[A]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(o,i){Object.defineProperty(o,"default",{enumerable:!0,value:i})}):function(o,i){o.default=i}),__importStar=this&&this.__importStar||(function(){var o=function(i){return o=Object.getOwnPropertyNames||function(A){var n=[];for(var b in A)Object.prototype.hasOwnProperty.call(A,b)&&(n[n.length]=b);return n},o(i)};return function(i){if(i&&i.__esModule)return i;var A={};if(i!=null)for(var n=o(i),b=0;b<n.length;b++)n[b]!=="default"&&__createBinding(A,i,n[b]);return __setModuleDefault(A,i),A}})(),__importDefault=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(exports,"__esModule",{value:!0});const react_1=__importStar(require("react")),react_native_1=require("react-native"),react_native_svg_1=__importStar(require("react-native-svg")),InspectorContext_1=require("./InspectorContext"),TouchableScale_1=__importDefault(require("../TouchableScale")),Slider_1=__importDefault(require("../Slider")),styles_1=require("../../styles"),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),settingsStore_1=require("../../helpers/settingsStore"),networkLogger_1=require("../../customHooks/networkLogger"),consoleLogger_1=require("../../customHooks/consoleLogger"),analyticsLogger_1=require("../../customHooks/analyticsLogger"),crashHandler_1=require("../../customHooks/crashHandler"),reduxLogger_1=require("../../customHooks/reduxLogger"),i18n_1=require("../../i18n"),LanguageSelectorModal_1=require("./LanguageSelectorModal"),NetworkIcons_1=require("../NetworkIcons"),capture_1=require("../../capture"),NativeInspector_1=require("../../native/NativeInspector"),helpers_1=require("../../helpers"),toast_1=require("../../helpers/toast"),memoryManager_1=require("../../helpers/memoryManager"),SettingsPanel=()=>{const{t:o}=(0,i18n_1.useTranslation)(),{settingsPage:i,setSettingsPage:A,settingsActiveSubTab:n,setSettingsActiveSubTab:b,tabVisibility:t,toggleTabVisibility:he,defaultTab:V,setDefaultTab:Ae,isDark:F,setIsDark:be,modalHeightPercent:B,setModalHeightPercent:fe,modalAnimationType:we,setModalAnimationType:_e,showDuplicateLogs:j,setShowDuplicateLogs:me,showUpdateToast:G,setShowUpdateToast:xe,showConsoleLevels:Te,setShowConsoleLevels:ve,closeModal:Se,logs:U,consoleLogs:q,analyticsEvents:K,reduxState:z,maxConsoleLogs:J,setMaxConsoleLogs:Ve,maxAnalyticsEventsLimit:re,setMaxAnalyticsEventsLimit:ke,isAutoRamLimitEnabled:w,setIsAutoRamLimitEnabled:Fe,deviceFreeRamMb:Q,reduxAutoRefresh:X,setReduxAutoRefreshState:Be,reduxExpandDepth:te,setReduxExpandDepth:ze,setSelected:Re,setSelectedEvent:Ie,setReduxState:He,crashRecords:R,maxCrashLogs:ie,setMaxCrashLogs:Le,pushRecords:I,maxPushLogs:De,setMaxPushLogs:Pe,clearAllPushLogs:$e,simulatePush:H,socketRecords:L,maxSocketLogs:We,setMaxSocketLogs:Oe,clearAllSocketLogs:Me,simulateSocket:D,captureImageFormat:Y,setCaptureImageFormat:ae,captureAutoHide:_,setCaptureAutoHide:P,captureAudioMode:le,setCaptureAudioMode:ne,captureFps:se,setCaptureFps:pe,captureScale:Ue,setCaptureScale:qe,captureBitrate:Ke,setCaptureBitrate:Je,captureMaxDurationSeconds:Qe,setCaptureMaxDurationSeconds:Xe,captureAutoGif:m,setCaptureAutoGif:$}=(0,InspectorContext_1.useInspector)(),[W,ce]=(0,react_1.useState)(B),[Ee,de]=(0,react_1.useState)(!1),Ne=(0,i18n_1.getLanguage)(),Z=i18n_1.SUPPORTED_LANGUAGES.find(e=>e.code===Ne)||i18n_1.SUPPORTED_LANGUAGES[0];(0,react_1.useEffect)(()=>{ce(B)},[B]);const O=(0,settingsStore_1.calculateRamBasedLimits)(Q),f=(0,react_1.useMemo)(()=>[{id:1,key:"apis",label:"APIs (Network)",category:"core",icon:"apis",desc:"HTTP/HTTPS requests, GraphQL, Axios & WebSocket inspector"},{id:2,key:"logs",label:"Console Logs",category:"core",icon:"logs",desc:"Terminal console logs, warnings, errors & stack traces"},{id:3,key:"analytics",label:"Analytics Logger",category:"telemetry",icon:"analytics",desc:"Firebase & custom analytics events, user properties & params"},{id:4,key:"redux",label:"Redux Inspector",category:"telemetry",icon:"redux",desc:"Store state diffing, action history & reducer timeline"},{id:5,key:"storage",label:"Storage Inspector",category:"telemetry",icon:"storage",desc:"AsyncStorage & MMKV key-value store viewer with full CRUD support"},{id:6,key:"device",label:"Device Info",category:"diagnostic",icon:"device",desc:"Hardware specs, IP address, screen metrics, UDID & runtime stats"},{id:7,key:"crash",label:"Crash Protection",category:"diagnostic",icon:"crash",desc:"Runtime exception guard, breadcrumbs & memory snapshot"},{id:8,key:"debugging",label:"Multi-Device Debugging",category:"diagnostic",icon:"debugging",desc:"QR Code bridge for direct Debug APK download & Metro live-reload sync"},{id:9,key:"media",label:"Screencast",category:"diagnostic",icon:"media",desc:"Screenshots, video recordings, audio narration & animated GIFs"},{id:10,key:"push",label:"Push Notifications",category:"telemetry",icon:"push",desc:"Universal push & local notification logger (Salesforce, FCM, APNs, Braze, Expo)"},{id:11,key:"socket",label:"WebSocket & Socket.IO",category:"telemetry",icon:"socket",desc:"Real-time WebSocket & Socket.IO message inspector, frames & event logger"}].filter(e=>e.key==="debugging"?react_native_1.Platform.OS==="android"&&(0,helpers_1.isLocalDebugEnvironment)():!0),[]),[v,M]=(0,react_1.useState)(()=>({apis:!0,logs:!!t?.logs,analytics:!!t?.analytics,redux:!!t?.redux,storage:!!t?.storage,device:!!t?.device,crash:!!t?.crash,debugging:!!t?.debugging,media:!!(t?.media??!0),push:!!(t?.push??!0),socket:!!(t?.socket??!1)}));(0,react_1.useEffect)(()=>{M({apis:!0,logs:!!t?.logs,analytics:!!t?.analytics,redux:!!t?.redux,storage:!!t?.storage,device:!!t?.device,crash:!!t?.crash,debugging:!!t?.debugging,media:!!(t?.media??!0),push:!!(t?.push??!0),socket:!!(t?.socket??!1)})},[t]);const k=(0,react_1.useMemo)(()=>f.some(e=>!!v[e.key]!=!!t?.[e.key]),[v,t,f]),ge=f.filter(e=>e.key==="apis"||!!v[e.key]).length,E=(0,react_1.useMemo)(()=>f.filter(e=>!(e.key==="apis"||e.key==="redux"&&!(0,reduxLogger_1.isReduxConnected)()||e.key==="analytics"&&!(0,analyticsLogger_1.isAnalyticsConnected)())),[f]),T=(0,react_1.useMemo)(()=>E.length===0?!1:E.every(e=>!!v[e.key]),[E,v]),ue=()=>{const e=!T;M(r=>{const C={...r};return E.forEach(h=>{C[h.key]=e}),C})},je=()=>{k&&react_native_1.Alert.alert("Apply Changes & Reload","Are you sure you want to save module changes? The inspector will close and reload the app to apply the new configuration.",[{text:"Cancel",style:"cancel",onPress:()=>{M({apis:!0,logs:!!t?.logs,analytics:!!t?.analytics,redux:!!t?.redux,storage:!!t?.storage,device:!!t?.device,crash:!!t?.crash,debugging:!!t?.debugging,media:!!(t?.media??!0),push:!!(t?.push??!0),socket:!!(t?.socket??!1)})}},{text:"Save & Reload",style:"default",onPress:()=>{(0,InspectorContext_1.animateNextLayout)(),f.forEach(e=>{if(e.key!=="apis"){const r=!!v[e.key],C=!!t?.[e.key];r!==C&&he(e.key)}}),Se(),setTimeout(()=>{__DEV__&&react_native_1.DevSettings&&react_native_1.DevSettings.reload&&react_native_1.DevSettings.reload()},350)}}])},[ee,ye]=(0,react_1.useState)(!1),a=e=><react_native_1.View style={{paddingVertical:12,borderBottomWidth:e.isLast?0:1,borderBottomColor:AppColors_1.AppColors.dividerColor}}>
1
+ "use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(o,i,b,n){n===void 0&&(n=b);var A=Object.getOwnPropertyDescriptor(i,b);(!A||("get"in A?!i.__esModule:A.writable||A.configurable))&&(A={enumerable:!0,get:function(){return i[b]}}),Object.defineProperty(o,n,A)}):(function(o,i,b,n){n===void 0&&(n=b),o[n]=i[b]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(o,i){Object.defineProperty(o,"default",{enumerable:!0,value:i})}):function(o,i){o.default=i}),__importStar=this&&this.__importStar||(function(){var o=function(i){return o=Object.getOwnPropertyNames||function(b){var n=[];for(var A in b)Object.prototype.hasOwnProperty.call(b,A)&&(n[n.length]=A);return n},o(i)};return function(i){if(i&&i.__esModule)return i;var b={};if(i!=null)for(var n=o(i),A=0;A<n.length;A++)n[A]!=="default"&&__createBinding(b,i,n[A]);return __setModuleDefault(b,i),b}})(),__importDefault=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(exports,"__esModule",{value:!0});const react_1=__importStar(require("react")),react_native_1=require("react-native"),react_native_svg_1=__importStar(require("react-native-svg")),InspectorContext_1=require("./InspectorContext"),TouchableScale_1=__importDefault(require("../TouchableScale")),Slider_1=__importDefault(require("../Slider")),styles_1=require("../../styles"),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),settingsStore_1=require("../../helpers/settingsStore"),networkLogger_1=require("../../customHooks/networkLogger"),consoleLogger_1=require("../../customHooks/consoleLogger"),analyticsLogger_1=require("../../customHooks/analyticsLogger"),crashHandler_1=require("../../customHooks/crashHandler"),reduxLogger_1=require("../../customHooks/reduxLogger"),i18n_1=require("../../i18n"),LanguageSelectorModal_1=require("./LanguageSelectorModal"),NetworkIcons_1=require("../NetworkIcons"),capture_1=require("../../capture"),NativeInspector_1=require("../../native/NativeInspector"),helpers_1=require("../../helpers"),toast_1=require("../../helpers/toast"),memoryManager_1=require("../../helpers/memoryManager"),SettingsPanel=()=>{const{t:o}=(0,i18n_1.useTranslation)(),{settingsPage:i,setSettingsPage:b,settingsActiveSubTab:n,setSettingsActiveSubTab:A,tabVisibility:t,toggleTabVisibility:be,defaultTab:S,setDefaultTab:Ae,isDark:F,setIsDark:we,modalHeightPercent:B,setModalHeightPercent:fe,modalAnimationType:_e,setModalAnimationType:me,showDuplicateLogs:G,setShowDuplicateLogs:xe,showUpdateToast:U,setShowUpdateToast:Te,showConsoleLevels:ve,setShowConsoleLevels:Ve,closeModal:Se,logs:q,consoleLogs:K,analyticsEvents:J,reduxState:z,maxConsoleLogs:Q,setMaxConsoleLogs:ke,maxAnalyticsEventsLimit:re,setMaxAnalyticsEventsLimit:Fe,isAutoRamLimitEnabled:f,setIsAutoRamLimitEnabled:Be,deviceFreeRamMb:X,reduxAutoRefresh:Y,setReduxAutoRefreshState:ze,reduxExpandDepth:te,setReduxExpandDepth:Re,setSelected:Ie,setSelectedEvent:He,setReduxState:Le,crashRecords:R,maxCrashLogs:ie,setMaxCrashLogs:De,pushRecords:I,maxPushLogs:Pe,setMaxPushLogs:We,clearAllPushLogs:$e,simulatePush:H,socketRecords:L,maxSocketLogs:Oe,setMaxSocketLogs:Me,clearAllSocketLogs:Ee,simulateSocket:D,captureImageFormat:Z,setCaptureImageFormat:ae,captureAutoHide:_,setCaptureAutoHide:P,captureAudioMode:le,setCaptureAudioMode:ne,captureFps:se,setCaptureFps:pe,captureScale:Ke,setCaptureScale:Je,captureBitrate:Qe,setCaptureBitrate:Xe,captureMaxDurationSeconds:Ye,setCaptureMaxDurationSeconds:Ze,captureAutoGif:m,setCaptureAutoGif:W,peekOpacity:ce,setPeekOpacity:Ne}=(0,InspectorContext_1.useInspector)(),[$,de]=(0,react_1.useState)(B),[je,ge]=(0,react_1.useState)(!1),Ge=(0,i18n_1.getLanguage)(),O=i18n_1.SUPPORTED_LANGUAGES.find(e=>e.code===Ge)||i18n_1.SUPPORTED_LANGUAGES[0];(0,react_1.useEffect)(()=>{de(B)},[B]);const M=(0,settingsStore_1.calculateRamBasedLimits)(X),w=(0,react_1.useMemo)(()=>[{id:1,key:"apis",label:"APIs (Network)",category:"core",icon:"apis",desc:"HTTP/HTTPS requests, GraphQL, Axios & WebSocket inspector"},{id:2,key:"logs",label:"Console Logs",category:"core",icon:"logs",desc:"Terminal console logs, warnings, errors & stack traces"},{id:3,key:"analytics",label:"Analytics Logger",category:"telemetry",icon:"analytics",desc:"Firebase & custom analytics events, user properties & params"},{id:4,key:"redux",label:"Redux Inspector",category:"telemetry",icon:"redux",desc:"Store state diffing, action history & reducer timeline"},{id:5,key:"storage",label:"Storage Inspector",category:"telemetry",icon:"storage",desc:"AsyncStorage & MMKV key-value store viewer with full CRUD support"},{id:6,key:"device",label:"Device Info",category:"diagnostic",icon:"device",desc:"Hardware specs, IP address, screen metrics, UDID & runtime stats"},{id:7,key:"crash",label:"Crash Protection",category:"diagnostic",icon:"crash",desc:"Runtime exception guard, breadcrumbs & memory snapshot"},{id:8,key:"debugging",label:"Multi-Device Debugging",category:"diagnostic",icon:"debugging",desc:"QR Code bridge for direct Debug APK download & Metro live-reload sync"},{id:9,key:"media",label:"Screencast",category:"diagnostic",icon:"media",desc:"Screenshots, video recordings, audio narration & animated GIFs"},{id:10,key:"push",label:"Push Notifications",category:"telemetry",icon:"push",desc:"Universal push & local notification logger (Salesforce, FCM, APNs, Braze, Expo)"},{id:11,key:"socket",label:"WebSocket & Socket.IO",category:"telemetry",icon:"socket",desc:"Real-time WebSocket & Socket.IO message inspector, frames & event logger"}].filter(e=>e.key==="debugging"?react_native_1.Platform.OS==="android"&&(0,helpers_1.isLocalDebugEnvironment)():!0),[]),[v,E]=(0,react_1.useState)(()=>({apis:!0,logs:!!(t?.logs??!0),analytics:!!(t?.analytics??!0),redux:!!(t?.redux??!0),storage:!!(t?.storage??!0),device:!!(t?.device??!0),crash:!!(t?.crash??!0),debugging:!!(t?.debugging??!0),media:!!(t?.media??!0),push:!!(t?.push??!0),socket:!!(t?.socket??!0)}));(0,react_1.useEffect)(()=>{E({apis:!0,logs:!!(t?.logs??!0),analytics:!!(t?.analytics??!0),redux:!!(t?.redux??!0),storage:!!(t?.storage??!0),device:!!(t?.device??!0),crash:!!(t?.crash??!0),debugging:!!(t?.debugging??!0),media:!!(t?.media??!0),push:!!(t?.push??!0),socket:!!(t?.socket??!0)})},[t]);const k=(0,react_1.useMemo)(()=>w.some(e=>!!v[e.key]!=!!t?.[e.key]),[v,t,w]),ue=w.filter(e=>e.key==="apis"||!!v[e.key]).length,N=(0,react_1.useMemo)(()=>w.filter(e=>!(e.key==="apis"||e.key==="redux"&&!(0,reduxLogger_1.isReduxConnected)()||e.key==="analytics"&&!(0,analyticsLogger_1.isAnalyticsConnected)())),[w]),T=(0,react_1.useMemo)(()=>N.length===0?!1:N.every(e=>!!v[e.key]),[N,v]),ye=()=>{const e=!T;E(r=>{const C={...r};return N.forEach(h=>{C[h.key]=e}),C})},Ue=()=>{k&&react_native_1.Alert.alert("Apply Changes & Reload","Are you sure you want to save module changes? The inspector will close and reload the app to apply the new configuration.",[{text:"Cancel",style:"cancel",onPress:()=>{E({apis:!0,logs:!!t?.logs,analytics:!!t?.analytics,redux:!!t?.redux,storage:!!t?.storage,device:!!t?.device,crash:!!t?.crash,debugging:!!t?.debugging,media:!!(t?.media??!0),push:!!(t?.push??!0),socket:!!(t?.socket??!1)})}},{text:"Save & Reload",style:"default",onPress:()=>{(0,InspectorContext_1.animateNextLayout)(),w.forEach(e=>{if(e.key!=="apis"){const r=!!v[e.key],C=!!t?.[e.key];r!==C&&be(e.key)}}),Se(),setTimeout(()=>{__DEV__&&react_native_1.DevSettings&&react_native_1.DevSettings.reload&&react_native_1.DevSettings.reload()},350)}}])},[ee,Ce]=(0,react_1.useState)(!1),a=e=><react_native_1.View style={{paddingVertical:12,borderBottomWidth:e.isLast?0:1,borderBottomColor:AppColors_1.AppColors.dividerColor}}>
2
2
  <TouchableScale_1.default disabled={!e.onPress}onPress={e.onPress}style={{flexDirection:"row",alignItems:"center",gap:12}}>
3
3
  <react_native_1.View style={{width:36,height:36,borderRadius:10,backgroundColor:AppColors_1.AppColors.purpleShade50,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}2E`,alignItems:"center",justifyContent:"center"}}>
4
4
  {e.icon}
@@ -32,13 +32,13 @@
32
32
  </react_native_1.Text>
33
33
  </TouchableScale_1.default>})}
34
34
  </react_native_1.View>}
35
- </react_native_1.View>,Ge=()=><react_native_1.View style={{flex:1,backgroundColor:AppColors_1.AppColors.grayBackground}}>
35
+ </react_native_1.View>,qe=()=><react_native_1.View style={{flex:1,backgroundColor:AppColors_1.AppColors.grayBackground}}>
36
36
  <react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:14}}showsVerticalScrollIndicator={!1}>
37
37
 
38
38
 
39
39
  <react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:13,paddingVertical:4,paddingHorizontal:4,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.04,shadowRadius:4,shadowOffset:{width:0,height:2}}}>
40
40
  <react_native_1.ScrollView horizontal showsHorizontalScrollIndicator={!1}contentContainerStyle={{flexDirection:"row",alignItems:"center",gap:6,paddingHorizontal:2}}>
41
- {[{key:"module",label:o("settings.modulesAndTools","Modules & Tools"),Icon:NetworkIcons_1.LayersIcon,badge:`${f.filter(e=>v?.[e.key]||e.key==="apis").length}/${f.length}`},{key:"ui",label:o("settings.uiPreferences","UI Preferences"),Icon:NetworkIcons_1.ScreenIcon},{key:"limits",label:o("settings.ramLimits","RAM & Limits"),Icon:NetworkIcons_1.BrainIcon},{key:"capture",label:o("settings.screenVideoCapture","Screen & Video Capture"),Icon:NetworkIcons_1.CameraIcon}].map(e=>{const r=n===e.key,C=e.Icon;return<TouchableScale_1.default key={e.key}accessible={!0}accessibilityRole="tab"accessibilityLabel={e.label}accessibilityState={{selected:r}}onPress={()=>{(0,InspectorContext_1.animateNextLayout)(),b(e.key)}}style={{paddingVertical:8,paddingHorizontal:14,flexDirection:"row",alignItems:"center",justifyContent:"center",gap:6,borderRadius:9,backgroundColor:r?AppColors_1.AppColors.purple:"transparent"}}>
41
+ {[{key:"module",label:o("settings.modulesAndTools","Modules & Tools"),Icon:NetworkIcons_1.LayersIcon,badge:`${w.filter(e=>v?.[e.key]||e.key==="apis").length}/${w.length}`},{key:"ui",label:o("settings.uiPreferences","UI Preferences"),Icon:NetworkIcons_1.ScreenIcon},{key:"limits",label:o("settings.ramLimits","RAM & Limits"),Icon:NetworkIcons_1.BrainIcon},{key:"capture",label:o("settings.screenVideoCapture","Screen & Video Capture"),Icon:NetworkIcons_1.CameraIcon}].map(e=>{const r=n===e.key,C=e.Icon;return<TouchableScale_1.default key={e.key}accessible={!0}accessibilityRole="tab"accessibilityLabel={e.label}accessibilityState={{selected:r}}onPress={()=>{(0,InspectorContext_1.animateNextLayout)(),A(e.key)}}style={{paddingVertical:8,paddingHorizontal:14,flexDirection:"row",alignItems:"center",justifyContent:"center",gap:6,borderRadius:9,backgroundColor:r?AppColors_1.AppColors.purple:"transparent"}}>
42
42
  <C color={r?AppColors_1.AppColors.white:AppColors_1.AppColors.grayText}size={13}/>
43
43
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12.5,lineHeight:16,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.grayText}}>
44
44
  {e.label}
@@ -55,7 +55,7 @@
55
55
  {n==="module"&&<react_native_1.View style={{gap:12}}>
56
56
 
57
57
  <react_native_1.View style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:12,paddingVertical:10,paddingHorizontal:14,borderWidth:1,borderColor:T?`${AppColors_1.AppColors.purple}40`:AppColors_1.AppColors.grayBorderSecondary,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.02,shadowRadius:3,shadowOffset:{width:0,height:1}}}>
58
- <TouchableScale_1.default accessible={!0}accessibilityRole="checkbox"accessibilityLabel="Toggle Select All Modules"accessibilityState={{checked:T}}onPress={ue}style={{flexDirection:"row",alignItems:"center",gap:10,flex:1}}>
58
+ <TouchableScale_1.default accessible={!0}accessibilityRole="checkbox"accessibilityLabel="Toggle Select All Modules"accessibilityState={{checked:T}}onPress={ye}style={{flexDirection:"row",alignItems:"center",gap:10,flex:1}}>
59
59
  <react_native_1.View style={{width:22,height:22,borderRadius:6,borderWidth:T?0:1.8,borderColor:AppColors_1.AppColors.grayBorderSecondary,backgroundColor:T?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBackground,alignItems:"center",justifyContent:"center"}}>
60
60
  {T&&<NetworkIcons_1.CheckIcon size={12}color={AppColors_1.AppColors.white}/>}
61
61
  </react_native_1.View>
@@ -64,12 +64,12 @@
64
64
  {T?"Deselect All Modules":"Select All Modules"}
65
65
  </react_native_1.Text>
66
66
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:10.5,color:AppColors_1.AppColors.grayText,marginTop:1}}>
67
- {ge} of {f.length} modules active
67
+ {ue} of {w.length} modules active
68
68
  </react_native_1.Text>
69
69
  </react_native_1.View>
70
70
  </TouchableScale_1.default>
71
71
 
72
- <TouchableScale_1.default onPress={ue}style={{paddingHorizontal:10,paddingVertical:5,borderRadius:8,backgroundColor:T?`${AppColors_1.AppColors.purple}14`:AppColors_1.AppColors.purple,borderWidth:1,borderColor:T?`${AppColors_1.AppColors.purple}30`:"transparent"}}>
72
+ <TouchableScale_1.default onPress={ye}style={{paddingHorizontal:10,paddingVertical:5,borderRadius:8,backgroundColor:T?`${AppColors_1.AppColors.purple}14`:AppColors_1.AppColors.purple,borderWidth:1,borderColor:T?`${AppColors_1.AppColors.purple}30`:"transparent"}}>
73
73
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:T?AppColors_1.AppColors.purple:AppColors_1.AppColors.white}}>
74
74
  {T?"Deselect All":"Select All"}
75
75
  </react_native_1.Text>
@@ -78,11 +78,11 @@
78
78
 
79
79
 
80
80
  <react_native_1.View style={{gap:10}}>
81
- {f.map(e=>{const r=(0,reduxLogger_1.isReduxConnected)(),C=(0,analyticsLogger_1.isAnalyticsConnected)(),h=e.key==="redux"&&!r||e.key==="analytics"&&!C,x=e.key==="apis"||h,l=e.key==="apis"||!!v?.[e.key]&&!h,oe=e.key==="apis"?U.length>0?`${U.length} requests`:"":e.key==="logs"?q.length>0?`${q.length} logs \u2022 Limit: ${J}`:"":e.key==="crash"?R&&R.length>0?`${R.length} crashes recorded \u2022 Crash Guard`:"":e.key==="analytics"?K.length>0?`${K.length} events logged`:"":e.key==="redux"?z&&Object.keys(z).length>0?`${Object.keys(z).length} slices \u2022 Depth: ${te}`:"":e.key==="push"?I&&I.length>0?`${I.length} notifications logged`:"":e.key==="socket"&&L&&L.length>0?`${L.length} connections active`:"";return<react_native_1.View key={e.key}style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1.5,borderColor:l?`${AppColors_1.AppColors.purple}38`:AppColors_1.AppColors.grayBorderSecondary,padding:14,gap:10,shadowColor:AppColors_1.AppColors.black,shadowOpacity:l?.04:.02,shadowRadius:5,shadowOffset:{width:0,height:2}}}>
81
+ {w.map(e=>{const r=(0,reduxLogger_1.isReduxConnected)(),C=(0,analyticsLogger_1.isAnalyticsConnected)(),h=e.key==="redux"&&!r||e.key==="analytics"&&!C,x=e.key==="apis"||h,l=e.key==="apis"||!!v?.[e.key]&&!h,oe=e.key==="apis"?q.length>0?`${q.length} requests`:"":e.key==="logs"?K.length>0?`${K.length} logs \u2022 Limit: ${Q}`:"":e.key==="crash"?R&&R.length>0?`${R.length} crashes recorded \u2022 Crash Guard`:"":e.key==="analytics"?J.length>0?`${J.length} events logged`:"":e.key==="redux"?z&&Object.keys(z).length>0?`${Object.keys(z).length} slices \u2022 Depth: ${te}`:"":e.key==="push"?I&&I.length>0?`${I.length} notifications logged`:"":e.key==="socket"&&L&&L.length>0?`${L.length} connections active`:"";return<react_native_1.View key={e.key}style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1.5,borderColor:l?`${AppColors_1.AppColors.purple}38`:AppColors_1.AppColors.grayBorderSecondary,padding:14,gap:10,shadowColor:AppColors_1.AppColors.black,shadowOpacity:l?.04:.02,shadowRadius:5,shadowOffset:{width:0,height:2}}}>
82
82
 
83
83
  <react_native_1.View style={{flexDirection:"row",alignItems:"flex-start",gap:10}}>
84
84
 
85
- <TouchableScale_1.default accessible={!0}accessibilityRole="checkbox"accessibilityLabel={`Select ${e.label}`}accessibilityState={{checked:l,disabled:x}}disabled={x}onPress={()=>{x||M(Ce=>({...Ce,[e.key]:!Ce[e.key]}))}}hitSlop={8}style={{width:22,height:22,borderRadius:6,borderWidth:l?0:1.8,borderColor:x?AppColors_1.AppColors.dividerColor:AppColors_1.AppColors.grayBorderSecondary,backgroundColor:e.key==="apis"?`${AppColors_1.AppColors.blue500}22`:l?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBackground,alignItems:"center",justifyContent:"center",marginTop:7,shadowColor:l?AppColors_1.AppColors.purple:"transparent",shadowOpacity:l?.25:0,shadowRadius:2,elevation:l?2:0}}>
85
+ <TouchableScale_1.default accessible={!0}accessibilityRole="checkbox"accessibilityLabel={`Select ${e.label}`}accessibilityState={{checked:l,disabled:x}}disabled={x}onPress={()=>{x||E(he=>({...he,[e.key]:!he[e.key]}))}}hitSlop={8}style={{width:22,height:22,borderRadius:6,borderWidth:l?0:1.8,borderColor:x?AppColors_1.AppColors.dividerColor:AppColors_1.AppColors.grayBorderSecondary,backgroundColor:e.key==="apis"?`${AppColors_1.AppColors.blue500}22`:l?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBackground,alignItems:"center",justifyContent:"center",marginTop:7,shadowColor:l?AppColors_1.AppColors.purple:"transparent",shadowOpacity:l?.25:0,shadowRadius:2,elevation:l?2:0}}>
86
86
  {e.key==="apis"?<NetworkIcons_1.CheckIcon size={12}color={AppColors_1.AppColors.blue500}/>:l?<NetworkIcons_1.CheckIcon size={12}color={AppColors_1.AppColors.white}/>:x?<react_native_svg_1.default width={10}height={10}viewBox="0 0 24 24"fill="none">
87
87
  <react_native_svg_1.Path d="M7 10V7a5 5 0 0 1 10 0v3"stroke={AppColors_1.AppColors.grayText}strokeWidth="2.2"strokeLinecap="round"/>
88
88
  <react_native_svg_1.Path d="M5 10h14v9a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z"fill={AppColors_1.AppColors.grayText}/>
@@ -90,7 +90,7 @@
90
90
  </TouchableScale_1.default>
91
91
 
92
92
 
93
- <TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={`${e.label} settings`}disabled={h}onPress={()=>{(0,InspectorContext_1.animateNextLayout)(),A(e.key)}}style={{flex:1,flexDirection:"row",alignItems:"flex-start",gap:10}}>
93
+ <TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={`${e.label} settings`}disabled={h}onPress={()=>{(0,InspectorContext_1.animateNextLayout)(),b(e.key)}}style={{flex:1,flexDirection:"row",alignItems:"flex-start",gap:10}}>
94
94
 
95
95
  <react_native_1.View style={{width:36,height:36,borderRadius:10,backgroundColor:x?`${AppColors_1.AppColors.grayBorderSecondary}4D`:l?`${AppColors_1.AppColors.purple}14`:AppColors_1.AppColors.grayBackground,borderWidth:1,borderColor:x?AppColors_1.AppColors.dividerColor:l?`${AppColors_1.AppColors.purple}33`:AppColors_1.AppColors.grayBorderSecondary,alignItems:"center",justifyContent:"center",marginTop:1}}>
96
96
  {e.icon==="apis"&&<NetworkIcons_1.SignalIcon color={l?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={16}/>}
@@ -119,7 +119,7 @@
119
119
  </react_native_1.Text>
120
120
 
121
121
 
122
- {e.key===V&&!h&&<react_native_1.View style={{flexDirection:"row",alignItems:"center",backgroundColor:`${AppColors_1.AppColors.purple}14`,borderRadius:12,paddingHorizontal:5,paddingVertical:1.5,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}2E`,gap:3}}>
122
+ {e.key===S&&!h&&<react_native_1.View style={{flexDirection:"row",alignItems:"center",backgroundColor:`${AppColors_1.AppColors.purple}14`,borderRadius:12,paddingHorizontal:5,paddingVertical:1.5,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}2E`,gap:3}}>
123
123
  <react_native_1.View style={{width:4,height:4,borderRadius:2,backgroundColor:AppColors_1.AppColors.purple}}/>
124
124
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8,lineHeight:11,color:AppColors_1.AppColors.purple,letterSpacing:.4}}>
125
125
  {o("settings.defaultBadge")}
@@ -164,7 +164,7 @@
164
164
  </react_native_1.View>:<react_native_1.View style={{flex:1}}/>}
165
165
 
166
166
 
167
- <TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={`Configure ${e.label} settings`}onPress={()=>{(0,InspectorContext_1.animateNextLayout)(),A(e.key)}}style={{flexDirection:"row",alignItems:"center",gap:5,backgroundColor:`${AppColors_1.AppColors.purple}12`,paddingHorizontal:10,paddingVertical:5,borderRadius:8,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}26`}}>
167
+ <TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={`Configure ${e.label} settings`}onPress={()=>{(0,InspectorContext_1.animateNextLayout)(),b(e.key)}}style={{flexDirection:"row",alignItems:"center",gap:5,backgroundColor:`${AppColors_1.AppColors.purple}12`,paddingHorizontal:10,paddingVertical:5,borderRadius:8,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}26`}}>
168
168
  <NetworkIcons_1.SettingsIcon color={AppColors_1.AppColors.purple}size={11}/>
169
169
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.purple}}>
170
170
  {o("settings.configure")}
@@ -198,7 +198,7 @@
198
198
  </react_native_1.View>
199
199
  </react_native_1.View>
200
200
 
201
- <TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle Dark Theme"accessibilityState={{checked:F}}onPress={()=>{const e=!F;be(e),(0,styles_1.toggleGlobalTheme)(e)}}style={{width:42,height:24,borderRadius:12,backgroundColor:F?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,padding:2,justifyContent:"center",alignItems:F?"flex-end":"flex-start"}}>
201
+ <TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle Dark Theme"accessibilityState={{checked:F}}onPress={()=>{const e=!F;we(e),(0,styles_1.toggleGlobalTheme)(e)}}style={{width:42,height:24,borderRadius:12,backgroundColor:F?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,padding:2,justifyContent:"center",alignItems:F?"flex-end":"flex-start"}}>
202
202
  <react_native_1.View style={{width:20,height:20,borderRadius:10,backgroundColor:AppColors_1.AppColors.white,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.18,shadowRadius:2,shadowOffset:{width:0,height:1}}}/>
203
203
  </TouchableScale_1.default>
204
204
  </react_native_1.View>
@@ -221,12 +221,10 @@
221
221
  </react_native_1.View>
222
222
  </react_native_1.View>
223
223
 
224
- <TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),de(!0)}}style={{flexDirection:"row",alignItems:"center",backgroundColor:AppColors_1.AppColors.purpleShade50,paddingHorizontal:10,paddingVertical:6,borderRadius:8,gap:5,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}20`}}>
225
- <react_native_1.Text style={{fontSize:13}}>
226
- {Z?.flag||"\u{1F310}"}
227
- </react_native_1.Text>
224
+ <TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),ge(!0)}}style={{flexDirection:"row",alignItems:"center",backgroundColor:AppColors_1.AppColors.purpleShade50,paddingHorizontal:10,paddingVertical:6,borderRadius:8,gap:5,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}20`}}>
225
+ {O?.flag?<react_native_1.Text style={{fontSize:13}}>{O.flag}</react_native_1.Text>:<NetworkIcons_1.GlobeIcon size={14}color={AppColors_1.AppColors.purple}/>}
228
226
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interSemiBold,fontSize:12,color:AppColors_1.AppColors.purple}}>
229
- {Z?.nativeName||Z?.name||"English"}
227
+ {O?.nativeName||O?.name||"English"}
230
228
  </react_native_1.Text>
231
229
  <NetworkIcons_1.ForwardChevronIcon size={11}color={AppColors_1.AppColors.purple}/>
232
230
  </TouchableScale_1.default>
@@ -256,16 +254,47 @@
256
254
  </react_native_1.View>
257
255
  </react_native_1.View>
258
256
 
259
- {W!==B&&<TouchableScale_1.default onPress={()=>{fe(W)}}style={{flexDirection:"row",alignItems:"center",gap:5,backgroundColor:AppColors_1.AppColors.purple,paddingHorizontal:10,paddingVertical:5,borderRadius:7,shadowColor:AppColors_1.AppColors.purple,shadowOffset:{width:0,height:1},shadowOpacity:.28,shadowRadius:2,elevation:2}}>
257
+ {$!==B&&<TouchableScale_1.default onPress={()=>{fe($)}}style={{flexDirection:"row",alignItems:"center",gap:5,backgroundColor:AppColors_1.AppColors.purple,paddingHorizontal:10,paddingVertical:5,borderRadius:7,shadowColor:AppColors_1.AppColors.purple,shadowOffset:{width:0,height:1},shadowOpacity:.28,shadowRadius:2,elevation:2}}>
260
258
  <NetworkIcons_1.CheckIcon size={11}color={AppColors_1.AppColors.white}/>
261
259
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:AppColors_1.AppColors.white}}>
262
- Save ({W}%)
260
+ Save ({$}%)
263
261
  </react_native_1.Text>
264
262
  </TouchableScale_1.default>}
265
263
  </react_native_1.View>
266
264
 
267
265
  <react_native_1.View style={{marginTop:6}}>
268
- <Slider_1.default value={W}onValueChange={ce}min={50}max={90}step={5}quickPresets={[50,60,70,80,90]}formatLabel={e=>`${Math.round(e)}%`}/>
266
+ <Slider_1.default value={$}onValueChange={de}min={50}max={90}step={5}quickPresets={[50,60,70,80,90]}formatLabel={e=>`${Math.round(e)}%`}/>
267
+ </react_native_1.View>
268
+ </react_native_1.View>
269
+
270
+ <react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.dividerColor}}/>
271
+
272
+
273
+ <react_native_1.View style={{gap:8}}>
274
+ <react_native_1.View style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",gap:10}}>
275
+ <react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:10,flex:1}}>
276
+ <react_native_1.View style={{width:32,height:32,borderRadius:8,backgroundColor:"rgba(6, 182, 212, 0.12)",alignItems:"center",justifyContent:"center"}}>
277
+ <NetworkIcons_1.EyeIcon color={"#06B6D4"}size={15}/>
278
+ </react_native_1.View>
279
+ <react_native_1.View style={{flex:1}}>
280
+ <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13.5,lineHeight:18,color:AppColors_1.AppColors.primaryBlack}}>
281
+ {o("settings.general.peekOpacity","Peek-Through Opacity")}
282
+ </react_native_1.Text>
283
+ <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,lineHeight:15,color:AppColors_1.AppColors.grayText,marginTop:1}}>
284
+ {o("settings.general.peekOpacityDescription","Transparency level when the eye icon is enabled")}
285
+ </react_native_1.Text>
286
+ </react_native_1.View>
287
+ </react_native_1.View>
288
+
289
+ <react_native_1.View style={{backgroundColor:"rgba(6, 182, 212, 0.14)",paddingHorizontal:8,paddingVertical:3,borderRadius:6,borderWidth:1,borderColor:"rgba(6, 182, 212, 0.30)"}}>
290
+ <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,color:"#06B6D4"}}>
291
+ {ce.toFixed(1)}
292
+ </react_native_1.Text>
293
+ </react_native_1.View>
294
+ </react_native_1.View>
295
+
296
+ <react_native_1.View style={{marginTop:6}}>
297
+ <Slider_1.default value={ce}onValueChange={e=>{const r=Math.round(e*10)/10;Ne(r)}}min={.1}max={1}step={.1}quickPresets={[.1,.3,.5,.7,1]}formatLabel={e=>e.toFixed(1)}/>
269
298
  </react_native_1.View>
270
299
  </react_native_1.View>
271
300
 
@@ -288,7 +317,7 @@
288
317
  </react_native_1.View>
289
318
 
290
319
  <react_native_1.View style={{flexDirection:"row",backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:10,padding:3,borderWidth:1,borderColor:AppColors_1.AppColors.dividerColor}}>
291
- {[{key:"slide",label:"Slide Up"},{key:"fade",label:"Fade"},{key:"none",label:"None"}].map(e=>{const r=we===e.key;return<TouchableScale_1.default key={e.key}accessible={!0}accessibilityRole="button"accessibilityLabel={`Set transition animation to ${e.label}`}accessibilityState={{selected:r}}onPress={()=>_e(e.key)}style={{flex:1,paddingVertical:7,alignItems:"center",borderRadius:8,backgroundColor:r?AppColors_1.AppColors.purple:"transparent"}}>
320
+ {[{key:"slide",label:"Slide Up"},{key:"fade",label:"Fade"},{key:"none",label:"None"}].map(e=>{const r=_e===e.key;return<TouchableScale_1.default key={e.key}accessible={!0}accessibilityRole="button"accessibilityLabel={`Set transition animation to ${e.label}`}accessibilityState={{selected:r}}onPress={()=>me(e.key)}style={{flex:1,paddingVertical:7,alignItems:"center",borderRadius:8,backgroundColor:r?AppColors_1.AppColors.purple:"transparent"}}>
292
321
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11.5,lineHeight:15,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.grayText}}>
293
322
  {e.label}
294
323
  </react_native_1.Text>
@@ -319,11 +348,11 @@
319
348
 
320
349
 
321
350
  <react_native_1.View style={{marginTop:6,gap:6}}>
322
- <TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={`Default opening tab: ${f.find(e=>e.key===V)?.label||"APIs"}`}onPress={()=>ye(e=>!e)}style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:10,borderWidth:1.5,borderColor:ee?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,paddingHorizontal:14,paddingVertical:11}}>
351
+ <TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={`Default opening tab: ${w.find(e=>e.key===S)?.label||"APIs"}`}onPress={()=>Ce(e=>!e)}style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:10,borderWidth:1.5,borderColor:ee?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,paddingHorizontal:14,paddingVertical:11}}>
323
352
  <react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:10,flex:1}}>
324
353
  <react_native_1.View style={{width:8,height:8,borderRadius:4,backgroundColor:AppColors_1.AppColors.purple}}/>
325
354
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13.5,lineHeight:18,color:AppColors_1.AppColors.primaryBlack}}>
326
- {f.find(e=>e.key===V)?`#${f.find(e=>e.key===V)?.id} ${f.find(e=>e.key===V)?.label}`:"#1 APIs (Network)"}
355
+ {w.find(e=>e.key===S)?`#${w.find(e=>e.key===S)?.id} ${w.find(e=>e.key===S)?.label}`:"#1 APIs (Network)"}
327
356
  </react_native_1.Text>
328
357
  <react_native_1.View style={{backgroundColor:`${AppColors_1.AppColors.purple}14`,paddingHorizontal:6,paddingVertical:1.5,borderRadius:6}}>
329
358
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8.5,color:AppColors_1.AppColors.purple}}>
@@ -339,7 +368,7 @@
339
368
 
340
369
 
341
370
  {ee&&<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:10,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,overflow:"hidden",shadowColor:AppColors_1.AppColors.black,shadowOpacity:.08,shadowRadius:6,shadowOffset:{width:0,height:3},elevation:4}}>
342
- {f.filter(e=>e.key==="apis"||v?.[e.key]||t?.[e.key]).map((e,r,C)=>{const h=V===e.key,x=r===C.length-1;return<TouchableScale_1.default key={e.key}accessible={!0}accessibilityRole="button"accessibilityLabel={`Select ${e.label} as default tab`}onPress={()=>{Ae(e.key),ye(!1)}}style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:14,paddingVertical:11,backgroundColor:h?`${AppColors_1.AppColors.purple}0F`:"transparent",borderBottomWidth:x?0:1,borderBottomColor:AppColors_1.AppColors.dividerColor}}>
371
+ {w.filter(e=>e.key==="apis"||v?.[e.key]||t?.[e.key]).map((e,r,C)=>{const h=S===e.key,x=r===C.length-1;return<TouchableScale_1.default key={e.key}accessible={!0}accessibilityRole="button"accessibilityLabel={`Select ${e.label} as default tab`}onPress={()=>{Ae(e.key),Ce(!1)}}style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:14,paddingVertical:11,backgroundColor:h?`${AppColors_1.AppColors.purple}0F`:"transparent",borderBottomWidth:x?0:1,borderBottomColor:AppColors_1.AppColors.dividerColor}}>
343
372
  <react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:10}}>
344
373
  <react_native_1.View style={{width:6,height:6,borderRadius:3,backgroundColor:h?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}}/>
345
374
  <react_native_1.Text style={{fontFamily:h?AppFonts_1.AppFonts.interBold:AppFonts_1.AppFonts.interMedium,fontSize:13,color:h?AppColors_1.AppColors.purple:AppColors_1.AppColors.primaryBlack}}>
@@ -374,7 +403,7 @@
374
403
  </react_native_1.View>
375
404
  </react_native_1.View>
376
405
 
377
- <TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle NPM Update Toast"accessibilityState={{checked:G}}onPress={()=>xe(e=>!e)}style={{width:42,height:24,borderRadius:12,backgroundColor:G?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,padding:2,justifyContent:"center",alignItems:G?"flex-end":"flex-start"}}>
406
+ <TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle NPM Update Toast"accessibilityState={{checked:U}}onPress={()=>Te(e=>!e)}style={{width:42,height:24,borderRadius:12,backgroundColor:U?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,padding:2,justifyContent:"center",alignItems:U?"flex-end":"flex-start"}}>
378
407
  <react_native_1.View style={{width:20,height:20,borderRadius:10,backgroundColor:AppColors_1.AppColors.white,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.18,shadowRadius:2,shadowOffset:{width:0,height:1}}}/>
379
408
  </TouchableScale_1.default>
380
409
  </react_native_1.View>
@@ -405,7 +434,7 @@
405
434
  </react_native_1.View>
406
435
  </react_native_1.View>
407
436
 
408
- <TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle auto RAM limit calculation"accessibilityState={{checked:w}}onPress={()=>Fe(e=>!e)}style={{width:42,height:24,borderRadius:12,backgroundColor:w?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,padding:2,justifyContent:"center",alignItems:w?"flex-end":"flex-start"}}>
437
+ <TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle auto RAM limit calculation"accessibilityState={{checked:f}}onPress={()=>Be(e=>!e)}style={{width:42,height:24,borderRadius:12,backgroundColor:f?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,padding:2,justifyContent:"center",alignItems:f?"flex-end":"flex-start"}}>
409
438
  <react_native_1.View style={{width:20,height:20,borderRadius:10,backgroundColor:AppColors_1.AppColors.white,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.18,shadowRadius:2,shadowOffset:{width:0,height:1}}}/>
410
439
  </TouchableScale_1.default>
411
440
  </react_native_1.View>
@@ -414,20 +443,20 @@
414
443
 
415
444
 
416
445
  <react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:10}}>
417
- <react_native_1.View style={{width:32,height:32,borderRadius:8,backgroundColor:w?`${AppColors_1.AppColors.purple}14`:AppColors_1.AppColors.grayBackground,alignItems:"center",justifyContent:"center"}}>
418
- <NetworkIcons_1.SignalIcon color={w?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={15}/>
446
+ <react_native_1.View style={{width:32,height:32,borderRadius:8,backgroundColor:f?`${AppColors_1.AppColors.purple}14`:AppColors_1.AppColors.grayBackground,alignItems:"center",justifyContent:"center"}}>
447
+ <NetworkIcons_1.SignalIcon color={f?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={15}/>
419
448
  </react_native_1.View>
420
449
  <react_native_1.View style={{flex:1}}>
421
- <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13.5,lineHeight:18,color:w?AppColors_1.AppColors.primaryBlack:AppColors_1.AppColors.grayText}}>
450
+ <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13.5,lineHeight:18,color:f?AppColors_1.AppColors.primaryBlack:AppColors_1.AppColors.grayText}}>
422
451
  Detected Available RAM
423
452
  </react_native_1.Text>
424
453
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,lineHeight:15,color:AppColors_1.AppColors.grayText,marginTop:1}}>
425
- {Q} MB available on device
454
+ {X} MB available on device
426
455
  </react_native_1.Text>
427
456
  </react_native_1.View>
428
- <react_native_1.View style={{paddingHorizontal:10,paddingVertical:5,borderRadius:8,backgroundColor:w?`${AppColors_1.AppColors.purple}12`:AppColors_1.AppColors.grayBackground,borderWidth:1,borderColor:w?`${AppColors_1.AppColors.purple}26`:AppColors_1.AppColors.dividerColor}}>
429
- <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,lineHeight:15,color:w?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayText}}>
430
- {Q} MB
457
+ <react_native_1.View style={{paddingHorizontal:10,paddingVertical:5,borderRadius:8,backgroundColor:f?`${AppColors_1.AppColors.purple}12`:AppColors_1.AppColors.grayBackground,borderWidth:1,borderColor:f?`${AppColors_1.AppColors.purple}26`:AppColors_1.AppColors.dividerColor}}>
458
+ <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,lineHeight:15,color:f?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayText}}>
459
+ {X} MB
431
460
  </react_native_1.Text>
432
461
  </react_native_1.View>
433
462
  </react_native_1.View>
@@ -436,17 +465,17 @@
436
465
  <react_native_1.View style={{marginTop:4,paddingTop:8,borderTopWidth:1,borderTopColor:AppColors_1.AppColors.dividerColor,gap:6}}>
437
466
  <react_native_1.View style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between"}}>
438
467
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11.5,lineHeight:15,color:AppColors_1.AppColors.purple}}>
439
- Profile: {O.profileName}
468
+ Profile: {M.profileName}
440
469
  </react_native_1.Text>
441
- <react_native_1.View style={{backgroundColor:w?`${AppColors_1.AppColors.emerald500}18`:`${AppColors_1.AppColors.purple}18`,paddingHorizontal:7,paddingVertical:2.5,borderRadius:4}}>
442
- <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,color:w?AppColors_1.AppColors.emerald500:AppColors_1.AppColors.purple}}>
443
- {w?"AUTO-TUNED":"MANUAL"}
470
+ <react_native_1.View style={{backgroundColor:f?`${AppColors_1.AppColors.emerald500}18`:`${AppColors_1.AppColors.purple}18`,paddingHorizontal:7,paddingVertical:2.5,borderRadius:4}}>
471
+ <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,color:f?AppColors_1.AppColors.emerald500:AppColors_1.AppColors.purple}}>
472
+ {f?"AUTO-TUNED":"MANUAL"}
444
473
  </react_native_1.Text>
445
474
  </react_native_1.View>
446
475
  </react_native_1.View>
447
476
 
448
477
  <react_native_1.View style={{flexDirection:"row",flexWrap:"wrap",gap:8,marginTop:4}}>
449
- {[{label:"Logs",value:w?O.maxConsoleLogs:J,color:AppColors_1.AppColors.sky500},{label:"Analytics",value:w?O.maxAnalyticsEvents:re,color:AppColors_1.AppColors.purple},{label:"Crash",value:w?O.maxCrashRecords:ie,color:AppColors_1.AppColors.errorColor}].map(e=><react_native_1.View key={e.label}style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:8,paddingVertical:4,borderRadius:6,backgroundColor:`${e.color}14`,borderWidth:1,borderColor:`${e.color}33`}}>
478
+ {[{label:"Logs",value:f?M.maxConsoleLogs:Q,color:AppColors_1.AppColors.sky500},{label:"Analytics",value:f?M.maxAnalyticsEvents:re,color:AppColors_1.AppColors.purple},{label:"Crash",value:f?M.maxCrashRecords:ie,color:AppColors_1.AppColors.errorColor}].map(e=><react_native_1.View key={e.label}style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:8,paddingVertical:4,borderRadius:6,backgroundColor:`${e.color}14`,borderWidth:1,borderColor:`${e.color}33`}}>
450
479
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,lineHeight:14,color:e.color}}>
451
480
  {e.label}:
452
481
  </react_native_1.Text>
@@ -523,7 +552,7 @@
523
552
  </react_native_1.View>
524
553
 
525
554
  {a({icon:<NetworkIcons_1.ImageIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.imageFormat","Image Format"),description:o("settings.media.imageFormatDesc","Export formats (PNG lossless, JPEG lossy, WebP)"),right:<react_native_1.View style={{flexDirection:"row",gap:5}}>
526
- {["png","jpeg","webp"].map(e=>{const r=Y===e;return<TouchableScale_1.default key={e}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),ae(e),(0,toast_1.showToast)(`Screenshot format: ${e.toUpperCase()}`)}}style={{paddingHorizontal:9,paddingVertical:5,borderRadius:7,backgroundColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}2E`}}>
555
+ {["png","jpeg","webp"].map(e=>{const r=Z===e;return<TouchableScale_1.default key={e}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),ae(e),(0,toast_1.showToast)(`Screenshot format: ${e.toUpperCase()}`)}}style={{paddingHorizontal:9,paddingVertical:5,borderRadius:7,backgroundColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}2E`}}>
527
556
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}}>
528
557
  {e.toUpperCase()}
529
558
  </react_native_1.Text>
@@ -569,7 +598,7 @@
569
598
  </TouchableScale_1.default>})}
570
599
  </react_native_1.View>})}
571
600
 
572
- {a({icon:<NetworkIcons_1.GifIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.gifAutoOpt","Auto GIF Optimization"),description:o("settings.media.gifAutoOptDesc","Automatic palette reduction and frame skip for lightweight animated GIFs"),isLast:!0,onPress:()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),$(e=>!e),(0,toast_1.showToast)(`GIF optimization: ${m?"OFF":"ON"}`)},right:<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),$(e=>!e),(0,toast_1.showToast)(`GIF optimization: ${m?"OFF":"ON"}`)}}style={{paddingHorizontal:10,paddingVertical:5,borderRadius:7,backgroundColor:m?`${AppColors_1.AppColors.emerald500}26`:`${AppColors_1.AppColors.grayText}20`,borderWidth:1,borderColor:m?`${AppColors_1.AppColors.emerald500}4D`:`${AppColors_1.AppColors.grayText}33`}}>
601
+ {a({icon:<NetworkIcons_1.GifIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.gifAutoOpt","Auto GIF Optimization"),description:o("settings.media.gifAutoOptDesc","Automatic palette reduction and frame skip for lightweight animated GIFs"),isLast:!0,onPress:()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),W(e=>!e),(0,toast_1.showToast)(`GIF optimization: ${m?"OFF":"ON"}`)},right:<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),W(e=>!e),(0,toast_1.showToast)(`GIF optimization: ${m?"OFF":"ON"}`)}}style={{paddingHorizontal:10,paddingVertical:5,borderRadius:7,backgroundColor:m?`${AppColors_1.AppColors.emerald500}26`:`${AppColors_1.AppColors.grayText}20`,borderWidth:1,borderColor:m?`${AppColors_1.AppColors.emerald500}4D`:`${AppColors_1.AppColors.grayText}33`}}>
573
602
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:m?AppColors_1.AppColors.emerald500:AppColors_1.AppColors.grayText}}>
574
603
  {m?"ON":"OFF"}
575
604
  </react_native_1.Text>
@@ -592,38 +621,38 @@
592
621
  {n==="module"&&<react_native_1.View style={{paddingHorizontal:16,paddingTop:12,paddingBottom:react_native_1.Platform.OS==="ios"?36:24,backgroundColor:AppColors_1.AppColors.primaryLight,borderTopWidth:1,borderTopColor:AppColors_1.AppColors.dividerColor,flexDirection:"row",alignItems:"center",gap:12,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.08,shadowRadius:8,shadowOffset:{width:0,height:-3},elevation:8}}>
593
622
  <react_native_1.View style={{flex:1}}>
594
623
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13,lineHeight:17,color:AppColors_1.AppColors.primaryBlack}}>
595
- {ge} of {f.length} Modules Active
624
+ {ue} of {w.length} Modules Active
596
625
  </react_native_1.Text>
597
626
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,lineHeight:15,color:k?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayText,marginTop:1}}>
598
627
  {o(k?"settings.unsavedPending":"settings.allSynchronized")}
599
628
  </react_native_1.Text>
600
629
  </react_native_1.View>
601
630
 
602
- <TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel="Save Changes"onPress={je}style={{flexDirection:"row",alignItems:"center",gap:6,backgroundColor:k?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}22`,paddingHorizontal:18,paddingVertical:10,borderRadius:10}}>
631
+ <TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel="Save Changes"onPress={Ue}style={{flexDirection:"row",alignItems:"center",gap:6,backgroundColor:k?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}22`,paddingHorizontal:18,paddingVertical:10,borderRadius:10}}>
603
632
  <NetworkIcons_1.CheckIcon size={14}color={k?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}/>
604
633
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13,lineHeight:17,color:k?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}}>
605
634
  {o("settings.saveChanges")}
606
635
  </react_native_1.Text>
607
636
  </TouchableScale_1.default>
608
637
  </react_native_1.View>}
609
- </react_native_1.View>;let S=null;i==="apis"?S=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
638
+ </react_native_1.View>;let V=null;i==="apis"?V=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
610
639
 
611
640
  <react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
612
- {a({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.apis.clearNetworkLogs"),description:o("settings.apis.clearNetworkLogsDescription",{count:U.length}),isLast:!0,onPress:()=>{(0,networkLogger_1.clearNetworkLogs)(),Re(null),react_native_1.Alert.alert(o("common.success"),o("settings.apis.networkLogsCleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
641
+ {a({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.apis.clearNetworkLogs"),description:o("settings.apis.clearNetworkLogsDescription",{count:q.length}),isLast:!0,onPress:()=>{(0,networkLogger_1.clearNetworkLogs)(),Ie(null),react_native_1.Alert.alert(o("common.success"),o("settings.apis.networkLogsCleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
613
642
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
614
643
  {o("common.clear")}
615
644
  </react_native_1.Text>
616
645
  </react_native_1.View>})}
617
646
  </react_native_1.View>
618
647
  <react_native_1.View style={{height:48}}/>
619
- </react_native_1.ScrollView>:i==="logs"?S=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
648
+ </react_native_1.ScrollView>:i==="logs"?V=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
620
649
  <react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:4}}>
621
- {a({icon:<NetworkIcons_1.TerminalIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.logs.maxConsoleLogs"),description:o("settings.logs.maxConsoleLogsDescription"),numericInput:{value:J,onChange:Ve,min:10,max:100,placeholder:"Enter max logs (10-100)"}})}
650
+ {a({icon:<NetworkIcons_1.TerminalIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.logs.maxConsoleLogs"),description:o("settings.logs.maxConsoleLogsDescription"),numericInput:{value:Q,onChange:ke,min:10,max:100,placeholder:"Enter max logs (10-100)"}})}
622
651
  <react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.dividerColor}}/>
623
652
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13,lineHeight:17,color:AppColors_1.AppColors.primaryBlack,paddingTop:6}}>
624
653
  {o("settings.logs.logLevels")}
625
654
  </react_native_1.Text>
626
- {["info","warn","error"].map(e=>{const r=Te?.[e],C=e==="error"?AppColors_1.AppColors.errorColor:e==="warn"?AppColors_1.AppColors.warningIconGold:AppColors_1.AppColors.skyBlue,h=o(e==="info"?"settings.logs.showInfo":e==="warn"?"settings.logs.showWarn":"settings.logs.showError"),x=o(e==="info"?"settings.logs.showInfoDesc":e==="warn"?"settings.logs.showWarnDesc":"settings.logs.showErrorDesc");return a({icon:<react_native_1.View style={{width:12,height:12,borderRadius:6,backgroundColor:C}}/>,label:h,description:x,isLast:e==="error",onPress:()=>ve(l=>({...l,[e]:!l[e]})),right:<react_native_1.View style={{width:22,height:22,borderRadius:6,borderWidth:2,borderColor:r?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak,backgroundColor:r?`${AppColors_1.AppColors.purple}1A`:"transparent",alignItems:"center",justifyContent:"center"}}>
655
+ {["info","warn","error"].map(e=>{const r=ve?.[e],C=e==="error"?AppColors_1.AppColors.errorColor:e==="warn"?AppColors_1.AppColors.warningIconGold:AppColors_1.AppColors.skyBlue,h=o(e==="info"?"settings.logs.showInfo":e==="warn"?"settings.logs.showWarn":"settings.logs.showError"),x=o(e==="info"?"settings.logs.showInfoDesc":e==="warn"?"settings.logs.showWarnDesc":"settings.logs.showErrorDesc");return a({icon:<react_native_1.View style={{width:12,height:12,borderRadius:6,backgroundColor:C}}/>,label:h,description:x,isLast:e==="error",onPress:()=>Ve(l=>({...l,[e]:!l[e]})),right:<react_native_1.View style={{width:22,height:22,borderRadius:6,borderWidth:2,borderColor:r?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak,backgroundColor:r?`${AppColors_1.AppColors.purple}1A`:"transparent",alignItems:"center",justifyContent:"center"}}>
627
656
  {r&&<NetworkIcons_1.CheckIcon size={12}color={AppColors_1.AppColors.purple}/>}
628
657
  </react_native_1.View>})})}
629
658
  </react_native_1.View>
@@ -650,52 +679,52 @@
650
679
  </react_native_1.View>
651
680
  </react_native_1.View>
652
681
 
653
- <TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle show duplicate logs"accessibilityState={{checked:j}}onPress={()=>me(e=>!e)}style={{width:42,height:24,borderRadius:12,backgroundColor:j?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,padding:2,justifyContent:"center",alignItems:j?"flex-end":"flex-start"}}>
682
+ <TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle show duplicate logs"accessibilityState={{checked:G}}onPress={()=>xe(e=>!e)}style={{width:42,height:24,borderRadius:12,backgroundColor:G?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,padding:2,justifyContent:"center",alignItems:G?"flex-end":"flex-start"}}>
654
683
  <react_native_1.View style={{width:20,height:20,borderRadius:10,backgroundColor:AppColors_1.AppColors.white,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.18,shadowRadius:2,shadowOffset:{width:0,height:1}}}/>
655
684
  </TouchableScale_1.default>
656
685
  </react_native_1.View>
657
686
  </react_native_1.View>
658
687
 
659
688
  <react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
660
- {a({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.logs.clearConsoleLogs"),description:o("settings.logs.clearConsoleLogsDescription",{count:q.length}),isLast:!0,onPress:()=>{(0,consoleLogger_1.clearConsoleLogs)(),react_native_1.Alert.alert(o("common.success"),o("settings.logs.consoleLogsCleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
689
+ {a({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.logs.clearConsoleLogs"),description:o("settings.logs.clearConsoleLogsDescription",{count:K.length}),isLast:!0,onPress:()=>{(0,consoleLogger_1.clearConsoleLogs)(),react_native_1.Alert.alert(o("common.success"),o("settings.logs.consoleLogsCleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
661
690
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
662
691
  {o("common.clear")}
663
692
  </react_native_1.Text>
664
693
  </react_native_1.View>})}
665
694
  </react_native_1.View>
666
695
  <react_native_1.View style={{height:48}}/>
667
- </react_native_1.ScrollView>:i==="analytics"?S=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
696
+ </react_native_1.ScrollView>:i==="analytics"?V=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
668
697
  <react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary}}>
669
- {a({icon:<NetworkIcons_1.AnalyticsIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.analytics.maxAnalyticsEvents"),description:o("settings.analytics.maxAnalyticsEventsDescription",{count:K.length}),numericInput:{value:re,onChange:ke,min:10,max:75,placeholder:"Enter max events (10-75)"},isLast:!0})}
698
+ {a({icon:<NetworkIcons_1.AnalyticsIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.analytics.maxAnalyticsEvents"),description:o("settings.analytics.maxAnalyticsEventsDescription",{count:J.length}),numericInput:{value:re,onChange:Fe,min:10,max:75,placeholder:"Enter max events (10-75)"},isLast:!0})}
670
699
  </react_native_1.View>
671
700
  <react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
672
- {a({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.analytics.clearAnalyticsEvents"),description:o("settings.analytics.clearAnalyticsEventsDescription"),isLast:!0,onPress:()=>{(0,analyticsLogger_1.clearAnalyticsEvents)(),Ie(null),react_native_1.Alert.alert(o("common.success"),o("settings.analytics.analyticsEventsCleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
701
+ {a({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.analytics.clearAnalyticsEvents"),description:o("settings.analytics.clearAnalyticsEventsDescription"),isLast:!0,onPress:()=>{(0,analyticsLogger_1.clearAnalyticsEvents)(),He(null),react_native_1.Alert.alert(o("common.success"),o("settings.analytics.analyticsEventsCleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
673
702
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
674
703
  {o("common.clear")}
675
704
  </react_native_1.Text>
676
705
  </react_native_1.View>})}
677
706
  </react_native_1.View>
678
707
  <react_native_1.View style={{height:48}}/>
679
- </react_native_1.ScrollView>:i==="redux"?S=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
708
+ </react_native_1.ScrollView>:i==="redux"?V=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
680
709
  <react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:4}}>
681
- {a({icon:<NetworkIcons_1.ReduxIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.redux.autoRefresh"),description:o("settings.redux.autoRefreshDescription"),onPress:()=>Be(e=>!e),right:<react_native_1.View style={{width:22,height:22,borderRadius:6,borderWidth:2,borderColor:X?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak,backgroundColor:X?`${AppColors_1.AppColors.purple}1A`:"transparent",alignItems:"center",justifyContent:"center"}}>
682
- {X&&<NetworkIcons_1.CheckIcon size={12}color={AppColors_1.AppColors.purple}/>}
710
+ {a({icon:<NetworkIcons_1.ReduxIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.redux.autoRefresh"),description:o("settings.redux.autoRefreshDescription"),onPress:()=>ze(e=>!e),right:<react_native_1.View style={{width:22,height:22,borderRadius:6,borderWidth:2,borderColor:Y?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak,backgroundColor:Y?`${AppColors_1.AppColors.purple}1A`:"transparent",alignItems:"center",justifyContent:"center"}}>
711
+ {Y&&<NetworkIcons_1.CheckIcon size={12}color={AppColors_1.AppColors.purple}/>}
683
712
  </react_native_1.View>})}
684
713
  <react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.dividerColor}}/>
685
- {a({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.redux.defaultJsonExpandDepth"),description:o("settings.redux.defaultJsonExpandDepthDescription"),picker:{options:[1,2,3,5],selectedValue:te,onSelect:ze},isLast:!0})}
714
+ {a({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.redux.defaultJsonExpandDepth"),description:o("settings.redux.defaultJsonExpandDepthDescription"),picker:{options:[1,2,3,5],selectedValue:te,onSelect:Re},isLast:!0})}
686
715
  </react_native_1.View>
687
716
 
688
717
  <react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
689
- {a({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.redux.clearReduxState"),description:o(z?"settings.redux.clearReduxStateDescription":"settings.redux.clearReduxStateEmpty"),isLast:!0,onPress:()=>{He(null),react_native_1.Alert.alert(o("common.success"),o("settings.redux.reduxStateCleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
718
+ {a({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.redux.clearReduxState"),description:o(z?"settings.redux.clearReduxStateDescription":"settings.redux.clearReduxStateEmpty"),isLast:!0,onPress:()=>{Le(null),react_native_1.Alert.alert(o("common.success"),o("settings.redux.reduxStateCleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
690
719
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
691
720
  {o("common.clear")}
692
721
  </react_native_1.Text>
693
722
  </react_native_1.View>})}
694
723
  </react_native_1.View>
695
724
  <react_native_1.View style={{height:48}}/>
696
- </react_native_1.ScrollView>:i==="crash"?S=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
725
+ </react_native_1.ScrollView>:i==="crash"?V=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
697
726
  <react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:4}}>
698
- {a({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.crash.maxCrashLogs"),description:o("settings.crash.maxCrashLogsDesc"),numericInput:{value:ie,onChange:Le,min:5,max:50,placeholder:"Enter max crashes (5-50)"}})}
727
+ {a({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.crash.maxCrashLogs"),description:o("settings.crash.maxCrashLogsDesc"),numericInput:{value:ie,onChange:De,min:5,max:50,placeholder:"Enter max crashes (5-50)"}})}
699
728
  <react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.dividerColor}}/>
700
729
  {a({icon:<NetworkIcons_1.ShieldAlertIcon color={AppColors_1.AppColors.greenColor}size={16}/>,label:o("settings.crash.globalGuard"),description:o("settings.crash.globalGuardDesc"),isLast:!0,right:<react_native_1.View style={{paddingHorizontal:8,paddingVertical:4,borderRadius:6,backgroundColor:`${AppColors_1.AppColors.greenColor}1F`}}>
701
730
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,lineHeight:13,color:AppColors_1.AppColors.greenColor}}>
@@ -712,10 +741,10 @@
712
741
  </react_native_1.View>})}
713
742
  </react_native_1.View>
714
743
  <react_native_1.View style={{height:48}}/>
715
- </react_native_1.ScrollView>:i==="push"?S=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
744
+ </react_native_1.ScrollView>:i==="push"?V=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
716
745
 
717
746
  <react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:4}}>
718
- {a({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:"Max Push Notification Logs",description:"Buffer size limit for recorded push payloads (10-200)",numericInput:{value:De,onChange:Pe,min:10,max:200,placeholder:"Enter max logs (10-200)"}})}
747
+ {a({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:"Max Push Notification Logs",description:"Buffer size limit for recorded push payloads (10-200)",numericInput:{value:Pe,onChange:We,min:10,max:200,placeholder:"Enter max logs (10-200)"}})}
719
748
  <react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.dividerColor}}/>
720
749
  {a({icon:<NetworkIcons_1.BellIcon color={AppColors_1.AppColors.greenColor}size={16}/>,label:"Universal Ingestion Engine",description:"Captures any push domain (Salesforce, FCM, APNs, Expo, Braze, Custom)",isLast:!0,right:<react_native_1.View style={{paddingHorizontal:8,paddingVertical:4,borderRadius:6,backgroundColor:`${AppColors_1.AppColors.greenColor}1F`}}>
721
750
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,lineHeight:13,color:AppColors_1.AppColors.greenColor}}>
@@ -769,10 +798,10 @@
769
798
  </react_native_1.View>})}
770
799
  </react_native_1.View>
771
800
  <react_native_1.View style={{height:48}}/>
772
- </react_native_1.ScrollView>:i==="socket"?S=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
801
+ </react_native_1.ScrollView>:i==="socket"?V=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
773
802
 
774
803
  <react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:4}}>
775
- {a({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:"Max WebSocket Connections",description:"Ring buffer limit for active & closed socket sessions (10-200)",numericInput:{value:We,onChange:Oe,min:10,max:200,placeholder:"Enter max sockets (10-200)"}})}
804
+ {a({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:"Max WebSocket Connections",description:"Ring buffer limit for active & closed socket sessions (10-200)",numericInput:{value:Oe,onChange:Me,min:10,max:200,placeholder:"Enter max sockets (10-200)"}})}
776
805
  <react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.dividerColor}}/>
777
806
  {a({icon:<NetworkIcons_1.WebsocketIcon color={AppColors_1.AppColors.greenColor}size={16}/>,label:"Global WebSocket Interceptor",description:"Automatic capture for WebSocket, WSS & Socket.IO traffic",isLast:!0,right:<react_native_1.View style={{paddingHorizontal:8,paddingVertical:4,borderRadius:6,backgroundColor:`${AppColors_1.AppColors.greenColor}1F`}}>
778
807
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,lineHeight:13,color:AppColors_1.AppColors.greenColor}}>
@@ -819,14 +848,14 @@
819
848
 
820
849
 
821
850
  <react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
822
- {a({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("socket.clearTitle","Clear All WebSocket Logs").replace("All WebSocket Logs","Socket History"),description:`Permanently remove all ${L?.length||0} recorded sessions`,isLast:!0,onPress:()=>{Me(),react_native_1.Alert.alert(o("common.success","Success"),o("settings.socketHistoryCleared","WebSocket history cleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
851
+ {a({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("socket.clearTitle","Clear All WebSocket Logs").replace("All WebSocket Logs","Socket History"),description:`Permanently remove all ${L?.length||0} recorded sessions`,isLast:!0,onPress:()=>{Ee(),react_native_1.Alert.alert(o("common.success","Success"),o("settings.socketHistoryCleared","WebSocket history cleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
823
852
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
824
853
  {o("common.clear")}
825
854
  </react_native_1.Text>
826
855
  </react_native_1.View>})}
827
856
  </react_native_1.View>
828
857
  <react_native_1.View style={{height:48}}/>
829
- </react_native_1.ScrollView>:i==="media"&&(S=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
858
+ </react_native_1.ScrollView>:i==="media"&&(V=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
830
859
 
831
860
  <react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:8}}>
832
861
  <react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6,marginBottom:4}}>
@@ -837,7 +866,7 @@
837
866
  </react_native_1.View>
838
867
 
839
868
  <react_native_1.View style={{flexDirection:"row",flexWrap:"wrap",gap:8}}>
840
- <TouchableScale_1.default onPress={async()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),await capture_1.ScreenCapture.takeScreenshot({format:Y.toLowerCase(),quality:.9,hideInspector:_})&&((0,NativeInspector_1.triggerNativeHaptic)("success"),(0,toast_1.showToast)(o("settings.simulator.screenshotSaved","Screenshot captured and saved!")))}}style={{backgroundColor:`${AppColors_1.AppColors.purple}14`,borderColor:`${AppColors_1.AppColors.purple}33`,borderWidth:1,paddingHorizontal:12,paddingVertical:7,borderRadius:8,flexDirection:"row",alignItems:"center",gap:6}}>
869
+ <TouchableScale_1.default onPress={async()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),await capture_1.ScreenCapture.takeScreenshot({format:Z.toLowerCase(),quality:.9,hideInspector:_})&&((0,NativeInspector_1.triggerNativeHaptic)("success"),(0,toast_1.showToast)(o("settings.simulator.screenshotSaved","Screenshot captured and saved!")))}}style={{backgroundColor:`${AppColors_1.AppColors.purple}14`,borderColor:`${AppColors_1.AppColors.purple}33`,borderWidth:1,paddingHorizontal:12,paddingVertical:7,borderRadius:8,flexDirection:"row",alignItems:"center",gap:6}}>
841
870
  <NetworkIcons_1.CameraIcon color={AppColors_1.AppColors.purple}size={14}/>
842
871
  <react_native_1.Text style={{fontSize:11,fontFamily:AppFonts_1.AppFonts.interBold,color:AppColors_1.AppColors.purple}}>
843
872
  Take Screenshot
@@ -863,7 +892,7 @@
863
892
  </react_native_1.View>
864
893
 
865
894
  {a({icon:<NetworkIcons_1.ImageIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.imageFormat","Image Format"),description:o("settings.media.imageFormatDesc","Export formats (PNG lossless, JPEG lossy, WebP)"),right:<react_native_1.View style={{flexDirection:"row",gap:5}}>
866
- {["png","jpeg","webp"].map(e=>{const r=Y===e;return<TouchableScale_1.default key={e}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),ae(e),(0,toast_1.showToast)(`Screenshot format: ${e.toUpperCase()}`)}}style={{paddingHorizontal:9,paddingVertical:5,borderRadius:7,backgroundColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}2E`}}>
895
+ {["png","jpeg","webp"].map(e=>{const r=Z===e;return<TouchableScale_1.default key={e}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),ae(e),(0,toast_1.showToast)(`Screenshot format: ${e.toUpperCase()}`)}}style={{paddingHorizontal:9,paddingVertical:5,borderRadius:7,backgroundColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}2E`}}>
867
896
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}}>
868
897
  {e.toUpperCase()}
869
898
  </react_native_1.Text>
@@ -909,7 +938,7 @@
909
938
  </TouchableScale_1.default>})}
910
939
  </react_native_1.View>})}
911
940
 
912
- {a({icon:<NetworkIcons_1.GifIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.gifAutoOpt","Auto GIF Optimization"),description:o("settings.media.gifAutoOptDesc","Automatic palette reduction and frame skip for lightweight animated GIFs"),isLast:!0,onPress:()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),$(e=>!e),(0,toast_1.showToast)(`GIF optimization: ${m?"OFF":"ON"}`)},right:<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),$(e=>!e),(0,toast_1.showToast)(`GIF optimization: ${m?"OFF":"ON"}`)}}style={{paddingHorizontal:10,paddingVertical:5,borderRadius:7,backgroundColor:m?`${AppColors_1.AppColors.emerald500}26`:`${AppColors_1.AppColors.grayText}20`,borderWidth:1,borderColor:m?`${AppColors_1.AppColors.emerald500}4D`:`${AppColors_1.AppColors.grayText}33`}}>
941
+ {a({icon:<NetworkIcons_1.GifIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.gifAutoOpt","Auto GIF Optimization"),description:o("settings.media.gifAutoOptDesc","Automatic palette reduction and frame skip for lightweight animated GIFs"),isLast:!0,onPress:()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),W(e=>!e),(0,toast_1.showToast)(`GIF optimization: ${m?"OFF":"ON"}`)},right:<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),W(e=>!e),(0,toast_1.showToast)(`GIF optimization: ${m?"OFF":"ON"}`)}}style={{paddingHorizontal:10,paddingVertical:5,borderRadius:7,backgroundColor:m?`${AppColors_1.AppColors.emerald500}26`:`${AppColors_1.AppColors.grayText}20`,borderWidth:1,borderColor:m?`${AppColors_1.AppColors.emerald500}4D`:`${AppColors_1.AppColors.grayText}33`}}>
913
942
  <react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:m?AppColors_1.AppColors.emerald500:AppColors_1.AppColors.grayText}}>
914
943
  {m?"ON":"OFF"}
915
944
  </react_native_1.Text>
@@ -925,17 +954,17 @@
925
954
  </react_native_1.View>})}
926
955
  </react_native_1.View>
927
956
  <react_native_1.View style={{height:48}}/>
928
- </react_native_1.ScrollView>);const N=(0,react_1.useRef)(new react_native_1.Animated.Value(0)).current;return(0,react_1.useEffect)(()=>{i!=="main"&&(N.setValue(0),react_native_1.Animated.spring(N,{toValue:1,friction:8,tension:65,useNativeDriver:!0}).start())},[i]),<react_native_1.View style={{flex:1,backgroundColor:AppColors_1.AppColors.grayBackground}}>
957
+ </react_native_1.ScrollView>);const j=(0,react_1.useRef)(new react_native_1.Animated.Value(0)).current;return(0,react_1.useEffect)(()=>{i!=="main"&&(j.setValue(0),react_native_1.Animated.spring(j,{toValue:1,friction:8,tension:65,useNativeDriver:!0}).start())},[i]),<react_native_1.View style={{flex:1,backgroundColor:AppColors_1.AppColors.grayBackground}}>
929
958
 
930
959
  <react_native_1.View style={[react_native_1.StyleSheet.absoluteFill,i!=="main"&&{pointerEvents:"none"}]}>
931
- {Ge()}
960
+ {qe()}
932
961
  </react_native_1.View>
933
962
 
934
963
 
935
- {i!=="main"&&<react_native_1.Animated.View style={[react_native_1.StyleSheet.absoluteFill,{backgroundColor:AppColors_1.AppColors.grayBackground,opacity:N,transform:[{translateX:N.interpolate({inputRange:[0,1],outputRange:[30,0]})}]}]}>
936
- {S}
964
+ {i!=="main"&&<react_native_1.Animated.View style={[react_native_1.StyleSheet.absoluteFill,{backgroundColor:AppColors_1.AppColors.grayBackground,opacity:j,transform:[{translateX:j.interpolate({inputRange:[0,1],outputRange:[30,0]})}]}]}>
965
+ {V}
937
966
  </react_native_1.Animated.View>}
938
967
 
939
968
 
940
- <LanguageSelectorModal_1.LanguageSelectorModal visible={Ee}onClose={()=>de(!1)}/>
969
+ <LanguageSelectorModal_1.LanguageSelectorModal visible={je}onClose={()=>ge(!1)}/>
941
970
  </react_native_1.View>};exports.default=SettingsPanel;