@buoy-gg/shared-ui 7.0.74 → 7.0.76

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 (558) hide show
  1. package/lib/commonjs/JsModal.d.js +1 -0
  2. package/lib/commonjs/bugCase/capture.d.js +1 -0
  3. package/lib/commonjs/bugCase/capture.js +1 -0
  4. package/lib/commonjs/bugCase/format.d.js +1 -0
  5. package/lib/commonjs/bugCase/format.js +3 -0
  6. package/lib/commonjs/bugCase/index.d.js +1 -0
  7. package/lib/commonjs/bugCase/index.js +1 -0
  8. package/lib/commonjs/bugCase/lock.d.js +1 -0
  9. package/lib/commonjs/bugCase/lock.js +1 -0
  10. package/lib/commonjs/bugCase/recorder.d.js +1 -0
  11. package/lib/commonjs/bugCase/recorder.js +1 -0
  12. package/lib/commonjs/bugCase/scrub.d.js +1 -0
  13. package/lib/commonjs/bugCase/scrub.js +1 -0
  14. package/lib/commonjs/bugCase/steps.d.js +1 -0
  15. package/lib/commonjs/bugCase/steps.js +1 -0
  16. package/lib/commonjs/bugCase/types.d.js +1 -0
  17. package/lib/commonjs/bugCase/types.js +1 -0
  18. package/lib/commonjs/clipboard/autoDetectClipboard.d.js +1 -0
  19. package/lib/commonjs/clipboard/clipboard-impl.d.js +1 -0
  20. package/lib/commonjs/clipboard/copyToClipboard.d.js +1 -0
  21. package/lib/commonjs/clipboard/index.d.js +1 -0
  22. package/lib/commonjs/context/HintsContext.d.js +1 -0
  23. package/lib/commonjs/context/index.d.js +1 -0
  24. package/lib/commonjs/dataViewer/objectDiff.d.js +1 -0
  25. package/lib/commonjs/env/EnvironmentIndicator.d.js +1 -0
  26. package/lib/commonjs/env/EnvironmentSelector.d.js +1 -0
  27. package/lib/commonjs/env/EnvironmentSelectorInline.d.js +1 -0
  28. package/lib/commonjs/history/HistoryProvider.d.js +1 -0
  29. package/lib/commonjs/history/components/HistoryEntryRow.d.js +1 -0
  30. package/lib/commonjs/history/components/HistoryList.d.js +1 -0
  31. package/lib/commonjs/history/components/index.d.js +1 -0
  32. package/lib/commonjs/history/index.d.js +1 -0
  33. package/lib/commonjs/history/types.d.js +1 -0
  34. package/lib/commonjs/hooks/index.d.js +1 -0
  35. package/lib/commonjs/hooks/safe-area-impl.d.js +1 -0
  36. package/lib/commonjs/hooks/useChangeLog.d.js +1 -0
  37. package/lib/commonjs/hooks/useDeviceInfo.d.js +1 -0
  38. package/lib/commonjs/hooks/useEventStoreEvents.d.js +1 -0
  39. package/lib/commonjs/hooks/useFilterManager.d.js +1 -0
  40. package/lib/commonjs/hooks/usePersistedState.d.js +1 -0
  41. package/lib/commonjs/hooks/useSafeAreaInsets.d.js +1 -0
  42. package/lib/commonjs/icons/BenchmarkIcon.d.js +1 -0
  43. package/lib/commonjs/icons/EnvLaptopIcon.d.js +1 -0
  44. package/lib/commonjs/icons/IconBackground.d.js +1 -0
  45. package/lib/commonjs/icons/ReactQueryIcon.d.js +1 -0
  46. package/lib/commonjs/icons/RenderCountIcon.d.js +1 -0
  47. package/lib/commonjs/icons/RouteMapIcon.d.js +1 -0
  48. package/lib/commonjs/icons/SentryBugIcon.d.js +1 -0
  49. package/lib/commonjs/icons/StackPulseIcon.d.js +1 -0
  50. package/lib/commonjs/icons/StorageStackIcon.d.js +1 -0
  51. package/lib/commonjs/icons/WifiCircuitIcon.d.js +1 -0
  52. package/lib/commonjs/icons/index.d.js +1 -0
  53. package/lib/commonjs/icons/lucide-icons-original-full.d.js +1 -0
  54. package/lib/commonjs/icons/lucide-icons.d.js +1 -0
  55. package/lib/commonjs/icons/primitives/GlobeIcon.d.js +1 -0
  56. package/lib/commonjs/icons/primitives/icon-primitives.d.js +1 -0
  57. package/lib/commonjs/icons/primitives/index.d.js +1 -0
  58. package/lib/commonjs/index.d.js +1 -0
  59. package/lib/commonjs/index.js +1 -1
  60. package/lib/commonjs/license/AccountSetup.d.js +1 -0
  61. package/lib/commonjs/license/AccountSetupContent.d.js +1 -0
  62. package/lib/commonjs/license/AccountSetupContent.js +1 -1
  63. package/lib/commonjs/license/BuoyUpgradeSheet.d.js +1 -0
  64. package/lib/commonjs/license/FeatureGate.d.js +1 -0
  65. package/lib/commonjs/license/FreeAccountPrompt.d.js +1 -0
  66. package/lib/commonjs/license/accountRuntime.d.js +1 -0
  67. package/lib/commonjs/license/index.d.js +1 -0
  68. package/lib/commonjs/license/licenseModule.d.js +1 -0
  69. package/lib/commonjs/license/licenseModule.js +1 -1
  70. package/lib/commonjs/license/openPricing.d.js +1 -0
  71. package/lib/commonjs/license/tierLimits.d.js +1 -0
  72. package/lib/commonjs/logger/index-sentry.d.js +1 -0
  73. package/lib/commonjs/logger/index.d.js +1 -0
  74. package/lib/commonjs/logger/logDump.d.js +1 -0
  75. package/lib/commonjs/logger/types.d.js +1 -0
  76. package/lib/commonjs/settings/components/BubbleSettingsSection.d.js +1 -0
  77. package/lib/commonjs/settings/index.d.js +1 -0
  78. package/lib/commonjs/storage/buoyOwnership.d.js +1 -0
  79. package/lib/commonjs/storage/capacitorAppStorage.d.js +1 -0
  80. package/lib/commonjs/storage/definePersistedSetting.d.js +1 -0
  81. package/lib/commonjs/storage/devToolsStorageKeys.d.js +1 -0
  82. package/lib/commonjs/storage/devToolsStorageKeys.js +1 -1
  83. package/lib/commonjs/storage/index.d.js +1 -0
  84. package/lib/commonjs/stores/BaseEventStore.d.js +1 -0
  85. package/lib/commonjs/stores/ChangeLog.d.js +1 -0
  86. package/lib/commonjs/stores/createToolStore.d.js +1 -0
  87. package/lib/commonjs/stores/floatingToolStore.d.js +1 -0
  88. package/lib/commonjs/stores/ignoredPatternsCore.d.js +1 -0
  89. package/lib/commonjs/stores/ignoredPatternsStore.d.js +1 -0
  90. package/lib/commonjs/stores/ignoredPatternsStore.shared.d.js +1 -0
  91. package/lib/commonjs/stores/index.d.js +1 -0
  92. package/lib/commonjs/stores/teamSettingsStore.d.js +1 -0
  93. package/lib/commonjs/sync/keyedArrays.d.js +1 -0
  94. package/lib/commonjs/sync/settingsSync.d.js +1 -0
  95. package/lib/commonjs/sync/toolActionRegistry.d.js +1 -0
  96. package/lib/commonjs/sync/toolScreenHeader.d.js +1 -0
  97. package/lib/commonjs/sync/toolSyncAdapter.d.js +1 -0
  98. package/lib/commonjs/sync/toolUiBridge.d.js +1 -0
  99. package/lib/commonjs/sync/typedEdit.d.js +1 -0
  100. package/lib/commonjs/sync/valuePath.d.js +1 -0
  101. package/lib/commonjs/sync/valueShape.d.js +1 -0
  102. package/lib/commonjs/sync/wireBudget.d.js +1 -0
  103. package/lib/commonjs/sync/wireForm.d.js +1 -0
  104. package/lib/commonjs/tools/defineTool.d.js +1 -0
  105. package/lib/commonjs/ui/backgrounds/BackgroundSwitcher.d.js +1 -0
  106. package/lib/commonjs/ui/backgrounds/ToolBackground.d.js +1 -0
  107. package/lib/commonjs/ui/backgrounds/backgroundStore.d.js +1 -0
  108. package/lib/commonjs/ui/backgrounds/index.d.js +1 -0
  109. package/lib/commonjs/ui/backgrounds/primitives.d.js +1 -0
  110. package/lib/commonjs/ui/backgrounds/registry.d.js +1 -0
  111. package/lib/commonjs/ui/backgrounds/rng.d.js +1 -0
  112. package/lib/commonjs/ui/backgrounds/skyClock.d.js +1 -0
  113. package/lib/commonjs/ui/backgrounds/types.d.js +1 -0
  114. package/lib/commonjs/ui/backgrounds/variants/daylight.d.js +1 -0
  115. package/lib/commonjs/ui/backgrounds/variants/deepField.d.js +1 -0
  116. package/lib/commonjs/ui/backgrounds/variants/hyperspace.d.js +1 -0
  117. package/lib/commonjs/ui/backgrounds/variants/liveSky.d.js +1 -0
  118. package/lib/commonjs/ui/backgrounds/variants/meteors.d.js +1 -0
  119. package/lib/commonjs/ui/backgrounds/variants/moonlight.d.js +1 -0
  120. package/lib/commonjs/ui/backgrounds/variants/underwater.d.js +1 -0
  121. package/lib/commonjs/ui/backgrounds/variants/wormhole/motion.d.js +1 -0
  122. package/lib/commonjs/ui/backgrounds/variants/wormhole/textures.d.js +1 -0
  123. package/lib/commonjs/ui/backgrounds/variants/wormhole.d.js +1 -0
  124. package/lib/commonjs/ui/components/BackButton.d.js +1 -0
  125. package/lib/commonjs/ui/components/Badge.d.js +1 -0
  126. package/lib/commonjs/ui/components/ChangeRow.d.js +1 -0
  127. package/lib/commonjs/ui/components/ChipStrip.d.js +1 -0
  128. package/lib/commonjs/ui/components/ClipboardHintBanner.d.js +1 -0
  129. package/lib/commonjs/ui/components/CollapsibleSection.d.js +1 -0
  130. package/lib/commonjs/ui/components/CompactFilterChips.d.js +1 -0
  131. package/lib/commonjs/ui/components/CompactRow.d.js +1 -0
  132. package/lib/commonjs/ui/components/CopyButton.d.js +1 -0
  133. package/lib/commonjs/ui/components/DataInspector.d.js +1 -0
  134. package/lib/commonjs/ui/components/DetailView.d.js +1 -0
  135. package/lib/commonjs/ui/components/DetailViewToggle.d.js +1 -0
  136. package/lib/commonjs/ui/components/DevToolsCard.d.js +1 -0
  137. package/lib/commonjs/ui/components/DraggableHeader.d.js +1 -0
  138. package/lib/commonjs/ui/components/DynamicFilterView.d.js +1 -0
  139. package/lib/commonjs/ui/components/EmptyState.d.js +1 -0
  140. package/lib/commonjs/ui/components/EntityFilterView.d.js +1 -0
  141. package/lib/commonjs/ui/components/EventHistoryViewer/CompareBar.d.js +1 -0
  142. package/lib/commonjs/ui/components/EventHistoryViewer/DiffModeTabs.d.js +1 -0
  143. package/lib/commonjs/ui/components/EventHistoryViewer/EventHistoryViewer.d.js +1 -0
  144. package/lib/commonjs/ui/components/EventHistoryViewer/EventPickerModal.d.js +1 -0
  145. package/lib/commonjs/ui/components/EventHistoryViewer/ViewToggleCards.d.js +1 -0
  146. package/lib/commonjs/ui/components/EventHistoryViewer/index.d.js +1 -0
  147. package/lib/commonjs/ui/components/EventHistoryViewer/types.d.js +1 -0
  148. package/lib/commonjs/ui/components/EventListItem.d.js +1 -0
  149. package/lib/commonjs/ui/components/EventStepperFooter.d.js +1 -0
  150. package/lib/commonjs/ui/components/ExpandablePopover.d.js +1 -0
  151. package/lib/commonjs/ui/components/ExpandedInfoRow.d.js +1 -0
  152. package/lib/commonjs/ui/components/ExportPreview.d.js +1 -0
  153. package/lib/commonjs/ui/components/FilterComponents.d.js +1 -0
  154. package/lib/commonjs/ui/components/GripVerticalIcon.d.js +1 -0
  155. package/lib/commonjs/ui/components/HeaderSearchButton.d.js +1 -0
  156. package/lib/commonjs/ui/components/InfoRow.d.js +1 -0
  157. package/lib/commonjs/ui/components/ListItem.d.js +1 -0
  158. package/lib/commonjs/ui/components/ModalHeader.d.js +1 -0
  159. package/lib/commonjs/ui/components/ModalHintBanner.d.js +1 -0
  160. package/lib/commonjs/ui/components/Pill.d.js +1 -0
  161. package/lib/commonjs/ui/components/PowerToggleButton.d.js +1 -0
  162. package/lib/commonjs/ui/components/SearchBar.d.js +1 -0
  163. package/lib/commonjs/ui/components/SectionHeader.d.js +1 -0
  164. package/lib/commonjs/ui/components/StatsCard.d.js +1 -0
  165. package/lib/commonjs/ui/components/StatusIndicator.d.js +1 -0
  166. package/lib/commonjs/ui/components/StorageTypeBadge.d.js +1 -0
  167. package/lib/commonjs/ui/components/TabSelector.d.js +1 -0
  168. package/lib/commonjs/ui/components/TimeDisplay.d.js +1 -0
  169. package/lib/commonjs/ui/components/ToggleRow.d.js +1 -0
  170. package/lib/commonjs/ui/components/ToolButton.d.js +1 -0
  171. package/lib/commonjs/ui/components/ToolEmptyState.d.js +1 -0
  172. package/lib/commonjs/ui/components/ToolFooter.d.js +1 -0
  173. package/lib/commonjs/ui/components/ValueTypeBadge.d.js +1 -0
  174. package/lib/commonjs/ui/components/WindowControls.d.js +1 -0
  175. package/lib/commonjs/ui/components/index.d.js +1 -0
  176. package/lib/commonjs/ui/components/windowControlsSetting.d.js +1 -0
  177. package/lib/commonjs/ui/components/windowDrag.d.js +1 -0
  178. package/lib/commonjs/ui/console/CyberpunkButtonOutline.d.js +1 -0
  179. package/lib/commonjs/ui/console/CyberpunkIconContainer.d.js +1 -0
  180. package/lib/commonjs/ui/console/CyberpunkSectionButton.d.js +1 -0
  181. package/lib/commonjs/ui/floating/FloatingTool.d.js +1 -0
  182. package/lib/commonjs/ui/floating/FloatingToolHost.d.js +1 -0
  183. package/lib/commonjs/ui/floating/onboardingConstants.d.js +1 -0
  184. package/lib/commonjs/ui/fonts.d.js +1 -0
  185. package/lib/commonjs/ui/gameUI/components/GameUICollapsibleSection.d.js +1 -0
  186. package/lib/commonjs/ui/gameUI/components/GameUICompactStats.d.js +1 -0
  187. package/lib/commonjs/ui/gameUI/components/GameUIIssuesList.d.js +1 -0
  188. package/lib/commonjs/ui/gameUI/components/GameUIStatusHeader.d.js +1 -0
  189. package/lib/commonjs/ui/gameUI/constants/gameUIColors.d.js +1 -0
  190. package/lib/commonjs/ui/gameUI/constants/macOSDesignSystemColors.d.js +1 -0
  191. package/lib/commonjs/ui/gameUI/hooks/useGameUIAlertState.d.js +1 -0
  192. package/lib/commonjs/ui/gameUI/index.d.js +1 -0
  193. package/lib/commonjs/ui/index.d.js +1 -0
  194. package/lib/commonjs/ui/listPresets.d.js +1 -0
  195. package/lib/commonjs/ui/night/nightTheme.d.js +1 -0
  196. package/lib/commonjs/ui/night/primitives.d.js +1 -0
  197. package/lib/commonjs/ui/otto/OttoSceneView.d.js +1 -0
  198. package/lib/commonjs/ui/otto/OttoSprite.d.js +1 -0
  199. package/lib/commonjs/ui/otto/index.d.js +1 -0
  200. package/lib/commonjs/ui/otto/ottoEngine.d.js +1 -0
  201. package/lib/commonjs/ui/otto/ottoScenes.d.js +1 -0
  202. package/lib/commonjs/ui/otto/ottoSheet.d.js +1 -0
  203. package/lib/commonjs/ui/qr/QrCodeView.d.js +1 -0
  204. package/lib/commonjs/ui/qr/qrcodegen.d.js +1 -0
  205. package/lib/commonjs/ui/systemFont.d.js +1 -0
  206. package/lib/commonjs/ui/toolTheme.d.js +1 -0
  207. package/lib/commonjs/utils/absoluteFill.d.js +1 -0
  208. package/lib/commonjs/utils/asyncStorageNative.d.js +1 -0
  209. package/lib/commonjs/utils/browserAsyncStorage.d.js +1 -0
  210. package/lib/commonjs/utils/browserNavigation.d.js +1 -0
  211. package/lib/commonjs/utils/devServer.d.js +1 -0
  212. package/lib/commonjs/utils/displayValue.d.js +1 -0
  213. package/lib/commonjs/utils/domRuntime.d.js +1 -0
  214. package/lib/commonjs/utils/domRuntime.js +1 -1
  215. package/lib/commonjs/utils/expoRouterModule.d.js +1 -0
  216. package/lib/commonjs/utils/formatting/dataFormatting.d.js +1 -0
  217. package/lib/commonjs/utils/formatting/httpFormatting.d.js +1 -0
  218. package/lib/commonjs/utils/formatting/index.d.js +1 -0
  219. package/lib/commonjs/utils/getSafeAreaInsets.d.js +1 -0
  220. package/lib/commonjs/utils/index.d.js +1 -0
  221. package/lib/commonjs/utils/index.js +1 -1
  222. package/lib/commonjs/utils/loadOptionalModule.d.js +1 -0
  223. package/lib/commonjs/utils/loadToolModule.d.js +1 -0
  224. package/lib/commonjs/utils/minimalSuperJSON.d.js +1 -0
  225. package/lib/commonjs/utils/minimalSuperJSON.js +1 -1
  226. package/lib/commonjs/utils/modalStorage.d.js +1 -0
  227. package/lib/commonjs/utils/nativeWeb.js +1 -1
  228. package/lib/commonjs/utils/persistentStorage.d.js +1 -0
  229. package/lib/commonjs/utils/realAppState.d.js +1 -0
  230. package/lib/commonjs/utils/realNow.d.js +1 -0
  231. package/lib/commonjs/utils/reloadApp.d.js +1 -0
  232. package/lib/commonjs/utils/reloadPlatform.d.js +1 -0
  233. package/lib/commonjs/utils/renderCaptureRegistry.d.js +1 -0
  234. package/lib/commonjs/utils/safeExpoRouter.d.js +1 -0
  235. package/lib/commonjs/utils/safeStringify.d.js +1 -0
  236. package/lib/commonjs/utils/snapshotProviderKit.d.js +1 -0
  237. package/lib/commonjs/utils/stateSnapshotRegistry.d.js +1 -0
  238. package/lib/commonjs/utils/stateTools.d.js +1 -0
  239. package/lib/commonjs/utils/storageWrites.d.js +1 -0
  240. package/lib/commonjs/utils/subscribable.d.js +1 -0
  241. package/lib/commonjs/utils/subscriberCountNotifier.d.js +1 -0
  242. package/lib/commonjs/utils/time/RelativeTime.d.js +1 -0
  243. package/lib/commonjs/utils/time/TickContext.d.js +1 -0
  244. package/lib/commonjs/utils/time/formatRelativeTime.d.js +1 -0
  245. package/lib/commonjs/utils/time/index.d.js +1 -0
  246. package/lib/commonjs/utils/time/useRelativeTime.d.js +1 -0
  247. package/lib/commonjs/utils/toolModules.d.js +1 -0
  248. package/lib/commonjs/utils/typeHelpers.d.js +1 -0
  249. package/lib/commonjs/utils/valueFormatting.d.js +1 -0
  250. package/lib/module/JsModal.d.js +1 -0
  251. package/lib/module/bugCase/capture.d.js +1 -0
  252. package/lib/module/bugCase/capture.js +1 -0
  253. package/lib/module/bugCase/format.d.js +1 -0
  254. package/lib/module/bugCase/format.js +3 -0
  255. package/lib/module/bugCase/index.d.js +1 -0
  256. package/lib/module/bugCase/index.js +1 -0
  257. package/lib/module/bugCase/lock.d.js +1 -0
  258. package/lib/module/bugCase/lock.js +1 -0
  259. package/lib/module/bugCase/recorder.d.js +1 -0
  260. package/lib/module/bugCase/recorder.js +1 -0
  261. package/lib/module/bugCase/scrub.d.js +1 -0
  262. package/lib/module/bugCase/scrub.js +1 -0
  263. package/lib/module/bugCase/steps.d.js +1 -0
  264. package/lib/module/bugCase/steps.js +1 -0
  265. package/lib/module/bugCase/types.d.js +1 -0
  266. package/lib/module/bugCase/types.js +1 -0
  267. package/lib/module/clipboard/autoDetectClipboard.d.js +1 -0
  268. package/lib/module/clipboard/clipboard-impl.d.js +1 -0
  269. package/lib/module/clipboard/copyToClipboard.d.js +1 -0
  270. package/lib/module/clipboard/index.d.js +1 -0
  271. package/lib/module/context/HintsContext.d.js +1 -0
  272. package/lib/module/context/index.d.js +1 -0
  273. package/lib/module/dataViewer/objectDiff.d.js +1 -0
  274. package/lib/module/env/EnvironmentIndicator.d.js +1 -0
  275. package/lib/module/env/EnvironmentSelector.d.js +1 -0
  276. package/lib/module/env/EnvironmentSelectorInline.d.js +1 -0
  277. package/lib/module/history/HistoryProvider.d.js +1 -0
  278. package/lib/module/history/components/HistoryEntryRow.d.js +1 -0
  279. package/lib/module/history/components/HistoryList.d.js +1 -0
  280. package/lib/module/history/components/index.d.js +1 -0
  281. package/lib/module/history/index.d.js +1 -0
  282. package/lib/module/history/types.d.js +1 -0
  283. package/lib/module/hooks/index.d.js +1 -0
  284. package/lib/module/hooks/safe-area-impl.d.js +1 -0
  285. package/lib/module/hooks/useChangeLog.d.js +1 -0
  286. package/lib/module/hooks/useDeviceInfo.d.js +1 -0
  287. package/lib/module/hooks/useEventStoreEvents.d.js +1 -0
  288. package/lib/module/hooks/useFilterManager.d.js +1 -0
  289. package/lib/module/hooks/usePersistedState.d.js +1 -0
  290. package/lib/module/hooks/useSafeAreaInsets.d.js +1 -0
  291. package/lib/module/icons/BenchmarkIcon.d.js +1 -0
  292. package/lib/module/icons/EnvLaptopIcon.d.js +1 -0
  293. package/lib/module/icons/IconBackground.d.js +1 -0
  294. package/lib/module/icons/ReactQueryIcon.d.js +1 -0
  295. package/lib/module/icons/RenderCountIcon.d.js +1 -0
  296. package/lib/module/icons/RouteMapIcon.d.js +1 -0
  297. package/lib/module/icons/SentryBugIcon.d.js +1 -0
  298. package/lib/module/icons/StackPulseIcon.d.js +1 -0
  299. package/lib/module/icons/StorageStackIcon.d.js +1 -0
  300. package/lib/module/icons/WifiCircuitIcon.d.js +1 -0
  301. package/lib/module/icons/index.d.js +1 -0
  302. package/lib/module/icons/lucide-icons-original-full.d.js +1 -0
  303. package/lib/module/icons/lucide-icons.d.js +1 -0
  304. package/lib/module/icons/primitives/GlobeIcon.d.js +1 -0
  305. package/lib/module/icons/primitives/icon-primitives.d.js +1 -0
  306. package/lib/module/icons/primitives/index.d.js +1 -0
  307. package/lib/module/index.d.js +1 -0
  308. package/lib/module/index.js +1 -1
  309. package/lib/module/license/AccountSetup.d.js +1 -0
  310. package/lib/module/license/AccountSetupContent.d.js +1 -0
  311. package/lib/module/license/AccountSetupContent.js +1 -1
  312. package/lib/module/license/BuoyUpgradeSheet.d.js +1 -0
  313. package/lib/module/license/FeatureGate.d.js +1 -0
  314. package/lib/module/license/FreeAccountPrompt.d.js +1 -0
  315. package/lib/module/license/accountRuntime.d.js +1 -0
  316. package/lib/module/license/index.d.js +1 -0
  317. package/lib/module/license/licenseModule.d.js +1 -0
  318. package/lib/module/license/licenseModule.js +1 -1
  319. package/lib/module/license/openPricing.d.js +1 -0
  320. package/lib/module/license/tierLimits.d.js +1 -0
  321. package/lib/module/logger/index-sentry.d.js +1 -0
  322. package/lib/module/logger/index.d.js +1 -0
  323. package/lib/module/logger/logDump.d.js +1 -0
  324. package/lib/module/logger/types.d.js +1 -0
  325. package/lib/module/settings/components/BubbleSettingsSection.d.js +1 -0
  326. package/lib/module/settings/index.d.js +1 -0
  327. package/lib/module/storage/buoyOwnership.d.js +1 -0
  328. package/lib/module/storage/capacitorAppStorage.d.js +1 -0
  329. package/lib/module/storage/definePersistedSetting.d.js +1 -0
  330. package/lib/module/storage/devToolsStorageKeys.d.js +1 -0
  331. package/lib/module/storage/devToolsStorageKeys.js +1 -1
  332. package/lib/module/storage/index.d.js +1 -0
  333. package/lib/module/stores/BaseEventStore.d.js +1 -0
  334. package/lib/module/stores/ChangeLog.d.js +1 -0
  335. package/lib/module/stores/createToolStore.d.js +1 -0
  336. package/lib/module/stores/floatingToolStore.d.js +1 -0
  337. package/lib/module/stores/ignoredPatternsCore.d.js +1 -0
  338. package/lib/module/stores/ignoredPatternsStore.d.js +1 -0
  339. package/lib/module/stores/ignoredPatternsStore.shared.d.js +1 -0
  340. package/lib/module/stores/index.d.js +1 -0
  341. package/lib/module/stores/teamSettingsStore.d.js +1 -0
  342. package/lib/module/sync/keyedArrays.d.js +1 -0
  343. package/lib/module/sync/settingsSync.d.js +1 -0
  344. package/lib/module/sync/toolActionRegistry.d.js +1 -0
  345. package/lib/module/sync/toolScreenHeader.d.js +1 -0
  346. package/lib/module/sync/toolSyncAdapter.d.js +1 -0
  347. package/lib/module/sync/toolUiBridge.d.js +1 -0
  348. package/lib/module/sync/typedEdit.d.js +1 -0
  349. package/lib/module/sync/valuePath.d.js +1 -0
  350. package/lib/module/sync/valueShape.d.js +1 -0
  351. package/lib/module/sync/wireBudget.d.js +1 -0
  352. package/lib/module/sync/wireForm.d.js +1 -0
  353. package/lib/module/tools/defineTool.d.js +1 -0
  354. package/lib/module/ui/backgrounds/BackgroundSwitcher.d.js +1 -0
  355. package/lib/module/ui/backgrounds/ToolBackground.d.js +1 -0
  356. package/lib/module/ui/backgrounds/backgroundStore.d.js +1 -0
  357. package/lib/module/ui/backgrounds/index.d.js +1 -0
  358. package/lib/module/ui/backgrounds/primitives.d.js +1 -0
  359. package/lib/module/ui/backgrounds/registry.d.js +1 -0
  360. package/lib/module/ui/backgrounds/rng.d.js +1 -0
  361. package/lib/module/ui/backgrounds/skyClock.d.js +1 -0
  362. package/lib/module/ui/backgrounds/types.d.js +1 -0
  363. package/lib/module/ui/backgrounds/variants/daylight.d.js +1 -0
  364. package/lib/module/ui/backgrounds/variants/deepField.d.js +1 -0
  365. package/lib/module/ui/backgrounds/variants/hyperspace.d.js +1 -0
  366. package/lib/module/ui/backgrounds/variants/liveSky.d.js +1 -0
  367. package/lib/module/ui/backgrounds/variants/meteors.d.js +1 -0
  368. package/lib/module/ui/backgrounds/variants/moonlight.d.js +1 -0
  369. package/lib/module/ui/backgrounds/variants/underwater.d.js +1 -0
  370. package/lib/module/ui/backgrounds/variants/wormhole/motion.d.js +1 -0
  371. package/lib/module/ui/backgrounds/variants/wormhole/textures.d.js +1 -0
  372. package/lib/module/ui/backgrounds/variants/wormhole.d.js +1 -0
  373. package/lib/module/ui/components/BackButton.d.js +1 -0
  374. package/lib/module/ui/components/Badge.d.js +1 -0
  375. package/lib/module/ui/components/ChangeRow.d.js +1 -0
  376. package/lib/module/ui/components/ChipStrip.d.js +1 -0
  377. package/lib/module/ui/components/ClipboardHintBanner.d.js +1 -0
  378. package/lib/module/ui/components/CollapsibleSection.d.js +1 -0
  379. package/lib/module/ui/components/CompactFilterChips.d.js +1 -0
  380. package/lib/module/ui/components/CompactRow.d.js +1 -0
  381. package/lib/module/ui/components/CopyButton.d.js +1 -0
  382. package/lib/module/ui/components/DataInspector.d.js +1 -0
  383. package/lib/module/ui/components/DetailView.d.js +1 -0
  384. package/lib/module/ui/components/DetailViewToggle.d.js +1 -0
  385. package/lib/module/ui/components/DevToolsCard.d.js +1 -0
  386. package/lib/module/ui/components/DraggableHeader.d.js +1 -0
  387. package/lib/module/ui/components/DynamicFilterView.d.js +1 -0
  388. package/lib/module/ui/components/EmptyState.d.js +1 -0
  389. package/lib/module/ui/components/EntityFilterView.d.js +1 -0
  390. package/lib/module/ui/components/EventHistoryViewer/CompareBar.d.js +1 -0
  391. package/lib/module/ui/components/EventHistoryViewer/DiffModeTabs.d.js +1 -0
  392. package/lib/module/ui/components/EventHistoryViewer/EventHistoryViewer.d.js +1 -0
  393. package/lib/module/ui/components/EventHistoryViewer/EventPickerModal.d.js +1 -0
  394. package/lib/module/ui/components/EventHistoryViewer/ViewToggleCards.d.js +1 -0
  395. package/lib/module/ui/components/EventHistoryViewer/index.d.js +1 -0
  396. package/lib/module/ui/components/EventHistoryViewer/types.d.js +1 -0
  397. package/lib/module/ui/components/EventListItem.d.js +1 -0
  398. package/lib/module/ui/components/EventStepperFooter.d.js +1 -0
  399. package/lib/module/ui/components/ExpandablePopover.d.js +1 -0
  400. package/lib/module/ui/components/ExpandedInfoRow.d.js +1 -0
  401. package/lib/module/ui/components/ExportPreview.d.js +1 -0
  402. package/lib/module/ui/components/FilterComponents.d.js +1 -0
  403. package/lib/module/ui/components/GripVerticalIcon.d.js +1 -0
  404. package/lib/module/ui/components/HeaderSearchButton.d.js +1 -0
  405. package/lib/module/ui/components/InfoRow.d.js +1 -0
  406. package/lib/module/ui/components/ListItem.d.js +1 -0
  407. package/lib/module/ui/components/ModalHeader.d.js +1 -0
  408. package/lib/module/ui/components/ModalHintBanner.d.js +1 -0
  409. package/lib/module/ui/components/Pill.d.js +1 -0
  410. package/lib/module/ui/components/PowerToggleButton.d.js +1 -0
  411. package/lib/module/ui/components/SearchBar.d.js +1 -0
  412. package/lib/module/ui/components/SectionHeader.d.js +1 -0
  413. package/lib/module/ui/components/StatsCard.d.js +1 -0
  414. package/lib/module/ui/components/StatusIndicator.d.js +1 -0
  415. package/lib/module/ui/components/StorageTypeBadge.d.js +1 -0
  416. package/lib/module/ui/components/TabSelector.d.js +1 -0
  417. package/lib/module/ui/components/TimeDisplay.d.js +1 -0
  418. package/lib/module/ui/components/ToggleRow.d.js +1 -0
  419. package/lib/module/ui/components/ToolButton.d.js +1 -0
  420. package/lib/module/ui/components/ToolEmptyState.d.js +1 -0
  421. package/lib/module/ui/components/ToolFooter.d.js +1 -0
  422. package/lib/module/ui/components/ValueTypeBadge.d.js +1 -0
  423. package/lib/module/ui/components/WindowControls.d.js +1 -0
  424. package/lib/module/ui/components/index.d.js +1 -0
  425. package/lib/module/ui/components/windowControlsSetting.d.js +1 -0
  426. package/lib/module/ui/components/windowDrag.d.js +1 -0
  427. package/lib/module/ui/console/CyberpunkButtonOutline.d.js +1 -0
  428. package/lib/module/ui/console/CyberpunkIconContainer.d.js +1 -0
  429. package/lib/module/ui/console/CyberpunkSectionButton.d.js +1 -0
  430. package/lib/module/ui/floating/FloatingTool.d.js +1 -0
  431. package/lib/module/ui/floating/FloatingToolHost.d.js +1 -0
  432. package/lib/module/ui/floating/onboardingConstants.d.js +1 -0
  433. package/lib/module/ui/fonts.d.js +1 -0
  434. package/lib/module/ui/gameUI/components/GameUICollapsibleSection.d.js +1 -0
  435. package/lib/module/ui/gameUI/components/GameUICompactStats.d.js +1 -0
  436. package/lib/module/ui/gameUI/components/GameUIIssuesList.d.js +1 -0
  437. package/lib/module/ui/gameUI/components/GameUIStatusHeader.d.js +1 -0
  438. package/lib/module/ui/gameUI/constants/gameUIColors.d.js +1 -0
  439. package/lib/module/ui/gameUI/constants/macOSDesignSystemColors.d.js +1 -0
  440. package/lib/module/ui/gameUI/hooks/useGameUIAlertState.d.js +1 -0
  441. package/lib/module/ui/gameUI/index.d.js +1 -0
  442. package/lib/module/ui/index.d.js +1 -0
  443. package/lib/module/ui/listPresets.d.js +1 -0
  444. package/lib/module/ui/night/nightTheme.d.js +1 -0
  445. package/lib/module/ui/night/primitives.d.js +1 -0
  446. package/lib/module/ui/otto/OttoSceneView.d.js +1 -0
  447. package/lib/module/ui/otto/OttoSprite.d.js +1 -0
  448. package/lib/module/ui/otto/index.d.js +1 -0
  449. package/lib/module/ui/otto/ottoEngine.d.js +1 -0
  450. package/lib/module/ui/otto/ottoScenes.d.js +1 -0
  451. package/lib/module/ui/otto/ottoSheet.d.js +1 -0
  452. package/lib/module/ui/qr/QrCodeView.d.js +1 -0
  453. package/lib/module/ui/qr/qrcodegen.d.js +1 -0
  454. package/lib/module/ui/systemFont.d.js +1 -0
  455. package/lib/module/ui/toolTheme.d.js +1 -0
  456. package/lib/module/utils/absoluteFill.d.js +1 -0
  457. package/lib/module/utils/asyncStorageNative.d.js +1 -0
  458. package/lib/module/utils/browserAsyncStorage.d.js +1 -0
  459. package/lib/module/utils/browserNavigation.d.js +1 -0
  460. package/lib/module/utils/devServer.d.js +1 -0
  461. package/lib/module/utils/displayValue.d.js +1 -0
  462. package/lib/module/utils/domRuntime.d.js +1 -0
  463. package/lib/module/utils/domRuntime.js +1 -1
  464. package/lib/module/utils/expoRouterModule.d.js +1 -0
  465. package/lib/module/utils/formatting/dataFormatting.d.js +1 -0
  466. package/lib/module/utils/formatting/httpFormatting.d.js +1 -0
  467. package/lib/module/utils/formatting/index.d.js +1 -0
  468. package/lib/module/utils/getSafeAreaInsets.d.js +1 -0
  469. package/lib/module/utils/index.d.js +1 -0
  470. package/lib/module/utils/index.js +1 -1
  471. package/lib/module/utils/loadOptionalModule.d.js +1 -0
  472. package/lib/module/utils/loadToolModule.d.js +1 -0
  473. package/lib/module/utils/minimalSuperJSON.d.js +1 -0
  474. package/lib/module/utils/minimalSuperJSON.js +1 -1
  475. package/lib/module/utils/modalStorage.d.js +1 -0
  476. package/lib/module/utils/nativeWeb.js +1 -1
  477. package/lib/module/utils/persistentStorage.d.js +1 -0
  478. package/lib/module/utils/realAppState.d.js +1 -0
  479. package/lib/module/utils/realNow.d.js +1 -0
  480. package/lib/module/utils/reloadApp.d.js +1 -0
  481. package/lib/module/utils/reloadPlatform.d.js +1 -0
  482. package/lib/module/utils/renderCaptureRegistry.d.js +1 -0
  483. package/lib/module/utils/safeExpoRouter.d.js +1 -0
  484. package/lib/module/utils/safeStringify.d.js +1 -0
  485. package/lib/module/utils/snapshotProviderKit.d.js +1 -0
  486. package/lib/module/utils/stateSnapshotRegistry.d.js +1 -0
  487. package/lib/module/utils/stateTools.d.js +1 -0
  488. package/lib/module/utils/storageWrites.d.js +1 -0
  489. package/lib/module/utils/subscribable.d.js +1 -0
  490. package/lib/module/utils/subscriberCountNotifier.d.js +1 -0
  491. package/lib/module/utils/time/RelativeTime.d.js +1 -0
  492. package/lib/module/utils/time/TickContext.d.js +1 -0
  493. package/lib/module/utils/time/formatRelativeTime.d.js +1 -0
  494. package/lib/module/utils/time/index.d.js +1 -0
  495. package/lib/module/utils/time/useRelativeTime.d.js +1 -0
  496. package/lib/module/utils/toolModules.d.js +1 -0
  497. package/lib/module/utils/typeHelpers.d.js +1 -0
  498. package/lib/module/utils/valueFormatting.d.js +1 -0
  499. package/lib/typescript/commonjs/bugCase/capture.d.ts +20 -0
  500. package/lib/typescript/commonjs/bugCase/format.d.ts +15 -0
  501. package/lib/typescript/commonjs/bugCase/index.d.ts +14 -0
  502. package/lib/typescript/commonjs/bugCase/lock.d.ts +99 -0
  503. package/lib/typescript/commonjs/bugCase/recorder.d.ts +8 -0
  504. package/lib/typescript/commonjs/bugCase/scrub.d.ts +59 -0
  505. package/lib/typescript/commonjs/bugCase/steps.d.ts +44 -0
  506. package/lib/typescript/commonjs/bugCase/types.d.ts +92 -0
  507. package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts +1 -1
  508. package/lib/typescript/commonjs/index.d.ts +1 -0
  509. package/lib/typescript/commonjs/license/AccountSetupContent.d.ts +1 -1
  510. package/lib/typescript/commonjs/storage/devToolsStorageKeys.d.ts +12 -0
  511. package/lib/typescript/commonjs/utils/index.d.ts +1 -1
  512. package/lib/typescript/commonjs/utils/minimalSuperJSON.d.ts +6 -0
  513. package/lib/typescript/commonjs/utils/nativeWeb.d.ts +8 -1
  514. package/lib/typescript/module/bugCase/capture.d.ts +20 -0
  515. package/lib/typescript/module/bugCase/format.d.ts +15 -0
  516. package/lib/typescript/module/bugCase/index.d.ts +14 -0
  517. package/lib/typescript/module/bugCase/lock.d.ts +99 -0
  518. package/lib/typescript/module/bugCase/recorder.d.ts +8 -0
  519. package/lib/typescript/module/bugCase/scrub.d.ts +59 -0
  520. package/lib/typescript/module/bugCase/steps.d.ts +44 -0
  521. package/lib/typescript/module/bugCase/types.d.ts +92 -0
  522. package/lib/typescript/module/hooks/safe-area-impl.d.ts +1 -1
  523. package/lib/typescript/module/index.d.ts +1 -0
  524. package/lib/typescript/module/license/AccountSetupContent.d.ts +1 -1
  525. package/lib/typescript/module/storage/devToolsStorageKeys.d.ts +12 -0
  526. package/lib/typescript/module/utils/index.d.ts +1 -1
  527. package/lib/typescript/module/utils/minimalSuperJSON.d.ts +6 -0
  528. package/lib/typescript/module/utils/nativeWeb.d.ts +8 -1
  529. package/lib/web/chunks/chunk-3HELV44Y.mjs +1 -1
  530. package/lib/web/chunks/chunk-4HIK66DZ.mjs +1 -1
  531. package/lib/web/chunks/chunk-4QFANR3K.mjs +1 -0
  532. package/lib/web/chunks/chunk-5G6RSRP4.mjs +1 -1
  533. package/lib/web/chunks/chunk-7CBB7NEY.mjs +1 -1
  534. package/lib/web/chunks/chunk-CJTGUGMQ.mjs +1 -1
  535. package/lib/web/chunks/chunk-DJD42EPL.mjs +1 -0
  536. package/lib/web/chunks/chunk-FPMEM2QO.mjs +1 -0
  537. package/lib/web/chunks/chunk-G27JNYZ3.mjs +2 -2
  538. package/lib/web/chunks/chunk-GMM6TGFO.mjs +1 -1
  539. package/lib/web/chunks/chunk-GN75GBYZ.mjs +1 -0
  540. package/lib/web/chunks/chunk-GTRVOJUH.mjs +1 -0
  541. package/lib/web/chunks/chunk-HIAN3HBD.mjs +1 -1
  542. package/lib/web/chunks/chunk-LIZRXZGQ.mjs +6 -0
  543. package/lib/web/chunks/chunk-N5Z7Z2GY.mjs +1 -0
  544. package/lib/web/chunks/chunk-OVTASJUJ.mjs +1 -0
  545. package/lib/web/chunks/chunk-QXVVA64P.mjs +1 -0
  546. package/lib/web/chunks/chunk-RMLVR5LI.mjs +1 -1
  547. package/lib/web/chunks/chunk-UQRRKDKX.mjs +3 -3
  548. package/lib/web/chunks/chunk-XUYN4NOF.mjs +1 -0
  549. package/lib/web/chunks/chunk-ZRZQZF2T.mjs +15 -0
  550. package/lib/web/chunks/persistentStorage.web-IBLIV62L.mjs +1 -0
  551. package/lib/web/dataViewer.mjs +1 -1
  552. package/lib/web/history.mjs +1 -1
  553. package/lib/web/hooks.mjs +1 -1
  554. package/lib/web/index.mjs +7 -3
  555. package/lib/web/native.mjs +1 -1
  556. package/lib/web/ui.mjs +1 -1
  557. package/lib/web/utils.mjs +1 -1
  558. package/package.json +5 -5
