@buoy-gg/shared-ui 7.0.40 → 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/README.md +6 -0
- 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 -1814
- package/lib/commonjs/JsModal.web.js +1 -1652
- 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 -0
- 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 -913
- 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 -0
- 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 -826
- 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 -1098
- package/lib/commonjs/license/AccountSetup.js +1 -56
- package/lib/commonjs/license/AccountSetup.web.js +14 -81
- package/lib/commonjs/license/AccountSetupContent.js +1 -0
- package/lib/commonjs/license/FeatureGate.js +1 -788
- package/lib/commonjs/license/FreeAccountPrompt.js +1 -205
- package/lib/commonjs/license/LicenseEntryModal.js +2 -394
- package/lib/commonjs/license/accountRuntime.js +1 -0
- package/lib/commonjs/license/accountRuntime.web.js +1 -0
- package/lib/commonjs/license/index.js +1 -106
- package/lib/commonjs/license/licenseModule.js +1 -119
- 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 -205
- package/lib/commonjs/stores/ignoredPatternsStore.shared.js +1 -0
- package/lib/commonjs/stores/ignoredPatternsStore.web.js +1 -236
- 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 -133
- 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 -591
- 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 -517
- 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 -0
- package/lib/commonjs/utils/browserNavigation.js +1 -0
- package/lib/commonjs/utils/devServer.js +1 -62
- package/lib/commonjs/utils/devServer.web.js +1 -0
- package/lib/commonjs/utils/displayValue.js +1 -41
- package/lib/commonjs/utils/domRuntime.js +1 -0
- package/lib/commonjs/utils/expoRouterModule.js +1 -0
- package/lib/commonjs/utils/expoRouterModule.web.js +1 -0
- 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 -0
- package/lib/commonjs/utils/index.js +1 -309
- package/lib/commonjs/utils/loadOptionalModule.js +1 -94
- package/lib/commonjs/utils/loadToolModule.js +1 -0
- package/lib/commonjs/utils/loadToolModule.web.js +1 -0
- package/lib/commonjs/utils/minimalSuperJSON.js +1 -347
- package/lib/commonjs/utils/modalStorage.js +1 -0
- package/lib/commonjs/utils/nativeWeb.js +1 -0
- package/lib/commonjs/utils/persistentStorage.js +1 -609
- package/lib/commonjs/utils/persistentStorage.web.js +1 -0
- package/lib/commonjs/utils/realNow.js +1 -0
- package/lib/commonjs/utils/reloadApp.js +1 -144
- package/lib/commonjs/utils/reloadPlatform.js +1 -0
- package/lib/commonjs/utils/reloadPlatform.web.js +1 -0
- package/lib/commonjs/utils/renderCaptureRegistry.js +1 -59
- package/lib/commonjs/utils/safeExpoRouter.js +1 -250
- package/lib/commonjs/utils/safeExpoRouter.web.js +1 -0
- 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 -0
- package/lib/commonjs/utils/typeHelpers.js +1 -142
- package/lib/commonjs/utils/valueFormatting.js +1 -140
- package/lib/module/JsModal.js +1 -1810
- package/lib/module/JsModal.web.js +1 -1648
- 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 -0
- 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 -907
- 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 -0
- 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 -62
- 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 -108
- package/lib/module/license/AccountSetup.js +1 -52
- package/lib/module/license/AccountSetup.web.js +14 -77
- package/lib/module/license/AccountSetupContent.js +1 -0
- package/lib/module/license/FeatureGate.js +1 -778
- package/lib/module/license/FreeAccountPrompt.js +1 -199
- package/lib/module/license/LicenseEntryModal.js +2 -388
- package/lib/module/license/accountRuntime.js +1 -0
- package/lib/module/license/accountRuntime.web.js +1 -0
- package/lib/module/license/index.js +1 -9
- package/lib/module/license/licenseModule.js +1 -107
- 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 -189
- package/lib/module/stores/ignoredPatternsStore.shared.js +1 -0
- package/lib/module/stores/ignoredPatternsStore.web.js +1 -221
- 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 -129
- 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 -590
- 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 -504
- 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 -0
- package/lib/module/utils/browserNavigation.js +1 -0
- package/lib/module/utils/devServer.js +1 -58
- package/lib/module/utils/devServer.web.js +1 -0
- package/lib/module/utils/displayValue.js +1 -36
- package/lib/module/utils/domRuntime.js +1 -0
- package/lib/module/utils/expoRouterModule.js +1 -0
- package/lib/module/utils/expoRouterModule.web.js +1 -0
- 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 -0
- package/lib/module/utils/index.js +1 -18
- package/lib/module/utils/loadOptionalModule.js +1 -89
- package/lib/module/utils/loadToolModule.js +1 -0
- package/lib/module/utils/loadToolModule.web.js +1 -0
- package/lib/module/utils/minimalSuperJSON.js +1 -342
- package/lib/module/utils/modalStorage.js +1 -0
- package/lib/module/utils/nativeWeb.js +1 -0
- package/lib/module/utils/persistentStorage.js +1 -603
- package/lib/module/utils/persistentStorage.web.js +1 -0
- package/lib/module/utils/realNow.js +1 -0
- package/lib/module/utils/reloadApp.js +1 -137
- package/lib/module/utils/reloadPlatform.js +1 -0
- package/lib/module/utils/reloadPlatform.web.js +1 -0
- package/lib/module/utils/renderCaptureRegistry.js +1 -54
- package/lib/module/utils/safeExpoRouter.js +1 -239
- package/lib/module/utils/safeExpoRouter.web.js +1 -0
- 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 -0
- package/lib/module/utils/typeHelpers.js +1 -130
- package/lib/module/utils/valueFormatting.js +1 -131
- package/lib/typescript/commonjs/JsModal.web.d.ts +7 -18
- package/lib/typescript/commonjs/clipboard/clipboard-impl.web.d.ts +5 -0
- package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts +1 -1
- package/lib/typescript/commonjs/hooks/useSafeAreaInsets.web.d.ts +6 -0
- package/lib/typescript/commonjs/icons/index.d.ts +2 -0
- package/lib/typescript/commonjs/index.d.ts +3 -1
- package/lib/typescript/commonjs/license/AccountSetup.web.d.ts +1 -1
- package/lib/typescript/commonjs/license/AccountSetupContent.d.ts +11 -0
- package/lib/typescript/commonjs/license/FreeAccountPrompt.d.ts +3 -15
- package/lib/typescript/commonjs/license/accountRuntime.d.ts +2 -0
- package/lib/typescript/commonjs/license/accountRuntime.web.d.ts +2 -0
- package/lib/typescript/commonjs/license/licenseModule.d.ts +3 -1
- package/lib/typescript/commonjs/storage/devToolsStorageKeys.d.ts +8 -0
- package/lib/typescript/commonjs/stores/ignoredPatternsStore.d.ts +1 -59
- package/lib/typescript/commonjs/stores/ignoredPatternsStore.shared.d.ts +60 -0
- package/lib/typescript/commonjs/stores/ignoredPatternsStore.web.d.ts +1 -71
- package/lib/typescript/commonjs/ui/night/primitives.d.ts +9 -3
- package/lib/typescript/commonjs/ui/otto/ottoEngine.d.ts +1 -1
- package/lib/typescript/commonjs/utils/browserAsyncStorage.d.ts +25 -0
- package/lib/typescript/commonjs/utils/browserNavigation.d.ts +31 -0
- package/lib/typescript/commonjs/utils/devServer.web.d.ts +2 -0
- package/lib/typescript/commonjs/utils/domRuntime.d.ts +27 -0
- package/lib/typescript/commonjs/utils/expoRouterModule.d.ts +3 -0
- package/lib/typescript/commonjs/utils/expoRouterModule.web.d.ts +3 -0
- package/lib/typescript/commonjs/utils/getSafeAreaInsets.web.d.ts +8 -0
- package/lib/typescript/commonjs/utils/index.d.ts +6 -0
- package/lib/typescript/commonjs/utils/loadToolModule.d.ts +3 -0
- package/lib/typescript/commonjs/utils/loadToolModule.web.d.ts +2 -0
- package/lib/typescript/commonjs/utils/modalStorage.d.ts +21 -0
- package/lib/typescript/commonjs/utils/nativeWeb.d.ts +22 -0
- package/lib/typescript/commonjs/utils/persistentStorage.web.d.ts +6 -0
- package/lib/typescript/commonjs/utils/realNow.d.ts +11 -0
- package/lib/typescript/commonjs/utils/reloadApp.d.ts +7 -25
- package/lib/typescript/commonjs/utils/reloadPlatform.d.ts +8 -0
- package/lib/typescript/commonjs/utils/reloadPlatform.web.d.ts +4 -0
- package/lib/typescript/commonjs/utils/safeExpoRouter.web.d.ts +43 -0
- package/lib/typescript/commonjs/utils/toolModules.d.ts +5 -0
- package/lib/typescript/module/JsModal.web.d.ts +7 -18
- package/lib/typescript/module/clipboard/clipboard-impl.web.d.ts +5 -0
- package/lib/typescript/module/hooks/safe-area-impl.d.ts +1 -1
- package/lib/typescript/module/hooks/useSafeAreaInsets.web.d.ts +6 -0
- package/lib/typescript/module/icons/index.d.ts +2 -0
- package/lib/typescript/module/index.d.ts +3 -1
- package/lib/typescript/module/license/AccountSetup.web.d.ts +1 -1
- package/lib/typescript/module/license/AccountSetupContent.d.ts +11 -0
- package/lib/typescript/module/license/FreeAccountPrompt.d.ts +3 -15
- package/lib/typescript/module/license/accountRuntime.d.ts +2 -0
- package/lib/typescript/module/license/accountRuntime.web.d.ts +2 -0
- package/lib/typescript/module/license/licenseModule.d.ts +3 -1
- package/lib/typescript/module/storage/devToolsStorageKeys.d.ts +8 -0
- package/lib/typescript/module/stores/ignoredPatternsStore.d.ts +1 -59
- package/lib/typescript/module/stores/ignoredPatternsStore.shared.d.ts +60 -0
- package/lib/typescript/module/stores/ignoredPatternsStore.web.d.ts +1 -71
- package/lib/typescript/module/ui/night/primitives.d.ts +9 -3
- package/lib/typescript/module/ui/otto/ottoEngine.d.ts +1 -1
- package/lib/typescript/module/utils/browserAsyncStorage.d.ts +25 -0
- package/lib/typescript/module/utils/browserNavigation.d.ts +31 -0
- package/lib/typescript/module/utils/devServer.web.d.ts +2 -0
- package/lib/typescript/module/utils/domRuntime.d.ts +27 -0
- package/lib/typescript/module/utils/expoRouterModule.d.ts +3 -0
- package/lib/typescript/module/utils/expoRouterModule.web.d.ts +3 -0
- package/lib/typescript/module/utils/getSafeAreaInsets.web.d.ts +8 -0
- package/lib/typescript/module/utils/index.d.ts +6 -0
- package/lib/typescript/module/utils/loadToolModule.d.ts +3 -0
- package/lib/typescript/module/utils/loadToolModule.web.d.ts +2 -0
- package/lib/typescript/module/utils/modalStorage.d.ts +21 -0
- package/lib/typescript/module/utils/nativeWeb.d.ts +22 -0
- package/lib/typescript/module/utils/persistentStorage.web.d.ts +6 -0
- package/lib/typescript/module/utils/realNow.d.ts +11 -0
- package/lib/typescript/module/utils/reloadApp.d.ts +7 -25
- package/lib/typescript/module/utils/reloadPlatform.d.ts +8 -0
- package/lib/typescript/module/utils/reloadPlatform.web.d.ts +4 -0
- package/lib/typescript/module/utils/safeExpoRouter.web.d.ts +43 -0
- package/lib/typescript/module/utils/toolModules.d.ts +5 -0
- package/lib/web/asyncStorage.mjs +1 -0
- package/lib/web/chunks/chunk-26OV3QDY.mjs +1 -0
- package/lib/web/chunks/chunk-3UTMGIUG.mjs +1 -0
- package/lib/web/chunks/chunk-53J2FMUD.mjs +1 -0
- package/lib/web/chunks/chunk-5KWAGM5V.mjs +1 -0
- package/lib/web/chunks/chunk-5NZOQR6Q.mjs +1 -0
- package/lib/web/chunks/chunk-7PRKERDN.mjs +1 -0
- package/lib/web/chunks/chunk-CE5U3CSQ.mjs +1 -0
- 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 -0
- package/lib/web/chunks/chunk-K7CGIEFU.mjs +1 -0
- package/lib/web/chunks/chunk-L3AFTHWX.mjs +14 -0
- package/lib/web/chunks/chunk-LZ7FZZ7R.mjs +1 -0
- package/lib/web/chunks/chunk-PTK5FO6C.mjs +1 -0
- 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 -0
- package/lib/web/chunks/persistentStorage.web-6OAJAVRK.mjs +1 -0
- package/lib/web/colors.mjs +1 -0
- package/lib/web/dataViewer.mjs +2 -0
- package/lib/web/floating.mjs +1 -0
- package/lib/web/history.mjs +1 -0
- package/lib/web/hooks.mjs +1 -0
- package/lib/web/index.mjs +14 -0
- package/lib/web/native.mjs +1 -0
- package/lib/web/ui.mjs +1 -0
- package/lib/web/utils.mjs +1 -0
- package/package.json +121 -38
- 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/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/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/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/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.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/devServer.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/displayValue.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/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/loadOptionalModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/minimalSuperJSON.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/persistentStorage.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/reloadApp.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/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/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/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/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/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/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.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/devServer.d.ts.map +0 -1
- package/lib/typescript/module/utils/displayValue.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/index.d.ts.map +0 -1
- package/lib/typescript/module/utils/loadOptionalModule.d.ts.map +0 -1
- package/lib/typescript/module/utils/minimalSuperJSON.d.ts.map +0 -1
- package/lib/typescript/module/utils/persistentStorage.d.ts.map +0 -1
- package/lib/typescript/module/utils/reloadApp.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/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/typeHelpers.d.ts.map +0 -1
- package/lib/typescript/module/utils/valueFormatting.d.ts.map +0 -1
- package/scripts/generate-wormhole-textures.cjs +0 -261
- package/scripts/test-wormhole-motion.cjs +0 -59
|
@@ -1,942 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Otto × tools — pixel scenes.
|
|
5
|
-
*
|
|
6
|
-
* One scene per dev tool: Otto in an engine pose, holding / leaning on /
|
|
7
|
-
* pointing at a hand-drawn PIXEL prop that stands for the tool. Everything is
|
|
8
|
-
* on the same 1-cell grid as the sprite, so a scene is just a bigger frame:
|
|
9
|
-
*
|
|
10
|
-
* renderOttoScene(scene, t) → W×H grid of palette keys (`.` = transparent)
|
|
11
|
-
* ottoSceneRuns(grid) → coloured horizontal runs for a renderer
|
|
12
|
-
*
|
|
13
|
-
* Props are ASCII art in `OTTO_SCENE_PALETTE` keys. A layer gets a one-cell
|
|
14
|
-
* black keyline around it (`outline`), sits over or under Otto (`over`), and
|
|
15
|
-
* can ride his hands (`follow` = bob with `OTTO_ANCHORS[state]`). Otto's own
|
|
16
|
-
* frame comes straight from `renderOttoFrame`, so the mascot is never
|
|
17
|
-
* redrawn here — only what he is doing with the tool.
|
|
18
|
-
*
|
|
19
|
-
* Pure, no React: the same module renders the website gallery, the export
|
|
20
|
-
* script and any RN still.
|
|
21
|
-
*/
|
|
22
|
-
import { OTTO_ANCHORS, OTTO_GRID, OTTO_PALETTE, renderOttoFrame } from "./ottoEngine.js";
|
|
23
|
-
|
|
24
|
-
/** Sprite palette plus prop colours. `.` and space are transparent. */
|
|
25
|
-
export const OTTO_SCENE_PALETTE = {
|
|
26
|
-
...OTTO_PALETTE,
|
|
27
|
-
K: "#000000",
|
|
28
|
-
// prop keyline
|
|
29
|
-
c: "#22D3EE",
|
|
30
|
-
// cyan
|
|
31
|
-
C: "#0E7490",
|
|
32
|
-
// cyan deep
|
|
33
|
-
u: "#7DD3FC",
|
|
34
|
-
// sky (Ask Buoy)
|
|
35
|
-
b: "#3B82F6",
|
|
36
|
-
// blue
|
|
37
|
-
B: "#1E3A8A",
|
|
38
|
-
// blue deep
|
|
39
|
-
y: "#FDE047",
|
|
40
|
-
// yellow
|
|
41
|
-
Y: "#F59E0B",
|
|
42
|
-
// amber
|
|
43
|
-
o: "#FB923C",
|
|
44
|
-
// orange
|
|
45
|
-
v: "#C4B5FD",
|
|
46
|
-
// lavender
|
|
47
|
-
P: "#6D28D9",
|
|
48
|
-
// purple deep
|
|
49
|
-
e: "#FB7185",
|
|
50
|
-
// rose
|
|
51
|
-
E: "#BE123C",
|
|
52
|
-
// rose deep
|
|
53
|
-
i: "#F472B6",
|
|
54
|
-
// pink
|
|
55
|
-
t: "#B07D4F",
|
|
56
|
-
// tan (bear)
|
|
57
|
-
T: "#6B4423",
|
|
58
|
-
// brown deep
|
|
59
|
-
z: "#0B1220",
|
|
60
|
-
// screen navy
|
|
61
|
-
q: "#1F2937",
|
|
62
|
-
// slate
|
|
63
|
-
Q: "#374151",
|
|
64
|
-
// slate light
|
|
65
|
-
f: "#4ADE80",
|
|
66
|
-
// mint (screen text, checks)
|
|
67
|
-
F: "#166534",
|
|
68
|
-
// green deep
|
|
69
|
-
x: "#CBD5E1",
|
|
70
|
-
// steel
|
|
71
|
-
j: "#E7C9A0",
|
|
72
|
-
// light tan (bear muzzle)
|
|
73
|
-
G: "#F6C453",
|
|
74
|
-
// gold (sun)
|
|
75
|
-
D: "#EF5B4E",
|
|
76
|
-
// sunset red
|
|
77
|
-
L: "#5DBB63",
|
|
78
|
-
// leaf
|
|
79
|
-
M: "#3D8B4F" // leaf deep
|
|
80
|
-
};
|
|
81
|
-
export const OTTO_SCENE_W = 30;
|
|
82
|
-
export const OTTO_SCENE_H = 24;
|
|
83
|
-
/** Default sprite position: feet on row 17, lamp on row 7, prop room on both sides. */
|
|
84
|
-
export const OTTO_SCENE_OTTO = {
|
|
85
|
-
x: 2,
|
|
86
|
-
y: 5
|
|
87
|
-
};
|
|
88
|
-
function blank(w, h) {
|
|
89
|
-
return Array.from({
|
|
90
|
-
length: h
|
|
91
|
-
}, () => Array(w).fill("."));
|
|
92
|
-
}
|
|
93
|
-
function filled(c) {
|
|
94
|
-
return !!c && c !== "." && c !== " ";
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
/** Art rows → cells, with the keyline dilation applied inside the layer. */
|
|
98
|
-
function layerCells(layer) {
|
|
99
|
-
const rows = layer.art;
|
|
100
|
-
const cells = [];
|
|
101
|
-
const has = (x, y) => y >= 0 && y < rows.length && filled(rows[y][x]);
|
|
102
|
-
const outline = layer.outline ?? true;
|
|
103
|
-
let maxW = 0;
|
|
104
|
-
for (const r of rows) maxW = Math.max(maxW, r.length);
|
|
105
|
-
for (let y = -1; y <= rows.length; y++) {
|
|
106
|
-
for (let x = -1; x <= maxW; x++) {
|
|
107
|
-
if (has(x, y)) {
|
|
108
|
-
cells.push([x, y, rows[y][x]]);
|
|
109
|
-
} else if (outline && (has(x - 1, y) || has(x + 1, y) || has(x, y - 1) || has(x, y + 1))) {
|
|
110
|
-
cells.push([x, y, "K"]);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
return cells;
|
|
115
|
-
}
|
|
116
|
-
function anchorBob(state, t) {
|
|
117
|
-
const a = OTTO_ANCHORS[state];
|
|
118
|
-
if (!a) return 0;
|
|
119
|
-
return a(t).y - a(0).y;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
/** The dark checker under Otto's feet — the engine's water colours, as a floor. */
|
|
123
|
-
function ground(x, y, t) {
|
|
124
|
-
return ((x - Math.floor(t / 2) + y * 5) % 7 + 7) % 7 < 2 ? "W" : "w";
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
/** One frame of a scene as a `OTTO_SCENE_W × OTTO_SCENE_H` grid of palette keys. */
|
|
128
|
-
export function renderOttoScene(scene, t = 0) {
|
|
129
|
-
const W = OTTO_SCENE_W;
|
|
130
|
-
const H = OTTO_SCENE_H;
|
|
131
|
-
const g = blank(W, H);
|
|
132
|
-
const ox = scene.ottoX ?? OTTO_SCENE_OTTO.x;
|
|
133
|
-
const oy = scene.ottoY ?? OTTO_SCENE_OTTO.y;
|
|
134
|
-
const put = (x, y, c) => {
|
|
135
|
-
if (x >= 0 && x < W && y >= 0 && y < H) g[y][x] = c;
|
|
136
|
-
};
|
|
137
|
-
|
|
138
|
-
// Floor: three rows under the feet (sprite rows 13–15), fading out at the ends.
|
|
139
|
-
if (scene.ground !== false) {
|
|
140
|
-
const [gx0, gx1] = scene.ground ?? [ox + 1, ox + OTTO_GRID - 2];
|
|
141
|
-
for (let y = 13; y < 16; y++) {
|
|
142
|
-
for (let x = gx0; x <= gx1; x++) {
|
|
143
|
-
const edge = x === gx0 || x === gx1;
|
|
144
|
-
if (y === 15 && (x + y) % 2) continue;
|
|
145
|
-
if (edge && y !== 14) continue;
|
|
146
|
-
put(x, oy + y, ground(x, y, t));
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
const bob = anchorBob(scene.state, t);
|
|
151
|
-
const paint = layer => {
|
|
152
|
-
const dy = layer.follow ? bob : 0;
|
|
153
|
-
for (const [x, y, c] of layerCells(layer)) put(layer.x + x, layer.y + y + dy, c);
|
|
154
|
-
};
|
|
155
|
-
for (const layer of scene.layers) if (!layer.over) paint(layer);
|
|
156
|
-
const otto = renderOttoFrame(scene.state, t, {
|
|
157
|
-
water: false,
|
|
158
|
-
keyline: true
|
|
159
|
-
});
|
|
160
|
-
for (let y = 0; y < OTTO_GRID; y++) {
|
|
161
|
-
for (let x = 0; x < OTTO_GRID; x++) {
|
|
162
|
-
const c = otto[y][x];
|
|
163
|
-
if (c !== ".") put(ox + x, oy + y, c);
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
for (const layer of scene.layers) if (layer.over) paint(layer);
|
|
167
|
-
return g;
|
|
168
|
-
}
|
|
169
|
-
/** Run-length encode a scene frame into coloured spans, skipping transparency. */
|
|
170
|
-
export function ottoSceneRuns(grid) {
|
|
171
|
-
const runs = [];
|
|
172
|
-
for (let y = 0; y < grid.length; y++) {
|
|
173
|
-
const row = grid[y];
|
|
174
|
-
let x = 0;
|
|
175
|
-
while (x < row.length) {
|
|
176
|
-
const key = row[x];
|
|
177
|
-
let w = 1;
|
|
178
|
-
while (x + w < row.length && row[x + w] === key) w++;
|
|
179
|
-
if (key !== ".") {
|
|
180
|
-
const color = OTTO_SCENE_PALETTE[key];
|
|
181
|
-
if (color) runs.push({
|
|
182
|
-
x,
|
|
183
|
-
y,
|
|
184
|
-
w,
|
|
185
|
-
color
|
|
186
|
-
});
|
|
187
|
-
}
|
|
188
|
-
x += w;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
return runs;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
/** Tight bounds of the filled cells: `[x0, y0, x1, y1]` inclusive, or null when empty. */
|
|
195
|
-
export function ottoSceneBounds(grid) {
|
|
196
|
-
let x0 = Infinity;
|
|
197
|
-
let y0 = Infinity;
|
|
198
|
-
let x1 = -1;
|
|
199
|
-
let y1 = -1;
|
|
200
|
-
for (let y = 0; y < grid.length; y++) {
|
|
201
|
-
for (let x = 0; x < grid[y].length; x++) {
|
|
202
|
-
if (grid[y][x] === ".") continue;
|
|
203
|
-
if (x < x0) x0 = x;
|
|
204
|
-
if (x > x1) x1 = x;
|
|
205
|
-
if (y < y0) y0 = y;
|
|
206
|
-
if (y > y1) y1 = y;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
return x1 < 0 ? null : [x0, y0, x1, y1];
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
// ------------------------------------------------------------------ props --
|
|
213
|
-
//
|
|
214
|
-
// Drawn on the sprite's cell grid, the size of a held object (7–13 cells).
|
|
215
|
-
// The keyline pass draws the outline — never hand-draw `K` except for detail
|
|
216
|
-
// INSIDE a prop (eyes, a keyhole, an exclamation mark).
|
|
217
|
-
|
|
218
|
-
/** A `w×h` box: `fill` inside, `border` on the edge, corners cut when `round`. */
|
|
219
|
-
function box(w, h, fill, border = fill, round = true) {
|
|
220
|
-
const rows = [];
|
|
221
|
-
for (let y = 0; y < h; y++) {
|
|
222
|
-
let r = "";
|
|
223
|
-
for (let x = 0; x < w; x++) {
|
|
224
|
-
const edge = x === 0 || y === 0 || x === w - 1 || y === h - 1;
|
|
225
|
-
const corner = (x === 0 || x === w - 1) && (y === 0 || y === h - 1);
|
|
226
|
-
r += round && corner ? "." : edge ? border : fill;
|
|
227
|
-
}
|
|
228
|
-
rows.push(r);
|
|
229
|
-
}
|
|
230
|
-
return rows;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
/** Paint `art` onto `base` at (x, y); transparent cells leave the base alone. */
|
|
234
|
-
function stamp(base, art, x, y) {
|
|
235
|
-
const out = base.map(r => r.split(""));
|
|
236
|
-
for (let j = 0; j < art.length; j++) {
|
|
237
|
-
for (let i = 0; i < art[j].length; i++) {
|
|
238
|
-
const c = art[j][i];
|
|
239
|
-
if (!filled(c)) continue;
|
|
240
|
-
const yy = y + j;
|
|
241
|
-
const xx = x + i;
|
|
242
|
-
if (yy < 0 || xx < 0) continue;
|
|
243
|
-
while (out.length <= yy) out.push([]);
|
|
244
|
-
while (out[yy].length <= xx) out[yy].push(".");
|
|
245
|
-
out[yy][xx] = c;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
return out.map(r => r.join(""));
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
/** Four-point sparkle, 3×3. */
|
|
252
|
-
function sparkle(c) {
|
|
253
|
-
return [`.${c}.`, `${c}${c}${c}`, `.${c}.`];
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
/** A big sparkle, 5×5, with a bright centre. */
|
|
257
|
-
function star(c, centre = "l") {
|
|
258
|
-
return [`..${c}..`, `..${c}..`, `${c}${c}${centre}${c}${c}`, `..${c}..`, `..${c}..`];
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
/** A ring of thickness 2 on an odd `d`, in colour `c`, `fill` inside. */
|
|
262
|
-
function ring(d, c, fill = ".") {
|
|
263
|
-
const r = (d - 1) / 2;
|
|
264
|
-
const rows = [];
|
|
265
|
-
for (let y = 0; y < d; y++) {
|
|
266
|
-
let s = "";
|
|
267
|
-
for (let x = 0; x < d; x++) {
|
|
268
|
-
const dd = Math.hypot(x - r, y - r);
|
|
269
|
-
s += dd > r + 0.4 ? "." : dd > r - 1.6 ? c : fill;
|
|
270
|
-
}
|
|
271
|
-
rows.push(s);
|
|
272
|
-
}
|
|
273
|
-
return rows;
|
|
274
|
-
}
|
|
275
|
-
const NETWORK_TILE = stamp(box(13, 13, "z", "C"), ["...ccccc...", ".cc.ccc.cc.", ".c.c...c.c.", "c..c...c..c", "c..c...c..c", "ccccccccccc", "c..c...c..c", "c..c...c..c", ".c.c...c.c.", ".cc.ccc.cc.", "...ccccc..."], 1, 1);
|
|
276
|
-
const STORAGE_KEY = ["..yyy..", ".yYYYy.", ".yYKYy.", ".yYYYy.", "..yYy..", "..yYy..", "..yYyy.", "..yYy..", "..yYyy.", "..yYy..", "..yyy.."];
|
|
277
|
-
const STORAGE_SAFE = stamp(stamp(box(11, 10, "Q", "q", false), ["yyy", "yKy", "yyy", ".y."], 4, 3), ["qq.....qq"], 1, 10);
|
|
278
|
-
|
|
279
|
-
/** A filled disc of diameter `d`, one band colour per row, top to bottom. */
|
|
280
|
-
function disc(d, bands) {
|
|
281
|
-
const r = (d - 1) / 2;
|
|
282
|
-
const rows = [];
|
|
283
|
-
for (let y = 0; y < d; y++) {
|
|
284
|
-
let s = "";
|
|
285
|
-
for (let x = 0; x < d; x++) s += Math.hypot(x - r, y - r) > r + 0.4 ? "." : bands[y] ?? bands[bands.length - 1];
|
|
286
|
-
rows.push(s);
|
|
287
|
-
}
|
|
288
|
-
return rows;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
/** Shift each row right by `dx(row)` — a lid seen at an angle. */
|
|
292
|
-
function skew(rows, dx) {
|
|
293
|
-
return rows.map((r, i) => ".".repeat(dx(i)) + r);
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
// Query: Otto on the beach — a palm, a sunset over the water, sunglasses and
|
|
297
|
-
// a laptop running React. The disc has no keyline on purpose (it is sky).
|
|
298
|
-
const QUERY_SUNSET = stamp(disc(13, "bppiieoDDbbbb"), [".GG.", "GGGG", "yyyy", ".GG."], 6, 2);
|
|
299
|
-
const QUERY_PALM = ["..LLL.....", ".LLMLL....", "LLM.LL..LL", "LM..LL.LLM", "....LLLLM.", "LLL.LLLM..", "LLMLLLLLLL", "LMM.YYMMLL", "....YY..MM", "...YY.....", "...YY.....", "..YY......", "..YY......", "..YY......"];
|
|
300
|
-
const QUERY_SAND = [".YYYY.....", "GGYYYYYY..", "GYYYYYYYYY", "YYYYYYYYYYY"];
|
|
301
|
-
const QUERY_REACT = ["..cc.cc..", ".c..c..c.", "c.cc.cc.c", "c.c.l.c.c", "c.cc.cc.c", ".c..c..c.", "..cc.cc.."];
|
|
302
|
-
const QUERY_LAPTOP_LID = skew(stamp(["mmmmmmmmmmm", ...Array(7).fill("11111111111")], QUERY_REACT, 1, 1), i => i < 3 ? 2 : i < 6 ? 1 : 0);
|
|
303
|
-
const QUERY_LAPTOP_BASE = ["KmmmmmmmmmmmmmK"];
|
|
304
|
-
const QUERY_SHADES = ["KKKKKKKKK", "..KKK.KKK", "..KKK.KKK"];
|
|
305
|
-
const QUERY_SMILE = ["K..K", ".KK."];
|
|
306
|
-
const QUERY_ARM = ["KK.", "ggK", "KK."];
|
|
307
|
-
const ENV_PANEL = (() => {
|
|
308
|
-
let p = box(13, 11, "z", "q", false);
|
|
309
|
-
for (const [row, knob, col] of [[2, "f", 7], [5, "b", 3], [8, "o", 8]]) {
|
|
310
|
-
p = stamp(p, ["QQQQQQQQQ"], 2, row);
|
|
311
|
-
p = stamp(p, [knob + knob, knob + knob, knob + knob], col, row - 1);
|
|
312
|
-
}
|
|
313
|
-
return p;
|
|
314
|
-
})();
|
|
315
|
-
const REDUX_KNOT = stamp(ring(11, "p", "z"), ["...v...", "..v.v..", ".v...v.", "v..v..v", "v.v.v.v", ".vv.vv."], 2, 2);
|
|
316
|
-
const ZUSTAND_BEAR = ["tt.....tt", "tTt...tTt", ".ttttttt.", "ttttttttt", "tKtttttKt", "ttttttttt", "ttjjjjjtt", "ttjjKjjtt", ".tjjjjjt."];
|
|
317
|
-
const JOTAI_ATOM = ["....ccc....", "...c...c...", "...c...c...", ".ccc...ccc.", "c..c...c..c", "c....y....c", "c..c...c..c", ".ccc...ccc.", "...c...c...", "...c...c...", "....ccc...."];
|
|
318
|
-
const TIME_MACHINE_REWIND = stamp(ring(13, "c", "z"), ["...c..c", "..cc.cc", ".ccc.ccc", "cccc.cccc", ".ccc.ccc", "..cc.cc", "...c..c"], 2, 3);
|
|
319
|
-
const ROUTES_PIN = ["..eee..", ".eeeee.", "eeellee", "eeellee", ".eeeee.", "..eee..", "...e...", "...e..."];
|
|
320
|
-
const HIGHLIGHT_ARROW = ["...y...", "..yyy..", ".yyyyy.", "yyyyyyy", "..yYy..", "..yYy..", "..yYy..", "..yYy.."];
|
|
321
|
-
const DEBUG_BORDER = (() => {
|
|
322
|
-
const w = 13;
|
|
323
|
-
const h = 11;
|
|
324
|
-
const rows = [];
|
|
325
|
-
for (let y = 0; y < h; y++) {
|
|
326
|
-
let r = "";
|
|
327
|
-
for (let x = 0; x < w; x++) {
|
|
328
|
-
const edge = x === 0 || y === 0 || x === w - 1 || y === h - 1;
|
|
329
|
-
const corner = (x < 2 || x > w - 3) && (y < 2 || y > h - 3);
|
|
330
|
-
r += corner ? "i" : edge && (x + y) % 2 === 0 ? "i" : ".";
|
|
331
|
-
}
|
|
332
|
-
rows.push(r);
|
|
333
|
-
}
|
|
334
|
-
return rows;
|
|
335
|
-
})();
|
|
336
|
-
function plane(c) {
|
|
337
|
-
return ["....cccc....".replace(/c/g, c), "..cccccccc..".replace(/c/g, c), "cccccccccccc".replace(/c/g, c), "..cccccccc..".replace(/c/g, c), "....cccc....".replace(/c/g, c)];
|
|
338
|
-
}
|
|
339
|
-
const IMPERSONATE_HAT = ["...qqqqqqqq...", "...qqqqqqqq...", "...qqqaaqqq...", "qqqqqqqqqqqqqq"];
|
|
340
|
-
const IMPERSONATE_GLASSES = ["KKKK.KKKK", "KllKKKllK", "KKKK.KKKK"];
|
|
341
|
-
const IMPERSONATE_STACHE = ["KKK.KKK", ".KK.KK."];
|
|
342
|
-
const IMPERSONATE_CARD = stamp(box(11, 8, "u", "x", false), ["zz.xxx", "zz.xx.", "...xxx"], 2, 2);
|
|
343
|
-
const BENCH_WATCH = stamp(stamp(ring(11, "n", "z"), ["...nnn...", "....n...."].reverse(), 1, -2), ["l", ".r", "..r"], 5, 3);
|
|
344
|
-
const JS_TOP_CHART = stamp(stamp(box(13, 11, "z", "q", false), [".....f.....", "....f.f....", "f..f...f..f", ".ff.....ff."], 1, 2), ["r.rr.r.rrr", "r.rr.rrrrr"], 2, 7);
|
|
345
|
-
const IMAGES_CARD = stamp(stamp(box(13, 9, "u", "l", false), ["..f..", ".fff.", "fffff", "ffFffff", "fFFfFFff"], 3, 3), ["yy", "yy"], 8, 2);
|
|
346
|
-
const ASSETS_CRATE = stamp(box(11, 9, "t", "T", false), ["llll.", "lxxll", "llll.l", "lxxxl", "llll.l", "lxxxl", "lllll"].map(r => r.slice(0, 5)), 3, 1);
|
|
347
|
-
const CONSOLE_MONITOR = stamp(box(13, 10, "z", "Q", false), ["f.", "ff", "f.", "..", "f.ffff", "ff", "f."], 2, 2);
|
|
348
|
-
const CONSOLE_STAND = ["..qq..", "..qq..", "qqqqqq"];
|
|
349
|
-
const CONSOLE_KEYS = ["qqqqqqqq", "qQQQQQQq", "qqqqqqqq"];
|
|
350
|
-
const EVENTS_LINE = (() => {
|
|
351
|
-
let p = ["...bbbbb...yyyyy", "...b.x.b...y.x.y", "...bx..b...yx..y", "...bbbbb...yyyyy", ".....n.......n..", ".....n.......n..", "nnnnnnnnnnnnnnnn"];
|
|
352
|
-
for (const [col, c] of [[0, "y"], [4, "c"], [8, "o"], [12, "p"]]) {
|
|
353
|
-
p = stamp(p, [c + c + c, c + c + c, c + c + c], col, 5);
|
|
354
|
-
}
|
|
355
|
-
return p;
|
|
356
|
-
})();
|
|
357
|
-
const SENTRY_SHIELD = stamp(["nnnnnnnnnnn", "nQQQQQQQQQn", "nQQQQQQQQQn", "nQQQQQQQQQn", "nQQQQQQQQQn", "nQQQQQQQQQn", "nQQQQQQQQQn", "nQQQQQQQQQn", ".nQQQQQQQn.", "..nQQQQQn..", "...nQQQn...", "....nQn....", ".....n....."], ["...r...", "..rrr..", "..rKr..", ".rrKrr.", ".rrrrr.", "rrrKrrr", "rrrrrrr"], 2, 1);
|
|
358
|
-
const SCENARIOS_FLOW = (() => {
|
|
359
|
-
let p = [];
|
|
360
|
-
p = stamp(p, box(7, 4, "z", "f", false), 3, 0);
|
|
361
|
-
p = stamp(p, ["fff"], 5, 1);
|
|
362
|
-
p = stamp(p, ["fff"], 5, 2);
|
|
363
|
-
p = stamp(p, ["n"], 6, 4);
|
|
364
|
-
p = stamp(p, ["nnnnnnnnn"], 2, 5);
|
|
365
|
-
p = stamp(p, ["n"], 2, 6);
|
|
366
|
-
p = stamp(p, ["n"], 10, 6);
|
|
367
|
-
p = stamp(p, box(5, 3, "z", "p", false), 0, 7);
|
|
368
|
-
p = stamp(p, ["ppp"], 1, 8);
|
|
369
|
-
p = stamp(p, box(5, 3, "z", "b", false), 8, 7);
|
|
370
|
-
p = stamp(p, ["bbb"], 9, 8);
|
|
371
|
-
return p;
|
|
372
|
-
})();
|
|
373
|
-
const ASK_BUOY_BUBBLE = stamp(stamp(box(13, 8, "z", "u", false), ["uu.uu.uu"], 3, 3), ["uu", "u."], 2, 8);
|
|
374
|
-
const TV_REMOTE_REMOTE = stamp(box(5, 9, "q", "Q", false), [".e.", "c.c", ".y.", "c.c"], 1, 1);
|
|
375
|
-
const TV_REMOTE_WAVES = ["...ee", "..e..", ".e.ee", ".e.e.", ".e.ee", "..e..", "...ee"];
|
|
376
|
-
const TV_REMOTE_SHADES = ["KKK.KKK", "KKKKKKK"];
|
|
377
|
-
const FOCUS_GLASS = stamp(ring(9, "n", "c"), ["l"], 3, 3);
|
|
378
|
-
const FOCUS_HANDLE = ["..mm", ".mm.", "mm.."];
|
|
379
|
-
function bracket(c, corner) {
|
|
380
|
-
const h = c.repeat(4);
|
|
381
|
-
const v = `${c}...`;
|
|
382
|
-
const rows = [h, v, v, v];
|
|
383
|
-
const flipX = r => r.split("").reverse().join("");
|
|
384
|
-
let out = rows;
|
|
385
|
-
if (corner === "tr" || corner === "br") out = out.map(flipX);
|
|
386
|
-
if (corner === "bl" || corner === "br") out = [...out].reverse();
|
|
387
|
-
return out;
|
|
388
|
-
}
|
|
389
|
-
const CAMERA_BODY = stamp(stamp(stamp(["..QQQQ"], box(13, 9, "q", "Q", false), 0, 1), ring(7, "n", "c"), 3, 2), ["yy"], 9, 3);
|
|
390
|
-
|
|
391
|
-
// ----------------------------------------------------------------- scenes --
|
|
392
|
-
//
|
|
393
|
-
// Otto sits at (2, 5): lamp on row 7, eyes on rows 11–12, palm (present) at
|
|
394
|
-
// (15–17, 12), arm rest (lean) on row 10, feet on row 17, floor on rows 18–20.
|
|
395
|
-
|
|
396
|
-
export const OTTO_SCENES = [{
|
|
397
|
-
id: "network",
|
|
398
|
-
name: "Network",
|
|
399
|
-
color: "#00D4FF",
|
|
400
|
-
line: "The first request, caught.",
|
|
401
|
-
state: "present",
|
|
402
|
-
layers: [{
|
|
403
|
-
art: NETWORK_TILE,
|
|
404
|
-
x: 16,
|
|
405
|
-
y: 1,
|
|
406
|
-
follow: true
|
|
407
|
-
}, {
|
|
408
|
-
art: sparkle("l"),
|
|
409
|
-
x: 27,
|
|
410
|
-
y: 1,
|
|
411
|
-
outline: false,
|
|
412
|
-
follow: true
|
|
413
|
-
}, {
|
|
414
|
-
art: ["l"],
|
|
415
|
-
x: 14,
|
|
416
|
-
y: 1,
|
|
417
|
-
outline: false,
|
|
418
|
-
follow: true
|
|
419
|
-
}]
|
|
420
|
-
}, {
|
|
421
|
-
id: "storage",
|
|
422
|
-
name: "Storage",
|
|
423
|
-
color: "#FFB800",
|
|
424
|
-
line: "Keys in, keys out, nothing lost.",
|
|
425
|
-
state: "present",
|
|
426
|
-
layers: [{
|
|
427
|
-
art: STORAGE_SAFE,
|
|
428
|
-
x: 19,
|
|
429
|
-
y: 7
|
|
430
|
-
}, {
|
|
431
|
-
art: STORAGE_KEY,
|
|
432
|
-
x: 16,
|
|
433
|
-
y: 1,
|
|
434
|
-
follow: true,
|
|
435
|
-
over: true
|
|
436
|
-
}],
|
|
437
|
-
ground: [3, 29]
|
|
438
|
-
}, {
|
|
439
|
-
id: "react-query",
|
|
440
|
-
name: "Query",
|
|
441
|
-
color: "#02CEE2",
|
|
442
|
-
line: "Ask anything, find everything.",
|
|
443
|
-
state: "static",
|
|
444
|
-
ottoX: 6,
|
|
445
|
-
ottoY: 3,
|
|
446
|
-
layers: [{
|
|
447
|
-
art: QUERY_SUNSET,
|
|
448
|
-
x: 11,
|
|
449
|
-
y: 0,
|
|
450
|
-
outline: false
|
|
451
|
-
}, {
|
|
452
|
-
art: QUERY_SAND,
|
|
453
|
-
x: 0,
|
|
454
|
-
y: 13
|
|
455
|
-
}, {
|
|
456
|
-
art: QUERY_PALM,
|
|
457
|
-
x: 0,
|
|
458
|
-
y: 0
|
|
459
|
-
}, {
|
|
460
|
-
art: QUERY_SHADES,
|
|
461
|
-
x: 9,
|
|
462
|
-
y: 8,
|
|
463
|
-
outline: false,
|
|
464
|
-
over: true
|
|
465
|
-
}, {
|
|
466
|
-
art: QUERY_SMILE,
|
|
467
|
-
x: 12,
|
|
468
|
-
y: 11,
|
|
469
|
-
outline: false,
|
|
470
|
-
over: true
|
|
471
|
-
}, {
|
|
472
|
-
art: QUERY_LAPTOP_LID,
|
|
473
|
-
x: 15,
|
|
474
|
-
y: 12,
|
|
475
|
-
over: true
|
|
476
|
-
}, {
|
|
477
|
-
art: QUERY_LAPTOP_BASE,
|
|
478
|
-
x: 13,
|
|
479
|
-
y: 20,
|
|
480
|
-
outline: false,
|
|
481
|
-
over: true
|
|
482
|
-
}, {
|
|
483
|
-
art: QUERY_ARM,
|
|
484
|
-
x: 19,
|
|
485
|
-
y: 10,
|
|
486
|
-
outline: false,
|
|
487
|
-
over: true
|
|
488
|
-
}],
|
|
489
|
-
ground: [2, 27]
|
|
490
|
-
}, {
|
|
491
|
-
id: "env",
|
|
492
|
-
name: "Env",
|
|
493
|
-
color: "#4AFF9F",
|
|
494
|
-
line: "Every variable, checked.",
|
|
495
|
-
state: "lean",
|
|
496
|
-
layers: [{
|
|
497
|
-
art: ENV_PANEL,
|
|
498
|
-
x: 16,
|
|
499
|
-
y: 7
|
|
500
|
-
}],
|
|
501
|
-
ground: [3, 28]
|
|
502
|
-
}, {
|
|
503
|
-
id: "redux",
|
|
504
|
-
name: "Redux",
|
|
505
|
-
color: "#764abc",
|
|
506
|
-
line: "One store, held close.",
|
|
507
|
-
state: "hug",
|
|
508
|
-
layers: [{
|
|
509
|
-
art: REDUX_KNOT,
|
|
510
|
-
x: 6,
|
|
511
|
-
y: 12,
|
|
512
|
-
over: true,
|
|
513
|
-
follow: true
|
|
514
|
-
}, {
|
|
515
|
-
art: ["e.e", "eee", ".e."],
|
|
516
|
-
x: 17,
|
|
517
|
-
y: 4,
|
|
518
|
-
outline: false
|
|
519
|
-
}, {
|
|
520
|
-
art: ["e.e", "eee", ".e."],
|
|
521
|
-
x: 21,
|
|
522
|
-
y: 1,
|
|
523
|
-
outline: false
|
|
524
|
-
}]
|
|
525
|
-
}, {
|
|
526
|
-
id: "zustand",
|
|
527
|
-
name: "Zustand",
|
|
528
|
-
color: "#C08552",
|
|
529
|
-
line: "Small stores, big possibilities.",
|
|
530
|
-
state: "hug",
|
|
531
|
-
layers: [{
|
|
532
|
-
art: ZUSTAND_BEAR,
|
|
533
|
-
x: 6,
|
|
534
|
-
y: 12,
|
|
535
|
-
over: true,
|
|
536
|
-
follow: true
|
|
537
|
-
}, {
|
|
538
|
-
art: ["e.e", "eee", ".e."],
|
|
539
|
-
x: 18,
|
|
540
|
-
y: 3,
|
|
541
|
-
outline: false
|
|
542
|
-
}]
|
|
543
|
-
}, {
|
|
544
|
-
id: "jotai",
|
|
545
|
-
name: "Jotai",
|
|
546
|
-
color: "#6C47FF",
|
|
547
|
-
line: "Atoms, one by one.",
|
|
548
|
-
state: "point",
|
|
549
|
-
layers: [{
|
|
550
|
-
art: JOTAI_ATOM,
|
|
551
|
-
x: 17,
|
|
552
|
-
y: 0,
|
|
553
|
-
follow: true
|
|
554
|
-
}, {
|
|
555
|
-
art: sparkle("y"),
|
|
556
|
-
x: 13,
|
|
557
|
-
y: 2,
|
|
558
|
-
outline: false
|
|
559
|
-
}, {
|
|
560
|
-
art: sparkle("y"),
|
|
561
|
-
x: 27,
|
|
562
|
-
y: 8,
|
|
563
|
-
outline: false
|
|
564
|
-
}]
|
|
565
|
-
}, {
|
|
566
|
-
id: "time-machine",
|
|
567
|
-
name: "Time Machine",
|
|
568
|
-
color: "#06B6D4",
|
|
569
|
-
line: "Any moment, back again.",
|
|
570
|
-
state: "present",
|
|
571
|
-
layers: [{
|
|
572
|
-
art: TIME_MACHINE_REWIND,
|
|
573
|
-
x: 16,
|
|
574
|
-
y: -1,
|
|
575
|
-
follow: true
|
|
576
|
-
}, {
|
|
577
|
-
art: ["ccc", "", ".cccc", "", "ccc"],
|
|
578
|
-
x: 0,
|
|
579
|
-
y: 9,
|
|
580
|
-
outline: false
|
|
581
|
-
}]
|
|
582
|
-
}, {
|
|
583
|
-
id: "routes",
|
|
584
|
-
name: "Routes",
|
|
585
|
-
color: "#FF9F1C",
|
|
586
|
-
line: "Knows where you are going.",
|
|
587
|
-
state: "point",
|
|
588
|
-
layers: [{
|
|
589
|
-
art: ROUTES_PIN,
|
|
590
|
-
x: 20,
|
|
591
|
-
y: 0,
|
|
592
|
-
follow: true
|
|
593
|
-
}, {
|
|
594
|
-
art: ["........ee", ".......e..", ".....ee...", "...ee.....", "ee........"],
|
|
595
|
-
x: 15,
|
|
596
|
-
y: 10,
|
|
597
|
-
outline: false
|
|
598
|
-
}]
|
|
599
|
-
}, {
|
|
600
|
-
id: "highlight-updates",
|
|
601
|
-
name: "Highlight Updates",
|
|
602
|
-
color: "#10B981",
|
|
603
|
-
line: "See every render. Catch what changed.",
|
|
604
|
-
state: "lift",
|
|
605
|
-
layers: [{
|
|
606
|
-
art: HIGHLIGHT_ARROW,
|
|
607
|
-
x: 6,
|
|
608
|
-
y: -1,
|
|
609
|
-
follow: true
|
|
610
|
-
}, {
|
|
611
|
-
art: sparkle("y"),
|
|
612
|
-
x: 1,
|
|
613
|
-
y: 0,
|
|
614
|
-
outline: false
|
|
615
|
-
}, {
|
|
616
|
-
art: sparkle("y"),
|
|
617
|
-
x: 15,
|
|
618
|
-
y: 1,
|
|
619
|
-
outline: false
|
|
620
|
-
}, {
|
|
621
|
-
art: ["l"],
|
|
622
|
-
x: 3,
|
|
623
|
-
y: 4,
|
|
624
|
-
outline: false
|
|
625
|
-
}, {
|
|
626
|
-
art: ["l"],
|
|
627
|
-
x: 14,
|
|
628
|
-
y: 5,
|
|
629
|
-
outline: false
|
|
630
|
-
}]
|
|
631
|
-
}, {
|
|
632
|
-
id: "debug-borders",
|
|
633
|
-
name: "Debug Borders",
|
|
634
|
-
color: "#10B981",
|
|
635
|
-
line: "Every box, outlined.",
|
|
636
|
-
state: "point",
|
|
637
|
-
layers: [{
|
|
638
|
-
art: DEBUG_BORDER,
|
|
639
|
-
x: 17,
|
|
640
|
-
y: 0,
|
|
641
|
-
outline: false,
|
|
642
|
-
follow: true
|
|
643
|
-
}]
|
|
644
|
-
}, {
|
|
645
|
-
id: "image-overlay",
|
|
646
|
-
name: "Overlay",
|
|
647
|
-
color: "#A855F7",
|
|
648
|
-
line: "Design on top, pixel for pixel.",
|
|
649
|
-
state: "present",
|
|
650
|
-
layers: [{
|
|
651
|
-
art: plane("P"),
|
|
652
|
-
x: 16,
|
|
653
|
-
y: 8,
|
|
654
|
-
follow: true
|
|
655
|
-
}, {
|
|
656
|
-
art: plane("b"),
|
|
657
|
-
x: 16,
|
|
658
|
-
y: 5,
|
|
659
|
-
follow: true
|
|
660
|
-
}, {
|
|
661
|
-
art: plane("c"),
|
|
662
|
-
x: 16,
|
|
663
|
-
y: 2,
|
|
664
|
-
follow: true
|
|
665
|
-
}]
|
|
666
|
-
}, {
|
|
667
|
-
id: "impersonate",
|
|
668
|
-
name: "Impersonate",
|
|
669
|
-
color: "#F59E0B",
|
|
670
|
-
line: "Be anyone, safely.",
|
|
671
|
-
state: "present",
|
|
672
|
-
layers: [{
|
|
673
|
-
art: IMPERSONATE_HAT,
|
|
674
|
-
x: 3,
|
|
675
|
-
y: 4,
|
|
676
|
-
over: true
|
|
677
|
-
}, {
|
|
678
|
-
art: IMPERSONATE_GLASSES,
|
|
679
|
-
x: 6,
|
|
680
|
-
y: 10,
|
|
681
|
-
over: true,
|
|
682
|
-
outline: false
|
|
683
|
-
}, {
|
|
684
|
-
art: IMPERSONATE_STACHE,
|
|
685
|
-
x: 7,
|
|
686
|
-
y: 13,
|
|
687
|
-
over: true,
|
|
688
|
-
outline: false
|
|
689
|
-
}, {
|
|
690
|
-
art: IMPERSONATE_CARD,
|
|
691
|
-
x: 17,
|
|
692
|
-
y: 3,
|
|
693
|
-
follow: true
|
|
694
|
-
}]
|
|
695
|
-
}, {
|
|
696
|
-
id: "perf-monitor",
|
|
697
|
-
name: "Bench",
|
|
698
|
-
color: "#F59E0B",
|
|
699
|
-
line: "Frames, counted.",
|
|
700
|
-
state: "present",
|
|
701
|
-
layers: [{
|
|
702
|
-
art: BENCH_WATCH,
|
|
703
|
-
x: 17,
|
|
704
|
-
y: 0,
|
|
705
|
-
follow: true
|
|
706
|
-
}, {
|
|
707
|
-
art: ["ccc", "", ".cccc", "", "ccc"],
|
|
708
|
-
x: 0,
|
|
709
|
-
y: 9,
|
|
710
|
-
outline: false
|
|
711
|
-
}, {
|
|
712
|
-
art: ["KK", "..KK"],
|
|
713
|
-
x: 6,
|
|
714
|
-
y: 9,
|
|
715
|
-
over: true,
|
|
716
|
-
outline: false
|
|
717
|
-
}, {
|
|
718
|
-
art: [".KK", "KK"],
|
|
719
|
-
x: 10,
|
|
720
|
-
y: 9,
|
|
721
|
-
over: true,
|
|
722
|
-
outline: false
|
|
723
|
-
}]
|
|
724
|
-
}, {
|
|
725
|
-
id: "js-top",
|
|
726
|
-
name: "JS Top",
|
|
727
|
-
color: "#F59E0B",
|
|
728
|
-
line: "Who is eating the thread.",
|
|
729
|
-
state: "debugging",
|
|
730
|
-
layers: [{
|
|
731
|
-
art: JS_TOP_CHART,
|
|
732
|
-
x: 18,
|
|
733
|
-
y: 6
|
|
734
|
-
}],
|
|
735
|
-
ground: [3, 29]
|
|
736
|
-
}, {
|
|
737
|
-
id: "images",
|
|
738
|
-
name: "Images",
|
|
739
|
-
color: "#C084FC",
|
|
740
|
-
line: "Every image, weighed.",
|
|
741
|
-
state: "present",
|
|
742
|
-
layers: [{
|
|
743
|
-
art: IMAGES_CARD,
|
|
744
|
-
x: 16,
|
|
745
|
-
y: 2,
|
|
746
|
-
follow: true
|
|
747
|
-
}, {
|
|
748
|
-
art: sparkle("y"),
|
|
749
|
-
x: 26,
|
|
750
|
-
y: 0,
|
|
751
|
-
outline: false
|
|
752
|
-
}, {
|
|
753
|
-
art: sparkle("y"),
|
|
754
|
-
x: 14,
|
|
755
|
-
y: 0,
|
|
756
|
-
outline: false
|
|
757
|
-
}]
|
|
758
|
-
}, {
|
|
759
|
-
id: "assets",
|
|
760
|
-
name: "Assets",
|
|
761
|
-
color: "#2DD4BF",
|
|
762
|
-
line: "What ships, and how big.",
|
|
763
|
-
state: "lean",
|
|
764
|
-
layers: [{
|
|
765
|
-
art: ASSETS_CRATE,
|
|
766
|
-
x: 16,
|
|
767
|
-
y: 9
|
|
768
|
-
}],
|
|
769
|
-
ground: [3, 28]
|
|
770
|
-
}, {
|
|
771
|
-
id: "console",
|
|
772
|
-
name: "Console",
|
|
773
|
-
color: "#10B981",
|
|
774
|
-
line: "Logs, commands, and more.",
|
|
775
|
-
state: "present",
|
|
776
|
-
layers: [{
|
|
777
|
-
art: CONSOLE_MONITOR,
|
|
778
|
-
x: 18,
|
|
779
|
-
y: 1
|
|
780
|
-
}, {
|
|
781
|
-
art: CONSOLE_STAND,
|
|
782
|
-
x: 21,
|
|
783
|
-
y: 11
|
|
784
|
-
}, {
|
|
785
|
-
art: CONSOLE_KEYS,
|
|
786
|
-
x: 15,
|
|
787
|
-
y: 13,
|
|
788
|
-
over: true
|
|
789
|
-
}],
|
|
790
|
-
ground: [3, 28]
|
|
791
|
-
}, {
|
|
792
|
-
id: "events",
|
|
793
|
-
name: "Events",
|
|
794
|
-
color: "#00D4FF",
|
|
795
|
-
line: "Everything in order.",
|
|
796
|
-
state: "present",
|
|
797
|
-
layers: [{
|
|
798
|
-
art: EVENTS_LINE,
|
|
799
|
-
x: 15,
|
|
800
|
-
y: 1,
|
|
801
|
-
follow: true
|
|
802
|
-
}]
|
|
803
|
-
}, {
|
|
804
|
-
id: "sentry",
|
|
805
|
-
name: "Sentry",
|
|
806
|
-
color: "#FF3366",
|
|
807
|
-
line: "Catch issues before they ship.",
|
|
808
|
-
state: "present",
|
|
809
|
-
layers: [{
|
|
810
|
-
art: SENTRY_SHIELD,
|
|
811
|
-
x: 17,
|
|
812
|
-
y: -1,
|
|
813
|
-
follow: true
|
|
814
|
-
}, {
|
|
815
|
-
art: ["KK", "..KK"],
|
|
816
|
-
x: 6,
|
|
817
|
-
y: 9,
|
|
818
|
-
over: true,
|
|
819
|
-
outline: false
|
|
820
|
-
}, {
|
|
821
|
-
art: [".KK", "KK"],
|
|
822
|
-
x: 10,
|
|
823
|
-
y: 9,
|
|
824
|
-
over: true,
|
|
825
|
-
outline: false
|
|
826
|
-
}]
|
|
827
|
-
}, {
|
|
828
|
-
id: "scenarios",
|
|
829
|
-
name: "Scenarios",
|
|
830
|
-
color: "#F43F5E",
|
|
831
|
-
line: "Set the stage, replay it.",
|
|
832
|
-
state: "present",
|
|
833
|
-
layers: [{
|
|
834
|
-
art: SCENARIOS_FLOW,
|
|
835
|
-
x: 16,
|
|
836
|
-
y: 0,
|
|
837
|
-
follow: true
|
|
838
|
-
}]
|
|
839
|
-
}, {
|
|
840
|
-
id: "ask-buoy",
|
|
841
|
-
name: "Ask Buoy",
|
|
842
|
-
color: "#7DD3FC",
|
|
843
|
-
line: "Get answers. Move faster.",
|
|
844
|
-
state: "wave",
|
|
845
|
-
layers: [{
|
|
846
|
-
art: ASK_BUOY_BUBBLE,
|
|
847
|
-
x: 16,
|
|
848
|
-
y: 0
|
|
849
|
-
}, {
|
|
850
|
-
art: sparkle("u"),
|
|
851
|
-
x: 26,
|
|
852
|
-
y: 10,
|
|
853
|
-
outline: false
|
|
854
|
-
}, {
|
|
855
|
-
art: ["u"],
|
|
856
|
-
x: 14,
|
|
857
|
-
y: 3,
|
|
858
|
-
outline: false
|
|
859
|
-
}]
|
|
860
|
-
}, {
|
|
861
|
-
id: "tv-remote",
|
|
862
|
-
name: "TV Remote",
|
|
863
|
-
color: "#FF3366",
|
|
864
|
-
line: "Control the app from here.",
|
|
865
|
-
state: "present",
|
|
866
|
-
layers: [{
|
|
867
|
-
art: TV_REMOTE_SHADES,
|
|
868
|
-
x: 6,
|
|
869
|
-
y: 11,
|
|
870
|
-
over: true,
|
|
871
|
-
outline: false
|
|
872
|
-
}, {
|
|
873
|
-
art: TV_REMOTE_REMOTE,
|
|
874
|
-
x: 16,
|
|
875
|
-
y: 5,
|
|
876
|
-
follow: true,
|
|
877
|
-
over: true
|
|
878
|
-
}, {
|
|
879
|
-
art: TV_REMOTE_WAVES,
|
|
880
|
-
x: 23,
|
|
881
|
-
y: 2,
|
|
882
|
-
outline: false,
|
|
883
|
-
follow: true
|
|
884
|
-
}]
|
|
885
|
-
}, {
|
|
886
|
-
id: "focus-inspector",
|
|
887
|
-
name: "Focus Inspector",
|
|
888
|
-
color: "#4ADE80",
|
|
889
|
-
line: "See what's focused.",
|
|
890
|
-
state: "present",
|
|
891
|
-
layers: [{
|
|
892
|
-
art: bracket("f", "tl"),
|
|
893
|
-
x: 1,
|
|
894
|
-
y: 1,
|
|
895
|
-
outline: false
|
|
896
|
-
}, {
|
|
897
|
-
art: bracket("f", "tr"),
|
|
898
|
-
x: 26,
|
|
899
|
-
y: 1,
|
|
900
|
-
outline: false
|
|
901
|
-
}, {
|
|
902
|
-
art: bracket("f", "bl"),
|
|
903
|
-
x: 1,
|
|
904
|
-
y: 17,
|
|
905
|
-
outline: false
|
|
906
|
-
}, {
|
|
907
|
-
art: bracket("f", "br"),
|
|
908
|
-
x: 26,
|
|
909
|
-
y: 17,
|
|
910
|
-
outline: false
|
|
911
|
-
}, {
|
|
912
|
-
art: FOCUS_GLASS,
|
|
913
|
-
x: 18,
|
|
914
|
-
y: 2,
|
|
915
|
-
follow: true
|
|
916
|
-
}, {
|
|
917
|
-
art: FOCUS_HANDLE,
|
|
918
|
-
x: 15,
|
|
919
|
-
y: 9,
|
|
920
|
-
follow: true
|
|
921
|
-
}]
|
|
922
|
-
}, {
|
|
923
|
-
id: "camera",
|
|
924
|
-
name: "Camera",
|
|
925
|
-
color: "#F472B6",
|
|
926
|
-
line: "A real feed, on the simulator.",
|
|
927
|
-
state: "present",
|
|
928
|
-
layers: [{
|
|
929
|
-
art: CAMERA_BODY,
|
|
930
|
-
x: 16,
|
|
931
|
-
y: 3,
|
|
932
|
-
follow: true
|
|
933
|
-
}, {
|
|
934
|
-
art: star("y"),
|
|
935
|
-
x: 25,
|
|
936
|
-
y: -1,
|
|
937
|
-
outline: false
|
|
938
|
-
}]
|
|
939
|
-
}];
|
|
940
|
-
|
|
941
|
-
/** Scene lookup by tool id. */
|
|
942
|
-
export const OTTO_SCENE_BY_ID = Object.fromEntries(OTTO_SCENES.map(s => [s.id, s]));
|
|
1
|
+
"use strict";import{OTTO_ANCHORS as _,OTTO_GRID as h,OTTO_PALETTE as d,renderOttoFrame as L}from"./ottoEngine.js";export const OTTO_SCENE_PALETTE={...d,K:"#000000",c:"#22D3EE",C:"#0E7490",u:"#7DD3FC",b:"#3B82F6",B:"#1E3A8A",y:"#FDE047",Y:"#F59E0B",o:"#FB923C",v:"#C4B5FD",P:"#6D28D9",e:"#FB7185",E:"#BE123C",i:"#F472B6",t:"#B07D4F",T:"#6B4423",z:"#0B1220",q:"#1F2937",Q:"#374151",f:"#4ADE80",F:"#166534",x:"#CBD5E1",j:"#E7C9A0",G:"#F6C453",D:"#EF5B4E",L:"#5DBB63",M:"#3D8B4F"};export const OTTO_SCENE_W=30;export const OTTO_SCENE_H=24;export const OTTO_SCENE_OTTO={x:2,y:5};function S(e,r){return Array.from({length:r},()=>Array(e).fill("."))}function g(e){return!!e&&e!=="."&&e!==" "}function A(e){const r=e.art;const o=[];const c=(t,a)=>a>=0&&a<r.length&&g(r[a][t]);const s=e.outline??true;let n=0;for(const t of r)n=Math.max(n,t.length);for(let t=-1;t<=r.length;t++){for(let a=-1;a<=n;a++){if(c(a,t)){o.push([a,t,r[t][a]])}else if(s&&(c(a-1,t)||c(a+1,t)||c(a,t-1)||c(a,t+1))){o.push([a,t,"K"])}}}return o}function O(e,r){const o=_[e];if(!o)return 0;return o(r).y-o(0).y}function v(e,r,o){return((e-Math.floor(o/2)+r*5)%7+7)%7<2?"W":"w"}export function renderOttoScene(e,r=0){const o=OTTO_SCENE_W;const c=OTTO_SCENE_H;const s=S(o,c);const n=e.ottoX??OTTO_SCENE_OTTO.x;const t=e.ottoY??OTTO_SCENE_OTTO.y;const a=(y,x,i)=>{if(y>=0&&y<o&&x>=0&&x<c)s[x][y]=i};if(e.ground!==false){const[y,x]=e.ground??[n+1,n+h-2];for(let i=13;i<16;i++){for(let Q=y;Q<=x;Q++){const q=Q===y||Q===x;if(i===15&&(Q+i)%2)continue;if(q&&i!==14)continue;a(Q,t+i,v(Q,i,r))}}}const f=O(e.state,r);const E=y=>{const x=y.follow?f:0;for(const[i,Q,q]of A(y))a(y.x+i,y.y+Q+x,q)};for(const y of e.layers)if(!y.over)E(y);const Y=L(e.state,r,{water:false,keyline:true});for(let y=0;y<h;y++){for(let x=0;x<h;x++){const i=Y[y][x];if(i!==".")a(n+x,t+y,i)}}for(const y of e.layers)if(y.over)E(y);return s}export function ottoSceneRuns(e){const r=[];for(let o=0;o<e.length;o++){const c=e[o];let s=0;while(s<c.length){const n=c[s];let t=1;while(s+t<c.length&&c[s+t]===n)t++;if(n!=="."){const a=OTTO_SCENE_PALETTE[n];if(a)r.push({x:s,y:o,w:t,color:a})}s+=t}}return r}export function ottoSceneBounds(e){let r=Infinity;let o=Infinity;let c=-1;let s=-1;for(let n=0;n<e.length;n++){for(let t=0;t<e[n].length;t++){if(e[n][t]===".")continue;if(t<r)r=t;if(t>c)c=t;if(n<o)o=n;if(n>s)s=n}}return c<0?null:[r,o,c,s]}function u(e,r,o,c=o,s=true){const n=[];for(let t=0;t<r;t++){let a="";for(let f=0;f<e;f++){const E=f===0||t===0||f===e-1||t===r-1;const Y=(f===0||f===e-1)&&(t===0||t===r-1);a+=s&&Y?".":E?c:o}n.push(a)}return n}function l(e,r,o,c){const s=e.map(n=>n.split(""));for(let n=0;n<r.length;n++){for(let t=0;t<r[n].length;t++){const a=r[n][t];if(!g(a))continue;const f=c+n;const E=o+t;if(f<0||E<0)continue;while(s.length<=f)s.push([]);while(s[f].length<=E)s[f].push(".");s[f][E]=a}}return s.map(n=>n.join(""))}function K(e){return[`.${e}.`,`${e}${e}${e}`,`.${e}.`]}function F(e,r="l"){return[`..${e}..`,`..${e}..`,`${e}${e}${r}${e}${e}`,`..${e}..`,`..${e}..`]}function m(e,r,o="."){const c=(e-1)/2;const s=[];for(let n=0;n<e;n++){let t="";for(let a=0;a<e;a++){const f=Math.hypot(a-c,n-c);t+=f>c+.4?".":f>c-1.6?r:o}s.push(t)}return s}const b=l(u(13,13,"z","C"),["...ccccc...",".cc.ccc.cc.",".c.c...c.c.","c..c...c..c","c..c...c..c","ccccccccccc","c..c...c..c","c..c...c..c",".c.c...c.c.",".cc.ccc.cc.","...ccccc..."],1,1);const w=["..yyy..",".yYYYy.",".yYKYy.",".yYYYy.","..yYy..","..yYy..","..yYyy.","..yYy..","..yYyy.","..yYy..","..yyy.."];const C=l(l(u(11,10,"Q","q",false),["yyy","yKy","yyy",".y."],4,3),["qq.....qq"],1,10);function R(e,r){const o=(e-1)/2;const c=[];for(let s=0;s<e;s++){let n="";for(let t=0;t<e;t++)n+=Math.hypot(t-o,s-o)>o+.4?".":r[s]??r[r.length-1];c.push(n)}return c}function B(e,r){return e.map((o,c)=>".".repeat(r(c))+o)}const D=l(R(13,"bppiieoDDbbbb"),[".GG.","GGGG","yyyy",".GG."],6,2);const M=["..LLL.....",".LLMLL....","LLM.LL..LL","LM..LL.LLM","....LLLLM.","LLL.LLLM..","LLMLLLLLLL","LMM.YYMMLL","....YY..MM","...YY.....","...YY.....","..YY......","..YY......","..YY......"];const N=[".YYYY.....","GGYYYYYY..","GYYYYYYYYY","YYYYYYYYYYY"];const I=["..cc.cc..",".c..c..c.","c.cc.cc.c","c.c.l.c.c","c.cc.cc.c",".c..c..c.","..cc.cc.."];const G=B(l(["mmmmmmmmmmm",...Array(7).fill("11111111111")],I,1,1),e=>e<3?2:e<6?1:0);const j=["KmmmmmmmmmmmmmK"];const U=["KKKKKKKKK","..KKK.KKK","..KKK.KKK"];const z=["K..K",".KK."];const H=["KK.","ggK","KK."];const P=(()=>{let e=u(13,11,"z","q",false);for(const[r,o,c]of[[2,"f",7],[5,"b",3],[8,"o",8]]){e=l(e,["QQQQQQQQQ"],2,r);e=l(e,[o+o,o+o,o+o],c,r-1)}return e})();const k=l(m(11,"p","z"),["...v...","..v.v..",".v...v.","v..v..v","v.v.v.v",".vv.vv."],2,2);const $=["tt.....tt","tTt...tTt",".ttttttt.","ttttttttt","tKtttttKt","ttttttttt","ttjjjjjtt","ttjjKjjtt",".tjjjjjt."];const W=["....ccc....","...c...c...","...c...c...",".ccc...ccc.","c..c...c..c","c....y....c","c..c...c..c",".ccc...ccc.","...c...c...","...c...c...","....ccc...."];const V=l(m(13,"c","z"),["...c..c","..cc.cc",".ccc.ccc","cccc.cccc",".ccc.ccc","..cc.cc","...c..c"],2,3);const J=["..eee..",".eeeee.","eeellee","eeellee",".eeeee.","..eee..","...e...","...e..."];const X=["...y...","..yyy..",".yyyyy.","yyyyyyy","..yYy..","..yYy..","..yYy..","..yYy.."];const Z=(()=>{const e=13;const r=11;const o=[];for(let c=0;c<r;c++){let s="";for(let n=0;n<e;n++){const t=n===0||c===0||n===e-1||c===r-1;const a=(n<2||n>e-3)&&(c<2||c>r-3);s+=a?"i":t&&(n+c)%2===0?"i":"."}o.push(s)}return o})();function T(e){return["....cccc....".replace(/c/g,e),"..cccccccc..".replace(/c/g,e),"cccccccccccc".replace(/c/g,e),"..cccccccc..".replace(/c/g,e),"....cccc....".replace(/c/g,e)]}const ee=["...qqqqqqqq...","...qqqqqqqq...","...qqqaaqqq...","qqqqqqqqqqqqqq"];const te=["KKKK.KKKK","KllKKKllK","KKKK.KKKK"];const oe=["KKK.KKK",".KK.KK."];const re=l(u(11,8,"u","x",false),["zz.xxx","zz.xx.","...xxx"],2,2);const ne=l(l(m(11,"n","z"),["...nnn...","....n...."].reverse(),1,-2),["l",".r","..r"],5,3);const ce=l(l(u(13,11,"z","q",false),[".....f.....","....f.f....","f..f...f..f",".ff.....ff."],1,2),["r.rr.r.rrr","r.rr.rrrrr"],2,7);const le=l(l(u(13,9,"u","l",false),["..f..",".fff.","fffff","ffFffff","fFFfFFff"],3,3),["yy","yy"],8,2);const se=l(u(11,9,"t","T",false),["llll.","lxxll","llll.l","lxxxl","llll.l","lxxxl","lllll"].map(e=>e.slice(0,5)),3,1);const ae=l(u(13,10,"z","Q",false),["f.","ff","f.","..","f.ffff","ff","f."],2,2);const ye=["..qq..","..qq..","qqqqqq"];const fe=["qqqqqqqq","qQQQQQQq","qqqqqqqq"];const ie=(()=>{let e=["...bbbbb...yyyyy","...b.x.b...y.x.y","...bx..b...yx..y","...bbbbb...yyyyy",".....n.......n..",".....n.......n..","nnnnnnnnnnnnnnnn"];for(const[r,o]of[[0,"y"],[4,"c"],[8,"o"],[12,"p"]]){e=l(e,[o+o+o,o+o+o,o+o+o],r,5)}return e})();const ue=l(["nnnnnnnnnnn","nQQQQQQQQQn","nQQQQQQQQQn","nQQQQQQQQQn","nQQQQQQQQQn","nQQQQQQQQQn","nQQQQQQQQQn","nQQQQQQQQQn",".nQQQQQQQn.","..nQQQQQn..","...nQQQn...","....nQn....",".....n....."],["...r...","..rrr..","..rKr..",".rrKrr.",".rrrrr.","rrrKrrr","rrrrrrr"],2,1);const xe=(()=>{let e=[];e=l(e,u(7,4,"z","f",false),3,0);e=l(e,["fff"],5,1);e=l(e,["fff"],5,2);e=l(e,["n"],6,4);e=l(e,["nnnnnnnnn"],2,5);e=l(e,["n"],2,6);e=l(e,["n"],10,6);e=l(e,u(5,3,"z","p",false),0,7);e=l(e,["ppp"],1,8);e=l(e,u(5,3,"z","b",false),8,7);e=l(e,["bbb"],9,8);return e})();const Qe=l(l(u(13,8,"z","u",false),["uu.uu.uu"],3,3),["uu","u."],2,8);const Ee=l(u(5,9,"q","Q",false),[".e.","c.c",".y.","c.c"],1,1);const Ke=["...ee","..e..",".e.ee",".e.e.",".e.ee","..e..","...ee"];const me=["KKK.KKK","KKKKKKK"];const pe=l(m(9,"n","c"),["l"],3,3);const Ye=["..mm",".mm.","mm.."];function p(e,r){const o=e.repeat(4);const c=`${e}...`;const s=[o,c,c,c];const n=a=>a.split("").reverse().join("");let t=s;if(r==="tr"||r==="br")t=t.map(n);if(r==="bl"||r==="br")t=[...t].reverse();return t}const qe=l(l(l(["..QQQQ"],u(13,9,"q","Q",false),0,1),m(7,"n","c"),3,2),["yy"],9,3);export const OTTO_SCENES=[{id:"network",name:"Network",color:"#00D4FF",line:"The first request, caught.",state:"present",layers:[{art:b,x:16,y:1,follow:true},{art:K("l"),x:27,y:1,outline:false,follow:true},{art:["l"],x:14,y:1,outline:false,follow:true}]},{id:"storage",name:"Storage",color:"#FFB800",line:"Keys in, keys out, nothing lost.",state:"present",layers:[{art:C,x:19,y:7},{art:w,x:16,y:1,follow:true,over:true}],ground:[3,29]},{id:"react-query",name:"Query",color:"#02CEE2",line:"Ask anything, find everything.",state:"static",ottoX:6,ottoY:3,layers:[{art:D,x:11,y:0,outline:false},{art:N,x:0,y:13},{art:M,x:0,y:0},{art:U,x:9,y:8,outline:false,over:true},{art:z,x:12,y:11,outline:false,over:true},{art:G,x:15,y:12,over:true},{art:j,x:13,y:20,outline:false,over:true},{art:H,x:19,y:10,outline:false,over:true}],ground:[2,27]},{id:"env",name:"Env",color:"#4AFF9F",line:"Every variable, checked.",state:"lean",layers:[{art:P,x:16,y:7}],ground:[3,28]},{id:"redux",name:"Redux",color:"#764abc",line:"One store, held close.",state:"hug",layers:[{art:k,x:6,y:12,over:true,follow:true},{art:["e.e","eee",".e."],x:17,y:4,outline:false},{art:["e.e","eee",".e."],x:21,y:1,outline:false}]},{id:"zustand",name:"Zustand",color:"#C08552",line:"Small stores, big possibilities.",state:"hug",layers:[{art:$,x:6,y:12,over:true,follow:true},{art:["e.e","eee",".e."],x:18,y:3,outline:false}]},{id:"jotai",name:"Jotai",color:"#6C47FF",line:"Atoms, one by one.",state:"point",layers:[{art:W,x:17,y:0,follow:true},{art:K("y"),x:13,y:2,outline:false},{art:K("y"),x:27,y:8,outline:false}]},{id:"time-machine",name:"Time Machine",color:"#06B6D4",line:"Any moment, back again.",state:"present",layers:[{art:V,x:16,y:-1,follow:true},{art:["ccc","",".cccc","","ccc"],x:0,y:9,outline:false}]},{id:"routes",name:"Routes",color:"#FF9F1C",line:"Knows where you are going.",state:"point",layers:[{art:J,x:20,y:0,follow:true},{art:["........ee",".......e..",".....ee...","...ee.....","ee........"],x:15,y:10,outline:false}]},{id:"highlight-updates",name:"Highlight Updates",color:"#10B981",line:"See every render. Catch what changed.",state:"lift",layers:[{art:X,x:6,y:-1,follow:true},{art:K("y"),x:1,y:0,outline:false},{art:K("y"),x:15,y:1,outline:false},{art:["l"],x:3,y:4,outline:false},{art:["l"],x:14,y:5,outline:false}]},{id:"debug-borders",name:"Debug Borders",color:"#10B981",line:"Every box, outlined.",state:"point",layers:[{art:Z,x:17,y:0,outline:false,follow:true}]},{id:"image-overlay",name:"Overlay",color:"#A855F7",line:"Design on top, pixel for pixel.",state:"present",layers:[{art:T("P"),x:16,y:8,follow:true},{art:T("b"),x:16,y:5,follow:true},{art:T("c"),x:16,y:2,follow:true}]},{id:"impersonate",name:"Impersonate",color:"#F59E0B",line:"Be anyone, safely.",state:"present",layers:[{art:ee,x:3,y:4,over:true},{art:te,x:6,y:10,over:true,outline:false},{art:oe,x:7,y:13,over:true,outline:false},{art:re,x:17,y:3,follow:true}]},{id:"perf-monitor",name:"Bench",color:"#F59E0B",line:"Frames, counted.",state:"present",layers:[{art:ne,x:17,y:0,follow:true},{art:["ccc","",".cccc","","ccc"],x:0,y:9,outline:false},{art:["KK","..KK"],x:6,y:9,over:true,outline:false},{art:[".KK","KK"],x:10,y:9,over:true,outline:false}]},{id:"js-top",name:"JS Top",color:"#F59E0B",line:"Who is eating the thread.",state:"debugging",layers:[{art:ce,x:18,y:6}],ground:[3,29]},{id:"images",name:"Images",color:"#C084FC",line:"Every image, weighed.",state:"present",layers:[{art:le,x:16,y:2,follow:true},{art:K("y"),x:26,y:0,outline:false},{art:K("y"),x:14,y:0,outline:false}]},{id:"assets",name:"Assets",color:"#2DD4BF",line:"What ships, and how big.",state:"lean",layers:[{art:se,x:16,y:9}],ground:[3,28]},{id:"console",name:"Console",color:"#10B981",line:"Logs, commands, and more.",state:"present",layers:[{art:ae,x:18,y:1},{art:ye,x:21,y:11},{art:fe,x:15,y:13,over:true}],ground:[3,28]},{id:"events",name:"Events",color:"#00D4FF",line:"Everything in order.",state:"present",layers:[{art:ie,x:15,y:1,follow:true}]},{id:"sentry",name:"Sentry",color:"#FF3366",line:"Catch issues before they ship.",state:"present",layers:[{art:ue,x:17,y:-1,follow:true},{art:["KK","..KK"],x:6,y:9,over:true,outline:false},{art:[".KK","KK"],x:10,y:9,over:true,outline:false}]},{id:"scenarios",name:"Scenarios",color:"#F43F5E",line:"Set the stage, replay it.",state:"present",layers:[{art:xe,x:16,y:0,follow:true}]},{id:"ask-buoy",name:"Ask Buoy",color:"#7DD3FC",line:"Get answers. Move faster.",state:"wave",layers:[{art:Qe,x:16,y:0},{art:K("u"),x:26,y:10,outline:false},{art:["u"],x:14,y:3,outline:false}]},{id:"tv-remote",name:"TV Remote",color:"#FF3366",line:"Control the app from here.",state:"present",layers:[{art:me,x:6,y:11,over:true,outline:false},{art:Ee,x:16,y:5,follow:true,over:true},{art:Ke,x:23,y:2,outline:false,follow:true}]},{id:"focus-inspector",name:"Focus Inspector",color:"#4ADE80",line:"See what's focused.",state:"present",layers:[{art:p("f","tl"),x:1,y:1,outline:false},{art:p("f","tr"),x:26,y:1,outline:false},{art:p("f","bl"),x:1,y:17,outline:false},{art:p("f","br"),x:26,y:17,outline:false},{art:pe,x:18,y:2,follow:true},{art:Ye,x:15,y:9,follow:true}]},{id:"camera",name:"Camera",color:"#F472B6",line:"A real feed, on the simulator.",state:"present",layers:[{art:qe,x:16,y:3,follow:true},{art:F("y"),x:25,y:-1,outline:false}]}];export const OTTO_SCENE_BY_ID=Object.fromEntries(OTTO_SCENES.map(e=>[e.id,e]));
|