@brett_lamy/ui 5.13.0 → 5.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/call-stack.d.ts +26 -0
- package/dist/components/call-stack.d.ts.map +1 -0
- package/dist/components/call-stack.js +236 -0
- package/dist/components/code-editor-window.d.ts +191 -0
- package/dist/components/code-editor-window.d.ts.map +1 -0
- package/dist/components/code-editor-window.js +1474 -0
- package/dist/components/code-editor.d.ts +213 -0
- package/dist/components/code-editor.d.ts.map +1 -0
- package/dist/components/code-editor.js +484 -0
- package/dist/components/file-upload.d.ts +1 -1
- package/dist/components/file-upload.d.ts.map +1 -1
- package/dist/components/file-upload.js +1 -1
- package/dist/components/filter-input.d.ts +1 -1
- package/dist/components/filter-input.d.ts.map +1 -1
- package/dist/components/filter-input.js +1 -1
- package/dist/components/filter.d.ts +1 -1
- package/dist/components/filter.d.ts.map +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/log-list.d.ts +95 -0
- package/dist/components/log-list.d.ts.map +1 -0
- package/dist/components/log-list.js +549 -0
- package/dist/components/object-tree.d.ts +30 -0
- package/dist/components/object-tree.d.ts.map +1 -0
- package/dist/components/object-tree.js +415 -0
- package/dist/components/object-value.d.ts +13 -0
- package/dist/components/object-value.d.ts.map +1 -0
- package/dist/components/object-value.js +69 -0
- package/dist/components/request-table.d.ts +78 -0
- package/dist/components/request-table.d.ts.map +1 -0
- package/dist/components/request-table.js +697 -0
- package/dist/components/spreadsheet.d.ts +1 -1
- package/dist/components/spreadsheet.d.ts.map +1 -1
- package/dist/components/spreadsheet.js +1 -1
- package/dist/components/syntax-highlighting.d.ts +45 -77
- package/dist/components/syntax-highlighting.d.ts.map +1 -1
- package/dist/components/syntax-highlighting.js +36 -275
- package/dist/components/terminal.d.ts +62 -0
- package/dist/components/terminal.d.ts.map +1 -0
- package/dist/components/terminal.js +172 -0
- package/dist/components/trace-timeline.d.ts +97 -0
- package/dist/components/trace-timeline.d.ts.map +1 -0
- package/dist/components/trace-timeline.js +850 -0
- package/dist/components/tree.d.ts.map +1 -1
- package/dist/components/tree.js +99 -91
- package/dist/components/video-preview.d.ts +1 -1
- package/dist/components/video-preview.d.ts.map +1 -1
- package/dist/components/video-preview.js +1 -1
- package/dist/components/video-timeline.d.ts +1 -1
- package/dist/components/video-timeline.d.ts.map +1 -1
- package/dist/components/video-timeline.js +1 -1
- package/dist/components/workspace.d.ts.map +1 -1
- package/dist/components/workspace.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +45 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +119 -100
- package/dist/lib/call-stack-model.d.ts +75 -0
- package/dist/lib/call-stack-model.d.ts.map +1 -0
- package/dist/lib/call-stack-model.js +114 -0
- package/dist/lib/code-document.d.ts +229 -0
- package/dist/lib/code-document.d.ts.map +1 -0
- package/dist/lib/code-document.js +727 -0
- package/dist/lib/code-editor-gpu.d.ts +9 -0
- package/dist/lib/code-editor-gpu.d.ts.map +1 -0
- package/dist/lib/code-editor-gpu.js +23 -0
- package/dist/lib/code-editor-model.d.ts +371 -0
- package/dist/lib/code-editor-model.d.ts.map +1 -0
- package/dist/lib/code-editor-model.js +1105 -0
- package/dist/lib/{file-upload.d.ts → file-upload-model.d.ts} +1 -1
- package/dist/lib/file-upload-model.d.ts.map +1 -0
- package/dist/lib/{file-upload.js → file-upload-model.js} +1 -1
- package/dist/lib/{filter.d.ts → filter-model.d.ts} +1 -1
- package/dist/lib/filter-model.d.ts.map +1 -0
- package/dist/lib/{filter.js → filter-model.js} +1 -1
- package/dist/lib/filter-query.d.ts +1 -1
- package/dist/lib/filter-query.d.ts.map +1 -1
- package/dist/lib/filter-query.js +1 -1
- package/dist/lib/log-list-model.d.ts +132 -0
- package/dist/lib/log-list-model.d.ts.map +1 -0
- package/dist/lib/log-list-model.js +214 -0
- package/dist/lib/log-list-window.d.ts +121 -0
- package/dist/lib/log-list-window.d.ts.map +1 -0
- package/dist/lib/log-list-window.js +245 -0
- package/dist/lib/object-tree-model.d.ts +162 -0
- package/dist/lib/object-tree-model.d.ts.map +1 -0
- package/dist/lib/object-tree-model.js +347 -0
- package/dist/lib/object-tree-value.d.ts +139 -0
- package/dist/lib/object-tree-value.d.ts.map +1 -0
- package/dist/lib/object-tree-value.js +410 -0
- package/dist/lib/request-table-model.d.ts +85 -0
- package/dist/lib/request-table-model.d.ts.map +1 -0
- package/dist/lib/request-table-model.js +105 -0
- package/dist/lib/{spreadsheet.d.ts → spreadsheet-model.d.ts} +1 -1
- package/dist/lib/spreadsheet-model.d.ts.map +1 -0
- package/dist/lib/{spreadsheet.js → spreadsheet-model.js} +1 -1
- package/dist/lib/syntax.d.ts +19 -7
- package/dist/lib/syntax.d.ts.map +1 -1
- package/dist/lib/syntax.js +54 -50
- package/dist/lib/terminal-line.d.ts +155 -0
- package/dist/lib/terminal-line.d.ts.map +1 -0
- package/dist/lib/terminal-line.js +463 -0
- package/dist/lib/trace-timeline-draw.d.ts +109 -0
- package/dist/lib/trace-timeline-draw.d.ts.map +1 -0
- package/dist/lib/trace-timeline-draw.js +252 -0
- package/dist/lib/trace-timeline-model.d.ts +324 -0
- package/dist/lib/trace-timeline-model.d.ts.map +1 -0
- package/dist/lib/trace-timeline-model.js +510 -0
- package/dist/lib/video-render.d.ts +1 -1
- package/dist/lib/video-render.d.ts.map +1 -1
- package/dist/lib/video-render.js +1 -1
- package/dist/lib/{video-timeline.d.ts → video-timeline-model.d.ts} +1 -1
- package/dist/lib/video-timeline-model.d.ts.map +1 -0
- package/dist/lib/{video-timeline.js → video-timeline-model.js} +1 -1
- package/package.json +7 -1
- package/dist/lib/file-upload.d.ts.map +0 -1
- package/dist/lib/filter.d.ts.map +0 -1
- package/dist/lib/spreadsheet.d.ts.map +0 -1
- package/dist/lib/video-timeline.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -72,103 +72,122 @@ import { Tree as na, TreeFileIcon as ra, TreeFolderIcon as ia } from "./componen
|
|
|
72
72
|
import { Accordion as aa, AccordionContent as oa, AccordionItem as sa, AccordionTrigger as ca, Disclosure as la, DisclosureGroup as ua, DisclosurePanel as da, DisclosureTrigger as fa, disclosureGroupVariants as pa } from "./components/disclosure.js";
|
|
73
73
|
import { Progress as ma, progressIndicatorVariants as ha, progressVariants as ga } from "./components/progress.js";
|
|
74
74
|
import { Form as _a, FormSection as va } from "./components/form.js";
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import {
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import {
|
|
151
|
-
import {
|
|
152
|
-
import {
|
|
153
|
-
import {
|
|
154
|
-
import {
|
|
155
|
-
import {
|
|
156
|
-
import {
|
|
157
|
-
import {
|
|
158
|
-
import {
|
|
159
|
-
import {
|
|
160
|
-
import {
|
|
161
|
-
import {
|
|
162
|
-
import {
|
|
163
|
-
import {
|
|
164
|
-
import {
|
|
165
|
-
import {
|
|
166
|
-
import {
|
|
167
|
-
import {
|
|
168
|
-
import {
|
|
169
|
-
import {
|
|
170
|
-
import {
|
|
171
|
-
import {
|
|
172
|
-
import {
|
|
173
|
-
import {
|
|
174
|
-
export { Bt as AL, I as ALL_HANDLES, aa as Accordion, oa as AccordionContent, sa as AccordionItem, ca as AccordionTrigger, Vn as AdaptivePane, A as AnimatedHeight, _o as AnnotateLightbox, ge as AppearanceContext, _e as AppearanceProvider, ss as ArtifactChatContainer, Mc as AssistantMessage, St as Avatar, Ct as AvatarGroup, t as BARH, ve as BLProvider, ye as BLSafeCtx, be as BLStickyCtx, dr as Badge, ir as Breadcrumb, ar as BreadcrumbEllipsis, or as BreadcrumbItem, sr as BreadcrumbSeparator, Mt as Button, ql as CRON_FIELDS, ru as CRON_PRESETS, Kc as Calendar, qc as CalendarCell, Jc as CalendarGrid, Yc as CalendarHeader, ce as Canvas, le as CanvasFrame, ue as CanvasGuides, de as CanvasHandles, fe as CanvasMarquee, pe as CanvasMiniMap, pr as Card, mr as CardContent, hr as CardDescription, gr as CardFooter, _r as CardHeader, vr as CardTitle, he as Celebrate, is as ChatColumn, as as ChatColumnComposer, os as ChatColumnTranscript, Hr as Checkbox, Ur as CheckboxGroup, O as Chevron, Le as CloudSync, gl as ColorArea, ul as ColorField, dl as ColorFieldGroup, fl as ColorFieldInput, pl as ColorFieldSwatch, _l as ColorPicker, vl as ColorPickerContent, yl as ColorPickerTrigger, bl as ColorSlider, ml as ColorSwatch, xl as ColorSwatchPicker, Sl as ColorSwatchPickerItem, Cl as ColorThumb, qi as ComboBox, Ji as ComboBoxContent, Yi as ComboBoxInput, Xi as ComboBoxItem, Zi as ComboBoxSection, mc as CommandEmpty, hc as CommandFooter, gc as CommandGroup, _c as CommandHighlight, vc as CommandInput, yc as CommandItem, bc as CommandList, xc as CommandMenu, Sc as CommandPage, Cc as CommandSeparator, vo as Composer, yo as ComposerAdd, bo as ComposerAddon, io as ComposerAnnotatorProvider, xo as ComposerAttach, So as ComposerAttachments, Co as ComposerBump, wo as ComposerBumpContent, To as ComposerBumpHandle, Eo as ComposerButton, Do as ComposerCard, Zo as ComposerCards, Oo as ComposerExpand, ko as ComposerFab, Ao as ComposerFooter, jo as ComposerInput, Mo as ComposerMenuItem, Qo as ComposerMorphCard, No as ComposerOptions, Po as ComposerOptionsOutlet, Fo as ComposerOutlet, Io as ComposerPillLabel, $o as ComposerQueue, Lo as ComposerSelect, Ro as ComposerSend, zo as ComposerSeparator, Bo as ComposerSpacer, Vo as ComposerStop, Ho as ComposerText, j as ContentSwap, wi as ContextMenu, Ti as ContextMenuContent, Ei as ContextMenuItem, Di as ContextMenuLabel, Oi as ContextMenuSection, ki as ContextMenuSeparator, Ai as ContextMenuShortcut, ji as ContextMenuSub, Nc as Conversation, Pc as ConversationComposer, Fc as ConversationEmpty, Ic as ConversationGreeting, Lc as ConversationMessages, Rc as ConversationSuggestions, zc as ConversationTyping, ds as CountdownRing, Ln as Credenza, iu as CronEditor, sf as DATE_PRESETS, xh as DEFAULT_OPENCODE_PREVIEW_URL, Sh as DEFAULT_OPENCODE_RUNTIME_URL, As as DEFAULT_SAMPLES, _h as DEFAULT_TUI_RUNTIME_URL, zu as DataDirVersionError, Qc as DateField, $c as DateInput, rl as DatePicker, il as DatePickerContent, al as DatePickerField, ol as DateRangePicker, sl as DateRangePickerContent, cl as DateRangePickerField, el as DateSegment, ei as Dialog, ti as DialogAction, ni as DialogBody, ri as DialogClose, ii as DialogContent, ai as DialogDescription, oi as DialogFooter, si as DialogHeader, ci as DialogTitle, li as DialogTrigger, la as Disclosure, ua as DisclosureGroup, da as DisclosurePanel, fa as DisclosureTrigger, Na as DocstreamRefContext, lt as DropdownMenu, ut as DropdownMenuContent, dt as DropdownMenuItem, ft as DropdownMenuLabel, pt as DropdownMenuSection, mt as DropdownMenuSeparator, ht as DropdownMenuShortcut, gt as DropdownMenuSub, Re as DurableStreamsClient, n as EASE, L as EDGE_HANDLES, gn as EditBar, cf as FILTER_OPERATORS, r as FONT, wl as FONT_CATEGORIES, Rs as Fader, Pa as FbMd, cm as FfmpegError, vm as FfmpegProvider, zr as FieldDescription, Br as FieldError, lp as FileDropZone, up as FileItem, dp as FileList, fp as FileThumbnail, pp as FileUpload, mp as FileUploadButton, mh as Filmstrip, kf as FilterBar, Af as FilterChip, jf as FilterClear, Xf as FilterInput, Mf as FilterList, Nf as FilterMatch, Pf as FilterMenu, Ff as FilterToolbar, If as FilterValueEditor, ns as FloatingChat, es as FloatingSheet, Ml as FontList, Nl as FontPicker, Pl as FontStackPicker, _a as Form, va as FormSection, Tl as GOOGLE_FONTS, Ud as GPU_MIN_ROWS, R as HANDLE_DIR, Fa as HlPre, vt as HoverCard, yt as HoverCardHeader, bt as HoverCardTrigger, x as IC, S as ICON_ALIASES, C as ICON_CATEGORIES, w as ICON_KEYWORDS, T as ICON_NAMES, E as ICON_WEIGHTS, D as Icon, k as IconSwap, Vt as IndexBar, Ja as InkPicker, jr as Input, wr as Kbd, Tr as KbdGroup, zs as Knob, Sr as Label, It as List, Pi as ListBox, Fi as ListBoxHeader, Ii as ListBoxItem, Li as ListBoxSection, Lt as ListRow, Rt as ListSection, Ne as LocalStreams, Wd as MAX_BINS, z as MAX_ZOOM, B as MIN_SIZE, V as MIN_ZOOM, Fr as MarkdownEditor, Ia as MarkdownView, Wa as MemoStroke, Bc as MessageMarkdown, Ra as MessageScroller, Bu as MigrationError, Gs as MiniSyntaxError, uc as Morph, dc as MorphGroup, fc as MorphPresence, Pn as NavigationStack, lc as NowPlayingBars, b as NumberMorph, Dh as OPENCODE_CONNECTION_SLOT, Oh as OPENCODE_CREDENTIAL_SLOT, Eh as OpenCode, xd as PG_TYPE, Vu as PGliteError, ed as PGliteProvider, Ba as PK_INKS, Va as PK_TOOLS, Ha as PK_TOOL_ICONS, Ua as PK_W, Du as PasskeyEnrollDialog, ou as PasskeyError, Ya as PencilActions, qa as PencilCanvas, ro as PencilKitAnnotator, Xa as PencilToolButton, Za as PencilToolbar, Qa as PencilToolbarDivider, Si as PlainButton, Ci as PlainToggleButton, dh as PlaybackControls, fh as PlaybackTimecode, ot as Popover, st as PopoverContent, ct as PopoverTrigger, ma as Progress, fs as ProgressRing, ls as ProgressStepper, Ft as QRSvg, lf as RELATIVE_UNITS, Bs as RackGrid, Gr as Radio, Kr as RadioGroup, Xc as RangeCalendar, Ou as RecoveryKey, gs as ReplayPreview, _s as ReplayStage, jd as ResultTable, Hn as SBCollapsedCtx, Un as SBCtx, Ze as SHEET_MINIMIZE_TRAVEL, Qe as SHEET_TAP_SLOP, Wn as SIDEBAR_ICONS, Vs as STRUDEL_PARAMS, Nd as SchemaTree, Fn as ScreenWrap, kr as ScrollArea, jt as SearchField, Ot as Segmented, Bi as Select, Vi as SelectContent, Hi as SelectItem, Ui as SelectSection, Wi as SelectTrigger, Gi as SelectValue, br as Separator, Vc as SettledBanner, pi as Sheet, mi as SheetBody, hi as SheetClose, gi as SheetContent, _i as SheetDescription, vi as SheetFooter, yi as SheetHeader, bi as SheetTitle, zn as SideDrawer, Gn as Sidebar, Kn as SidebarContent, qn as SidebarFooter, Jn as SidebarHeader, Yn as SidebarInset, Xn as SidebarItem, Zn as SidebarNav, Qn as SidebarProvider, $n as SidebarSearch, er as SidebarSection, tr as SidebarTrigger, nr as SidebarWorkspace, cd as SingleTabGate, Er as Skeleton, Dr as SkeletonText, Qi as Slider, $i as SliderThumb, ea as SliderTrack, kt as Spinner, _n as SplitView, vn as SplitViewContent, yn as SplitViewDetail, bn as SplitViewEmpty, xn as SplitViewHeader, Sn as SplitViewItem, Cn as SplitViewSection, wn as SplitViewSidebar, Tn as SplitViewStack, En as SplitViewSupplementary, Dn as SplitViewToggle, rf as Spreadsheet, Id as SqlConsole, Od as SqlEditor, Hs as StepGrid, Ds as StlViewer, Pe as StreamFullError, Ga as StrokePath, js as StrudelPlayer, Us as StrudelRack, Ks as StrudelSyntaxError, Hc as Suggestion, Dt as Switch, wa as SyntaxHighlighting, Ta as SyntaxHighlightingContent, Ea as SyntaxHighlightingCopyButton, Da as SyntaxHighlightingHeader, Oa as SyntaxHighlightingTitle, ka as SyntaxTokens, e as THEME_VARS, Ut as Tab, hn as TabBar, Wt as TabList, Gt as TabPanel, Yt as TabView, Xt as TabViewAction, Zt as TabViewBar, Qt as TabViewFooter, $t as TabViewHeader, en as TabViewIndicator, tn as TabViewList, nn as TabViewPanel, rn as TabViewPanels, an as TabViewSeparator, on as TabViewTab, Kt as Tabs, Ep as TailscaleError, rm as TailscaleExitNodes, Qp as TailscaleLoginButton, $p as TailscaleMark, im as TailscaleMenu, am as TailscaleMenuSummary, vp as TailscalePolicyError, Bp as TailscaleProvider, Xp as TailscaleRouter, em as TailscaleStatusBadge, Vr as TextField, y as TextMorph, Nr as Textarea, xe as ThemeScope, Se as ThemeScopeContext, tl as TimeField, Gl as TimeInput, oo as ToastProvider, so as ToastQueue, co as Toaster, Yr as Toggle, Zr as ToggleGroup, Qr as ToggleGroupItem, Uc as ToolCall, $a as ToolPicker, Mi as Tooltip, Ni as TooltipTrigger, na as Tree, ra as TreeFileIcon, ia as TreeFolderIcon, vh as TuiEmbed, yh as TuiPreview, Wc as UserMessage, vu as VaultError, Au as VaultGate, bu as VaultProvider, ju as VaultSetup, Mu as VaultStatusBadge, mu as VaultStorageError, Nu as VaultUnlock, Pu as VaultUnsupported, ph as VideoPreview, oh as VideoTimeline, hh as Waveform, za as WbPopover, eo as WidthPicker, Gc as WorkLog, kc as WorkbenchAppearanceProvider, Ac as WorkbenchTheme, jh as Workspace, Mh as WorkspaceTabCloseButton, Nh as WorkspaceToolbar, qs as applyEdits, wt as avatarGroupVariants, Tt as avatarStatusVariants, Et as avatarVariants, fr as badgeVariants, su as base64UrlToBytes, Gd as binScale, i as brandTile, cr as breadcrumbItemVariants, lr as breadcrumbVariants, Uf as buildQuerySchema, eh as buildRender, Nt as buttonVariants, cu as bytesToBase64Url, Zc as calendarVariants, yr as cardVariants, H as centerOf, Js as chainCalls, Wr as checkboxVariants, Ce as chromeOffset, we as chromeStore, U as clampZoom, Wf as clausesToFilters, Ve as clearSessions, Om as clipDuration, km as clipEnd, Am as clipsAt, a as cn, uf as coerceFilter, M as collectSlots, hl as colorFieldGroupVariants, Kd as columnHistogram, af as columnName, qd as columnNumbers, wc as commandMatch, Uo as composerAddonVariants, Wo as composerBumpVariants, Go as composerButtonVariants, Ko as composerCardVariants, qo as composerFabVariants, Jo as composerMenuItemVariants, W as cornersOf, ps as countdownRingLabelVariants, Ch as createAgentWasmOpenCodeHost, wh as createAlmostNodeOpenCodeHost, Kp as createFakeTailscaleClient, lm as createFfmpeg, df as createFilter, ff as createFilterId, lu as createPasskey, rh as createPlayback, Dp as createTailscale, Gp as createTailscaleConnectClient, Op as createTailscaleFetch, lo as createToastQueue, yu as createVault, kh as createVaultOpenCodeConnectionStore, Ah as createVaultOpenCodeCredentialStore, Rn as credenzaVariants, au as cronEditorVariants, Jl as cronProblems, Rd as csvField, He as currentSessionId, nl as dateInputVariants, ll as datePickerFieldVariants, pf as dateRange, yp as decodeTailscalePolicy, mf as defaultOperator, uo as defaultToastQueue, N as defineSlot, Hu as deleteDatabase, Ue as deleteSession, zd as delimiterForPath, Qf as describeAccept, Yl as describeCron, $l as describeCronError, hf as describeFilter, Rl as describeRecurrence, $f as describeRules, bp as describeTailscalePolicy, gf as describeValue, Bd as detectDelimiter, ud as detectImportFormat, uu as detectPasskeySupport, yd as detectPersistenceSupport, ze as deviceId, ui as dialogActionVariants, di as dialogOverlayClass, fi as dialogVariants, s as direction, pa as disclosureGroupVariants, G as dist, K as distToPolyline, q as distToSegment, hd as downloadFile, _t as dropdownMenuItemVariants, dd as dumpVersion, _f as emptyValue, Pt as encodeQR, xp as encodeTailscalePolicy, ep as entriesFromFileList, Ip as exitNodeName, Lp as exitNodeOnline, Rp as exitNodePeers, fd as exportDatabase, mm as extractFrames, hm as extractPeaks, c as fades, um as ffmpegUnsupportedReason, hp as fileDropZoneVariants, gp as fileItemVariants, tp as fileKind, Lf as filterBarVariants, Rf as filterChipVariants, Zf as filterInputVariants, zf as filterToolbarVariants, Ys as findCall, jm as findClip, El as findGoogleFont, ur as fitBreadcrumbs, J as fitCamera, sh as fitTimelineZoom, l as flipPlay, u as flipSnapshot, Fl as fontListItemVariants, Il as fontPickerTriggerVariants, Dl as fontStack, Ll as fontStackPickerVariants, Fd as formatBytes, Sd as formatCell, Cd as formatDuration, Xs as formatNumber, zl as formatOccurrence, vs as formatReplayTime, Mm as formatTimecode, Y as frameHandles, gm as frameTimes, du as getPrfSecret, ys as getReplayDevtools, bs as getReplayMarkers, xs as getReplayMeta, Ss as getReplayPointerTrack, Ms as getStrudelSnapshot, Ol as googleFontsUrl, eu as gpuCronAvailable, X as handleCursor, Jd as histogramCpu, La as hlTokens, Uu as identifier, pd as importDatabase, Z as inFrame, Ht as indexBarVariants, hu as indexedDbStorage, Yd as inferColumnType, Mr as inputVariants, Nm as insertClip, Ir as insertMarkdown, Gf as interpretQuery, Q as intersects, Zs as isAudible, vf as isDateValue, yf as isFilterComplete, kp as isSafeLoginUrl, Os as isStlUrl, Sp as isTailnetAddress, Cp as isTailnetHost, bh as isTuiCodeBlock, Cr as labelVariants, ba as languageFromPath, Pm as layoutTrack, xa as lexSyntax, Ri as listBoxItemVariants, zi as listBoxVariants, zt as listRowVariants, kl as loadGoogleFont, Bl as loadGpuTime, tt as loadJSON, d as loadMotion, Th as loadOpenCodeRuntime, _d as loadSchema, gu as localStorageStorage, Fm as lookCss, Im as lookFfmpeg, Lr as looksLikeMarkdown, Lm as magneticIndex, Rr as markdownEditorVariants, bf as matchFilters, Kf as matchOption, wp as matchTailscalePolicy, np as matchesAccept, xf as matchesFilters, Tc as matchesHotkey, dm as mediaFileName, ym as mediaFrames, bm as mediaPeaks, _u as memoryStorage, Ap as memoryTailscalePersistence, Qs as miniAtoms, $s as miniLayers, ec as mixCode, Rm as moveClip, In as navigationPush, Xl as nextCronRuns, Wu as openDatabase, Sf as operatorLabel, Cf as operatorsFor, Ka as outlinePath, Fe as pack, Xd as parseCellDate, Zd as parseCellNumber, tu as parseCronText, Vd as parseCsv, Gu as parseDataDir, qf as parseDateText, wf as parseFilters, tc as parseMini, fm as parseProbe, pm as parseRate, ks as parseStl, nc as parseStrudel, Vl as parseTime, zm as parseTimecode, fu as passkeyUnsupportedReason, Ku as peekDataDirVersion, to as pencilToolButtonVariants, wd as pgTypeName, zp as pickExitNode, gd as pickFile, Ns as playStrudel, Td as pluralRows, Iu as positionToLineColumn, f as prefersReducedMotion, Cs as preloadReplayStage, o as pressable, xm as probeMedia, ya as probeWebGPU, ha as progressIndicatorVariants, ms as progressRingVariants, us as progressStepperVariants, ga as progressVariants, Bm as quantize, qu as quoteIdent, Ju as quoteLiteral, qr as radioGroupVariants, Jr as radioVariants, md as readArchiveVersion, rp as readDropItems, Yu as readServerInfo, We as readSession, Te as readThemeVars, ku as recoveryKeyVariants, $ as rectOf, qp as registerTailscaleRouter, ip as rejectionMessage, Sm as releaseMedia, Vm as removeClips, rc as removeMethod, th as renderMime, nh as renderTimeline, ws as replayDemoEvents, Ts as replayDevtoolsAt, Es as replayPointerAt, ee as resizeFrame, Tp as resolveTailscalePolicy, Md as resultTableVariants, te as rotateFrame, ne as rotatePt, Hl as rruleLine, ch as rulerSteps, Xu as runMigrations, Zu as runSql, Qu as runtimePostgresMajor, nt as saveJSON, Pd as schemaTreeVariants, Ar as scrollAreaVariants, Ki as selectTriggerVariants, Qd as selectionStats, xr as separatorVariants, Tf as serializeFilters, Ge as sessionCloud, ic as setArg, ac as setMethod, oc as setMiniAtom, sc as setMiniSource, cc as setTempo, xi as sheetVariants, Bn as sideDrawerVariants, Or as skeletonVariants, Hm as sliceTimeline, ta as sliderVariants, re as snapMove, Um as snapTargets, Wm as snapTime, $d as sortKeys, ef as sortPermutationCpu, tf as sortRows, nf as sortTextPermutation, Gm as sourceTime, At as spinnerAnimations, Km as splitClip, Zl as splitCron, Lu as splitStatements, On as splitViewItemVariants, kn as splitViewSectionLabelVariants, of as spreadsheetVariants, p as springCss, m as springs, Ld as sqlConsoleVariants, kd as sqlEditorVariants, Ru as sqlSpans, Ke as startSessionRecording, Ps as stopStrudel, qe as storageUsage, Hd as stringifyCsv, Fs as strudelNow, Is as subscribeStrudel, Aa as syntaxHighlightingVariants, qt as tabVariants, sn as tabViewActionVariants, cn as tabViewBarVariants, ln as tabViewIndicatorVariants, un as tabViewListVariants, dn as tabViewTabVariants, fn as tabViewVariants, Jt as tabsListVariants, jp as tailscaleErrorMessage, om as tailscaleExitNodesVariants, tm as tailscaleLoginButtonVariants, sm as tailscaleMenuVariants, Jp as tailscaleRouterUnsupportedReason, Yp as tailscaleServiceWorkerUrl, nm as tailscaleStatusBadgeVariants, Pr as textareaVariants, Ee as themeScopeClass, De as themeScopeProps, Oe as themeVarStyle, Kl as timeInputVariants, Ul as timeTextSegments, qm as timelineDuration, Jm as timelineId, Ym as timelineLooks, lh as timelineMediaType, uh as timelineZoomRange, ke as tintVars, ie as toBoard, Ed as toCsv, Dd as toJson, Mp as toResponse, ae as toScreen, $u as toSqlError, Np as toTailscaleRequest, Ef as toTime, fo as toast, po as toastApi, mo as toastIconVariants, ho as toastVariants, $r as toggleGroupVariants, Xr as toggleVariants, Sa as tokenizeLines, Xm as trackDuration, Ws as trackName, Zm as trimClip, oe as unionRect, Ie as unpack, Fu as unsupportedMessage, Qm as updateClip, Ls as updateStrudel, $m as updateTrack, Ae as useAppearance, cs as useArtifactChatContainer, me as useCanvas, je as useChromeHidden, Be as useCloud, Ec as useCommandActive, Dc as useCommandMenu, Yo as useComposer, ao as useComposerAnnotator, Xo as useComposerBump, P as useContainerSize, F as useContainerWidth, it as useControllableState, hs as useCountdown, nu as useCronParse, td as useDatabaseStatus, h as useDirection, et as useEdgeSwipe, xu as useEncryptedState, nd as useExec, Cm as useFfmpeg, wm as useFfmpegSupport, ap as useFilePreview, op as useFileUpload, _p as useFileUploadContext, Bf as useFilterBar, Jf as useFilterQuery, Vf as useFilters, rs as useFloatingChat, ts as useFloatingSheet, Al as useGoogleFont, jl as useGoogleFontStatus, Oc as useHotkey, xt as useHoverCard, rd as useLiveQuery, Tm as useMediaFrames, Em as useMediaInfo, Dm as useMediaPeaks, pc as useMorphTransition, g as useMotion, Hf as useOptionalFilterBar, Vp as useOptionalTailscale, id as usePGlite, Ph as useParentTab, Fh as useParentTabState, Ih as useParentTabset, Lh as useParentTabsetState, Rh as useParentWorkspace, Su as usePasskey, no as usePencilHistory, bd as usePersistenceSupport, rt as usePersistentState, ih as usePlaybackClock, ah as usePlaybackState, ad as useQuery, od as useReadyDatabase, _ as useReducedMotion, vd as useSchema, at as useScrollHidden, Je as useSessionCloud, Ye as useSessionRecording, Xe as useSessions, $e as useSheetDrag, rr as useSidebar, An as useSplitView, jn as useSplitViewBack, Mn as useSplitViewColumn, Nn as useSplitViewStack, v as useSpringTransition, Ad as useSqlHistory, ja as useSyntaxHighlighting, Ma as useSyntaxTokens, ld as useTabLock, pn as useTabView, mn as useTabViewTab, Hp as useTailscale, Up as useTailscaleFetch, Zp as useTailscaleRouter, Wp as useTailscaleStatus, Me as useThemeScopeProps, Wl as useTimeParse, go as useToast, sd as useTransaction, Cu as useVault, wu as useVaultState, Tu as useWebAuthnSupport, jc as useWorkbenchAppearance, zh as useWorkspaceCallbackRef, Bh as useWorkspaceRef, Ql as validateCron, sp as validateFiles, Eu as vaultErrorMessage, Pp as vaultTailscalePersistence, Yf as warmFilterQuery, _m as wavPeaks, gh as waveformVariants, Fp as webStorageTailscalePersistence, Ca as webgpuSupported, pu as wipe, Df as withOperator, Of as withValue, cp as xhrUpload, se as zoomAt };
|
|
75
|
+
import { MAX_PAGE_CHARS as ya, MAX_PAGE_LINES as ba, MAX_PAGE_LINE_LENGTH as xa, lexCodeLine as Sa, splitCodeLines as Ca, tooBigForPage as wa } from "./lib/code-editor-model.js";
|
|
76
|
+
import { lineAfterEdit as Ta, splitEditorLines as Ea } from "./lib/code-document.js";
|
|
77
|
+
import { probeWebGPU as Da } from "./lib/webgpu.js";
|
|
78
|
+
import { languageFromPath as Oa, lexSyntax as ka, tokenizeLines as Aa, webgpuSupported as ja } from "./lib/syntax.js";
|
|
79
|
+
import { createGpuCodeHighlight as Ma } from "./lib/code-editor-gpu.js";
|
|
80
|
+
import { codeEditorGutterCellVariants as Na, codeEditorLineVariants as Pa } from "./components/code-editor-window.js";
|
|
81
|
+
import { CodeEditor as Fa, CodeEditorContent as Ia, CodeEditorCopyButton as La, CodeEditorHeader as Ra, CodeEditorTitle as za, SyntaxTokens as Ba, codeEditorVariants as Va, useCodeEditor as Ha, useSyntaxTokens as Ua } from "./components/code-editor.js";
|
|
82
|
+
import { SyntaxHighlighting as Wa, SyntaxHighlightingContent as Ga, SyntaxHighlightingCopyButton as Ka, SyntaxHighlightingHeader as qa, SyntaxHighlightingTitle as Ja, syntaxHighlightingVariants as Ya, useSyntaxHighlighting as Xa } from "./components/syntax-highlighting.js";
|
|
83
|
+
import { DocstreamRefContext as Za, FbMd as Qa, HlPre as $a, MarkdownView as eo, hlTokens as to } from "./components/markdown-view.js";
|
|
84
|
+
import { MessageScroller as no } from "./components/message-scroller.js";
|
|
85
|
+
import { WbPopover as ro } from "./components/composer/composer-popover.js";
|
|
86
|
+
import { PK_INKS as io, PK_TOOLS as ao, PK_TOOL_ICONS as oo, PK_W as so } from "./components/pencilkit/constants.js";
|
|
87
|
+
import { MemoStroke as co, StrokePath as lo, outlinePath as uo } from "./components/pencilkit/stroke-path.js";
|
|
88
|
+
import { PencilCanvas as fo } from "./components/pencilkit/pencil-canvas.js";
|
|
89
|
+
import { InkPicker as po, PencilActions as mo, PencilToolButton as ho, PencilToolbar as go, PencilToolbarDivider as _o, ToolPicker as vo, WidthPicker as yo, pencilToolButtonVariants as bo } from "./components/pencilkit/pencil-toolbar.js";
|
|
90
|
+
import { usePencilHistory as xo } from "./components/pencilkit/use-pencil-history.js";
|
|
91
|
+
import { PencilKitAnnotator as So } from "./components/pencilkit/pencilkit-annotator.js";
|
|
92
|
+
import { ComposerAnnotatorProvider as Co, useComposerAnnotator as wo } from "./components/composer/annotator.js";
|
|
93
|
+
import { ToastProvider as To, ToastQueue as Eo, Toaster as Do, createToastQueue as Oo, defaultToastQueue as ko, toast as Ao, toastApi as jo, toastIconVariants as Mo, toastVariants as No, useToast as Po } from "./components/toast.js";
|
|
94
|
+
import { AnnotateLightbox as Fo, Composer as Io, ComposerAdd as Lo, ComposerAddon as Ro, ComposerAttach as zo, ComposerAttachments as Bo, ComposerBump as Vo, ComposerBumpContent as Ho, ComposerBumpHandle as Uo, ComposerButton as Wo, ComposerCard as Go, ComposerExpand as Ko, ComposerFab as qo, ComposerFooter as Jo, ComposerInput as Yo, ComposerMenuItem as Xo, ComposerOptions as Zo, ComposerOptionsOutlet as Qo, ComposerOutlet as $o, ComposerPillLabel as es, ComposerSelect as ts, ComposerSend as ns, ComposerSeparator as rs, ComposerSpacer as is, ComposerStop as as, ComposerText as os, composerAddonVariants as ss, composerBumpVariants as cs, composerButtonVariants as ls, composerCardVariants as us, composerFabVariants as ds, composerMenuItemVariants as fs, useComposer as ps, useComposerBump as ms } from "./components/composer/composer.js";
|
|
95
|
+
import { ComposerCards as hs, ComposerMorphCard as gs, ComposerQueue as _s } from "./components/composer/composer-cards.js";
|
|
96
|
+
import { FloatingSheet as vs, useFloatingSheet as ys } from "./components/floating-sheet.js";
|
|
97
|
+
import { FloatingChat as bs, useFloatingChat as xs } from "./components/floating-chat.js";
|
|
98
|
+
import { ChatColumn as Ss, ChatColumnComposer as Cs, ChatColumnTranscript as ws } from "./components/chat-column.js";
|
|
99
|
+
import { ArtifactChatContainer as Ts, useArtifactChatContainer as Es } from "./components/artifact-chat-container.js";
|
|
100
|
+
import { ProgressStepper as Ds, progressStepperVariants as Os } from "./components/progress-stepper.js";
|
|
101
|
+
import { CountdownRing as ks, ProgressRing as As, countdownRingLabelVariants as js, progressRingVariants as Ms, useCountdown as Ns } from "./components/progress-ring.js";
|
|
102
|
+
import { ReplayPreview as Ps, ReplayStage as Fs, formatReplayTime as Is, getReplayDevtools as Ls, getReplayMarkers as Rs, getReplayMeta as zs, getReplayPointerTrack as Bs, preloadReplayStage as Vs, replayDemoEvents as Hs, replayDevtoolsAt as Us, replayPointerAt as Ws } from "./components/replay-preview.js";
|
|
103
|
+
import { StlViewer as Gs, isStlUrl as Ks, parseStl as qs } from "./components/stl-viewer.js";
|
|
104
|
+
import { DEFAULT_SAMPLES as Js, StrudelPlayer as Ys, getStrudelSnapshot as Xs, playStrudel as Zs, stopStrudel as Qs, strudelNow as $s, subscribeStrudel as ec, updateStrudel as tc } from "./components/strudel-player.js";
|
|
105
|
+
import { Fader as nc, Knob as rc, RackGrid as ic, STRUDEL_PARAMS as ac, StepGrid as oc, StrudelRack as sc, trackName as cc } from "./components/strudel-rack.js";
|
|
106
|
+
import { MiniSyntaxError as lc, StrudelSyntaxError as uc, applyEdits as dc, chainCalls as fc, findCall as pc, formatNumber as mc, isAudible as hc, miniAtoms as gc, miniLayers as _c, mixCode as vc, parseMini as yc, parseStrudel as bc, removeMethod as xc, setArg as Sc, setMethod as Cc, setMiniAtom as wc, setMiniSource as Tc, setTempo as Ec } from "./components/strudel-syntax.js";
|
|
107
|
+
import { NowPlayingBars as Dc } from "./components/now-playing-bars.js";
|
|
108
|
+
import { Morph as Oc, MorphGroup as kc, MorphPresence as Ac, useMorphTransition as jc } from "./components/morph.js";
|
|
109
|
+
import { CommandEmpty as Mc, CommandFooter as Nc, CommandGroup as Pc, CommandHighlight as Fc, CommandInput as Ic, CommandItem as Lc, CommandList as Rc, CommandMenu as zc, CommandPage as Bc, CommandSeparator as Vc, commandMatch as Hc, matchesHotkey as Uc, useCommandActive as Wc, useCommandMenu as Gc, useHotkey as Kc } from "./components/command-menu.js";
|
|
110
|
+
import { WorkbenchAppearanceProvider as qc, WorkbenchTheme as Jc, useWorkbenchAppearance as Yc } from "./components/workbench-theme.js";
|
|
111
|
+
import { AssistantMessage as Xc, Conversation as Zc, ConversationComposer as Qc, ConversationEmpty as $c, ConversationGreeting as el, ConversationMessages as tl, ConversationSuggestions as nl, ConversationTyping as rl, MessageMarkdown as il, SettledBanner as al, Suggestion as ol, ToolCall as sl, UserMessage as cl, WorkLog as ll } from "./components/conversation.js";
|
|
112
|
+
import { Calendar as ul, CalendarCell as dl, CalendarGrid as fl, CalendarHeader as pl, RangeCalendar as ml, calendarVariants as hl } from "./components/calendar.js";
|
|
113
|
+
import { DateField as gl, DateInput as _l, DateSegment as vl, TimeField as yl, dateInputVariants as bl } from "./components/date-field.js";
|
|
114
|
+
import { DatePicker as xl, DatePickerContent as Sl, DatePickerField as Cl, DateRangePicker as wl, DateRangePickerContent as Tl, DateRangePickerField as El, datePickerFieldVariants as Dl } from "./components/date-picker.js";
|
|
115
|
+
import { ColorField as Ol, ColorFieldGroup as kl, ColorFieldInput as Al, ColorFieldSwatch as jl, ColorSwatch as Ml, colorFieldGroupVariants as Nl } from "./components/color-field.js";
|
|
116
|
+
import { ColorArea as Pl, ColorPicker as Fl, ColorPickerContent as Il, ColorPickerTrigger as Ll, ColorSlider as Rl, ColorSwatchPicker as zl, ColorSwatchPickerItem as Bl, ColorThumb as Vl } from "./components/color-picker.js";
|
|
117
|
+
import { FONT_CATEGORIES as Hl, GOOGLE_FONTS as Ul, findGoogleFont as Wl, fontStack as Gl, googleFontsUrl as Kl, loadGoogleFont as ql, useGoogleFont as Jl, useGoogleFontStatus as Yl } from "./lib/google-fonts.js";
|
|
118
|
+
import { FontList as Xl, FontPicker as Zl, FontStackPicker as Ql, fontListItemVariants as $l, fontPickerTriggerVariants as eu, fontStackPickerVariants as tu } from "./components/font-picker.js";
|
|
119
|
+
import { describeRecurrence as nu, formatOccurrence as ru, loadGpuTime as iu, parseTime as au, rruleLine as ou, timeTextSegments as su, useTimeParse as cu } from "./lib/gpu-time.js";
|
|
120
|
+
import { TimeInput as lu, timeInputVariants as uu } from "./components/time-input.js";
|
|
121
|
+
import { CRON_FIELDS as du, cronProblems as fu, describeCron as pu, nextCronRuns as mu, splitCron as hu, validateCron as gu } from "./lib/cron.js";
|
|
122
|
+
import { describeCronError as _u, gpuCronAvailable as vu, parseCronText as yu, useCronParse as bu } from "./lib/gpu-cron.js";
|
|
123
|
+
import { CRON_PRESETS as xu, CronEditor as Su, cronEditorVariants as Cu } from "./components/cron-editor.js";
|
|
124
|
+
import { PasskeyError as wu, base64UrlToBytes as Tu, bytesToBase64Url as Eu, createPasskey as Du, detectPasskeySupport as Ou, getPrfSecret as ku, passkeyUnsupportedReason as Au, wipe as ju } from "./lib/passkey.js";
|
|
125
|
+
import { VaultStorageError as Mu, indexedDbStorage as Nu, localStorageStorage as Pu, memoryStorage as Fu } from "./lib/vault-storage.js";
|
|
126
|
+
import { VaultError as Iu, createVault as Lu } from "./lib/vault.js";
|
|
127
|
+
import { VaultProvider as Ru, useEncryptedState as zu, usePasskey as Bu, useVault as Vu, useVaultState as Hu, useWebAuthnSupport as Uu, vaultErrorMessage as Wu } from "./lib/vault-react.js";
|
|
128
|
+
import { PasskeyEnrollDialog as Gu, RecoveryKey as Ku, recoveryKeyVariants as qu } from "./components/passkey-enroll-dialog.js";
|
|
129
|
+
import { VaultGate as Ju, VaultSetup as Yu, VaultStatusBadge as Xu, VaultUnlock as Zu, VaultUnsupported as Qu, unsupportedMessage as $u } from "./components/vault-gate.js";
|
|
130
|
+
import { positionToLineColumn as ed, splitStatements as td, sqlSpans as nd } from "./lib/sql-lex.js";
|
|
131
|
+
import { DataDirVersionError as rd, MigrationError as id, PGliteError as ad, deleteDatabase as od, identifier as sd, openDatabase as cd, parseDataDir as ld, peekDataDirVersion as ud, quoteIdent as dd, quoteLiteral as fd, readServerInfo as pd, runMigrations as md, runSql as hd, runtimePostgresMajor as gd, toSqlError as _d } from "./lib/pglite-core.js";
|
|
132
|
+
import { PGliteProvider as vd, useDatabaseStatus as yd, useExec as bd, useLiveQuery as xd, usePGlite as Sd, useQuery as Cd, useReadyDatabase as wd, useTransaction as Td } from "./lib/pglite.js";
|
|
133
|
+
import { SingleTabGate as Ed, useTabLock as Dd } from "./lib/tab-lock.js";
|
|
134
|
+
import { detectImportFormat as Od, dumpVersion as kd, exportDatabase as Ad, importDatabase as jd, readArchiveVersion as Md } from "./lib/pglite-transfer.js";
|
|
135
|
+
import { downloadFile as Nd, pickFile as Pd } from "./lib/pglite-files.js";
|
|
136
|
+
import { loadSchema as Fd, useSchema as Id } from "./lib/pglite-schema.js";
|
|
137
|
+
import { detectPersistenceSupport as Ld, usePersistenceSupport as Rd } from "./lib/pglite-storage.js";
|
|
138
|
+
import { PG_TYPE as zd, formatCell as Bd, formatDuration as Vd, pgTypeName as Hd, pluralRows as Ud, toCsv as Wd, toJson as Gd } from "./lib/sql-format.js";
|
|
139
|
+
import { SqlEditor as Kd, sqlEditorVariants as qd, useSqlHistory as Jd } from "./components/sql-editor.js";
|
|
140
|
+
import { ResultTable as Yd, resultTableVariants as Xd } from "./components/result-table.js";
|
|
141
|
+
import { SchemaTree as Zd, schemaTreeVariants as Qd } from "./components/schema-tree.js";
|
|
142
|
+
import { formatBytes as $d } from "./lib/format-bytes.js";
|
|
143
|
+
import { SqlConsole as ef, sqlConsoleVariants as tf } from "./components/sql-console.js";
|
|
144
|
+
import { csvField as nf, delimiterForPath as rf, detectDelimiter as af, parseCsv as of, stringifyCsv as sf } from "./lib/csv.js";
|
|
145
|
+
import { GPU_MIN_ROWS as cf, MAX_BINS as lf, binScale as uf, columnHistogram as df, columnNumbers as ff, histogramCpu as pf, inferColumnType as mf, parseCellDate as hf, parseCellNumber as gf, selectionStats as _f, sortKeys as vf, sortPermutationCpu as yf, sortRows as bf, sortTextPermutation as xf } from "./lib/spreadsheet-model.js";
|
|
146
|
+
import { Spreadsheet as Sf, columnName as Cf, spreadsheetVariants as wf } from "./components/spreadsheet.js";
|
|
147
|
+
import { DATE_PRESETS as Tf, FILTER_OPERATORS as Ef, RELATIVE_UNITS as Df, coerceFilter as Of, createFilter as kf, createFilterId as Af, dateRange as jf, defaultOperator as Mf, describeFilter as Nf, describeValue as Pf, emptyValue as Ff, isDateValue as If, isFilterComplete as Lf, matchFilters as Rf, matchesFilters as zf, operatorLabel as Bf, operatorsFor as Vf, parseFilters as Hf, serializeFilters as Uf, toTime as Wf, withOperator as Gf, withValue as Kf } from "./lib/filter-model.js";
|
|
148
|
+
import { FilterBar as qf, FilterChip as Jf, FilterClear as Yf, FilterList as Xf, FilterMatch as Zf, FilterMenu as Qf, FilterToolbar as $f, FilterValueEditor as ep, filterBarVariants as tp, filterChipVariants as np, filterToolbarVariants as rp, useFilterBar as ip, useFilters as ap, useOptionalFilterBar as op } from "./components/filter.js";
|
|
149
|
+
import { buildQuerySchema as sp, clausesToFilters as cp, interpretQuery as lp, matchOption as up, parseDateText as dp, useFilterQuery as fp, warmFilterQuery as pp } from "./lib/filter-query.js";
|
|
150
|
+
import { FilterInput as mp, filterInputVariants as hp } from "./components/filter-input.js";
|
|
151
|
+
import { describeAccept as gp, describeRules as _p, entriesFromFileList as vp, fileKind as yp, matchesAccept as bp, readDropItems as xp, rejectionMessage as Sp, useFilePreview as Cp, useFileUpload as wp, validateFiles as Tp, xhrUpload as Ep } from "./lib/file-upload-model.js";
|
|
152
|
+
import { FileDropZone as Dp, FileItem as Op, FileList as kp, FileThumbnail as Ap, FileUpload as jp, FileUploadButton as Mp, fileDropZoneVariants as Np, fileItemVariants as Pp, useFileUploadContext as Fp } from "./components/file-upload.js";
|
|
153
|
+
import { TailscalePolicyError as Ip, decodeTailscalePolicy as Lp, describeTailscalePolicy as Rp, encodeTailscalePolicy as zp, isTailnetAddress as Bp, isTailnetHost as Vp, matchTailscalePolicy as Hp, resolveTailscalePolicy as Up } from "./lib/tailscale-policy.js";
|
|
154
|
+
import { TailscaleError as Wp, createTailscale as Gp, createTailscaleFetch as Kp, isSafeLoginUrl as qp, memoryTailscalePersistence as Jp, tailscaleErrorMessage as Yp, toResponse as Xp, toTailscaleRequest as Zp, vaultTailscalePersistence as Qp, webStorageTailscalePersistence as $p } from "./lib/tailscale.js";
|
|
155
|
+
import { exitNodeName as em, exitNodeOnline as tm, exitNodePeers as nm, pickExitNode as rm } from "./lib/tailscale-exit.js";
|
|
156
|
+
import { TailscaleProvider as im, useOptionalTailscale as am, useTailscale as om, useTailscaleFetch as sm, useTailscaleStatus as cm } from "./lib/tailscale-react.js";
|
|
157
|
+
import { createTailscaleConnectClient as lm } from "./lib/tailscale-connect.js";
|
|
158
|
+
import { createFakeTailscaleClient as um } from "./lib/tailscale-fake.js";
|
|
159
|
+
import { registerTailscaleRouter as dm, tailscaleRouterUnsupportedReason as fm, tailscaleServiceWorkerUrl as pm } from "./lib/tailscale-router/bridge.js";
|
|
160
|
+
import { TailscaleRouter as mm, useTailscaleRouter as hm } from "./lib/tailscale-router/react.js";
|
|
161
|
+
import { TailscaleLoginButton as gm, TailscaleMark as _m, TailscaleStatusBadge as vm, tailscaleLoginButtonVariants as ym, tailscaleStatusBadgeVariants as bm } from "./components/tailscale-login-button.js";
|
|
162
|
+
import { TailscaleExitNodes as xm, TailscaleMenu as Sm, TailscaleMenuSummary as Cm, tailscaleExitNodesVariants as wm, tailscaleMenuVariants as Tm } from "./components/tailscale-menu.js";
|
|
163
|
+
import { FfmpegError as Em, createFfmpeg as Dm, ffmpegUnsupportedReason as Om, mediaFileName as km, parseProbe as Am, parseRate as jm } from "./lib/ffmpeg/index.js";
|
|
164
|
+
import { extractFrames as Mm, extractPeaks as Nm, frameTimes as Pm, wavPeaks as Fm } from "./lib/ffmpeg/media.js";
|
|
165
|
+
import { FfmpegProvider as Im, mediaFrames as Lm, mediaPeaks as Rm, probeMedia as zm, releaseMedia as Bm, useFfmpeg as Vm, useFfmpegSupport as Hm, useMediaFrames as Um, useMediaInfo as Wm, useMediaPeaks as Gm } from "./lib/ffmpeg/react.js";
|
|
166
|
+
import { clipDuration as Km, clipEnd as qm, clipsAt as Jm, findClip as Ym, formatTimecode as Xm, insertClip as Zm, layoutTrack as Qm, lookCss as $m, lookFfmpeg as eh, magneticIndex as th, moveClip as nh, parseTimecode as rh, quantize as ih, removeClips as ah, sliceTimeline as oh, snapTargets as sh, snapTime as ch, sourceTime as lh, splitClip as uh, timelineDuration as dh, timelineId as fh, timelineLooks as ph, trackDuration as mh, trimClip as hh, updateClip as gh, updateTrack as _h } from "./lib/video-timeline-model.js";
|
|
167
|
+
import { buildRender as vh, renderMime as yh, renderTimeline as bh } from "./lib/video-render.js";
|
|
168
|
+
import { createPlayback as xh, usePlaybackClock as Sh, usePlaybackState as Ch } from "./lib/playback.js";
|
|
169
|
+
import { VideoTimeline as wh, fitTimelineZoom as Th, rulerSteps as Eh, timelineMediaType as Dh, timelineZoomRange as Oh } from "./components/video-timeline.js";
|
|
170
|
+
import { PlaybackControls as kh, PlaybackTimecode as Ah, VideoPreview as jh } from "./components/video-preview.js";
|
|
171
|
+
import { Filmstrip as Mh } from "./components/filmstrip.js";
|
|
172
|
+
import { Waveform as Nh, waveformVariants as Ph } from "./components/waveform.js";
|
|
173
|
+
import { DEFAULT_TUI_RUNTIME_URL as Fh, TuiEmbed as Ih, TuiPreview as Lh, isTuiCodeBlock as Rh } from "./components/tui-preview.js";
|
|
174
|
+
import { DEFAULT_OPENCODE_PREVIEW_URL as zh } from "./lib/open-code-preview.js";
|
|
175
|
+
import { DEFAULT_OPENCODE_RUNTIME_URL as Bh, createAgentWasmOpenCodeHost as Vh, createAlmostNodeOpenCodeHost as Hh, loadOpenCodeRuntime as Uh } from "./lib/open-code-host.js";
|
|
176
|
+
import { OpenCode as Wh } from "./components/open-code.js";
|
|
177
|
+
import { OPENCODE_CONNECTION_SLOT as Gh, OPENCODE_CREDENTIAL_SLOT as Kh, createVaultOpenCodeConnectionStore as qh, createVaultOpenCodeCredentialStore as Jh } from "./lib/open-code-keychain.js";
|
|
178
|
+
import { Workspace as Yh, WorkspaceTabCloseButton as Xh, WorkspaceToolbar as Zh, useParentTab as Qh, useParentTabState as $h, useParentTabset as eg, useParentTabsetState as tg, useParentWorkspace as ng, useWorkspaceCallbackRef as rg, useWorkspaceRef as ig } from "./components/workspace.js";
|
|
179
|
+
import { TRACE_SCRUB_SPEEDS as ag, advanceAlong as og, formatTraceTime as sg, linearAxis as cg, selectStops as lg, stopAxis as ug } from "./lib/trace-timeline-model.js";
|
|
180
|
+
import { TraceTimeline as dg, traceTimelineVariants as fg } from "./components/trace-timeline.js";
|
|
181
|
+
import { copyTextOf as pg, previewFromValue as mg, previewText as hg, previewTokens as gg } from "./lib/object-tree-value.js";
|
|
182
|
+
import { ObjectValue as _g } from "./components/object-value.js";
|
|
183
|
+
import { childrenOfValue as vg, nodeFromValue as yg } from "./lib/object-tree-model.js";
|
|
184
|
+
import { ObjectTree as bg, objectTreeRowVariants as xg } from "./components/object-tree.js";
|
|
185
|
+
import { fileBaseName as Sg, fullLocation as Cg, shortLocation as wg } from "./lib/call-stack-model.js";
|
|
186
|
+
import { CallStack as Tg, callStackRowVariants as Eg } from "./components/call-stack.js";
|
|
187
|
+
import { LOG_LEVELS as Dg, countLogLevels as Og, formatLogTime as kg, logRowText as Ag, nodeText as jg, normalizeLogLevel as Mg } from "./lib/log-list-model.js";
|
|
188
|
+
import { LogList as Ng, LogRowContent as Pg, logListVariants as Fg } from "./components/log-list.js";
|
|
189
|
+
import { isRequestFailed as Ig, requestDisplayName as Lg, requestDurationText as Rg, requestName as zg, requestSizeText as Bg, requestStatusText as Vg, requestTimeRange as Hg, requestTone as Ug, sortRequests as Wg } from "./lib/request-table-model.js";
|
|
190
|
+
import { REQUEST_COLUMNS as Gg, RequestLink as Kg, RequestTable as qg, requestTableVariants as Jg } from "./components/request-table.js";
|
|
191
|
+
import { MAX_HISTORY as Yg, advance as Xg, applyCompletion as Zg, applyKey as Qg, cellWidth as $g, createLineState as e_, createTerminalShell as t_, eraseLine as n_, formatColumns as r_, readKeys as i_, renderLine as a_, stripAnsi as o_, textWidth as s_, toTerminalNewlines as c_, trimTranscript as l_, wordAtCursor as u_ } from "./lib/terminal-line.js";
|
|
192
|
+
import { Terminal as d_, terminalVariants as f_ } from "./components/terminal.js";
|
|
193
|
+
export { Bt as AL, I as ALL_HANDLES, aa as Accordion, oa as AccordionContent, sa as AccordionItem, ca as AccordionTrigger, Vn as AdaptivePane, A as AnimatedHeight, Fo as AnnotateLightbox, ge as AppearanceContext, _e as AppearanceProvider, Ts as ArtifactChatContainer, Xc as AssistantMessage, St as Avatar, Ct as AvatarGroup, t as BARH, ve as BLProvider, ye as BLSafeCtx, be as BLStickyCtx, dr as Badge, ir as Breadcrumb, ar as BreadcrumbEllipsis, or as BreadcrumbItem, sr as BreadcrumbSeparator, Mt as Button, du as CRON_FIELDS, xu as CRON_PRESETS, ul as Calendar, dl as CalendarCell, fl as CalendarGrid, pl as CalendarHeader, Tg as CallStack, ce as Canvas, le as CanvasFrame, ue as CanvasGuides, de as CanvasHandles, fe as CanvasMarquee, pe as CanvasMiniMap, pr as Card, mr as CardContent, hr as CardDescription, gr as CardFooter, _r as CardHeader, vr as CardTitle, he as Celebrate, Ss as ChatColumn, Cs as ChatColumnComposer, ws as ChatColumnTranscript, Hr as Checkbox, Ur as CheckboxGroup, O as Chevron, Le as CloudSync, Fa as CodeEditor, Ia as CodeEditorContent, La as CodeEditorCopyButton, Ra as CodeEditorHeader, za as CodeEditorTitle, Pl as ColorArea, Ol as ColorField, kl as ColorFieldGroup, Al as ColorFieldInput, jl as ColorFieldSwatch, Fl as ColorPicker, Il as ColorPickerContent, Ll as ColorPickerTrigger, Rl as ColorSlider, Ml as ColorSwatch, zl as ColorSwatchPicker, Bl as ColorSwatchPickerItem, Vl as ColorThumb, qi as ComboBox, Ji as ComboBoxContent, Yi as ComboBoxInput, Xi as ComboBoxItem, Zi as ComboBoxSection, Mc as CommandEmpty, Nc as CommandFooter, Pc as CommandGroup, Fc as CommandHighlight, Ic as CommandInput, Lc as CommandItem, Rc as CommandList, zc as CommandMenu, Bc as CommandPage, Vc as CommandSeparator, Io as Composer, Lo as ComposerAdd, Ro as ComposerAddon, Co as ComposerAnnotatorProvider, zo as ComposerAttach, Bo as ComposerAttachments, Vo as ComposerBump, Ho as ComposerBumpContent, Uo as ComposerBumpHandle, Wo as ComposerButton, Go as ComposerCard, hs as ComposerCards, Ko as ComposerExpand, qo as ComposerFab, Jo as ComposerFooter, Yo as ComposerInput, Xo as ComposerMenuItem, gs as ComposerMorphCard, Zo as ComposerOptions, Qo as ComposerOptionsOutlet, $o as ComposerOutlet, es as ComposerPillLabel, _s as ComposerQueue, ts as ComposerSelect, ns as ComposerSend, rs as ComposerSeparator, is as ComposerSpacer, as as ComposerStop, os as ComposerText, j as ContentSwap, wi as ContextMenu, Ti as ContextMenuContent, Ei as ContextMenuItem, Di as ContextMenuLabel, Oi as ContextMenuSection, ki as ContextMenuSeparator, Ai as ContextMenuShortcut, ji as ContextMenuSub, Zc as Conversation, Qc as ConversationComposer, $c as ConversationEmpty, el as ConversationGreeting, tl as ConversationMessages, nl as ConversationSuggestions, rl as ConversationTyping, ks as CountdownRing, Ln as Credenza, Su as CronEditor, Tf as DATE_PRESETS, zh as DEFAULT_OPENCODE_PREVIEW_URL, Bh as DEFAULT_OPENCODE_RUNTIME_URL, Js as DEFAULT_SAMPLES, Fh as DEFAULT_TUI_RUNTIME_URL, rd as DataDirVersionError, gl as DateField, _l as DateInput, xl as DatePicker, Sl as DatePickerContent, Cl as DatePickerField, wl as DateRangePicker, Tl as DateRangePickerContent, El as DateRangePickerField, vl as DateSegment, ei as Dialog, ti as DialogAction, ni as DialogBody, ri as DialogClose, ii as DialogContent, ai as DialogDescription, oi as DialogFooter, si as DialogHeader, ci as DialogTitle, li as DialogTrigger, la as Disclosure, ua as DisclosureGroup, da as DisclosurePanel, fa as DisclosureTrigger, Za as DocstreamRefContext, lt as DropdownMenu, ut as DropdownMenuContent, dt as DropdownMenuItem, ft as DropdownMenuLabel, pt as DropdownMenuSection, mt as DropdownMenuSeparator, ht as DropdownMenuShortcut, gt as DropdownMenuSub, Re as DurableStreamsClient, n as EASE, L as EDGE_HANDLES, gn as EditBar, Ef as FILTER_OPERATORS, r as FONT, Hl as FONT_CATEGORIES, nc as Fader, Qa as FbMd, Em as FfmpegError, Im as FfmpegProvider, zr as FieldDescription, Br as FieldError, Dp as FileDropZone, Op as FileItem, kp as FileList, Ap as FileThumbnail, jp as FileUpload, Mp as FileUploadButton, Mh as Filmstrip, qf as FilterBar, Jf as FilterChip, Yf as FilterClear, mp as FilterInput, Xf as FilterList, Zf as FilterMatch, Qf as FilterMenu, $f as FilterToolbar, ep as FilterValueEditor, bs as FloatingChat, vs as FloatingSheet, Xl as FontList, Zl as FontPicker, Ql as FontStackPicker, _a as Form, va as FormSection, Ul as GOOGLE_FONTS, cf as GPU_MIN_ROWS, R as HANDLE_DIR, $a as HlPre, vt as HoverCard, yt as HoverCardHeader, bt as HoverCardTrigger, x as IC, S as ICON_ALIASES, C as ICON_CATEGORIES, w as ICON_KEYWORDS, T as ICON_NAMES, E as ICON_WEIGHTS, D as Icon, k as IconSwap, Vt as IndexBar, po as InkPicker, jr as Input, wr as Kbd, Tr as KbdGroup, rc as Knob, Dg as LOG_LEVELS, Sr as Label, It as List, Pi as ListBox, Fi as ListBoxHeader, Ii as ListBoxItem, Li as ListBoxSection, Lt as ListRow, Rt as ListSection, Ne as LocalStreams, Ng as LogList, Pg as LogRowContent, lf as MAX_BINS, Yg as MAX_HISTORY, ya as MAX_PAGE_CHARS, ba as MAX_PAGE_LINES, xa as MAX_PAGE_LINE_LENGTH, z as MAX_ZOOM, B as MIN_SIZE, V as MIN_ZOOM, Fr as MarkdownEditor, eo as MarkdownView, co as MemoStroke, il as MessageMarkdown, no as MessageScroller, id as MigrationError, lc as MiniSyntaxError, Oc as Morph, kc as MorphGroup, Ac as MorphPresence, Pn as NavigationStack, Dc as NowPlayingBars, b as NumberMorph, Gh as OPENCODE_CONNECTION_SLOT, Kh as OPENCODE_CREDENTIAL_SLOT, bg as ObjectTree, _g as ObjectValue, Wh as OpenCode, zd as PG_TYPE, ad as PGliteError, vd as PGliteProvider, io as PK_INKS, ao as PK_TOOLS, oo as PK_TOOL_ICONS, so as PK_W, Gu as PasskeyEnrollDialog, wu as PasskeyError, mo as PencilActions, fo as PencilCanvas, So as PencilKitAnnotator, ho as PencilToolButton, go as PencilToolbar, _o as PencilToolbarDivider, Si as PlainButton, Ci as PlainToggleButton, kh as PlaybackControls, Ah as PlaybackTimecode, ot as Popover, st as PopoverContent, ct as PopoverTrigger, ma as Progress, As as ProgressRing, Ds as ProgressStepper, Ft as QRSvg, Df as RELATIVE_UNITS, Gg as REQUEST_COLUMNS, ic as RackGrid, Gr as Radio, Kr as RadioGroup, ml as RangeCalendar, Ku as RecoveryKey, Ps as ReplayPreview, Fs as ReplayStage, Kg as RequestLink, qg as RequestTable, Yd as ResultTable, Hn as SBCollapsedCtx, Un as SBCtx, Ze as SHEET_MINIMIZE_TRAVEL, Qe as SHEET_TAP_SLOP, Wn as SIDEBAR_ICONS, ac as STRUDEL_PARAMS, Zd as SchemaTree, Fn as ScreenWrap, kr as ScrollArea, jt as SearchField, Ot as Segmented, Bi as Select, Vi as SelectContent, Hi as SelectItem, Ui as SelectSection, Wi as SelectTrigger, Gi as SelectValue, br as Separator, al as SettledBanner, pi as Sheet, mi as SheetBody, hi as SheetClose, gi as SheetContent, _i as SheetDescription, vi as SheetFooter, yi as SheetHeader, bi as SheetTitle, zn as SideDrawer, Gn as Sidebar, Kn as SidebarContent, qn as SidebarFooter, Jn as SidebarHeader, Yn as SidebarInset, Xn as SidebarItem, Zn as SidebarNav, Qn as SidebarProvider, $n as SidebarSearch, er as SidebarSection, tr as SidebarTrigger, nr as SidebarWorkspace, Ed as SingleTabGate, Er as Skeleton, Dr as SkeletonText, Qi as Slider, $i as SliderThumb, ea as SliderTrack, kt as Spinner, _n as SplitView, vn as SplitViewContent, yn as SplitViewDetail, bn as SplitViewEmpty, xn as SplitViewHeader, Sn as SplitViewItem, Cn as SplitViewSection, wn as SplitViewSidebar, Tn as SplitViewStack, En as SplitViewSupplementary, Dn as SplitViewToggle, Sf as Spreadsheet, ef as SqlConsole, Kd as SqlEditor, oc as StepGrid, Gs as StlViewer, Pe as StreamFullError, lo as StrokePath, Ys as StrudelPlayer, sc as StrudelRack, uc as StrudelSyntaxError, ol as Suggestion, Dt as Switch, Wa as SyntaxHighlighting, Ga as SyntaxHighlightingContent, Ka as SyntaxHighlightingCopyButton, qa as SyntaxHighlightingHeader, Ja as SyntaxHighlightingTitle, Ba as SyntaxTokens, e as THEME_VARS, ag as TRACE_SCRUB_SPEEDS, Ut as Tab, hn as TabBar, Wt as TabList, Gt as TabPanel, Yt as TabView, Xt as TabViewAction, Zt as TabViewBar, Qt as TabViewFooter, $t as TabViewHeader, en as TabViewIndicator, tn as TabViewList, nn as TabViewPanel, rn as TabViewPanels, an as TabViewSeparator, on as TabViewTab, Kt as Tabs, Wp as TailscaleError, xm as TailscaleExitNodes, gm as TailscaleLoginButton, _m as TailscaleMark, Sm as TailscaleMenu, Cm as TailscaleMenuSummary, Ip as TailscalePolicyError, im as TailscaleProvider, mm as TailscaleRouter, vm as TailscaleStatusBadge, d_ as Terminal, Vr as TextField, y as TextMorph, Nr as Textarea, xe as ThemeScope, Se as ThemeScopeContext, yl as TimeField, lu as TimeInput, To as ToastProvider, Eo as ToastQueue, Do as Toaster, Yr as Toggle, Zr as ToggleGroup, Qr as ToggleGroupItem, sl as ToolCall, vo as ToolPicker, Mi as Tooltip, Ni as TooltipTrigger, dg as TraceTimeline, na as Tree, ra as TreeFileIcon, ia as TreeFolderIcon, Ih as TuiEmbed, Lh as TuiPreview, cl as UserMessage, Iu as VaultError, Ju as VaultGate, Ru as VaultProvider, Yu as VaultSetup, Xu as VaultStatusBadge, Mu as VaultStorageError, Zu as VaultUnlock, Qu as VaultUnsupported, jh as VideoPreview, wh as VideoTimeline, Nh as Waveform, ro as WbPopover, yo as WidthPicker, ll as WorkLog, qc as WorkbenchAppearanceProvider, Jc as WorkbenchTheme, Yh as Workspace, Xh as WorkspaceTabCloseButton, Zh as WorkspaceToolbar, Xg as advance, og as advanceAlong, Zg as applyCompletion, dc as applyEdits, Qg as applyKey, wt as avatarGroupVariants, Tt as avatarStatusVariants, Et as avatarVariants, fr as badgeVariants, Tu as base64UrlToBytes, uf as binScale, i as brandTile, cr as breadcrumbItemVariants, lr as breadcrumbVariants, sp as buildQuerySchema, vh as buildRender, Nt as buttonVariants, Eu as bytesToBase64Url, hl as calendarVariants, Eg as callStackRowVariants, yr as cardVariants, $g as cellWidth, H as centerOf, fc as chainCalls, Wr as checkboxVariants, vg as childrenOfValue, Ce as chromeOffset, we as chromeStore, U as clampZoom, cp as clausesToFilters, Ve as clearSessions, Km as clipDuration, qm as clipEnd, Jm as clipsAt, a as cn, Na as codeEditorGutterCellVariants, Pa as codeEditorLineVariants, Va as codeEditorVariants, Of as coerceFilter, M as collectSlots, Nl as colorFieldGroupVariants, df as columnHistogram, Cf as columnName, ff as columnNumbers, Hc as commandMatch, ss as composerAddonVariants, cs as composerBumpVariants, ls as composerButtonVariants, us as composerCardVariants, ds as composerFabVariants, fs as composerMenuItemVariants, pg as copyTextOf, W as cornersOf, Og as countLogLevels, js as countdownRingLabelVariants, Vh as createAgentWasmOpenCodeHost, Hh as createAlmostNodeOpenCodeHost, um as createFakeTailscaleClient, Dm as createFfmpeg, kf as createFilter, Af as createFilterId, Ma as createGpuCodeHighlight, e_ as createLineState, Du as createPasskey, xh as createPlayback, Gp as createTailscale, lm as createTailscaleConnectClient, Kp as createTailscaleFetch, t_ as createTerminalShell, Oo as createToastQueue, Lu as createVault, qh as createVaultOpenCodeConnectionStore, Jh as createVaultOpenCodeCredentialStore, Rn as credenzaVariants, Cu as cronEditorVariants, fu as cronProblems, nf as csvField, He as currentSessionId, bl as dateInputVariants, Dl as datePickerFieldVariants, jf as dateRange, Lp as decodeTailscalePolicy, Mf as defaultOperator, ko as defaultToastQueue, N as defineSlot, od as deleteDatabase, Ue as deleteSession, rf as delimiterForPath, gp as describeAccept, pu as describeCron, _u as describeCronError, Nf as describeFilter, nu as describeRecurrence, _p as describeRules, Rp as describeTailscalePolicy, Pf as describeValue, af as detectDelimiter, Od as detectImportFormat, Ou as detectPasskeySupport, Ld as detectPersistenceSupport, ze as deviceId, ui as dialogActionVariants, di as dialogOverlayClass, fi as dialogVariants, s as direction, pa as disclosureGroupVariants, G as dist, K as distToPolyline, q as distToSegment, Nd as downloadFile, _t as dropdownMenuItemVariants, kd as dumpVersion, Ff as emptyValue, Pt as encodeQR, zp as encodeTailscalePolicy, vp as entriesFromFileList, n_ as eraseLine, em as exitNodeName, tm as exitNodeOnline, nm as exitNodePeers, Ad as exportDatabase, Mm as extractFrames, Nm as extractPeaks, c as fades, Om as ffmpegUnsupportedReason, Sg as fileBaseName, Np as fileDropZoneVariants, Pp as fileItemVariants, yp as fileKind, tp as filterBarVariants, np as filterChipVariants, hp as filterInputVariants, rp as filterToolbarVariants, pc as findCall, Ym as findClip, Wl as findGoogleFont, ur as fitBreadcrumbs, J as fitCamera, Th as fitTimelineZoom, l as flipPlay, u as flipSnapshot, $l as fontListItemVariants, eu as fontPickerTriggerVariants, Gl as fontStack, tu as fontStackPickerVariants, $d as formatBytes, Bd as formatCell, r_ as formatColumns, Vd as formatDuration, kg as formatLogTime, mc as formatNumber, ru as formatOccurrence, Is as formatReplayTime, Xm as formatTimecode, sg as formatTraceTime, Y as frameHandles, Pm as frameTimes, Cg as fullLocation, ku as getPrfSecret, Ls as getReplayDevtools, Rs as getReplayMarkers, zs as getReplayMeta, Bs as getReplayPointerTrack, Xs as getStrudelSnapshot, Kl as googleFontsUrl, vu as gpuCronAvailable, X as handleCursor, pf as histogramCpu, to as hlTokens, sd as identifier, jd as importDatabase, Z as inFrame, Ht as indexBarVariants, Nu as indexedDbStorage, mf as inferColumnType, Mr as inputVariants, Zm as insertClip, Ir as insertMarkdown, lp as interpretQuery, Q as intersects, hc as isAudible, If as isDateValue, Lf as isFilterComplete, Ig as isRequestFailed, qp as isSafeLoginUrl, Ks as isStlUrl, Bp as isTailnetAddress, Vp as isTailnetHost, Rh as isTuiCodeBlock, Cr as labelVariants, Oa as languageFromPath, Qm as layoutTrack, Sa as lexCodeLine, ka as lexSyntax, Ta as lineAfterEdit, cg as linearAxis, Ri as listBoxItemVariants, zi as listBoxVariants, zt as listRowVariants, ql as loadGoogleFont, iu as loadGpuTime, tt as loadJSON, d as loadMotion, Uh as loadOpenCodeRuntime, Fd as loadSchema, Pu as localStorageStorage, Fg as logListVariants, Ag as logRowText, $m as lookCss, eh as lookFfmpeg, Lr as looksLikeMarkdown, th as magneticIndex, Rr as markdownEditorVariants, Rf as matchFilters, up as matchOption, Hp as matchTailscalePolicy, bp as matchesAccept, zf as matchesFilters, Uc as matchesHotkey, km as mediaFileName, Lm as mediaFrames, Rm as mediaPeaks, Fu as memoryStorage, Jp as memoryTailscalePersistence, gc as miniAtoms, _c as miniLayers, vc as mixCode, nh as moveClip, In as navigationPush, mu as nextCronRuns, yg as nodeFromValue, jg as nodeText, Mg as normalizeLogLevel, xg as objectTreeRowVariants, cd as openDatabase, Bf as operatorLabel, Vf as operatorsFor, uo as outlinePath, Fe as pack, hf as parseCellDate, gf as parseCellNumber, yu as parseCronText, of as parseCsv, ld as parseDataDir, dp as parseDateText, Hf as parseFilters, yc as parseMini, Am as parseProbe, jm as parseRate, qs as parseStl, bc as parseStrudel, au as parseTime, rh as parseTimecode, Au as passkeyUnsupportedReason, ud as peekDataDirVersion, bo as pencilToolButtonVariants, Hd as pgTypeName, rm as pickExitNode, Pd as pickFile, Zs as playStrudel, Ud as pluralRows, ed as positionToLineColumn, f as prefersReducedMotion, Vs as preloadReplayStage, o as pressable, mg as previewFromValue, hg as previewText, gg as previewTokens, zm as probeMedia, Da as probeWebGPU, ha as progressIndicatorVariants, Ms as progressRingVariants, Os as progressStepperVariants, ga as progressVariants, ih as quantize, dd as quoteIdent, fd as quoteLiteral, qr as radioGroupVariants, Jr as radioVariants, Md as readArchiveVersion, xp as readDropItems, i_ as readKeys, pd as readServerInfo, We as readSession, Te as readThemeVars, qu as recoveryKeyVariants, $ as rectOf, dm as registerTailscaleRouter, Sp as rejectionMessage, Bm as releaseMedia, ah as removeClips, xc as removeMethod, a_ as renderLine, yh as renderMime, bh as renderTimeline, Hs as replayDemoEvents, Us as replayDevtoolsAt, Ws as replayPointerAt, Lg as requestDisplayName, Rg as requestDurationText, zg as requestName, Bg as requestSizeText, Vg as requestStatusText, Jg as requestTableVariants, Hg as requestTimeRange, Ug as requestTone, ee as resizeFrame, Up as resolveTailscalePolicy, Xd as resultTableVariants, te as rotateFrame, ne as rotatePt, ou as rruleLine, Eh as rulerSteps, md as runMigrations, hd as runSql, gd as runtimePostgresMajor, nt as saveJSON, Qd as schemaTreeVariants, Ar as scrollAreaVariants, lg as selectStops, Ki as selectTriggerVariants, _f as selectionStats, xr as separatorVariants, Uf as serializeFilters, Ge as sessionCloud, Sc as setArg, Cc as setMethod, wc as setMiniAtom, Tc as setMiniSource, Ec as setTempo, xi as sheetVariants, wg as shortLocation, Bn as sideDrawerVariants, Or as skeletonVariants, oh as sliceTimeline, ta as sliderVariants, re as snapMove, sh as snapTargets, ch as snapTime, vf as sortKeys, yf as sortPermutationCpu, Wg as sortRequests, bf as sortRows, xf as sortTextPermutation, lh as sourceTime, At as spinnerAnimations, uh as splitClip, Ca as splitCodeLines, hu as splitCron, Ea as splitEditorLines, td as splitStatements, On as splitViewItemVariants, kn as splitViewSectionLabelVariants, wf as spreadsheetVariants, p as springCss, m as springs, tf as sqlConsoleVariants, qd as sqlEditorVariants, nd as sqlSpans, Ke as startSessionRecording, ug as stopAxis, Qs as stopStrudel, qe as storageUsage, sf as stringifyCsv, o_ as stripAnsi, $s as strudelNow, ec as subscribeStrudel, Ya as syntaxHighlightingVariants, qt as tabVariants, sn as tabViewActionVariants, cn as tabViewBarVariants, ln as tabViewIndicatorVariants, un as tabViewListVariants, dn as tabViewTabVariants, fn as tabViewVariants, Jt as tabsListVariants, Yp as tailscaleErrorMessage, wm as tailscaleExitNodesVariants, ym as tailscaleLoginButtonVariants, Tm as tailscaleMenuVariants, fm as tailscaleRouterUnsupportedReason, pm as tailscaleServiceWorkerUrl, bm as tailscaleStatusBadgeVariants, f_ as terminalVariants, s_ as textWidth, Pr as textareaVariants, Ee as themeScopeClass, De as themeScopeProps, Oe as themeVarStyle, uu as timeInputVariants, su as timeTextSegments, dh as timelineDuration, fh as timelineId, ph as timelineLooks, Dh as timelineMediaType, Oh as timelineZoomRange, ke as tintVars, ie as toBoard, Wd as toCsv, Gd as toJson, Xp as toResponse, ae as toScreen, _d as toSqlError, Zp as toTailscaleRequest, c_ as toTerminalNewlines, Wf as toTime, Ao as toast, jo as toastApi, Mo as toastIconVariants, No as toastVariants, $r as toggleGroupVariants, Xr as toggleVariants, Aa as tokenizeLines, wa as tooBigForPage, fg as traceTimelineVariants, mh as trackDuration, cc as trackName, hh as trimClip, l_ as trimTranscript, oe as unionRect, Ie as unpack, $u as unsupportedMessage, gh as updateClip, tc as updateStrudel, _h as updateTrack, Ae as useAppearance, Es as useArtifactChatContainer, me as useCanvas, je as useChromeHidden, Be as useCloud, Ha as useCodeEditor, Wc as useCommandActive, Gc as useCommandMenu, ps as useComposer, wo as useComposerAnnotator, ms as useComposerBump, P as useContainerSize, F as useContainerWidth, it as useControllableState, Ns as useCountdown, bu as useCronParse, yd as useDatabaseStatus, h as useDirection, et as useEdgeSwipe, zu as useEncryptedState, bd as useExec, Vm as useFfmpeg, Hm as useFfmpegSupport, Cp as useFilePreview, wp as useFileUpload, Fp as useFileUploadContext, ip as useFilterBar, fp as useFilterQuery, ap as useFilters, xs as useFloatingChat, ys as useFloatingSheet, Jl as useGoogleFont, Yl as useGoogleFontStatus, Kc as useHotkey, xt as useHoverCard, xd as useLiveQuery, Um as useMediaFrames, Wm as useMediaInfo, Gm as useMediaPeaks, jc as useMorphTransition, g as useMotion, op as useOptionalFilterBar, am as useOptionalTailscale, Sd as usePGlite, Qh as useParentTab, $h as useParentTabState, eg as useParentTabset, tg as useParentTabsetState, ng as useParentWorkspace, Bu as usePasskey, xo as usePencilHistory, Rd as usePersistenceSupport, rt as usePersistentState, Sh as usePlaybackClock, Ch as usePlaybackState, Cd as useQuery, wd as useReadyDatabase, _ as useReducedMotion, Id as useSchema, at as useScrollHidden, Je as useSessionCloud, Ye as useSessionRecording, Xe as useSessions, $e as useSheetDrag, rr as useSidebar, An as useSplitView, jn as useSplitViewBack, Mn as useSplitViewColumn, Nn as useSplitViewStack, v as useSpringTransition, Jd as useSqlHistory, Xa as useSyntaxHighlighting, Ua as useSyntaxTokens, Dd as useTabLock, pn as useTabView, mn as useTabViewTab, om as useTailscale, sm as useTailscaleFetch, hm as useTailscaleRouter, cm as useTailscaleStatus, Me as useThemeScopeProps, cu as useTimeParse, Po as useToast, Td as useTransaction, Vu as useVault, Hu as useVaultState, Uu as useWebAuthnSupport, Yc as useWorkbenchAppearance, rg as useWorkspaceCallbackRef, ig as useWorkspaceRef, gu as validateCron, Tp as validateFiles, Wu as vaultErrorMessage, Qp as vaultTailscalePersistence, pp as warmFilterQuery, Fm as wavPeaks, Ph as waveformVariants, $p as webStorageTailscalePersistence, ja as webgpuSupported, ju as wipe, Gf as withOperator, Kf as withValue, u_ as wordAtCursor, Ep as xhrUpload, se as zoomAt };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export interface CallStackLocation {
|
|
2
|
+
/** A path or URL, as long as you like; the list shows its last part. */
|
|
3
|
+
file: string;
|
|
4
|
+
line: number;
|
|
5
|
+
column?: number;
|
|
6
|
+
}
|
|
7
|
+
/** What a frame is. `framework` and `library` frames fold together in runs. `async` isn't a frame at all: it marks an
|
|
8
|
+
* async boundary, drawn as a separator, between the frames before and after it. */
|
|
9
|
+
export type CallStackFrameKind = 'app' | 'framework' | 'library' | 'async';
|
|
10
|
+
export interface CallStackFrame {
|
|
11
|
+
/** Unique in the stack. */
|
|
12
|
+
id: string;
|
|
13
|
+
/** Empty shows `(anonymous)`. */
|
|
14
|
+
functionName?: string;
|
|
15
|
+
location?: CallStackLocation;
|
|
16
|
+
/** Default `app`. */
|
|
17
|
+
kind?: CallStackFrameKind;
|
|
18
|
+
/** On a framework or library frame, who it belongs to: a run of them reads `3 React frames`. On an async boundary, the
|
|
19
|
+
* separator's text: `await fetchUser`. */
|
|
20
|
+
label?: string;
|
|
21
|
+
}
|
|
22
|
+
export type CallStackRow = {
|
|
23
|
+
kind: 'frame';
|
|
24
|
+
key: string;
|
|
25
|
+
frame: CallStackFrame;
|
|
26
|
+
/** Where it is in `frames`. */
|
|
27
|
+
index: number;
|
|
28
|
+
/** Where the stack is stopped: the first real frame. */
|
|
29
|
+
isTop: boolean;
|
|
30
|
+
/** Inside an opened run, so it's set in from the rows around it. */
|
|
31
|
+
inRun: boolean;
|
|
32
|
+
} | {
|
|
33
|
+
kind: 'run';
|
|
34
|
+
key: string;
|
|
35
|
+
/** Names the whole run, even when the selected frame splits it into two rows. */
|
|
36
|
+
runId: string;
|
|
37
|
+
label: string;
|
|
38
|
+
count: number;
|
|
39
|
+
expanded: boolean;
|
|
40
|
+
};
|
|
41
|
+
/** The rows between two async boundaries. */
|
|
42
|
+
export interface CallStackSection {
|
|
43
|
+
key: string;
|
|
44
|
+
/** The separator above these rows. The first section has none. */
|
|
45
|
+
label?: string;
|
|
46
|
+
rows: readonly CallStackRow[];
|
|
47
|
+
}
|
|
48
|
+
export interface CallStackRowsOptions {
|
|
49
|
+
selectedId?: string | null;
|
|
50
|
+
/** Runs opened by hand, by `runId`. */
|
|
51
|
+
expandedRuns?: ReadonlySet<string>;
|
|
52
|
+
/** Fewest frames that fold into a row. Default 2: one frame reads better than `1 framework frame`. */
|
|
53
|
+
minRun?: number;
|
|
54
|
+
/** Fold runs at all. Default `true`. */
|
|
55
|
+
collapse?: boolean;
|
|
56
|
+
}
|
|
57
|
+
/** `3 React frames`, `3 framework frames`, `3 framework and library frames`. */
|
|
58
|
+
export declare function runLabel(frames: readonly CallStackFrame[]): string;
|
|
59
|
+
/** Works out the rows: runs of framework and library frames fold into one row, async boundaries start a new section.
|
|
60
|
+
* The top frame and the selected frame always show, splitting a run around them if they're inside one. */
|
|
61
|
+
export declare function buildCallStackRows(frames: readonly CallStackFrame[], options?: CallStackRowsOptions): CallStackSection[];
|
|
62
|
+
/** The same sections, reusing last time's objects wherever nothing changed. It's what keeps pressing a frame in a
|
|
63
|
+
* thousand-frame stack from rebuilding a thousand rows. */
|
|
64
|
+
export declare function reuseCallStackRows(last: readonly CallStackSection[] | null, next: CallStackSection[]): CallStackSection[];
|
|
65
|
+
/** Rows above a frame's row, counting separators: where to scroll to find it. */
|
|
66
|
+
export declare function callStackRowOffset(sections: readonly CallStackSection[], id: string): number | null;
|
|
67
|
+
/** A path's last part, without a query or hash: `src/app.tsx?v=2#x` is `app.tsx`. */
|
|
68
|
+
export declare function fileBaseName(file: string): string;
|
|
69
|
+
/** What a row shows: `app.tsx:12`. */
|
|
70
|
+
export declare function shortLocation(location: CallStackLocation): string;
|
|
71
|
+
/** The whole thing: `/src/app.tsx:12:5`. */
|
|
72
|
+
export declare function fullLocation(location: CallStackLocation): string;
|
|
73
|
+
/** The text a frame answers to, for type-to-select and screen readers. */
|
|
74
|
+
export declare function frameText(frame: CallStackFrame): string;
|
|
75
|
+
//# sourceMappingURL=call-stack-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"call-stack-model.d.ts","sourceRoot":"","sources":["../../src/lib/call-stack-model.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,iBAAiB;IAChC,wEAAwE;IACxE,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;oFACoF;AACpF,MAAM,MAAM,kBAAkB,GAAG,KAAK,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,CAAC;AAE3E,MAAM,WAAW,cAAc;IAC7B,2BAA2B;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,iCAAiC;IACjC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,qBAAqB;IACrB,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B;+CAC2C;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,YAAY,GACpB;IACE,IAAI,EAAE,OAAO,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,cAAc,CAAC;IACtB,+BAA+B;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,wDAAwD;IACxD,KAAK,EAAE,OAAO,CAAC;IACf,oEAAoE;IACpE,KAAK,EAAE,OAAO,CAAC;CAChB,GACD;IACE,IAAI,EAAE,KAAK,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,iFAAiF;IACjF,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEN,6CAA6C;AAC7C,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,SAAS,YAAY,EAAE,CAAC;CAC/B;AAED,MAAM,WAAW,oBAAoB;IACnC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,uCAAuC;IACvC,YAAY,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACnC,sGAAsG;IACtG,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wCAAwC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAQD,gFAAgF;AAChF,wBAAgB,QAAQ,CAAC,MAAM,EAAE,SAAS,cAAc,EAAE,GAAG,MAAM,CAOlE;AAED;2GAC2G;AAC3G,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,SAAS,cAAc,EAAE,EAAE,OAAO,GAAE,oBAAyB,GAAG,gBAAgB,EAAE,CAmE5H;AAOD;4DAC4D;AAC5D,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,SAAS,gBAAgB,EAAE,GAAG,IAAI,EAAE,IAAI,EAAE,gBAAgB,EAAE,GAAG,gBAAgB,EAAE,CAczH;AAED,iFAAiF;AACjF,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,SAAS,gBAAgB,EAAE,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAUnG;AAED,qFAAqF;AACrF,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAKjD;AAED,sCAAsC;AACtC,wBAAgB,aAAa,CAAC,QAAQ,EAAE,iBAAiB,GAAG,MAAM,CAEjE;AAED,4CAA4C;AAC5C,wBAAgB,YAAY,CAAC,QAAQ,EAAE,iBAAiB,GAAG,MAAM,CAEhE;AAED,0EAA0E;AAC1E,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM,CAGvD"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
//#region src/lib/call-stack-model.ts
|
|
2
|
+
var e = (e) => e.kind === "framework" || e.kind === "library", t = "section", n = "run", r = (e, t) => `${n}${e}${t ? `\u001f${t}` : ""}`;
|
|
3
|
+
function i(e) {
|
|
4
|
+
let t = e.length, n = t === 1 ? "frame" : "frames", r = e[0];
|
|
5
|
+
return r?.label && e.every((e) => e.label === r.label) ? `${t} ${r.label} ${n}` : r && e.every((e) => e.kind === r.kind) ? `${t} ${r.kind} ${n}` : `${t} framework and library ${n}`;
|
|
6
|
+
}
|
|
7
|
+
function a(n, a = {}) {
|
|
8
|
+
let { selectedId: o, expandedRuns: s, minRun: c = 2, collapse: l = !0 } = a, u = [], d = [], f = t, p, m = () => {
|
|
9
|
+
d.length && u.push({
|
|
10
|
+
key: f,
|
|
11
|
+
...p === void 0 ? {} : { label: p },
|
|
12
|
+
rows: d
|
|
13
|
+
}), d = [];
|
|
14
|
+
}, h = n.findIndex((e) => e.kind !== "async");
|
|
15
|
+
h < 0 && (h = 0);
|
|
16
|
+
let g = (e, t) => {
|
|
17
|
+
let r = n[e];
|
|
18
|
+
return {
|
|
19
|
+
kind: "frame",
|
|
20
|
+
key: r.id,
|
|
21
|
+
frame: r,
|
|
22
|
+
index: e,
|
|
23
|
+
isTop: e === h,
|
|
24
|
+
inRun: t
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
for (let a = 0; a < n.length;) {
|
|
28
|
+
let u = n[a];
|
|
29
|
+
if (u.kind === "async") {
|
|
30
|
+
m(), f = `${t}${u.id}`, p = u.label || "async", a++;
|
|
31
|
+
continue;
|
|
32
|
+
}
|
|
33
|
+
if (!l || !e(u)) {
|
|
34
|
+
d.push(g(a, !1)), a++;
|
|
35
|
+
continue;
|
|
36
|
+
}
|
|
37
|
+
let _ = a;
|
|
38
|
+
for (; _ + 1 < n.length && e(n[_ + 1]);) _++;
|
|
39
|
+
let v = u.id, y = n.slice(a, _ + 1);
|
|
40
|
+
if (y.length < c) for (let e = a; e <= _; e++) d.push(g(e, !1));
|
|
41
|
+
else if (s?.has(v)) {
|
|
42
|
+
d.push({
|
|
43
|
+
kind: "run",
|
|
44
|
+
key: r(v, 0),
|
|
45
|
+
runId: v,
|
|
46
|
+
label: i(y),
|
|
47
|
+
count: y.length,
|
|
48
|
+
expanded: !0
|
|
49
|
+
});
|
|
50
|
+
for (let e = a; e <= _; e++) d.push(g(e, !0));
|
|
51
|
+
} else {
|
|
52
|
+
let e = a, t = 0, s = (a) => {
|
|
53
|
+
let o = n.slice(e, a);
|
|
54
|
+
if (o.length >= c) d.push({
|
|
55
|
+
kind: "run",
|
|
56
|
+
key: r(v, t++),
|
|
57
|
+
runId: v,
|
|
58
|
+
label: i(o),
|
|
59
|
+
count: o.length,
|
|
60
|
+
expanded: !1
|
|
61
|
+
});
|
|
62
|
+
else for (let t = e; t < a; t++) d.push(g(t, !1));
|
|
63
|
+
};
|
|
64
|
+
for (let t = a; t <= _; t++) (t === h || n[t].id === o) && (s(t), d.push(g(t, !1)), e = t + 1);
|
|
65
|
+
s(_ + 1);
|
|
66
|
+
}
|
|
67
|
+
a = _ + 1;
|
|
68
|
+
}
|
|
69
|
+
return m(), u;
|
|
70
|
+
}
|
|
71
|
+
var o = (e, t) => e.kind === "frame" && t.kind === "frame" ? e.frame === t.frame && e.index === t.index && e.isTop === t.isTop && e.inRun === t.inRun : e.kind === "run" && t.kind === "run" && e.key === t.key && e.label === t.label && e.expanded === t.expanded;
|
|
72
|
+
function s(e, t) {
|
|
73
|
+
if (!e) return t;
|
|
74
|
+
let n = /* @__PURE__ */ new Map();
|
|
75
|
+
for (let t of e) for (let e of t.rows) n.set(e.key, e);
|
|
76
|
+
let r = new Map(e.map((e) => [e.key, e]));
|
|
77
|
+
return t.map((e) => {
|
|
78
|
+
let t = r.get(e.key), i = e.rows.map((e) => {
|
|
79
|
+
let t = n.get(e.key);
|
|
80
|
+
return t && o(t, e) ? t : e;
|
|
81
|
+
});
|
|
82
|
+
return t && t.label === e.label && t.rows.length === i.length && t.rows.every((e, t) => e === i[t]) ? t : {
|
|
83
|
+
...e,
|
|
84
|
+
rows: i
|
|
85
|
+
};
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
function c(e, t) {
|
|
89
|
+
let n = 0;
|
|
90
|
+
for (let r of e) {
|
|
91
|
+
r.label !== void 0 && n++;
|
|
92
|
+
for (let e of r.rows) {
|
|
93
|
+
if (e.kind === "frame" && e.frame.id === t) return n;
|
|
94
|
+
n++;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
return null;
|
|
98
|
+
}
|
|
99
|
+
function l(e) {
|
|
100
|
+
let t = (e.split(/[?#]/, 1)[0] ?? e).replace(/[/\\]+$/, "");
|
|
101
|
+
return t.slice(Math.max(t.lastIndexOf("/"), t.lastIndexOf("\\")) + 1) || e;
|
|
102
|
+
}
|
|
103
|
+
function u(e) {
|
|
104
|
+
return `${l(e.file)}:${e.line}`;
|
|
105
|
+
}
|
|
106
|
+
function d(e) {
|
|
107
|
+
return `${e.file}:${e.line}${e.column === void 0 ? "" : `:${e.column}`}`;
|
|
108
|
+
}
|
|
109
|
+
function f(e) {
|
|
110
|
+
let t = e.functionName || "(anonymous)";
|
|
111
|
+
return e.location ? `${t} ${u(e.location)}` : t;
|
|
112
|
+
}
|
|
113
|
+
//#endregion
|
|
114
|
+
export { a as buildCallStackRows, c as callStackRowOffset, l as fileBaseName, f as frameText, d as fullLocation, s as reuseCallStackRows, i as runLabel, u as shortLocation };
|