@@ -0,0 +1,92 @@
1
+ /**
2
+ * BugCase v1 — what one bug report holds. Every field was earned in the
3
+ * bug-links labs (research/bug-links-2026-10/LEDGER.md); the comment says by
4
+ * which bug it was needed.
5
+ */
6
+ import type { SuperJSONResult } from "../utils/minimalSuperJSON";
7
+ import type { ScrubbedItem } from "./scrub";
8
+ import type { BugCaseStep, BugCaseTouch } from "./steps";
9
+ export declare const BUG_CASE_VERSION = 1;
10
+ export interface BugCaseNetworkCall {
11
+ t: number;
12
+ method: string;
13
+ url: string;
14
+ status?: number;
15
+ /** Transport failure ("Network request failed", a timeout) instead of a status. */
16
+ error?: string;
17
+ durationMs?: number;
18
+ requestHeaders?: Record<string, string>;
19
+ requestData?: unknown;
20
+ responseHeaders?: Record<string, string>;
21
+ responseData?: unknown;
22
+ /** True when a body was over the case budget and left out. */
23
+ bodyOmitted?: boolean;
24
+ }
25
+ export interface BugCaseConsoleLine {
26
+ t: number;
27
+ level: string;
28
+ text: string;
29
+ }
30
+ export interface BugCaseScreenElement {
31
+ name: string;
32
+ role?: string;
33
+ testID?: string;
34
+ label?: string;
35
+ text?: string;
36
+ control?: string;
37
+ value?: number | boolean;
38
+ }
39
+ /** A part the capture tried to take and could not, so a reader knows it is missing. */
40
+ export interface BugCaseMissing {
41
+ part: string;
42
+ reason: string;
43
+ }
44
+ export interface BugCase {
45
+ v: typeof BUG_CASE_VERSION;
46
+ createdAt: string;
47
+ note?: string;
48
+ app: {
49
+ platform: string;
50
+ os: string;
51
+ appearance?: string;
52
+ locale?: string;
53
+ timeZone?: string;
54
+ window?: {
55
+ width: number;
56
+ height: number;
57
+ scale?: number;
58
+ fontScale?: number;
59
+ };
60
+ };
61
+ /** B4: the route and its params. */
62
+ route: {
63
+ pathname: string;
64
+ href: string;
65
+ } | null;
66
+ /** B3: the app clock, when Buoy's clock tool had it overridden. */
67
+ clock: {
68
+ active: boolean;
69
+ virtualIso?: string;
70
+ offsetMs?: number;
71
+ rate?: number;
72
+ } | null;
73
+ /** Buoy overrides that were on, so nobody chases a bug Buoy made. */
74
+ overrides: string[];
75
+ /** B1, B6: every Time Machine source, superjson-encoded and scrubbed. */
76
+ state: SuperJSONResult;
77
+ /** B6's cause, written without AI. */
78
+ steps: BugCaseStep[];
79
+ touches: BugCaseTouch[];
80
+ /** Lab 3's largest gain: what the screen said. */
81
+ screen: BugCaseScreenElement[];
82
+ /** B2: newest first, with answers for replay. */
83
+ network: BugCaseNetworkCall[];
84
+ console: BugCaseConsoleLine[];
85
+ missing: BugCaseMissing[];
86
+ scrub: {
87
+ removed: number;
88
+ byKind: Record<string, number>;
89
+ items: ScrubbedItem[];
90
+ };
91
+ }
92
+ //# sourceMappingURL=types.d.ts.map
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Auto-generated safe area implementation
3
3
  * Detected: none
