@buoy-gg/shared-ui 7.0.41 → 7.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dataViewer.js +1 -9
- package/floating.js +1 -2
- package/history.js +1 -7
- package/hooks.js +1 -7
- package/lib/commonjs/JsModal.js +1 -1766
- package/lib/commonjs/JsModal.web.js +1 -1589
- package/lib/commonjs/clipboard/autoDetectClipboard.js +1 -67
- package/lib/commonjs/clipboard/clipboard-impl.js +1 -128
- package/lib/commonjs/clipboard/clipboard-impl.web.js +1 -21
- package/lib/commonjs/clipboard/copyToClipboard.js +1 -64
- package/lib/commonjs/clipboard/index.js +1 -25
- package/lib/commonjs/colors/index.js +1 -49
- package/lib/commonjs/context/HintsContext.js +1 -49
- package/lib/commonjs/context/index.js +1 -24
- package/lib/commonjs/dataViewer/CyberpunkInput.js +1 -388
- package/lib/commonjs/dataViewer/DataTreeActionBar.js +1 -390
- package/lib/commonjs/dataViewer/DataTreeActionDock.js +1 -226
- package/lib/commonjs/dataViewer/DataViewer.js +1 -158
- package/lib/commonjs/dataViewer/DiffSummary.js +1 -134
- package/lib/commonjs/dataViewer/IndentGuides.js +1 -128
- package/lib/commonjs/dataViewer/IndentGuidesOverlay.js +1 -104
- package/lib/commonjs/dataViewer/JsonStringNotice.js +1 -59
- package/lib/commonjs/dataViewer/LiveExplorer.js +1 -943
- package/lib/commonjs/dataViewer/SplitDiffViewer.js +1 -421
- package/lib/commonjs/dataViewer/ThemedSplitView.js +1 -642
- package/lib/commonjs/dataViewer/TimestampDeltaBar.js +1 -96
- package/lib/commonjs/dataViewer/TypeLegend.js +1 -111
- package/lib/commonjs/dataViewer/ValueEditModal.js +1 -386
- package/lib/commonjs/dataViewer/VirtualizedDataExplorer.js +1 -1270
- package/lib/commonjs/dataViewer/diffThemes.js +1 -113
- package/lib/commonjs/dataViewer/index.js +1 -320
- package/lib/commonjs/dataViewer/jsonOps.js +1 -320
- package/lib/commonjs/dataViewer/jsonStringValue.js +1 -94
- package/lib/commonjs/dataViewer/lineDiff.js +1 -568
- package/lib/commonjs/dataViewer/nestedPath.js +1 -115
- package/lib/commonjs/dataViewer/objectDiff.js +1 -304
- package/lib/commonjs/dataViewer/timestampDiff.js +1 -146
- package/lib/commonjs/dataViewer/tree/TreeDiffViewer.js +1 -915
- package/lib/commonjs/dataViewer/treeActions.js +1 -168
- package/lib/commonjs/dataViewer/useTreeDraft.js +1 -125
- package/lib/commonjs/dataViewer/useTreeEditor.js +1 -105
- package/lib/commonjs/env/EnvironmentIndicator.js +1 -129
- package/lib/commonjs/env/EnvironmentIndicator.web.js +1 -114
- package/lib/commonjs/env/EnvironmentSelector.js +1 -205
- package/lib/commonjs/env/EnvironmentSelectorInline.js +1 -299
- package/lib/commonjs/env/EnvironmentSelectorInline.web.js +1 -178
- package/lib/commonjs/history/HistoryProvider.js +1 -246
- package/lib/commonjs/history/components/HistoryEntryRow.js +1 -146
- package/lib/commonjs/history/components/HistoryList.js +1 -174
- package/lib/commonjs/history/components/index.js +1 -25
- package/lib/commonjs/history/index.js +1 -61
- package/lib/commonjs/history/types.js +1 -5
- package/lib/commonjs/hooks/index.js +1 -77
- package/lib/commonjs/hooks/safe-area-impl.js +1 -28
- package/lib/commonjs/hooks/useChangeLog.js +1 -55
- package/lib/commonjs/hooks/useDeviceInfo.js +1 -524
- package/lib/commonjs/hooks/useEventStoreEvents.js +1 -65
- package/lib/commonjs/hooks/useFilterManager.js +1 -136
- package/lib/commonjs/hooks/usePersistedState.js +1 -106
- package/lib/commonjs/hooks/useSafeAreaInsets.js +1 -250
- package/lib/commonjs/hooks/useSafeAreaInsets.web.js +1 -41
- package/lib/commonjs/icons/BenchmarkIcon.js +1 -109
- package/lib/commonjs/icons/EnvLaptopIcon.js +1 -204
- package/lib/commonjs/icons/IconBackground.js +1 -279
- package/lib/commonjs/icons/ReactQueryIcon.js +1 -17
- package/lib/commonjs/icons/RenderCountIcon.js +1 -147
- package/lib/commonjs/icons/RouteMapIcon.js +1 -250
- package/lib/commonjs/icons/SentryBugIcon.js +1 -19
- package/lib/commonjs/icons/StackPulseIcon.js +1 -158
- package/lib/commonjs/icons/StorageStackIcon.js +1 -156
- package/lib/commonjs/icons/WifiCircuitIcon.js +1 -169
- package/lib/commonjs/icons/index.js +1 -840
- package/lib/commonjs/icons/lucide-icons-original-full.js +1 -3248
- package/lib/commonjs/icons/lucide-icons.js +1 -2476
- package/lib/commonjs/icons/primitives/GlobeIcon.js +1 -66
- package/lib/commonjs/icons/primitives/icon-primitives.js +1 -169
- package/lib/commonjs/icons/primitives/index.js +1 -49
- package/lib/commonjs/index.js +1 -1132
- package/lib/commonjs/license/AccountSetup.js +1 -35
- package/lib/commonjs/license/AccountSetup.web.js +2 -83
- package/lib/commonjs/license/AccountSetupContent.js +1 -482
- package/lib/commonjs/license/FeatureGate.js +1 -788
- package/lib/commonjs/license/FreeAccountPrompt.js +1 -59
- package/lib/commonjs/license/LicenseEntryModal.js +2 -387
- package/lib/commonjs/license/accountRuntime.js +1 -8
- package/lib/commonjs/license/accountRuntime.web.js +1 -9
- package/lib/commonjs/license/index.js +1 -106
- package/lib/commonjs/license/licenseModule.js +1 -121
- package/lib/commonjs/license/openPricing.js +1 -36
- package/lib/commonjs/license/tierLimits.js +1 -128
- package/lib/commonjs/logger/index-sentry.js +1 -245
- package/lib/commonjs/logger/index.js +1 -62
- package/lib/commonjs/logger/logDump.js +1 -19
- package/lib/commonjs/logger/types.js +1 -38
- package/lib/commonjs/settings/components/BubbleSettingsSection.js +1 -384
- package/lib/commonjs/settings/index.js +1 -24
- package/lib/commonjs/storage/definePersistedSetting.js +1 -67
- package/lib/commonjs/storage/devToolsStorageKeys.js +1 -359
- package/lib/commonjs/storage/index.js +1 -25
- package/lib/commonjs/stores/BaseEventStore.js +1 -343
- package/lib/commonjs/stores/ChangeLog.js +1 -197
- package/lib/commonjs/stores/createToolStore.js +1 -193
- package/lib/commonjs/stores/floatingToolStore.js +1 -71
- package/lib/commonjs/stores/floatingToolStore.test.js +1 -112
- package/lib/commonjs/stores/ignoredPatternsCore.js +1 -75
- package/lib/commonjs/stores/ignoredPatternsStore.js +1 -16
- package/lib/commonjs/stores/ignoredPatternsStore.shared.js +1 -205
- package/lib/commonjs/stores/ignoredPatternsStore.web.js +1 -16
- package/lib/commonjs/stores/index.js +1 -51
- package/lib/commonjs/sync/keyedArrays.js +1 -209
- package/lib/commonjs/sync/toolActionRegistry.js +1 -249
- package/lib/commonjs/sync/toolAttention.test.js +1 -51
- package/lib/commonjs/sync/toolSyncAdapter.js +1 -63
- package/lib/commonjs/sync/toolUiBridge.js +1 -132
- package/lib/commonjs/sync/typedEdit.js +1 -228
- package/lib/commonjs/sync/valuePath.js +1 -337
- package/lib/commonjs/sync/valueShape.js +1 -161
- package/lib/commonjs/sync/wireBudget.js +1 -97
- package/lib/commonjs/sync/wireForm.js +1 -172
- package/lib/commonjs/tools/defineTool.js +1 -79
- package/lib/commonjs/types/types.d.js +1 -1
- package/lib/commonjs/types/types.js +1 -37
- package/lib/commonjs/ui/backgrounds/BackgroundSwitcher.js +1 -354
- package/lib/commonjs/ui/backgrounds/ToolBackground.js +1 -76
- package/lib/commonjs/ui/backgrounds/backgroundStore.js +1 -130
- package/lib/commonjs/ui/backgrounds/index.js +1 -167
- package/lib/commonjs/ui/backgrounds/primitives.js +1 -369
- package/lib/commonjs/ui/backgrounds/registry.js +1 -98
- package/lib/commonjs/ui/backgrounds/rng.js +1 -93
- package/lib/commonjs/ui/backgrounds/skyClock.js +1 -45
- package/lib/commonjs/ui/backgrounds/types.js +1 -1
- package/lib/commonjs/ui/backgrounds/variants/daylight.js +1 -453
- package/lib/commonjs/ui/backgrounds/variants/deepField.js +1 -381
- package/lib/commonjs/ui/backgrounds/variants/hyperspace.js +1 -218
- package/lib/commonjs/ui/backgrounds/variants/liveSky.js +1 -898
- package/lib/commonjs/ui/backgrounds/variants/meteors.js +1 -401
- package/lib/commonjs/ui/backgrounds/variants/moonlight.js +1 -472
- package/lib/commonjs/ui/backgrounds/variants/underwater.js +1 -757
- package/lib/commonjs/ui/backgrounds/variants/wormhole/motion.js +1 -48
- package/lib/commonjs/ui/backgrounds/variants/wormhole/textures.js +1 -3
- package/lib/commonjs/ui/backgrounds/variants/wormhole.js +1 -136
- package/lib/commonjs/ui/components/BackButton.js +1 -47
- package/lib/commonjs/ui/components/Badge.js +1 -226
- package/lib/commonjs/ui/components/ChangeRow.js +1 -111
- package/lib/commonjs/ui/components/ChipStrip.js +1 -94
- package/lib/commonjs/ui/components/ClipboardHintBanner.js +1 -149
- package/lib/commonjs/ui/components/CollapsibleSection.js +1 -170
- package/lib/commonjs/ui/components/CompactFilterChips.js +1 -114
- package/lib/commonjs/ui/components/CompactRow.js +1 -295
- package/lib/commonjs/ui/components/CopyButton.js +1 -307
- package/lib/commonjs/ui/components/DataInspector.js +1 -323
- package/lib/commonjs/ui/components/DetailView.js +1 -358
- package/lib/commonjs/ui/components/DetailViewToggle.js +1 -130
- package/lib/commonjs/ui/components/DevToolsCard.js +1 -126
- package/lib/commonjs/ui/components/DraggableHeader.js +1 -215
- package/lib/commonjs/ui/components/DynamicFilterView.js +1 -758
- package/lib/commonjs/ui/components/EmptyState.js +1 -151
- package/lib/commonjs/ui/components/EntityFilterView.js +1 -355
- package/lib/commonjs/ui/components/EventHistoryViewer/CompareBar.js +1 -211
- package/lib/commonjs/ui/components/EventHistoryViewer/DiffModeTabs.js +1 -99
- package/lib/commonjs/ui/components/EventHistoryViewer/EventHistoryViewer.js +1 -184
- package/lib/commonjs/ui/components/EventHistoryViewer/EventPickerModal.js +1 -208
- package/lib/commonjs/ui/components/EventHistoryViewer/ViewToggleCards.js +1 -137
- package/lib/commonjs/ui/components/EventHistoryViewer/index.js +1 -40
- package/lib/commonjs/ui/components/EventHistoryViewer/types.js +1 -5
- package/lib/commonjs/ui/components/EventListItem.js +1 -247
- package/lib/commonjs/ui/components/EventStepperFooter.js +1 -185
- package/lib/commonjs/ui/components/ExpandablePopover.js +1 -381
- package/lib/commonjs/ui/components/ExpandedInfoRow.js +1 -108
- package/lib/commonjs/ui/components/ExportPreview.js +1 -174
- package/lib/commonjs/ui/components/FilterComponents.js +1 -291
- package/lib/commonjs/ui/components/GripVerticalIcon.js +1 -65
- package/lib/commonjs/ui/components/HeaderSearchButton.js +1 -50
- package/lib/commonjs/ui/components/InfoRow.js +1 -91
- package/lib/commonjs/ui/components/ListItem.js +1 -173
- package/lib/commonjs/ui/components/ModalHeader.js +1 -305
- package/lib/commonjs/ui/components/ModalHintBanner.js +1 -147
- package/lib/commonjs/ui/components/Pill.js +1 -115
- package/lib/commonjs/ui/components/PowerToggleButton.js +1 -78
- package/lib/commonjs/ui/components/SearchBar.js +1 -165
- package/lib/commonjs/ui/components/SectionHeader.js +1 -129
- package/lib/commonjs/ui/components/StatsCard.js +1 -198
- package/lib/commonjs/ui/components/StatusIndicator.js +1 -231
- package/lib/commonjs/ui/components/StorageTypeBadge.js +1 -97
- package/lib/commonjs/ui/components/TabSelector.js +1 -102
- package/lib/commonjs/ui/components/TimeDisplay.js +1 -142
- package/lib/commonjs/ui/components/ToggleRow.js +1 -116
- package/lib/commonjs/ui/components/ToolButton.js +1 -93
- package/lib/commonjs/ui/components/ToolEmptyState.js +1 -154
- package/lib/commonjs/ui/components/ToolFooter.js +1 -205
- package/lib/commonjs/ui/components/ValueTypeBadge.js +1 -147
- package/lib/commonjs/ui/components/WindowControls.js +1 -387
- package/lib/commonjs/ui/components/index.js +1 -507
- package/lib/commonjs/ui/components/windowDrag.js +1 -45
- package/lib/commonjs/ui/console/CyberpunkButtonOutline.js +1 -261
- package/lib/commonjs/ui/console/CyberpunkIconContainer.js +1 -186
- package/lib/commonjs/ui/console/CyberpunkSectionButton.js +1 -123
- package/lib/commonjs/ui/floating/FloatingTool.js +1 -1010
- package/lib/commonjs/ui/floating/FloatingTool.web.js +1 -601
- package/lib/commonjs/ui/floating/FloatingToolHost.js +1 -32
- package/lib/commonjs/ui/floating/FloatingToolHost.web.js +1 -28
- package/lib/commonjs/ui/floating/index.js +1 -105
- package/lib/commonjs/ui/floating/index.web.js +1 -105
- package/lib/commonjs/ui/floating/onboardingConstants.js +1 -70
- package/lib/commonjs/ui/floating/onboardingConstants.web.js +1 -34
- package/lib/commonjs/ui/fonts.js +1 -12
- package/lib/commonjs/ui/gameUI/components/GameUICollapsibleSection.js +1 -121
- package/lib/commonjs/ui/gameUI/components/GameUICompactStats.js +1 -336
- package/lib/commonjs/ui/gameUI/components/GameUIIssuesList.js +1 -284
- package/lib/commonjs/ui/gameUI/components/GameUIStatusHeader.js +1 -145
- package/lib/commonjs/ui/gameUI/constants/gameUIColors.js +1 -224
- package/lib/commonjs/ui/gameUI/constants/macOSDesignSystemColors.js +1 -224
- package/lib/commonjs/ui/gameUI/hooks/useGameUIAlertState.js +1 -110
- package/lib/commonjs/ui/gameUI/index.js +1 -72
- package/lib/commonjs/ui/index.js +1 -217
- package/lib/commonjs/ui/listPresets.js +1 -43
- package/lib/commonjs/ui/night/nightTheme.js +1 -130
- package/lib/commonjs/ui/night/primitives.js +1 -524
- package/lib/commonjs/ui/otto/OttoSceneView.js +1 -69
- package/lib/commonjs/ui/otto/OttoSprite.js +1 -510
- package/lib/commonjs/ui/otto/index.js +1 -60
- package/lib/commonjs/ui/otto/ottoEngine.js +1 -2737
- package/lib/commonjs/ui/otto/ottoScenes.js +1 -949
- package/lib/commonjs/ui/otto/ottoSheet.js +1 -191
- package/lib/commonjs/ui/toolTheme.js +1 -97
- package/lib/commonjs/utils/absoluteFill.js +1 -28
- package/lib/commonjs/utils/browserAsyncStorage.js +1 -157
- package/lib/commonjs/utils/browserNavigation.js +1 -116
- package/lib/commonjs/utils/devServer.js +1 -66
- package/lib/commonjs/utils/devServer.web.js +1 -10
- package/lib/commonjs/utils/displayValue.js +1 -41
- package/lib/commonjs/utils/domRuntime.js +1 -143
- package/lib/commonjs/utils/expoRouterModule.js +1 -51
- package/lib/commonjs/utils/expoRouterModule.web.js +1 -14
- package/lib/commonjs/utils/formatting/dataFormatting.js +1 -102
- package/lib/commonjs/utils/formatting/httpFormatting.js +1 -147
- package/lib/commonjs/utils/formatting/index.js +1 -27
- package/lib/commonjs/utils/getSafeAreaInsets.js +1 -40
- package/lib/commonjs/utils/getSafeAreaInsets.web.js +1 -35
- package/lib/commonjs/utils/index.js +1 -416
- package/lib/commonjs/utils/loadOptionalModule.js +1 -94
- package/lib/commonjs/utils/loadToolModule.js +1 -46
- package/lib/commonjs/utils/loadToolModule.web.js +1 -12
- package/lib/commonjs/utils/minimalSuperJSON.js +1 -347
- package/lib/commonjs/utils/modalStorage.js +1 -42
- package/lib/commonjs/utils/nativeWeb.js +1 -454
- package/lib/commonjs/utils/persistentStorage.js +1 -609
- package/lib/commonjs/utils/persistentStorage.web.js +1 -78
- package/lib/commonjs/utils/realNow.js +1 -0
- package/lib/commonjs/utils/reloadApp.js +1 -105
- package/lib/commonjs/utils/reloadPlatform.js +1 -37
- package/lib/commonjs/utils/reloadPlatform.web.js +1 -17
- package/lib/commonjs/utils/renderCaptureRegistry.js +1 -59
- package/lib/commonjs/utils/safeExpoRouter.js +1 -200
- package/lib/commonjs/utils/safeExpoRouter.web.js +1 -48
- package/lib/commonjs/utils/safeStringify.js +1 -229
- package/lib/commonjs/utils/snapshotProviderKit.js +1 -167
- package/lib/commonjs/utils/stateSnapshotRegistry.js +1 -71
- package/lib/commonjs/utils/stateTools.js +1 -160
- package/lib/commonjs/utils/subscribable.js +1 -113
- package/lib/commonjs/utils/subscriberCountNotifier.js +1 -72
- package/lib/commonjs/utils/time/RelativeTime.js +1 -31
- package/lib/commonjs/utils/time/TickContext.js +1 -43
- package/lib/commonjs/utils/time/formatRelativeTime.js +1 -34
- package/lib/commonjs/utils/time/index.js +1 -39
- package/lib/commonjs/utils/time/useRelativeTime.js +1 -36
- package/lib/commonjs/utils/toolModules.js +1 -25
- package/lib/commonjs/utils/typeHelpers.js +1 -142
- package/lib/commonjs/utils/valueFormatting.js +1 -140
- package/lib/module/JsModal.js +1 -1762
- package/lib/module/JsModal.web.js +1 -1585
- package/lib/module/clipboard/autoDetectClipboard.js +1 -45
- package/lib/module/clipboard/clipboard-impl.js +1 -121
- package/lib/module/clipboard/clipboard-impl.web.js +1 -14
- package/lib/module/clipboard/copyToClipboard.js +1 -60
- package/lib/module/clipboard/index.js +1 -5
- package/lib/module/colors/index.js +1 -21
- package/lib/module/context/HintsContext.js +1 -43
- package/lib/module/context/index.js +1 -3
- package/lib/module/dataViewer/CyberpunkInput.js +1 -384
- package/lib/module/dataViewer/DataTreeActionBar.js +1 -385
- package/lib/module/dataViewer/DataTreeActionDock.js +1 -222
- package/lib/module/dataViewer/DataViewer.js +1 -153
- package/lib/module/dataViewer/DiffSummary.js +1 -129
- package/lib/module/dataViewer/IndentGuides.js +1 -124
- package/lib/module/dataViewer/IndentGuidesOverlay.js +1 -99
- package/lib/module/dataViewer/JsonStringNotice.js +1 -54
- package/lib/module/dataViewer/LiveExplorer.js +1 -937
- package/lib/module/dataViewer/SplitDiffViewer.js +1 -416
- package/lib/module/dataViewer/ThemedSplitView.js +1 -637
- package/lib/module/dataViewer/TimestampDeltaBar.js +1 -91
- package/lib/module/dataViewer/TypeLegend.js +1 -105
- package/lib/module/dataViewer/ValueEditModal.js +1 -382
- package/lib/module/dataViewer/VirtualizedDataExplorer.js +1 -1265
- package/lib/module/dataViewer/diffThemes.js +1 -109
- package/lib/module/dataViewer/index.js +1 -57
- package/lib/module/dataViewer/jsonOps.js +1 -311
- package/lib/module/dataViewer/jsonStringValue.js +1 -89
- package/lib/module/dataViewer/lineDiff.js +1 -564
- package/lib/module/dataViewer/nestedPath.js +1 -109
- package/lib/module/dataViewer/objectDiff.js +1 -297
- package/lib/module/dataViewer/timestampDiff.js +1 -139
- package/lib/module/dataViewer/tree/TreeDiffViewer.js +1 -909
- package/lib/module/dataViewer/treeActions.js +1 -162
- package/lib/module/dataViewer/useTreeDraft.js +1 -121
- package/lib/module/dataViewer/useTreeEditor.js +1 -101
- package/lib/module/env/EnvironmentIndicator.js +1 -125
- package/lib/module/env/EnvironmentIndicator.web.js +1 -108
- package/lib/module/env/EnvironmentSelector.js +1 -201
- package/lib/module/env/EnvironmentSelectorInline.js +1 -295
- package/lib/module/env/EnvironmentSelectorInline.web.js +1 -173
- package/lib/module/history/HistoryProvider.js +1 -237
- package/lib/module/history/components/HistoryEntryRow.js +1 -142
- package/lib/module/history/components/HistoryList.js +1 -169
- package/lib/module/history/components/index.js +1 -8
- package/lib/module/history/index.js +1 -15
- package/lib/module/history/types.js +1 -3
- package/lib/module/hooks/index.js +1 -9
- package/lib/module/hooks/safe-area-impl.js +1 -23
- package/lib/module/hooks/useChangeLog.js +1 -50
- package/lib/module/hooks/useDeviceInfo.js +1 -519
- package/lib/module/hooks/useEventStoreEvents.js +1 -61
- package/lib/module/hooks/useFilterManager.js +1 -132
- package/lib/module/hooks/usePersistedState.js +1 -102
- package/lib/module/hooks/useSafeAreaInsets.js +1 -245
- package/lib/module/hooks/useSafeAreaInsets.web.js +1 -30
- package/lib/module/icons/BenchmarkIcon.js +1 -104
- package/lib/module/icons/EnvLaptopIcon.js +1 -199
- package/lib/module/icons/IconBackground.js +1 -274
- package/lib/module/icons/ReactQueryIcon.js +1 -12
- package/lib/module/icons/RenderCountIcon.js +1 -142
- package/lib/module/icons/RouteMapIcon.js +1 -245
- package/lib/module/icons/SentryBugIcon.js +1 -14
- package/lib/module/icons/StackPulseIcon.js +1 -153
- package/lib/module/icons/StorageStackIcon.js +1 -151
- package/lib/module/icons/WifiCircuitIcon.js +1 -164
- package/lib/module/icons/index.js +1 -63
- package/lib/module/icons/lucide-icons-original-full.js +1 -3178
- package/lib/module/icons/lucide-icons.js +1 -2420
- package/lib/module/icons/primitives/GlobeIcon.js +1 -61
- package/lib/module/icons/primitives/icon-primitives.js +1 -161
- package/lib/module/icons/primitives/index.js +1 -15
- package/lib/module/index.js +1 -111
- package/lib/module/license/AccountSetup.js +1 -31
- package/lib/module/license/AccountSetup.web.js +3 -80
- package/lib/module/license/AccountSetupContent.js +1 -476
- package/lib/module/license/FeatureGate.js +1 -778
- package/lib/module/license/FreeAccountPrompt.js +1 -50
- package/lib/module/license/LicenseEntryModal.js +2 -381
- package/lib/module/license/accountRuntime.js +1 -3
- package/lib/module/license/accountRuntime.web.js +1 -4
- package/lib/module/license/index.js +1 -9
- package/lib/module/license/licenseModule.js +1 -109
- package/lib/module/license/openPricing.js +1 -31
- package/lib/module/license/tierLimits.js +1 -122
- package/lib/module/logger/index-sentry.js +1 -230
- package/lib/module/logger/index.js +1 -13
- package/lib/module/logger/logDump.js +1 -13
- package/lib/module/logger/types.js +1 -37
- package/lib/module/settings/components/BubbleSettingsSection.js +1 -378
- package/lib/module/settings/index.js +1 -3
- package/lib/module/storage/definePersistedSetting.js +1 -63
- package/lib/module/storage/devToolsStorageKeys.js +1 -352
- package/lib/module/storage/index.js +1 -4
- package/lib/module/stores/BaseEventStore.js +1 -339
- package/lib/module/stores/ChangeLog.js +1 -192
- package/lib/module/stores/createToolStore.js +1 -189
- package/lib/module/stores/floatingToolStore.js +1 -61
- package/lib/module/stores/floatingToolStore.test.js +1 -111
- package/lib/module/stores/ignoredPatternsCore.js +1 -69
- package/lib/module/stores/ignoredPatternsStore.js +1 -3
- package/lib/module/stores/ignoredPatternsStore.shared.js +1 -189
- package/lib/module/stores/ignoredPatternsStore.web.js +1 -3
- package/lib/module/stores/index.js +1 -10
- package/lib/module/sync/keyedArrays.js +1 -204
- package/lib/module/sync/toolActionRegistry.js +1 -236
- package/lib/module/sync/toolAttention.test.js +1 -50
- package/lib/module/sync/toolSyncAdapter.js +1 -58
- package/lib/module/sync/toolUiBridge.js +1 -123
- package/lib/module/sync/typedEdit.js +1 -220
- package/lib/module/sync/valuePath.js +1 -330
- package/lib/module/sync/valueShape.js +1 -153
- package/lib/module/sync/wireBudget.js +1 -92
- package/lib/module/sync/wireForm.js +1 -159
- package/lib/module/tools/defineTool.js +1 -74
- package/lib/module/types/types.d.js +1 -1
- package/lib/module/types/types.js +1 -32
- package/lib/module/ui/backgrounds/BackgroundSwitcher.js +1 -350
- package/lib/module/ui/backgrounds/ToolBackground.js +1 -72
- package/lib/module/ui/backgrounds/backgroundStore.js +1 -125
- package/lib/module/ui/backgrounds/index.js +1 -19
- package/lib/module/ui/backgrounds/primitives.js +1 -365
- package/lib/module/ui/backgrounds/registry.js +1 -91
- package/lib/module/ui/backgrounds/rng.js +1 -85
- package/lib/module/ui/backgrounds/skyClock.js +1 -39
- package/lib/module/ui/backgrounds/types.js +1 -1
- package/lib/module/ui/backgrounds/variants/daylight.js +1 -449
- package/lib/module/ui/backgrounds/variants/deepField.js +1 -378
- package/lib/module/ui/backgrounds/variants/hyperspace.js +1 -214
- package/lib/module/ui/backgrounds/variants/liveSky.js +1 -893
- package/lib/module/ui/backgrounds/variants/meteors.js +1 -397
- package/lib/module/ui/backgrounds/variants/moonlight.js +1 -468
- package/lib/module/ui/backgrounds/variants/underwater.js +1 -753
- package/lib/module/ui/backgrounds/variants/wormhole/motion.js +1 -44
- package/lib/module/ui/backgrounds/variants/wormhole/textures.js +1 -3
- package/lib/module/ui/backgrounds/variants/wormhole.js +1 -132
- package/lib/module/ui/components/BackButton.js +1 -43
- package/lib/module/ui/components/Badge.js +1 -218
- package/lib/module/ui/components/ChangeRow.js +1 -106
- package/lib/module/ui/components/ChipStrip.js +1 -91
- package/lib/module/ui/components/ClipboardHintBanner.js +1 -145
- package/lib/module/ui/components/CollapsibleSection.js +1 -166
- package/lib/module/ui/components/CompactFilterChips.js +1 -110
- package/lib/module/ui/components/CompactRow.js +1 -291
- package/lib/module/ui/components/CopyButton.js +1 -303
- package/lib/module/ui/components/DataInspector.js +1 -319
- package/lib/module/ui/components/DetailView.js +1 -354
- package/lib/module/ui/components/DetailViewToggle.js +1 -125
- package/lib/module/ui/components/DevToolsCard.js +1 -122
- package/lib/module/ui/components/DraggableHeader.js +1 -211
- package/lib/module/ui/components/DynamicFilterView.js +1 -754
- package/lib/module/ui/components/EmptyState.js +1 -144
- package/lib/module/ui/components/EntityFilterView.js +1 -351
- package/lib/module/ui/components/EventHistoryViewer/CompareBar.js +1 -206
- package/lib/module/ui/components/EventHistoryViewer/DiffModeTabs.js +1 -94
- package/lib/module/ui/components/EventHistoryViewer/EventHistoryViewer.js +1 -179
- package/lib/module/ui/components/EventHistoryViewer/EventPickerModal.js +1 -203
- package/lib/module/ui/components/EventHistoryViewer/ViewToggleCards.js +1 -132
- package/lib/module/ui/components/EventHistoryViewer/index.js +1 -19
- package/lib/module/ui/components/EventHistoryViewer/types.js +1 -3
- package/lib/module/ui/components/EventListItem.js +1 -243
- package/lib/module/ui/components/EventStepperFooter.js +1 -180
- package/lib/module/ui/components/ExpandablePopover.js +1 -378
- package/lib/module/ui/components/ExpandedInfoRow.js +1 -103
- package/lib/module/ui/components/ExportPreview.js +1 -169
- package/lib/module/ui/components/FilterComponents.js +1 -282
- package/lib/module/ui/components/GripVerticalIcon.js +1 -61
- package/lib/module/ui/components/HeaderSearchButton.js +1 -46
- package/lib/module/ui/components/InfoRow.js +1 -87
- package/lib/module/ui/components/ListItem.js +1 -169
- package/lib/module/ui/components/ModalHeader.js +1 -297
- package/lib/module/ui/components/ModalHintBanner.js +1 -143
- package/lib/module/ui/components/Pill.js +1 -111
- package/lib/module/ui/components/PowerToggleButton.js +1 -74
- package/lib/module/ui/components/SearchBar.js +1 -161
- package/lib/module/ui/components/SectionHeader.js +1 -125
- package/lib/module/ui/components/StatsCard.js +1 -194
- package/lib/module/ui/components/StatusIndicator.js +1 -227
- package/lib/module/ui/components/StorageTypeBadge.js +1 -93
- package/lib/module/ui/components/TabSelector.js +1 -98
- package/lib/module/ui/components/TimeDisplay.js +1 -138
- package/lib/module/ui/components/ToggleRow.js +1 -112
- package/lib/module/ui/components/ToolButton.js +1 -89
- package/lib/module/ui/components/ToolEmptyState.js +1 -149
- package/lib/module/ui/components/ToolFooter.js +1 -197
- package/lib/module/ui/components/ValueTypeBadge.js +1 -143
- package/lib/module/ui/components/WindowControls.js +1 -383
- package/lib/module/ui/components/index.js +1 -52
- package/lib/module/ui/components/windowDrag.js +1 -41
- package/lib/module/ui/console/CyberpunkButtonOutline.js +1 -257
- package/lib/module/ui/console/CyberpunkIconContainer.js +1 -182
- package/lib/module/ui/console/CyberpunkSectionButton.js +1 -119
- package/lib/module/ui/floating/FloatingTool.js +1 -1003
- package/lib/module/ui/floating/FloatingTool.web.js +1 -600
- package/lib/module/ui/floating/FloatingToolHost.js +1 -29
- package/lib/module/ui/floating/FloatingToolHost.web.js +1 -25
- package/lib/module/ui/floating/index.js +1 -6
- package/lib/module/ui/floating/index.web.js +1 -6
- package/lib/module/ui/floating/onboardingConstants.js +1 -64
- package/lib/module/ui/floating/onboardingConstants.web.js +1 -27
- package/lib/module/ui/fonts.js +1 -8
- package/lib/module/ui/gameUI/components/GameUICollapsibleSection.js +1 -117
- package/lib/module/ui/gameUI/components/GameUICompactStats.js +1 -332
- package/lib/module/ui/gameUI/components/GameUIIssuesList.js +1 -280
- package/lib/module/ui/gameUI/components/GameUIStatusHeader.js +1 -141
- package/lib/module/ui/gameUI/constants/gameUIColors.js +1 -220
- package/lib/module/ui/gameUI/constants/macOSDesignSystemColors.js +1 -219
- package/lib/module/ui/gameUI/hooks/useGameUIAlertState.js +1 -105
- package/lib/module/ui/gameUI/index.js +1 -19
- package/lib/module/ui/index.js +1 -31
- package/lib/module/ui/listPresets.js +1 -39
- package/lib/module/ui/night/nightTheme.js +1 -126
- package/lib/module/ui/night/primitives.js +1 -511
- package/lib/module/ui/otto/OttoSceneView.js +1 -64
- package/lib/module/ui/otto/OttoSprite.js +1 -496
- package/lib/module/ui/otto/index.js +1 -22
- package/lib/module/ui/otto/ottoEngine.js +1 -2729
- package/lib/module/ui/otto/ottoScenes.js +1 -942
- package/lib/module/ui/otto/ottoSheet.js +1 -180
- package/lib/module/ui/toolTheme.js +1 -93
- package/lib/module/utils/absoluteFill.js +1 -24
- package/lib/module/utils/browserAsyncStorage.js +1 -151
- package/lib/module/utils/browserNavigation.js +1 -108
- package/lib/module/utils/devServer.js +1 -62
- package/lib/module/utils/devServer.web.js +1 -6
- package/lib/module/utils/displayValue.js +1 -36
- package/lib/module/utils/domRuntime.js +1 -134
- package/lib/module/utils/expoRouterModule.js +1 -46
- package/lib/module/utils/expoRouterModule.web.js +1 -9
- package/lib/module/utils/formatting/dataFormatting.js +1 -93
- package/lib/module/utils/formatting/httpFormatting.js +1 -142
- package/lib/module/utils/formatting/index.js +1 -8
- package/lib/module/utils/getSafeAreaInsets.js +1 -36
- package/lib/module/utils/getSafeAreaInsets.web.js +1 -31
- package/lib/module/utils/index.js +1 -23
- package/lib/module/utils/loadOptionalModule.js +1 -89
- package/lib/module/utils/loadToolModule.js +1 -42
- package/lib/module/utils/loadToolModule.web.js +1 -8
- package/lib/module/utils/minimalSuperJSON.js +1 -342
- package/lib/module/utils/modalStorage.js +1 -37
- package/lib/module/utils/nativeWeb.js +1 -107
- package/lib/module/utils/persistentStorage.js +1 -603
- package/lib/module/utils/persistentStorage.web.js +1 -72
- package/lib/module/utils/realNow.js +1 -0
- package/lib/module/utils/reloadApp.js +1 -99
- package/lib/module/utils/reloadPlatform.js +1 -31
- package/lib/module/utils/reloadPlatform.web.js +1 -11
- package/lib/module/utils/renderCaptureRegistry.js +1 -54
- package/lib/module/utils/safeExpoRouter.js +1 -189
- package/lib/module/utils/safeExpoRouter.web.js +1 -37
- package/lib/module/utils/safeStringify.js +1 -225
- package/lib/module/utils/snapshotProviderKit.js +1 -156
- package/lib/module/utils/stateSnapshotRegistry.js +1 -64
- package/lib/module/utils/stateTools.js +1 -154
- package/lib/module/utils/subscribable.js +1 -108
- package/lib/module/utils/subscriberCountNotifier.js +1 -66
- package/lib/module/utils/time/RelativeTime.js +1 -28
- package/lib/module/utils/time/TickContext.js +1 -38
- package/lib/module/utils/time/formatRelativeTime.js +1 -30
- package/lib/module/utils/time/index.js +1 -6
- package/lib/module/utils/time/useRelativeTime.js +1 -33
- package/lib/module/utils/toolModules.js +1 -19
- package/lib/module/utils/typeHelpers.js +1 -130
- package/lib/module/utils/valueFormatting.js +1 -131
- package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts +1 -1
- package/lib/typescript/commonjs/icons/index.d.ts +1 -0
- package/lib/typescript/commonjs/index.d.ts +1 -1
- package/lib/typescript/commonjs/storage/devToolsStorageKeys.d.ts +8 -0
- package/lib/typescript/commonjs/ui/night/primitives.d.ts +9 -3
- package/lib/typescript/commonjs/utils/index.d.ts +1 -0
- package/lib/typescript/commonjs/utils/realNow.d.ts +11 -0
- package/lib/typescript/module/hooks/safe-area-impl.d.ts +1 -1
- package/lib/typescript/module/icons/index.d.ts +1 -0
- package/lib/typescript/module/index.d.ts +1 -1
- package/lib/typescript/module/storage/devToolsStorageKeys.d.ts +8 -0
- package/lib/typescript/module/ui/night/primitives.d.ts +9 -3
- package/lib/typescript/module/utils/index.d.ts +1 -0
- package/lib/typescript/module/utils/realNow.d.ts +11 -0
- package/lib/web/asyncStorage.mjs +1 -2
- package/lib/web/chunks/chunk-26OV3QDY.mjs +1 -0
- package/lib/web/chunks/chunk-3UTMGIUG.mjs +1 -2
- package/lib/web/chunks/chunk-53J2FMUD.mjs +1 -2
- package/lib/web/chunks/chunk-5KWAGM5V.mjs +1 -0
- package/lib/web/chunks/chunk-5NZOQR6Q.mjs +1 -2
- package/lib/web/chunks/chunk-7PRKERDN.mjs +1 -0
- package/lib/web/chunks/chunk-CE5U3CSQ.mjs +1 -2
- package/lib/web/chunks/chunk-D4RXBAOO.mjs +15 -0
- package/lib/web/chunks/chunk-ER3T3IDI.mjs +1 -0
- package/lib/web/chunks/chunk-GF5C5DVX.mjs +1 -2
- package/lib/web/chunks/chunk-K7CGIEFU.mjs +1 -2
- package/lib/web/chunks/{chunk-GTYIS7H7.mjs → chunk-L3AFTHWX.mjs} +8 -9
- package/lib/web/chunks/chunk-LZ7FZZ7R.mjs +1 -2
- package/lib/web/chunks/chunk-PTK5FO6C.mjs +1 -2
- package/lib/web/chunks/chunk-TJUBBXXK.mjs +1 -0
- package/lib/web/chunks/chunk-UKYVRCMZ.mjs +1 -0
- package/lib/web/chunks/chunk-XYUAUO57.mjs +1 -2
- package/lib/web/chunks/persistentStorage.web-6OAJAVRK.mjs +1 -0
- package/lib/web/colors.mjs +1 -2
- package/lib/web/dataViewer.mjs +2 -3
- package/lib/web/floating.mjs +1 -2
- package/lib/web/history.mjs +1 -2
- package/lib/web/hooks.mjs +1 -2
- package/lib/web/index.mjs +2 -3
- package/lib/web/native.mjs +1 -2
- package/lib/web/ui.mjs +1 -2
- package/lib/web/utils.mjs +1 -2
- package/package.json +8 -7
- package/scripts/detect-clipboard.js +5 -121
- package/scripts/detect-safe-area.js +3 -127
- package/ui.js +1 -7
- package/utils.js +1 -7
- package/lib/typescript/commonjs/JsModal.d.ts.map +0 -1
- package/lib/typescript/commonjs/JsModal.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/clipboard/autoDetectClipboard.d.ts.map +0 -1
- package/lib/typescript/commonjs/clipboard/clipboard-impl.d.ts.map +0 -1
- package/lib/typescript/commonjs/clipboard/clipboard-impl.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/clipboard/copyToClipboard.d.ts.map +0 -1
- package/lib/typescript/commonjs/clipboard/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/colors/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/context/HintsContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/context/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/CyberpunkInput.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/DataTreeActionBar.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/DataTreeActionDock.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/DataViewer.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/DiffSummary.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/IndentGuides.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/IndentGuidesOverlay.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/JsonStringNotice.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/LiveExplorer.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/SplitDiffViewer.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/ThemedSplitView.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/TimestampDeltaBar.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/TypeLegend.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/ValueEditModal.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/VirtualizedDataExplorer.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/diffThemes.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/jsonOps.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/jsonStringValue.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/lineDiff.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/nestedPath.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/objectDiff.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/timestampDiff.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/tree/TreeDiffViewer.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/treeActions.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/useTreeDraft.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/useTreeEditor.d.ts.map +0 -1
- package/lib/typescript/commonjs/env/EnvironmentIndicator.d.ts.map +0 -1
- package/lib/typescript/commonjs/env/EnvironmentIndicator.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/env/EnvironmentSelector.d.ts.map +0 -1
- package/lib/typescript/commonjs/env/EnvironmentSelectorInline.d.ts.map +0 -1
- package/lib/typescript/commonjs/env/EnvironmentSelectorInline.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/history/HistoryProvider.d.ts.map +0 -1
- package/lib/typescript/commonjs/history/components/HistoryEntryRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/history/components/HistoryList.d.ts.map +0 -1
- package/lib/typescript/commonjs/history/components/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/history/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/history/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/useChangeLog.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/useDeviceInfo.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/useEventStoreEvents.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/useFilterManager.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/usePersistedState.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/useSafeAreaInsets.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/useSafeAreaInsets.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/BenchmarkIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/EnvLaptopIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/IconBackground.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/ReactQueryIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/RenderCountIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/RouteMapIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/SentryBugIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/StackPulseIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/StorageStackIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/WifiCircuitIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/lucide-icons-original-full.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/lucide-icons.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/primitives/GlobeIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/primitives/icon-primitives.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/primitives/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/AccountSetup.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/AccountSetup.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/AccountSetupContent.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/FeatureGate.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/FreeAccountPrompt.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/LicenseEntryModal.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/accountRuntime.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/accountRuntime.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/licenseModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/openPricing.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/tierLimits.d.ts.map +0 -1
- package/lib/typescript/commonjs/logger/index-sentry.d.ts.map +0 -1
- package/lib/typescript/commonjs/logger/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/logger/logDump.d.ts.map +0 -1
- package/lib/typescript/commonjs/logger/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/settings/components/BubbleSettingsSection.d.ts.map +0 -1
- package/lib/typescript/commonjs/settings/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/storage/definePersistedSetting.d.ts.map +0 -1
- package/lib/typescript/commonjs/storage/devToolsStorageKeys.d.ts.map +0 -1
- package/lib/typescript/commonjs/storage/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/BaseEventStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/ChangeLog.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/createToolStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/floatingToolStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/floatingToolStore.test.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/ignoredPatternsCore.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/ignoredPatternsStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/ignoredPatternsStore.shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/ignoredPatternsStore.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/keyedArrays.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/toolActionRegistry.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/toolAttention.test.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/toolSyncAdapter.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/toolUiBridge.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/typedEdit.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/valuePath.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/valueShape.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/wireBudget.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/wireForm.d.ts.map +0 -1
- package/lib/typescript/commonjs/tools/defineTool.d.ts.map +0 -1
- package/lib/typescript/commonjs/types/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/BackgroundSwitcher.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/ToolBackground.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/backgroundStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/primitives.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/registry.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/rng.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/skyClock.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/daylight.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/deepField.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/hyperspace.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/liveSky.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/meteors.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/moonlight.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/underwater.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/wormhole/motion.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/wormhole/textures.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/wormhole.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/BackButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/Badge.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ChangeRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ChipStrip.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ClipboardHintBanner.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/CollapsibleSection.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/CompactFilterChips.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/CompactRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/CopyButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/DataInspector.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/DetailView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/DetailViewToggle.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/DevToolsCard.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/DraggableHeader.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/DynamicFilterView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EmptyState.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EntityFilterView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/CompareBar.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/DiffModeTabs.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/EventHistoryViewer.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/EventPickerModal.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/ViewToggleCards.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventListItem.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventStepperFooter.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ExpandablePopover.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ExpandedInfoRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ExportPreview.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/FilterComponents.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/GripVerticalIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/HeaderSearchButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/InfoRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ListItem.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ModalHeader.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ModalHintBanner.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/Pill.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/PowerToggleButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/SearchBar.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/SectionHeader.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/StatsCard.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/StatusIndicator.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/StorageTypeBadge.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TabSelector.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TimeDisplay.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ToggleRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ToolButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ToolEmptyState.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ToolFooter.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ValueTypeBadge.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/WindowControls.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/windowDrag.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/console/CyberpunkButtonOutline.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/console/CyberpunkIconContainer.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/console/CyberpunkSectionButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/FloatingTool.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/FloatingTool.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/FloatingToolHost.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/FloatingToolHost.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/index.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/onboardingConstants.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/onboardingConstants.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/fonts.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/components/GameUICollapsibleSection.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/components/GameUICompactStats.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/components/GameUIIssuesList.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/components/GameUIStatusHeader.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/constants/gameUIColors.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/constants/macOSDesignSystemColors.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/hooks/useGameUIAlertState.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/listPresets.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/night/nightTheme.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/night/primitives.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/otto/OttoSceneView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/otto/OttoSprite.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/otto/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/otto/ottoEngine.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/otto/ottoScenes.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/otto/ottoSheet.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/toolTheme.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/absoluteFill.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/browserAsyncStorage.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/browserNavigation.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/devServer.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/devServer.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/displayValue.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/domRuntime.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/expoRouterModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/expoRouterModule.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/formatting/dataFormatting.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/formatting/httpFormatting.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/formatting/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/getSafeAreaInsets.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/getSafeAreaInsets.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/loadOptionalModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/loadToolModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/loadToolModule.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/minimalSuperJSON.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/modalStorage.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/nativeWeb.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/persistentStorage.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/persistentStorage.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/reloadApp.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/reloadPlatform.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/reloadPlatform.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/renderCaptureRegistry.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/safeExpoRouter.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/safeExpoRouter.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/safeStringify.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/snapshotProviderKit.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/stateSnapshotRegistry.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/stateTools.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/subscribable.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/subscriberCountNotifier.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/time/RelativeTime.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/time/TickContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/time/formatRelativeTime.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/time/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/time/useRelativeTime.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/toolModules.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/typeHelpers.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/valueFormatting.d.ts.map +0 -1
- package/lib/typescript/module/JsModal.d.ts.map +0 -1
- package/lib/typescript/module/JsModal.web.d.ts.map +0 -1
- package/lib/typescript/module/clipboard/autoDetectClipboard.d.ts.map +0 -1
- package/lib/typescript/module/clipboard/clipboard-impl.d.ts.map +0 -1
- package/lib/typescript/module/clipboard/clipboard-impl.web.d.ts.map +0 -1
- package/lib/typescript/module/clipboard/copyToClipboard.d.ts.map +0 -1
- package/lib/typescript/module/clipboard/index.d.ts.map +0 -1
- package/lib/typescript/module/colors/index.d.ts.map +0 -1
- package/lib/typescript/module/context/HintsContext.d.ts.map +0 -1
- package/lib/typescript/module/context/index.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/CyberpunkInput.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/DataTreeActionBar.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/DataTreeActionDock.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/DataViewer.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/DiffSummary.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/IndentGuides.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/IndentGuidesOverlay.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/JsonStringNotice.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/LiveExplorer.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/SplitDiffViewer.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/ThemedSplitView.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/TimestampDeltaBar.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/TypeLegend.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/ValueEditModal.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/VirtualizedDataExplorer.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/diffThemes.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/index.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/jsonOps.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/jsonStringValue.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/lineDiff.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/nestedPath.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/objectDiff.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/timestampDiff.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/tree/TreeDiffViewer.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/treeActions.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/useTreeDraft.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/useTreeEditor.d.ts.map +0 -1
- package/lib/typescript/module/env/EnvironmentIndicator.d.ts.map +0 -1
- package/lib/typescript/module/env/EnvironmentIndicator.web.d.ts.map +0 -1
- package/lib/typescript/module/env/EnvironmentSelector.d.ts.map +0 -1
- package/lib/typescript/module/env/EnvironmentSelectorInline.d.ts.map +0 -1
- package/lib/typescript/module/env/EnvironmentSelectorInline.web.d.ts.map +0 -1
- package/lib/typescript/module/history/HistoryProvider.d.ts.map +0 -1
- package/lib/typescript/module/history/components/HistoryEntryRow.d.ts.map +0 -1
- package/lib/typescript/module/history/components/HistoryList.d.ts.map +0 -1
- package/lib/typescript/module/history/components/index.d.ts.map +0 -1
- package/lib/typescript/module/history/index.d.ts.map +0 -1
- package/lib/typescript/module/history/types.d.ts.map +0 -1
- package/lib/typescript/module/hooks/index.d.ts.map +0 -1
- package/lib/typescript/module/hooks/safe-area-impl.d.ts.map +0 -1
- package/lib/typescript/module/hooks/useChangeLog.d.ts.map +0 -1
- package/lib/typescript/module/hooks/useDeviceInfo.d.ts.map +0 -1
- package/lib/typescript/module/hooks/useEventStoreEvents.d.ts.map +0 -1
- package/lib/typescript/module/hooks/useFilterManager.d.ts.map +0 -1
- package/lib/typescript/module/hooks/usePersistedState.d.ts.map +0 -1
- package/lib/typescript/module/hooks/useSafeAreaInsets.d.ts.map +0 -1
- package/lib/typescript/module/hooks/useSafeAreaInsets.web.d.ts.map +0 -1
- package/lib/typescript/module/icons/BenchmarkIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/EnvLaptopIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/IconBackground.d.ts.map +0 -1
- package/lib/typescript/module/icons/ReactQueryIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/RenderCountIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/RouteMapIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/SentryBugIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/StackPulseIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/StorageStackIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/WifiCircuitIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/index.d.ts.map +0 -1
- package/lib/typescript/module/icons/lucide-icons-original-full.d.ts.map +0 -1
- package/lib/typescript/module/icons/lucide-icons.d.ts.map +0 -1
- package/lib/typescript/module/icons/primitives/GlobeIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/primitives/icon-primitives.d.ts.map +0 -1
- package/lib/typescript/module/icons/primitives/index.d.ts.map +0 -1
- package/lib/typescript/module/index.d.ts.map +0 -1
- package/lib/typescript/module/license/AccountSetup.d.ts.map +0 -1
- package/lib/typescript/module/license/AccountSetup.web.d.ts.map +0 -1
- package/lib/typescript/module/license/AccountSetupContent.d.ts.map +0 -1
- package/lib/typescript/module/license/FeatureGate.d.ts.map +0 -1
- package/lib/typescript/module/license/FreeAccountPrompt.d.ts.map +0 -1
- package/lib/typescript/module/license/LicenseEntryModal.d.ts.map +0 -1
- package/lib/typescript/module/license/accountRuntime.d.ts.map +0 -1
- package/lib/typescript/module/license/accountRuntime.web.d.ts.map +0 -1
- package/lib/typescript/module/license/index.d.ts.map +0 -1
- package/lib/typescript/module/license/licenseModule.d.ts.map +0 -1
- package/lib/typescript/module/license/openPricing.d.ts.map +0 -1
- package/lib/typescript/module/license/tierLimits.d.ts.map +0 -1
- package/lib/typescript/module/logger/index-sentry.d.ts.map +0 -1
- package/lib/typescript/module/logger/index.d.ts.map +0 -1
- package/lib/typescript/module/logger/logDump.d.ts.map +0 -1
- package/lib/typescript/module/logger/types.d.ts.map +0 -1
- package/lib/typescript/module/settings/components/BubbleSettingsSection.d.ts.map +0 -1
- package/lib/typescript/module/settings/index.d.ts.map +0 -1
- package/lib/typescript/module/storage/definePersistedSetting.d.ts.map +0 -1
- package/lib/typescript/module/storage/devToolsStorageKeys.d.ts.map +0 -1
- package/lib/typescript/module/storage/index.d.ts.map +0 -1
- package/lib/typescript/module/stores/BaseEventStore.d.ts.map +0 -1
- package/lib/typescript/module/stores/ChangeLog.d.ts.map +0 -1
- package/lib/typescript/module/stores/createToolStore.d.ts.map +0 -1
- package/lib/typescript/module/stores/floatingToolStore.d.ts.map +0 -1
- package/lib/typescript/module/stores/floatingToolStore.test.d.ts.map +0 -1
- package/lib/typescript/module/stores/ignoredPatternsCore.d.ts.map +0 -1
- package/lib/typescript/module/stores/ignoredPatternsStore.d.ts.map +0 -1
- package/lib/typescript/module/stores/ignoredPatternsStore.shared.d.ts.map +0 -1
- package/lib/typescript/module/stores/ignoredPatternsStore.web.d.ts.map +0 -1
- package/lib/typescript/module/stores/index.d.ts.map +0 -1
- package/lib/typescript/module/sync/keyedArrays.d.ts.map +0 -1
- package/lib/typescript/module/sync/toolActionRegistry.d.ts.map +0 -1
- package/lib/typescript/module/sync/toolAttention.test.d.ts.map +0 -1
- package/lib/typescript/module/sync/toolSyncAdapter.d.ts.map +0 -1
- package/lib/typescript/module/sync/toolUiBridge.d.ts.map +0 -1
- package/lib/typescript/module/sync/typedEdit.d.ts.map +0 -1
- package/lib/typescript/module/sync/valuePath.d.ts.map +0 -1
- package/lib/typescript/module/sync/valueShape.d.ts.map +0 -1
- package/lib/typescript/module/sync/wireBudget.d.ts.map +0 -1
- package/lib/typescript/module/sync/wireForm.d.ts.map +0 -1
- package/lib/typescript/module/tools/defineTool.d.ts.map +0 -1
- package/lib/typescript/module/types/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/BackgroundSwitcher.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/ToolBackground.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/backgroundStore.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/primitives.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/registry.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/rng.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/skyClock.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/daylight.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/deepField.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/hyperspace.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/liveSky.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/meteors.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/moonlight.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/underwater.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/wormhole/motion.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/wormhole/textures.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/wormhole.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/BackButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/Badge.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ChangeRow.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ChipStrip.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ClipboardHintBanner.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/CollapsibleSection.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/CompactFilterChips.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/CompactRow.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/CopyButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/DataInspector.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/DetailView.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/DetailViewToggle.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/DevToolsCard.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/DraggableHeader.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/DynamicFilterView.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EmptyState.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EntityFilterView.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventHistoryViewer/CompareBar.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventHistoryViewer/DiffModeTabs.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventHistoryViewer/EventHistoryViewer.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventHistoryViewer/EventPickerModal.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventHistoryViewer/ViewToggleCards.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventHistoryViewer/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventHistoryViewer/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventListItem.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventStepperFooter.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ExpandablePopover.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ExpandedInfoRow.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ExportPreview.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/FilterComponents.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/GripVerticalIcon.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/HeaderSearchButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/InfoRow.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ListItem.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ModalHeader.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ModalHintBanner.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/Pill.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/PowerToggleButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/SearchBar.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/SectionHeader.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/StatsCard.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/StatusIndicator.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/StorageTypeBadge.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TabSelector.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TimeDisplay.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ToggleRow.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ToolButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ToolEmptyState.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ToolFooter.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ValueTypeBadge.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/WindowControls.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/windowDrag.d.ts.map +0 -1
- package/lib/typescript/module/ui/console/CyberpunkButtonOutline.d.ts.map +0 -1
- package/lib/typescript/module/ui/console/CyberpunkIconContainer.d.ts.map +0 -1
- package/lib/typescript/module/ui/console/CyberpunkSectionButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/FloatingTool.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/FloatingTool.web.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/FloatingToolHost.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/FloatingToolHost.web.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/index.web.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/onboardingConstants.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/onboardingConstants.web.d.ts.map +0 -1
- package/lib/typescript/module/ui/fonts.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/components/GameUICollapsibleSection.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/components/GameUICompactStats.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/components/GameUIIssuesList.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/components/GameUIStatusHeader.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/constants/gameUIColors.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/constants/macOSDesignSystemColors.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/hooks/useGameUIAlertState.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/listPresets.d.ts.map +0 -1
- package/lib/typescript/module/ui/night/nightTheme.d.ts.map +0 -1
- package/lib/typescript/module/ui/night/primitives.d.ts.map +0 -1
- package/lib/typescript/module/ui/otto/OttoSceneView.d.ts.map +0 -1
- package/lib/typescript/module/ui/otto/OttoSprite.d.ts.map +0 -1
- package/lib/typescript/module/ui/otto/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/otto/ottoEngine.d.ts.map +0 -1
- package/lib/typescript/module/ui/otto/ottoScenes.d.ts.map +0 -1
- package/lib/typescript/module/ui/otto/ottoSheet.d.ts.map +0 -1
- package/lib/typescript/module/ui/toolTheme.d.ts.map +0 -1
- package/lib/typescript/module/utils/absoluteFill.d.ts.map +0 -1
- package/lib/typescript/module/utils/browserAsyncStorage.d.ts.map +0 -1
- package/lib/typescript/module/utils/browserNavigation.d.ts.map +0 -1
- package/lib/typescript/module/utils/devServer.d.ts.map +0 -1
- package/lib/typescript/module/utils/devServer.web.d.ts.map +0 -1
- package/lib/typescript/module/utils/displayValue.d.ts.map +0 -1
- package/lib/typescript/module/utils/domRuntime.d.ts.map +0 -1
- package/lib/typescript/module/utils/expoRouterModule.d.ts.map +0 -1
- package/lib/typescript/module/utils/expoRouterModule.web.d.ts.map +0 -1
- package/lib/typescript/module/utils/formatting/dataFormatting.d.ts.map +0 -1
- package/lib/typescript/module/utils/formatting/httpFormatting.d.ts.map +0 -1
- package/lib/typescript/module/utils/formatting/index.d.ts.map +0 -1
- package/lib/typescript/module/utils/getSafeAreaInsets.d.ts.map +0 -1
- package/lib/typescript/module/utils/getSafeAreaInsets.web.d.ts.map +0 -1
- package/lib/typescript/module/utils/index.d.ts.map +0 -1
- package/lib/typescript/module/utils/loadOptionalModule.d.ts.map +0 -1
- package/lib/typescript/module/utils/loadToolModule.d.ts.map +0 -1
- package/lib/typescript/module/utils/loadToolModule.web.d.ts.map +0 -1
- package/lib/typescript/module/utils/minimalSuperJSON.d.ts.map +0 -1
- package/lib/typescript/module/utils/modalStorage.d.ts.map +0 -1
- package/lib/typescript/module/utils/nativeWeb.d.ts.map +0 -1
- package/lib/typescript/module/utils/persistentStorage.d.ts.map +0 -1
- package/lib/typescript/module/utils/persistentStorage.web.d.ts.map +0 -1
- package/lib/typescript/module/utils/reloadApp.d.ts.map +0 -1
- package/lib/typescript/module/utils/reloadPlatform.d.ts.map +0 -1
- package/lib/typescript/module/utils/reloadPlatform.web.d.ts.map +0 -1
- package/lib/typescript/module/utils/renderCaptureRegistry.d.ts.map +0 -1
- package/lib/typescript/module/utils/safeExpoRouter.d.ts.map +0 -1
- package/lib/typescript/module/utils/safeExpoRouter.web.d.ts.map +0 -1
- package/lib/typescript/module/utils/safeStringify.d.ts.map +0 -1
- package/lib/typescript/module/utils/snapshotProviderKit.d.ts.map +0 -1
- package/lib/typescript/module/utils/stateSnapshotRegistry.d.ts.map +0 -1
- package/lib/typescript/module/utils/stateTools.d.ts.map +0 -1
- package/lib/typescript/module/utils/subscribable.d.ts.map +0 -1
- package/lib/typescript/module/utils/subscriberCountNotifier.d.ts.map +0 -1
- package/lib/typescript/module/utils/time/RelativeTime.d.ts.map +0 -1
- package/lib/typescript/module/utils/time/TickContext.d.ts.map +0 -1
- package/lib/typescript/module/utils/time/formatRelativeTime.d.ts.map +0 -1
- package/lib/typescript/module/utils/time/index.d.ts.map +0 -1
- package/lib/typescript/module/utils/time/useRelativeTime.d.ts.map +0 -1
- package/lib/typescript/module/utils/toolModules.d.ts.map +0 -1
- package/lib/typescript/module/utils/typeHelpers.d.ts.map +0 -1
- package/lib/typescript/module/utils/valueFormatting.d.ts.map +0 -1
- package/lib/web/chunks/chunk-2MHKRRQW.mjs +0 -8
- package/lib/web/chunks/chunk-2Q3SDPH2.mjs +0 -14
- package/lib/web/chunks/chunk-34YQ42KI.mjs +0 -2
- package/lib/web/chunks/chunk-3NNNCQYP.mjs +0 -14
- package/lib/web/chunks/chunk-46CXXOQB.mjs +0 -2
- package/lib/web/chunks/chunk-475BSDCB.mjs +0 -2
- package/lib/web/chunks/chunk-552W4COI.mjs +0 -2
- package/lib/web/chunks/chunk-56TTTMX4.mjs +0 -6145
- package/lib/web/chunks/chunk-5LOQZINQ.mjs +0 -14
- package/lib/web/chunks/chunk-5NOIO6ZM.mjs +0 -16
- package/lib/web/chunks/chunk-6CCRCSA2.mjs +0 -2
- package/lib/web/chunks/chunk-6Q52HRBL.mjs +0 -2
- package/lib/web/chunks/chunk-6TEDFSNM.mjs +0 -655
- package/lib/web/chunks/chunk-7BMRSMHN.mjs +0 -2
- package/lib/web/chunks/chunk-A2SOFE47.mjs +0 -24
- package/lib/web/chunks/chunk-A7KJCK4R.mjs +0 -14
- package/lib/web/chunks/chunk-AEXGGXS7.mjs +0 -2
- package/lib/web/chunks/chunk-AGD7ZT6O.mjs +0 -15
- package/lib/web/chunks/chunk-AIEOQWNG.mjs +0 -2
- package/lib/web/chunks/chunk-ASTM35HG.mjs +0 -16
- package/lib/web/chunks/chunk-AZBMFPMX.mjs +0 -1421
- package/lib/web/chunks/chunk-B2V2UDCU.mjs +0 -16
- package/lib/web/chunks/chunk-BFGKGTAC.mjs +0 -2
- package/lib/web/chunks/chunk-BHW6AFO6.mjs +0 -2
- package/lib/web/chunks/chunk-BWRW3NJ2.mjs +0 -16
- package/lib/web/chunks/chunk-CBM2IZAK.mjs +0 -2
- package/lib/web/chunks/chunk-CDLCFF44.mjs +0 -2
- package/lib/web/chunks/chunk-CI5CO7FQ.mjs +0 -2
- package/lib/web/chunks/chunk-CIB4U2YK.mjs +0 -2
- package/lib/web/chunks/chunk-CLLTZQGD.mjs +0 -596
- package/lib/web/chunks/chunk-D5HQLRFW.mjs +0 -655
- package/lib/web/chunks/chunk-DZDTNXXK.mjs +0 -2
- package/lib/web/chunks/chunk-FDOZ6YSS.mjs +0 -2
- package/lib/web/chunks/chunk-FMEWNGQO.mjs +0 -2
- package/lib/web/chunks/chunk-G4DH7GMT.mjs +0 -2
- package/lib/web/chunks/chunk-GBUZCZE4.mjs +0 -2
- package/lib/web/chunks/chunk-GLMS5ZLJ.mjs +0 -445
- package/lib/web/chunks/chunk-GNGMIA7V.mjs +0 -2
- package/lib/web/chunks/chunk-HJ36IONA.mjs +0 -15
- package/lib/web/chunks/chunk-HXPTZMAZ.mjs +0 -2
- package/lib/web/chunks/chunk-I27M4JCS.mjs +0 -2
- package/lib/web/chunks/chunk-IVCT27JB.mjs +0 -2
- package/lib/web/chunks/chunk-JG4QSK5B.mjs +0 -2
- package/lib/web/chunks/chunk-JR7BJW6B.mjs +0 -389
- package/lib/web/chunks/chunk-K46ZJUXJ.mjs +0 -90
- package/lib/web/chunks/chunk-K4LXMO4D.mjs +0 -2
- package/lib/web/chunks/chunk-KBTYK5YE.mjs +0 -662
- package/lib/web/chunks/chunk-KHP6CSSM.mjs +0 -2
- package/lib/web/chunks/chunk-KRDRIW7T.mjs +0 -14
- package/lib/web/chunks/chunk-L2DTKDER.mjs +0 -2
- package/lib/web/chunks/chunk-LFDFDGHY.mjs +0 -655
- package/lib/web/chunks/chunk-MAIUUK4E.mjs +0 -2
- package/lib/web/chunks/chunk-MKJKS3IG.mjs +0 -275
- package/lib/web/chunks/chunk-MRQKVLXG.mjs +0 -2
- package/lib/web/chunks/chunk-NK3OISOL.mjs +0 -14
- package/lib/web/chunks/chunk-NLJDDIXW.mjs +0 -2
- package/lib/web/chunks/chunk-OENR3XFI.mjs +0 -11
- package/lib/web/chunks/chunk-OZB3VKZE.mjs +0 -2
- package/lib/web/chunks/chunk-P64PFJT3.mjs +0 -17618
- package/lib/web/chunks/chunk-PACPGYH7.mjs +0 -2
- package/lib/web/chunks/chunk-PART6HOE.mjs +0 -14
- package/lib/web/chunks/chunk-PMRXUQRH.mjs +0 -2
- package/lib/web/chunks/chunk-PZ45TQ55.mjs +0 -14
- package/lib/web/chunks/chunk-Q5LN7GET.mjs +0 -17624
- package/lib/web/chunks/chunk-QCD6T6L4.mjs +0 -297
- package/lib/web/chunks/chunk-QD5EUANU.mjs +0 -2
- package/lib/web/chunks/chunk-QJTECJCO.mjs +0 -2
- package/lib/web/chunks/chunk-QPIZURPZ.mjs +0 -2
- package/lib/web/chunks/chunk-QPY45R5F.mjs +0 -274
- package/lib/web/chunks/chunk-R2SGZIG5.mjs +0 -2
- package/lib/web/chunks/chunk-S3GYQYVJ.mjs +0 -16
- package/lib/web/chunks/chunk-SCCXVTDM.mjs +0 -2
- package/lib/web/chunks/chunk-SHJHD646.mjs +0 -2
- package/lib/web/chunks/chunk-TCRVZ55E.mjs +0 -2
- package/lib/web/chunks/chunk-TJ6ZVV2L.mjs +0 -15
- package/lib/web/chunks/chunk-TPSY4RC3.mjs +0 -14
- package/lib/web/chunks/chunk-U5KNX5O6.mjs +0 -17624
- package/lib/web/chunks/chunk-UCKELQSM.mjs +0 -2
- package/lib/web/chunks/chunk-UGGCYHRH.mjs +0 -15
- package/lib/web/chunks/chunk-UNYQJZET.mjs +0 -16
- package/lib/web/chunks/chunk-VE72SWLV.mjs +0 -15
- package/lib/web/chunks/chunk-VKONO6MI.mjs +0 -2
- package/lib/web/chunks/chunk-W4BGMPJO.mjs +0 -2
- package/lib/web/chunks/chunk-WHNEEKLR.mjs +0 -2
- package/lib/web/chunks/chunk-WLGUP3KY.mjs +0 -16
- package/lib/web/chunks/chunk-WY7D4WBZ.mjs +0 -2
- package/lib/web/chunks/chunk-XRNB2MHO.mjs +0 -107
- package/lib/web/chunks/chunk-XXTIAXQY.mjs +0 -2
- package/lib/web/chunks/chunk-YG6DIKQD.mjs +0 -2
- package/lib/web/chunks/chunk-YIZFMU66.mjs +0 -2
- package/lib/web/chunks/chunk-YOGAPOGC.mjs +0 -2
- package/lib/web/chunks/chunk-Z7373DS5.mjs +0 -2
- package/lib/web/chunks/chunk-Z76GRN66.mjs +0 -17627
- package/lib/web/chunks/persistentStorage.web-4FBAOYJ4.mjs +0 -12
- package/lib/web/chunks/persistentStorage.web-7W3Y6Q24.mjs +0 -12
- package/lib/web/chunks/persistentStorage.web-GOWNFMVT.mjs +0 -2
- package/lib/web/chunks/persistentStorage.web-RF47FXIK.mjs +0 -12
- package/scripts/generate-wormhole-textures.cjs +0 -261
- package/scripts/test-wormhole-motion.cjs +0 -59
package/lib/web/index.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import{a as _p,b as Wp,c as Vp,d as Fp,e as jp,f as Up,g as Gp,h as Yp,i as Kp}from"./chunks/chunk-MRQKVLXG.mjs";import{a as Fr,b as jr,c as Ur,d as Gr,e as Yr,f as Kr,g as Jr,h as Xr}from"./chunks/chunk-UNYQJZET.mjs";import{A as Rr,B as Pr,C as Ar,D as Ir,E as Lr,F as Mr,I as Dr,J as $r,K as Or,L as Br,M as Nr,N as zr,O as Hr,P as _r,Q as Wr,R as Vr,Y as Np,Z as zp,_ as Hp,a as Rt,b as rr,c as ir,d as ke,e as sr,f as ar,g as Pt,h as lr,i as cr,j as dr,k as ur,l as gr,m as pr,n as fr,o as hr,p as mr,q as br,r as yr,s as xr,t as vr,u as Sr,v as wr,w as kr,x as Tr,y as Cr,z as Er}from"./chunks/chunk-CDLCFF44.mjs";import"./chunks/chunk-LZ7FZZ7R.mjs";import{a as En,d as Rn,f as Ne}from"./chunks/chunk-53J2FMUD.mjs";import{$ as ou,$a as rg,$b as Qg,A as jo,Aa as Lu,Ab as Ig,B as Uo,Ba as Mu,Bb as Lg,C as wn,Ca as Du,Cb as Mg,D as kn,Da as $u,Db as Dg,E as Go,Ea as Ou,Eb as Zo,F as Yo,Fa as Bu,Fb as er,G as Ko,Ga as Nu,Gb as tr,H as Jo,Ha as zu,Hb as nr,I as zd,Ia as Hu,Ib as or,J as Hd,Ja as _u,Jb as $g,K as _d,Ka as Wu,Kb as Og,L as Wd,La as Vu,Lb as Bg,M as Vd,Ma as Fu,Mb as Ng,N as Fd,Na as ju,Nb as zg,O as jd,Oa as Uu,Ob as Hg,P as Ud,Pa as Gu,Pb as _g,Q as Gd,Qa as Yu,Qb as Wg,R as Yd,Ra as Ku,Rb as Vg,S as Kd,Sa as Ju,Sb as Fg,T as Jd,Ta as Xu,Tb as jg,U as Xd,Ua as qu,Ub as Ug,V as qd,Va as Qu,Vb as Gg,W as Qd,Wa as Zu,Wb as Yg,X as Zd,Xa as eg,Xb as Kg,Y as eu,Ya as tg,Yb as Jg,Z as tu,Za as ng,Zb as Xg,_ as nu,_a as og,_b as qg,a as Td,aa as ru,ab as ig,ac as Zg,b as Cd,ba as iu,bb as sg,bc as ep,c as Ed,ca as su,cb as ag,cc as tp,d as Rd,da as au,db as lg,dc as np,e as Pd,ea as lu,eb as cg,ec as op,f as Ad,fa as cu,fb as dg,fc as rp,g as Nd,ga as uu,gb as ug,gc as ip,h as Lo,ha as gu,hb as gg,hc as sp,i as Tt,ia as pu,ib as pg,ic as ap,j as Mo,ja as fu,jb as fg,jc as lp,k as Do,ka as hu,kb as hg,kc as cp,l as $o,la as mu,lb as mg,lc as dp,m as Oo,ma as bu,mb as bg,mc as up,n as Bo,na as yu,nb as yg,nc as gp,o as No,oa as xu,ob as xg,oc as pp,p as zo,pa as vu,pb as vg,pc as Et,q as Ho,qa as Su,qb as Sg,qc as fp,r as _o,ra as wu,rb as wg,rc as hp,s as Wo,sa as ku,sb as kg,sc as mp,t as Vo,ta as Tu,tb as Tn,tc as bp,u as Fo,ua as Cu,ub as Tg,uc as Cn,v as ee,va as Eu,vb as Cg,vc as yp,w as _,wa as Ru,wb as Eg,wc as xp,x as be,xa as Pu,xb as Rg,xc as vp,y as le,ya as Au,yb as Pg,z as Ct,za as Iu,zb as Ag}from"./chunks/chunk-VE72SWLV.mjs";import{a as du}from"./chunks/chunk-FMEWNGQO.mjs";import{a as Sp,b as wp,c as kp,d as Tp,e as Cp,f as Ep,g as Rp,h as Pp,i as Ap,j as Ip,k as Lp,l as Mp,m as Dp,n as $p,o as Op,p as Bp}from"./chunks/chunk-XYUAUO57.mjs";import{a as d,b as kt}from"./chunks/chunk-GF5C5DVX.mjs";import{a as Xo,b as Qo}from"./chunks/chunk-K7CGIEFU.mjs";import{a as wo,b as ko,c as To,d as Co,e as Eo,f as Ld,g as Ro,h as Md,i as Dd,j as $d,k as Od,l as Bd}from"./chunks/chunk-KHP6CSSM.mjs";import{$ as ma,$a as hl,$b as fc,$c as ud,Aa as Fa,Ab as Vl,Ac as Hc,B as qs,Ba as ja,Bb as Fl,Bc as _c,C as Qs,Ca as Ua,Cb as jl,Cc as Wc,D as Zs,Da as Ga,Db as Ul,Dc as Vc,Ea as Ya,Eb as Gl,Ec as Fc,F as ea,Fa as Ka,Fb as Yl,Fc as jc,Ga as Ja,Gb as Kl,Gc as Uc,Ha as Xa,Hb as Jl,Hc as Gc,I as ta,Ib as Xl,Ic as wt,Ja as qa,Jb as ql,Jc as Yc,K as na,Ka as Qa,Kb as Ql,Kc,La as Za,Lb as Zl,Lc as Jc,Ma as el,Mb as ec,Mc as Xc,Na as tl,Nb as tc,Nc as qc,O as oa,Oa as nl,Ob as nc,Oc as Qc,P as ra,Pa as ol,Pb as oc,Pc as Zc,Q as ia,Qa as rl,Qb as rc,Qc as ed,R as sa,Ra as il,Rb as ic,Rc as td,S as aa,Sa as sl,Sb as sc,Sc as nd,T as la,Ta as al,Tb as ac,Tc as od,U as ca,Ua as ll,Ub as lc,Uc as rd,V as da,Va as cl,Vb as cc,Vc as id,W as ua,Wa as dl,Wb as xn,Wc as sd,X as ga,Xa as ul,Xb as dc,Xc as ad,Y as pa,Ya as gl,Yb as uc,Yc as ld,Z as fa,Za as pl,Zb as gc,Zc as cd,_ as ha,_a as fl,_b as pc,_c as dd,a as Is,aa as ba,ab as ml,ac as hc,ad as gd,b as Ls,ba as ya,bb as bl,bc as vn,bd as pd,c as Ms,ca as xa,cb as yl,cc as mc,cd as fd,d as Ds,da as va,db as xl,dc as bc,dd as hd,e as $s,ea as Sa,eb as vl,ec as yc,ed as md,f as Os,fa as wa,fb as Sl,fc as Sn,fd as bd,g as Bs,ga as ka,gb as wl,gc as xc,gd as yd,h as Ns,ha as Ta,hb as kl,hc as vc,hd as xd,i as zs,ia as Ca,ib as Tl,ic as Sc,id as vd,j as Hs,ja as Ea,jb as Cl,jc as wc,jd as Sd,k as _s,ka as Ra,kb as El,kc,kd as wd,l as Ws,la as Pa,lb as Rl,lc as Tc,ld as kd,m as Vs,ma as Aa,mb as Pl,mc as Cc,md as Id,n as Fs,na as Ia,nb as Al,nc as Ec,o as js,oa as La,ob as Il,oc as Rc,p as Us,pa as Ma,pb as Ll,pc as Pc,q as Gs,qa as Da,qb as Ml,qc as Ac,r as Ys,ra as $a,rb as Dl,rc as Ic,s as Ks,sa as Oa,sb as $l,sc as Lc,t as Js,ta as Ba,tb as Ol,tc as Mc,u as Xs,ua as Na,ub as Bl,uc as Dc,va as za,vb as Nl,vc as $c,wa as Ha,wb as zl,wc as Oc,xa as _a,xb as Hl,xc as Bc,ya as Wa,yb as _l,yc as Nc,za as Va,zb as Wl,zc}from"./chunks/chunk-AIEOQWNG.mjs";import{a as Be,d as x,e as vo,f as U,g as So}from"./chunks/chunk-CE5U3CSQ.mjs";import{a as qo}from"./chunks/chunk-PTK5FO6C.mjs";import{a as Z,b as Po,c as O,d as Ao,e as Io}from"./chunks/chunk-GBUZCZE4.mjs";import{H as yn,J as ae,a as T,b as $,d as Oe,g as hn,h as mn,j as bn,r as Ze}from"./chunks/chunk-3UTMGIUG.mjs";import"./chunks/chunk-5NZOQR6Q.mjs";var At=class extends Rt{constructor(n){super();this.events=[];this.arrayListeners=new Set;this.captureSuppressed=!1;this.clearListeners=new Set;this.maxEvents=n.maxEvents??500,this.storeName=n.storeName,Promise.resolve().then(()=>{let o=()=>{ee().status==="locked"?(this.stopCapturing(),this.events=[],this.notifyArrayListeners()):this.getTotalSubscriberCount()>0&&!this.captureSuppressed&&!this.isCapturing()&&this.startCapturing()};le(o),o()})}onSubscribe(){this.getTotalSubscriberCount()===1&&!this.captureSuppressed&&ee().status!=="locked"&&this.startCapturing(),ke(this.storeName)}onUnsubscribe(){this.getTotalSubscriberCount()===0&&this.stopCapturing(),ke(this.storeName)}getTotalSubscriberCount(){return this.listeners.size+this.arrayListeners.size}subscribeToEvents(n){let o=this.getTotalSubscriberCount()===0;return this.arrayListeners.add(n),o&&!this.captureSuppressed&&ee().status!=="locked"&&this.startCapturing(),ke(this.storeName),n(this.getEvents()),()=>{this.arrayListeners.delete(n),this.getTotalSubscriberCount()===0&&this.stopCapturing(),ke(this.storeName)}}onEvent(n){return this.subscribe(n)}addEvent(n){ee().status!=="locked"&&(this.events=[n,...this.events].slice(0,this.maxEvents),_()&&this.notify(n),this.notifyArrayListeners())}notifyArrayListeners(){let n=this.getEvents();this.arrayListeners.forEach(o=>{try{o(n)}catch{}})}getEvents(){return _()?this.events:[]}getEventCount(){return _()?this.events.length:0}clearEvents(){this.events=[],this.notifyArrayListeners(),this.clearListeners.forEach(n=>{try{n()}catch{}})}onClear(n){return this.clearListeners.add(n),()=>{this.clearListeners.delete(n)}}disableCapture(){this.captureSuppressed=!0,this.isCapturing()&&this.stopCapturing()}replaceEvents(n){this.events=this.dedupeById(n).slice(0,this.maxEvents),this.notifyArrayListeners()}dedupeById(n){let o=new Set,i=[];for(let r of n){let s=r?.id;if(s==null){i.push(r);continue}o.has(s)||(o.add(s),i.push(r))}return i}setMaxEvents(n){this.maxEvents=n,this.events.length>n&&(this.events=this.events.slice(0,n),this.notifyArrayListeners())}getSubscriberCounts(){return{eventCallbacks:this.listeners.size,arrayListeners:this.arrayListeners.size,total:this.getTotalSubscriberCount()}}};import{useEffect as qr,useMemo as Qr,useState as Zr}from"react";var Pn=[{value:"buoy.gg/api/license",mode:"contains"},{value:"api.keygen.sh",mode:"contains"}];function It(e,t){let n=e.toLowerCase(),o=t.value.toLowerCase();if(t.mode==="contains")return n.includes(o);try{let i=new URL(e);return o.startsWith("/")?i.pathname.toLowerCase()===o:o.startsWith("http://")||o.startsWith("https://")?`${i.origin}${i.pathname}`.toLowerCase()===o:i.host.toLowerCase()===o}catch{return n===o}}function An(e,t){return!e||t.length===0?!1:t.some(n=>It(e,n))}var Ln=Pn;function ei(e){if(!Array.isArray(e))return[];let t=[];for(let n of e)if(typeof n=="string"&&n.trim())t.push({value:n,mode:"contains"});else if(n&&typeof n=="object"&&typeof n.value=="string"){let o=n;t.push({value:o.value,mode:o.mode==="exact"?"exact":"contains"})}return t}function In(e){let t=[...e];for(let n of Ln)t.some(o=>o.value===n.value)||t.push({...n});return t}var Lt=class{constructor(){this.patterns=In(Ln.map(t=>({...t})));this.listeners=new Set;this.loaded=!1;this.loadPromise=null;this.dirty=!1}getPatterns(){return this.patterns}subscribe(t){return this.listeners.add(t),this.ensureLoaded(),()=>{this.listeners.delete(t)}}emit(){this.listeners.forEach(t=>t())}ensureLoaded(){return this.loaded?Promise.resolve():this.loadPromise?this.loadPromise:(this.loadPromise=(async()=>{try{let t=await O.getItem(Z.network.ignoredDomains());if(t&&!this.dirty){let n=In(ei(JSON.parse(t)));this.patterns=n}}catch{}finally{this.loaded=!0,this.emit()}})(),this.loadPromise)}persist(){O.setItem(Z.network.ignoredDomains(),JSON.stringify(this.patterns)).catch(()=>{})}commit(t){this.dirty=!0,this.patterns=t,this.emit(),this.persist()}add(t){let n=t.value.trim();n&&(this.patterns.some(o=>o.value===n)||this.commit([...this.patterns,{value:n,mode:t.mode}]))}remove(t){this.patterns.some(n=>n.value===t)&&this.commit(this.patterns.filter(n=>n.value!==t))}toggle(t){let n=t.trim();n&&this.commit(this.patterns.some(o=>o.value===n)?this.patterns.filter(o=>o.value!==n):[...this.patterns,{value:n,mode:"contains"}])}toggleMode(t){this.patterns.some(n=>n.value===t)&&this.commit(this.patterns.map(n=>n.value===t?{...n,mode:n.mode==="contains"?"exact":"contains"}:n))}},ce=new Lt,ti=e=>ce.add(e),ni=e=>ce.remove(e),oi=e=>ce.toggle(e),ri=e=>ce.toggleMode(e);function ii(){let[e,t]=Zr(()=>ce.getPatterns());qr(()=>ce.subscribe(()=>{t(ce.getPatterns())}),[]);let n=Qr(()=>new Set(e.map(o=>o.value)),[e]);return{patterns:e,values:n,add:ti,remove:ni,toggle:oi,toggleMode:ri}}function si(e){typeof requestAnimationFrame=="function"?requestAnimationFrame(()=>e()):setTimeout(e,0)}function ai(e){let t=e.id,n=e.order??"append",o=e.coalesce??"sync",i=e.flushMinIntervalMs??150,r=e.max,s=[],a=!1,l=e.firstId??1,u=0,m=!1,w=[],g=!1;function b(){g||(g=!0,le(()=>{ee().status==="locked"&&(s=[]),K()}))}let C=new Set,E=new Set;function Y(){for(let v of C)try{v()}catch{}}function K(){if(o==="sync"){Y();return}m||(m=!0,si(()=>{m=!1,Y()}))}function H(v){return v.length<=r?v:n==="append"?v.slice(v.length-r):v.slice(0,r)}return{id:t,subscribe(v){return b(),C.add(v),()=>{C.delete(v)}},getSnapshot(){return b(),_()?s:w},size(){return _()?s.length:0},add(v){b(),!(a||ee().status==="locked")&&(n==="append"?s=s.length>=r?[...s.slice(s.length-r+1),v]:[...s,v]:s=s.length>=r?[v,...s.slice(0,r-1)]:[v,...s],K())},set(v){b(),_()&&(s=H(v),K())},update(v){b(),ee().status!=="locked"&&(s=H(v(s)),K())},clear(){for(let v of E)try{v()}catch{}s.length!==0&&(s=[],K())},onClear(v){return E.add(v),()=>{E.delete(v)}},notify(){K()},flushSync(v=!1){let A=Date.now();if(!(!v&&A-u<i)){u=A;try{let Re=globalThis.__buoyFlushToolSync;if(!Re)return;for(let pt of Re)pt(t)}catch{}}},setPaused(v){a=v},isPaused(){return a},setMax(v){r=v;let A=H(s);A!==s&&(s=A,K())},getMax(){return r},allocId(){return l++},bumpIdAbove(v){v+1>l&&(l=v+1)},listenerCount(){return C.size}}}var Mt=class{constructor(t={}){this.items=[];this.itemListeners=new Set;this.clearListeners=new Set;this.idCounter=0;this.enabled=!0;this.captureSuppressed=!1;this.max=t.max??200}canRecord(){return this.enabled&&!this.captureSuppressed}nextId(){return`${Date.now()}-${++this.idCounter}`}push(t){this.items=[t,...this.items].slice(0,this.max)}record(t){this.push(t),this.notifyListeners()}setItems(t){this.items=t.slice(0,this.max),this.notifyListeners()}getAll(){return[...this.items]}getById(t){return this.items.find(n=>n.id===t)}get size(){return this.items.length}clear(){this.items=[],this.notifyListeners(),this.clearListeners.forEach(t=>{try{t()}catch{}})}onClear(t){return this.clearListeners.add(t),()=>{this.clearListeners.delete(t)}}disableCapture(){this.captureSuppressed=!0}isCaptureSuppressed(){return this.captureSuppressed}replaceAll(t){return this.enabled?(this.setItems(t),!0):!1}hydrateById(t,n){let o=this.items.findIndex(i=>i.id===t);o!==-1&&(this.items=[...this.items.slice(0,o),{...this.items[o],...n},...this.items.slice(o+1)],this.notifyListeners())}setEnabled(t){this.enabled=t}getEnabled(){return this.enabled}setMax(t){this.max=t,this.items.length>t&&(this.items=this.items.slice(0,t),this.notifyListeners())}getMax(){return this.max}subscribe(t){return this.itemListeners.add(t),()=>{this.itemListeners.delete(t)}}notifyListeners(){let t=this.getAll();this.itemListeners.forEach(n=>n(t))}get listenerCount(){return this.itemListeners.size}};var ye=e=>typeof e=="object"&&e!==null&&!Array.isArray(e),li=["id","lineId","key","uuid","_id","slug","name"];function Dt(e){if(!e.length||!e.every(ye))return;let t=e[0];for(let n of li){if(!(n in t))continue;let o=e.map(r=>r[n]);if(o.every(r=>typeof r=="string"||typeof r=="number")&&new Set(o.map(String)).size===o.length)return n}}function ci(e,t,n,o){let i=o[t];return typeof i=="string"||typeof i=="number"?String(i)!==n?{ok:!1,error:`The new item is addressed as \`${n}\` but carries \`${t}\`: ${JSON.stringify(i)}. Use the same value for both \u2014 address it by the id it carries.`}:{ok:!0,value:i}:e.every(s=>typeof s[t]=="number")&&n.trim()!==""&&String(Number(n))===n?{ok:!0,value:Number(n)}:{ok:!0,value:n}}function Mn(e,t,n="",o=[]){if(Array.isArray(e)&&ye(t)){let i=Dt(e);if(!i)return{patch:t,notes:o};let r=new Map(e.map(m=>[String(m[i]),m])),s=e.slice(),a=0,l=0,u=0;for(let[m,w]of Object.entries(t)){let g=s.findIndex(b=>String(b[i])===m);if(w===null){if(g===-1)return{patch:t,notes:o};s.splice(g,1),a++}else if(g===-1){if(!ye(w))return{patch:t,notes:o};let b=ci(e,i,m,w);if(!b.ok)return{patch:t,notes:o,error:b.error};s.push({...w,[i]:b.value}),u++}else{let b=Mn(r.get(m),w,`${n}[${m}]`,o);if(b.error)return{patch:t,notes:o,error:b.error};let C=s[g];s[g]=ye(C)&&ye(b.patch)?{...C,...b.patch}:b.patch,l++}}return o.push(`${n||"(root)"}: addressed by \`${i}\` \u2014 ${l} changed, ${u} added, ${a} removed, ${s.length} item(s) remain`),{patch:s,notes:o}}if(ye(e)&&ye(t)){let i={};for(let[r,s]of Object.entries(t)){let a=n?`${n}.${r}`:r;if(!(r in e)){i[r]=s;continue}let l=Mn(e[r],s,a,o);if(l.error)return{patch:t,notes:o,error:l.error};i[r]=l.patch}return{patch:i,notes:o}}return{patch:t,notes:o}}var et=e=>typeof e=="object"&&e!==null&&!Array.isArray(e);function tt(e,t=0){if(e===null)return"null";if(Array.isArray(e)){if(!e.length)return"unknown[]";if(t>=3)return"\u2026[]";let o=tt(e[0],t+1);return o.includes(" ")||o.endsWith("]")?`(${o})[]`:`${o}[]`}if(et(e)){if(t>=3)return"{\u2026}";let o=Object.keys(e),i=o.slice(0,24),r=i.map(a=>`${a}: ${tt(e[a],t+1)}`).join(", "),s=o.length>i.length?`, +${o.length-i.length} more`:"";return`{${r}${s}}`}let n=typeof e;return n==="undefined"?"undefined":n==="function"?"function":n}function ze(e,t="",n=[],o=0,i={visited:0}){if(o>3||n.length>=40||i.visited>=600)return n;if(Array.isArray(e)){let r=e[0];if(n.push({path:t||"(root)",length:e.length,...e.length?{item:tt(r)}:{}}),e.length&&et(r))for(let[s,a]of Object.entries(r)){if(++i.visited>=600)break;ze(a,t?`${t}[].${s}`:`[].${s}`,n,o+1,i)}return n}if(et(e))for(let[r,s]of Object.entries(e)){if(++i.visited>=600)break;ze(s,t?`${t}.${r}`:r,n,o+1,i)}return n}function kf(e){let t={visited:0};return ze(e,"",[],0,t).length>=40||t.visited>=600}function Tf(e){return ze(e).filter(t=>t.item===void 0).map(t=>t.path)}function Cf(e){if(e===void 0)return;let t=ze(e),n=tt(e);if(!(!t.length&&!et(e)&&!Array.isArray(e)))return t.length?{shape:n,lists:t}:{shape:n}}var te=e=>typeof e=="object"&&e!==null&&!Array.isArray(e);function di(e,t,n=2e3){let o=[{node:e,path:""}],i=0;for(;o.length&&i<n;){let{node:r,path:s}=o.shift();if(i++,Array.isArray(r))r.slice(0,20).forEach((a,l)=>o.push({node:a,path:`${s}[${l}]`}));else if(te(r))for(let[a,l]of Object.entries(r)){let u=s?`${s}.${a}`:a;if(a===t)return u;(te(l)||Array.isArray(l))&&o.push({node:l,path:u})}}}function Dn(e,t,n,o,i){let r=di(e,i??n),s=o.slice(0,12).join(", ")||"(no fields)";return r?`No field "${n}" at "${t}" \u2014 did you mean path "${r}"? "${t}" has: ${s}.`:`No field "${n}" at "${t}". It has: ${s}.`}function $n(e,t){let n=e;for(let o of t.split(".")){if(!te(n))return;n=n[o]}return n}function On(e){if(!e.trim())return;let t=[],n=0;for(;n<e.length;){if(e[n]==="."){n++;continue}if(e[n]==="["){let r=e.indexOf("]",n);if(r===-1)return;let s=e.slice(n+1,r);if(/^\d+$/.test(s))t.push({kind:"index",index:Number(s)});else{let a=s.indexOf("=");if(a<=0)return;t.push({kind:"match",field:s.slice(0,a).trim(),value:s.slice(a+1).trim()})}n=r+1;continue}let o=n;for(;o<e.length&&e[o]!=="."&&e[o]!=="[";)o++;let i=e.slice(n,o);if(!i)return;t.push({kind:"key",key:i}),n=o}return t.length?t:void 0}function Af(e,t){let n=On(t);if(!n)return{ok:!1,error:`Could not read the path "${t}". Use dotted keys with optional [0] or [field=value], like "item.name" or "lines[lineId=seed-1].qty".`};let o=e,i=[];for(let r of n){if(o==null)return{ok:!1,error:`"${i.join(".")||"(root)"}" is ${o===null?"null":"not set"}, so there is nothing at "${t}".`};if(r.kind==="key"){if(!te(o))return{ok:!1,error:`"${i.join(".")||"(root)"}" is not an object, so it has no field "${r.key}".`};if(!(r.key in o)){let s=n[n.length-1];return{ok:!1,error:Dn(e,i.join(".")||"(root)",r.key,Object.keys(o),s?.kind==="key"?s.key:void 0)}}o=o[r.key],i.push(r.key)}else if(r.kind==="index"){if(!Array.isArray(o))return{ok:!1,error:`"${i.join(".")||"(root)"}" is not a list, so [${r.index}] means nothing.`};o=o[r.index],i.push(`[${r.index}]`)}else{if(!Array.isArray(o))return{ok:!1,error:`"${i.join(".")||"(root)"}" is not a list, so [${r.field}=${r.value}] means nothing.`};let s=o.find(a=>te(a)&&String($n(a,r.field))===r.value);if(s===void 0)return{ok:!1,error:`No item with ${r.field}="${r.value}" in "${i.join(".")||"(root)"}".`};o=s,i.push(`[${r.field}=${r.value}]`)}}return{ok:!0,value:o}}function If(e,t,n){let o=On(t);if(!o)return{ok:!1,error:`Could not read the path "${t}". Use dotted keys with optional [0] or [field=value], like "item.name" or "lines[lineId=seed-1].qty".`};if(o[0]?.kind!=="key")return{ok:!1,error:`A path must start with a field name, not a list index \u2014 "${t}" does not say which list.`};let i=(s,a)=>{if(a>=o.length)return{ok:!0,patch:n};let l=o[a];if(l.kind==="key"){if(te(s)&&!(l.key in s)&&a+1<o.length){let K=o[o.length-1];return{ok:!1,error:Dn(e,He(o,a),l.key,Object.keys(s),K?.kind==="key"?K.key:void 0)}}let E=te(s)?s[l.key]:void 0,Y=i(E,a+1);return Y.ok?{ok:!0,patch:{[l.key]:Y.patch}}:Y}if(!Array.isArray(s))return{ok:!1,error:`"${He(o,a)}" is not a list, so "${t}" cannot be resolved. Read it first \u2014 \`shape\` on the read says what each field holds.`};let u=l.kind==="index"?l.index:s.findIndex(E=>te(E)&&String($n(E,l.field))===l.value),m=u>=0?s[u]:void 0;if(l.kind==="index"?u<0||u>=s.length:u<0)return{ok:!1,error:l.kind==="index"?`"${He(o,a)}" has ${s.length} item(s), so there is nothing at [${l.index}].`:`No item with ${l.field}="${l.value}" in "${He(o,a)}".`};if(!te(m)){if(a<o.length-1)return{ok:!1,error:`"${He(o,a)}[${l.kind==="index"?l.index:`${l.field}=${l.value}`}]" holds ${m===null?"null":typeof m}, not an object, so "${t}" cannot go any deeper. Set the item itself.`};let E=s.slice();return E[u]=n,{ok:!0,patch:E}}let g=i(m,a+1);if(!g.ok)return g;let b=Dt(s);if(b)return{ok:!0,patch:{[String(m[b])]:g.patch}};let C=s.slice();return C[u]=te(g.patch)?{...m,...g.patch}:g.patch,{ok:!0,patch:C}},r=i(e,0);return r.ok?{ok:!0,patch:r.patch}:r}function He(e,t){return e.slice(0,t).map(n=>n.kind==="key"?n.key:n.kind==="index"?`[${n.index}]`:`[${n.field}=${n.value}]`).join(".").replace(/\.\[/g,"[")||"(root)"}var de=e=>!!e&&typeof e=="object"&&!Array.isArray(e);function nt(e){return Array.isArray(e)?"array":e===null?"null":typeof e=="object"?"object":typeof e}var Bn=["string","number","boolean"];function ui(e,t,n=2e3){let o=[{node:e,path:""}],i=0;for(;o.length&&i<n;){let{node:r,path:s}=o.shift();if(i++,Array.isArray(r))r.slice(0,20).forEach((a,l)=>o.push({node:a,path:`${s}[${l}]`}));else if(de(r))for(let[a,l]of Object.entries(r)){let u=s?`${s}.${a}`:a;if(a===t&&s)return u;(de(l)||Array.isArray(l))&&o.push({node:l,path:u})}}}function Nn(e,t,n={},o=e,i="",r=[]){let s=n.noun??"data",a=i||"(root)";if(Array.isArray(t)){if(!Array.isArray(e))return r.push({path:a,kind:"type-change",detail:`${nt(e)} \u2192 array`}),r;let g=e.length?e[0]:void 0;return g!==void 0&&(de(g)||Array.isArray(g))&&t.forEach((b,C)=>{let E=`${i}[${C}]`;if(de(g)&&de(b))for(let Y of Object.keys(g))Y in b||r.push({path:`${E}.${Y}`,kind:"missing-key",detail:`list items need \`${Y}\` \u2014 the items already in the list have it`});Nn(g,b,n,o,E,r)}),r}if(de(t)){if(!de(e))return r.push({path:a,kind:"type-change",detail:`${nt(e)} \u2192 object`}),r;for(let[g,b]of Object.entries(t)){let C=i?`${i}.${g}`:g;if(g in e)Nn(e[g],b,n,o,C,r);else{let E=ui(o,g);r.push({path:C,kind:"add-key",detail:E?`no such field here \u2014 did you mean \`${E}\`?`:`no field named \`${g}\` exists in this ${s}`,...E?{movedTo:E}:{}})}}return r}let l=nt(e),u=nt(t),m=l==="null"&&Bn.includes(u),w=u==="null"&&Bn.includes(l);return l!==u&&!m&&!w&&r.push({path:a,kind:"type-change",detail:`${l} \u2192 ${u}`}),r}function Df(e,t){if(!t.length||!t.every(o=>o.kind==="add-key"&&o.movedTo))return;let n={};for(let o of t){let i=gi(e,o.path);if(i===void 0||o.movedTo.includes("["))return;let r=n,s=o.movedTo.split(".");s.slice(0,-1).forEach(a=>{r[a]??(r[a]={}),r=r[a]}),r[s[s.length-1]]=i}return n}function gi(e,t){let n=e;for(let o of t.split(".")){if(!de(n))return;n=n[o]}return n}function $f(e,t,n){let o=e.slice(0,6).map(r=>`\`${r.path}\`: ${r.detail}`).join("; "),i=e.length>6?`; +${e.length-6} more`:"";return`Refused: this isn't a same-type edit of existing fields (the rule the React Query devtools enforces). ${o}${i}. You can only change the VALUE of a field that already exists, to the same type \u2014 you can't add fields, change a field's type, or null a list/object the screen renders. Clearing a scalar to null is fine. Send just the field(s) you're changing, nested to match the current shape of this ${t}. Use force:true only to deliberately break that.`+(n?` This is the same edit at the right depth \u2014 send it as the patch: ${JSON.stringify(n)}`:"")}function ot(e,t){let n=0,o=!1,i=!1,r=[e],s=new Set;for(;r.length>0;){if(n>t)return{bytes:n,sawRepeat:o,sawBigInt:i};let a=r.pop();if(a==null)n+=4;else if(typeof a=="string")n+=a.length+2;else if(typeof a=="number")n+=8;else if(typeof a=="boolean")n+=5;else if(typeof a=="object"){if(s.has(a)){o=!0;continue}if(s.add(a),Array.isArray(a)){n+=2+a.length;for(let l=0;l<a.length;l++)r.push(a[l])}else{n+=2;for(let l in a)n+=l.length+4,r.push(a[l])}}else typeof a=="bigint"&&(i=!0),n+=4}return{bytes:n,sawRepeat:o,sawBigInt:i}}function $t(e,t){let n=ot(e,t);return n.bytes>t?!0:!n.sawRepeat&&!n.sawBigInt?!1:!Pt(e)}var pi=16*1024,Ot=8*1024*1024;function Wf(e,t){return Object.freeze({[`__buoy${e}OnDevice`]:!0,note:t})}function Vf(e,t){return typeof e=="object"&&e!==null&&e[`__buoy${t}OnDevice`]===!0}function fi(e=Ot){return{__buoyTruncated:!0,note:`Exceeds the ${e/1048576}MB detail limit \u2014 inspect it on-device.`}}function Ff(e,t,n=pi){return e===void 0?e:$t(e,n)?t:e}function hi(e,t=Ot){return $t(e,t)?fi(t):e}function jf(e){let t=new WeakMap;return n=>{let o=t.get(n);if(o!==void 0)return o;let i=e(n);return t.set(n,i),i}}function Uf(e,t){let n=[],o=t.baseBytes??16;for(let i=e.length-1;i>=0;i--){let r=t.toWire(e[i]);if(o+r.bytes>t.budget&&n.length>0)break;n.push(r.value),o+=r.bytes}return n.reverse(),n}function Gf(e,t,n){let o=ot(e,t);if(o.bytes<=t)return{value:e,bytes:o.bytes};let i=n();return{value:i,bytes:ot(i,t).bytes}}function mi(e){return e??{}}function Yf(e,t,n=Ot){let o=i=>hi(i,n);return i=>{let{id:r}=mi(i);if(!r)return{found:!1,reason:"missing id"};let s=e(r);return s?{found:!0,id:r,...t(s,o)}:{found:!1,reason:"unknown id"}}}function bi(e){return e.length===1?e[0]:t=>{let n=e.map(o=>o(t));return()=>{for(let o of n)o()}}}function Xf(e){let t=Array.isArray(e.subscribe)?bi(e.subscribe):e.subscribe;return{version:e.version,getSnapshot:e.getSnapshot,subscribe:t,...e.actions?{actions:e.actions}:{}}}function Zf(e){return e}function eh(e,t,n){return o=>{let i=o??{},r=e.props===void 0&&!t?void 0:{...e.props??{},...t?t(i):{}};return{...e,id:i.id||e.id,name:i.name||e.name,description:i.description||e.description,...r!==void 0?{props:r}:{},...n?n(i,e):{}}}}var Bt="__buoyToolActionRegistry";function Nt(){let e=globalThis;return e[Bt]||(e[Bt]=new Set),e[Bt]}function rh(e){let t=Nt();t.add(e);let n=!1,o=()=>{if(n)return;n=!0;let r=e(),s=async(a,l,u)=>{if(!(a==="network"&&l==="deleteOverrideRule"||a==="impersonate"&&l==="stopImpersonation"))throw new Error("Unsupported account-lock cleanup operation");if(a==="impersonate")return r[a]?.dispose?.(s);let m=r[a]?.actions?.[l];if(!m)throw new Error(`Cleanup unavailable for ${a}`);return m(u)};for(let a of Object.values(r))try{Promise.resolve(a.dispose?.(s)).catch(l=>console.warn("[Buoy] Tool cleanup failed",l))}catch(l){console.warn("[Buoy] Tool cleanup failed",l)}},i=le(()=>{_()?n=!1:o()});return()=>{i(),t.delete(e),Promise.resolve().then(()=>{t.size===0&&o()})}}function _e(){if(!_())return{};let e={};for(let t of Nt())try{Object.assign(e,t())}catch{}return Object.fromEntries(Object.entries(e).map(([t,n])=>[t,Hn(n)]))}function ih(){return Object.keys(_e())}function sh(){let e={};for(let[t,n]of Object.entries(_e()))e[t]=Object.keys(n.actions??{});return e}function ah(){return Object.entries(_e()).filter(([,e])=>typeof e.getSnapshot=="function").map(([e])=>e)}async function lh(e){be();let n=_e()[e];if(!n)throw new Error(`Unknown tool "${e}"`);if(typeof n.getSnapshot!="function")throw new Error(`Tool "${e}" has no snapshot to read`);return await n.getSnapshot()}function zn(){return _()&&Nt().size>0}async function ch(e,t,n){be();let i=_e()[e],r=i?.actions?.[t];if(!r)throw new Error(i?`Unknown action "${t}" on tool "${e}"`:`Unknown tool "${e}"`);return await r(n)}async function dh(e=2e3){if(zn())return!0;let t=Date.now()+e;for(;Date.now()<t;)if(await new Promise(n=>setTimeout(n,50)),zn())return!0;return!1}function Hn(e){let t=n=>(...o)=>{be();let i=!1,r=le(()=>{_()||(i=!0)}),s=()=>{if(i)throw new Error("Buoy account access ended while the operation was pending.");be()};try{let a=n.apply(e,o);return a&&typeof a.then=="function"?Promise.resolve(a).then(l=>(s(),l)).finally(r):(s(),r(),a)}catch(a){throw r(),a}};return{...e,...e.getSnapshot?{getSnapshot:t(e.getSnapshot)}:{},...e.actions?{actions:Object.fromEntries(Object.entries(e.actions).map(([n,o])=>[n,t(o)]))}:{},...e.subscribe?{subscribe:n=>(be(),e.subscribe(()=>{_()&&n()}))}:{}}}var zt="__buoyToolUiBridge";function _t(){let e=globalThis;return e[zt]||(e[zt]=new Set),e[zt]}function ph(e){let t=_t();return t.add(e),()=>{t.delete(e)}}function fh(e){for(let t of _t())try{if(t(e))return!0}catch{}return!1}function hh(){return _t().size>0}var Ht="__buoyToolAttention";function Wt(){let e=globalThis;return e[Ht]||(e[Ht]={byTool:new Map,listeners:new Set}),e[Ht]}function mh(e,t){let n=Wt(),o=n.byTool.get(e)??null;if(!(o===t||o&&t&&o.kind===t.kind&&o.label===t.label)){t?n.byTool.set(e,t):n.byTool.delete(e);for(let i of n.listeners)try{i()}catch{}}}function bh(e){return Wt().byTool.get(e)??null}function yh(e){let t=Wt();return t.listeners.add(e),()=>{t.listeners.delete(e)}}var _n=256*1024;function yi(e){let t=new Set(e?.excludeKeys??[]),n=e?.includeKeys?new Set(e.includeKeys):null,o=0,i=r=>!t.has(r)&&(!n||n.has(r));return{touch:i,allows(r){return i(r)?!0:(o+=1,!1)},countExcluded(r){o+=r},get excludedHits(){return o},excludedWarning(r){return o>0?`${o} ${r} excluded by you`:null}}}function xi(){return{ok:!0,applied:0,skipped:[],warnings:[]}}function vi(e){return{ok:!1,applied:0,skipped:[],warnings:[e]}}function Si(e,t){return{ok:!1,applied:0,skipped:[{id:e,reason:t}],warnings:[]}}function wi(e,t={}){let{key:n,label:o,oldValue:i,newValue:r,inOld:s,inNew:a}=e;if(!a)return{key:n,label:o,verdict:"removed",oldValue:i};if(!s)return{key:n,label:o,verdict:"added",newValue:r};if((t.equal??En)(i,r))return{key:n,label:o,verdict:"unchanged"};let u=t.tooLarge??(m=>Rn(m,_n));return u(i)||u(r)?{key:n,label:o,verdict:"too-large",reason:t.tooLargeReason??"value too large to render a diff \u2014 restore still applies it"}:{key:n,label:o,verdict:"changed",oldValue:i,newValue:r}}function ki(e,t){return e.verdict==="unchanged"?e:{...e,verdict:"wont-apply",reason:t}}function Ti(e,t){let n=o=>o===void 0?[]:o instanceof Map?Array.from(o.keys()):Object.keys(o);return new Set([...n(e),...n(t)])}function Ci(e,t={}){let n=e.toLowerCase();if(t[n])return t[n];for(let[C,E]of Object.entries(t))if(n.includes(C))return E;let i=e.split("").reduce((C,E)=>C+E.charCodeAt(0),0)*137%360,r=.7,s=.6,a=(1-Math.abs(2*s-1))*r,l=a*(1-Math.abs(i/60%2-1)),u=s-a/2,m=0,w=0,g=0;i<60?(m=a,w=l):i<120?(m=l,w=a):i<180?(w=a,g=l):i<240?(w=l,g=a):i<300?(m=l,g=a):(m=a,g=l);let b=C=>Math.round((C+u)*255).toString(16).padStart(2,"0");return`#${b(m)}${b(w)}${b(g)}`}function Ei(e,t={}){let n=t.maxLength??40;if(e===void 0)return t.undefinedLabel??"undefined";if(e===null)return"null";try{if(typeof e=="function")return t.functionLabel??"(fn)";if(typeof e=="string")return e.length>n?`"${e.slice(0,n-3)}..."`:`"${e}"`;if(typeof e=="number"||typeof e=="boolean")return String(e);if(Array.isArray(e)){if(e.length===0)return"[]";let o=JSON.stringify(e);return o.length>n?`[${e.length} items]`:o}if(typeof e=="object"){let o=Object.keys(e);if(o.length===0)return"{}";let i=JSON.stringify(e);return i.length<=n?i:`{ ${o.length} keys }`}return String(e).slice(0,n)}catch{return"[complex]"}}function Ri(e,t){if(e===t)return{summary:"no change",changedKeys:[],changedCount:0};if(typeof e!="object"||typeof t!="object"||e===null||t===null)return{summary:"changed",changedKeys:[],changedCount:0};let n=e,o=t,i=Object.keys(n),r=Object.keys(o),s=r.filter(g=>!i.includes(g)),a=i.filter(g=>!r.includes(g)),l=[];for(let g of i)r.includes(g)&&n[g]!==o[g]&&l.push(g);let u=[...s,...a,...l],m=[];if(s.length>0&&m.push(`+${s.length}`),a.length>0&&m.push(`-${a.length}`),l.length>0&&m.push(`~${l.length}`),m.length===0)return{summary:"nested change",changedKeys:[],changedCount:0};let w=u.length;return{summary:`${m.join(" ")} ${w===1?"key":"keys"}`,changedKeys:u,changedCount:w}}function Pi(e){if(e==null)return"N/A";if(e===0)return"0 B";let t=1024,n=["B","KB","MB","GB","TB"],o=Math.floor(Math.log(e)/Math.log(t));return`${(e/Math.pow(t,o)).toFixed(1)} ${n[o]}`}function Eh(e){if(e==null)return"N/A";if(e<1e3)return`${e}ms`;if(e<6e4)return`${(e/1e3).toFixed(1)}s`;if(e<36e5){let o=Math.floor(e/6e4),i=Math.floor(e%6e4/1e3);return i>0?`${o}m ${i}s`:`${o}m`}let t=Math.floor(e/36e5),n=Math.floor(e%36e5/6e4);return n>0?`${t}h ${n}m`:`${t}h`}function Rh(e){return e.toLocaleString()}var Ai=5e4;function Ph(e,t=Ai){try{let n=JSON.stringify(e);return n.length>t?`[omitted: ${Pi(n.length)} \u2014 too large to copy]`:e}catch{return"[omitted: could not serialize]"}}function Ah(e,t=50,n=20,o=20){if(e.length<=t)return e;let i=e.slice(0,n),r=e.slice(-o);return`${i}...${r}`}function Dh(e){if(e>=100&&e<200)return{text:String(e),color:x.info,meaning:"Informational"};if(e>=200&&e<300){let t={200:"OK",201:"Created",202:"Accepted",204:"No Content",206:"Partial Content"};return{text:String(e),color:x.success,meaning:t[e]||"Success"}}if(e>=300&&e<400){let t={301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",307:"Temporary Redirect",308:"Permanent Redirect"};return{text:String(e),color:x.warning,meaning:t[e]||"Redirect"}}if(e>=400&&e<500){let t={400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",408:"Request Timeout",409:"Conflict",410:"Gone",422:"Unprocessable Entity",429:"Too Many Requests"};return{text:String(e),color:x.error,meaning:t[e]||"Client Error"}}if(e>=500){let t={500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported"};return{text:String(e),color:x.error,meaning:t[e]||"Server Error"}}return{text:String(e),color:x.muted,meaning:"Unknown"}}function $h(e){return{GET:x.success,POST:x.info,PUT:x.warning,DELETE:x.error,PATCH:x.network,HEAD:x.muted,OPTIONS:x.secondary,CONNECT:x.critical,TRACE:x.env}[e.toUpperCase()]||x.muted}function Oh(e){try{let t=new URL(e);return{protocol:t.protocol.replace(":",""),host:t.hostname,port:t.port||void 0,pathname:t.pathname,search:t.search||void 0,hash:t.hash||void 0}}catch{return null}}var We=[];function Vt(e){We.unshift(e),We=We.slice(0,500)}function Ii(){return We}function Li(){We=[]}var rt=(r=>(r.Debug="debug",r.Info="info",r.Log="log",r.Warn="warn",r.Error="error",r))(rt||{}),it=(g=>(g.Auth="Auth",g.Custom="Custom",g.Debug="Debug",g.Error="Error",g.Generic="Generic",g.HTTPRequest="HTTP Request",g.Navigation="Navigation",g.Replay="Replay",g.State="State",g.System="System",g.Touch="Touch",g.UserAction="User Action",g))(it||{});var Mi=()=>`${Date.now()}-${Math.random().toString(36).substr(2,9)}`,st=class{constructor(){this.captureTransaction=t=>(this.logSentryEvent("transaction",t),t);this.captureSpan=t=>(this.logSentryEvent("span",t),t);this.captureEvent=t=>(this.logSentryEvent("event",t),t);this.captureLog=t=>(this.logSentryEvent("console",{message:t.message||"Log entry",level:t.level,category:"console",timestamp:t.timestamp,...t.attributes}),t);this.captureBreadcrumb=t=>{let n="unknown";try{let i=globalThis.getCurrentPathname;i&&(n=i())}catch{}let o=t.category;if(t.message?.toLowerCase().includes("ignore"))return null;if(t.message?.includes("Touch event within element:")&&(t.message=t.message.replace("Touch event within element:","")),o==="navigation"&&t.data?.from&&t.data?.to&&(t.message=`From ${t.data.from} To ${t.data.to}`),o==="touch"&&t.data?.path){t.message&&(t.message=t.message.trim());let i={...t.data,category:o,message:t.message,route:n,timestamp:new Date().toISOString(),path:t.message?[{label:t.message}]:t.data?.path};t.data=i}return this.logSentryEvent("breadcrumb",t),t}}logSentryEvent(t,n){let o="Generic",i=n.category;if(i)switch(i){case"touch":o="Touch";break;case"xhr":case"fetch":case"http":o="HTTP Request";break;case"navigation":o="Navigation";break;case"auth":o="Auth";break;case"console":o="System";break;case"debug":o="Debug";break;default:i.startsWith("ui.")?o="User Action":i.startsWith("replay.")?o="Replay":i.includes("redux")||i.includes("state")?o="State":o="Custom"}let r={id:Mi(),timestamp:Date.now(),level:this.getSentryLevel(n),message:this.getSentryMessage(n),metadata:this.getSentryMetadata(n),type:o};Vt(r)}getSentryLevel(t){switch(t.level){case"fatal":case"error":return"error";case"warning":return"warn";case"info":return"info";case"debug":return"debug";default:return"log"}}getSentryMessage(t){let n=t.message;return typeof n=="string"?n:`${t.type||"Unknown"} Event`}getSentryMetadata(t){let{message:n,level:o,type:i,...r}=t;return r}},Di=new st;import{useState as Ft,useEffect as Vn}from"react";import{jsx as M,jsxs as Te}from"react/jsx-runtime";var at=Z.bubble.settings(),Wn=Z.bubble.userPreferences(),jt={showEnvironment:!0,showQueryButton:!0,showWifiToggle:!0,showEnvButton:!1,showSentryButton:!1,showStorageButton:!1};function $i({onPress:e}){let[t,n]=Ft(jt);Vn(()=>{o()},[]);let o=async()=>{try{let r=await O.getItem(at);r&&n(JSON.parse(r))}catch(r){console.error("Failed to load bubble settings:",r)}};return M(Cn,{id:"bubble-settings",title:"SETTINGS",subtitle:`${Object.values(t).filter(Boolean).length}/6 visible`,icon:wt,iconColor:"#10B981",iconBackgroundColor:"rgba(16, 185, 129, 0.1)",onPress:e||(()=>{}),index:5})}function Oi({onSettingsChange:e}){let[t,n]=Ft(jt),[o,i]=Ft(!0);Vn(()=>{r()},[]);let r=async()=>{try{let u=await O.getItem(at);u&&n(JSON.parse(u))}catch(u){console.error("Failed to load bubble settings:",u)}finally{i(!1)}},s=async u=>{try{await O.setItem(at,JSON.stringify(u)),n(u),e?.(u)}catch(m){console.error("Failed to save bubble settings:",m)}},a=async u=>{let m={...t,[u]:!t[u]};try{let w=await O.getItem(Wn),g=w?JSON.parse(w):{},b=u.replace("show","hasSet"),C={...g,[b]:!0};await O.setItem(Wn,JSON.stringify(C))}catch(w){console.error("Failed to save user preference marker:",w)}s(m)};if(o)return M(T,{style:P.detailContainer,children:M($,{style:P.loadingText,children:"Loading settings..."})});let l=[{key:"showEnvironment",label:"Environment Indicator",description:"Shows current environment (dev, staging, prod)",icon:M(T,{style:[P.indicator,{backgroundColor:"#10B981"}]})},{key:"showQueryButton",label:"React Query Button",description:"Opens React Query dev tools",icon:M(T,{style:[P.indicator,{backgroundColor:"#F59E0B"}]})},{key:"showWifiToggle",label:"WiFi",description:"Toggle WiFi for testing offline scenarios",icon:M(T,{style:[P.indicator,{backgroundColor:"#8B5CF6"}]})},{key:"showEnvButton",label:"Environment Variables",description:"View and check environment variables",icon:M(wt,{size:16,color:"#10B981"})},{key:"showSentryButton",label:"Sentry Events",description:"View captured Sentry events and errors",icon:M(T,{style:[P.indicator,{backgroundColor:"#a855f7"}]})},{key:"showStorageButton",label:"Storage Browser",description:"Browse and inspect AsyncStorage data",icon:M(vn,{size:16,color:"#3B82F6"})}];return M(T,{style:P.detailContainer,children:Te(mn,{showsVerticalScrollIndicator:!1,contentContainerStyle:P.scrollContent,"sentry-label":"ignore bubble settings scroll",children:[Te(T,{style:P.header,children:[M($,{style:P.headerTitle,children:"Developer Tools Settings"}),M($,{style:P.headerDescription,children:"Configure bubble button visibility"})]}),M(T,{style:P.sectionDivider,children:M($,{style:P.sectionTitle,children:"Bubble Button Visibility"})}),M(T,{style:P.settingsList,children:l.map(u=>Te(T,{style:P.settingItem,children:[M(T,{style:P.settingIconContainer,children:u.icon}),Te(T,{style:P.settingContent,children:[M($,{style:P.settingLabel,children:u.label}),M($,{style:P.settingDescription,children:u.description})]}),M(bn,{"sentry-label":"ignore bubble settings section",value:t[u.key],onValueChange:()=>a(u.key),trackColor:{false:"#4B5563",true:"#10B981"},thumbColor:t[u.key]?"#fff":U.textSecondary})]},u.key))}),Te(T,{style:P.footer,children:[Te(T,{style:P.noteContainer,children:[M(Sn,{size:16,color:U.textSecondary}),M($,{style:P.noteText,children:"User status indicator is always visible and cannot be disabled"})]}),M($,{style:P.restartNote,children:"Changes are saved automatically and will persist across app restarts"})]})]})})}async function Bi(){try{let e=await O.getItem(at);if(e)return JSON.parse(e)}catch(e){console.error("Failed to load bubble settings:",e)}return jt}var P=ae.create({scrollContent:{flexGrow:1},sectionCard:{backgroundColor:U.input,borderRadius:8,padding:16,flexDirection:"row",alignItems:"center",marginBottom:12},iconContainer:{width:36,height:36,borderRadius:8,backgroundColor:"rgba(16, 185, 129, 0.1)",justifyContent:"center",alignItems:"center",marginRight:12},textContainer:{flex:1},title:{color:U.text,fontSize:14,fontWeight:"600",marginBottom:2},subtitle:{color:U.textSecondary,fontSize:12},chevron:{color:Be.text.icon,fontSize:20},detailContainer:{flex:1,backgroundColor:U.card},loadingText:{color:U.textSecondary,fontSize:14,textAlign:"center",marginTop:20},header:{padding:16,borderBottomWidth:1,borderBottomColor:"rgba(128, 128, 128, 0.2)"},headerTitle:{color:U.text,fontSize:16,fontWeight:"600",marginBottom:4},headerDescription:{color:U.textSecondary,fontSize:12},settingsList:{padding:16},settingItem:{flexDirection:"row",alignItems:"center",paddingVertical:12,borderBottomWidth:1,borderBottomColor:"rgba(128, 128, 128, 0.1)"},settingIconContainer:{width:32,height:32,justifyContent:"center",alignItems:"center",marginRight:12},settingContent:{flex:1,marginRight:12},settingLabel:{color:U.text,fontSize:14,fontWeight:"500",marginBottom:2},settingDescription:{color:Be.text.icon,fontSize:11},indicator:{width:8,height:8,borderRadius:4},footer:{padding:16,borderTopWidth:1,borderTopColor:"rgba(128, 128, 128, 0.2)"},noteContainer:{flexDirection:"row",alignItems:"center",gap:8,marginBottom:8},noteText:{color:U.textSecondary,fontSize:12,flex:1},restartNote:{color:Be.text.icon,fontSize:11,fontStyle:"italic"},sectionDivider:{paddingHorizontal:16,paddingVertical:8,marginTop:8,borderTopWidth:1,borderTopColor:"rgba(128, 128, 128, 0.12)"},sectionTitle:{color:U.textSecondary,fontSize:12,fontWeight:"600",letterSpacing:.5,textTransform:"uppercase"}});function Fn(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Ni(e,t,n={}){let o=n.storage??O,i=n.parse??(l=>JSON.parse(l)),r=n.serialize??(l=>JSON.stringify(l));function s(l){let u=Fn(t)&&Fn(l)?{...t,...l}:l;return n.sanitize?n.sanitize(u,l):u}async function a(){try{let l=await o.getItem(e);return l==null||l===""?null:s(i(l))}catch{return null}}return{key:e,defaults:t,loadOrNull:a,async load(){return await a()??t},async save(l){try{await o.setItem(e,r(l))}catch{}},async clear(){try{await o.removeItem(e)}catch{}}}}import{useEffect as zi,useId as Hi,useRef as jn,useState as _i}from"react";import{createPortal as Wi}from"react-dom";import{jsx as Ve,jsxs as Vi}from"react/jsx-runtime";function Ut(){let[e,t]=_i(!1),n=jn(null),o=jn(null),i=Hi(),r=(s=!0)=>{t(!1),s&&n.current?.querySelector('[data-account-launcher] [role="button"]')?.focus({preventScroll:!0})};return zi(()=>{if(!e)return;o.current?.focus({preventScroll:!0});let s=l=>{l.target instanceof Node&&!n.current?.contains(l.target)&&t(!1)},a=l=>{l.key==="Escape"&&(l.preventDefault(),l.stopPropagation(),t(!1),n.current?.querySelector('[data-account-launcher] [role="button"]')?.focus({preventScroll:!0}))};return document.addEventListener("pointerdown",s),document.addEventListener("keydown",a),()=>{document.removeEventListener("pointerdown",s),document.removeEventListener("keydown",a)}},[e]),typeof document>"u"?null:Wi(Vi("div",{ref:n,"data-buoy-account":"",style:{position:"fixed",right:"max(16px, env(safe-area-inset-right))",bottom:"max(20px, env(safe-area-inset-bottom))",zIndex:99999,colorScheme:"dark",fontFamily:"system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"},children:[Ve("style",{children:`
|
|
1
|
+
"use client";import{a as gr,b as pr,c as fr,d as br,e as mr,f as yr,g as Sr,h as vr,i as xr}from"./chunks/chunk-ER3T3IDI.mjs";import{a as Cr,b as wr,c as kr,d as Tr,e as Ir,f as Er,g as Ar,h as Rr}from"./chunks/chunk-D4RXBAOO.mjs";import{$ as Or,A as Lr,B as $r,C as Pr,D as Br,E as Mr,F as Dr,G as Nr,J as zr,K as _r,L as Wr,M as Fr,N as jr,O as Hr,P as Ur,Q as Vr,R as Gr,S as Yr,Z as Kr,_ as Jr,a as oa,b as qr,c as Xr,d as Oe,e as Qr,f as Zr,g as na,h as es,i as ts,j as as,k as rs,l as ss,m as ft,n as os,o as ns,p as is,q as ls,r as cs,s as ds,t as us,u as hs,v as gs,w as ps,x as fs,y as bs,z as ms}from"./chunks/chunk-26OV3QDY.mjs";import"./chunks/chunk-LZ7FZZ7R.mjs";import{a as ys,d as Ss,f as bt}from"./chunks/chunk-53J2FMUD.mjs";import{$ as vs,$a as xs,$b as Cs,A as ws,Aa as ks,Ab as Ts,B as Is,Ba as Es,Bb as As,C as Rs,Ca as Os,Cb as Ls,D as $s,Da as Ps,Db as Bs,E as Ms,Ea as Ds,Eb as Ns,F as zs,Fa as _s,Fb as Ws,G as Fs,Ga as js,Gb as Hs,H as Us,Ha as Vs,Hb as Gs,I as Ys,Ia as Ks,Ib as Js,J as qs,Ja as Xs,Jb as Qs,K as Zs,Ka as eo,Kb as to,L as ao,La as ro,Lb as so,M as oo,Ma as no,Mb as io,N as lo,Na as co,Nb as uo,O as ho,Oa as go,Ob as po,P as fo,Pa as bo,Pb as mo,Q as yo,Qa as So,Qb as vo,R as xo,Ra as Co,Rb as wo,S as ko,Sa as To,Sb as Io,T as Eo,Ta as Ao,Tb as Ro,U as Oo,Ua as Lo,Ub as $o,V as Po,Va as Bo,Vb as Mo,W as Do,Wa as No,Wb as zo,X as _o,Xa as Wo,Xb as Fo,Y as jo,Ya as Ho,Yb as Uo,Z as Vo,Za as Go,Zb as Yo,_ as Ko,_a as Jo,_b as qo,a as Xo,aa as Qo,ab as Zo,ac as en,b as tn,ba as an,bb as rn,bc as sn,c as on,ca as nn,cb as ln,cc as cn,d as dn,da as un,db as hn,dc as gn,e as pn,ea as fn,eb as bn,ec as mn,f as yn,fa as Sn,fb as vn,fc as xn,g as Cn,ga as wn,gb as kn,gc as Tn,h as In,ha as En,hb as An,hc as Rn,i as ia,ia as On,ib as Ln,ic as $n,j as Pn,ja as Bn,jb as Mn,jc as Dn,k as Nn,ka as zn,kb as _n,kc as Wn,l as Fn,la as jn,lb as Hn,lc as Un,m as Vn,ma as Gn,mb as Yn,mc as Kn,n as Jn,na as qn,nb as Xn,nc as Qn,o as Zn,oa as ei,ob as ti,oc as ai,p as ri,pa as si,pb as oi,pc as mt,q as ni,qa as ii,qb as li,qc as ci,r as di,ra as ui,rb as hi,rc as gi,s as pi,sa as fi,sb as bi,sc as mi,t as yi,ta as Si,tb as la,tc as vi,u as xi,ua as Ci,ub as wi,uc as ca,v as oe,va as ki,vb as Ti,vc as Ii,w as G,wa as Ei,wb as Ai,wc as Ri,x as Se,xa as Oi,xb as Li,xc as $i,y as Le,ya as Pi,yb as Bi,z as da,za as Mi,zb as Di}from"./chunks/chunk-L3AFTHWX.mjs";import{a as Ni}from"./chunks/chunk-TJUBBXXK.mjs";import{a as zi,b as _i,c as Wi,d as Fi,e as ji,f as Hi,g as Ui,h as Vi,i as Gi,j as Yi,k as Ki,l as Ji,m as qi,n as Xi,o as Qi,p as Zi}from"./chunks/chunk-XYUAUO57.mjs";import{a as d,b as ua}from"./chunks/chunk-GF5C5DVX.mjs";import{a as el,b as tl}from"./chunks/chunk-K7CGIEFU.mjs";import{a as al,b as rl,c as sl,d as ol,e as nl,f as il,g as ll,h as cl,i as dl,j as ul,k as hl,l as gl}from"./chunks/chunk-7PRKERDN.mjs";import{$ as pl,$a as fl,$b as bl,$c as ml,Aa as yl,Ab as Sl,Ac as vl,B as xl,Ba as Cl,Bb as wl,Bc as kl,C as Tl,Ca as Il,Cb as El,Cc as Al,D as Rl,Da as Ol,Db as Ll,Dc as $l,Ea as Pl,Eb as Bl,Ec as Ml,F as Dl,Fa as Nl,Fb as zl,Fc as _l,Ga as Wl,Gb as Fl,Gc as jl,Ha as Hl,Hb as Ul,Hc as Vl,I as Gl,Ib as Yl,Ic as yt,Ja as Kl,Jb as Jl,Jc as ql,K as Xl,Ka as Ql,Kb as Zl,Kc as ec,La as tc,Lb as ac,Lc as rc,Ma as sc,Mb as oc,Mc as nc,Na as ic,Nb as lc,Nc as cc,O as dc,Oa as uc,Ob as hc,Oc as gc,P as pc,Pa as fc,Pb as bc,Pc as mc,Q as yc,Qa as Sc,Qb as vc,Qc as xc,R as Cc,Ra as wc,Rb as kc,Rc as Tc,S as Ic,Sa as Ec,Sb as Ac,Sc as Rc,T as Oc,Ta as Lc,Tb as $c,Tc as Pc,U as Bc,Ua as Mc,Ub as Dc,Uc as Nc,V as zc,Va as _c,Vb as Wc,Vc as Fc,W as jc,Wa as Hc,Wb as ha,Wc as Uc,X as Vc,Xa as Gc,Xb as Yc,Xc as Kc,Y as Jc,Ya as qc,Yb as Xc,Yc as Qc,Z as Zc,Za as ed,Zb as td,Zc as ad,_ as rd,_a as sd,_b as od,_c as nd,a as id,aa as ld,ab as cd,ac as dd,ad as ud,b as hd,ba as gd,bb as pd,bc as ga,bd as fd,c as bd,ca as md,cb as yd,cc as Sd,cd as vd,d as xd,da as Cd,db as wd,dc as kd,dd as Td,e as Id,ea as Ed,eb as Ad,ec as Rd,ed as Od,f as Ld,fa as $d,fb as Pd,fc as pa,fd as Bd,g as Md,ga as Dd,gb as Nd,gc as zd,gd as _d,h as Wd,ha as Fd,hb as jd,hc as Hd,hd as Ud,i as Vd,ia as Gd,ib as Yd,ic as Kd,id as Jd,j as qd,ja as Xd,jb as Qd,jc as Zd,jd as eu,k as tu,ka as au,kb as ru,kc as su,kd as ou,l as nu,la as iu,lb as lu,lc as cu,ld as du,m as uu,ma as hu,mb as gu,mc as pu,md as fu,n as bu,na as mu,nb as yu,nc as Su,nd as vu,o as xu,oa as Cu,ob as wu,oc as ku,od as Tu,p as Iu,pa as Eu,pb as Au,pc as Ru,q as Ou,qa as Lu,qb as $u,qc as Pu,r as Bu,ra as Mu,rb as Du,rc as Nu,s as zu,sa as _u,sb as Wu,sc as Fu,t as ju,ta as Hu,tb as Uu,tc as Vu,u as Gu,ua as Yu,ub as Ku,uc as Ju,va as qu,vb as Xu,vc as Qu,wa as Zu,wb as eh,wc as th,xa as ah,xb as rh,xc as sh,ya as oh,yb as nh,yc as ih,za as lh,zb as ch,zc as dh}from"./chunks/chunk-UKYVRCMZ.mjs";import{a as Ke,d as x,e as uh,f as U,g as hh}from"./chunks/chunk-CE5U3CSQ.mjs";import{a as gh}from"./chunks/chunk-PTK5FO6C.mjs";import{a as fe,b as ph,c as j,d as fh,e as bh}from"./chunks/chunk-5KWAGM5V.mjs";import{H as mh,J as $e,a as k,b as M,d as Je,g as yh,h as Sh,j as vh,r as St}from"./chunks/chunk-3UTMGIUG.mjs";import"./chunks/chunk-5NZOQR6Q.mjs";var xh=class extends oa{constructor(e){super();this.events=[];this.arrayListeners=new Set;this.captureSuppressed=false;this.clearListeners=new Set;this.maxEvents=e.maxEvents??500,this.storeName=e.storeName,Promise.resolve().then(()=>{let t=()=>{oe().status==="locked"?(this.stopCapturing(),this.events=[],this.notifyArrayListeners()):this.getTotalSubscriberCount()>0&&!this.captureSuppressed&&!this.isCapturing()&&this.startCapturing()};Le(t),t()})}onSubscribe(){this.getTotalSubscriberCount()===1&&!this.captureSuppressed&&oe().status!=="locked"&&this.startCapturing(),Oe(this.storeName)}onUnsubscribe(){this.getTotalSubscriberCount()===0&&this.stopCapturing(),Oe(this.storeName)}getTotalSubscriberCount(){return this.listeners.size+this.arrayListeners.size}subscribeToEvents(e){let t=this.getTotalSubscriberCount()===0;return this.arrayListeners.add(e),t&&!this.captureSuppressed&&oe().status!=="locked"&&this.startCapturing(),Oe(this.storeName),e(this.getEvents()),()=>{this.arrayListeners.delete(e),this.getTotalSubscriberCount()===0&&this.stopCapturing(),Oe(this.storeName)}}onEvent(e){return this.subscribe(e)}addEvent(e){oe().status!=="locked"&&(this.events=[e,...this.events].slice(0,this.maxEvents),G()&&this.notify(e),this.notifyArrayListeners())}notifyArrayListeners(){let e=this.getEvents();this.arrayListeners.forEach(t=>{try{t(e)}catch{}})}getEvents(){return G()?this.events:[]}getEventCount(){return G()?this.events.length:0}clearEvents(){this.events=[],this.notifyArrayListeners(),this.clearListeners.forEach(e=>{try{e()}catch{}})}onClear(e){return this.clearListeners.add(e),()=>{this.clearListeners.delete(e)}}disableCapture(){this.captureSuppressed=true,this.isCapturing()&&this.stopCapturing()}replaceEvents(e){this.events=this.dedupeById(e).slice(0,this.maxEvents),this.notifyArrayListeners()}dedupeById(e){let t=new Set,a=[];for(let r of e){let s=r?.id;if(s==null){a.push(r);continue}t.has(s)||(t.add(s),a.push(r))}return a}setMaxEvents(e){this.maxEvents=e,this.events.length>e&&(this.events=this.events.slice(0,e),this.notifyArrayListeners())}getSubscriberCounts(){return{eventCallbacks:this.listeners.size,arrayListeners:this.arrayListeners.size,total:this.getTotalSubscriberCount()}}};import{useEffect as Ch,useMemo as wh,useState as kh}from"react";var Th=[{value:"buoy.gg/api/license",mode:"contains"},{value:"api.keygen.sh",mode:"contains"}];function fa(e,t){let a=e.toLowerCase(),r=t.value.toLowerCase();if(t.mode==="contains")return a.includes(r);try{let s=new URL(e);return r.startsWith("/")?s.pathname.toLowerCase()===r:r.startsWith("http://")||r.startsWith("https://")?`${s.origin}${s.pathname}`.toLowerCase()===r:s.host.toLowerCase()===r}catch{return a===r}}function Ih(e,t){return!e||t.length===0?false:t.some(a=>fa(e,a))}var ba=Th;function Eh(e){if(!Array.isArray(e))return[];let t=[];for(let a of e)if(typeof a=="string"&&a.trim())t.push({value:a,mode:"contains"});else if(a&&typeof a=="object"&&typeof a.value=="string"){let r=a;t.push({value:r.value,mode:r.mode==="exact"?"exact":"contains"})}return t}function ma(e){let t=[...e];for(let a of ba)t.some(r=>r.value===a.value)||t.push({...a});return t}var Ah=class{constructor(){this.patterns=ma(ba.map(e=>({...e})));this.listeners=new Set;this.loaded=false;this.loadPromise=null;this.dirty=false}getPatterns(){return this.patterns}subscribe(e){return this.listeners.add(e),this.ensureLoaded(),()=>{this.listeners.delete(e)}}emit(){this.listeners.forEach(e=>e())}ensureLoaded(){return this.loaded?Promise.resolve():this.loadPromise?this.loadPromise:(this.loadPromise=(async()=>{try{let e=await j.getItem(fe.network.ignoredDomains());if(e&&!this.dirty){let t=ma(Eh(JSON.parse(e)));this.patterns=t}}catch{}finally{this.loaded=true,this.emit()}})(),this.loadPromise)}persist(){j.setItem(fe.network.ignoredDomains(),JSON.stringify(this.patterns)).catch(()=>{})}commit(e){this.dirty=true,this.patterns=e,this.emit(),this.persist()}add(e){let t=e.value.trim();t&&(this.patterns.some(a=>a.value===t)||this.commit([...this.patterns,{value:t,mode:e.mode}]))}remove(e){this.patterns.some(t=>t.value===e)&&this.commit(this.patterns.filter(t=>t.value!==e))}toggle(e){let t=e.trim();t&&this.commit(this.patterns.some(a=>a.value===t)?this.patterns.filter(a=>a.value!==t):[...this.patterns,{value:t,mode:"contains"}])}toggleMode(e){this.patterns.some(t=>t.value===e)&&this.commit(this.patterns.map(t=>t.value===e?{...t,mode:t.mode==="contains"?"exact":"contains"}:t))}},ne=new Ah,Rh=e=>ne.add(e),Oh=e=>ne.remove(e),Lh=e=>ne.toggle(e),$h=e=>ne.toggleMode(e);function Ph(){let[e,t]=kh(()=>ne.getPatterns());Ch(()=>ne.subscribe(()=>{t(ne.getPatterns())}),[]);let a=wh(()=>new Set(e.map(r=>r.value)),[e]);return{patterns:e,values:a,add:Rh,remove:Oh,toggle:Lh,toggleMode:$h}}function Bh(e){typeof requestAnimationFrame=="function"?requestAnimationFrame(()=>e()):setTimeout(e,0)}function Mh(e){let t=e.id,a=e.order??"append",r=e.coalesce??"sync",s=e.flushMinIntervalMs??150,o=e.max,n=[],i=false,l=e.firstId??1,h=0,b=false,S=[],f=false;function m(){f||(f=true,Le(()=>{oe().status==="locked"&&(n=[]),se()}))}let C=new Set,$=new Set;function V(){for(let y of C)try{y()}catch{}}function se(){if(r==="sync"){V();return}b||(b=true,Bh(()=>{b=false,V()}))}function N(y){return y.length<=o?y:a==="append"?y.slice(y.length-o):y.slice(0,o)}return{id:t,subscribe(y){return m(),C.add(y),()=>{C.delete(y)}},getSnapshot(){return m(),G()?n:S},size(){return G()?n.length:0},add(y){m(),!(i||oe().status==="locked")&&(a==="append"?n=n.length>=o?[...n.slice(n.length-o+1),y]:[...n,y]:n=n.length>=o?[y,...n.slice(0,o-1)]:[y,...n],se())},set(y){m(),G()&&(n=N(y),se())},update(y){m(),oe().status!=="locked"&&(n=N(y(n)),se())},clear(){for(let y of $)try{y()}catch{}n.length!==0&&(n=[],se())},onClear(y){return $.add(y),()=>{$.delete(y)}},notify(){se()},flushSync(y=false){let Q=Date.now();if(!(!y&&Q-h<s)){h=Q;try{let L=globalThis.__buoyFlushToolSync;if(!L)return;for(let We of L)We(t)}catch{}}},setPaused(y){i=y},isPaused(){return i},setMax(y){o=y;let Q=N(n);Q!==n&&(n=Q,se())},getMax(){return o},allocId(){return l++},bumpIdAbove(y){y+1>l&&(l=y+1)},listenerCount(){return C.size}}}var Dh=class{constructor(e={}){this.items=[];this.itemListeners=new Set;this.clearListeners=new Set;this.idCounter=0;this.enabled=true;this.captureSuppressed=false;this.max=e.max??200}canRecord(){return this.enabled&&!this.captureSuppressed}nextId(){return`${Date.now()}-${++this.idCounter}`}push(e){this.items=[e,...this.items].slice(0,this.max)}record(e){this.push(e),this.notifyListeners()}setItems(e){this.items=e.slice(0,this.max),this.notifyListeners()}getAll(){return[...this.items]}getById(e){return this.items.find(t=>t.id===e)}get size(){return this.items.length}clear(){this.items=[],this.notifyListeners(),this.clearListeners.forEach(e=>{try{e()}catch{}})}onClear(e){return this.clearListeners.add(e),()=>{this.clearListeners.delete(e)}}disableCapture(){this.captureSuppressed=true}isCaptureSuppressed(){return this.captureSuppressed}replaceAll(e){return this.enabled?(this.setItems(e),true):false}hydrateById(e,t){let a=this.items.findIndex(r=>r.id===e);a!==-1&&(this.items=[...this.items.slice(0,a),{...this.items[a],...t},...this.items.slice(a+1)],this.notifyListeners())}setEnabled(e){this.enabled=e}getEnabled(){return this.enabled}setMax(e){this.max=e,this.items.length>e&&(this.items=this.items.slice(0,e),this.notifyListeners())}getMax(){return this.max}subscribe(e){return this.itemListeners.add(e),()=>{this.itemListeners.delete(e)}}notifyListeners(){let e=this.getAll();this.itemListeners.forEach(t=>t(e))}get listenerCount(){return this.itemListeners.size}};var be=e=>typeof e=="object"&&e!==null&&!Array.isArray(e),Nh=["id","lineId","key","uuid","_id","slug","name"];function vt(e){if(!e.length||!e.every(be))return;let t=e[0];for(let a of Nh){if(!(a in t))continue;let r=e.map(s=>s[a]);if(r.every(s=>typeof s=="string"||typeof s=="number")&&new Set(r.map(String)).size===r.length)return a}}function zh(e,t,a,r){let s=r[t];return typeof s=="string"||typeof s=="number"?String(s)!==a?{ok:false,error:`The new item is addressed as \`${a}\` but carries \`${t}\`: ${JSON.stringify(s)}. Use the same value for both \u2014 address it by the id it carries.`}:{ok:true,value:s}:e.every(o=>typeof o[t]=="number")&&a.trim()!==""&&String(Number(a))===a?{ok:true,value:Number(a)}:{ok:true,value:a}}function xt(e,t,a="",r=[]){if(Array.isArray(e)&&be(t)){let s=vt(e);if(!s)return{patch:t,notes:r};let o=new Map(e.map(b=>[String(b[s]),b])),n=e.slice(),i=0,l=0,h=0;for(let[b,S]of Object.entries(t)){let f=n.findIndex(m=>String(m[s])===b);if(S===null){if(f===-1)return{patch:t,notes:r};n.splice(f,1),i++}else if(f===-1){if(!be(S))return{patch:t,notes:r};let m=zh(e,s,b,S);if(!m.ok)return{patch:t,notes:r,error:m.error};n.push({...S,[s]:m.value}),h++}else{let m=xt(o.get(b),S,`${a}[${b}]`,r);if(m.error)return{patch:t,notes:r,error:m.error};let C=n[f];n[f]=be(C)&&be(m.patch)?{...C,...m.patch}:m.patch,l++}}return r.push(`${a||"(root)"}: addressed by \`${s}\` \u2014 ${l} changed, ${h} added, ${i} removed, ${n.length} item(s) remain`),{patch:n,notes:r}}if(be(e)&&be(t)){let s={};for(let[o,n]of Object.entries(t)){let i=a?`${a}.${o}`:o;if(!(o in e)){s[o]=n;continue}let l=xt(e[o],n,i,r);if(l.error)return{patch:t,notes:r,error:l.error};s[o]=l.patch}return{patch:s,notes:r}}return{patch:t,notes:r}}var qe=e=>typeof e=="object"&&e!==null&&!Array.isArray(e);function Pe(e,t=0){if(e===null)return"null";if(Array.isArray(e)){if(!e.length)return"unknown[]";if(t>=3)return"\u2026[]";let r=Pe(e[0],t+1);return r.includes(" ")||r.endsWith("]")?`(${r})[]`:`${r}[]`}if(qe(e)){if(t>=3)return"{\u2026}";let r=Object.keys(e),s=r.slice(0,24),o=s.map(i=>`${i}: ${Pe(e[i],t+1)}`).join(", "),n=r.length>s.length?`, +${r.length-s.length} more`:"";return`{${o}${n}}`}let a=typeof e;return a==="undefined"?"undefined":a==="function"?"function":a}function ve(e,t="",a=[],r=0,s={visited:0}){if(r>3||a.length>=40||s.visited>=600)return a;if(Array.isArray(e)){let o=e[0];if(a.push({path:t||"(root)",length:e.length,...e.length?{item:Pe(o)}:{}}),e.length&&qe(o))for(let[n,i]of Object.entries(o)){if(++s.visited>=600)break;ve(i,t?`${t}[].${n}`:`[].${n}`,a,r+1,s)}return a}if(qe(e))for(let[o,n]of Object.entries(e)){if(++s.visited>=600)break;ve(n,t?`${t}.${o}`:o,a,r+1,s)}return a}function _h(e){let t={visited:0};return ve(e,"",[],0,t).length>=40||t.visited>=600}function Wh(e){return ve(e).filter(t=>t.item===void 0).map(t=>t.path)}function Fh(e){if(e===void 0)return;let t=ve(e),a=Pe(e);if(!(!t.length&&!qe(e)&&!Array.isArray(e)))return t.length?{shape:a,lists:t}:{shape:a}}var X=e=>typeof e=="object"&&e!==null&&!Array.isArray(e);function jh(e,t,a=2e3){let r=[{node:e,path:""}],s=0;for(;r.length&&s<a;){let{node:o,path:n}=r.shift();if(s++,Array.isArray(o))o.slice(0,20).forEach((i,l)=>r.push({node:i,path:`${n}[${l}]`}));else if(X(o))for(let[i,l]of Object.entries(o)){let h=n?`${n}.${i}`:i;if(i===t)return h;(X(l)||Array.isArray(l))&&r.push({node:l,path:h})}}}function ya(e,t,a,r,s){let o=jh(e,s??a),n=r.slice(0,12).join(", ")||"(no fields)";return o?`No field "${a}" at "${t}" \u2014 did you mean path "${o}"? "${t}" has: ${n}.`:`No field "${a}" at "${t}". It has: ${n}.`}function Sa(e,t){let a=e;for(let r of t.split(".")){if(!X(a))return;a=a[r]}return a}function Ct(e){if(!e.trim())return;let t=[],a=0;for(;a<e.length;){if(e[a]==="."){a++;continue}if(e[a]==="["){let o=e.indexOf("]",a);if(o===-1)return;let n=e.slice(a+1,o);if(/^\d+$/.test(n))t.push({kind:"index",index:Number(n)});else{let i=n.indexOf("=");if(i<=0)return;t.push({kind:"match",field:n.slice(0,i).trim(),value:n.slice(i+1).trim()})}a=o+1;continue}let r=a;for(;r<e.length&&e[r]!=="."&&e[r]!=="[";)r++;let s=e.slice(a,r);if(!s)return;t.push({kind:"key",key:s}),a=r}return t.length?t:void 0}function Hh(e,t){let a=Ct(t);if(!a)return{ok:false,error:`Could not read the path "${t}". Use dotted keys with optional [0] or [field=value], like "item.name" or "lines[lineId=seed-1].qty".`};let r=e,s=[];for(let o of a){if(r==null)return{ok:false,error:`"${s.join(".")||"(root)"}" is ${r===null?"null":"not set"}, so there is nothing at "${t}".`};if(o.kind==="key"){if(!X(r))return{ok:false,error:`"${s.join(".")||"(root)"}" is not an object, so it has no field "${o.key}".`};if(!(o.key in r)){let n=a[a.length-1];return{ok:false,error:ya(e,s.join(".")||"(root)",o.key,Object.keys(r),n?.kind==="key"?n.key:void 0)}}r=r[o.key],s.push(o.key)}else if(o.kind==="index"){if(!Array.isArray(r))return{ok:false,error:`"${s.join(".")||"(root)"}" is not a list, so [${o.index}] means nothing.`};r=r[o.index],s.push(`[${o.index}]`)}else{if(!Array.isArray(r))return{ok:false,error:`"${s.join(".")||"(root)"}" is not a list, so [${o.field}=${o.value}] means nothing.`};let n=r.find(i=>X(i)&&String(Sa(i,o.field))===o.value);if(n===void 0)return{ok:false,error:`No item with ${o.field}="${o.value}" in "${s.join(".")||"(root)"}".`};r=n,s.push(`[${o.field}=${o.value}]`)}}return{ok:true,value:r}}function Uh(e,t,a){let r=Ct(t);if(!r)return{ok:false,error:`Could not read the path "${t}". Use dotted keys with optional [0] or [field=value], like "item.name" or "lines[lineId=seed-1].qty".`};if(r[0]?.kind!=="key")return{ok:false,error:`A path must start with a field name, not a list index \u2014 "${t}" does not say which list.`};let s=(n,i)=>{if(i>=r.length)return{ok:true,patch:a};let l=r[i];if(l.kind==="key"){if(X(n)&&!(l.key in n)&&i+1<r.length){let V=r[r.length-1];return{ok:false,error:ya(e,Be(r,i),l.key,Object.keys(n),V?.kind==="key"?V.key:void 0)}}let C=X(n)?n[l.key]:void 0,$=s(C,i+1);return $.ok?{ok:true,patch:{[l.key]:$.patch}}:$}if(!Array.isArray(n))return{ok:false,error:`"${Be(r,i)}" is not a list, so "${t}" cannot be resolved. Read it first \u2014 \`shape\` on the read says what each field holds.`};let h=l.kind==="index"?l.index:n.findIndex(C=>X(C)&&String(Sa(C,l.field))===l.value),b=h>=0?n[h]:void 0;if(l.kind==="index"?h<0||h>=n.length:h<0)return{ok:false,error:l.kind==="index"?`"${Be(r,i)}" has ${n.length} item(s), so there is nothing at [${l.index}].`:`No item with ${l.field}="${l.value}" in "${Be(r,i)}".`};if(!X(b)){if(i<r.length-1)return{ok:false,error:`"${Be(r,i)}[${l.kind==="index"?l.index:`${l.field}=${l.value}`}]" holds ${b===null?"null":typeof b}, not an object, so "${t}" cannot go any deeper. Set the item itself.`};let C=n.slice();return C[h]=a,{ok:true,patch:C}}let S=s(b,i+1);if(!S.ok)return S;let f=vt(n);if(f)return{ok:true,patch:{[String(b[f])]:S.patch}};let m=n.slice();return m[h]=X(S.patch)?{...b,...S.patch}:S.patch,{ok:true,patch:m}},o=s(e,0);return o.ok?{ok:true,patch:o.patch}:o}function Be(e,t){return e.slice(0,t).map(a=>a.kind==="key"?a.key:a.kind==="index"?`[${a.index}]`:`[${a.field}=${a.value}]`).join(".").replace(/\.\[/g,"[")||"(root)"}var ie=e=>!!e&&typeof e=="object"&&!Array.isArray(e);function Me(e){return Array.isArray(e)?"array":e===null?"null":typeof e=="object"?"object":typeof e}var va=["string","number","boolean"];function xa(e,t,a=2e3){let r=[{node:e,path:""}],s=0;for(;r.length&&s<a;){let{node:o,path:n}=r.shift();if(s++,Array.isArray(o))o.slice(0,20).forEach((i,l)=>r.push({node:i,path:`${n}[${l}]`}));else if(ie(o))for(let[i,l]of Object.entries(o)){let h=n?`${n}.${i}`:i;if(i===t&&n)return h;(ie(l)||Array.isArray(l))&&r.push({node:l,path:h})}}}function wt(e,t,a={},r=e,s="",o=[]){let n=a.noun??"data",i=s||"(root)";if(Array.isArray(t)){if(!Array.isArray(e))return o.push({path:i,kind:"type-change",detail:`${Me(e)} \u2192 array`}),o;let f=e.length?e[0]:void 0;return f!==void 0&&(ie(f)||Array.isArray(f))&&t.forEach((m,C)=>{let $=`${s}[${C}]`;if(ie(f)&&ie(m))for(let V of Object.keys(f))V in m||o.push({path:`${$}.${V}`,kind:"missing-key",detail:`list items need \`${V}\` \u2014 the items already in the list have it`});wt(f,m,a,r,$,o)}),o}if(ie(t)){if(!ie(e))return o.push({path:i,kind:"type-change",detail:`${Me(e)} \u2192 object`}),o;for(let[f,m]of Object.entries(t)){let C=s?`${s}.${f}`:f;if(f in e)wt(e[f],m,a,r,C,o);else{let $=xa(r,f);o.push({path:C,kind:"add-key",detail:$?`no such field here \u2014 did you mean \`${$}\`?`:`no field named \`${f}\` exists in this ${n}`,...$?{movedTo:$}:{}})}}return o}let l=Me(e),h=Me(t),b=l==="null"&&va.includes(h),S=h==="null"&&va.includes(l);return l!==h&&!b&&!S&&o.push({path:i,kind:"type-change",detail:`${l} \u2192 ${h}`}),o}function Vh(e,t){if(!t.length||!t.every(r=>r.kind==="add-key"&&r.movedTo))return;let a={};for(let r of t){let s=Gh(e,r.path);if(s===void 0||r.movedTo.includes("["))return;let o=a,n=r.movedTo.split(".");n.slice(0,-1).forEach(i=>{o[i]??(o[i]={}),o=o[i]}),o[n[n.length-1]]=s}return a}function Gh(e,t){let a=e;for(let r of t.split(".")){if(!ie(a))return;a=a[r]}return a}function Yh(e,t,a){let r=e.slice(0,6).map(o=>`\`${o.path}\`: ${o.detail}`).join("; "),s=e.length>6?`; +${e.length-6} more`:"";return`Refused: this isn't a same-type edit of existing fields (the rule the React Query devtools enforces). ${r}${s}. You can only change the VALUE of a field that already exists, to the same type \u2014 you can't add fields, change a field's type, or null a list/object the screen renders. Clearing a scalar to null is fine. Send just the field(s) you're changing, nested to match the current shape of this ${t}. Use force:true only to deliberately break that.`+(a?` This is the same edit at the right depth \u2014 send it as the patch: ${JSON.stringify(a)}`:"")}function Xe(e,t){let a=0,r=false,s=false,o=[e],n=new Set;for(;o.length>0;){if(a>t)return{bytes:a,sawRepeat:r,sawBigInt:s};let i=o.pop();if(i==null)a+=4;else if(typeof i=="string")a+=i.length+2;else if(typeof i=="number")a+=8;else if(typeof i=="boolean")a+=5;else if(typeof i=="object"){if(n.has(i)){r=true;continue}if(n.add(i),Array.isArray(i)){a+=2+i.length;for(let l=0;l<i.length;l++)o.push(i[l])}else{a+=2;for(let l in i)a+=l.length+4,o.push(i[l])}}else typeof i=="bigint"&&(s=true),a+=4}return{bytes:a,sawRepeat:r,sawBigInt:s}}function kt(e,t){let a=Xe(e,t);return a.bytes>t?true:!a.sawRepeat&&!a.sawBigInt?false:!na(e)}var Ca=16*1024,Qe=8*1024*1024;function Kh(e,t){return Object.freeze({[`__buoy${e}OnDevice`]:true,note:t})}function Jh(e,t){return typeof e=="object"&&e!==null&&e[`__buoy${t}OnDevice`]===true}function wa(e=Qe){return{__buoyTruncated:true,note:`Exceeds the ${e/1048576}MB detail limit \u2014 inspect it on-device.`}}function qh(e,t,a=Ca){return e===void 0?e:kt(e,a)?t:e}function ka(e,t=Qe){return kt(e,t)?wa(t):e}function Xh(e){let t=new WeakMap;return a=>{let r=t.get(a);if(r!==void 0)return r;let s=e(a);return t.set(a,s),s}}function Qh(e,t){let a=[],r=t.baseBytes??16;for(let s=e.length-1;s>=0;s--){let o=t.toWire(e[s]);if(r+o.bytes>t.budget&&a.length>0)break;a.push(o.value),r+=o.bytes}return a.reverse(),a}function Zh(e,t,a){let r=Xe(e,t);if(r.bytes<=t)return{value:e,bytes:r.bytes};let s=a();return{value:s,bytes:Xe(s,t).bytes}}function Ta(e){return e??{}}function eg(e,t,a=Qe){let r=s=>ka(s,a);return s=>{let{id:o}=Ta(s);if(!o)return{found:false,reason:"missing id"};let n=e(o);return n?{found:true,id:o,...t(n,r)}:{found:false,reason:"unknown id"}}}function Ia(e){return e.length===1?e[0]:t=>{let a=e.map(r=>r(t));return()=>{for(let r of a)r()}}}function tg(e){let t=Array.isArray(e.subscribe)?Ia(e.subscribe):e.subscribe;return{version:e.version,getSnapshot:e.getSnapshot,subscribe:t,...e.actions?{actions:e.actions}:{}}}function ag(e){return e}function rg(e,t,a){return r=>{let s=r??{},o=e.props===void 0&&!t?void 0:{...e.props??{},...t?t(s):{}};return{...e,id:s.id||e.id,name:s.name||e.name,description:s.description||e.description,...o!==void 0?{props:o}:{},...a?a(s,e):{}}}}var Tt="__buoyToolActionRegistry";function It(){let e=globalThis;return e[Tt]||(e[Tt]=new Set),e[Tt]}function sg(e){let t=It();t.add(e);let a=false,r=()=>{if(a)return;a=true;let o=e(),n=async(i,l,h)=>{if(!(i==="network"&&l==="deleteOverrideRule"||i==="impersonate"&&l==="stopImpersonation"))throw new Error("Unsupported account-lock cleanup operation");if(i==="impersonate")return o[i]?.dispose?.(n);let b=o[i]?.actions?.[l];if(!b)throw new Error(`Cleanup unavailable for ${i}`);return b(h)};for(let i of Object.values(o))try{Promise.resolve(i.dispose?.(n)).catch(l=>console.warn("[Buoy] Tool cleanup failed",l))}catch(l){console.warn("[Buoy] Tool cleanup failed",l)}},s=Le(()=>{G()?a=false:r()});return()=>{s(),t.delete(e),Promise.resolve().then(()=>{t.size===0&&r()})}}function xe(){if(!G())return{};let e={};for(let t of It())try{Object.assign(e,t())}catch{}return Object.fromEntries(Object.entries(e).map(([t,a])=>[t,Ea(a)]))}function og(){return Object.keys(xe())}function ng(){let e={};for(let[t,a]of Object.entries(xe()))e[t]=Object.keys(a.actions??{});return e}function ig(){return Object.entries(xe()).filter(([,e])=>typeof e.getSnapshot=="function").map(([e])=>e)}async function lg(e){Se();let t=xe()[e];if(!t)throw new Error(`Unknown tool "${e}"`);if(typeof t.getSnapshot!="function")throw new Error(`Tool "${e}" has no snapshot to read`);return await t.getSnapshot()}function Et(){return G()&&It().size>0}async function cg(e,t,a){Se();let r=xe()[e],s=r?.actions?.[t];if(!s)throw new Error(r?`Unknown action "${t}" on tool "${e}"`:`Unknown tool "${e}"`);return await s(a)}async function dg(e=2e3){if(Et())return true;let t=ft()+e;for(;ft()<t;)if(await new Promise(a=>setTimeout(a,50)),Et())return true;return false}function Ea(e){let t=a=>(...r)=>{Se();let s=false,o=Le(()=>{G()||(s=true)}),n=()=>{if(s)throw new Error("Buoy account access ended while the operation was pending.");Se()};try{let i=a.apply(e,r);return i&&typeof i.then=="function"?Promise.resolve(i).then(l=>(n(),l)).finally(o):(n(),o(),i)}catch(i){throw o(),i}};return{...e,...e.getSnapshot?{getSnapshot:t(e.getSnapshot)}:{},...e.actions?{actions:Object.fromEntries(Object.entries(e.actions).map(([a,r])=>[a,t(r)]))}:{},...e.subscribe?{subscribe:a=>(Se(),e.subscribe(()=>{G()&&a()}))}:{}}}var At="__buoyToolUiBridge";function Rt(){let e=globalThis;return e[At]||(e[At]=new Set),e[At]}function ug(e){let t=Rt();return t.add(e),()=>{t.delete(e)}}function hg(e){for(let t of Rt())try{if(t(e))return true}catch{}return false}function gg(){return Rt().size>0}var Ot="__buoyToolAttention";function Lt(){let e=globalThis;return e[Ot]||(e[Ot]={byTool:new Map,listeners:new Set}),e[Ot]}function pg(e,t){let a=Lt(),r=a.byTool.get(e)??null;if(!(r===t||r&&t&&r.kind===t.kind&&r.label===t.label)){t?a.byTool.set(e,t):a.byTool.delete(e);for(let s of a.listeners)try{s()}catch{}}}function fg(e){return Lt().byTool.get(e)??null}function bg(e){let t=Lt();return t.listeners.add(e),()=>{t.listeners.delete(e)}}var Aa=256*1024;function mg(e){let t=new Set(e?.excludeKeys??[]),a=e?.includeKeys?new Set(e.includeKeys):null,r=0,s=o=>!t.has(o)&&(!a||a.has(o));return{touch:s,allows(o){return s(o)?true:(r+=1,false)},countExcluded(o){r+=o},get excludedHits(){return r},excludedWarning(o){return r>0?`${r} ${o} excluded by you`:null}}}function yg(){return{ok:true,applied:0,skipped:[],warnings:[]}}function Sg(e){return{ok:false,applied:0,skipped:[],warnings:[e]}}function vg(e,t){return{ok:false,applied:0,skipped:[{id:e,reason:t}],warnings:[]}}function xg(e,t={}){let{key:a,label:r,oldValue:s,newValue:o,inOld:n,inNew:i}=e;if(!i)return{key:a,label:r,verdict:"removed",oldValue:s};if(!n)return{key:a,label:r,verdict:"added",newValue:o};if((t.equal??ys)(s,o))return{key:a,label:r,verdict:"unchanged"};let l=t.tooLarge??(h=>Ss(h,Aa));return l(s)||l(o)?{key:a,label:r,verdict:"too-large",reason:t.tooLargeReason??"value too large to render a diff \u2014 restore still applies it"}:{key:a,label:r,verdict:"changed",oldValue:s,newValue:o}}function Cg(e,t){return e.verdict==="unchanged"?e:{...e,verdict:"wont-apply",reason:t}}function wg(e,t){let a=r=>r===void 0?[]:r instanceof Map?Array.from(r.keys()):Object.keys(r);return new Set([...a(e),...a(t)])}function kg(e,t={}){let a=e.toLowerCase();if(t[a])return t[a];for(let[m,C]of Object.entries(t))if(a.includes(m))return C;let r=e.split("").reduce((m,C)=>m+C.charCodeAt(0),0)*137%360,s=.7,o=.6,n=(1-Math.abs(2*o-1))*s,i=n*(1-Math.abs(r/60%2-1)),l=o-n/2,h=0,b=0,S=0;r<60?(h=n,b=i):r<120?(h=i,b=n):r<180?(b=n,S=i):r<240?(b=i,S=n):r<300?(h=i,S=n):(h=n,S=i);let f=m=>Math.round((m+l)*255).toString(16).padStart(2,"0");return`#${f(h)}${f(b)}${f(S)}`}function Tg(e,t={}){let a=t.maxLength??40;if(e===void 0)return t.undefinedLabel??"undefined";if(e===null)return"null";try{if(typeof e=="function")return t.functionLabel??"(fn)";if(typeof e=="string")return e.length>a?`"${e.slice(0,a-3)}..."`:`"${e}"`;if(typeof e=="number"||typeof e=="boolean")return String(e);if(Array.isArray(e)){if(e.length===0)return"[]";let r=JSON.stringify(e);return r.length>a?`[${e.length} items]`:r}if(typeof e=="object"){let r=Object.keys(e);if(r.length===0)return"{}";let s=JSON.stringify(e);return s.length<=a?s:`{ ${r.length} keys }`}return String(e).slice(0,a)}catch{return"[complex]"}}function Ig(e,t){if(e===t)return{summary:"no change",changedKeys:[],changedCount:0};if(typeof e!="object"||typeof t!="object"||e===null||t===null)return{summary:"changed",changedKeys:[],changedCount:0};let a=e,r=t,s=Object.keys(a),o=Object.keys(r),n=o.filter(f=>!s.includes(f)),i=s.filter(f=>!o.includes(f)),l=[];for(let f of s)o.includes(f)&&a[f]!==r[f]&&l.push(f);let h=[...n,...i,...l],b=[];if(n.length>0&&b.push(`+${n.length}`),i.length>0&&b.push(`-${i.length}`),l.length>0&&b.push(`~${l.length}`),b.length===0)return{summary:"nested change",changedKeys:[],changedCount:0};let S=h.length;return{summary:`${b.join(" ")} ${S===1?"key":"keys"}`,changedKeys:h,changedCount:S}}function Ra(e){if(e==null)return"N/A";if(e===0)return"0 B";let t=1024,a=["B","KB","MB","GB","TB"],r=Math.floor(Math.log(e)/Math.log(t));return`${(e/Math.pow(t,r)).toFixed(1)} ${a[r]}`}function Eg(e){if(e==null)return"N/A";if(e<1e3)return`${e}ms`;if(e<6e4)return`${(e/1e3).toFixed(1)}s`;if(e<36e5){let r=Math.floor(e/6e4),s=Math.floor(e%6e4/1e3);return s>0?`${r}m ${s}s`:`${r}m`}let t=Math.floor(e/36e5),a=Math.floor(e%36e5/6e4);return a>0?`${t}h ${a}m`:`${t}h`}function Ag(e){return e.toLocaleString()}var Oa=5e4;function Rg(e,t=Oa){try{let a=JSON.stringify(e);return a.length>t?`[omitted: ${Ra(a.length)} \u2014 too large to copy]`:e}catch{return"[omitted: could not serialize]"}}function Og(e,t=50,a=20,r=20){if(e.length<=t)return e;let s=e.slice(0,a),o=e.slice(-r);return`${s}...${o}`}function Lg(e){if(e>=100&&e<200)return{text:String(e),color:x.info,meaning:"Informational"};if(e>=200&&e<300){let t={200:"OK",201:"Created",202:"Accepted",204:"No Content",206:"Partial Content"};return{text:String(e),color:x.success,meaning:t[e]||"Success"}}if(e>=300&&e<400){let t={301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",307:"Temporary Redirect",308:"Permanent Redirect"};return{text:String(e),color:x.warning,meaning:t[e]||"Redirect"}}if(e>=400&&e<500){let t={400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",408:"Request Timeout",409:"Conflict",410:"Gone",422:"Unprocessable Entity",429:"Too Many Requests"};return{text:String(e),color:x.error,meaning:t[e]||"Client Error"}}if(e>=500){let t={500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported"};return{text:String(e),color:x.error,meaning:t[e]||"Server Error"}}return{text:String(e),color:x.muted,meaning:"Unknown"}}function $g(e){return{GET:x.success,POST:x.info,PUT:x.warning,DELETE:x.error,PATCH:x.network,HEAD:x.muted,OPTIONS:x.secondary,CONNECT:x.critical,TRACE:x.env}[e.toUpperCase()]||x.muted}function Pg(e){try{let t=new URL(e);return{protocol:t.protocol.replace(":",""),host:t.hostname,port:t.port||void 0,pathname:t.pathname,search:t.search||void 0,hash:t.hash||void 0}}catch{return null}}var De=[];function La(e){De.unshift(e),De=De.slice(0,500)}function Bg(){return De}function Mg(){De=[]}var $t=(e=>(e.Debug="debug",e.Info="info",e.Log="log",e.Warn="warn",e.Error="error",e))($t||{}),Pt=(e=>(e.Auth="Auth",e.Custom="Custom",e.Debug="Debug",e.Error="Error",e.Generic="Generic",e.HTTPRequest="HTTP Request",e.Navigation="Navigation",e.Replay="Replay",e.State="State",e.System="System",e.Touch="Touch",e.UserAction="User Action",e))(Pt||{});var Dg=()=>`${Date.now()}-${Math.random().toString(36).substr(2,9)}`,$a=class{constructor(){this.captureTransaction=e=>(this.logSentryEvent("transaction",e),e);this.captureSpan=e=>(this.logSentryEvent("span",e),e);this.captureEvent=e=>(this.logSentryEvent("event",e),e);this.captureLog=e=>(this.logSentryEvent("console",{message:e.message||"Log entry",level:e.level,category:"console",timestamp:e.timestamp,...e.attributes}),e);this.captureBreadcrumb=e=>{let t="unknown";try{let r=globalThis.getCurrentPathname;r&&(t=r())}catch{}let a=e.category;if(e.message?.toLowerCase().includes("ignore"))return null;if(e.message?.includes("Touch event within element:")&&(e.message=e.message.replace("Touch event within element:","")),a==="navigation"&&e.data?.from&&e.data?.to&&(e.message=`From ${e.data.from} To ${e.data.to}`),a==="touch"&&e.data?.path){e.message&&(e.message=e.message.trim());let r={...e.data,category:a,message:e.message,route:t,timestamp:new Date().toISOString(),path:e.message?[{label:e.message}]:e.data?.path};e.data=r}return this.logSentryEvent("breadcrumb",e),e}}logSentryEvent(e,t){let a="Generic",r=t.category;if(r)switch(r){case"touch":a="Touch";break;case"xhr":case"fetch":case"http":a="HTTP Request";break;case"navigation":a="Navigation";break;case"auth":a="Auth";break;case"console":a="System";break;case"debug":a="Debug";break;default:r.startsWith("ui.")?a="User Action":r.startsWith("replay.")?a="Replay":r.includes("redux")||r.includes("state")?a="State":a="Custom"}let s={id:Dg(),timestamp:Date.now(),level:this.getSentryLevel(t),message:this.getSentryMessage(t),metadata:this.getSentryMetadata(t),type:a};La(s)}getSentryLevel(e){switch(e.level){case"fatal":case"error":return"error";case"warning":return"warn";case"info":return"info";case"debug":return"debug";default:return"log"}}getSentryMessage(e){let t=e.message;return typeof t=="string"?t:`${e.type||"Unknown"} Event`}getSentryMetadata(e){let{message:t,level:a,type:r,...s}=e;return s}},Ng=new $a;import{useState as Bt,useEffect as Pa}from"react";import{jsx as R,jsxs as Ce}from"react/jsx-runtime";var Ze=fe.bubble.settings(),Ba=fe.bubble.userPreferences(),Mt={showEnvironment:true,showQueryButton:true,showWifiToggle:true,showEnvButton:false,showSentryButton:false,showStorageButton:false};function zg({onPress:e}){let[t,a]=Bt(Mt);Pa(()=>{r()},[]);let r=async()=>{try{let s=await j.getItem(Ze);s&&a(JSON.parse(s))}catch(s){console.error("Failed to load bubble settings:",s)}};return R(ca,{id:"bubble-settings",title:"SETTINGS",subtitle:`${Object.values(t).filter(Boolean).length}/6 visible`,icon:yt,iconColor:"#10B981",iconBackgroundColor:"rgba(16, 185, 129, 0.1)",onPress:e||(()=>{}),index:5})}function _g({onSettingsChange:e}){let[t,a]=Bt(Mt),[r,s]=Bt(true);Pa(()=>{o()},[]);let o=async()=>{try{let h=await j.getItem(Ze);h&&a(JSON.parse(h))}catch(h){console.error("Failed to load bubble settings:",h)}finally{s(false)}},n=async h=>{try{await j.setItem(Ze,JSON.stringify(h)),a(h),e?.(h)}catch(b){console.error("Failed to save bubble settings:",b)}},i=async h=>{let b={...t,[h]:!t[h]};try{let S=await j.getItem(Ba),f=S?JSON.parse(S):{},m=h.replace("show","hasSet"),C={...f,[m]:true};await j.setItem(Ba,JSON.stringify(C))}catch(S){console.error("Failed to save user preference marker:",S)}n(b)};if(r)return R(k,{style:I.detailContainer,children:R(M,{style:I.loadingText,children:"Loading settings..."})});let l=[{key:"showEnvironment",label:"Environment Indicator",description:"Shows current environment (dev, staging, prod)",icon:R(k,{style:[I.indicator,{backgroundColor:"#10B981"}]})},{key:"showQueryButton",label:"React Query Button",description:"Opens React Query dev tools",icon:R(k,{style:[I.indicator,{backgroundColor:"#F59E0B"}]})},{key:"showWifiToggle",label:"WiFi",description:"Toggle WiFi for testing offline scenarios",icon:R(k,{style:[I.indicator,{backgroundColor:"#8B5CF6"}]})},{key:"showEnvButton",label:"Environment Variables",description:"View and check environment variables",icon:R(yt,{size:16,color:"#10B981"})},{key:"showSentryButton",label:"Sentry Events",description:"View captured Sentry events and errors",icon:R(k,{style:[I.indicator,{backgroundColor:"#a855f7"}]})},{key:"showStorageButton",label:"Storage Browser",description:"Browse and inspect AsyncStorage data",icon:R(ga,{size:16,color:"#3B82F6"})}];return R(k,{style:I.detailContainer,children:Ce(Sh,{showsVerticalScrollIndicator:false,contentContainerStyle:I.scrollContent,"sentry-label":"ignore bubble settings scroll",children:[Ce(k,{style:I.header,children:[R(M,{style:I.headerTitle,children:"Developer Tools Settings"}),R(M,{style:I.headerDescription,children:"Configure bubble button visibility"})]}),R(k,{style:I.sectionDivider,children:R(M,{style:I.sectionTitle,children:"Bubble Button Visibility"})}),R(k,{style:I.settingsList,children:l.map(h=>Ce(k,{style:I.settingItem,children:[R(k,{style:I.settingIconContainer,children:h.icon}),Ce(k,{style:I.settingContent,children:[R(M,{style:I.settingLabel,children:h.label}),R(M,{style:I.settingDescription,children:h.description})]}),R(vh,{"sentry-label":"ignore bubble settings section",value:t[h.key],onValueChange:()=>i(h.key),trackColor:{false:"#4B5563",true:"#10B981"},thumbColor:t[h.key]?"#fff":U.textSecondary})]},h.key))}),Ce(k,{style:I.footer,children:[Ce(k,{style:I.noteContainer,children:[R(pa,{size:16,color:U.textSecondary}),R(M,{style:I.noteText,children:"User status indicator is always visible and cannot be disabled"})]}),R(M,{style:I.restartNote,children:"Changes are saved automatically and will persist across app restarts"})]})]})})}async function Wg(){try{let e=await j.getItem(Ze);if(e)return JSON.parse(e)}catch(e){console.error("Failed to load bubble settings:",e)}return Mt}var I=$e.create({scrollContent:{flexGrow:1},sectionCard:{backgroundColor:U.input,borderRadius:8,padding:16,flexDirection:"row",alignItems:"center",marginBottom:12},iconContainer:{width:36,height:36,borderRadius:8,backgroundColor:"rgba(16, 185, 129, 0.1)",justifyContent:"center",alignItems:"center",marginRight:12},textContainer:{flex:1},title:{color:U.text,fontSize:14,fontWeight:"600",marginBottom:2},subtitle:{color:U.textSecondary,fontSize:12},chevron:{color:Ke.text.icon,fontSize:20},detailContainer:{flex:1,backgroundColor:U.card},loadingText:{color:U.textSecondary,fontSize:14,textAlign:"center",marginTop:20},header:{padding:16,borderBottomWidth:1,borderBottomColor:"rgba(128, 128, 128, 0.2)"},headerTitle:{color:U.text,fontSize:16,fontWeight:"600",marginBottom:4},headerDescription:{color:U.textSecondary,fontSize:12},settingsList:{padding:16},settingItem:{flexDirection:"row",alignItems:"center",paddingVertical:12,borderBottomWidth:1,borderBottomColor:"rgba(128, 128, 128, 0.1)"},settingIconContainer:{width:32,height:32,justifyContent:"center",alignItems:"center",marginRight:12},settingContent:{flex:1,marginRight:12},settingLabel:{color:U.text,fontSize:14,fontWeight:"500",marginBottom:2},settingDescription:{color:Ke.text.icon,fontSize:11},indicator:{width:8,height:8,borderRadius:4},footer:{padding:16,borderTopWidth:1,borderTopColor:"rgba(128, 128, 128, 0.2)"},noteContainer:{flexDirection:"row",alignItems:"center",gap:8,marginBottom:8},noteText:{color:U.textSecondary,fontSize:12,flex:1},restartNote:{color:Ke.text.icon,fontSize:11,fontStyle:"italic"},sectionDivider:{paddingHorizontal:16,paddingVertical:8,marginTop:8,borderTopWidth:1,borderTopColor:"rgba(128, 128, 128, 0.12)"},sectionTitle:{color:U.textSecondary,fontSize:12,fontWeight:"600",letterSpacing:.5,textTransform:"uppercase"}});function Ma(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Fg(e,t,a={}){let r=a.storage??j,s=a.parse??(l=>JSON.parse(l)),o=a.serialize??(l=>JSON.stringify(l));function n(l){let h=Ma(t)&&Ma(l)?{...t,...l}:l;return a.sanitize?a.sanitize(h,l):h}async function i(){try{let l=await r.getItem(e);return l==null||l===""?null:n(s(l))}catch{return null}}return{key:e,defaults:t,loadOrNull:i,async load(){return await i()??t},async save(l){try{await r.setItem(e,o(l))}catch{}},async clear(){try{await r.removeItem(e)}catch{}}}}import{useEffect as jg,useId as Hg,useRef as Da,useState as Ug}from"react";import{createPortal as Vg}from"react-dom";import{jsx as Ne,jsxs as Gg}from"react/jsx-runtime";function Na(){let[e,t]=Ug(false),a=Da(null),r=Da(null),s=Hg(),o=(n=true)=>{t(false),n&&a.current?.querySelector('[data-account-launcher] [role="button"]')?.focus({preventScroll:true})};return jg(()=>{if(!e)return;r.current?.focus({preventScroll:true});let n=l=>{l.target instanceof Node&&!a.current?.contains(l.target)&&t(false)},i=l=>{l.key==="Escape"&&(l.preventDefault(),l.stopPropagation(),t(false),a.current?.querySelector('[data-account-launcher] [role="button"]')?.focus({preventScroll:true}))};return document.addEventListener("pointerdown",n),document.addEventListener("keydown",i),()=>{document.removeEventListener("pointerdown",n),document.removeEventListener("keydown",i)}},[e]),typeof document>"u"?null:Vg(Gg("div",{ref:a,"data-buoy-account":"",style:{position:"fixed",right:"max(16px, env(safe-area-inset-right))",bottom:"max(20px, env(safe-area-inset-bottom))",zIndex:99999,colorScheme:"dark",fontFamily:"system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"},children:[Ne("style",{children:`
|
|
3
2
|
[data-buoy-account] { font-size: 14px; line-height: 1.5; text-align: left; }
|
|
4
3
|
[data-buoy-account] [role="button"], [data-buoy-account] [role="link"] { cursor: pointer; }
|
|
5
4
|
[data-buoy-account] [role="button"]:focus-visible, [data-buoy-account] [role="link"]:focus-visible { outline: 2px solid ${d.color.accent}; outline-offset: 3px; }
|
|
@@ -12,4 +11,4 @@ import{a as _p,b as Wp,c as Vp,d as Fp,e as jp,f as Up,g as Gp,h as Yp,i as Kp}f
|
|
|
12
11
|
box-shadow: 0 18px 60px rgba(0,0,0,.4), 0 4px 16px rgba(0,0,0,.2);
|
|
13
12
|
outline: none;
|
|
14
13
|
}
|
|
15
|
-
`}),Ve("div",{"data-account-launcher":"",children:Ve(wn,{expanded:e,onPress:()=>t(s=>!s)})}),e&&Ve("section",{ref:o,className:"buoy-account-panel",role:"dialog","aria-labelledby":i,tabIndex:-1,onBlur:s=>{s.relatedTarget instanceof Node&&!n.current?.contains(s.relatedTarget)&&r(!1)},children:Ve(kn,{titleId:i,onClose:()=>r()})})]}),document.body)}import{useState as re,useRef as W,useEffect as ie,useLayoutEffect as Fi,useCallback as z,memo as qt,isValidElement as ji,cloneElement as Ui}from"react";var xe=class{static async save(t,n){this.cache.set(t,n);try{await O.setItem(t,JSON.stringify(n))}catch{}}static async load(t){if(this.cache.has(t))return this.cache.get(t);try{let n=await O.getItem(t);if(n){let o=JSON.parse(n);return this.cache.set(t,o),o}}catch{}return null}static saveMinimized(t,n){return this.save(t,{mode:n.mode,panelHeight:n.panelHeight,dimensions:n.floatingDimensions&&n.floatingPosition?{...n.floatingDimensions,top:n.floatingPosition.y,left:n.floatingPosition.x}:void 0,isVisible:!1})}};xe.cache=new Map;import{jsx as h,jsxs as G}from"react/jsx-runtime";var B={base:"#121212",card:"#1A1A1A",border:"#333333",textMuted:"#888888",primary:"#20C997"},N={primary:"#F5F5F7",primaryLight:"#F5F5F7",secondary:"#A1A1A6",muted:"#8E8E93",success:"#34C759",info:"#00B8E6"},Gi=100,Yi=400,Un=500,je=80,lt=()=>typeof window<"u"?window.innerWidth:0,ue=()=>typeof window<"u"?window.innerHeight:0,Gn=e=>1-Math.pow(1-e,3),Fe=e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2;function ve(e,t,n,o){let i=0,r=!1,s=performance.now(),a=l=>{if(r)return;let u=Math.min((l-s)/e,1);n(t(u)),u<1?i=requestAnimationFrame(a):o?.()};return i=requestAnimationFrame(a),()=>{r=!0,cancelAnimationFrame(i)}}function Ki(){if(typeof document>"u")return{top:0,left:0,right:0,bottom:0};let e=document.createElement("div");e.style.cssText="position:fixed;top:env(safe-area-inset-top);left:env(safe-area-inset-left);right:env(safe-area-inset-right);bottom:env(safe-area-inset-bottom);visibility:hidden;pointer-events:none",document.body.appendChild(e);let t=e.getBoundingClientRect();return document.body.removeChild(e),{top:Math.max(0,t.top),left:Math.max(0,t.left),right:Math.max(0,window.innerWidth-t.right),bottom:Math.max(0,window.innerHeight-t.bottom)}}function Gt(e,t){let n=Math.max(je,window.innerWidth-t.left-t.right),o=Math.max(je,window.innerHeight-t.top-t.bottom),i=Math.min(e.width,n),r=Math.min(e.height,o);return{width:i,height:r,left:Math.max(t.left,Math.min(e.left,window.innerWidth-t.right-i)),top:Math.max(t.top,Math.min(e.top,window.innerHeight-t.bottom-r))}}var Ji=({size:e=24,color:t="currentColor",strokeWidth:n=2})=>G("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:[h("line",{x1:18,y1:6,x2:6,y2:18,stroke:t,strokeWidth:n,strokeLinecap:"round"}),h("line",{x1:6,y1:6,x2:18,y2:18,stroke:t,strokeWidth:n,strokeLinecap:"round"})]}),Xi=({size:e=24,color:t="currentColor",strokeWidth:n=2})=>h("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:h("line",{x1:5,y1:12,x2:19,y2:12,stroke:t,strokeWidth:n,strokeLinecap:"round"})}),qi=({size:e=24,color:t="currentColor",strokeWidth:n=2})=>G("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:[h("rect",{x:3,y:3,width:18,height:18,rx:2,stroke:t,strokeWidth:n}),h("rect",{x:3,y:14,width:18,height:7,fill:t})]}),Qi=({size:e=24,color:t="currentColor",strokeWidth:n=2})=>G("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:[h("rect",{x:3,y:3,width:14,height:14,rx:2,stroke:t,strokeWidth:n}),h("line",{x1:7,y1:17,x2:7,y2:21,stroke:t,strokeWidth:n}),h("line",{x1:7,y1:21,x2:21,y2:21,stroke:t,strokeWidth:n}),h("line",{x1:21,y1:21,x2:21,y2:7,stroke:t,strokeWidth:n}),h("line",{x1:17,y1:7,x2:21,y2:7,stroke:t,strokeWidth:n})]}),Yt={close:"#FF5F57",minimize:"#FEBC2E",toggleMode:"#28C840"},Kt=24,Zi=2,Jt=8,Xt=e=>({width:Kt,height:Kt,borderRadius:Kt/2,display:"flex",alignItems:"center",justifyContent:"center",background:`radial-gradient(circle, ${e} 6px, transparent 6px)`,border:"none",padding:0,cursor:"pointer",flexShrink:0});function es({onClose:e,onMinimize:t,onToggleMode:n,mode:o}){let i=o==="floating"?qi:Qi,r=o==="floating"?"Dock to bottom sheet":"Make floating window";return G("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",gap:Zi},children:[t&&h("button",{type:"button",onClick:t,style:Xt(Yt.minimize),"aria-label":"Minimize modal",children:h(Xi,{size:Jt,color:"#7A5A00",strokeWidth:1.5})}),n&&h("button",{type:"button",onClick:n,style:Xt(Yt.toggleMode),"aria-label":r,children:h(i,{size:Jt,color:"#004A1A",strokeWidth:1.5})}),h("button",{type:"button",onClick:e,style:Xt(Yt.close),"aria-label":"Close modal",children:h(Ji,{size:Jt,color:"#4A0000",strokeWidth:1.5})})]})}var Yn=qt(function({isResizing:t,mode:n,hasCustomContent:o=!1,variant:i="default"}){let r=n==="floating",s=i==="night";return G("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",position:"relative",justifyContent:o?"center":void 0,minHeight:o?32:void 0,paddingTop:o?0:8,paddingBottom:o?0:8,backgroundColor:"transparent"},children:[h("div",{style:{width:s?36:t?40:r?50:40,height:s||r?5:3,backgroundColor:s?d.color.placeholder:t?B.primary:r?B.textMuted:B.primary,borderRadius:s?2.5:2,boxShadow:s?"none":`0 0 4px ${B.primary}99`}}),t&&n==="bottomSheet"&&h("div",{style:{position:"absolute",display:"flex",flexDirection:"row",gap:2,marginTop:12},children:[0,1,2].map(a=>h("div",{style:{width:12,height:1,backgroundColor:N.success,opacity:.6}},a))})]})}),ts=qt(function({onAcknowledge:t}){return h("div",{style:{backgroundColor:`${N.info}15`,borderLeft:`3px solid ${N.info}`,borderRadius:8,margin:"8px 12px 4px",overflow:"hidden",boxShadow:`0 0 8px ${N.info}4D`,flexShrink:0},children:G("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",padding:12,gap:12},children:[G("div",{style:{width:32,height:32,position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:[h("div",{style:{position:"absolute",width:20,height:20,borderRadius:10,border:`2px solid ${N.info}`,opacity:.6,transform:"scale(0.8)",boxSizing:"border-box"}}),h("div",{style:{position:"absolute",width:20,height:20,borderRadius:10,border:`2px solid ${N.info}`,boxSizing:"border-box"}})]}),G("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:2},children:[h("span",{style:{fontSize:13,fontWeight:600,color:N.info,letterSpacing:.3},children:"\u{1F4A1} Pro Tip"}),h("span",{style:{fontSize:12,color:N.primaryLight,lineHeight:"16px"},children:"Double-tap the header to transform this into a floating modal"})]}),h("button",{type:"button",onClick:t,style:{backgroundColor:`${N.info}30`,padding:"6px 12px",borderRadius:6,border:`1px solid ${N.info}50`,fontSize:12,fontWeight:600,color:N.info,cursor:"pointer",fontFamily:"inherit",flexShrink:0},children:"Got it!"})]})})});function Kn({header:e,isResizing:t,mode:n,onMinimize:o,variant:i="default"}){if(e?.customContent){let r=e.customContent;return ji(e.customContent)&&o&&(r=Ui(e.customContent,{onMinimize:o})),G("div",{style:{flex:1,display:"flex",flexDirection:"column",justifyContent:"center",minWidth:0},children:[h(Yn,{isResizing:t,mode:n,hasCustomContent:!0,variant:i}),r]})}return G("div",{style:{flex:1,display:"flex",flexDirection:"column",justifyContent:"center",position:"relative",minWidth:0},children:[h(Yn,{isResizing:t,mode:n,variant:i}),G("div",{style:{padding:"0 16px",display:"flex",flexDirection:"column",alignItems:"center"},children:[e?.title&&h("span",{style:{fontSize:16,fontWeight:600,color:N.primary},children:e.title}),e?.subtitle&&h("span",{style:{fontSize:12,color:N.secondary,paddingTop:4},children:e.subtitle})]}),h("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:h("span",{style:{fontSize:10,color:N.muted,fontStyle:"italic"},children:"Double tap: Toggle \u2022 Triple tap: Close"})})]})}var ns=({visible:e,onClose:t,children:n,header:o,styles:i={},minHeight:r=Gi,maxHeight:s,initialHeight:a=Yi,animatedHeight:l,benchMotion:u,initialMode:m="bottomSheet",onModeChange:w,persistenceKey:g,enablePersistence:b=!0,initialFloatingPosition:C,footer:E,footerHeight:Y=0,onBack:K,onMinimize:H,minimizeRequest:Ee=0,minimizeTargetPosition:v,initialModalState:A,zIndex:Re,disableScrollWrapper:pt=!1,background:en=!0,variant:ft="night"})=>{let[J]=re(Ki),[tn,nn]=re(!b),[D,ht]=re(m),Ue=W(w);Ue.current=w;let[Pe,ge]=re(!1),[mt,Ae]=re(!1),[no,bt]=re(a),[ne,Ie]=re(()=>Gt({width:lt(),height:Un,top:C?.y??(ue()-Un)/2,left:C?.x??0},J)),[oo,Ge]=re(!1),[ro,on]=re(!1),io=Tt(),pe=W(a),X=W(ne),F=W({x:ne.left,y:ne.top}),Ye=W(null),yt=W(null),oe=W(null),fe=W([]),Q=z(()=>{fe.current.forEach(c=>c()),fe.current=[]},[]);ie(()=>{X.current=ne},[ne]),ie(()=>Q,[Q]);let rn=s||ue()-J.top;ie(()=>{if(!b||!g){nn(!0);return}let c=!0;return(async()=>{let y=await xe.load(g);if(c&&y&&(y.mode&&(ht(y.mode),Ue.current?.(y.mode)),y.panelHeight&&(bt(y.panelHeight),pe.current=y.panelHeight),y.dimensions)){let k=Gt(y.dimensions,J);Ie(k),F.current={x:k.left,y:k.top}}c&&nn(!0)})(),()=>{c=!1}},[g,b]),ie(()=>{if(!b||!g||!tn)return;let c=setTimeout(()=>{xe.save(g,{mode:D,panelHeight:pe.current,dimensions:ne,isVisible:e})},500);return()=>clearTimeout(c)},[D,no,ne,e,g,b,tn]),ie(()=>{let c=!0;return(async()=>{try{let y=Z.modal.hintAcknowledged(),k=await O.getItem(y);c&&(Ge(k!=="true"),on(!0))}catch{c&&(Ge(!0),on(!0))}})(),()=>{c=!1}},[]);let so=z(async()=>{try{let c=Z.modal.hintAcknowledged();await O.setItem(c,"true"),Ge(!1)}catch{Ge(!1)}},[]),xt=z(()=>{Ae(!1),ge(!1);let c=D==="bottomSheet"?"floating":"bottomSheet";ht(c),Ue.current?.(c)},[D]);ie(()=>{Ae(!1),ge(!1)},[D]);let he=z(()=>{if(!H)return;let c={mode:D,panelHeight:pe.current,floatingPosition:{x:X.current.left,y:X.current.top},floatingDimensions:{width:X.current.width,height:X.current.height}};b&&g&&xe.saveMinimized(g,c);let p=v?.x??lt()-50,y=v?.y??ue()-150;if(Q(),D==="bottomSheet"){let k=Ye.current;if(!k){H(c);return}let R=ue();fe.current.push(ve(300,Fe,L=>{k.style.opacity=String(1-L),k.style.transform=`translateY(${L*R}px)`},()=>H(c)))}else{let k=oe.current;if(!k){H(c);return}let R={...F.current};fe.current.push(ve(300,Fe,L=>{k.style.opacity=String(1-L);let qe=R.x+(p-R.x)*L,we=R.y+(y-R.y)*L;k.style.transform=`translate(${qe}px, ${we}px)`},()=>H(c)))}},[D,H,v,Q,b,g]),sn=W(Ee);ie(()=>{sn.current!==Ee&&(sn.current=Ee,he())},[Ee,he]),ie(()=>{if(A&&(A.mode&&(ht(A.mode),Ue.current?.(A.mode)),A.panelHeight&&(bt(A.panelHeight),pe.current=A.panelHeight),A.floatingDimensions&&A.floatingPosition)){let c={width:A.floatingDimensions.width,height:A.floatingDimensions.height,top:A.floatingPosition.y,left:A.floatingPosition.x};Ie(c),F.current={x:A.floatingPosition.x,y:A.floatingPosition.y}}},[A]),Fi(()=>{if(e)if(Q(),D==="bottomSheet"){let c=Ye.current;if(!c)return;let p=ue();c.style.transform=`translateY(${p}px)`,c.style.opacity="0",fe.current.push(ve(300,Gn,y=>{c.style.transform=`translateY(${(1-y)*p}px)`}),ve(200,Fe,y=>{c.style.opacity=String(y)}))}else{let c=oe.current;if(!c)return;F.current={x:X.current.left,y:X.current.top},c.style.transform=`translate(${F.current.x}px, ${F.current.y}px)`,c.style.opacity="0",fe.current.push(ve(200,Fe,p=>{c.style.opacity=String(p)}))}},[e,D,Q]);let an=W(0),Le=W(0),Me=W(null),Ke=z(()=>{let c=Date.now();c-an.current>500&&(Le.current=0),Le.current++,an.current=c,Me.current&&clearTimeout(Me.current),Me.current=setTimeout(()=>{Le.current===2?xt():Le.current>=3&&H&&he(),Le.current=0},300)},[xt,H,he]);ie(()=>()=>{Me.current&&clearTimeout(Me.current)},[]);let Je=W({active:!1,resizing:!1,startY:0,headerOffsetY:0,samples:[]}),ao=z(c=>{if(D!=="bottomSheet"||c.button!==0||c.target.closest('button, a, input, textarea, select, [role="button"], [role="tab"], [role="switch"], [contenteditable="true"], [tabindex]'))return;let p=Je.current;p.active=!0,p.resizing=!1,p.startY=c.clientY;let y=c.currentTarget.getBoundingClientRect();p.headerOffsetY=c.clientY-y.top,p.samples=[{t:performance.now(),y:c.clientY}],c.currentTarget.setPointerCapture(c.pointerId)},[D]),lo=z(c=>{let p=Je.current;if(!p.active)return;let y=c.clientY-p.startY;if(!p.resizing&&Math.abs(y)>3&&(p.resizing=!0,Q(),ge(!0)),!p.resizing)return;let k=c.clientY-p.headerOffsetY,R=ue()-k;R=Math.max(r,Math.min(R,rn)),pe.current=R,yt.current&&(yt.current.style.height=`${R}px`);let L=performance.now();for(p.samples.push({t:L,y:c.clientY});p.samples.length>2&&L-p.samples[0].t>100;)p.samples.shift()},[r,rn,Q]),co=z(c=>{let p=Je.current;if(!p.active)return;if(p.active=!1,!p.resizing){Ke();return}ge(!1);let y=pe.current,k=c.clientY-p.startY,R=p.samples[0],L=p.samples[p.samples.length-1];if((L&&R&&L.t>R.t?(L.y-R.y)/(L.t-R.t):0)>.8&&k>50||k>150&&y<=r){let j=Ye.current;if(Q(),j){let De=ue();fe.current.push(ve(200,Fe,me=>{j.style.opacity=String(1-me)}),ve(300,Gn,me=>{j.style.transform=`translateY(${me*De}px)`},()=>t()))}else t();return}bt(y)},[r,t,Ke,Q]),uo=z(()=>{let c=Je.current;c.active&&(c.active=!1,c.resizing=!1,ge(!1))},[]),Xe=W({active:!1,dragging:!1,startX:0,startY:0,startPos:{x:0,y:0}}),go=z(c=>{if(D!=="floating"||Pe||c.button!==0||c.target.closest('button, a, input, textarea, select, [role="button"], [role="tab"], [role="switch"], [contenteditable="true"], [tabindex]'))return;let p=Xe.current;p.active=!0,p.dragging=!1,p.startX=c.clientX,p.startY=c.clientY,p.startPos={...F.current},c.currentTarget.setPointerCapture(c.pointerId)},[D,Pe]),po=z(c=>{let p=Xe.current;if(!p.active)return;let y=c.clientX-p.startX,k=c.clientY-p.startY;if(!p.dragging&&Math.abs(y)+Math.abs(k)>5&&(p.dragging=!0,Ae(!0)),!p.dragging)return;let R=p.startPos.x+y,L=p.startPos.y+k;F.current={x:R,y:L},oe.current&&(oe.current.style.transform=`translate(${R}px, ${L}px)`)},[]),fo=z(()=>{let c=Xe.current;if(!c.active)return;if(c.active=!1,!c.dragging){Ke();return}Ae(!1);let p=X.current,y=Gt({...p,left:F.current.x,top:F.current.y},J),k=y.left,R=y.top;F.current={x:k,y:R},oe.current&&(oe.current.style.transform=`translate(${k}px, ${R}px)`),Ie(L=>({...L,left:k,top:R}))},[J,Ke]),ho=z(()=>{let c=Xe.current;c.active&&(c.active=!1,c.dragging=!1,Ae(!1))},[]),vt=W({active:!1,corner:"bottomRight",startX:0,startY:0,start:{width:0,height:0,top:0,left:0}}),mo=z(c=>p=>{if(D!=="floating")return;p.stopPropagation();let y=vt.current;y.active=!0,y.corner=c,y.startX=p.clientX,y.startY=p.clientY,y.start={...X.current},ge(!0),p.currentTarget.setPointerCapture(p.pointerId)},[D]),bo=z(c=>{let p=vt.current;if(!p.active)return;let y=c.clientX-p.startX,k=c.clientY-p.startY;if(Math.abs(y)<.5&&Math.abs(k)<.5)return;let R=Math.max(0,J.left),L=ue()-Math.max(0,J.bottom),qe=lt()-Math.max(0,J.right),we=lt()*.25,j=p.start,De=j.left+j.width,me=j.top+j.height,$e=j.left,Qe=j.top,pn=De,St=me;p.corner==="bottomLeft"?($e=Math.max(R,Math.min(j.left+y,De-we)),St=Math.min(L,Math.max(me+k,j.top+je))):(pn=Math.min(qe,Math.max(De+y,j.left+we)),St=Math.min(L,Math.max(me+k,j.top+je)));let yo=Math.max(we,pn-$e),xo=Math.max(je,St-Qe),fn={width:yo,height:xo,left:$e,top:Qe};X.current=fn,F.current={x:$e,y:Qe},Ie(fn),oe.current&&(oe.current.style.transform=`translate(${$e}px, ${Qe}px)`)},[J.left,J.right,J.bottom]),ln=z(()=>{let c=vt.current;c.active&&(c.active=!1,ge(!1),Ie(X.current))},[]);if(!e)return h("div",{style:{display:"none"},"aria-hidden":!0,children:n},"hidden");let cn=o?.title||"Dev tool panel",I=ft==="night",dn=en&&I?h("div",{style:{position:"absolute",inset:0,pointerEvents:"none"},"aria-hidden":!0,children:h(Et,{})}):null,un=G("div",{style:{flex:1,minHeight:0,position:"relative",display:"flex",flexDirection:"column",backgroundColor:I?"transparent":B.base,borderBottomLeftRadius:16,borderBottomRightRadius:16,overflow:"hidden",...i.content},children:[en&&!I?h(Et,{}):null,pt?h("div",{style:{flex:1,minHeight:0,display:"flex",flexDirection:"column",paddingBottom:Y},children:n}):h("div",{style:{flex:1,minHeight:0,overflowY:"auto",paddingBottom:Y},children:n}),E?h("div",{style:{position:"absolute",left:0,right:0,bottom:0,backgroundColor:B.base,borderBottomLeftRadius:16,borderBottomRightRadius:16},children:E}):null]}),gn=h("div",{style:{position:"absolute",top:4,right:4,zIndex:10},children:h(es,{onClose:t,onMinimize:H?he:void 0,onToggleMode:xt,mode:D})});if(D==="floating"){let c=mt||Pe;return G("div",{ref:oe,role:"dialog","aria-label":cn,style:{position:"fixed",left:0,top:0,width:ne.width,height:ne.height,transform:`translate(${F.current.x}px, ${F.current.y}px)`,display:"flex",flexDirection:"column",backgroundColor:I?d.color.bg:B.card,borderRadius:I?d.radius.sheet:6,border:I?`1px solid ${d.color.accent}55`:c?`2px solid ${B.primary}`:`1px solid ${B.border}`,boxShadow:I?`0 0 14px ${d.color.accent}38`:c?`0 0 12px ${B.primary}7A`:`0 0 20px ${B.primary}4D`,...I?{overflow:"hidden"}:null,boxSizing:"border-box",zIndex:Re??1e3,...i.container},children:[dn,h("div",{onPointerDown:go,onPointerMove:po,onPointerUp:fo,onPointerCancel:ho,style:{borderTopLeftRadius:I?d.radius.sheet:6,borderTopRightRadius:I?d.radius.sheet:6,backgroundColor:I?"transparent":B.card,minHeight:56,border:I?"none":`1px solid ${B.border}`,boxSizing:"border-box",display:"flex",flexDirection:"column",justifyContent:"center",flexShrink:0,touchAction:"none",userSelect:"none",cursor:mt?"grabbing":"grab",position:"relative"},children:h(Kn,{header:o,isResizing:mt||Pe,mode:D,onMinimize:H?he:void 0,variant:ft})}),gn,un,["bottomLeft","bottomRight"].map(p=>h("div",{onPointerDown:mo(p),onPointerMove:bo,onPointerUp:ln,onPointerCancel:ln,style:{position:"absolute",width:30,height:30,bottom:4,...p==="bottomLeft"?{left:4}:{right:4},zIndex:1e3,touchAction:"none",cursor:p==="bottomLeft"?"nesw-resize":"nwse-resize"},children:h("div",{style:{width:20,height:20,borderRadius:10,boxSizing:"border-box",backgroundColor:c?`${N.success}1A`:"transparent",border:c?`2px solid ${N.success}`:"none",boxShadow:c?`0 0 8px ${N.success}99`:"none"}})},p))]},"floating")}return h("div",{style:{position:"fixed",inset:0,zIndex:Re??1e3,pointerEvents:"none"},children:h("div",{ref:Ye,style:{position:"absolute",bottom:0,left:0,right:0,pointerEvents:"auto"},children:G("div",{ref:yt,role:"dialog","aria-label":cn,style:{height:pe.current,display:"flex",flexDirection:"column",backgroundColor:I?d.color.bg:B.card,borderTopLeftRadius:I?d.radius.sheet:6,borderTopRightRadius:I?d.radius.sheet:6,border:I?`1px solid ${d.color.accent}55`:`1px solid ${B.border}`,boxShadow:I?`0 -4px 10px ${d.color.accent}38`:`0 -4px 12px ${B.primary}33`,...I?{overflow:"hidden"}:null,boxSizing:"border-box",position:"relative",...i.container},children:[dn,h("div",{onPointerDown:ao,onPointerMove:lo,onPointerUp:co,onPointerCancel:uo,style:{borderTopLeftRadius:I?d.radius.sheet:6,borderTopRightRadius:I?d.radius.sheet:6,backgroundColor:I?"transparent":B.card,minHeight:56,border:I?"none":`1px solid ${B.border}`,boxSizing:"border-box",display:"flex",flexDirection:"column",justifyContent:"center",flexShrink:0,touchAction:"none",userSelect:"none",cursor:"ns-resize",position:"relative"},children:h(Kn,{header:o,isResizing:Pe,mode:D,onMinimize:H?he:void 0,variant:ft})}),gn,ro&&oo&&!io&&h(ts,{onAcknowledge:so}),un]})})},"bottomSheet")},os=qt(e=>Ct()().status!=="admitted"?e.visible?h(Ut,{}):null:h(ns,{...e}));import{Children as rs,useEffect as is,useRef as ss}from"react";import{Fragment as bs,jsx as V,jsxs as dt}from"react/jsx-runtime";function as({children:e,style:t}){return V($,{style:[f.sectionLabel,t],children:e})}function ls({children:e,centered:t,tone:n="tertiary",style:o}){let i=ae.flatten(o),r=!!i&&(i.marginHorizontal!=null||i.margin!=null);return V($,{style:[f.footnote,r?null:f.footnoteInset,n==="secondary"?f.footnoteSecondary:null,n==="warning"?f.footnoteWarning:null,n==="danger"?f.footnoteDanger:null,t?f.footnoteCentered:null,o],children:e})}function cs({children:e,padded:t,glass:n,style:o}){return V(T,{style:[f.card,n?f.cardGlass:null,t?f.cardPadded:null,o],children:e})}function Xn({inset:e=d.rowPadH}){return V(T,{style:[f.separator,{marginLeft:e}]})}function ds({children:e,inset:t=d.rowPadH}){let n=rs.toArray(e);return V(bs,{children:n.map((o,i)=>dt(T,{children:[i>0?V(Xn,{inset:t}):null,o]},o.key??i))})}var qn=56,Jn=32,ct=22,Qn=5,us=qn-ct-Qn*2;function gs({value:e,onValueChange:t,disabled:n}){let o=ss(new Ze.Value(e?1:0)).current;return is(()=>{Ze.timing(o,{toValue:e?1:0,duration:200,useNativeDriver:yn.OS!=="web"}).start()},[e,o]),V(Oe,{activeOpacity:.8,disabled:n,onPress:()=>t(!e),accessibilityRole:"switch",accessibilityState:{checked:e,disabled:n},hitSlop:{top:8,bottom:8,left:8,right:8},style:[f.switchTrack,e?f.switchTrackOn:null,n?f.switchDisabled:null],children:V(Ze.View,{style:[f.switchThumb,e?f.switchThumbOn:null,{transform:[{translateX:o.interpolate({inputRange:[0,1],outputRange:[0,us]})}]}]})})}function ps({label:e,selected:t,onPress:n,disabled:o,icon:i,testID:r}){return dt(Oe,{activeOpacity:.7,disabled:o||!n,onPress:n,testID:r,style:[f.chip,t?f.chipSelected:null,o?f.chipDisabled:null],children:[i,V($,{style:[f.chipText,t?f.chipTextSelected:null],children:e})]})}function fs({label:e,onPress:t,variant:n="secondary",size:o="lg",icon:i,disabled:r,fullWidth:s=!0}){let a=n==="primary"?d.color.onAccent:n==="tertiary"?d.color.text:n==="destructive"?d.color.danger:d.color.accent;return dt(Oe,{activeOpacity:.7,disabled:r,onPress:t,style:[f.button,o==="md"?f.buttonMd:f.buttonLg,n==="primary"?f.buttonPrimary:n==="ghost"?f.buttonGhost:f.buttonPlate,s?f.buttonFullWidth:null,r?f.buttonDisabled:null],children:[i,V($,{style:[o==="md"?f.buttonTextMd:f.buttonTextLg,{color:a}],children:e})]})}function hs({tabs:e,activeKey:t,onChange:n,size:o="md",glass:i}){let r=o==="sm";return V(T,{style:[f.segmentTrack,i?f.segmentTrackGlass:null],children:e.map(s=>{let a=s.key===t;return dt(Oe,{activeOpacity:.7,accessibilityRole:"tab",accessibilityState:{selected:a},accessibilityLabel:s.label,onPress:()=>n(s.key),style:[f.segment,r?f.segmentSm:null,a?i?f.segmentActiveGlass:f.segmentActive:null],children:[V($,{style:[f.segmentText,r?f.segmentTextSm:null,a?f.segmentTextActive:null],children:s.label}),a?V(T,{style:[f.segmentUnderline,r?f.segmentUnderlineSm:null]}):null]},s.key)})})}function ms({label:e,tone:t="neutral"}){let n=t==="accent"?f.badgeAccent:t==="warning"?f.badgeWarning:t==="danger"?f.badgeDanger:t==="info"?f.badgeInfo:f.badgeNeutral,o=t==="accent"?f.badgeTextAccent:t==="warning"?f.badgeTextWarning:t==="danger"?f.badgeTextDanger:t==="info"?f.badgeTextInfo:f.badgeTextNeutral;return V(T,{style:[f.badge,n],children:V($,{style:[f.badgeText,o],children:e})})}var f=ae.create({sectionLabel:{color:d.color.textSecondary,fontSize:d.font.label,fontWeight:"600",letterSpacing:kt,textTransform:"uppercase",marginBottom:8,marginLeft:d.labelInset},footnote:{color:d.color.textTertiary,fontSize:d.font.caption,fontWeight:"500",lineHeight:d.font.caption*1.4,marginTop:8},footnoteInset:{marginLeft:d.labelInset},footnoteSecondary:{color:d.color.textSecondary},footnoteWarning:{color:d.color.warning},footnoteDanger:{color:d.color.danger},footnoteCentered:{textAlign:"center",marginLeft:0},card:{backgroundColor:d.color.surface,borderRadius:d.radius.card,borderWidth:1,borderColor:d.color.border,overflow:"hidden"},cardGlass:{backgroundColor:d.color.glass,borderColor:d.color.glassBorder},cardPadded:{padding:d.cardPad,gap:10},separator:{height:ae.hairlineWidth,backgroundColor:d.color.separator},switchTrack:{width:qn,height:Jn,borderRadius:Jn/2,borderWidth:1,borderColor:d.color.fillTertiary,backgroundColor:d.color.surfaceElevated,paddingHorizontal:Qn,justifyContent:"center",overflow:"hidden"},switchTrackOn:{backgroundColor:d.color.accentFill,borderColor:d.color.accentBorderStrong},switchDisabled:{opacity:.4},switchThumb:{width:ct,height:ct,borderRadius:ct/2,backgroundColor:d.color.knob},switchThumbOn:{backgroundColor:d.color.accent},chip:{flexDirection:"row",alignItems:"center",gap:6,paddingHorizontal:14,paddingVertical:9,borderRadius:d.radius.chip,borderWidth:1.5,backgroundColor:d.color.buttonSurface,borderColor:d.color.fillTertiary},chipSelected:{borderColor:d.color.accentBorderStrong},chipDisabled:{opacity:.4},chipText:{fontSize:d.font.body,fontWeight:"500",color:d.color.textSecondary},chipTextSelected:{color:d.color.accent},button:{flexDirection:"row",alignItems:"center",justifyContent:"center",gap:8},buttonMd:{height:34,paddingHorizontal:16,borderRadius:17},buttonLg:{height:50,paddingHorizontal:20,borderRadius:25},buttonPrimary:{backgroundColor:d.color.accent},buttonPlate:{backgroundColor:d.color.button},buttonGhost:{backgroundColor:"transparent"},buttonFullWidth:{alignSelf:"stretch"},buttonDisabled:{opacity:.4},buttonTextMd:{fontSize:15,fontWeight:"600"},buttonTextLg:{fontSize:17,fontWeight:"600"},segmentTrack:{flex:1,flexDirection:"row",backgroundColor:d.color.bg,borderRadius:d.radius.row,borderWidth:1,borderColor:d.color.border,padding:3},segment:{flex:1,paddingVertical:8,alignItems:"center",justifyContent:"center",borderRadius:d.radius.segment},segmentTrackGlass:{backgroundColor:d.color.glass,borderColor:d.color.glassBorder},segmentActive:{backgroundColor:d.color.surfaceElevated},segmentActiveGlass:{backgroundColor:d.color.glassElevated},segmentText:{fontSize:d.font.caption,fontWeight:"500",color:d.color.textSecondary},segmentTextActive:{fontWeight:"600",color:d.color.text},segmentUnderline:{position:"absolute",bottom:2,width:24,height:2.5,borderRadius:1.25,backgroundColor:d.color.accent,shadowColor:d.color.accent,shadowOffset:{width:0,height:0},shadowOpacity:.6,shadowRadius:6},segmentSm:{paddingVertical:5},segmentTextSm:{fontSize:12},segmentUnderlineSm:{bottom:1.5,width:20,height:2,borderRadius:1},badge:{paddingHorizontal:8,paddingVertical:4,borderRadius:d.radius.badge,alignSelf:"flex-start"},badgeText:{fontSize:d.font.micro,fontWeight:"600",letterSpacing:.5,textTransform:"uppercase"},badgeAccent:{backgroundColor:d.color.accentSoft},badgeTextAccent:{color:d.color.accent},badgeWarning:{backgroundColor:d.color.warningSoft},badgeTextWarning:{color:d.color.warning},badgeDanger:{backgroundColor:d.color.dangerSoft},badgeTextDanger:{color:d.color.danger},badgeInfo:{backgroundColor:d.color.infoSoft},badgeTextInfo:{color:d.color.info},badgeNeutral:{backgroundColor:d.color.fillSecondary},badgeTextNeutral:{color:d.color.textSecondary}});import{jsx as Ce,jsxs as vs}from"react/jsx-runtime";function ut(e){switch(Ne(String(e))){case"dev":return{label:"DEV",backgroundColor:x.warning};case"qa":return{label:"QA",backgroundColor:x.optional};case"staging":return{label:"STAGING",backgroundColor:x.success};case"prod":return{label:"PROD",backgroundColor:x.error};case"local":default:return{label:"LOCAL",backgroundColor:x.info}}}function ys({color:e}){return Ce("svg",{width:12,height:12,viewBox:"0 0 24 24","aria-hidden":"true",children:Ce("path",{d:"M6 9l6 6 6-6",fill:"none",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}function xs({environment:e,interactive:t=!1,onPress:n}){let o=ut(e);return vs("button",{onClick:t?n:void 0,"aria-label":`Environment: ${o.label}`,style:{display:"flex",flexDirection:"row",alignItems:"center",padding:`6px ${t?4:8}px 6px 8px`,flexShrink:0,background:"none",border:"none",cursor:t?"pointer":"default"},children:[Ce("div",{style:{width:8,height:8,borderRadius:4,backgroundColor:o.backgroundColor,marginRight:6,boxShadow:`0 0 4px ${o.backgroundColor}99`}}),Ce("span",{style:{fontSize:11,fontWeight:600,color:x.primaryLight,letterSpacing:.5},children:o.label}),t&&Ce("span",{style:{marginLeft:2,display:"flex"},children:Ce(ys,{color:"#7A8599"})})]})}import{jsx as Se,jsxs as Zt}from"react/jsx-runtime";var Ss=140,ws=28,Zn=44,ks=8,Ts=24;function Qt(e){switch(Ne(e)){case"local":return{label:"LOCAL",backgroundColor:x.info};case"dev":return{label:"DEV",backgroundColor:x.warning};case"qa":return{label:"QA",backgroundColor:x.optional};case"staging":return{label:"STAGING",backgroundColor:x.success};case"prod":return{label:"PROD",backgroundColor:x.error};default:return{label:"LOCAL",backgroundColor:x.info}}}function Cs({environment:e,isSelected:t,onPress:n}){let o=Qt(e);return Zt(hn,{onPress:n,style:({pressed:i})=>[se.optionContainer,t&&se.optionContainerSelected,i&&se.optionContainerPressed],children:[Zt(T,{style:se.optionLeft,children:[Se(T,{style:[se.optionDot,{backgroundColor:o.backgroundColor},{shadowColor:o.backgroundColor,shadowOffset:{width:0,height:0},shadowOpacity:.6,shadowRadius:4,elevation:2}]}),Se($,{style:se.optionLabel,children:o.label})]}),t&&Se(xn,{size:14,color:x.success,strokeWidth:3})]})}function Es({hasItems:e,currentEnvironment:t,availableEnvironments:n,onSelect:o,width:i=Ss,collapsedContent:r}){let s=ks+n.length*Zn+Ts+4,a=Zt(T,{style:se.collapsedEnvBadge,children:[Se(T,{style:[se.collapsedDot,{backgroundColor:Qt(t).backgroundColor}]}),Se($,{style:se.collapsedLabel,children:Qt(t).label})]});return Se(Tn,{hasItems:e,width:i,expandedHeight:s,peekHeight:ws,showCount:!1,collapsedContent:r||a,collapsedLabel:`Switch environment from ${t}`,children:n.map(l=>Se(Cs,{environment:l,isSelected:l===t,onPress:()=>o(l)},l))})}var se=ae.create({collapsedEnvBadge:{flexDirection:"row",alignItems:"center",gap:6},collapsedDot:{width:8,height:8,borderRadius:4},collapsedLabel:{fontSize:11,fontWeight:"600",color:x.primaryLight,letterSpacing:.5},optionContainer:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:12,height:Zn,width:"100%"},optionContainerSelected:{backgroundColor:"rgba(128, 128, 128, 0.1)"},optionContainerPressed:{backgroundColor:"rgba(128, 128, 128, 0.2)"},optionLeft:{flexDirection:"row",alignItems:"center",flex:1},optionDot:{width:8,height:8,borderRadius:4,marginRight:10},optionLabel:{fontSize:12,fontWeight:"600",color:x.primaryLight,letterSpacing:.5}});import{useState as eo}from"react";import{jsx as q,jsxs as gt}from"react/jsx-runtime";var to=36;function Rs({color:e,flipped:t}){return q("svg",{width:10,height:10,viewBox:"0 0 24 24","aria-hidden":"true",style:{transform:t?"rotate(180deg)":"rotate(0deg)",transition:"transform 200ms ease"},children:q("path",{d:"M18 15l-6-6-6 6",fill:"none",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}function Ps(){return q("svg",{width:12,height:12,viewBox:"0 0 24 24","aria-hidden":"true",children:q("path",{d:"M20 6L9 17l-5-5",fill:"none",stroke:"#4AFF9F",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})})}function As({currentEnvironment:e,availableEnvironments:t,onSelect:n}){let[o,i]=eo(!1),[r,s]=eo(null),a=ut(e),l=t.length*to;return gt("div",{style:{position:"relative",zIndex:1e3,flexShrink:0},children:[q("div",{style:{position:"absolute",bottom:"100%",left:0,right:0,height:o?l:0,opacity:o?1:0,overflow:"hidden",transition:"height 200ms ease, opacity 200ms ease",backgroundColor:"rgba(8,12,21,0.95)",border:"1px solid #00B8E666",borderBottomWidth:0,borderTopLeftRadius:6,borderTopRightRadius:6,boxShadow:"0 -4px 8px rgba(0,0,0,0.3)"},children:t.map(u=>{let m=ut(u),w=String(u).toLowerCase()===String(e).toLowerCase();return gt("button",{onClick:()=>{i(!1),n(u)},onMouseEnter:()=>s(String(u)),onMouseLeave:()=>s(null),style:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",height:to,padding:"0 10px",background:w?"rgba(128,128,128,0.1)":r===String(u)?"rgba(128,128,128,0.2)":"none",border:"none",cursor:"pointer"},children:[gt("span",{style:{display:"flex",alignItems:"center"},children:[q("span",{style:{width:6,height:6,borderRadius:3,backgroundColor:m.backgroundColor,marginRight:8}}),q("span",{style:{fontSize:10,fontWeight:600,color:x.primaryLight,letterSpacing:.5},children:m.label})]}),w&&q(Ps,{})]},String(u))})}),gt("button",{onClick:()=>i(u=>!u),"aria-expanded":o,"aria-label":`Environment: ${a.label}. Click to switch.`,style:{display:"flex",alignItems:"center",gap:6,padding:"6px 6px 6px 8px",borderRadius:6,borderTopLeftRadius:o?0:6,borderTopRightRadius:o?0:6,backgroundColor:o?"rgba(8,12,21,0.95)":"transparent",border:"none",cursor:"pointer"},children:[q("span",{style:{width:8,height:8,borderRadius:4,backgroundColor:a.backgroundColor,boxShadow:`0 0 4px ${a.backgroundColor}99`}}),q("span",{style:{fontSize:11,fontWeight:600,color:x.primaryLight,letterSpacing:.5},children:a.label}),q(Rs,{color:"#7A8599",flipped:o})]})]})}export{Sp as ARROW_BOTTOM_OFFSET,wp as ARROW_HEIGHT,Kl as ASSETS_ICON_COLOR,Ut as AccountSetup,Wd as ActionCopyButton,oc as Activity,la as ActivityIcon,Qd as AddFilterButton,qd as AddFilterInput,rc as AlertCircle,kl as AlertCircleIcon,sa as AlertOctagon,ic as AlertTriangle,ca as AlertTriangleIcon,hd as AskBuoyIcon,Yl as AssetsIcon,sp as BACKGROUND_PRESETS,up as BACKGROUND_STORAGE_KEY,Sd as BENCHMARK_ICON_COLOR,Td as BackButton,fp as BackgroundSwitcher,tu as Badge,el as BarChart3,tl as BarChart3Icon,At as BaseEventStore,vd as BenchmarkIcon,Xs as BenchmarkLegacyIcon,sc as Bookmark,ac as Box,da as BoxIcon,Oi as BubbleSettingsDetail,$i as BubbleSettingsSection,lc as Bug,xl as BugIcon,Pu as CELLS,yp as CLIP_OFFSCREEN_CELLS,Vl as CONSOLE_ICON_COLOR,Ai as COPY_PAYLOAD_MAX_BYTES,ud as CameraIcon,Mt as ChangeLog,$g as ChangeRow,xn as Check,cc as CheckCircle,Xa as CheckCircle2,Tl as CheckCircle2Icon,ga as CheckCircleIcon,ua as CheckIcon,ra as CheckSquare,Ka as CheckSquareIcon,dc as ChevronDown,pa as ChevronDownIcon,uc as ChevronLeft,fa as ChevronLeftIcon,gc as ChevronRight,ha as ChevronRightIcon,pc as ChevronUp,ma as ChevronUpIcon,jg as ChipStrip,Nd as ClipboardHintBanner,fc as Clock,ba as ClockIcon,nl as Cloud,ol as CloudIcon,bg as CollapsibleSection,eu as CompactFilterChips,du as CompactRow,Ag as CompareBar,Wl as ConsoleIcon,hc as Copy,zd as CopyButton,ya as CopyIcon,ou as CountBadge,Cn as CyberpunkSectionButton,ap as DEFAULT_BACKGROUND,uu as DEVTOOLS_CARD_CONSTANTS,yg as DataInspector,vn as Database,vl as DatabaseIcon,mp as DaylightTunable,ep as DeepFieldTunable,fg as DetailView,Dg as DetailViewToggle,gu as DevToolsCard,Pg as DiffModeTabs,mc as DockBottom,bc as Download,Pl as DownloadIcon,hg as DraggableHeader,vg as DynamicFilterView,_l as ENV_ICON_COLOR,xp as EVENT_LIST_PRESET,yc as Edit3,xa as Edit3Icon,sg as EmptyState,Wg as EntityFilterView,Hl as EnvIcon,Ns as EnvLaptopIcon,xs as EnvironmentIndicator,Es as EnvironmentSelector,As as EnvironmentSelectorInline,Ig as EventHistoryViewer,lu as EventListItem,Lg as EventPickerModal,kg as EventStepperFooter,id as EventsIcon,Tn as ExpandablePopover,Cg as ExpandedInfoRow,Gg as ExportPreview,xc as Eye,va as EyeIcon,Sn as EyeOff,Sa as EyeOffIcon,No as FeatureGate,Qs as FileCode,wa as FileCodeIcon,vc as FileJson,Ll as FileJsonIcon,Sc as FileText,ka as FileTextIcon,wc as Film,rl as FilmIcon,kc as Filter,Xd as FilterBadge,Ta as FilterIcon,Zd as FilterList,Jd as FilterSection,Tc as FlaskConical,Ca as FlaskConicalIcon,Cc as FloatWindow,Ip as FloatingTool,Rp as FloatingToolDivider,Bp as FloatingToolHost,Pp as FloatingToolUserStatus,_g as FooterButton,zg as FooterCaption,Hg as FooterMessage,Ng as FooterRow,Go as FreeAccountPrompt,Od as GAME_UI_ALERT_STATES,Ld as GameUICollapsibleSection,Dd as GameUICompactStats,$d as GameUIIssuesList,Md as GameUIStatusHeader,Ec as GitBranch,Ea as GitBranchIcon,Rc as Globe,Sl as GlobeIcon,mg as GripVerticalIcon,qa as Hand,Dl as HandIcon,Zs as HardDrive,Ra as HardDriveIcon,Pc as Hash,Pa as HashIcon,pu as HeaderSearchButton,aa as HelpCircle,gd as HighlightIcon,Ks as HighlightUpdatesIcon,md as HighlighterIcon,Lo as HintsProvider,Gp as HistoryEntryRow,Yp as HistoryList,_p as HistoryProvider,Ac as Home,ta as HomeIcon,Gl as IMAGES_ICON_COLOR,Ql as IMAGE_OVERLAY_ICON_COLOR,Xl as IMPERSONATE_ICON_COLOR,Bs as IconBackground,Ls as IconCircle,Is as IconContainer,Ds as IconLine,Ms as IconRect,Ic as Image,il as ImageIcon,ql as ImageOverlayIcon,Ul as ImagesIcon,Jl as ImpersonateIcon,Lc as Info,Aa as InfoIcon,Mg as InfoRow,Hd as InlineCopyButton,nc as JOTAI_ICON_COLOR,tc as JotaiIcon,os as JsModal,Mc as Key,Ia as KeyIcon,Uo as LOGIN_COMMAND,vp as LOG_LIST_PRESET,zs as LaptopIcon,Dc as Layers,La as LayersIcon,Do as LicenseEntryModal,Zg as LinearFade,$c as Link,Ml as LinkIcon,Kd as ListItem,ip as LiveSkyTunable,Oc as Lock,Al as LockIcon,rt as LogLevel,rt as LogLevelEnum,it as LogType,it as LogTypeEnum,$u as MAX_PERIOD,ea as Maximize2,Ma as Maximize2Icon,iu as MethodBadge,Bc as Minus,Da as MinusIcon,Ud as ModalHeader,Gd as ModalHintBanner,hp as MoonlightTunable,Nc as Music,sl as MusicIcon,zl as NETWORK_ICON_COLOR,kt as NIGHT_LABEL_TRACKING,kd as NOTIFICATIONS_ICON_COLOR,zc as Navigation,Us as NavigationIcon,Os as NetworkGlobeIcon,Nl as NetworkIcon,ms as NightBadge,fs as NightButton,cs as NightCard,ps as NightChip,ls as NightFootnote,ds as NightRows,as as NightSectionLabel,hs as NightSegmented,Xn as NightSeparator,gs as NightSwitch,ag as NoDataEmptyState,lg as NoResultsEmptyState,cg as NoSearchResultsEmptyState,wd as NotificationsIcon,yu as OTTO_ANCHORS,xu as OTTO_ANCHOR_SIZE,fu as OTTO_GRID,wu as OTTO_GROUPS,vu as OTTO_NOTES,hu as OTTO_PALETTE,Tu as OTTO_REEL,tg as OTTO_SCENES,ng as OTTO_SCENE_BY_ID,og as OTTO_SCENE_CROP_H,Xu as OTTO_SCENE_H,qu as OTTO_SCENE_OTTO,Ku as OTTO_SCENE_PALETTE,Ju as OTTO_SCENE_W,bu as OTTO_STATES,Su as OTTO_STATE_NAMES,ku as OTTO_USES,Yu as Otto,Uu as OttoMotionView,Vu as OttoPixels,rg as OttoSceneFrame,ig as OttoSceneStill,Fu as OttoStill,_n as PREVIEW_ITEM_RENDER_BYTE_LIMIT,Hc as Palette,$a as PaletteIcon,_c as Pause,Oa as PauseIcon,al as Phone,ll as PhoneIcon,Og as Pill,Eg as PillBadge,qs as Pin,Wc as Play,Ba as PlayIcon,Vc as Plus,Na as PlusIcon,Fc as Power,El as PowerIcon,Tg as PowerToggleButton,$s as PrimitiveGlobeIcon,$o as ProBadge,Ho as ProFeatureBanner,Oo as ProUpgradeModal,bd as QueryIcon,Ar as REMOTE_RELOAD_DELAY_MS,Qg as RadialGlow,qg as RasterLayer,Hs as ReactQueryIcon,pd as ReduxIcon,jc as RefreshCw,za as RefreshCwIcon,or as RelativeTime,Js as RenderCountIcon,Ys as RenderPulseIcon,Qa as Route,cd as RouteDotIcon,js as RouteIcon,Fs as RouteMapIcon,ld as RoutePathIcon,ad as RoutePinIcon,dd as RouteTwoPinsIcon,sd as RoutesIcon,kp as SPACING_GAP,yd as ScenariosIcon,Uc as Search,xg as SearchBar,Ha as SearchIcon,Yd as SectionHeader,_s as SentryBugIcon,rd as SentryIcon,st as SentryLogger,Gc as Server,Cl as ServerIcon,wt as Settings,_a as SettingsIcon,Yc as SettingsSolid,Kc as Shield,Wa as ShieldIcon,cl as Smartphone,dl as SmartphoneIcon,oa as Square,ia as SquareDashed,Ja as SquareDashedIcon,Ya as SquareIcon,Gs as StackPulseIcon,Kp as StandaloneHistoryList,cu as StatsCard,nu as StatusBadge,gg as StatusIndicator,fd as StorageIcon,Ws as StorageStackIcon,Ed as StorageTypeBadge,Rt as Subscribable,Yo as TIER_LIMITS,jl as TIME_MACHINE_ICON_COLOR,Du as TRANSPARENT,su as TabSelector,na as TestTube2,Va as TestTube2Icon,er as TickProvider,pg as TimeDisplay,Fl as TimeMachineIcon,ul as Timer,gl as TimerIcon,Vg as ToggleRow,Et as ToolBackground,au as ToolButton,dg as ToolEmptyState,Bg as ToolFooter,Vd as ToolbarClearButton,_d as ToolbarCopyButton,pl as Touchpad,fl as TouchpadIcon,Xc as Trash,Jc as Trash2,Fa as Trash2Icon,$l as TrashIcon,Za as TriangleAlert,Ol as TriangleAlertIcon,ru as TypeBadge,qc as Unlock,Il as UnlockIcon,_o as UpgradeModal,Bo as UpgradePrompt,Qc as Upload,Rl as UploadIcon,Zc as User,Bl as UserIcon,hl as Users,ml as UsersIcon,Cd as ValueTypeBadge,Rg as ViewToggleCards,bl as Volume,yl as VolumeIcon,Lu as WATER_CELLS,Mu as WATER_FRAMES,Au as WATER_ROW0,Iu as WATER_ROWS,Ot as WIRE_DETAIL_LIMIT_BYTES,pi as WIRE_INLINE_LIMIT_BYTES,ed as Wifi,xd as WifiBifIcon,Vs as WifiCircuitIcon,wl as WifiIcon,wg as WindowControls,tp as Wormhole,nd as X,td as XCircle,Ua as XCircleIcon,ja as XIcon,ec as ZUSTAND_ICON_COLOR,od as Zap,Ga as ZapIcon,Zl as ZustandIcon,Ro as absoluteFill,Vt as add,ot as approxJsonSize,be as assertAccountAccess,gp as backgroundStore,$r as browserRouter,U as buoyColors,Ep as calculateTargetPosition,Cp as calculateTooltipPosition,hh as canOpenBuoyTools,hi as capDetail,wi as classifyPreviewItem,Li as clearEntries,Ad as copyToClipboard,Rd as createAutoDetectedClipboard,yi as createRestoreScope,Xf as createSyncAdapter,eh as createToolFactory,ai as createToolStore,zu as cycleIndexes,Ni as definePersistedSetting,Zf as defineToolPreset,Yf as detailByIdAction,Z as devToolsStorageKeys,So as dialColors,$p as dismissFloatingTool,ch as dispatchToolAction,Co as displayValue,xi as emptyRestoreResult,Ci as entityColor,Mn as expandKeyedArrays,vi as failedRestore,ui as findKeyPath,Bu as flatColors,br as flattenObject,Pi as formatBytes,Eh as formatDuration,Dh as formatHttpStatus,Rh as formatNumber,yr as formatPath,Zo as formatRelativeTime,fr as formatValue,Ei as formatValuePreview,x as gameUIColors,ee as getAccountAccess,Pd as getAutoDetectedClipboard,Ap as getBubbleAnchorPosition,Bi as getBubbleVisibilitySettings,vr as getCachedOptionalModule,cr as getConstructorName,Lr as getDevServerOrigin,Jr as getDeviceInfo,Ii as getEntries,Lp as getFloatingTools,$h as getMethodColor,dp as getPreset,zp as getRegisteredToolModule,wr as getRenderCaptureProvider,qo as getSafeAreaInsets,_r as getSafeCurrentPathname,Wr as getSafeCurrentRoute,Hr as getSafeRouter,Tp as getScreenCenterY,np as getSkyScrub,Cr as getStateSnapshotProvider,Tr as getStateSnapshotProviders,Io as getStorageBackendType,_e as getToolAdapters,bh as getToolAttention,Hp as getToolModuleVersion,hr as getTypeColor,Ct as getUseAccountAccess,Wo as getUseIsPro,Vo as getUseLicense,Fo as getUseTier,ur as getValueSize,sr as getValueType,Ou as gridKey,Hn as guardToolAdapter,_ as hasAccountAccess,Dt as identityField,ce as ignoredPatternsStore,Po as isDevToolsStorageKey,dr as isEmpty,Vr as isExpoRouterAvailable,Pt as isJsonSerializable,Vf as isOnDeviceMarker,$t as isOverWireBudget,gr as isPlainObjectUtil,ar as isPrimitive,zn as isToolRegistryReady,An as isUrlIgnored,Ao as isUsingPersistentStorage,lr as isValidJson,ze as listShapes,ah as listSnapshotToolIds,sh as listToolActions,ih as listToolIds,xr as loadOptionalModule,Xr as logDeviceInfo,Be as macOSColors,jf as memoByIdentity,bi as mergeChangeSources,Id as monoFont,Wu as motionUnits,Uf as newestFitting,d as night,jd as noWindowDragProps,Ne as normalizeEnvironment,ke as notifySubscriberCountChange,Wf as onDeviceMarker,fh as openBuoyTool,Dp as openFloatingTool,Nu as ottoCycle,Cu as ottoReel,Ru as ottoRuns,eg as ottoSceneBounds,Zu as ottoSceneRuns,_u as ottoSheets,mu as ottoWaterRows,Eo as parseDisplayValue,On as parsePath,Oh as parseUrl,pr as parseValue,If as patchFromPath,O as persistentStorage,cp as presetAt,lp as presetIndex,mi as readParams,Af as readPath,lh as readToolSnapshot,Hu as rectsOf,vo as refreshGameUIColors,$f as refusalText,Mr as registerBrowserRouter,Op as registerPersistentFloatingTool,kr as registerStateSnapshotProvider,rh as registerToolAdapters,Np as registerToolModules,ph as registerToolOpener,Pr as reloadApp,Eu as renderOttoFrame,Qu as renderOttoScene,jr as resetPersistedStateCache,Ko as resolveEffectiveTier,ug as resolveListEmptyState,Rr as resolveReloadStrategy,jo as retryAccountAccess,wo as safeStringify,Yg as scatter,Ir as scheduleReloadApp,Di as sentryLogger,Sg as setExpandableWindowControls,Sr as setRenderCaptureProvider,op as setSkyScrub,mh as setToolAttention,Ri as shallowDiffSummary,nt as shapeKind,tt as shapeOf,Cf as shapeSummary,kf as shapesWereTruncated,Gf as sizeOrStub,Ug as sizeWarningLevel,Si as skippedRestore,le as subscribeAccountAccess,Dr as subscribeBrowserNavigation,Mp as subscribeFloatingTools,Er as subscribeToStateSnapshotProviders,ir as subscribeToSubscriberCountChanges,yh as subscribeToolAttention,rr as subscriberCountNotifier,Df as suggestedPatch,To as superJsonDeserialize,ko as superJsonSerialize,Ff as toWire,bp as toolTheme,Ah as truncateMiddle,Ph as truncatePayload,mr as truncateText,fi as truncatedNote,Nn as typedEditViolations,Ti as unionKeys,Tf as unshapedLists,It as urlMatchesIgnoredPattern,jp as useAllHistoryEntries,Ur as useChangeLog,Fg as useChipTap,Kr as useDeviceInfo,Yr as useEventStoreEvents,zo as useFeatureGate,Xo as useFilterManager,Bd as useGameUIAlertState,Mo as useHintsContext,Tt as useHintsDisabled,Fp as useHistoryAdapter,Vp as useHistoryAdapters,Wp as useHistoryContext,Up as useHistoryEntryCounts,ii as useIgnoredPatterns,Jo as useLimit,Jg as useLoop,Gu as useOttoAnchorMotion,ju as useOttoReel,Fr as usePersistedState,Xg as usePulse,nr as useRelativeTime,Qo as useSafeAreaInsets,zr as useSafeGlobalSearchParams,Br as useSafePathname,Or as useSafeRouter,Nr as useSafeSegments,rp as useSkyScrub,Gr as useSubscribedValue,tr as useTick,pp as useToolBackground,dh as waitForToolRegistry,Fd as windowDragProps,Kg as withBgAlpha,ki as wontApply};
|
|
14
|
+
`}),Ne("div",{"data-account-launcher":"",children:Ne(Rs,{expanded:e,onPress:()=>t(n=>!n)})}),e&&Ne("section",{ref:r,className:"buoy-account-panel",role:"dialog","aria-labelledby":s,tabIndex:-1,onBlur:n=>{n.relatedTarget instanceof Node&&!a.current?.contains(n.relatedTarget)&&o(false)},children:Ne($s,{titleId:s,onClose:()=>o()})})]}),document.body)}import{useState as te,useRef as z,useEffect as ae,useLayoutEffect as Yg,useCallback as D,memo as Dt,isValidElement as Kg,cloneElement as Jg}from"react";var et=class{static async save(e,t){this.cache.set(e,t);try{await j.setItem(e,JSON.stringify(t))}catch{}}static async load(e){if(this.cache.has(e))return this.cache.get(e);try{let t=await j.getItem(e);if(t){let a=JSON.parse(t);return this.cache.set(e,a),a}}catch{}return null}static saveMinimized(e,t){return this.save(e,{mode:t.mode,panelHeight:t.panelHeight,dimensions:t.floatingDimensions&&t.floatingPosition?{...t.floatingDimensions,top:t.floatingPosition.y,left:t.floatingPosition.x}:void 0,isVisible:false})}};et.cache=new Map;import{jsx as p,jsxs as H}from"react/jsx-runtime";var P={base:"#121212",card:"#1A1A1A",border:"#333333",textMuted:"#888888",primary:"#20C997"},B={primary:"#F5F5F7",primaryLight:"#F5F5F7",secondary:"#A1A1A6",muted:"#8E8E93",success:"#34C759",info:"#00B8E6"},qg=100,Xg=400,za=500,ze=80,tt=()=>typeof window<"u"?window.innerWidth:0,le=()=>typeof window<"u"?window.innerHeight:0,_a=e=>1-Math.pow(1-e,3),_e=e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2;function me(e,t,a,r){let s=0,o=false,n=performance.now(),i=l=>{if(o)return;let h=Math.min((l-n)/e,1);a(t(h)),h<1?s=requestAnimationFrame(i):r?.()};return s=requestAnimationFrame(i),()=>{o=true,cancelAnimationFrame(s)}}function Qg(){if(typeof document>"u")return{top:0,left:0,right:0,bottom:0};let e=document.createElement("div");e.style.cssText="position:fixed;top:env(safe-area-inset-top);left:env(safe-area-inset-left);right:env(safe-area-inset-right);bottom:env(safe-area-inset-bottom);visibility:hidden;pointer-events:none",document.body.appendChild(e);let t=e.getBoundingClientRect();return document.body.removeChild(e),{top:Math.max(0,t.top),left:Math.max(0,t.left),right:Math.max(0,window.innerWidth-t.right),bottom:Math.max(0,window.innerHeight-t.bottom)}}function Nt(e,t){let a=Math.max(ze,window.innerWidth-t.left-t.right),r=Math.max(ze,window.innerHeight-t.top-t.bottom),s=Math.min(e.width,a),o=Math.min(e.height,r);return{width:s,height:o,left:Math.max(t.left,Math.min(e.left,window.innerWidth-t.right-s)),top:Math.max(t.top,Math.min(e.top,window.innerHeight-t.bottom-o))}}var Zg=({size:e=24,color:t="currentColor",strokeWidth:a=2})=>H("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:[p("line",{x1:18,y1:6,x2:6,y2:18,stroke:t,strokeWidth:a,strokeLinecap:"round"}),p("line",{x1:6,y1:6,x2:18,y2:18,stroke:t,strokeWidth:a,strokeLinecap:"round"})]}),ep=({size:e=24,color:t="currentColor",strokeWidth:a=2})=>p("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:p("line",{x1:5,y1:12,x2:19,y2:12,stroke:t,strokeWidth:a,strokeLinecap:"round"})}),tp=({size:e=24,color:t="currentColor",strokeWidth:a=2})=>H("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:[p("rect",{x:3,y:3,width:18,height:18,rx:2,stroke:t,strokeWidth:a}),p("rect",{x:3,y:14,width:18,height:7,fill:t})]}),ap=({size:e=24,color:t="currentColor",strokeWidth:a=2})=>H("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:[p("rect",{x:3,y:3,width:14,height:14,rx:2,stroke:t,strokeWidth:a}),p("line",{x1:7,y1:17,x2:7,y2:21,stroke:t,strokeWidth:a}),p("line",{x1:7,y1:21,x2:21,y2:21,stroke:t,strokeWidth:a}),p("line",{x1:21,y1:21,x2:21,y2:7,stroke:t,strokeWidth:a}),p("line",{x1:17,y1:7,x2:21,y2:7,stroke:t,strokeWidth:a})]}),zt={close:"#FF5F57",minimize:"#FEBC2E",toggleMode:"#28C840"},_t=24,rp=2,Wt=8,Ft=e=>({width:_t,height:_t,borderRadius:_t/2,display:"flex",alignItems:"center",justifyContent:"center",background:`radial-gradient(circle, ${e} 6px, transparent 6px)`,border:"none",padding:0,cursor:"pointer",flexShrink:0});function sp({onClose:e,onMinimize:t,onToggleMode:a,mode:r}){let s=r==="floating"?tp:ap,o=r==="floating"?"Dock to bottom sheet":"Make floating window";return H("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",gap:rp},children:[t&&p("button",{type:"button",onClick:t,style:Ft(zt.minimize),"aria-label":"Minimize modal",children:p(ep,{size:Wt,color:"#7A5A00",strokeWidth:1.5})}),a&&p("button",{type:"button",onClick:a,style:Ft(zt.toggleMode),"aria-label":o,children:p(s,{size:Wt,color:"#004A1A",strokeWidth:1.5})}),p("button",{type:"button",onClick:e,style:Ft(zt.close),"aria-label":"Close modal",children:p(Zg,{size:Wt,color:"#4A0000",strokeWidth:1.5})})]})}var Wa=Dt(function({isResizing:e,mode:t,hasCustomContent:a=false,variant:r="default"}){let s=t==="floating",o=r==="night";return H("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",position:"relative",justifyContent:a?"center":void 0,minHeight:a?32:void 0,paddingTop:a?0:8,paddingBottom:a?0:8,backgroundColor:"transparent"},children:[p("div",{style:{width:o?36:e?40:s?50:40,height:o||s?5:3,backgroundColor:o?d.color.placeholder:e?P.primary:s?P.textMuted:P.primary,borderRadius:o?2.5:2,boxShadow:o?"none":`0 0 4px ${P.primary}99`}}),e&&t==="bottomSheet"&&p("div",{style:{position:"absolute",display:"flex",flexDirection:"row",gap:2,marginTop:12},children:[0,1,2].map(n=>p("div",{style:{width:12,height:1,backgroundColor:B.success,opacity:.6}},n))})]})}),op=Dt(function({onAcknowledge:e}){return p("div",{style:{backgroundColor:`${B.info}15`,borderLeft:`3px solid ${B.info}`,borderRadius:8,margin:"8px 12px 4px",overflow:"hidden",boxShadow:`0 0 8px ${B.info}4D`,flexShrink:0},children:H("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",padding:12,gap:12},children:[H("div",{style:{width:32,height:32,position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:[p("div",{style:{position:"absolute",width:20,height:20,borderRadius:10,border:`2px solid ${B.info}`,opacity:.6,transform:"scale(0.8)",boxSizing:"border-box"}}),p("div",{style:{position:"absolute",width:20,height:20,borderRadius:10,border:`2px solid ${B.info}`,boxSizing:"border-box"}})]}),H("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:2},children:[p("span",{style:{fontSize:13,fontWeight:600,color:B.info,letterSpacing:.3},children:"\u{1F4A1} Pro Tip"}),p("span",{style:{fontSize:12,color:B.primaryLight,lineHeight:"16px"},children:"Double-tap the header to transform this into a floating modal"})]}),p("button",{type:"button",onClick:e,style:{backgroundColor:`${B.info}30`,padding:"6px 12px",borderRadius:6,border:`1px solid ${B.info}50`,fontSize:12,fontWeight:600,color:B.info,cursor:"pointer",fontFamily:"inherit",flexShrink:0},children:"Got it!"})]})})});function Fa({header:e,isResizing:t,mode:a,onMinimize:r,variant:s="default"}){if(e?.customContent){let o=e.customContent;return Kg(e.customContent)&&r&&(o=Jg(e.customContent,{onMinimize:r})),H("div",{style:{flex:1,display:"flex",flexDirection:"column",justifyContent:"center",minWidth:0},children:[p(Wa,{isResizing:t,mode:a,hasCustomContent:true,variant:s}),o]})}return H("div",{style:{flex:1,display:"flex",flexDirection:"column",justifyContent:"center",position:"relative",minWidth:0},children:[p(Wa,{isResizing:t,mode:a,variant:s}),H("div",{style:{padding:"0 16px",display:"flex",flexDirection:"column",alignItems:"center"},children:[e?.title&&p("span",{style:{fontSize:16,fontWeight:600,color:B.primary},children:e.title}),e?.subtitle&&p("span",{style:{fontSize:12,color:B.secondary,paddingTop:4},children:e.subtitle})]}),p("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:p("span",{style:{fontSize:10,color:B.muted,fontStyle:"italic"},children:"Double tap: Toggle \u2022 Triple tap: Close"})})]})}var np=({visible:e,onClose:t,children:a,header:r,styles:s={},minHeight:o=qg,maxHeight:n,initialHeight:i=Xg,animatedHeight:l,benchMotion:h,initialMode:b="bottomSheet",onModeChange:S,persistenceKey:f,enablePersistence:m=true,initialFloatingPosition:C,footer:$,footerHeight:V=0,onBack:se,onMinimize:N,minimizeRequest:y=0,minimizeTargetPosition:Q,initialModalState:L,zIndex:We,disableScrollWrapper:Ja=false,background:Vt=true,variant:ot="night"})=>{let[Y]=te(Qg),[Gt,Yt]=te(!m),[O,nt]=te(b),Fe=z(S);Fe.current=S;let[ke,ce]=te(false),[it,Te]=te(false),[qa,lt]=te(i),[Z,Ie]=te(()=>Nt({width:tt(),height:za,top:C?.y??(le()-za)/2,left:C?.x??0},Y)),[Xa,je]=te(false),[Qa,Kt]=te(false),Za=ia(),de=z(i),K=z(Z),W=z({x:Z.left,y:Z.top}),He=z(null),ct=z(null),ee=z(null),ue=z([]),q=D(()=>{ue.current.forEach(c=>c()),ue.current=[]},[]);ae(()=>{K.current=Z},[Z]),ae(()=>q,[q]);let Jt=n||le()-Y.top;ae(()=>{if(!m||!f){Yt(true);return}let c=true;return(async()=>{let u=await et.load(f);if(c&&u&&(u.mode&&(nt(u.mode),Fe.current?.(u.mode)),u.panelHeight&&(lt(u.panelHeight),de.current=u.panelHeight),u.dimensions)){let v=Nt(u.dimensions,Y);Ie(v),W.current={x:v.left,y:v.top}}c&&Yt(true)})(),()=>{c=false}},[f,m]),ae(()=>{if(!m||!f||!Gt)return;let c=setTimeout(()=>{et.save(f,{mode:O,panelHeight:de.current,dimensions:Z,isVisible:e})},500);return()=>clearTimeout(c)},[O,qa,Z,e,f,m,Gt]),ae(()=>{let c=true;return(async()=>{try{let u=fe.modal.hintAcknowledged(),v=await j.getItem(u);c&&(je(v!=="true"),Kt(true))}catch{c&&(je(true),Kt(true))}})(),()=>{c=false}},[]);let er=D(async()=>{try{let c=fe.modal.hintAcknowledged();await j.setItem(c,"true"),je(false)}catch{je(false)}},[]),dt=D(()=>{Te(false),ce(false);let c=O==="bottomSheet"?"floating":"bottomSheet";nt(c),Fe.current?.(c)},[O]);ae(()=>{Te(false),ce(false)},[O]);let he=D(()=>{if(!N)return;let c={mode:O,panelHeight:de.current,floatingPosition:{x:K.current.left,y:K.current.top},floatingDimensions:{width:K.current.width,height:K.current.height}};m&&f&&et.saveMinimized(f,c);let u=Q?.x??tt()-50,v=Q?.y??le()-150;if(q(),O==="bottomSheet"){let T=He.current;if(!T){N(c);return}let w=le();ue.current.push(me(300,_e,A=>{T.style.opacity=String(1-A),T.style.transform=`translateY(${A*w}px)`},()=>N(c)))}else{let T=ee.current;if(!T){N(c);return}let w={...W.current};ue.current.push(me(300,_e,A=>{T.style.opacity=String(1-A);let ge=w.x+(u-w.x)*A,pe=w.y+(v-w.y)*A;T.style.transform=`translate(${ge}px, ${pe}px)`},()=>N(c)))}},[O,N,Q,q,m,f]),qt=z(y);ae(()=>{qt.current!==y&&(qt.current=y,he())},[y,he]),ae(()=>{if(L&&(L.mode&&(nt(L.mode),Fe.current?.(L.mode)),L.panelHeight&&(lt(L.panelHeight),de.current=L.panelHeight),L.floatingDimensions&&L.floatingPosition)){let c={width:L.floatingDimensions.width,height:L.floatingDimensions.height,top:L.floatingPosition.y,left:L.floatingPosition.x};Ie(c),W.current={x:L.floatingPosition.x,y:L.floatingPosition.y}}},[L]),Yg(()=>{if(e)if(q(),O==="bottomSheet"){let c=He.current;if(!c)return;let u=le();c.style.transform=`translateY(${u}px)`,c.style.opacity="0",ue.current.push(me(300,_a,v=>{c.style.transform=`translateY(${(1-v)*u}px)`}),me(200,_e,v=>{c.style.opacity=String(v)}))}else{let c=ee.current;if(!c)return;W.current={x:K.current.left,y:K.current.top},c.style.transform=`translate(${W.current.x}px, ${W.current.y}px)`,c.style.opacity="0",ue.current.push(me(200,_e,u=>{c.style.opacity=String(u)}))}},[e,O,q]);let Xt=z(0),Ee=z(0),Ae=z(null),Ue=D(()=>{let c=Date.now();c-Xt.current>500&&(Ee.current=0),Ee.current++,Xt.current=c,Ae.current&&clearTimeout(Ae.current),Ae.current=setTimeout(()=>{Ee.current===2?dt():Ee.current>=3&&N&&he(),Ee.current=0},300)},[dt,N,he]);ae(()=>()=>{Ae.current&&clearTimeout(Ae.current)},[]);let Ve=z({active:false,resizing:false,startY:0,headerOffsetY:0,samples:[]}),tr=D(c=>{if(O!=="bottomSheet"||c.button!==0||c.target.closest('button, a, input, textarea, select, [role="button"], [role="tab"], [role="switch"], [contenteditable="true"], [tabindex]'))return;let u=Ve.current;u.active=true,u.resizing=false,u.startY=c.clientY;let v=c.currentTarget.getBoundingClientRect();u.headerOffsetY=c.clientY-v.top,u.samples=[{t:performance.now(),y:c.clientY}],c.currentTarget.setPointerCapture(c.pointerId)},[O]),ar=D(c=>{let u=Ve.current;if(!u.active)return;let v=c.clientY-u.startY;if(!u.resizing&&Math.abs(v)>3&&(u.resizing=true,q(),ce(true)),!u.resizing)return;let T=c.clientY-u.headerOffsetY,w=le()-T;w=Math.max(o,Math.min(w,Jt)),de.current=w,ct.current&&(ct.current.style.height=`${w}px`);let A=performance.now();for(u.samples.push({t:A,y:c.clientY});u.samples.length>2&&A-u.samples[0].t>100;)u.samples.shift()},[o,Jt,q]),rr=D(c=>{let u=Ve.current;if(!u.active)return;if(u.active=false,!u.resizing){Ue();return}ce(false);let v=de.current,T=c.clientY-u.startY,w=u.samples[0],A=u.samples[u.samples.length-1];if((A&&w&&A.t>w.t?(A.y-w.y)/(A.t-w.t):0)>.8&&T>50||T>150&&v<=o){let ge=He.current;if(q(),ge){let pe=le();ue.current.push(me(200,_e,F=>{ge.style.opacity=String(1-F)}),me(300,_a,F=>{ge.style.transform=`translateY(${F*pe}px)`},()=>t()))}else t();return}lt(v)},[o,t,Ue,q]),sr=D(()=>{let c=Ve.current;c.active&&(c.active=false,c.resizing=false,ce(false))},[]),Ge=z({active:false,dragging:false,startX:0,startY:0,startPos:{x:0,y:0}}),or=D(c=>{if(O!=="floating"||ke||c.button!==0||c.target.closest('button, a, input, textarea, select, [role="button"], [role="tab"], [role="switch"], [contenteditable="true"], [tabindex]'))return;let u=Ge.current;u.active=true,u.dragging=false,u.startX=c.clientX,u.startY=c.clientY,u.startPos={...W.current},c.currentTarget.setPointerCapture(c.pointerId)},[O,ke]),nr=D(c=>{let u=Ge.current;if(!u.active)return;let v=c.clientX-u.startX,T=c.clientY-u.startY;if(!u.dragging&&Math.abs(v)+Math.abs(T)>5&&(u.dragging=true,Te(true)),!u.dragging)return;let w=u.startPos.x+v,A=u.startPos.y+T;W.current={x:w,y:A},ee.current&&(ee.current.style.transform=`translate(${w}px, ${A}px)`)},[]),ir=D(()=>{let c=Ge.current;if(!c.active)return;if(c.active=false,!c.dragging){Ue();return}Te(false);let u=K.current,v=Nt({...u,left:W.current.x,top:W.current.y},Y),T=v.left,w=v.top;W.current={x:T,y:w},ee.current&&(ee.current.style.transform=`translate(${T}px, ${w}px)`),Ie(A=>({...A,left:T,top:w}))},[Y,Ue]),lr=D(()=>{let c=Ge.current;c.active&&(c.active=false,c.dragging=false,Te(false))},[]),ut=z({active:false,corner:"bottomRight",startX:0,startY:0,start:{width:0,height:0,top:0,left:0}}),cr=D(c=>u=>{if(O!=="floating")return;u.stopPropagation();let v=ut.current;v.active=true,v.corner=c,v.startX=u.clientX,v.startY=u.clientY,v.start={...K.current},ce(true),u.currentTarget.setPointerCapture(u.pointerId)},[O]),dr=D(c=>{let u=ut.current;if(!u.active)return;let v=c.clientX-u.startX,T=c.clientY-u.startY;if(Math.abs(v)<.5&&Math.abs(T)<.5)return;let w=Math.max(0,Y.left),A=le()-Math.max(0,Y.bottom),ge=tt()-Math.max(0,Y.right),pe=tt()*.25,F=u.start,ht=F.left+F.width,gt=F.top+F.height,Re=F.left,Ye=F.top,ra=ht,pt=gt;u.corner==="bottomLeft"?(Re=Math.max(w,Math.min(F.left+v,ht-pe)),pt=Math.min(A,Math.max(gt+T,F.top+ze))):(ra=Math.min(ge,Math.max(ht+v,F.left+pe)),pt=Math.min(A,Math.max(gt+T,F.top+ze)));let ur=Math.max(pe,ra-Re),hr=Math.max(ze,pt-Ye),sa={width:ur,height:hr,left:Re,top:Ye};K.current=sa,W.current={x:Re,y:Ye},Ie(sa),ee.current&&(ee.current.style.transform=`translate(${Re}px, ${Ye}px)`)},[Y.left,Y.right,Y.bottom]),Qt=D(()=>{let c=ut.current;c.active&&(c.active=false,ce(false),Ie(K.current))},[]);if(!e)return p("div",{style:{display:"none"},"aria-hidden":true,children:a},"hidden");let Zt=r?.title||"Dev tool panel",E=ot==="night",ea=Vt&&E?p("div",{style:{position:"absolute",inset:0,pointerEvents:"none"},"aria-hidden":true,children:p(mt,{})}):null,ta=H("div",{style:{flex:1,minHeight:0,position:"relative",display:"flex",flexDirection:"column",backgroundColor:E?"transparent":P.base,borderBottomLeftRadius:16,borderBottomRightRadius:16,overflow:"hidden",...s.content},children:[Vt&&!E?p(mt,{}):null,Ja?p("div",{style:{flex:1,minHeight:0,display:"flex",flexDirection:"column",paddingBottom:V},children:a}):p("div",{style:{flex:1,minHeight:0,overflowY:"auto",paddingBottom:V},children:a}),$?p("div",{style:{position:"absolute",left:0,right:0,bottom:0,backgroundColor:P.base,borderBottomLeftRadius:16,borderBottomRightRadius:16},children:$}):null]}),aa=p("div",{style:{position:"absolute",top:4,right:4,zIndex:10},children:p(sp,{onClose:t,onMinimize:N?he:void 0,onToggleMode:dt,mode:O})});if(O==="floating"){let c=it||ke;return H("div",{ref:ee,role:"dialog","aria-label":Zt,style:{position:"fixed",left:0,top:0,width:Z.width,height:Z.height,transform:`translate(${W.current.x}px, ${W.current.y}px)`,display:"flex",flexDirection:"column",backgroundColor:E?d.color.bg:P.card,borderRadius:E?d.radius.sheet:6,border:E?`1px solid ${d.color.accent}55`:c?`2px solid ${P.primary}`:`1px solid ${P.border}`,boxShadow:E?`0 0 14px ${d.color.accent}38`:c?`0 0 12px ${P.primary}7A`:`0 0 20px ${P.primary}4D`,...E?{overflow:"hidden"}:null,boxSizing:"border-box",zIndex:We??1e3,...s.container},children:[ea,p("div",{onPointerDown:or,onPointerMove:nr,onPointerUp:ir,onPointerCancel:lr,style:{borderTopLeftRadius:E?d.radius.sheet:6,borderTopRightRadius:E?d.radius.sheet:6,backgroundColor:E?"transparent":P.card,minHeight:56,border:E?"none":`1px solid ${P.border}`,boxSizing:"border-box",display:"flex",flexDirection:"column",justifyContent:"center",flexShrink:0,touchAction:"none",userSelect:"none",cursor:it?"grabbing":"grab",position:"relative"},children:p(Fa,{header:r,isResizing:it||ke,mode:O,onMinimize:N?he:void 0,variant:ot})}),aa,ta,["bottomLeft","bottomRight"].map(u=>p("div",{onPointerDown:cr(u),onPointerMove:dr,onPointerUp:Qt,onPointerCancel:Qt,style:{position:"absolute",width:30,height:30,bottom:4,...u==="bottomLeft"?{left:4}:{right:4},zIndex:1e3,touchAction:"none",cursor:u==="bottomLeft"?"nesw-resize":"nwse-resize"},children:p("div",{style:{width:20,height:20,borderRadius:10,boxSizing:"border-box",backgroundColor:c?`${B.success}1A`:"transparent",border:c?`2px solid ${B.success}`:"none",boxShadow:c?`0 0 8px ${B.success}99`:"none"}})},u))]},"floating")}return p("div",{style:{position:"fixed",inset:0,zIndex:We??1e3,pointerEvents:"none"},children:p("div",{ref:He,style:{position:"absolute",bottom:0,left:0,right:0,pointerEvents:"auto"},children:H("div",{ref:ct,role:"dialog","aria-label":Zt,style:{height:de.current,display:"flex",flexDirection:"column",backgroundColor:E?d.color.bg:P.card,borderTopLeftRadius:E?d.radius.sheet:6,borderTopRightRadius:E?d.radius.sheet:6,border:E?`1px solid ${d.color.accent}55`:`1px solid ${P.border}`,boxShadow:E?`0 -4px 10px ${d.color.accent}38`:`0 -4px 12px ${P.primary}33`,...E?{overflow:"hidden"}:null,boxSizing:"border-box",position:"relative",...s.container},children:[ea,p("div",{onPointerDown:tr,onPointerMove:ar,onPointerUp:rr,onPointerCancel:sr,style:{borderTopLeftRadius:E?d.radius.sheet:6,borderTopRightRadius:E?d.radius.sheet:6,backgroundColor:E?"transparent":P.card,minHeight:56,border:E?"none":`1px solid ${P.border}`,boxSizing:"border-box",display:"flex",flexDirection:"column",justifyContent:"center",flexShrink:0,touchAction:"none",userSelect:"none",cursor:"ns-resize",position:"relative"},children:p(Fa,{header:r,isResizing:ke,mode:O,onMinimize:N?he:void 0,variant:ot})}),aa,Qa&&Xa&&!Za&&p(op,{onAcknowledge:er}),ta]})})},"bottomSheet")},ip=Dt(e=>da()().status!=="admitted"?e.visible?p(Na,{}):null:p(np,{...e}));import{Children as lp,useEffect as cp,useRef as dp}from"react";import{Fragment as up,jsx as _,jsxs as at}from"react/jsx-runtime";function hp({children:e,style:t}){return _(M,{style:[g.sectionLabel,t],children:e})}function gp({children:e,centered:t,tone:a="tertiary",style:r}){let s=$e.flatten(r),o=!!s&&(s.marginHorizontal!=null||s.margin!=null);return _(M,{style:[g.footnote,o?null:g.footnoteInset,a==="secondary"?g.footnoteSecondary:null,a==="warning"?g.footnoteWarning:null,a==="danger"?g.footnoteDanger:null,t?g.footnoteCentered:null,r],children:e})}function pp({children:e,padded:t,glass:a,style:r}){return _(k,{style:[g.card,a?g.cardGlass:null,t?g.cardPadded:null,r],children:e})}function ja({inset:e=d.rowPadH}){return _(k,{style:[g.separator,{marginLeft:e}]})}function fp({children:e,inset:t=d.rowPadH}){let a=lp.toArray(e);return _(up,{children:a.map((r,s)=>at(k,{children:[s>0?_(ja,{inset:t}):null,r]},r.key??s))})}var Ha=56,Ua=32,rt=22,Va=5,bp=Ha-rt-Va*2;function mp({value:e,onValueChange:t,disabled:a,testID:r,accessibilityLabel:s}){let o=dp(new St.Value(e?1:0)).current;return cp(()=>{St.timing(o,{toValue:e?1:0,duration:200,useNativeDriver:mh.OS!=="web"}).start()},[e,o]),_(Je,{activeOpacity:.8,disabled:a,onPress:()=>t(!e),testID:r,accessibilityLabel:s,accessibilityRole:"switch",accessibilityState:{checked:e,disabled:a},hitSlop:{top:8,bottom:8,left:8,right:8},style:[g.switchTrack,e?g.switchTrackOn:null,a?g.switchDisabled:null],children:_(St.View,{style:[g.switchThumb,e?g.switchThumbOn:null,{transform:[{translateX:o.interpolate({inputRange:[0,1],outputRange:[0,bp]})}]}]})})}function yp({label:e,selected:t,onPress:a,disabled:r,icon:s,testID:o}){return at(Je,{activeOpacity:.7,disabled:r||!a,onPress:a,testID:o,style:[g.chip,t?g.chipSelected:null,r?g.chipDisabled:null],children:[s,_(M,{style:[g.chipText,t?g.chipTextSelected:null],children:e})]})}function Sp({label:e,onPress:t,variant:a="secondary",size:r="lg",icon:s,disabled:o,fullWidth:n=true,testID:i,accessibilityLabel:l}){let h=a==="primary"?d.color.onAccent:a==="tertiary"?d.color.text:a==="destructive"?d.color.danger:d.color.accent;return at(Je,{activeOpacity:.7,disabled:o,onPress:t,testID:i,accessibilityRole:"button",accessibilityLabel:l??e,accessibilityState:{disabled:!!o},style:[g.button,r==="md"?g.buttonMd:g.buttonLg,a==="primary"?g.buttonPrimary:a==="ghost"?g.buttonGhost:g.buttonPlate,n?g.buttonFullWidth:null,o?g.buttonDisabled:null],children:[s,_(M,{style:[r==="md"?g.buttonTextMd:g.buttonTextLg,{color:h}],children:e})]})}function vp({tabs:e,activeKey:t,onChange:a,size:r="md",glass:s,testIDPrefix:o}){let n=r==="sm";return _(k,{style:[g.segmentTrack,s?g.segmentTrackGlass:null],children:e.map(i=>{let l=i.key===t;return at(Je,{activeOpacity:.7,testID:o?`${o}-${i.key}`:void 0,accessibilityRole:"tab",accessibilityState:{selected:l},accessibilityLabel:i.label,onPress:()=>a(i.key),style:[g.segment,n?g.segmentSm:null,l?s?g.segmentActiveGlass:g.segmentActive:null],children:[_(M,{style:[g.segmentText,n?g.segmentTextSm:null,l?g.segmentTextActive:null],children:i.label}),l?_(k,{style:[g.segmentUnderline,n?g.segmentUnderlineSm:null]}):null]},i.key)})})}function xp({label:e,tone:t="neutral"}){let a=t==="accent"?g.badgeAccent:t==="warning"?g.badgeWarning:t==="danger"?g.badgeDanger:t==="info"?g.badgeInfo:g.badgeNeutral,r=t==="accent"?g.badgeTextAccent:t==="warning"?g.badgeTextWarning:t==="danger"?g.badgeTextDanger:t==="info"?g.badgeTextInfo:g.badgeTextNeutral;return _(k,{style:[g.badge,a],children:_(M,{style:[g.badgeText,r],children:e})})}var g=$e.create({sectionLabel:{color:d.color.textSecondary,fontSize:d.font.label,fontWeight:"600",letterSpacing:ua,textTransform:"uppercase",marginBottom:8,marginLeft:d.labelInset},footnote:{color:d.color.textTertiary,fontSize:d.font.caption,fontWeight:"500",lineHeight:d.font.caption*1.4,marginTop:8},footnoteInset:{marginLeft:d.labelInset},footnoteSecondary:{color:d.color.textSecondary},footnoteWarning:{color:d.color.warning},footnoteDanger:{color:d.color.danger},footnoteCentered:{textAlign:"center",marginLeft:0},card:{backgroundColor:d.color.surface,borderRadius:d.radius.card,borderWidth:1,borderColor:d.color.border,overflow:"hidden"},cardGlass:{backgroundColor:d.color.glass,borderColor:d.color.glassBorder},cardPadded:{padding:d.cardPad,gap:10},separator:{height:$e.hairlineWidth,backgroundColor:d.color.separator},switchTrack:{width:Ha,height:Ua,borderRadius:Ua/2,borderWidth:1,borderColor:d.color.fillTertiary,backgroundColor:d.color.surfaceElevated,paddingHorizontal:Va,justifyContent:"center",overflow:"hidden"},switchTrackOn:{backgroundColor:d.color.accentFill,borderColor:d.color.accentBorderStrong},switchDisabled:{opacity:.4},switchThumb:{width:rt,height:rt,borderRadius:rt/2,backgroundColor:d.color.knob},switchThumbOn:{backgroundColor:d.color.accent},chip:{flexDirection:"row",alignItems:"center",gap:6,paddingHorizontal:14,paddingVertical:9,borderRadius:d.radius.chip,borderWidth:1.5,backgroundColor:d.color.buttonSurface,borderColor:d.color.fillTertiary},chipSelected:{borderColor:d.color.accentBorderStrong},chipDisabled:{opacity:.4},chipText:{fontSize:d.font.body,fontWeight:"500",color:d.color.textSecondary},chipTextSelected:{color:d.color.accent},button:{flexDirection:"row",alignItems:"center",justifyContent:"center",gap:8},buttonMd:{height:34,paddingHorizontal:16,borderRadius:17},buttonLg:{height:50,paddingHorizontal:20,borderRadius:25},buttonPrimary:{backgroundColor:d.color.accent},buttonPlate:{backgroundColor:d.color.button},buttonGhost:{backgroundColor:"transparent"},buttonFullWidth:{alignSelf:"stretch"},buttonDisabled:{opacity:.4},buttonTextMd:{fontSize:15,fontWeight:"600"},buttonTextLg:{fontSize:17,fontWeight:"600"},segmentTrack:{flex:1,flexDirection:"row",backgroundColor:d.color.bg,borderRadius:d.radius.row,borderWidth:1,borderColor:d.color.border,padding:3},segment:{flex:1,paddingVertical:8,alignItems:"center",justifyContent:"center",borderRadius:d.radius.segment},segmentTrackGlass:{backgroundColor:d.color.glass,borderColor:d.color.glassBorder},segmentActive:{backgroundColor:d.color.surfaceElevated},segmentActiveGlass:{backgroundColor:d.color.glassElevated},segmentText:{fontSize:d.font.caption,fontWeight:"500",color:d.color.textSecondary},segmentTextActive:{fontWeight:"600",color:d.color.text},segmentUnderline:{position:"absolute",bottom:2,width:24,height:2.5,borderRadius:1.25,backgroundColor:d.color.accent,shadowColor:d.color.accent,shadowOffset:{width:0,height:0},shadowOpacity:.6,shadowRadius:6},segmentSm:{paddingVertical:5},segmentTextSm:{fontSize:12},segmentUnderlineSm:{bottom:1.5,width:20,height:2,borderRadius:1},badge:{paddingHorizontal:8,paddingVertical:4,borderRadius:d.radius.badge,alignSelf:"flex-start"},badgeText:{fontSize:d.font.micro,fontWeight:"600",letterSpacing:.5,textTransform:"uppercase"},badgeAccent:{backgroundColor:d.color.accentSoft},badgeTextAccent:{color:d.color.accent},badgeWarning:{backgroundColor:d.color.warningSoft},badgeTextWarning:{color:d.color.warning},badgeDanger:{backgroundColor:d.color.dangerSoft},badgeTextDanger:{color:d.color.danger},badgeInfo:{backgroundColor:d.color.infoSoft},badgeTextInfo:{color:d.color.info},badgeNeutral:{backgroundColor:d.color.fillSecondary},badgeTextNeutral:{color:d.color.textSecondary}});import{jsx as we,jsxs as Cp}from"react/jsx-runtime";function jt(e){switch(bt(String(e))){case"dev":return{label:"DEV",backgroundColor:x.warning};case"qa":return{label:"QA",backgroundColor:x.optional};case"staging":return{label:"STAGING",backgroundColor:x.success};case"prod":return{label:"PROD",backgroundColor:x.error};case"local":default:return{label:"LOCAL",backgroundColor:x.info}}}function wp({color:e}){return we("svg",{width:12,height:12,viewBox:"0 0 24 24","aria-hidden":"true",children:we("path",{d:"M6 9l6 6 6-6",fill:"none",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}function kp({environment:e,interactive:t=false,onPress:a}){let r=jt(e);return Cp("button",{onClick:t?a:void 0,"aria-label":`Environment: ${r.label}`,style:{display:"flex",flexDirection:"row",alignItems:"center",padding:`6px ${t?4:8}px 6px 8px`,flexShrink:0,background:"none",border:"none",cursor:t?"pointer":"default"},children:[we("div",{style:{width:8,height:8,borderRadius:4,backgroundColor:r.backgroundColor,marginRight:6,boxShadow:`0 0 4px ${r.backgroundColor}99`}}),we("span",{style:{fontSize:11,fontWeight:600,color:x.primaryLight,letterSpacing:.5},children:r.label}),t&&we("span",{style:{marginLeft:2,display:"flex"},children:we(wp,{color:"#7A8599"})})]})}import{jsx as ye,jsxs as Ht}from"react/jsx-runtime";var Tp=140,Ip=28,Ga=44,Ep=8,Ap=24;function Ut(e){switch(bt(e)){case"local":return{label:"LOCAL",backgroundColor:x.info};case"dev":return{label:"DEV",backgroundColor:x.warning};case"qa":return{label:"QA",backgroundColor:x.optional};case"staging":return{label:"STAGING",backgroundColor:x.success};case"prod":return{label:"PROD",backgroundColor:x.error};default:return{label:"LOCAL",backgroundColor:x.info}}}function Rp({environment:e,isSelected:t,onPress:a}){let r=Ut(e);return Ht(yh,{onPress:a,style:({pressed:s})=>[re.optionContainer,t&&re.optionContainerSelected,s&&re.optionContainerPressed],children:[Ht(k,{style:re.optionLeft,children:[ye(k,{style:[re.optionDot,{backgroundColor:r.backgroundColor},{shadowColor:r.backgroundColor,shadowOffset:{width:0,height:0},shadowOpacity:.6,shadowRadius:4,elevation:2}]}),ye(M,{style:re.optionLabel,children:r.label})]}),t&&ye(ha,{size:14,color:x.success,strokeWidth:3})]})}function Op({hasItems:e,currentEnvironment:t,availableEnvironments:a,onSelect:r,width:s=Tp,collapsedContent:o}){let n=Ep+a.length*Ga+Ap+4,i=Ht(k,{style:re.collapsedEnvBadge,children:[ye(k,{style:[re.collapsedDot,{backgroundColor:Ut(t).backgroundColor}]}),ye(M,{style:re.collapsedLabel,children:Ut(t).label})]});return ye(la,{hasItems:e,width:s,expandedHeight:n,peekHeight:Ip,showCount:false,collapsedContent:o||i,collapsedLabel:`Switch environment from ${t}`,children:a.map(l=>ye(Rp,{environment:l,isSelected:l===t,onPress:()=>r(l)},l))})}var re=$e.create({collapsedEnvBadge:{flexDirection:"row",alignItems:"center",gap:6},collapsedDot:{width:8,height:8,borderRadius:4},collapsedLabel:{fontSize:11,fontWeight:"600",color:x.primaryLight,letterSpacing:.5},optionContainer:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:12,height:Ga,width:"100%"},optionContainerSelected:{backgroundColor:"rgba(128, 128, 128, 0.1)"},optionContainerPressed:{backgroundColor:"rgba(128, 128, 128, 0.2)"},optionLeft:{flexDirection:"row",alignItems:"center",flex:1},optionDot:{width:8,height:8,borderRadius:4,marginRight:10},optionLabel:{fontSize:12,fontWeight:"600",color:x.primaryLight,letterSpacing:.5}});import{useState as Ya}from"react";import{jsx as J,jsxs as st}from"react/jsx-runtime";var Ka=36;function Lp({color:e,flipped:t}){return J("svg",{width:10,height:10,viewBox:"0 0 24 24","aria-hidden":"true",style:{transform:t?"rotate(180deg)":"rotate(0deg)",transition:"transform 200ms ease"},children:J("path",{d:"M18 15l-6-6-6 6",fill:"none",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}function $p(){return J("svg",{width:12,height:12,viewBox:"0 0 24 24","aria-hidden":"true",children:J("path",{d:"M20 6L9 17l-5-5",fill:"none",stroke:"#4AFF9F",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})})}function Pp({currentEnvironment:e,availableEnvironments:t,onSelect:a}){let[r,s]=Ya(false),[o,n]=Ya(null),i=jt(e),l=t.length*Ka;return st("div",{style:{position:"relative",zIndex:1e3,flexShrink:0},children:[J("div",{style:{position:"absolute",bottom:"100%",left:0,right:0,height:r?l:0,opacity:r?1:0,overflow:"hidden",transition:"height 200ms ease, opacity 200ms ease",backgroundColor:"rgba(8,12,21,0.95)",border:"1px solid #00B8E666",borderBottomWidth:0,borderTopLeftRadius:6,borderTopRightRadius:6,boxShadow:"0 -4px 8px rgba(0,0,0,0.3)"},children:t.map(h=>{let b=jt(h),S=String(h).toLowerCase()===String(e).toLowerCase();return st("button",{onClick:()=>{s(false),a(h)},onMouseEnter:()=>n(String(h)),onMouseLeave:()=>n(null),style:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",height:Ka,padding:"0 10px",background:S?"rgba(128,128,128,0.1)":o===String(h)?"rgba(128,128,128,0.2)":"none",border:"none",cursor:"pointer"},children:[st("span",{style:{display:"flex",alignItems:"center"},children:[J("span",{style:{width:6,height:6,borderRadius:3,backgroundColor:b.backgroundColor,marginRight:8}}),J("span",{style:{fontSize:10,fontWeight:600,color:x.primaryLight,letterSpacing:.5},children:b.label})]}),S&&J($p,{})]},String(h))})}),st("button",{onClick:()=>s(h=>!h),"aria-expanded":r,"aria-label":`Environment: ${i.label}. Click to switch.`,style:{display:"flex",alignItems:"center",gap:6,padding:"6px 6px 6px 8px",borderRadius:6,borderTopLeftRadius:r?0:6,borderTopRightRadius:r?0:6,backgroundColor:r?"rgba(8,12,21,0.95)":"transparent",border:"none",cursor:"pointer"},children:[J("span",{style:{width:8,height:8,borderRadius:4,backgroundColor:i.backgroundColor,boxShadow:`0 0 4px ${i.backgroundColor}99`}}),J("span",{style:{fontSize:11,fontWeight:600,color:x.primaryLight,letterSpacing:.5},children:i.label}),J(Lp,{color:"#7A8599",flipped:r})]})]})}export{zi as ARROW_BOTTOM_OFFSET,_i as ARROW_HEIGHT,Fl as ASSETS_ICON_COLOR,Na as AccountSetup,ao as ActionCopyButton,bc as Activity,Oc as ActivityIcon,Do as AddFilterButton,Po as AddFilterInput,vc as AlertCircle,jd as AlertCircleIcon,Cc as AlertOctagon,kc as AlertTriangle,Bc as AlertTriangleIcon,Td as AskBuoyIcon,zl as AssetsIcon,Rn as BACKGROUND_PRESETS,Kn as BACKGROUND_STORAGE_KEY,eu as BENCHMARK_ICON_COLOR,Xo as BackButton,ci as BackgroundSwitcher,Vo as Badge,sc as BarChart3,ic as BarChart3Icon,xh as BaseEventStore,Jd as BenchmarkIcon,Gu as BenchmarkLegacyIcon,Ac as Bookmark,$c as Box,zc as BoxIcon,_g as BubbleSettingsDetail,zg as BubbleSettingsSection,Dc as Bug,wd as BugIcon,Oi as CELLS,Ii as CLIP_OFFSCREEN_CELLS,vu as CLOCK_TOOL_ICON_COLOR,Sl as CONSOLE_ICON_COLOR,Oa as COPY_PAYLOAD_MAX_BYTES,ml as CameraIcon,Dh as ChangeLog,Qs as ChangeRow,ha as Check,Wc as CheckCircle,Hl as CheckCircle2,Yd as CheckCircle2Icon,Vc as CheckCircleIcon,jc as CheckIcon,pc as CheckSquare,Nl as CheckSquareIcon,Yc as ChevronDown,Jc as ChevronDownIcon,Xc as ChevronLeft,Zc as ChevronLeftIcon,td as ChevronRight,rd as ChevronRightIcon,od as ChevronUp,pl as ChevronUpIcon,Ro as ChipStrip,Cn as ClipboardHintBanner,bl as Clock,ld as ClockIcon,fu as ClockToolIcon,uc as Cloud,fc as CloudIcon,Yn as CollapsibleSection,jo as CompactFilterChips,Ni as CompactRow,Di as CompareBar,ch as ConsoleIcon,dd as Copy,Ys as CopyButton,gd as CopyIcon,vs as CountBadge,ca as CyberpunkSectionButton,$n as DEFAULT_BACKGROUND,wn as DEVTOOLS_CARD_CONSTANTS,Xn as DataInspector,ga as Database,Ad as DatabaseIcon,mi as DaylightTunable,sn as DeepFieldTunable,Mn as DetailView,Bs as DetailViewToggle,En as DevToolsCard,Bi as DiffModeTabs,Sd as DockBottom,kd as Download,gu as DownloadIcon,_n as DraggableHeader,oi as DynamicFilterView,nh as ENV_ICON_COLOR,Ri as EVENT_LIST_PRESET,Rd as Edit3,md as Edit3Icon,rn as EmptyState,vo as EntityFilterView,rh as EnvIcon,Wd as EnvLaptopIcon,kp as EnvironmentIndicator,Op as EnvironmentSelector,Pp as EnvironmentSelectorInline,Ts as EventHistoryViewer,fn as EventListItem,As as EventPickerModal,bi as EventStepperFooter,Fc as EventsIcon,la as ExpandablePopover,Ti as ExpandedInfoRow,Mo as ExportPreview,zd as Eye,Cd as EyeIcon,pa as EyeOff,Ed as EyeOffIcon,Zn as FeatureGate,Tl as FileCode,$d as FileCodeIcon,Hd as FileJson,Au as FileJsonIcon,Kd as FileText,Dd as FileTextIcon,Zd as Film,Sc as FilmIcon,su as Filter,Oo as FilterBadge,Fd as FilterIcon,_o as FilterList,Eo as FilterSection,cu as FlaskConical,Gd as FlaskConicalIcon,pu as FloatWindow,Yi as FloatingTool,Ui as FloatingToolDivider,Zi as FloatingToolHost,Vi as FloatingToolUserStatus,mo as FooterButton,uo as FooterCaption,po as FooterMessage,io as FooterRow,Ms as FreeAccountPrompt,hl as GAME_UI_ALERT_STATES,il as GameUICollapsibleSection,dl as GameUICompactStats,ul as GameUIIssuesList,cl as GameUIStatusHeader,Su as GitBranch,Xd as GitBranchIcon,ku as Globe,Pd as GlobeIcon,Hn as GripVerticalIcon,Kl as Hand,Du as HandIcon,Rl as HardDrive,au as HardDriveIcon,Ru as Hash,iu as HashIcon,On as HeaderSearchButton,Ic as HelpCircle,ud as HighlightIcon,zu as HighlightUpdatesIcon,Od as HighlighterIcon,In as HintsProvider,Sr as HistoryEntryRow,vr as HistoryList,gr as HistoryProvider,Pu as Home,Gl as HomeIcon,Bl as IMAGES_ICON_COLOR,Zl as IMAGE_OVERLAY_ICON_COLOR,Yl as IMPERSONATE_ICON_COLOR,Md as IconBackground,hd as IconCircle,id as IconContainer,xd as IconLine,bd as IconRect,Nu as Image,wc as ImageIcon,Jl as ImageOverlayIcon,Ll as ImagesIcon,Ul as ImpersonateIcon,Fu as Info,hu as InfoIcon,Ls as InfoRow,qs as InlineCopyButton,hc as JOTAI_ICON_COLOR,lc as JotaiIcon,ip as JsModal,Vu as Key,mu as KeyIcon,Is as LOGIN_COMMAND,$i as LOG_LIST_PRESET,Vd as LaptopIcon,Ju as Layers,Cu as LayersIcon,Nn as LicenseEntryModal,en as LinearFade,Qu as Link,$u as LinkIcon,ko as ListItem,Tn as LiveSkyTunable,th as Lock,yu as LockIcon,$t as LogLevel,$t as LogLevelEnum,Pt as LogType,Pt as LogTypeEnum,Ps as MAX_PERIOD,Dl as Maximize2,Eu as Maximize2Icon,an as MethodBadge,sh as Minus,Lu as MinusIcon,fo as ModalHeader,yo as ModalHintBanner,gi as MoonlightTunable,ih as Music,Ec as MusicIcon,eh as NETWORK_ICON_COLOR,ua as NIGHT_LABEL_TRACKING,du as NOTIFICATIONS_ICON_COLOR,dh as Navigation,Iu as NavigationIcon,Ld as NetworkGlobeIcon,Xu as NetworkIcon,xp as NightBadge,Sp as NightButton,pp as NightCard,yp as NightChip,gp as NightFootnote,fp as NightRows,hp as NightSectionLabel,vp as NightSegmented,ja as NightSeparator,mp as NightSwitch,ln as NoDataEmptyState,hn as NoResultsEmptyState,bn as NoSearchResultsEmptyState,ou as NotificationsIcon,qn as OTTO_ANCHORS,ei as OTTO_ANCHOR_SIZE,Bn as OTTO_GRID,ui as OTTO_GROUPS,si as OTTO_NOTES,zn as OTTO_PALETTE,Si as OTTO_REEL,Ho as OTTO_SCENES,Go as OTTO_SCENE_BY_ID,Jo as OTTO_SCENE_CROP_H,Ao as OTTO_SCENE_H,Lo as OTTO_SCENE_OTTO,Co as OTTO_SCENE_PALETTE,To as OTTO_SCENE_W,Gn as OTTO_STATES,ii as OTTO_STATE_NAMES,fi as OTTO_USES,So as Otto,go as OttoMotionView,ro as OttoPixels,xs as OttoSceneFrame,Zo as OttoSceneStill,no as OttoStill,Aa as PREVIEW_ITEM_RENDER_BYTE_LIMIT,vl as Palette,Mu as PaletteIcon,kl as Pause,_u as PauseIcon,Lc as Phone,Mc as PhoneIcon,to as Pill,Ai as PillBadge,xl as Pin,Al as Play,Hu as PlayIcon,$l as Plus,Yu as PlusIcon,Ml as Power,ru as PowerIcon,wi as PowerToggleButton,Id as PrimitiveGlobeIcon,Fn as ProBadge,ni as ProFeatureBanner,Vn as ProUpgradeModal,Bd as QueryIcon,Br as REMOTE_RELOAD_DELAY_MS,Cs as RadialGlow,qo as RasterLayer,qd as ReactQueryIcon,fd as ReduxIcon,_l as RefreshCw,qu as RefreshCwIcon,Js as RelativeTime,ju as RenderCountIcon,Bu as RenderPulseIcon,Ql as Route,ad as RouteDotIcon,xu as RouteIcon,bu as RouteMapIcon,Qc as RoutePathIcon,Kc as RoutePinIcon,nd as RouteTwoPinsIcon,Uc as RoutesIcon,Wi as SPACING_GAP,_d as ScenariosIcon,jl as Search,ti as SearchBar,Zu as SearchIcon,xo as SectionHeader,tu as SentryBugIcon,Nc as SentryIcon,$a as SentryLogger,Vl as Server,Qd as ServerIcon,yt as Settings,ah as SettingsIcon,ql as SettingsSolid,ec as Shield,oh as ShieldIcon,_c as Smartphone,Hc as SmartphoneIcon,dc as Square,yc as SquareDashed,Wl as SquareDashedIcon,Pl as SquareIcon,Ou as StackPulseIcon,xr as StandaloneHistoryList,Sn as StatsCard,Ko as StatusBadge,An as StatusIndicator,vd as StorageIcon,nu as StorageStackIcon,on as StorageTypeBadge,oa as Subscribable,zs as TIER_LIMITS,El as TIME_MACHINE_ICON_COLOR,Os as TRANSPARENT,nn as TabSelector,Xl as TestTube2,lh as TestTube2Icon,Ws as TickProvider,Ln as TimeDisplay,wl as TimeMachineIcon,Gc as Timer,qc as TimerIcon,wo as ToggleRow,mt as ToolBackground,un as ToolButton,vn as ToolEmptyState,so as ToolFooter,oo as ToolbarClearButton,Zs as ToolbarCopyButton,ed as Touchpad,sd as TouchpadIcon,nc as Trash,rc as Trash2,yl as Trash2Icon,Wu as TrashIcon,tc as TriangleAlert,Uu as TriangleAlertIcon,Qo as TypeBadge,cc as Unlock,wu as UnlockIcon,di as UpgradeModal,Jn as UpgradePrompt,gc as Upload,lu as UploadIcon,mc as User,Ku as UserIcon,fl as Users,cd as UsersIcon,tn as ValueTypeBadge,Li as ViewToggleCards,pd as Volume,yd as VolumeIcon,ks as WATER_CELLS,Es as WATER_FRAMES,Pi as WATER_ROW0,Mi as WATER_ROWS,Qe as WIRE_DETAIL_LIMIT_BYTES,Ca as WIRE_INLINE_LIMIT_BYTES,xc as Wifi,Ud as WifiBifIcon,uu as WifiCircuitIcon,Nd as WifiIcon,hi as WindowControls,cn as Wormhole,Rc as X,Tc as XCircle,Il as XCircleIcon,Cl as XIcon,oc as ZUSTAND_ICON_COLOR,Pc as Zap,Ol as ZapIcon,ac as ZustandIcon,ll as absoluteFill,La as add,Xe as approxJsonSize,Se as assertAccountAccess,Qn as backgroundStore,_r as browserRouter,U as buoyColors,Hi as calculateTargetPosition,ji as calculateTooltipPosition,gg as canOpenBuoyTools,ka as capDetail,xg as classifyPreviewItem,Mg as clearEntries,yn as copyToClipboard,dn as createAutoDetectedClipboard,mg as createRestoreScope,tg as createSyncAdapter,rg as createToolFactory,Mh as createToolStore,Vs as cycleIndexes,Fg as definePersistedSetting,ag as defineToolPreset,eg as detailByIdAction,fe as devToolsStorageKeys,hh as dialColors,Xi as dismissFloatingTool,cg as dispatchToolAction,ol as displayValue,yg as emptyRestoreResult,kg as entityColor,xt as expandKeyedArrays,Sg as failedRestore,xa as findKeyPath,_s as flatColors,cs as flattenObject,Ra as formatBytes,Eg as formatDuration,Lg as formatHttpStatus,Ag as formatNumber,ds as formatPath,Ns as formatRelativeTime,ns as formatValue,Tg as formatValuePreview,x as gameUIColors,oe as getAccountAccess,pn as getAutoDetectedClipboard,Gi as getBubbleAnchorPosition,Wg as getBubbleVisibilitySettings,hs as getCachedOptionalModule,ts as getConstructorName,Dr as getDevServerOrigin,Ar as getDeviceInfo,Bg as getEntries,Ki as getFloatingTools,$g as getMethodColor,Un as getPreset,Jr as getRegisteredToolModule,ps as getRenderCaptureProvider,gh as getSafeAreaInsets,Vr as getSafeCurrentPathname,Gr as getSafeCurrentRoute,Ur as getSafeRouter,Fi as getScreenCenterY,gn as getSkyScrub,ms as getStateSnapshotProvider,bs as getStateSnapshotProviders,bh as getStorageBackendType,xe as getToolAdapters,fg as getToolAttention,Or as getToolModuleVersion,is as getTypeColor,da as getUseAccountAccess,pi as getUseIsPro,yi as getUseLicense,xi as getUseTier,rs as getValueSize,Qr as getValueType,Ds as gridKey,Ea as guardToolAdapter,G as hasAccountAccess,vt as identityField,ne as ignoredPatternsStore,ph as isDevToolsStorageKey,as as isEmpty,Yr as isExpoRouterAvailable,na as isJsonSerializable,Jh as isOnDeviceMarker,kt as isOverWireBudget,ss as isPlainObjectUtil,Zr as isPrimitive,Et as isToolRegistryReady,Ih as isUrlIgnored,fh as isUsingPersistentStorage,es as isValidJson,ve as listShapes,ig as listSnapshotToolIds,ng as listToolActions,og as listToolIds,us as loadOptionalModule,Rr as logDeviceInfo,Ke as macOSColors,Xh as memoByIdentity,Ia as mergeChangeSources,Tu as monoFont,eo as motionUnits,Qh as newestFitting,d as night,ho as noWindowDragProps,bt as normalizeEnvironment,Oe as notifySubscriberCountChange,Kh as onDeviceMarker,hg as openBuoyTool,qi as openFloatingTool,js as ottoCycle,Ci as ottoReel,Ei as ottoRuns,Wo as ottoSceneBounds,No as ottoSceneRuns,Xs as ottoSheets,jn as ottoWaterRows,nl as parseDisplayValue,Ct as parsePath,Pg as parseUrl,os as parseValue,Uh as patchFromPath,j as persistentStorage,Wn as presetAt,Dn as presetIndex,Ta as readParams,Hh as readPath,lg as readToolSnapshot,ft as realNow,Ks as rectsOf,uh as refreshGameUIColors,Yh as refusalText,Nr as registerBrowserRouter,Qi as registerPersistentFloatingTool,fs as registerStateSnapshotProvider,sg as registerToolAdapters,Kr as registerToolModules,ug as registerToolOpener,Pr as reloadApp,ki as renderOttoFrame,Bo as renderOttoScene,wr as resetPersistedStateCache,Fs as resolveEffectiveTier,kn as resolveListEmptyState,$r as resolveReloadStrategy,ws as retryAccountAccess,al as safeStringify,zo as scatter,Mr as scheduleReloadApp,Ng as sentryLogger,li as setExpandableWindowControls,gs as setRenderCaptureProvider,mn as setSkyScrub,pg as setToolAttention,Ig as shallowDiffSummary,Me as shapeKind,Pe as shapeOf,Fh as shapeSummary,_h as shapesWereTruncated,Zh as sizeOrStub,$o as sizeWarningLevel,vg as skippedRestore,Le as subscribeAccountAccess,zr as subscribeBrowserNavigation,Ji as subscribeFloatingTools,Lr as subscribeToStateSnapshotProviders,Xr as subscribeToSubscriberCountChanges,bg as subscribeToolAttention,qr as subscriberCountNotifier,Vh as suggestedPatch,sl as superJsonDeserialize,rl as superJsonSerialize,qh as toWire,vi as toolTheme,Og as truncateMiddle,Rg as truncatePayload,ls as truncateText,wa as truncatedNote,wt as typedEditViolations,wg as unionKeys,Wh as unshapedLists,fa as urlMatchesIgnoredPattern,mr as useAllHistoryEntries,kr as useChangeLog,Io as useChipTap,Er as useDeviceInfo,Ir as useEventStoreEvents,ri as useFeatureGate,el as useFilterManager,gl as useGameUIAlertState,Pn as useHintsContext,ia as useHintsDisabled,br as useHistoryAdapter,fr as useHistoryAdapters,pr as useHistoryContext,yr as useHistoryEntryCounts,Ph as useIgnoredPatterns,Us as useLimit,Uo as useLoop,bo as useOttoAnchorMotion,co as useOttoReel,Cr as usePersistedState,Yo as usePulse,Gs as useRelativeTime,tl as useSafeAreaInsets,Hr as useSafeGlobalSearchParams,Fr as useSafePathname,Wr as useSafeRouter,jr as useSafeSegments,xn as useSkyScrub,Tr as useSubscribedValue,Hs as useTick,ai as useToolBackground,dg as waitForToolRegistry,lo as windowDragProps,Fo as withBgAlpha,Cg as wontApply};
|
package/lib/web/native.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import{$,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,_,a,aa,b,ba,c,ca,d,da,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"./chunks/chunk-3UTMGIUG.mjs";import"./chunks/chunk-5NZOQR6Q.mjs";export{q as AccessibilityInfo,k as ActivityIndicator,n as Alert,r as Animated,t as AppRegistry,u as AppState,s as Appearance,v as BackHandler,l as Button,M as CheckBox,w as Clipboard,aa as DeviceEventEmitter,x as Dimensions,y as Easing,N as FlatList,z as I18nManager,O as Image,P as ImageBackground,B as InteractionManager,A as Keyboard,Q as KeyboardAvoidingView,C as LayoutAnimation,D as Linking,$ as LogBox,i as Modal,E as NativeEventEmitter,p as NativeModules,F as PanResponder,R as Picker,G as PixelRatio,H as Platform,g as Pressable,S as ProgressBar,T as RefreshControl,U as SafeAreaView,h as ScrollView,V as SectionList,I as Share,W as StatusBar,J as StyleSheet,j as Switch,b as Text,c as TextInput,X as Touchable,e as TouchableHighlight,Y as TouchableNativeFeedback,d as TouchableOpacity,f as TouchableWithoutFeedback,K as UIManager,L as Vibration,a as View,Z as VirtualizedList,_ as YellowBox,m as findNodeHandle,o as unstable_createElement,ba as useColorScheme,ca as useLocaleContext,da as useWindowDimensions};
|
|
1
|
+
"use client";import{$ as a,A as s,B as e,C as t,D as i,E as o,F as n,G as r,H as l,I as c,J as d,K as u,L as b,M as g,N as h,O as m,P as p,Q as A,R as S,S as v,T as x,U as y,V as B,W as I,X as k,Y as w,Z as L,_ as T,a as f,aa as E,b as P,ba as V,c as C,ca as M,d as N,da as R,e as D,f as F,g as H,h as K,i as W,j as z,k as O,l as U,m as Y,n as _,o as j,p as q,q as G,r as J,s as Q,t as X,u as Z,v as $,w as aa,x as sa,y as ea,z as ta}from"./chunks/chunk-3UTMGIUG.mjs";import"./chunks/chunk-5NZOQR6Q.mjs";export{G as AccessibilityInfo,O as ActivityIndicator,_ as Alert,J as Animated,X as AppRegistry,Z as AppState,Q as Appearance,$ as BackHandler,U as Button,g as CheckBox,aa as Clipboard,E as DeviceEventEmitter,sa as Dimensions,ea as Easing,h as FlatList,ta as I18nManager,m as Image,p as ImageBackground,e as InteractionManager,s as Keyboard,A as KeyboardAvoidingView,t as LayoutAnimation,i as Linking,a as LogBox,W as Modal,o as NativeEventEmitter,q as NativeModules,n as PanResponder,S as Picker,r as PixelRatio,l as Platform,H as Pressable,v as ProgressBar,x as RefreshControl,y as SafeAreaView,K as ScrollView,B as SectionList,c as Share,I as StatusBar,d as StyleSheet,z as Switch,P as Text,C as TextInput,k as Touchable,D as TouchableHighlight,w as TouchableNativeFeedback,N as TouchableOpacity,F as TouchableWithoutFeedback,u as UIManager,b as Vibration,f as View,L as VirtualizedList,T as YellowBox,Y as findNodeHandle,j as unstable_createElement,V as useColorScheme,M as useLocaleContext,R as useWindowDimensions};
|
package/lib/web/ui.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import{$ as I,$a as Ja,$b as Eb,Aa as ia,Ab as ib,Ba as ja,Bb as jb,Ca as ka,Cb as kb,Da as la,Db as lb,Ea as ma,Fa as na,Ga as oa,Ha as pa,I as p,Ia as qa,J as q,Ja as ra,Jb as mb,K as r,Ka as sa,Kb as nb,L as s,La as ta,Lb as ob,M as t,Ma as ua,Mb as pb,N as u,Na as va,Nb as qb,O as v,Oa as wa,Ob as rb,P as w,Pa as xa,Pb as sb,Q as x,Qa as ya,Qb as tb,R as y,Ra as za,Rb as ub,S as z,Sa as Aa,Sb as vb,T as A,Ta as Ba,Tb as wb,U as B,Ua as Ca,Ub as xb,V as C,Va as Da,Vb as yb,W as D,Wa as Ea,Wb as zb,X as E,Xa as Fa,Xb as Ab,Y as F,Ya as Ga,Yb as Bb,Z as G,Za as Ha,Zb as Cb,_ as H,_a as Ia,_b as Db,a as e,aa as J,ab as Ka,ac as Fb,b as f,ba as K,bb as La,bc as Gb,c as g,ca as L,cb as Ma,cc as Hb,da as M,db as Na,dc as Ib,ea as N,eb as Oa,ec as Jb,fa as O,fb as Pa,fc as Kb,g as o,ga as Q,gb as Qa,gc as Lb,ha as R,hb as Ra,hc as Mb,ia as S,ib as Sa,ic as Nb,ja as T,jb as Ta,jc as Ob,ka as U,kb as Ua,kc as Pb,la as V,lb as Va,lc as Qb,ma as W,mb as Wa,mc as Rb,na as X,nb as Xa,nc as Sb,oa as Y,ob as Ya,oc as Tb,pa as Z,pb as Za,pc as Ub,qa as _,qb as _a,qc as Vb,ra as $,rb as $a,rc as Wb,sa as aa,sb as ab,sc as Xb,ta as ba,tb as bb,tc as Yb,ua as ca,ub as cb,uc as Zb,va as da,vb as db,vc as _b,wa as ea,wb as eb,wc as $b,xa as fa,xb as fb,xc as ac,ya as ga,yb as gb,za as ha,zb as hb}from"./chunks/chunk-VE72SWLV.mjs";import{a as P}from"./chunks/chunk-FMEWNGQO.mjs";import{a as bc,b as cc,c as dc,d as ec,e as fc,f as gc,g as hc,h as ic,i as jc,j as kc,k as lc,l as mc,m as nc,n as oc,o as pc,p as qc}from"./chunks/chunk-XYUAUO57.mjs";import"./chunks/chunk-GF5C5DVX.mjs";import"./chunks/chunk-K7CGIEFU.mjs";import{f as i,h as j,i as k,j as l,k as m,l as n}from"./chunks/chunk-KHP6CSSM.mjs";import{md as h}from"./chunks/chunk-AIEOQWNG.mjs";import{a,d as b,f as c,g as d}from"./chunks/chunk-CE5U3CSQ.mjs";import"./chunks/chunk-PTK5FO6C.mjs";import"./chunks/chunk-GBUZCZE4.mjs";import"./chunks/chunk-3UTMGIUG.mjs";import"./chunks/chunk-5NZOQR6Q.mjs";export{bc as ARROW_BOTTOM_OFFSET,cc as ARROW_HEIGHT,s as ActionCopyButton,D as AddFilterButton,C as AddFilterInput,Mb as BACKGROUND_PRESETS,Rb as BACKGROUND_STORAGE_KEY,e as BackButton,Vb as BackgroundSwitcher,G as Badge,fa as CELLS,_b as CLIP_OFFSCREEN_CELLS,mb as ChangeRow,wb as ChipStrip,o as ClipboardHintBanner,Wa as CollapsibleSection,F as CompactFilterChips,P as CompactRow,hb as CompareBar,p as CopyButton,I as CountBadge,Zb as CyberpunkSectionButton,Nb as DEFAULT_BACKGROUND,Q as DEVTOOLS_CARD_CONSTANTS,Xa as DataInspector,Xb as DaylightTunable,Gb as DeepFieldTunable,Ta as DetailView,lb as DetailViewToggle,R as DevToolsCard,gb as DiffModeTabs,Ua as DraggableHeader,Za as DynamicFilterView,$b as EVENT_LIST_PRESET,La as EmptyState,tb as EntityFilterView,ib as EventHistoryViewer,N as EventListItem,jb as EventPickerModal,ab as EventStepperFooter,bb as ExpandablePopover,db as ExpandedInfoRow,yb as ExportPreview,B as FilterBadge,E as FilterList,A as FilterSection,kc as FloatingTool,hc as FloatingToolDivider,qc as FloatingToolHost,ic as FloatingToolUserStatus,sb as FooterButton,qb as FooterCaption,rb as FooterMessage,pb as FooterRow,m as GAME_UI_ALERT_STATES,i as GameUICollapsibleSection,k as GameUICompactStats,l as GameUIIssuesList,j as GameUIStatusHeader,Va as GripVerticalIcon,S as HeaderSearchButton,kb as InfoRow,q as InlineCopyButton,ac as LOG_LIST_PRESET,Fb as LinearFade,z as ListItem,Lb as LiveSkyTunable,la as MAX_PERIOD,K as MethodBadge,w as ModalHeader,x as ModalHintBanner,Wb as MoonlightTunable,Ma as NoDataEmptyState,Na as NoResultsEmptyState,Oa as NoSearchResultsEmptyState,X as OTTO_ANCHORS,Y as OTTO_ANCHOR_SIZE,T as OTTO_GRID,$ as OTTO_GROUPS,Z as OTTO_NOTES,U as OTTO_PALETTE,ba as OTTO_REEL,Ga as OTTO_SCENES,Ha as OTTO_SCENE_BY_ID,Ia as OTTO_SCENE_CROP_H,Ba as OTTO_SCENE_H,Ca as OTTO_SCENE_OTTO,za as OTTO_SCENE_PALETTE,Aa as OTTO_SCENE_W,W as OTTO_STATES,_ as OTTO_STATE_NAMES,aa as OTTO_USES,ya as Otto,wa as OttoMotionView,ta as OttoPixels,Ja as OttoSceneFrame,Ka as OttoSceneStill,ua as OttoStill,nb as Pill,eb as PillBadge,cb as PowerToggleButton,Eb as RadialGlow,Db as RasterLayer,dc as SPACING_GAP,Ya as SearchBar,y as SectionHeader,O as StatsCard,H as StatusBadge,Ra as StatusIndicator,g as StorageTypeBadge,ka as TRANSPARENT,L as TabSelector,Sa as TimeDisplay,ub as ToggleRow,Ub as ToolBackground,M as ToolButton,Pa as ToolEmptyState,ob as ToolFooter,t as ToolbarClearButton,r as ToolbarCopyButton,J as TypeBadge,f as ValueTypeBadge,fb as ViewToggleCards,ia as WATER_CELLS,ja as WATER_FRAMES,ga as WATER_ROW0,ha as WATER_ROWS,$a as WindowControls,Hb as Wormhole,Sb as backgroundStore,c as buoyColors,gc as calculateTargetPosition,fc as calculateTooltipPosition,pa as cycleIndexes,d as dialColors,oc as dismissFloatingTool,na as flatColors,b as gameUIColors,jc as getBubbleAnchorPosition,lc as getFloatingTools,Qb as getPreset,ec as getScreenCenterY,Ib as getSkyScrub,ma as gridKey,a as macOSColors,h as monoFont,sa as motionUnits,v as noWindowDragProps,nc as openFloatingTool,oa as ottoCycle,ca as ottoReel,ea as ottoRuns,Fa as ottoSceneBounds,Ea as ottoSceneRuns,ra as ottoSheets,V as ottoWaterRows,Pb as presetAt,Ob as presetIndex,qa as rectsOf,pc as registerPersistentFloatingTool,da as renderOttoFrame,Da as renderOttoScene,Qa as resolveListEmptyState,zb as scatter,_a as setExpandableWindowControls,Jb as setSkyScrub,xb as sizeWarningLevel,mc as subscribeFloatingTools,Yb as toolTheme,vb as useChipTap,n as useGameUIAlertState,Bb as useLoop,xa as useOttoAnchorMotion,va as useOttoReel,Cb as usePulse,Kb as useSkyScrub,Tb as useToolBackground,u as windowDragProps,Ab as withBgAlpha};
|
|
1
|
+
"use client";import{$ as a,$a as s,$b as o,Aa as t,Ab as e,Ba as b,Bb as r,Ca as i,Cb as l,Da as T,Db as n,Ea as c,Fa as S,Ga as O,Ha as E,I as p,Ia as d,J as g,Ja as u,Jb as C,K as _,Ka as m,Kb as R,L as A,La as B,Lb as F,M as y,Ma as I,Mb as P,N as L,Na as w,Nb as N,O as D,Oa as h,Ob as f,P as G,Pa as U,Pb as W,Q as k,Qa as M,Qb as H,R as v,Ra as V,Rb as x,S as K,Sa as j,Sb as Y,T as q,Ta as X,Tb as Z,U as z,Ua as J,Ub as Q,V as $,Va as aa,Vb as sa,W as oa,Wa as ta,Wb as ea,X as ba,Xa as ra,Xb as ia,Y as la,Ya as Ta,Yb as na,Z as ca,Za as Sa,Zb as Oa,_ as Ea,_a as pa,_b as da,a as ga,aa as ua,ab as Ca,ac as _a,b as ma,ba as Ra,bb as Aa,bc as Ba,c as Fa,ca as ya,cb as Ia,cc as Pa,da as La,db as wa,dc as Na,ea as Da,eb as ha,ec as fa,fa as Ga,fb as Ua,fc as Wa,g as ka,ga as Ma,gb as Ha,gc as va,ha as Va,hb as xa,hc as Ka,ia as ja,ib as Ya,ic as qa,ja as Xa,jb as Za,jc as za,ka as Ja,kb as Qa,kc as $a,la as as,lb as ss,lc as os,ma as ts,mb as es,mc as bs,na as rs,nb as is,nc as ls,oa as Ts,ob as ns,oc as cs,pa as Ss,pb as Os,pc as Es,qa as ps,qb as ds,qc as gs,ra as us,rb as Cs,rc as _s,sa as ms,sb as Rs,sc as As,ta as Bs,tb as Fs,tc as ys,ua as Is,ub as Ps,uc as Ls,va as ws,vb as Ns,vc as Ds,wa as hs,wb as fs,wc as Gs,xa as Us,xb as Ws,xc as ks,ya as Ms,yb as Hs,za as vs,zb as Vs}from"./chunks/chunk-L3AFTHWX.mjs";import{a as xs}from"./chunks/chunk-TJUBBXXK.mjs";import{a as Ks,b as js,c as Ys,d as qs,e as Xs,f as Zs,g as zs,h as Js,i as Qs,j as $s,k as ao,l as so,m as oo,n as to,o as eo,p as bo}from"./chunks/chunk-XYUAUO57.mjs";import"./chunks/chunk-GF5C5DVX.mjs";import"./chunks/chunk-K7CGIEFU.mjs";import{f as ro,h as io,i as lo,j as To,k as no,l as co}from"./chunks/chunk-7PRKERDN.mjs";import{od as So}from"./chunks/chunk-UKYVRCMZ.mjs";import{a as Oo,d as Eo,f as po,g as go}from"./chunks/chunk-CE5U3CSQ.mjs";import"./chunks/chunk-PTK5FO6C.mjs";import"./chunks/chunk-5KWAGM5V.mjs";import"./chunks/chunk-3UTMGIUG.mjs";import"./chunks/chunk-5NZOQR6Q.mjs";export{Ks as ARROW_BOTTOM_OFFSET,js as ARROW_HEIGHT,A as ActionCopyButton,oa as AddFilterButton,$ as AddFilterInput,Ka as BACKGROUND_PRESETS,bs as BACKGROUND_STORAGE_KEY,ga as BackButton,gs as BackgroundSwitcher,ca as Badge,Us as CELLS,Ds as CLIP_OFFSCREEN_CELLS,C as ChangeRow,Z as ChipStrip,ka as ClipboardHintBanner,es as CollapsibleSection,la as CompactFilterChips,xs as CompactRow,Vs as CompareBar,p as CopyButton,a as CountBadge,Ls as CyberpunkSectionButton,qa as DEFAULT_BACKGROUND,Ma as DEVTOOLS_CARD_CONSTANTS,is as DataInspector,As as DaylightTunable,Ba as DeepFieldTunable,Za as DetailView,n as DetailViewToggle,Va as DevToolsCard,Hs as DiffModeTabs,Qa as DraggableHeader,Os as DynamicFilterView,Gs as EVENT_LIST_PRESET,Aa as EmptyState,H as EntityFilterView,e as EventHistoryViewer,Da as EventListItem,r as EventPickerModal,Rs as EventStepperFooter,Fs as ExpandablePopover,Ns as ExpandedInfoRow,sa as ExportPreview,z as FilterBadge,ba as FilterList,q as FilterSection,$s as FloatingTool,zs as FloatingToolDivider,bo as FloatingToolHost,Js as FloatingToolUserStatus,W as FooterButton,N as FooterCaption,f as FooterMessage,P as FooterRow,no as GAME_UI_ALERT_STATES,ro as GameUICollapsibleSection,lo as GameUICompactStats,To as GameUIIssuesList,io as GameUIStatusHeader,ss as GripVerticalIcon,ja as HeaderSearchButton,l as InfoRow,g as InlineCopyButton,ks as LOG_LIST_PRESET,_a as LinearFade,K as ListItem,va as LiveSkyTunable,T as MAX_PERIOD,Ra as MethodBadge,G as ModalHeader,k as ModalHintBanner,_s as MoonlightTunable,Ia as NoDataEmptyState,wa as NoResultsEmptyState,ha as NoSearchResultsEmptyState,rs as OTTO_ANCHORS,Ts as OTTO_ANCHOR_SIZE,Xa as OTTO_GRID,us as OTTO_GROUPS,Ss as OTTO_NOTES,Ja as OTTO_PALETTE,Bs as OTTO_REEL,Ta as OTTO_SCENES,Sa as OTTO_SCENE_BY_ID,pa as OTTO_SCENE_CROP_H,X as OTTO_SCENE_H,J as OTTO_SCENE_OTTO,V as OTTO_SCENE_PALETTE,j as OTTO_SCENE_W,ts as OTTO_STATES,ps as OTTO_STATE_NAMES,ms as OTTO_USES,M as Otto,h as OttoMotionView,B as OttoPixels,s as OttoSceneFrame,Ca as OttoSceneStill,I as OttoStill,R as Pill,fs as PillBadge,Ps as PowerToggleButton,o as RadialGlow,da as RasterLayer,Ys as SPACING_GAP,ns as SearchBar,v as SectionHeader,Ga as StatsCard,Ea as StatusBadge,xa as StatusIndicator,Fa as StorageTypeBadge,i as TRANSPARENT,ya as TabSelector,Ya as TimeDisplay,x as ToggleRow,Es as ToolBackground,La as ToolButton,Ua as ToolEmptyState,F as ToolFooter,y as ToolbarClearButton,_ as ToolbarCopyButton,ua as TypeBadge,ma as ValueTypeBadge,Ws as ViewToggleCards,t as WATER_CELLS,b as WATER_FRAMES,Ms as WATER_ROW0,vs as WATER_ROWS,Cs as WindowControls,Pa as Wormhole,ls as backgroundStore,po as buoyColors,Zs as calculateTargetPosition,Xs as calculateTooltipPosition,E as cycleIndexes,go as dialColors,to as dismissFloatingTool,S as flatColors,Eo as gameUIColors,Qs as getBubbleAnchorPosition,ao as getFloatingTools,os as getPreset,qs as getScreenCenterY,Na as getSkyScrub,c as gridKey,Oo as macOSColors,So as monoFont,m as motionUnits,D as noWindowDragProps,oo as openFloatingTool,O as ottoCycle,Is as ottoReel,hs as ottoRuns,ra as ottoSceneBounds,ta as ottoSceneRuns,u as ottoSheets,as as ottoWaterRows,$a as presetAt,za as presetIndex,d as rectsOf,eo as registerPersistentFloatingTool,ws as renderOttoFrame,aa as renderOttoScene,Ha as resolveListEmptyState,ea as scatter,ds as setExpandableWindowControls,fa as setSkyScrub,Q as sizeWarningLevel,so as subscribeFloatingTools,ys as toolTheme,Y as useChipTap,co as useGameUIAlertState,na as useLoop,U as useOttoAnchorMotion,w as useOttoReel,Oa as usePulse,Wa as useSkyScrub,cs as useToolBackground,L as windowDragProps,ia as withBgAlpha};
|
package/lib/web/utils.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import{$ as ka,A as L,B as M,C as N,D as O,E as P,F as Q,G as R,H as S,I as T,J as U,K as V,L as W,M as X,N as Y,O as Z,P as _,Q as $,R as aa,S as ba,T as ca,U as da,V as ea,W as fa,X as ga,Y as ha,Z as ia,_ as ja,a as m,b as n,c as o,d as p,e as q,f as r,g as s,h as t,i as u,j as v,k as w,m as x,n as y,o as z,p as A,q as B,r as C,s as D,t as E,u as F,v as G,w as H,x as I,y as J,z as K}from"./chunks/chunk-CDLCFF44.mjs";import{a,b}from"./chunks/chunk-LZ7FZZ7R.mjs";import{a as c,b as d,c as e,d as f,e as g,g as h}from"./chunks/chunk-KHP6CSSM.mjs";import"./chunks/chunk-AIEOQWNG.mjs";import"./chunks/chunk-CE5U3CSQ.mjs";import{a as l}from"./chunks/chunk-PTK5FO6C.mjs";import{c as i,d as j,e as k}from"./chunks/chunk-GBUZCZE4.mjs";import"./chunks/chunk-3UTMGIUG.mjs";import"./chunks/chunk-5NZOQR6Q.mjs";export{N as REMOTE_RELOAD_DELAY_MS,m as Subscribable,h as absoluteFill,U as browserRouter,f as displayValue,B as flattenObject,C as formatPath,y as formatValue,R as getBrowserHref,S as getBrowserRouteURL,a as getBrowserStorage,E as getCachedOptionalModule,u as getConstructorName,ea as getDOMControlProps,da as getDOMFiber,ca as getDOMNodeHandle,fa as getDOMPublicInstance,P as getDevServerOrigin,ia as getRegisteredToolModule,G as getRenderCaptureProvider,l as getSafeAreaInsets,_ as getSafeCurrentPathname,$ as getSafeCurrentRoute,Z as getSafeRouter,J as getStateSnapshotProvider,I as getStateSnapshotProviders,k as getStorageBackendType,ja as getToolModuleVersion,z as getTypeColor,w as getValueSize,q as getValueType,ba as isDOMElement,v as isEmpty,aa as isExpoRouterAvailable,s as isJsonSerializable,r as isPrimitive,j as isUsingPersistentStorage,t as isValidJson,D as loadOptionalModule,ka as loadToolModule,p as notifySubscriberCountChange,g as parseDisplayValue,x as parseValue,i as persistentStorage,Q as registerBrowserRouter,H as registerStateSnapshotProvider,ha as registerToolModules,M as reloadApp,ga as resolveDOMEventEmitter,L as resolveReloadStrategy,c as safeStringify,O as scheduleReloadApp,F as setRenderCaptureProvider,T as subscribeBrowserNavigation,b as subscribeToBrowserStorage,K as subscribeToStateSnapshotProviders,o as subscribeToSubscriberCountChanges,n as subscriberCountNotifier,e as superJsonDeserialize,d as superJsonSerialize,A as truncateText,Y as useSafeGlobalSearchParams,W as useSafePathname,V as useSafeRouter,X as useSafeSegments};
|
|
1
|
+
"use client";import{$ as a,A as s,B as e,C as r,D as t,E as o,F as i,G as l,H as u,I as g,J as n,K as p,L as S,M as d,N as b,O as m,P as f,Q as c,R,S as v,T as M,U as P,V as h,W as C,X as O,Y as T,Z as D,_ as y,a as E,aa as w,b as V,c as B,d as A,e as N,f as z,g as J,h as x,i as L,j as _,k as j,m as k,n as F,o as H,p as I,q as U,r as G,s as Y,t as q,u as K,v as Q,w as W,x as X,y as Z,z as $}from"./chunks/chunk-26OV3QDY.mjs";import{a as aa,b as sa}from"./chunks/chunk-LZ7FZZ7R.mjs";import{a as ea,b as ra,c as ta,d as oa,e as ia,g as la}from"./chunks/chunk-7PRKERDN.mjs";import"./chunks/chunk-UKYVRCMZ.mjs";import"./chunks/chunk-CE5U3CSQ.mjs";import{a as ua}from"./chunks/chunk-PTK5FO6C.mjs";import{c as ga,d as na,e as pa}from"./chunks/chunk-5KWAGM5V.mjs";import"./chunks/chunk-3UTMGIUG.mjs";import"./chunks/chunk-5NZOQR6Q.mjs";export{t as REMOTE_RELOAD_DELAY_MS,E as Subscribable,la as absoluteFill,p as browserRouter,oa as displayValue,G as flattenObject,Y as formatPath,H as formatValue,u as getBrowserHref,g as getBrowserRouteURL,aa as getBrowserStorage,K as getCachedOptionalModule,L as getConstructorName,C as getDOMControlProps,h as getDOMFiber,P as getDOMNodeHandle,O as getDOMPublicInstance,i as getDevServerOrigin,y as getRegisteredToolModule,W as getRenderCaptureProvider,ua as getSafeAreaInsets,c as getSafeCurrentPathname,R as getSafeCurrentRoute,f as getSafeRouter,$ as getStateSnapshotProvider,Z as getStateSnapshotProviders,pa as getStorageBackendType,a as getToolModuleVersion,I as getTypeColor,j as getValueSize,N as getValueType,M as isDOMElement,_ as isEmpty,v as isExpoRouterAvailable,J as isJsonSerializable,z as isPrimitive,na as isUsingPersistentStorage,x as isValidJson,q as loadOptionalModule,w as loadToolModule,A as notifySubscriberCountChange,ia as parseDisplayValue,F as parseValue,ga as persistentStorage,k as realNow,l as registerBrowserRouter,X as registerStateSnapshotProvider,D as registerToolModules,r as reloadApp,T as resolveDOMEventEmitter,e as resolveReloadStrategy,ea as safeStringify,o as scheduleReloadApp,Q as setRenderCaptureProvider,n as subscribeBrowserNavigation,sa as subscribeToBrowserStorage,s as subscribeToStateSnapshotProviders,B as subscribeToSubscriberCountChanges,V as subscriberCountNotifier,ta as superJsonDeserialize,ra as superJsonSerialize,U as truncateText,m as useSafeGlobalSearchParams,d as useSafePathname,S as useSafeRouter,b as useSafeSegments};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@buoy-gg/shared-ui",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.42",
|
|
4
4
|
"description": "Shared UI components, hooks, and utilities",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -208,7 +208,6 @@
|
|
|
208
208
|
},
|
|
209
209
|
"files": [
|
|
210
210
|
"lib",
|
|
211
|
-
"scripts",
|
|
212
211
|
"dataViewer.js",
|
|
213
212
|
"dataViewer.d.ts",
|
|
214
213
|
"ui.js",
|
|
@@ -220,15 +219,17 @@
|
|
|
220
219
|
"history.js",
|
|
221
220
|
"history.d.ts",
|
|
222
221
|
"floating.js",
|
|
223
|
-
"floating.d.ts"
|
|
222
|
+
"floating.d.ts",
|
|
223
|
+
"scripts/detect-clipboard.js",
|
|
224
|
+
"scripts/detect-safe-area.js"
|
|
224
225
|
],
|
|
225
226
|
"sideEffects": false,
|
|
226
227
|
"dependencies": {
|
|
227
|
-
"@buoy-gg/floating-tools-
|
|
228
|
-
"@buoy-gg/floating-tools-
|
|
228
|
+
"@buoy-gg/floating-tools-react": "^7.0.42",
|
|
229
|
+
"@buoy-gg/floating-tools-core": "^7.0.42"
|
|
229
230
|
},
|
|
230
231
|
"peerDependencies": {
|
|
231
|
-
"@buoy-gg/license": "7.0.
|
|
232
|
+
"@buoy-gg/license": "7.0.42",
|
|
232
233
|
"@react-native-clipboard/clipboard": "*",
|
|
233
234
|
"expo-clipboard": "*",
|
|
234
235
|
"expo-file-system": "*",
|
|
@@ -268,7 +269,7 @@
|
|
|
268
269
|
"expo-clipboard": "~7.1.5",
|
|
269
270
|
"react-native-safe-area-context": "^5.6.2",
|
|
270
271
|
"typescript": "~5.8.3",
|
|
271
|
-
"@buoy-gg/license": "^7.0.
|
|
272
|
+
"@buoy-gg/license": "^7.0.42"
|
|
272
273
|
},
|
|
273
274
|
"react-native-builder-bob": {
|
|
274
275
|
"source": "src",
|