4
- * Generated at: 2026-10-22T00:31:42.070Z
4
+ * Generated at: 2026-10-22T09:15:50.446Z
5
5
  *
6
6
  * DO NOT EDIT - This file is generated by scripts/detect-safe-area.js
7
7
  *
@@ -1,5 +1,6 @@
1
1
  export * from "./ui";
2
2
  export * from "./stores";
3
+ export * from "./bugCase";
3
4
  export * from "./sync/keyedArrays";
4
5
  export * from "./sync/valueShape";
5
6
  export * from "./sync/valuePath";
@@ -1,4 +1,4 @@
1
- export declare const LOGIN_COMMAND = "npx buoy login";
1
+ export declare const LOGIN_COMMAND = "npx --package=@buoy-gg/core buoy login";
2
2
  /** Shared account UI; each platform supplies positioning and dismissal. */
3
3
  export declare function AccountSetupButton({ onPress, expanded, }: {
4
4
  onPress: () => void;
@@ -131,6 +131,18 @@ export declare const devToolsStorageKeys: {
131
131
  readonly root: () => "@react_buoy_clock";
132
132
  readonly state: () => "@react_buoy_clock_state";
133
133
  };
134
+ /**
135
+ * Bug links storage keys. `links` is this phone's own reports (their keys
136
+ * included, so a lost chat message is not a lost case), `settings` the
137
+ * server and team choices, `loaded` the case loaded right now plus the undo
138
+ * point that puts the app back.
139
+ */
140
+ readonly bugLinks: {
141
+ readonly root: () => "@react_buoy_bug_links";
142
+ readonly links: () => "@react_buoy_bug_links_links";
143
+ readonly settings: () => "@react_buoy_bug_links_settings";
144
+ readonly loaded: () => "@react_buoy_bug_links_loaded";
145
+ };
134
146
  /**
135
147
  * Permission override storage keys. `state` holds the overrides plus the
136
148
  * tool's settings as one JSON blob, so it can be read synchronously at boot.
@@ -8,7 +8,7 @@ export { parseValue, formatValue, getTypeColor, truncateText, flattenObject, for
8
8
  export { loadOptionalModule, getCachedOptionalModule } from "./loadOptionalModule";
9
9
  export { setRenderCaptureProvider, getRenderCaptureProvider, type RenderCaptureProvider, type RenderCaptureSummary, type RenderCaptureTopComponent, type RenderCauseCounts, } from "./renderCaptureRegistry";
10
10
  export { registerStateSnapshotProvider, getStateSnapshotProviders, getStateSnapshotProvider, subscribeToStateSnapshotProviders, type StateSnapshotProvider, type StateSnapshotProviderStatus, type StateSnapshotCapture, type StateSnapshotRestoreResult, type StateSnapshotPreview, type StateSnapshotPreviewItem, type StateSnapshotPreviewVerdict, } from "./stateSnapshotRegistry";
11
- export { serialize as superJsonSerialize, deserialize as superJsonDeserialize, type SuperJSONResult, } from "./minimalSuperJSON";
11
+ export { serialize as superJsonSerialize, deserialize as superJsonDeserialize, dropAnnotations as superJsonDropAnnotations, type SuperJSONResult, } from "./minimalSuperJSON";
12
12
  export { reloadApp, scheduleReloadApp, resolveReloadStrategy, REMOTE_RELOAD_DELAY_MS, type ReloadStrategy, type ResolvedReloadStrategy, } from "./reloadApp";
13
13
  export { getDevServerOrigin } from "./devServer";
14
14
  export { realNow } from "./realNow";
@@ -14,5 +14,11 @@ export interface SuperJSONResult {
14
14
  }
15
15
  export declare function serialize(object: any): SuperJSONResult;
16
16
  export declare function deserialize<T = unknown>(payload: SuperJSONResult): T;
17
+ /**
18
+ * Drop the annotations whose value `drop` rejects. A bug case's scrubber can
19
+ * replace a Date with "[removed:pii]"; the Date annotation left behind would
20
+ * turn that into Invalid Date (or throw, for a BigInt) on deserialize.
21
+ */
22
+ export declare function dropAnnotations(payload: SuperJSONResult, drop: (value: unknown) => boolean): SuperJSONResult;
17
23
  export {};
18
24
  //# sourceMappingURL=minimalSuperJSON.d.ts.map
@@ -1,8 +1,15 @@
1
1
  export * from 'react-native-web';
2
- export { unstable_createElement, NativeModules, AccessibilityInfo, Animated, Appearance, AppRegistry, AppState, BackHandler, Clipboard, Dimensions, Easing, I18nManager, Keyboard, InteractionManager, LayoutAnimation, Linking, NativeEventEmitter, PanResponder, PixelRatio, Platform, Share, StyleSheet, UIManager, Vibration, CheckBox, FlatList, Image, ImageBackground, KeyboardAvoidingView, Picker, ProgressBar, RefreshControl, SafeAreaView, SectionList, StatusBar, Touchable, TouchableNativeFeedback, VirtualizedList, YellowBox, LogBox, DeviceEventEmitter, useColorScheme, useLocaleContext, useWindowDimensions } from 'react-native-web';
2
+ export { unstable_createElement, NativeModules, AccessibilityInfo, Appearance, AppRegistry, AppState, BackHandler, Clipboard, Dimensions, Easing, I18nManager, Keyboard, InteractionManager, LayoutAnimation, Linking, NativeEventEmitter, PanResponder, PixelRatio, Platform, Share, UIManager, Vibration, CheckBox, FlatList, Image, ImageBackground, KeyboardAvoidingView, Picker, ProgressBar, RefreshControl, SafeAreaView, SectionList, StatusBar, Touchable, TouchableNativeFeedback, VirtualizedList, YellowBox, LogBox, DeviceEventEmitter, useColorScheme, useLocaleContext, useWindowDimensions } from 'react-native-web';
3
3
  import * as nativeWeb from 'react-native-web';
4
+ declare const rnw: {
5
+ StyleSheet: typeof import("react-native").StyleSheet;
6
+ Animated: typeof import("react-native").Animated;
7
+ };
8
+ /** Styles are converted once here, where RNW would otherwise warn. */
9
+ export declare const StyleSheet: typeof rnw.StyleSheet;
4
10
  export declare const View: typeof nativeWeb.View;
5
11
  export declare const Text: typeof nativeWeb.Text;
12
+ export declare const Animated: typeof rnw.Animated;
6
13
  export declare const TextInput: typeof nativeWeb.TextInput;
7
14
  export declare const TouchableOpacity: typeof nativeWeb.TouchableOpacity;
8
15
  export declare const TouchableHighlight: typeof nativeWeb.TouchableHighlight;
@@ -1 +1 @@
1
- "use client";import{a as Z}from"./chunk-HIAN3HBD.mjs";import{f}from"./chunk-AHVO74UQ.mjs";import{J as B,N as k,a as T,b as A}from"./chunk-5G6RSRP4.mjs";import{a as c}from"./chunk-T6T3FEMU.mjs";import{createContext as _,useContext as O,useState as M,useCallback as E,useMemo as R,useEffect as ee}from"react";import{jsx as te}from"react/jsx-runtime";var $=_(null);function z({children:e,initialAdapters:t=[]}){let[a,s]=M(()=>{let r=new Map;return t.forEach(n=>{r.set(n.adapter.id,{...n,enabled:n.enabled??true})}),r}),[u,h]=M(null),[m,S]=M(0),p=E(()=>S(r=>r+1),[]);ee(()=>{let r=[];return a.forEach(n=>{if(n.enabled){let d=n.adapter.subscribe(p);r.push(d)}}),()=>{r.forEach(n=>n())}},[a,p]);let i=R(()=>Array.from(a.values()).filter(r=>r.enabled).sort((r,n)=>(r.priority??100)-(n.priority??100)).map(r=>r.adapter),[a,m]),y=E(r=>a.get(r)?.adapter,[a]),w=E(r=>{s(n=>{let d=new Map(n);return d.set(r.adapter.id,{...r,enabled:r.enabled??true}),d})},[]),l=E(r=>{s(n=>{let d=new Map(n);return d.delete(r),d})},[]),o=E(r=>{let n=[];return(u&&r?.sources===void 0?i.filter(d=>d.id===u):i).forEach(d=>{r?.sources&&!r.sources.includes(d.id)||(n=n.concat(d.getEntries()))}),r&&(n=D(n,r)),n.sort((d,Y)=>Y.timestamp-d.timestamp),n},[i,u,m]),x=E(()=>{let r={};return i.forEach(n=>{r[n.id]=n.getEntryCount()}),r},[i,m]),X=R(()=>({adapters:i,getAdapter:y,registerAdapter:w,unregisterAdapter:l,getAllEntries:o,getEntryCounts:x,selectedAdapterId:u,setSelectedAdapterId:h,refresh:p}),[i,y,w,l,o,x,u,p]);return te($.Provider,{value:X,children:e})}c(z,"HistoryProvider");function b(){let e=O($);if(!e)throw new Error("useHistoryContext must be used within a HistoryProvider");return e}c(b,"useHistoryContext");function F(){return b().adapters}c(F,"useHistoryAdapters");function j(e){return b().getAdapter(e)}c(j,"useHistoryAdapter");function P(e){let{getAllEntries:t}=b();return t(e)}c(P,"useAllHistoryEntries");function N(){return b().getEntryCounts()}c(N,"useHistoryEntryCounts");function D(e,t){return e.filter(a=>{if(t.searchText){let s=t.searchText.toLowerCase();if(!a.label.toLowerCase().includes(s))return false}if(t.onlyWithChanges&&!a.hasStateChange||t.onlyErrors&&a.status!=="error"||t.afterTimestamp&&a.timestamp<t.afterTimestamp||t.beforeTimestamp&&a.timestamp>t.beforeTimestamp)return false;if(t.ignoredPatterns?.length){for(let s of t.ignoredPatterns)if(new RegExp(s).test(a.label))return false}if(t.includedPatterns?.length){let s=false;for(let u of t.includedPatterns)if(new RegExp(u).test(a.label)){s=true;break}if(!s)return false}return true})}c(D,"applyFilter");import{jsx as I}from"react/jsx-runtime";function V(e){let t=Date.now()-e;return t<1e3?"just now":t<6e4?`${Math.floor(t/1e3)}s ago`:t<36e5?`${Math.floor(t/6e4)}m ago`:`${Math.floor(t/36e5)}h ago`}c(V,"formatRelativeTime");function W(e,t){if(t?.color)return t.color;if(e.status==="error")return f.error;if(e.status==="pending")return f.warning;if(e.status==="success")return f.success;if(e.hasStateChange)return f.success;if(e.isSkipped)return f.textMuted;if(e.isInFuture)return f.textMuted+"80";switch(e.source){case"redux":return"#764ABC";case"zustand":return"#443E38";case"mmkv":return"#4CAF50";case"async-storage":return"#2196F3";case"react-query":return"#FF4154";case"jotai":return"#000000";case"legend-state":return"#7C3AED";default:return f.textSecondary}}c(W,"getStatusColor");function q(e){return e.isSkipped?"Skipped":e.isInFuture?"Future":e.status?e.status.charAt(0).toUpperCase()+e.status.slice(1):e.hasStateChange?"Changed":"Action"}c(q,"getStatusLabel");function G(e,t){return t?.name?t.name:e.category?e.category:e.source}c(G,"getSublabel");function v({entry:e,adapter:t,isSelected:a,onPress:s,showSource:u=true,showDuration:h=true}){let m=W(e,t),S=q(e),p=u?G(e,t):void 0,i=V(e.timestamp);h&&e.duration!==void 0&&(i=`${e.duration.toFixed(1)}ms \xB7 ${i}`);let y=e.hasStateChange?I(T,{style:J.changeBadge,children:I(A,{style:J.changeBadgeText,children:"\u26A1"})}):void 0;return I(Z,{statusDotColor:m,statusLabel:S,statusSublabel:p,primaryText:e.label,bottomRightText:i,customBadge:y,isSelected:a,onPress:s?()=>s(e):void 0,showChevron:!!s})}c(v,"HistoryEntryRow");var J=B.create({changeBadge:{paddingHorizontal:4},changeBadgeText:{fontSize:12}});import{useCallback as H,useMemo as L}from"react";import{jsx as g,jsxs as U}from"react/jsx-runtime";function K({filter:e,selectedEntryId:t,onSelectEntry:a,showSource:s=true,emptyMessage:u="No history entries yet",ListHeaderComponent:h,ListFooterComponent:m}){let S=P(e),p=F(),i=L(()=>{let o=new Map;return p.forEach(x=>o.set(x.id,x)),o},[p]),y=H(o=>`${o.source}-${o.id}`,[]),w=H(({item:o})=>{let x=i.get(o.source);return g(v,{entry:o,adapter:x,isSelected:t===o.id,onPress:a,showSource:s})},[i,t,a,s]),l=L(()=>U(T,{style:C.emptyContainer,children:[g(A,{style:C.emptyText,children:u}),g(A,{style:C.emptySubtext,children:"Actions will appear here as they happen"})]}),[u]);return g(k,{data:S,keyExtractor:y,renderItem:w,ListEmptyComponent:l,ListHeaderComponent:h,ListFooterComponent:m,contentContainerStyle:C.listContent,showsVerticalScrollIndicator:false,removeClippedSubviews:true,maxToRenderPerBatch:15,windowSize:10,initialNumToRender:15,getItemLayout:void 0})}c(K,"HistoryList");function Q({entries:e,adapters:t=[],selectedEntryId:a,onSelectEntry:s,showSource:u=true,emptyMessage:h="No history entries yet",ListHeaderComponent:m,ListFooterComponent:S}){let p=L(()=>{let l=new Map;return t.forEach(o=>l.set(o.id,o)),l},[t]),i=H(l=>`${l.source}-${l.id}`,[]),y=H(({item:l})=>{let o=p.get(l.source);return g(v,{entry:l,adapter:o,isSelected:a===l.id,onPress:s,showSource:u})},[p,a,s,u]),w=L(()=>U(T,{style:C.emptyContainer,children:[g(A,{style:C.emptyText,children:h}),g(A,{style:C.emptySubtext,children:"Actions will appear here as they happen"})]}),[h]);return g(k,{data:e,keyExtractor:i,renderItem:y,ListEmptyComponent:w,ListHeaderComponent:m,ListFooterComponent:S,contentContainerStyle:C.listContent,showsVerticalScrollIndicator:false,removeClippedSubviews:true,maxToRenderPerBatch:15,windowSize:10,initialNumToRender:15})}c(Q,"StandaloneHistoryList");var C=B.create({listContent:{flexGrow:1,paddingVertical:4},emptyContainer:{flex:1,alignItems:"center",justifyContent:"center",paddingVertical:60,paddingHorizontal:20},emptyText:{fontSize:16,fontWeight:"600",color:f.text,marginBottom:8},emptySubtext:{fontSize:13,color:f.textMuted,textAlign:"center"}});export{z as a,b,F as c,j as d,P as e,N as f,v as g,K as h,Q as i};
1
+ "use client";import{a as Z}from"./chunk-HIAN3HBD.mjs";import{f}from"./chunk-AHVO74UQ.mjs";import{J as B,N as k,a as L,b as A}from"./chunk-5G6RSRP4.mjs";import{a as c}from"./chunk-T6T3FEMU.mjs";import{createContext as _,useContext as Y,useState as M,useCallback as b,useMemo as R,useEffect as ee}from"react";import{jsx as te}from"react/jsx-runtime";var $=_(null);function z({children:e,initialAdapters:t=[]}){let[a,n]=M(()=>{let r=new Map;return t.forEach(s=>{r.set(s.adapter.id,{...s,enabled:s.enabled??true})}),r}),[u,y]=M(null),[m,S]=M(0),p=b(()=>S(r=>r+1),[]);ee(()=>{let r=[];return a.forEach(s=>{if(s.enabled){let d=s.adapter.subscribe(p);r.push(d)}}),()=>{r.forEach(s=>s())}},[a,p]);let i=R(()=>Array.from(a.values()).filter(r=>r.enabled).sort((r,s)=>(r.priority??100)-(s.priority??100)).map(r=>r.adapter),[a,m]),h=b(r=>a.get(r)?.adapter,[a]),w=b(r=>{n(s=>{let d=new Map(s);return d.set(r.adapter.id,{...r,enabled:r.enabled??true}),d})},[]),l=b(r=>{n(s=>{let d=new Map(s);return d.delete(r),d})},[]),o=b(r=>{let s=[];return(u&&r?.sources===void 0?i.filter(d=>d.id===u):i).forEach(d=>{r?.sources&&!r.sources.includes(d.id)||(s=s.concat(d.getEntries()))}),r&&(s=D(s,r)),s.sort((d,X)=>X.timestamp-d.timestamp),s},[i,u,m]),x=b(()=>{let r={};return i.forEach(s=>{r[s.id]=s.getEntryCount()}),r},[i,m]),Q=R(()=>({adapters:i,getAdapter:h,registerAdapter:w,unregisterAdapter:l,getAllEntries:o,getEntryCounts:x,selectedAdapterId:u,setSelectedAdapterId:y,refresh:p}),[i,h,w,l,o,x,u,p]);return te($.Provider,{value:Q,children:e})}c(z,"HistoryProvider");function E(){let e=Y($);if(!e)throw new Error("useHistoryContext must be used within a HistoryProvider");return e}c(E,"useHistoryContext");function F(){return E().adapters}c(F,"useHistoryAdapters");function j(e){return E().getAdapter(e)}c(j,"useHistoryAdapter");function P(e){let{getAllEntries:t}=E();return t(e)}c(P,"useAllHistoryEntries");function N(){return E().getEntryCounts()}c(N,"useHistoryEntryCounts");function D(e,t){return e.filter(a=>{if(t.searchText){let n=t.searchText.toLowerCase();if(!a.label.toLowerCase().includes(n))return false}if(t.onlyWithChanges&&!a.hasStateChange||t.onlyErrors&&a.status!=="error"||t.afterTimestamp&&a.timestamp<t.afterTimestamp||t.beforeTimestamp&&a.timestamp>t.beforeTimestamp)return false;if(t.ignoredPatterns?.length){for(let n of t.ignoredPatterns)if(new RegExp(n).test(a.label))return false}if(t.includedPatterns?.length){let n=false;for(let u of t.includedPatterns)if(new RegExp(u).test(a.label)){n=true;break}if(!n)return false}return true})}c(D,"applyFilter");import{jsx as I}from"react/jsx-runtime";function V(e){let t=Date.now()-e;return t<1e3?"just now":t<6e4?`${Math.floor(t/1e3)}s ago`:t<36e5?`${Math.floor(t/6e4)}m ago`:`${Math.floor(t/36e5)}h ago`}c(V,"formatRelativeTime");function W(e,t){if(t?.color)return t.color;if(e.status==="error")return f.error;if(e.status==="pending")return f.warning;if(e.status==="success")return f.success;if(e.hasStateChange)return f.success;if(e.isSkipped)return f.textMuted;if(e.isInFuture)return f.textMuted+"80";switch(e.source){case"redux":return"#764ABC";case"zustand":return"#443E38";case"mmkv":return"#4CAF50";case"async-storage":return"#2196F3";case"react-query":return"#FF4154";case"jotai":return"#000000";case"legend-state":return"#7C3AED";default:return f.textSecondary}}c(W,"getStatusColor");function q(e){return e.isSkipped?"Skipped":e.isInFuture?"Future":e.status?e.status.charAt(0).toUpperCase()+e.status.slice(1):e.hasStateChange?"Changed":"Action"}c(q,"getStatusLabel");function G(e,t){return t?.name?t.name:e.category?e.category:e.source}c(G,"getSublabel");function v({entry:e,adapter:t,isSelected:a,onPress:n,showSource:u=true,showDuration:y=true}){let m=W(e,t),S=q(e),p=u?G(e,t):void 0,i=V(e.timestamp);y&&e.duration!==void 0&&(i=`${e.duration.toFixed(1)}ms \xB7 ${i}`);let h=e.hasStateChange?I(L,{style:J.changeBadge,children:I(A,{style:J.changeBadgeText,children:"\u26A1"})}):void 0;return I(Z,{statusDotColor:m,statusLabel:S,statusSublabel:p,primaryText:e.label,bottomRightText:i,customBadge:h,isSelected:a,onPress:n?()=>n(e):void 0,showChevron:!!n})}c(v,"HistoryEntryRow");var J=B.create({changeBadge:{paddingHorizontal:4},changeBadgeText:{fontSize:12}});import{useCallback as T,useMemo as H}from"react";import{jsx as g,jsxs as U}from"react/jsx-runtime";function K({filter:e,selectedEntryId:t,onSelectEntry:a,showSource:n=true,emptyMessage:u="No history entries yet",ListHeaderComponent:y,ListFooterComponent:m}){let S=P(e),p=F(),i=H(()=>{let o=new Map;return p.forEach(x=>o.set(x.id,x)),o},[p]),h=T(o=>`${o.source}-${o.id}`,[]),w=T(({item:o})=>{let x=i.get(o.source);return g(v,{entry:o,adapter:x,isSelected:t===o.id,onPress:a,showSource:n})},[i,t,a,n]),l=H(()=>U(L,{style:C.emptyContainer,children:[g(A,{style:C.emptyText,children:u}),g(A,{style:C.emptySubtext,children:"Actions will appear here as they happen"})]}),[u]);return g(k,{data:S,keyExtractor:h,renderItem:w,ListEmptyComponent:l,ListHeaderComponent:y,ListFooterComponent:m,contentContainerStyle:C.listContent,showsVerticalScrollIndicator:false,removeClippedSubviews:true,maxToRenderPerBatch:15,windowSize:10,initialNumToRender:15,getItemLayout:void 0})}c(K,"HistoryList");function O({entries:e,adapters:t=[],selectedEntryId:a,onSelectEntry:n,showSource:u=true,emptyMessage:y="No history entries yet",ListHeaderComponent:m,ListFooterComponent:S}){let p=H(()=>{let l=new Map;return t.forEach(o=>l.set(o.id,o)),l},[t]),i=T(l=>`${l.source}-${l.id}`,[]),h=T(({item:l})=>{let o=p.get(l.source);return g(v,{entry:l,adapter:o,isSelected:a===l.id,onPress:n,showSource:u})},[p,a,n,u]),w=H(()=>U(L,{style:C.emptyContainer,children:[g(A,{style:C.emptyText,children:y}),g(A,{style:C.emptySubtext,children:"Actions will appear here as they happen"})]}),[y]);return g(k,{data:e,keyExtractor:i,renderItem:h,ListEmptyComponent:w,ListHeaderComponent:m,ListFooterComponent:S,contentContainerStyle:C.listContent,showsVerticalScrollIndicator:false,removeClippedSubviews:true,maxToRenderPerBatch:15,windowSize:10,initialNumToRender:15})}c(O,"StandaloneHistoryList");var C=B.create({listContent:{flexGrow:1,paddingVertical:4},emptyContainer:{flex:1,alignItems:"center",justifyContent:"center",paddingVertical:60,paddingHorizontal:20},emptyText:{fontSize:16,fontWeight:"600",color:f.text,marginBottom:8},emptySubtext:{fontSize:13,color:f.textMuted,textAlign:"center"}});export{z as a,E as b,F as c,j as d,P as e,N as f,v as g,K as h,O as i};
@@ -1 +1 @@
1
- "use client";import{Nb as he,Ob as be,Pb as $,Q as H,R as Se,Tb as we,Vb as J,Yb as Y,sd as y}from"./chunk-CJTGUGMQ.mjs";import{d as a}from"./chunk-AHVO74UQ.mjs";import{J as L,a as d,b as p,d as K,r as k,y as X}from"./chunk-5G6RSRP4.mjs";import{a as n}from"./chunk-T6T3FEMU.mjs";var xe="[Circular]",q="[...]";function Q(e,t,o={}){let{depthLimit:c=Number.MAX_SAFE_INTEGER,edgesLimit:g=Number.MAX_SAFE_INTEGER}=o,u=[];function l(i,s,m,r,x,v){if(v+=1,typeof i=="object"&&i!==null){for(let I=0;I<r.length;I++)if(r[I]===i){h(xe,i,s,x);return}if(v>c){h(q,i,s,x);return}if(m+1>g){h(q,i,s,x);return}if(r.push(i),Array.isArray(i)){let I=i;for(let R=0;R<i.length;R++)l(i[R],R,R,r,I,v)}else if(i instanceof Map||i instanceof Set||i instanceof RegExp||i instanceof Date||i instanceof Error){r.pop();return}else{let I=i,R=Object.keys(I);for(let F=0;F<R.length;F++){let U=R[F];l(I[U],U,F,r,I,v)}}r.pop()}}n(l,"decirc");function h(i,s,m,r){if(!r)return;let x=Object.getOwnPropertyDescriptor(r,m);if(x?.get!==void 0)if(x.configurable)Object.defineProperty(r,m,{value:i}),u.push([r,m,s,x]);else return;else r[m]=i,u.push([r,m,s])}n(h,"setReplace");let A=n((i,s)=>{if(typeof s=="bigint")return`${s.toString()}n`;if(typeof s=="symbol")return s.toString();if(typeof s>"u")return"undefined";if(typeof s=="function")return`[Function: ${s.name||"anonymous"}]`;if(typeof s=="number"){if(s===1/0)return"Infinity";if(s===-1/0)return"-Infinity";if(Number.isNaN(s))return"NaN"}if(s instanceof Error){let m={name:s.name,message:s.message,stack:s.stack};return Object.getOwnPropertyNames(s).forEach(r=>{if(!["name","message","stack"].includes(r))try{let x=s[r];x!==void 0&&(m[r]=x)}catch{}}),m}if(s instanceof Date)return s.toISOString();if(s instanceof RegExp)return s.toString();if(s instanceof Map)try{return{__type:"Map",entries:Array.from(s.entries()).map(([m,r])=>[String(m),r])}}catch{return{__type:"Map",entries:"[Map iteration failed]"}}if(s instanceof Set)try{return{__type:"Set",values:Array.from(s)}}catch{return{__type:"Set",values:"[Set iteration failed]"}}return s},"replacer");try{return l(e,"",0,[],null,0),JSON.stringify(e,A,t)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;u.length!==0;){let i=u.pop();if(i&&i.length===4){let[s,m,,r]=i;s&&typeof s=="object"&&r&&Object.defineProperty(s,m,r)}else if(i){let[s,m,r]=i;s&&typeof s=="object"&&(typeof m=="string"||typeof m=="number")&&(s[m]=r)}}}}n(Q,"safeStringify");var Ce=n(e=>typeof e>"u","isUndefined"),Ae=n(e=>typeof e!="object"||e===null||e===Object.prototype?false:Object.getPrototypeOf(e)===null?true:Object.getPrototypeOf(e)===Object.prototype,"isPlainObject"),z=n(e=>Array.isArray(e),"isArray"),ve=n(e=>typeof e=="boolean"||e===null||typeof e>"u"||typeof e=="number"||typeof e=="string"||typeof e=="symbol","isPrimitive"),Ie=n(e=>e instanceof Date&&!isNaN(e.valueOf()),"isDate"),Z=n(e=>e instanceof Error,"isError"),Re=n(e=>e instanceof RegExp,"isRegExp"),ee=n(e=>e instanceof Set,"isSet"),te=n(e=>e instanceof Map,"isMap"),Te=n(e=>typeof e=="bigint","isBigint"),re=n(e=>typeof e=="number"&&isNaN(e),"isNaNValue"),Oe=n(e=>e===1/0||e===-1/0,"isInfinite"),ke=n(e=>e===0&&1/e===-1/0,"isMinusZero"),Ne=n(e=>e instanceof URL,"isURL"),Ve=n(e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),"isTypedArray"),De={Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray},ne=[{isApplicable:Ce,annotation:"undefined",transform:n(()=>null,"transform"),untransform:n(()=>{},"untransform")},{isApplicable:Te,annotation:"bigint",transform:n(e=>e.toString(),"transform"),untransform:n(e=>typeof BigInt<"u"?BigInt(e):(console.error("[Buoy]","BigInt is not supported in this environment"),e),"untransform")},{isApplicable:Ie,annotation:"Date",transform:n(e=>e.toISOString(),"transform"),untransform:n(e=>new Date(e),"untransform")},{isApplicable:Z,annotation:"Error",transform:n(e=>({name:e.name,message:e.message,stack:e.stack,cause:"cause"in e?e.cause:void 0}),"transform"),untransform:n(e=>{let t=new Error(e.message);return t.name=e.name,t.stack=e.stack,e.cause!==void 0&&(t.cause=e.cause),t},"untransform")},{isApplicable:Re,annotation:"regexp",transform:n(e=>""+e,"transform"),untransform:n(e=>{let t=e.slice(1,e.lastIndexOf("/")),o=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,o)},"untransform")},{isApplicable:ee,annotation:"set",transform:n(e=>[...e.values()],"transform"),untransform:n(e=>new Set(e),"untransform")},{isApplicable:te,annotation:"map",transform:n(e=>[...e.entries()],"transform"),untransform:n(e=>new Map(e),"untransform")},{isApplicable:n(e=>re(e)||Oe(e),"isApplicable"),annotation:"number",transform:n(e=>re(e)?"NaN":e>0?"Infinity":"-Infinity","transform"),untransform:n(e=>Number(e),"untransform")},{isApplicable:ke,annotation:"number",transform:n(()=>"-0","transform"),untransform:n(()=>-0,"untransform")},{isApplicable:Ne,annotation:"URL",transform:n(e=>e.toString(),"transform"),untransform:n(e=>new URL(e),"untransform")},{isApplicable:Ve,annotation:n(e=>["typed-array",e.constructor.name],"annotation"),transform:n(e=>[...e],"transform"),untransform:n((e,t)=>{let o=Array.isArray(t)?t[1]:"Uint8Array",c=De[o];if(!c)throw new Error(`Unknown typed array: ${o}`);return new c(e)},"untransform")}];function B(e){for(let t of ne)if(t.isApplicable(e)){let o=typeof t.annotation=="function"?t.annotation(e):t.annotation;return{value:t.transform(e),type:o}}}n(B,"transformValue");function W(e,t){for(let o of ne){let c=typeof o.annotation=="function"?Array.isArray(t)?t[0]:t:o.annotation;if(Array.isArray(t)&&Array.isArray(c)?t[0]===c[0]:c===t)return o.untransform(e,t)}throw new Error(`Unknown transformation: ${t}`)}n(W,"untransformValue");var oe=n(e=>Ae(e)||z(e)||te(e)||ee(e)||Z(e),"isDeep");function j(e){return e.replace(/\\/g,"\\\\").replace(/\./g,"\\.")}n(j,"escapeKey");function _(e,t=[],o=[]){let c=ve(e);if(!c&&!oe(e)){let i=B(e);return i?{transformedValue:i.value,annotations:{[t.map(String).map(j).join(".")]:i.type}}:{transformedValue:e}}if(!c&&o.indexOf(e)!==-1)return{transformedValue:null};if(!oe(e)){let i=B(e);return i?{transformedValue:i.value,annotations:t.length>0?{[t.map(String).map(j).join(".")]:i.type}:{"":i.type}}:{transformedValue:e}}let g=B(e),u=g?.value??e,l=z(u)?[]:{},h={};if(g){let i=t.length>0?t.map(String).map(j).join("."):"";h[i]=g.type}let A=z(u)?u.map((i,s)=>[s,i]):Object.entries(u);for(let[i,s]of A){let m=String(i);if(m==="__proto__"||m==="constructor"||m==="prototype")throw new Error(`Detected property ${m}. This is a prototype pollution risk, please remove it from your object.`);let r=_(s,[...t,i],[...o,e]);l[i]=r.transformedValue,r.annotations&&Object.assign(h,r.annotations)}return{transformedValue:l,annotations:Object.keys(h).length>0?h:void 0}}n(_,"walker");function ae(e){if(e==="")return[];let t=[],o="";for(let c=0;c<e.length;c++){let g=e.charAt(c);if(g==="\\"){let u=e.charAt(c+1);if(u==="\\"){o+="\\",c++;continue}else if(u==="."){o+=".",c++;continue}}if(g==="."){t.push(o),o="";continue}o+=g}return o&&t.push(o),t}n(ae,"parsePath");function ie(e,t,o){if(t.length===0)return;let c=e;for(let g=0;g<t.length-1;g++)c=c[t[g]];c[t[t.length-1]]=o}n(ie,"setDeep");function le(e,t){let o=e;for(let c of t)o=o[c];return o}n(le,"getDeep");function P(e){let t=_(e),o={json:t.transformedValue};return t.annotations&&(o.meta={values:t.annotations}),o}n(P,"serialize");function M(e){let{json:t,meta:o}=e;if(!o?.values)return t;let c=z(t)?[...t]:{...t},g=Object.entries(o.values).map(([u,l])=>({pathString:u,type:l,path:ae(u)})).sort((u,l)=>l.path.length-u.path.length);for(let{type:u,path:l}of g)if(l.length===0)c=W(c,u);else{let h=le(c,l),A=W(h,u);ie(c,l,A)}return c}n(M,"deserialize");var Fe=n((e,t=false)=>{let{json:o}=P(e);return JSON.stringify(o,null,t?2:void 0)},"displayValue"),Le=n(e=>{try{let t=JSON.parse(e);return M({json:t,meta:void 0})}catch{return JSON.parse(e)}},"parseDisplayValue");import{jsx as V,jsxs as E}from"react/jsx-runtime";function se({icon:e,iconColor:t,title:o,count:c,subtitle:g,expanded:u,onToggle:l,children:h,style:A,titleStyle:i}){return E(d,{style:[D.container,A],children:[E(K,{onPress:l,activeOpacity:.7,style:D.headerTouchable,children:[E(d,{style:D.header,children:[E(d,{style:D.headerLeft,children:[V(e,{size:14,color:t}),V(p,{style:[D.title,i],children:o}),V(d,{style:[D.badge,{backgroundColor:t+"20"}],children:V(p,{style:[D.badgeText,{color:t}],children:c})})]}),u?V(Y,{size:14,color:a.muted}):V(J,{size:14,color:a.muted})]}),V(p,{style:D.subtitle,children:g})]}),u&&V(k.View,{style:{opacity:1},children:h})]})}n(se,"GameUICollapsibleSection");var D=L.create({container:{marginBottom:20},headerTouchable:{marginBottom:12},header:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:4,paddingHorizontal:4},headerLeft:{flexDirection:"row",alignItems:"center",gap:8,flex:1},title:{fontSize:11,color:a.primary,fontFamily:y,fontWeight:"700",letterSpacing:2,opacity:.9},subtitle:{fontSize:9,color:a.secondary,fontFamily:y,paddingHorizontal:4,marginTop:2,opacity:.7},badge:{paddingHorizontal:8,paddingVertical:2,borderRadius:10},badgeText:{fontSize:10,fontFamily:y,fontWeight:"700"}});var ce={position:"absolute",top:0,left:0,right:0,bottom:0};import{jsx as N,jsxs as G}from"react/jsx-runtime";function de({alertConfig:e,badgeText:t,animatedStyle:o,style:c,indicatorCount:g=3}){let u=e.icon;return G(k.View,{style:[T.container,{borderColor:e.color+"40"},c,o],children:[N(d,{style:[T.glow,{backgroundColor:e.color+"10"}]}),G(d,{style:T.content,children:[N(d,{style:[T.iconWrapper,{backgroundColor:e.color+"15"}],children:N(u,{size:20,color:e.color})}),G(d,{style:T.textContainer,children:[N(p,{style:[T.label,{color:e.color}],children:e.label}),N(p,{style:T.subtitle,children:e.subtitle})]}),N(d,{style:[T.badge,{backgroundColor:e.color+"20"}],children:N(p,{style:[T.badgeText,{color:e.color}],children:t})})]}),N(d,{style:T.indicators,children:[...Array(g)].map((l,h)=>N(d,{style:[T.indicatorDot,{backgroundColor:e.color,opacity:e.pulse?h===0?1:.5-h*.2:.3-h*.1}]},h))})]})}n(de,"GameUIStatusHeader");var T=L.create({container:{backgroundColor:a.panel,borderRadius:12,borderWidth:1,padding:16,marginBottom:16,position:"relative",overflow:"hidden"},glow:{...ce,opacity:.5},content:{flexDirection:"row",alignItems:"center",gap:12},iconWrapper:{width:36,height:36,borderRadius:8,justifyContent:"center",alignItems:"center"},textContainer:{flex:1,gap:2},label:{fontSize:13,fontWeight:"700",fontFamily:y,letterSpacing:1.5,textShadowOffset:{width:0,height:0},textShadowRadius:8},subtitle:{fontSize:10,color:a.secondary,fontFamily:y},badge:{paddingHorizontal:8,paddingVertical:4,borderRadius:4},badgeText:{fontSize:9,fontWeight:"700",fontFamily:y,letterSpacing:1},indicators:{position:"absolute",top:8,right:8,flexDirection:"row",gap:3},indicatorDot:{width:4,height:4,borderRadius:2}});import{Fragment as ze}from"react";import{jsx as S,jsxs as C}from"react/jsx-runtime";function ue({statsConfig:e,totalCount:t,header:o,bottomStats:c,style:g,hideInactive:u=true}){return C(d,{style:[f.container,g],children:[o&&C(d,{style:f.header,children:[C(d,{style:f.headerLeft,children:[S(p,{style:f.headerTitle,children:o.title}),S(p,{style:f.headerSubtitle,children:o.subtitle})]}),o.healthPercentage!==void 0&&S(d,{style:f.headerRight,children:C(d,{style:f.statusIndicator,children:[S(d,{style:[f.statusDot,{backgroundColor:o.healthColor||a.success}]}),S(p,{style:[f.statusText,{color:o.healthColor||a.success}],children:o.healthStatus||"OPTIMAL"})]})})]}),o?.healthPercentage!==void 0&&C(d,{style:f.healthSection,children:[S(p,{style:f.healthLabel,children:"SYSTEM HEALTH"}),S(d,{style:f.healthBarWrapper,children:S(d,{style:f.healthBarBg,children:S(k.View,{style:[f.healthBarFill,{width:`${o.healthPercentage}%`,backgroundColor:o.healthColor||a.success}]})})}),C(p,{style:[f.healthPercentage,{color:o.healthColor||a.success}],children:[o.healthPercentage,"%"]})]}),S(d,{style:f.statsGrid,children:e.map(l=>{let h=l.value>0;if(u&&!h)return null;let A=l.icon,i=t?l.value/t*100:0;return C(k.View,{style:[f.statCard,{borderColor:l.color+"30"}],children:[C(d,{style:f.cardContent,children:[S(d,{style:[f.iconBadge,{backgroundColor:l.color+"1A",borderColor:l.color+"33"}],children:S(A,{size:12,color:l.color})}),C(d,{style:f.cardInfo,children:[S(p,{style:f.cardLabel,children:l.label}),S(p,{style:f.cardSubtitle,children:l.subtitle})]}),C(d,{style:f.valueBlock,children:[S(p,{style:[f.statNumber,{color:l.color}],children:l.value.toString().padStart(2,"0")}),t?C(p,{style:f.percentText,children:[Math.round(i),"%"]}):null]})]}),l.showBar!==false&&t&&S(d,{style:[f.statBar,{backgroundColor:l.color+"10"}],children:S(d,{style:[f.statBarFill,{width:`${i}%`,backgroundColor:l.color}]})})]},l.key)})}),c&&c.length>0&&S(d,{style:f.bottomBar,children:c.map((l,h)=>C(ze,{children:[C(d,{style:f.bottomStat,children:[S(p,{style:f.bottomStatLabel,children:l.label}),S(p,{style:[f.bottomStatValue,l.color&&{color:l.color}],children:l.value})]}),h<c.length-1&&S(d,{style:f.bottomDivider})]},l.label))})]})}n(ue,"GameUICompactStats");var f=L.create({container:{backgroundColor:a.panel,borderRadius:12,padding:12,marginBottom:12,borderWidth:1,borderColor:a.border+"40",overflow:"hidden",position:"relative"},header:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",marginBottom:8,paddingBottom:8,borderBottomWidth:1,borderBottomColor:"rgba(128, 128, 128, 0.1)"},headerLeft:{gap:1},headerRight:{alignItems:"flex-end"},headerTitle:{fontSize:11,fontWeight:"700",color:a.primary,fontFamily:y,letterSpacing:1.5},headerSubtitle:{fontSize:8,color:a.secondary,fontFamily:y,opacity:.7},statusIndicator:{flexDirection:"row",alignItems:"center",gap:4},statusDot:{width:5,height:5,borderRadius:2.5},statusText:{fontSize:9,fontWeight:"600",fontFamily:y,letterSpacing:.5},healthSection:{flexDirection:"row",alignItems:"center",marginBottom:10,gap:8},healthLabel:{fontSize:8,color:a.secondary,fontFamily:y,letterSpacing:.5},healthBarWrapper:{flex:1},healthBarBg:{height:4,backgroundColor:"rgba(128, 128, 128, 0.1)",borderRadius:2,overflow:"hidden"},healthBarFill:{height:"100%",borderRadius:2},healthPercentage:{fontSize:11,fontWeight:"700",fontFamily:y},statsGrid:{gap:6,marginBottom:8},statCard:{backgroundColor:a.blackTint2,borderRadius:8,borderWidth:1,borderColor:a.border,padding:10,marginBottom:4},cardContent:{flexDirection:"row",alignItems:"center",gap:8,marginBottom:4},cardInfo:{flex:1},cardLabel:{fontSize:11,fontWeight:"700",fontFamily:y,letterSpacing:.5,color:a.primary},cardSubtitle:{fontSize:8,color:a.secondary,fontFamily:y,opacity:.7},statNumber:{fontSize:16,fontWeight:"700",fontFamily:y,minWidth:28},valueBlock:{alignItems:"flex-end"},percentText:{fontSize:9,color:a.secondary,fontFamily:y},statBar:{height:3,borderRadius:1.5,overflow:"hidden"},statBarFill:{height:"100%",borderRadius:1.5},bottomBar:{flexDirection:"row",alignItems:"center",paddingTop:8,borderTopWidth:1,borderTopColor:a.border+"40"},bottomStat:{flex:1,alignItems:"center"},bottomStatLabel:{fontSize:7,color:a.muted,fontFamily:y,letterSpacing:.5,marginBottom:1},bottomStatValue:{fontSize:11,fontWeight:"700",color:a.primary,fontFamily:y},bottomDivider:{width:1,height:16,backgroundColor:a.border+"40"},iconBadge:{width:24,height:24,borderRadius:6,borderWidth:1,alignItems:"center",justifyContent:"center"}});import{useState as Be,useCallback as je}from"react";import{jsx as w,jsxs as O}from"react/jsx-runtime";function fe({issues:e,onIssueClick:t,hintText:o="Tap any issue to view details",style:c,expandable:g=true,statusLabels:u={missing:"Not found",wrong_type:"Type error",wrong_value:"Invalid value"}}){let[l,h]=Be(new Set),A=je(r=>{g&&h(x=>{let v=new Set(x);return v.has(r)?v.delete(r):v.add(r),v})},[g]),i=n(r=>r==="missing"?a.warning:a.info,"getStatusColor"),s=n(r=>r==="missing"?H:$,"getStatusIcon"),m=n(r=>{switch(r.status){case"missing":return`\u2022 ${u.missing}`;case"wrong_type":return`\u2022 ${u.wrong_type}${r.expectedType?`: Expected ${r.expectedType}`:""}`;case"wrong_value":return`\u2022 ${u.wrong_value}${r.value?`: ${String(r.value).substring(0,20)}`:""}`;default:return""}},"getStatusLabel");return e.length===0?null:O(d,{style:[b.container,c],children:[e.map((r,x)=>{let v=i(r.status),I=s(r.status),R=l.has(r.key),F=R?Y:J;return O(d,{children:[O(K,{onPress:()=>{g&&A(r.key),t?.(r)},style:b.issueRow,activeOpacity:.7,children:[w(I,{size:14,color:v}),O(d,{style:b.issueContent,children:[w(p,{style:[b.issueKey,{color:a.primary}],children:r.key}),w(p,{style:b.issueDesc,children:m(r)})]}),g&&w(F,{size:12,color:a.muted})]}),g&&R&&O(k.View,{style:b.issueDetails,children:[O(d,{style:b.detailRow,children:[w(p,{style:b.detailLabel,children:"Status:"}),O(p,{style:[b.detailValue,{color:a.primary,fontWeight:"600"}],children:[r.status==="missing"&&"MISSING",r.status==="wrong_type"&&"TYPE ERROR",r.status==="wrong_value"&&"INVALID VALUE"]})]}),r.value!==void 0&&r.status!=="missing"&&O(d,{style:b.detailRow,children:[w(p,{style:b.detailLabel,children:"Current:"}),w(p,{style:[b.detailValue,{color:a.warning}],children:`"${String(r.value)}"`})]}),r.expectedType&&r.status==="wrong_type"&&O(d,{style:b.detailRow,children:[w(p,{style:b.detailLabel,children:"Expected:"}),w(p,{style:[b.detailValue,{color:a.success}],children:r.expectedType})]}),r.expectedValue&&r.status==="wrong_value"&&O(d,{style:b.detailRow,children:[w(p,{style:b.detailLabel,children:"Expected:"}),w(p,{style:[b.detailValue,{color:a.success}],children:`"${r.expectedValue}"`})]}),r.description&&w(d,{style:b.descSection,children:w(p,{style:b.descText,children:r.description})}),r.fixSuggestion&&O(d,{style:b.fixSection,children:[w(p,{style:b.fixLabel,children:"HOW TO FIX"}),w(p,{style:b.fixText,children:r.fixSuggestion})]})]})]},`${r.key}-${x}`)}),o&&w(p,{style:b.hint,children:o})]})}n(fe,"GameUIIssuesList");var b=L.create({container:{backgroundColor:a.panel,borderRadius:8,padding:8,borderWidth:1,borderColor:a.warning+"33"},issueRow:{flexDirection:"row",alignItems:"center",paddingVertical:8,paddingHorizontal:8,borderRadius:6,marginBottom:4},issueContent:{flex:1,marginLeft:8,flexDirection:"row",alignItems:"center",gap:8},issueKey:{fontSize:11,fontWeight:"600",fontFamily:y},issueDesc:{fontSize:10,color:a.secondary,fontFamily:y,flex:1},hint:{fontSize:9,color:a.muted,fontFamily:y,textAlign:"center",marginTop:8,paddingTop:8,borderTopWidth:1,borderTopColor:a.primary+"0D"},issueDetails:{marginTop:8,marginLeft:22,marginRight:8,paddingLeft:12,paddingRight:8,paddingTop:8,paddingBottom:8,backgroundColor:a.background+"4D",borderLeftWidth:2,borderLeftColor:a.primary+"1A",borderRadius:4},detailRow:{flexDirection:"row",marginTop:8,alignItems:"flex-start"},detailLabel:{fontSize:10,color:a.secondary,fontFamily:y,fontWeight:"600",width:70},detailValue:{fontSize:11,color:a.primary,fontFamily:y,flex:1,lineHeight:16},fixSection:{marginTop:12,padding:10,backgroundColor:a.info+"14",borderRadius:6,borderWidth:1,borderColor:a.info+"33"},fixLabel:{fontSize:10,color:a.info,fontFamily:y,fontWeight:"700",marginBottom:6,letterSpacing:.5},fixText:{fontSize:11,color:a.primary,fontFamily:y,lineHeight:18,backgroundColor:a.background+"66",padding:8,borderRadius:4,overflow:"hidden"},descSection:{marginTop:10,paddingTop:10,borderTopWidth:1,borderTopColor:a.primary+"0D"},descText:{fontSize:10,color:a.secondary,fontFamily:y,marginTop:4,lineHeight:14}});import{useMemo as pe,useEffect as Ee,useRef as ge}from"react";var me={OPTIMAL:{icon:we,color:a.success,label:"CONFIG OK",subtitle:"All requirements met",pulse:false},WARNING:{icon:$,color:a.warning,label:"CONFIG WARNING",subtitle:"Check values and types",pulse:false},ERROR:{icon:be,color:a.error,label:"CONFIG ERROR",subtitle:"Missing required data",pulse:false},CRITICAL:{icon:H,color:a.critical,label:"CONFIG FAILURE",subtitle:"Multiple critical issues",pulse:false},LOADING:{icon:he,color:a.info,label:"LOADING",subtitle:"Reading configuration...",pulse:true},EMPTY:{icon:Se,color:a.muted,label:"NO DATA",subtitle:"No configuration found",pulse:false}};function ye(e,t){let o=pe(()=>({...me,...t}),[t]),c=pe(()=>e.totalCount===0?"EMPTY":e.missingCount>2||e.wrongTypeCount>2?"CRITICAL":e.missingCount>0?"ERROR":e.wrongValueCount>0||e.wrongTypeCount>0?"WARNING":"OPTIMAL",[e]),g=o[c],u=ge(new k.Value(1)).current,l=ge(new k.Value(1)).current;return Ee(()=>{u.setValue(0),l.setValue(.95),k.parallel([k.timing(u,{toValue:1,duration:300,useNativeDriver:true}),k.timing(l,{toValue:1,duration:300,easing:X.out(X.ease),useNativeDriver:true})]).start()},[c,u,l]),{alertState:c,alertConfig:g,alertAnimatedStyle:{transform:[{scale:l}],opacity:u},alertOpacity:u,alertScale:l}}n(ye,"useGameUIAlertState");export{Q as a,P as b,M as c,Fe as d,Le as e,se as f,ce as g,de as h,ue as i,fe as j,me as k,ye as l};
1
+ "use client";import{Nb as he,Ob as be,Pb as $,Q as H,R as Se,Tb as we,Vb as J,Yb as Y,sd as y}from"./chunk-CJTGUGMQ.mjs";import{d as a}from"./chunk-AHVO74UQ.mjs";import{J as L,a as d,b as p,d as K,r as k,y as X}from"./chunk-5G6RSRP4.mjs";import{a as n}from"./chunk-T6T3FEMU.mjs";var xe="[Circular]",q="[...]";function Q(e,t,o={}){let{depthLimit:c=Number.MAX_SAFE_INTEGER,edgesLimit:g=Number.MAX_SAFE_INTEGER}=o,u=[];function l(i,s,m,r,x,I){if(I+=1,typeof i=="object"&&i!==null){for(let A=0;A<r.length;A++)if(r[A]===i){h(xe,i,s,x);return}if(I>c){h(q,i,s,x);return}if(m+1>g){h(q,i,s,x);return}if(r.push(i),Array.isArray(i)){let A=i;for(let R=0;R<i.length;R++)l(i[R],R,R,r,A,I)}else if(i instanceof Map||i instanceof Set||i instanceof RegExp||i instanceof Date||i instanceof Error){r.pop();return}else{let A=i,R=Object.keys(A);for(let F=0;F<R.length;F++){let U=R[F];l(A[U],U,F,r,A,I)}}r.pop()}}n(l,"decirc");function h(i,s,m,r){if(!r)return;let x=Object.getOwnPropertyDescriptor(r,m);if(x?.get!==void 0)if(x.configurable)Object.defineProperty(r,m,{value:i}),u.push([r,m,s,x]);else return;else r[m]=i,u.push([r,m,s])}n(h,"setReplace");let v=n((i,s)=>{if(typeof s=="bigint")return`${s.toString()}n`;if(typeof s=="symbol")return s.toString();if(typeof s>"u")return"undefined";if(typeof s=="function")return`[Function: ${s.name||"anonymous"}]`;if(typeof s=="number"){if(s===1/0)return"Infinity";if(s===-1/0)return"-Infinity";if(Number.isNaN(s))return"NaN"}if(s instanceof Error){let m={name:s.name,message:s.message,stack:s.stack};return Object.getOwnPropertyNames(s).forEach(r=>{if(!["name","message","stack"].includes(r))try{let x=s[r];x!==void 0&&(m[r]=x)}catch{}}),m}if(s instanceof Date)return s.toISOString();if(s instanceof RegExp)return s.toString();if(s instanceof Map)try{return{__type:"Map",entries:Array.from(s.entries()).map(([m,r])=>[String(m),r])}}catch{return{__type:"Map",entries:"[Map iteration failed]"}}if(s instanceof Set)try{return{__type:"Set",values:Array.from(s)}}catch{return{__type:"Set",values:"[Set iteration failed]"}}return s},"replacer");try{return l(e,"",0,[],null,0),JSON.stringify(e,v,t)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;u.length!==0;){let i=u.pop();if(i&&i.length===4){let[s,m,,r]=i;s&&typeof s=="object"&&r&&Object.defineProperty(s,m,r)}else if(i){let[s,m,r]=i;s&&typeof s=="object"&&(typeof m=="string"||typeof m=="number")&&(s[m]=r)}}}}n(Q,"safeStringify");var Ce=n(e=>typeof e>"u","isUndefined"),ve=n(e=>typeof e!="object"||e===null||e===Object.prototype?false:Object.getPrototypeOf(e)===null?true:Object.getPrototypeOf(e)===Object.prototype,"isPlainObject"),V=n(e=>Array.isArray(e),"isArray"),Ie=n(e=>typeof e=="boolean"||e===null||typeof e>"u"||typeof e=="number"||typeof e=="string"||typeof e=="symbol","isPrimitive"),Ae=n(e=>e instanceof Date&&!isNaN(e.valueOf()),"isDate"),Z=n(e=>e instanceof Error,"isError"),Re=n(e=>e instanceof RegExp,"isRegExp"),ee=n(e=>e instanceof Set,"isSet"),te=n(e=>e instanceof Map,"isMap"),Te=n(e=>typeof e=="bigint","isBigint"),re=n(e=>typeof e=="number"&&isNaN(e),"isNaNValue"),Oe=n(e=>e===1/0||e===-1/0,"isInfinite"),ke=n(e=>e===0&&1/e===-1/0,"isMinusZero"),Ne=n(e=>e instanceof URL,"isURL"),De=n(e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),"isTypedArray"),Be={Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray},ne=[{isApplicable:Ce,annotation:"undefined",transform:n(()=>null,"transform"),untransform:n(()=>{},"untransform")},{isApplicable:Te,annotation:"bigint",transform:n(e=>e.toString(),"transform"),untransform:n(e=>typeof BigInt<"u"?BigInt(e):(console.error("[Buoy]","BigInt is not supported in this environment"),e),"untransform")},{isApplicable:Ae,annotation:"Date",transform:n(e=>e.toISOString(),"transform"),untransform:n(e=>new Date(e),"untransform")},{isApplicable:Z,annotation:"Error",transform:n(e=>({name:e.name,message:e.message,stack:e.stack,cause:"cause"in e?e.cause:void 0}),"transform"),untransform:n(e=>{let t=new Error(e.message);return t.name=e.name,t.stack=e.stack,e.cause!==void 0&&(t.cause=e.cause),t},"untransform")},{isApplicable:Re,annotation:"regexp",transform:n(e=>""+e,"transform"),untransform:n(e=>{let t=e.slice(1,e.lastIndexOf("/")),o=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,o)},"untransform")},{isApplicable:ee,annotation:"set",transform:n(e=>[...e.values()],"transform"),untransform:n(e=>new Set(e),"untransform")},{isApplicable:te,annotation:"map",transform:n(e=>[...e.entries()],"transform"),untransform:n(e=>new Map(e),"untransform")},{isApplicable:n(e=>re(e)||Oe(e),"isApplicable"),annotation:"number",transform:n(e=>re(e)?"NaN":e>0?"Infinity":"-Infinity","transform"),untransform:n(e=>Number(e),"untransform")},{isApplicable:ke,annotation:"number",transform:n(()=>"-0","transform"),untransform:n(()=>-0,"untransform")},{isApplicable:Ne,annotation:"URL",transform:n(e=>e.toString(),"transform"),untransform:n(e=>new URL(e),"untransform")},{isApplicable:De,annotation:n(e=>["typed-array",e.constructor.name],"annotation"),transform:n(e=>[...e],"transform"),untransform:n((e,t)=>{let o=Array.isArray(t)?t[1]:"Uint8Array",c=Be[o];if(!c)throw new Error(`Unknown typed array: ${o}`);return new c(e)},"untransform")}];function z(e){for(let t of ne)if(t.isApplicable(e)){let o=typeof t.annotation=="function"?t.annotation(e):t.annotation;return{value:t.transform(e),type:o}}}n(z,"transformValue");function W(e,t){for(let o of ne){let c=typeof o.annotation=="function"?Array.isArray(t)?t[0]:t:o.annotation;if(Array.isArray(t)&&Array.isArray(c)?t[0]===c[0]:c===t)return o.untransform(e,t)}throw new Error(`Unknown transformation: ${t}`)}n(W,"untransformValue");var oe=n(e=>ve(e)||V(e)||te(e)||ee(e)||Z(e),"isDeep");function j(e){return e.replace(/\\/g,"\\\\").replace(/\./g,"\\.")}n(j,"escapeKey");function _(e,t=[],o=[]){let c=Ie(e);if(!c&&!oe(e)){let i=z(e);return i?{transformedValue:i.value,annotations:{[t.map(String).map(j).join(".")]:i.type}}:{transformedValue:e}}if(!c&&o.indexOf(e)!==-1)return{transformedValue:null};if(!oe(e)){let i=z(e);return i?{transformedValue:i.value,annotations:t.length>0?{[t.map(String).map(j).join(".")]:i.type}:{"":i.type}}:{transformedValue:e}}let g=z(e),u=g?.value??e,l=V(u)?[]:{},h={};if(g){let i=t.length>0?t.map(String).map(j).join("."):"";h[i]=g.type}let v=V(u)?u.map((i,s)=>[s,i]):Object.entries(u);for(let[i,s]of v){let m=String(i);if(m==="__proto__"||m==="constructor"||m==="prototype")throw new Error(`Detected property ${m}. This is a prototype pollution risk, please remove it from your object.`);let r=_(s,[...t,i],[...o,e]);l[i]=r.transformedValue,r.annotations&&Object.assign(h,r.annotations)}return{transformedValue:l,annotations:Object.keys(h).length>0?h:void 0}}n(_,"walker");function ae(e){if(e==="")return[];let t=[],o="";for(let c=0;c<e.length;c++){let g=e.charAt(c);if(g==="\\"){let u=e.charAt(c+1);if(u==="\\"){o+="\\",c++;continue}else if(u==="."){o+=".",c++;continue}}if(g==="."){t.push(o),o="";continue}o+=g}return o&&t.push(o),t}n(ae,"parsePath");function ie(e,t,o){if(t.length===0)return;let c=e;for(let g=0;g<t.length-1;g++)c=c[t[g]];c[t[t.length-1]]=o}n(ie,"setDeep");function le(e,t){let o=e;for(let c of t)o=o[c];return o}n(le,"getDeep");function P(e){let t=_(e),o={json:t.transformedValue};return t.annotations&&(o.meta={values:t.annotations}),o}n(P,"serialize");function M(e){let{json:t,meta:o}=e;if(!o?.values)return t;let c=V(t)?[...t]:{...t},g=Object.entries(o.values).map(([u,l])=>({pathString:u,type:l,path:ae(u)})).sort((u,l)=>l.path.length-u.path.length);for(let{type:u,path:l}of g)if(l.length===0)c=W(c,u);else{let h=le(c,l),v=W(h,u);ie(c,l,v)}return c}n(M,"deserialize");var Fe=n((e,t=false)=>{let{json:o}=P(e);return JSON.stringify(o,null,t?2:void 0)},"displayValue"),Le=n(e=>{try{let t=JSON.parse(e);return M({json:t,meta:void 0})}catch{return JSON.parse(e)}},"parseDisplayValue");import{jsx as D,jsxs as E}from"react/jsx-runtime";function se({icon:e,iconColor:t,title:o,count:c,subtitle:g,expanded:u,onToggle:l,children:h,style:v,titleStyle:i}){return E(d,{style:[B.container,v],children:[E(K,{onPress:l,activeOpacity:.7,style:B.headerTouchable,children:[E(d,{style:B.header,children:[E(d,{style:B.headerLeft,children:[D(e,{size:14,color:t}),D(p,{style:[B.title,i],children:o}),D(d,{style:[B.badge,{backgroundColor:t+"20"}],children:D(p,{style:[B.badgeText,{color:t}],children:c})})]}),u?D(Y,{size:14,color:a.muted}):D(J,{size:14,color:a.muted})]}),D(p,{style:B.subtitle,children:g})]}),u&&D(k.View,{style:{opacity:1},children:h})]})}n(se,"GameUICollapsibleSection");var B=L.create({container:{marginBottom:20},headerTouchable:{marginBottom:12},header:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:4,paddingHorizontal:4},headerLeft:{flexDirection:"row",alignItems:"center",gap:8,flex:1},title:{fontSize:11,color:a.primary,fontFamily:y,fontWeight:"700",letterSpacing:2,opacity:.9},subtitle:{fontSize:9,color:a.secondary,fontFamily:y,paddingHorizontal:4,marginTop:2,opacity:.7},badge:{paddingHorizontal:8,paddingVertical:2,borderRadius:10},badgeText:{fontSize:10,fontFamily:y,fontWeight:"700"}});var ce={position:"absolute",top:0,left:0,right:0,bottom:0};import{jsx as N,jsxs as G}from"react/jsx-runtime";function de({alertConfig:e,badgeText:t,animatedStyle:o,style:c,indicatorCount:g=3}){let u=e.icon;return G(k.View,{style:[T.container,{borderColor:e.color+"40"},c,o],children:[N(d,{style:[T.glow,{backgroundColor:e.color+"10"}]}),G(d,{style:T.content,children:[N(d,{style:[T.iconWrapper,{backgroundColor:e.color+"15"}],children:N(u,{size:20,color:e.color})}),G(d,{style:T.textContainer,children:[N(p,{style:[T.label,{color:e.color}],children:e.label}),N(p,{style:T.subtitle,children:e.subtitle})]}),N(d,{style:[T.badge,{backgroundColor:e.color+"20"}],children:N(p,{style:[T.badgeText,{color:e.color}],children:t})})]}),N(d,{style:T.indicators,children:[...Array(g)].map((l,h)=>N(d,{style:[T.indicatorDot,{backgroundColor:e.color,opacity:e.pulse?h===0?1:.5-h*.2:.3-h*.1}]},h))})]})}n(de,"GameUIStatusHeader");var T=L.create({container:{backgroundColor:a.panel,borderRadius:12,borderWidth:1,padding:16,marginBottom:16,position:"relative",overflow:"hidden"},glow:{...ce,opacity:.5},content:{flexDirection:"row",alignItems:"center",gap:12},iconWrapper:{width:36,height:36,borderRadius:8,justifyContent:"center",alignItems:"center"},textContainer:{flex:1,gap:2},label:{fontSize:13,fontWeight:"700",fontFamily:y,letterSpacing:1.5,textShadowOffset:{width:0,height:0},textShadowRadius:8},subtitle:{fontSize:10,color:a.secondary,fontFamily:y},badge:{paddingHorizontal:8,paddingVertical:4,borderRadius:4},badgeText:{fontSize:9,fontWeight:"700",fontFamily:y,letterSpacing:1},indicators:{position:"absolute",top:8,right:8,flexDirection:"row",gap:3},indicatorDot:{width:4,height:4,borderRadius:2}});import{Fragment as Ve}from"react";import{jsx as S,jsxs as C}from"react/jsx-runtime";function ue({statsConfig:e,totalCount:t,header:o,bottomStats:c,style:g,hideInactive:u=true}){return C(d,{style:[f.container,g],children:[o&&C(d,{style:f.header,children:[C(d,{style:f.headerLeft,children:[S(p,{style:f.headerTitle,children:o.title}),S(p,{style:f.headerSubtitle,children:o.subtitle})]}),o.healthPercentage!==void 0&&S(d,{style:f.headerRight,children:C(d,{style:f.statusIndicator,children:[S(d,{style:[f.statusDot,{backgroundColor:o.healthColor||a.success}]}),S(p,{style:[f.statusText,{color:o.healthColor||a.success}],children:o.healthStatus||"OPTIMAL"})]})})]}),o?.healthPercentage!==void 0&&C(d,{style:f.healthSection,children:[S(p,{style:f.healthLabel,children:"SYSTEM HEALTH"}),S(d,{style:f.healthBarWrapper,children:S(d,{style:f.healthBarBg,children:S(k.View,{style:[f.healthBarFill,{width:`${o.healthPercentage}%`,backgroundColor:o.healthColor||a.success}]})})}),C(p,{style:[f.healthPercentage,{color:o.healthColor||a.success}],children:[o.healthPercentage,"%"]})]}),S(d,{style:f.statsGrid,children:e.map(l=>{let h=l.value>0;if(u&&!h)return null;let v=l.icon,i=t?l.value/t*100:0;return C(k.View,{style:[f.statCard,{borderColor:l.color+"30"}],children:[C(d,{style:f.cardContent,children:[S(d,{style:[f.iconBadge,{backgroundColor:l.color+"1A",borderColor:l.color+"33"}],children:S(v,{size:12,color:l.color})}),C(d,{style:f.cardInfo,children:[S(p,{style:f.cardLabel,children:l.label}),S(p,{style:f.cardSubtitle,children:l.subtitle})]}),C(d,{style:f.valueBlock,children:[S(p,{style:[f.statNumber,{color:l.color}],children:l.value.toString().padStart(2,"0")}),t?C(p,{style:f.percentText,children:[Math.round(i),"%"]}):null]})]}),l.showBar!==false&&t&&S(d,{style:[f.statBar,{backgroundColor:l.color+"10"}],children:S(d,{style:[f.statBarFill,{width:`${i}%`,backgroundColor:l.color}]})})]},l.key)})}),c&&c.length>0&&S(d,{style:f.bottomBar,children:c.map((l,h)=>C(Ve,{children:[C(d,{style:f.bottomStat,children:[S(p,{style:f.bottomStatLabel,children:l.label}),S(p,{style:[f.bottomStatValue,l.color&&{color:l.color}],children:l.value})]}),h<c.length-1&&S(d,{style:f.bottomDivider})]},l.label))})]})}n(ue,"GameUICompactStats");var f=L.create({container:{backgroundColor:a.panel,borderRadius:12,padding:12,marginBottom:12,borderWidth:1,borderColor:a.border+"40",overflow:"hidden",position:"relative"},header:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",marginBottom:8,paddingBottom:8,borderBottomWidth:1,borderBottomColor:"rgba(128, 128, 128, 0.1)"},headerLeft:{gap:1},headerRight:{alignItems:"flex-end"},headerTitle:{fontSize:11,fontWeight:"700",color:a.primary,fontFamily:y,letterSpacing:1.5},headerSubtitle:{fontSize:8,color:a.secondary,fontFamily:y,opacity:.7},statusIndicator:{flexDirection:"row",alignItems:"center",gap:4},statusDot:{width:5,height:5,borderRadius:2.5},statusText:{fontSize:9,fontWeight:"600",fontFamily:y,letterSpacing:.5},healthSection:{flexDirection:"row",alignItems:"center",marginBottom:10,gap:8},healthLabel:{fontSize:8,color:a.secondary,fontFamily:y,letterSpacing:.5},healthBarWrapper:{flex:1},healthBarBg:{height:4,backgroundColor:"rgba(128, 128, 128, 0.1)",borderRadius:2,overflow:"hidden"},healthBarFill:{height:"100%",borderRadius:2},healthPercentage:{fontSize:11,fontWeight:"700",fontFamily:y},statsGrid:{gap:6,marginBottom:8},statCard:{backgroundColor:a.blackTint2,borderRadius:8,borderWidth:1,borderColor:a.border,padding:10,marginBottom:4},cardContent:{flexDirection:"row",alignItems:"center",gap:8,marginBottom:4},cardInfo:{flex:1},cardLabel:{fontSize:11,fontWeight:"700",fontFamily:y,letterSpacing:.5,color:a.primary},cardSubtitle:{fontSize:8,color:a.secondary,fontFamily:y,opacity:.7},statNumber:{fontSize:16,fontWeight:"700",fontFamily:y,minWidth:28},valueBlock:{alignItems:"flex-end"},percentText:{fontSize:9,color:a.secondary,fontFamily:y},statBar:{height:3,borderRadius:1.5,overflow:"hidden"},statBarFill:{height:"100%",borderRadius:1.5},bottomBar:{flexDirection:"row",alignItems:"center",paddingTop:8,borderTopWidth:1,borderTopColor:a.border+"40"},bottomStat:{flex:1,alignItems:"center"},bottomStatLabel:{fontSize:7,color:a.muted,fontFamily:y,letterSpacing:.5,marginBottom:1},bottomStatValue:{fontSize:11,fontWeight:"700",color:a.primary,fontFamily:y},bottomDivider:{width:1,height:16,backgroundColor:a.border+"40"},iconBadge:{width:24,height:24,borderRadius:6,borderWidth:1,alignItems:"center",justifyContent:"center"}});import{useState as ze,useCallback as je}from"react";import{jsx as w,jsxs as O}from"react/jsx-runtime";function fe({issues:e,onIssueClick:t,hintText:o="Tap any issue to view details",style:c,expandable:g=true,statusLabels:u={missing:"Not found",wrong_type:"Type error",wrong_value:"Invalid value"}}){let[l,h]=ze(new Set),v=je(r=>{g&&h(x=>{let I=new Set(x);return I.has(r)?I.delete(r):I.add(r),I})},[g]),i=n(r=>r==="missing"?a.warning:a.info,"getStatusColor"),s=n(r=>r==="missing"?H:$,"getStatusIcon"),m=n(r=>{switch(r.status){case"missing":return`\u2022 ${u.missing}`;case"wrong_type":return`\u2022 ${u.wrong_type}${r.expectedType?`: Expected ${r.expectedType}`:""}`;case"wrong_value":return`\u2022 ${u.wrong_value}${r.value?`: ${String(r.value).substring(0,20)}`:""}`;default:return""}},"getStatusLabel");return e.length===0?null:O(d,{style:[b.container,c],children:[e.map((r,x)=>{let I=i(r.status),A=s(r.status),R=l.has(r.key),F=R?Y:J;return O(d,{children:[O(K,{onPress:()=>{g&&v(r.key),t?.(r)},style:b.issueRow,activeOpacity:.7,children:[w(A,{size:14,color:I}),O(d,{style:b.issueContent,children:[w(p,{style:[b.issueKey,{color:a.primary}],children:r.key}),w(p,{style:b.issueDesc,children:m(r)})]}),g&&w(F,{size:12,color:a.muted})]}),g&&R&&O(k.View,{style:b.issueDetails,children:[O(d,{style:b.detailRow,children:[w(p,{style:b.detailLabel,children:"Status:"}),O(p,{style:[b.detailValue,{color:a.primary,fontWeight:"600"}],children:[r.status==="missing"&&"MISSING",r.status==="wrong_type"&&"TYPE ERROR",r.status==="wrong_value"&&"INVALID VALUE"]})]}),r.value!==void 0&&r.status!=="missing"&&O(d,{style:b.detailRow,children:[w(p,{style:b.detailLabel,children:"Current:"}),w(p,{style:[b.detailValue,{color:a.warning}],children:`"${String(r.value)}"`})]}),r.expectedType&&r.status==="wrong_type"&&O(d,{style:b.detailRow,children:[w(p,{style:b.detailLabel,children:"Expected:"}),w(p,{style:[b.detailValue,{color:a.success}],children:r.expectedType})]}),r.expectedValue&&r.status==="wrong_value"&&O(d,{style:b.detailRow,children:[w(p,{style:b.detailLabel,children:"Expected:"}),w(p,{style:[b.detailValue,{color:a.success}],children:`"${r.expectedValue}"`})]}),r.description&&w(d,{style:b.descSection,children:w(p,{style:b.descText,children:r.description})}),r.fixSuggestion&&O(d,{style:b.fixSection,children:[w(p,{style:b.fixLabel,children:"HOW TO FIX"}),w(p,{style:b.fixText,children:r.fixSuggestion})]})]})]},`${r.key}-${x}`)}),o&&w(p,{style:b.hint,children:o})]})}n(fe,"GameUIIssuesList");var b=L.create({container:{backgroundColor:a.panel,borderRadius:8,padding:8,borderWidth:1,borderColor:a.warning+"33"},issueRow:{flexDirection:"row",alignItems:"center",paddingVertical:8,paddingHorizontal:8,borderRadius:6,marginBottom:4},issueContent:{flex:1,marginLeft:8,flexDirection:"row",alignItems:"center",gap:8},issueKey:{fontSize:11,fontWeight:"600",fontFamily:y},issueDesc:{fontSize:10,color:a.secondary,fontFamily:y,flex:1},hint:{fontSize:9,color:a.muted,fontFamily:y,textAlign:"center",marginTop:8,paddingTop:8,borderTopWidth:1,borderTopColor:a.primary+"0D"},issueDetails:{marginTop:8,marginLeft:22,marginRight:8,paddingLeft:12,paddingRight:8,paddingTop:8,paddingBottom:8,backgroundColor:a.background+"4D",borderLeftWidth:2,borderLeftColor:a.primary+"1A",borderRadius:4},detailRow:{flexDirection:"row",marginTop:8,alignItems:"flex-start"},detailLabel:{fontSize:10,color:a.secondary,fontFamily:y,fontWeight:"600",width:70},detailValue:{fontSize:11,color:a.primary,fontFamily:y,flex:1,lineHeight:16},fixSection:{marginTop:12,padding:10,backgroundColor:a.info+"14",borderRadius:6,borderWidth:1,borderColor:a.info+"33"},fixLabel:{fontSize:10,color:a.info,fontFamily:y,fontWeight:"700",marginBottom:6,letterSpacing:.5},fixText:{fontSize:11,color:a.primary,fontFamily:y,lineHeight:18,backgroundColor:a.background+"66",padding:8,borderRadius:4,overflow:"hidden"},descSection:{marginTop:10,paddingTop:10,borderTopWidth:1,borderTopColor:a.primary+"0D"},descText:{fontSize:10,color:a.secondary,fontFamily:y,marginTop:4,lineHeight:14}});import{useMemo as pe,useEffect as Ee,useRef as ge}from"react";var me={OPTIMAL:{icon:we,color:a.success,label:"CONFIG OK",subtitle:"All requirements met",pulse:false},WARNING:{icon:$,color:a.warning,label:"CONFIG WARNING",subtitle:"Check values and types",pulse:false},ERROR:{icon:be,color:a.error,label:"CONFIG ERROR",subtitle:"Missing required data",pulse:false},CRITICAL:{icon:H,color:a.critical,label:"CONFIG FAILURE",subtitle:"Multiple critical issues",pulse:false},LOADING:{icon:he,color:a.info,label:"LOADING",subtitle:"Reading configuration...",pulse:true},EMPTY:{icon:Se,color:a.muted,label:"NO DATA",subtitle:"No configuration found",pulse:false}};function ye(e,t){let o=pe(()=>({...me,...t}),[t]),c=pe(()=>e.totalCount===0?"EMPTY":e.missingCount>2||e.wrongTypeCount>2?"CRITICAL":e.missingCount>0?"ERROR":e.wrongValueCount>0||e.wrongTypeCount>0?"WARNING":"OPTIMAL",[e]),g=o[c],u=ge(new k.Value(1)).current,l=ge(new k.Value(1)).current;return Ee(()=>{u.setValue(0),l.setValue(.95),k.parallel([k.timing(u,{toValue:1,duration:300,useNativeDriver:true}),k.timing(l,{toValue:1,duration:300,easing:X.out(X.ease),useNativeDriver:true})]).start()},[c,u,l]),{alertState:c,alertConfig:g,alertAnimatedStyle:{transform:[{scale:l}],opacity:u},alertOpacity:u,alertScale:l}}n(ye,"useGameUIAlertState");export{Q as a,P as b,M as c,Fe as d,Le as e,se as f,ce as g,de as h,ue as i,fe as j,me as k,ye as l};
@@ -0,0 +1 @@
1
+ "use client";import{a as c}from"./chunk-FPMEM2QO.mjs";import{a as d}from"./chunk-T6T3FEMU.mjs";import{useState as u,useCallback as n}from"react";function w(a=new Set){let[r,s]=u(a),[i,l]=u(false),[p,m]=u(""),h=n(e=>{let o=e.trim();o&&(s(t=>new Set([...t,o])),m(""),l(false))},[]),v=n(e=>{s(o=>{let t=new Set(o);return t.delete(e),t})},[]),S=n(e=>{s(o=>{let t=new Set(o);return t.has(e)?t.delete(e):t.add(e),t})},[]),F=n(()=>{s(new Set),m(""),l(false)},[]),g=n(e=>r.has(e),[r]);return{filters:r,showAddInput:i,newFilter:p,setNewFilter:m,setShowAddInput:l,addFilter:h,removeFilter:v,toggleFilter:S,clearFilters:F,hasFilter:g}}d(w,"useFilterManager");import{useEffect as x,useState as b}from"react";function f(a={}){let[r,s]=b({top:0,bottom:0,left:0,right:0});return x(()=>{let i=d(()=>s(c()),"update");return i(),window.addEventListener("resize",i),window.visualViewport?.addEventListener("resize",i),()=>{window.removeEventListener("resize",i),window.visualViewport?.removeEventListener("resize",i)}},[]),{top:Math.max(r.top,a.minTop??0),bottom:Math.max(r.bottom,a.minBottom??0),left:Math.max(r.left,a.minLeft??0),right:Math.max(r.right,a.minRight??0)}}d(f,"useSafeAreaInsets");export{w as a,f as b};
@@ -1 +1 @@
1
- "use client";import{b as h,c as y}from"./chunk-SBYYOE2T.mjs";import{a as b}from"./chunk-T6T3FEMU.mjs";export*from"react-native-web";import{unstable_createElement as g,NativeModules as v,AccessibilityInfo as w,Animated as E,Appearance as C,AppRegistry as S,AppState as k,BackHandler as A,Clipboard as T,Dimensions as I,Easing as B,I18nManager as M,Keyboard as L,InteractionManager as N,LayoutAnimation as V,Linking as P,NativeEventEmitter as O,PanResponder as R,PixelRatio as j,Platform as z,Share as D,StyleSheet as K,UIManager as $,Vibration as H,CheckBox as W,FlatList as F,Image as U,ImageBackground as Y,KeyboardAvoidingView as _,Picker as q,ProgressBar as G,RefreshControl as J,SafeAreaView as Q,SectionList as X,StatusBar as Z,Touchable as ee,TouchableNativeFeedback as ae,VirtualizedList as te,YellowBox as se,LogBox as ne,DeviceEventEmitter as ie,useColorScheme as oe,useLocaleContext as re,useWindowDimensions as le}from"react-native-web";import*as t from"react-native-web";import{createElement as m,forwardRef as x,useCallback as de,useRef as ce}from"react";function s(l){let n=x((c,e)=>{let{accessibilityState:a,accessibilityValue:p,...d}=c;for(let r of["busy","checked","disabled","expanded","selected"])a?.[r]!==void 0&&d[`aria-${r}`]===void 0&&(d[`aria-${r}`]=a[r]);for(let[r,i]of Object.entries({min:"valuemin",max:"valuemax",now:"valuenow",text:"valuetext"}))p?.[r]!==void 0&&d[`aria-${i}`]===void 0&&(d[`aria-${i}`]=p[r]);return m(l,{...d,ref:e})}),o=l.State;return o&&Object.assign(n,{State:o}),n.displayName=l.displayName??l.name??"NativeWebView",n}b(s,"withAccessibility");var pe=s(t.View),ue=s(t.Text),me=s(t.TextInput),be=s(t.TouchableOpacity),xe=s(t.TouchableHighlight),fe=s(t.TouchableWithoutFeedback),he=s(t.Pressable),ye=s(t.ScrollView),f=x((l,n)=>{let o=ce(null),c=de(e=>{if(e){let a=e;for(;a.parentElement&&a.parentElement!==document.body;)a=a.parentElement;a.parentElement===document.body&&(o.current=a,Object.assign(a.style,{position:"relative",zIndex:"2147483647",pointerEvents:"auto"}),h().appendChild(a))}else o.current&&(document.body.appendChild(o.current),o.current=null);typeof n=="function"?n(e):n&&(n.current=e)},[n]);return m(y,null,m(t.Modal,{...l,ref:c}))});f.displayName="Modal";var ge=s(f),ve=s(t.Switch),we=s(t.ActivityIndicator),Ee=s(t.Button),Ce=t.findNodeHandle,Se={alert(l,n,o,c){if(typeof document>"u")return;let e=document.createElement("dialog");e.dataset.buoyRoot="",e.setAttribute("aria-label",l),e.style.cssText="position:fixed;inset:0;margin:auto;width:min(440px,90vw);padding:24px;border:1px solid #475569;border-radius:14px;background:#17212e;color:#f1f5f9;font:14px system-ui;box-shadow:0 20px 80px #0008;z-index:2147483647";let a=document.createElement("h2");if(a.textContent=l,a.style.cssText="font-size:18px;margin:0 0 12px",e.appendChild(a),n){let i=document.createElement("p");i.textContent=n,i.style.cssText="line-height:1.5;white-space:pre-wrap;margin:0 0 20px",e.appendChild(i)}let p=document.createElement("div");p.style.cssText="display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px";let d=o?.length?o:[{text:"OK"}],r=b(()=>{e.close?.(),e.remove()},"close");for(let i of d){let u=document.createElement("button");u.type="button",u.textContent=i.text??"OK",u.style.cssText=`padding:9px 14px;border:1px solid #64748b;border-radius:7px;color:white;background:${i.style==="destructive"?"#a52b38":"#283a4d"};cursor:pointer;font:inherit`,u.onclick=()=>{r(),i.onPress?.()},p.appendChild(u)}e.addEventListener("cancel",i=>{i.preventDefault(),c?.cancelable!==false&&(r(),c?.onDismiss?.())}),e.appendChild(p),document.body.appendChild(e),e.showModal?e.showModal():e.setAttribute("open","")}};export{pe as a,ue as b,me as c,be as d,xe as e,fe as f,he as g,ye as h,ge as i,ve as j,we as k,Ee as l,Ce as m,Se as n,g as o,v as p,w as q,E as r,C as s,S as t,k as u,A as v,T as w,I as x,B as y,M as z,L as A,N as B,V as C,P as D,O as E,R as F,j as G,z as H,D as I,K as J,$ as K,H as L,W as M,F as N,U as O,Y as P,_ as Q,q as R,G as S,J as T,Q as U,X as V,Z as W,ee as X,ae as Y,te as Z,se as _,ne as $,ie as aa,oe as ba,re as ca,le as da};
1
+ "use client";import{b as h,c as y}from"./chunk-SBYYOE2T.mjs";import{a as b}from"./chunk-T6T3FEMU.mjs";export*from"react-native-web";import{unstable_createElement as g,NativeModules as v,AccessibilityInfo as w,Animated as E,Appearance as C,AppRegistry as S,AppState as k,BackHandler as A,Clipboard as T,Dimensions as I,Easing as B,I18nManager as L,Keyboard as M,InteractionManager as N,LayoutAnimation as V,Linking as P,NativeEventEmitter as R,PanResponder as O,PixelRatio as D,Platform as $,Share as j,StyleSheet as z,UIManager as K,Vibration as F,CheckBox as H,FlatList as W,Image as U,ImageBackground as Y,KeyboardAvoidingView as _,Picker as q,ProgressBar as G,RefreshControl as J,SafeAreaView as Q,SectionList as X,StatusBar as Z,Touchable as ee,TouchableNativeFeedback as ae,VirtualizedList as te,YellowBox as se,LogBox as ie,DeviceEventEmitter as oe,useColorScheme as ne,useLocaleContext as re,useWindowDimensions as le}from"react-native-web";import*as t from"react-native-web";import{createElement as m,forwardRef as x,useCallback as de,useRef as ce}from"react";function s(l){let i=x((c,e)=>{let{accessibilityState:a,accessibilityValue:p,...d}=c;for(let r of["busy","checked","disabled","expanded","selected"])a?.[r]!==void 0&&d[`aria-${r}`]===void 0&&(d[`aria-${r}`]=a[r]);for(let[r,o]of Object.entries({min:"valuemin",max:"valuemax",now:"valuenow",text:"valuetext"}))p?.[r]!==void 0&&d[`aria-${o}`]===void 0&&(d[`aria-${o}`]=p[r]);return m(l,{...d,ref:e})}),n=l.State;return n&&Object.assign(i,{State:n}),i.displayName=l.displayName??l.name??"NativeWebView",i}b(s,"withAccessibility");var pe=s(t.View),ue=s(t.Text),me=s(t.TextInput),be=s(t.TouchableOpacity),xe=s(t.TouchableHighlight),fe=s(t.TouchableWithoutFeedback),he=s(t.Pressable),ye=s(t.ScrollView),f=x((l,i)=>{let n=ce(null),c=de(e=>{if(e){let a=e;for(;a.parentElement&&a.parentElement!==document.body;)a=a.parentElement;a.parentElement===document.body&&(n.current=a,Object.assign(a.style,{position:"relative",zIndex:"2147483647",pointerEvents:"auto"}),h().appendChild(a))}else n.current&&(document.body.appendChild(n.current),n.current=null);typeof i=="function"?i(e):i&&(i.current=e)},[i]);return m(y,null,m(t.Modal,{...l,ref:c}))});f.displayName="Modal";var ge=s(f),ve=s(t.Switch),we=s(t.ActivityIndicator),Ee=s(t.Button),Ce=t.findNodeHandle,Se={alert(l,i,n,c){if(typeof document>"u")return;let e=document.createElement("dialog");e.dataset.buoyRoot="",e.setAttribute("aria-label",l),e.style.cssText="position:fixed;inset:0;margin:auto;width:min(440px,90vw);padding:24px;border:1px solid #475569;border-radius:14px;background:#17212e;color:#f1f5f9;font:14px system-ui;box-shadow:0 20px 80px #0008;z-index:2147483647";let a=document.createElement("h2");if(a.textContent=l,a.style.cssText="font-size:18px;margin:0 0 12px",e.appendChild(a),i){let o=document.createElement("p");o.textContent=i,o.style.cssText="line-height:1.5;white-space:pre-wrap;margin:0 0 20px",e.appendChild(o)}let p=document.createElement("div");p.style.cssText="display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px";let d=n?.length?n:[{text:"OK"}],r=b(()=>{e.close?.(),e.remove()},"close");for(let o of d){let u=document.createElement("button");u.type="button",u.textContent=o.text??"OK",u.style.cssText=`padding:9px 14px;border:1px solid #64748b;border-radius:7px;color:white;background:${o.style==="destructive"?"#a52b38":"#283a4d"};cursor:pointer;font:inherit`,u.onclick=()=>{r(),o.onPress?.()},p.appendChild(u)}e.addEventListener("cancel",o=>{o.preventDefault(),c?.cancelable!==false&&(r(),c?.onDismiss?.())}),e.appendChild(p),document.body.appendChild(e),e.showModal?e.showModal():e.setAttribute("open","")}};export{pe as a,ue as b,me as c,be as d,xe as e,fe as f,he as g,ye as h,ge as i,ve as j,we as k,Ee as l,Ce as m,Se as n,g as o,v as p,w as q,E as r,C as s,S as t,k as u,A as v,T as w,I as x,B as y,L as z,M as A,N as B,V as C,P as D,R as E,O as F,D as G,$ as H,j as I,z as J,K,F as L,H as M,W as N,U as O,Y as P,_ as Q,q as R,G as S,J as T,Q as U,X as V,Z as W,ee as X,ae as Y,te as Z,se as _,ie as $,oe as aa,ne as ba,re as ca,le as da};
@@ -1 +1 @@
1
- "use client";import{a as c}from"./chunk-RMLVR5LI.mjs";import{a as d}from"./chunk-T6T3FEMU.mjs";import{useState as u,useCallback as n}from"react";function w(a=new Set){let[r,s]=u(a),[i,l]=u(false),[p,m]=u(""),h=n(e=>{let o=e.trim();o&&(s(t=>new Set([...t,o])),m(""),l(false))},[]),v=n(e=>{s(o=>{let t=new Set(o);return t.delete(e),t})},[]),S=n(e=>{s(o=>{let t=new Set(o);return t.has(e)?t.delete(e):t.add(e),t})},[]),F=n(()=>{s(new Set),m(""),l(false)},[]),g=n(e=>r.has(e),[r]);return{filters:r,showAddInput:i,newFilter:p,setNewFilter:m,setShowAddInput:l,addFilter:h,removeFilter:v,toggleFilter:S,clearFilters:F,hasFilter:g}}d(w,"useFilterManager");import{useEffect as x,useState as b}from"react";function f(a={}){let[r,s]=b({top:0,bottom:0,left:0,right:0});return x(()=>{let i=d(()=>s(c()),"update");return i(),window.addEventListener("resize",i),window.visualViewport?.addEventListener("resize",i),()=>{window.removeEventListener("resize",i),window.visualViewport?.removeEventListener("resize",i)}},[]),{top:Math.max(r.top,a.minTop??0),bottom:Math.max(r.bottom,a.minBottom??0),left:Math.max(r.left,a.minLeft??0),right:Math.max(r.right,a.minRight??0)}}d(f,"useSafeAreaInsets");export{w as a,f as b};
1
+ "use client";import{a as c}from"./chunk-RMLVR5LI.mjs";import{a as d}from"./chunk-T6T3FEMU.mjs";import{useState as u,useCallback as o}from"react";function w(s=new Set){let[r,i]=u(s),[a,l]=u(false),[p,m]=u(""),h=o(e=>{let n=e.trim();n&&(i(t=>new Set([...t,n])),m(""),l(false))},[]),v=o(e=>{i(n=>{let t=new Set(n);return t.delete(e),t})},[]),S=o(e=>{i(n=>{let t=new Set(n);return t.has(e)?t.delete(e):t.add(e),t})},[]),F=o(()=>{i(new Set),m(""),l(false)},[]),g=o(e=>r.has(e),[r]);return{filters:r,showAddInput:a,newFilter:p,setNewFilter:m,setShowAddInput:l,addFilter:h,removeFilter:v,toggleFilter:S,clearFilters:F,hasFilter:g}}d(w,"useFilterManager");import{useEffect as b,useState as x}from"react";function f(s={}){let[r,i]=x({top:0,bottom:0,left:0,right:0});return b(()=>{let a=d(()=>i(c()),"update");return a(),window.addEventListener("resize",a),window.visualViewport?.addEventListener("resize",a),()=>{window.removeEventListener("resize",a),window.visualViewport?.removeEventListener("resize",a)}},[]),{top:Math.max(r.top,s.minTop??0),bottom:Math.max(r.bottom,s.minBottom??0),left:Math.max(r.left,s.minLeft??0),right:Math.max(r.right,s.minRight??0)}}d(f,"useSafeAreaInsets");export{w as a,f as b};