@buoy-gg/core 7.0.43 → 7.0.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/lib/commonjs/floatingMenu/BrowserToolRuntime.js +1 -1
  2. package/lib/commonjs/floatingMenu/FloatingDevTools.js +1 -1
  3. package/lib/commonjs/floatingMenu/FloatingMenu.js +1 -1
  4. package/lib/commonjs/floatingMenu/ToolHost.js +1 -1
  5. package/lib/commonjs/floatingMenu/autoDiscoverPresets.js +1 -1
  6. package/lib/commonjs/floatingMenu/autoExternalSync.js +1 -1
  7. package/lib/commonjs/floatingMenu/dial/DialIcon.js +1 -1
  8. package/lib/commonjs/floatingMenu/externalSyncGate.js +1 -1
  9. package/lib/commonjs/version.js +1 -1
  10. package/lib/module/floatingMenu/BrowserToolRuntime.js +1 -1
  11. package/lib/module/floatingMenu/FloatingDevTools.js +1 -1
  12. package/lib/module/floatingMenu/FloatingMenu.js +1 -1
  13. package/lib/module/floatingMenu/ToolHost.js +1 -1
  14. package/lib/module/floatingMenu/autoDiscoverPresets.js +1 -1
  15. package/lib/module/floatingMenu/autoExternalSync.js +1 -1
  16. package/lib/module/floatingMenu/dial/DialIcon.js +1 -1
  17. package/lib/module/floatingMenu/externalSyncGate.js +1 -1
  18. package/lib/module/version.js +1 -1
  19. package/lib/typescript/commonjs/floatingMenu/ToolOpenerBridge.d.ts +2 -1
  20. package/lib/typescript/commonjs/floatingMenu/autoExternalSync.d.ts +16 -0
  21. package/lib/typescript/commonjs/floatingMenu/defaultConfig.d.ts +1 -1
  22. package/lib/typescript/commonjs/floatingMenu/externalSyncGate.d.ts +27 -0
  23. package/lib/typescript/commonjs/version.d.ts +1 -1
  24. package/lib/typescript/module/floatingMenu/ToolOpenerBridge.d.ts +2 -1
  25. package/lib/typescript/module/floatingMenu/autoExternalSync.d.ts +16 -0
  26. package/lib/typescript/module/floatingMenu/defaultConfig.d.ts +1 -1
  27. package/lib/typescript/module/floatingMenu/externalSyncGate.d.ts +27 -0
  28. package/lib/typescript/module/version.d.ts +1 -1
  29. package/lib/web/chunks/chunk-5NZOQR6Q.mjs +1 -0
  30. package/lib/web/chunks/chunk-CGDSLLZF.mjs +1 -0
  31. package/lib/web/chunks/chunk-DCJDUSNR.mjs +1 -0
  32. package/lib/web/chunks/chunk-IDSHFS6G.mjs +1 -0
  33. package/lib/web/chunks/chunk-JOAMJGCS.mjs +1 -0
  34. package/lib/web/chunks/chunk-KYKZ2N52.mjs +1 -0
  35. package/lib/web/chunks/chunk-NGM7JGGS.mjs +1 -0
  36. package/lib/web/chunks/chunk-Z3XWDDIO.mjs +1 -0
  37. package/lib/web/chunks/chunk-ZTGQ6TTY.mjs +1 -0
  38. package/lib/web/index.mjs +2 -2
  39. package/package.json +5 -5
@@ -45,6 +45,22 @@ export interface ExternalSyncOptions {
45
45
  * @default false
46
46
  */
47
47
  enableInRelease?: boolean;
48
+ /**
49
+ * Let a release build connect over plain `http://` to another machine.
50
+ * Off by default: release sync carries real user data, and anyone on the
51
+ * same network can read unencrypted traffic. Release builds otherwise only
52
+ * connect to localhost (simulator, emulator, `adb reverse`) or over
53
+ * `https://`.
54
+ *
55
+ * @default false
56
+ */
57
+ allowInsecureNetwork?: boolean;
58
+ /**
59
+ * Tools whose sensitive remote actions stay available in a release build.
60
+ * Today that's `"impersonate"`: its user search and start-impersonation
61
+ * actions are refused in release builds unless it's listed here.
62
+ */
63
+ releaseActions?: string[];
48
64
  /** @default false */
49
65
  enableLogs?: boolean;
50
66
  }
@@ -19,7 +19,7 @@
19
19
  * All known tool IDs that can appear in the floating menu or dial menu.
20
20
  * This is a union type of all auto-discovered tool IDs.
21
21
  */
22
- export type BuiltInToolId = 'env' | 'network' | 'push-notifications' | 'storage' | 'query' | 'query-wifi-toggle' | 'route-events' | 'debug-borders' | 'highlight-updates' | 'highlight-updates-modal' | 'redux' | 'zustand' | 'jotai' | 'events' | 'time-machine' | 'clock' | 'scenarios' | 'ask-buoy' | 'image-overlay' | 'perf-monitor' | 'perf-monitor-modal';
22
+ export type BuiltInToolId = 'env' | 'network' | 'push-notifications' | 'storage' | 'query' | 'query-wifi-toggle' | 'route-events' | 'debug-borders' | 'highlight-updates' | 'highlight-updates-modal' | 'redux' | 'zustand' | 'jotai' | 'events' | 'time-machine' | 'clock' | 'permissions' | 'lifecycle' | 'location' | 'scenarios' | 'ask-buoy' | 'image-overlay' | 'perf-monitor' | 'perf-monitor-modal';
23
23
  /**
24
24
  * Special floating-only tool IDs that only appear in the floating bubble row.
25
25
  */
@@ -27,4 +27,31 @@ export interface ExternalSyncGateInput {
27
27
  /** The options object from the prop, or undefined when it's a boolean. */
28
28
  export declare function externalSyncOptions(externalSync: boolean | ExternalSyncOptions | undefined): ExternalSyncOptions | undefined;
29
29
  export declare function shouldMountExternalSync({ isDevelopment, isLicensed, externalSync, isAvailable, }: ExternalSyncGateInput): boolean;
30
+ /** Where a release build connects when the app doesn't pass `socketURL`. */
31
+ export declare const RELEASE_DEFAULT_SOCKET_URL = "http://localhost:42831";
32
+ /**
33
+ * Why a release build must not use this broker URL, or null if it may.
34
+ *
35
+ * Release sync carries real user data (session tokens in network captures,
36
+ * real accounts in storage). Over plain `http://` to another machine, anyone
37
+ * on the same Wi-Fi can read it, so a release build only connects to this
38
+ * machine (simulator, emulator, `adb reverse`) or over `https://`/`wss://`,
39
+ * unless the app sets `allowInsecureNetwork`.
40
+ */
41
+ export declare function releaseTransportProblem(socketURL: string | undefined, options: ExternalSyncOptions | undefined): string | null;
42
+ /**
43
+ * Remote actions a release build refuses unless the app lists the tool in
44
+ * `externalSync.releaseActions`. Impersonate's search runs the app's own user
45
+ * lookup with the signed-in admin's credentials, and starting impersonation
46
+ * switches who the admin's session acts as, so neither should be reachable
47
+ * from a dashboard in production by default. Stopping and pausing stay open:
48
+ * they only ever end an impersonation.
49
+ */
50
+ export declare const RELEASE_GATED_ACTIONS: Readonly<Record<string, readonly string[]>>;
51
+ /**
52
+ * The tool map a release build exposes over the broker: gated actions are
53
+ * replaced with ones that fail and say how to allow them. Dev builds, and
54
+ * tools the app lists in `releaseActions`, are returned unchanged.
55
+ */
56
+ export declare function applyReleaseActionPolicy<T extends Record<string, unknown>>(tools: T, isDevelopment: boolean, releaseActions: readonly string[] | undefined): T;
30
57
  //# sourceMappingURL=externalSyncGate.d.ts.map
@@ -9,5 +9,5 @@
9
9
  * Drift is prevented by a test that fails when this disagrees with
10
10
  * package.json, so a version bump that forgets this file cannot ship.
11
11
  */
12
- export declare const SDK_VERSION = "7.0.43";
12
+ export declare const SDK_VERSION = "7.0.44";
13
13
  //# sourceMappingURL=version.d.ts.map
@@ -12,7 +12,8 @@
12
12
  * Scenarios so the tester can drive the app, then needs it back). It
13
13
  * deliberately does not construct and open a tool from scratch: an opener that
14
14
  * guesses at an instance is a worse failure than reporting that it couldn't,
15
- * and every caller already has to handle `false`.
15
+ * and every caller already has to handle `false`. Opening a tool that isn't
16
+ * open yet is FloatingMenu's opener, which launches it the way a dial tap does.
16
17
  */
17
18
  export declare function ToolOpenerBridge(): null;
18
19
  //# sourceMappingURL=ToolOpenerBridge.d.ts.map
@@ -45,6 +45,22 @@ export interface ExternalSyncOptions {
45
45
  * @default false
46
46
  */
47
47
  enableInRelease?: boolean;
48
+ /**
49
+ * Let a release build connect over plain `http://` to another machine.
50
+ * Off by default: release sync carries real user data, and anyone on the
51
+ * same network can read unencrypted traffic. Release builds otherwise only
52
+ * connect to localhost (simulator, emulator, `adb reverse`) or over
53
+ * `https://`.
54
+ *
55
+ * @default false
56
+ */
57
+ allowInsecureNetwork?: boolean;
58
+ /**
59
+ * Tools whose sensitive remote actions stay available in a release build.
60
+ * Today that's `"impersonate"`: its user search and start-impersonation
61
+ * actions are refused in release builds unless it's listed here.
62
+ */
63
+ releaseActions?: string[];
48
64
  /** @default false */
49
65
  enableLogs?: boolean;
50
66
  }
@@ -19,7 +19,7 @@
19
19
  * All known tool IDs that can appear in the floating menu or dial menu.
20
20
  * This is a union type of all auto-discovered tool IDs.
21
21
  */
22
- export type BuiltInToolId = 'env' | 'network' | 'push-notifications' | 'storage' | 'query' | 'query-wifi-toggle' | 'route-events' | 'debug-borders' | 'highlight-updates' | 'highlight-updates-modal' | 'redux' | 'zustand' | 'jotai' | 'events' | 'time-machine' | 'clock' | 'scenarios' | 'ask-buoy' | 'image-overlay' | 'perf-monitor' | 'perf-monitor-modal';
22
+ export type BuiltInToolId = 'env' | 'network' | 'push-notifications' | 'storage' | 'query' | 'query-wifi-toggle' | 'route-events' | 'debug-borders' | 'highlight-updates' | 'highlight-updates-modal' | 'redux' | 'zustand' | 'jotai' | 'events' | 'time-machine' | 'clock' | 'permissions' | 'lifecycle' | 'location' | 'scenarios' | 'ask-buoy' | 'image-overlay' | 'perf-monitor' | 'perf-monitor-modal';
23
23
  /**
24
24
  * Special floating-only tool IDs that only appear in the floating bubble row.
25
25
  */
@@ -27,4 +27,31 @@ export interface ExternalSyncGateInput {
27
27
  /** The options object from the prop, or undefined when it's a boolean. */
28
28
  export declare function externalSyncOptions(externalSync: boolean | ExternalSyncOptions | undefined): ExternalSyncOptions | undefined;
29
29
  export declare function shouldMountExternalSync({ isDevelopment, isLicensed, externalSync, isAvailable, }: ExternalSyncGateInput): boolean;
30
+ /** Where a release build connects when the app doesn't pass `socketURL`. */
31
+ export declare const RELEASE_DEFAULT_SOCKET_URL = "http://localhost:42831";
32
+ /**
33
+ * Why a release build must not use this broker URL, or null if it may.
34
+ *
35
+ * Release sync carries real user data (session tokens in network captures,
36
+ * real accounts in storage). Over plain `http://` to another machine, anyone
37
+ * on the same Wi-Fi can read it, so a release build only connects to this
38
+ * machine (simulator, emulator, `adb reverse`) or over `https://`/`wss://`,
39
+ * unless the app sets `allowInsecureNetwork`.
40
+ */
41
+ export declare function releaseTransportProblem(socketURL: string | undefined, options: ExternalSyncOptions | undefined): string | null;
42
+ /**
43
+ * Remote actions a release build refuses unless the app lists the tool in
44
+ * `externalSync.releaseActions`. Impersonate's search runs the app's own user
45
+ * lookup with the signed-in admin's credentials, and starting impersonation
46
+ * switches who the admin's session acts as, so neither should be reachable
47
+ * from a dashboard in production by default. Stopping and pausing stay open:
48
+ * they only ever end an impersonation.
49
+ */
50
+ export declare const RELEASE_GATED_ACTIONS: Readonly<Record<string, readonly string[]>>;
51
+ /**
52
+ * The tool map a release build exposes over the broker: gated actions are
53
+ * replaced with ones that fail and say how to allow them. Dev builds, and
54
+ * tools the app lists in `releaseActions`, are returned unchanged.
55
+ */
56
+ export declare function applyReleaseActionPolicy<T extends Record<string, unknown>>(tools: T, isDevelopment: boolean, releaseActions: readonly string[] | undefined): T;
30
57
  //# sourceMappingURL=externalSyncGate.d.ts.map
@@ -9,5 +9,5 @@
9
9
  * Drift is prevented by a test that fails when this disagrees with
10
10
  * package.json, so a version bump that forgets this file cannot ship.
11
11
  */
12
- export declare const SDK_VERSION = "7.0.43";
12
+ export declare const SDK_VERSION = "7.0.44";
13
13
  //# sourceMappingURL=version.d.ts.map
@@ -0,0 +1 @@
1
+ "use client";var o=process.env.NODE_ENV!=="production";typeof window<"u"&&typeof globalThis.global>"u"&&(globalThis.global=globalThis);export{o as a};
@@ -0,0 +1 @@
1
+ "use client";var l=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var f=(r,e)=>{for(var t in e)l(r,t,{get:e[t],enumerable:true})},n=(r,e,t,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of p(e))!c.call(r,a)&&a!==t&&l(r,a,{get:()=>e[a],enumerable:!(o=b(e,a))||o.enumerable});return r},s=(r,e,t)=>(n(r,e,"default"),t&&n(t,e,"default"));var i=process.env.NODE_ENV!=="production";typeof window<"u"&&typeof globalThis.global>"u"&&(globalThis.global=globalThis);export{f as a,s as b,i as c};
@@ -0,0 +1 @@
1
+ "use client";import{b as B,c as M}from"./chunk-R7RGRTY5.mjs";import{toolTheme as V}from"@buoy-gg/shared-ui/web";var v={};B(v,{AccessibilityInfo:()=>D,ActivityIndicator:()=>Aa,Alert:()=>Va,Animated:()=>w,AppRegistry:()=>H,AppState:()=>F,Appearance:()=>R,BackHandler:()=>z,Button:()=>Ba,CheckBox:()=>Q,Clipboard:()=>N,DeviceEventEmitter:()=>ha,Dimensions:()=>S,Easing:()=>U,FlatList:()=>Z,I18nManager:()=>O,Image:()=>aa,ImageBackground:()=>ea,Input:()=>ca,InteractionManager:()=>K,Keyboard:()=>W,KeyboardAvoidingView:()=>sa,LayoutAnimation:()=>j,Linking:()=>$,LogBox:()=>fa,Modal:()=>Ea,NativeEventEmitter:()=>G,NativeModules:()=>P,PanResponder:()=>q,Picker:()=>ta,PixelRatio:()=>J,Platform:()=>C,Pressable:()=>Ta,ProgressBar:()=>oa,RefreshControl:()=>ra,SafeAreaView:()=>ia,ScrollView:()=>E,SectionList:()=>na,Share:()=>X,StatusBar:()=>la,StyleSheet:()=>b,Switch:()=>ka,Text:()=>x,TextInput:()=>wa,Touchable:()=>da,TouchableHighlight:()=>Sa,TouchableNativeFeedback:()=>ua,TouchableOpacity:()=>T,TouchableWithoutFeedback:()=>Ca,UIManager:()=>Y,Vibration:()=>_,View:()=>p,VirtualizedList:()=>ma,YellowBox:()=>pa,findNodeHandle:()=>Ma,unstable_createElement:()=>I,useColorScheme:()=>ga,useLocaleContext:()=>xa,useWindowDimensions:()=>ba});M(v,L);import*as L from"react-native-web";import{unstable_createElement as I,NativeModules as P,AccessibilityInfo as D,Animated as w,Appearance as R,AppRegistry as H,AppState as F,BackHandler as z,Clipboard as N,Dimensions as S,Easing as U,I18nManager as O,Keyboard as W,InteractionManager as K,LayoutAnimation as j,Linking as $,NativeEventEmitter as G,PanResponder as q,PixelRatio as J,Platform as C,Share as X,StyleSheet as b,UIManager as Y,Vibration as _,CheckBox as Q,FlatList as Z,Image as aa,ImageBackground as ea,KeyboardAvoidingView as sa,Picker as ta,ProgressBar as oa,RefreshControl as ra,SafeAreaView as ia,SectionList as na,StatusBar as la,Input as ca,Touchable as da,TouchableNativeFeedback as ua,VirtualizedList as ma,YellowBox as pa,LogBox as fa,DeviceEventEmitter as ha,useColorScheme as ga,useLocaleContext as xa,useWindowDimensions as ba}from"react-native-web";import*as i from"react-native-web";import{createElement as ya,forwardRef as va}from"react";function n(e){let t=va((o,r)=>{let{accessibilityState:s,accessibilityValue:d,...l}=o;for(let c of["busy","checked","disabled","expanded","selected"])s?.[c]!==void 0&&l[`aria-${c}`]===void 0&&(l[`aria-${c}`]=s[c]);for(let[c,h]of Object.entries({min:"valuemin",max:"valuemax",now:"valuenow",text:"valuetext"}))d?.[c]!==void 0&&l[`aria-${h}`]===void 0&&(l[`aria-${h}`]=d[c]);return ya(e,{...l,ref:r})});return t.displayName=e.displayName??e.name??"NativeWebView",t}var p=n(i.View),x=n(i.Text),wa=n(i.TextInput),T=n(i.TouchableOpacity),Sa=n(i.TouchableHighlight),Ca=n(i.TouchableWithoutFeedback),Ta=n(i.Pressable),E=n(i.ScrollView),Ea=n(i.Modal),ka=n(i.Switch),Aa=n(i.ActivityIndicator),Ba=n(i.Button),Ma=i.findNodeHandle,Va={alert(e,t,o,r){if(typeof document>"u")return;let s=document.createElement("dialog");s.dataset.buoyRoot="",s.setAttribute("aria-label",e),s.style.cssText="position:fixed;inset:0;margin:auto;width:min(440px,90vw);padding:24px;border:1px solid #475569;border-radius:14px;background:#17212e;color:#f1f5f9;font:14px system-ui;box-shadow:0 20px 80px #0008;z-index:2147483647";let d=document.createElement("h2");if(d.textContent=e,d.style.cssText="font-size:18px;margin:0 0 12px",s.appendChild(d),t){let u=document.createElement("p");u.textContent=t,u.style.cssText="line-height:1.5;white-space:pre-wrap;margin:0 0 20px",s.appendChild(u)}let l=document.createElement("div");l.style.cssText="display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px";let c=o?.length?o:[{text:"OK"}],h=()=>{s.close?.(),s.remove()};for(let u of c){let g=document.createElement("button");g.type="button",g.textContent=u.text??"OK",g.style.cssText=`padding:9px 14px;border:1px solid #64748b;border-radius:7px;color:white;background:${u.style==="destructive"?"#a52b38":"#283a4d"};cursor:pointer;font:inherit`,g.onclick=()=>{h(),u.onPress?.()},l.appendChild(g)}s.addEventListener("cancel",u=>{u.preventDefault(),r?.cancelable!==false&&(h(),r?.onDismiss?.())}),s.appendChild(l),document.body.appendChild(s),s.showModal?s.showModal():s.setAttribute("open","")}};import{CopyButton as La,toolTheme as a}from"@buoy-gg/shared-ui/web";import{TreeDiffViewer as Ia,SplitDiffViewer as Pa}from"@buoy-gg/shared-ui/web/dataViewer";import{jsx as m,jsxs as k}from"react/jsx-runtime";var Da={success:a.colors.success,active:a.colors.success,connected:a.colors.success,error:a.colors.error,failed:a.colors.error,warning:a.colors.warning,stale:a.colors.warning,pending:a.colors.info,loading:a.colors.info,fetching:a.colors.info,info:a.colors.info,inactive:a.colors.textMuted,idle:a.colors.textMuted};function A(e){return Da[e.toLowerCase()]??a.colors.textMuted}var Ra={GET:a.colors.info,POST:a.colors.success,PUT:a.colors.warning,PATCH:a.colors.warning,DELETE:a.colors.error};function Ha(e){return Ra[e.toUpperCase()]??a.colors.textSecondary}var Fa={string:a.colors.success,number:a.colors.info,boolean:a.colors.warning,object:a.colors.accent,array:a.colors.accent,function:a.colors.error,null:a.colors.textMuted,undefined:a.colors.textMuted};function za(e){return Fa[e.toLowerCase()]??a.colors.textSecondary}function Na({children:e,color:t=a.colors.textSecondary,icon:o,size:r="small",pill:s=false,mono:d=false,style:l}){let c=typeof e=="string"||typeof e=="number";return k(p,{style:[f.base,r==="medium"&&f.medium,s&&f.pill,{backgroundColor:t+"1A",borderColor:t+"40"},l],children:[o,c?m(x,{style:[f.text,r==="medium"&&f.textMedium,d&&f.textMono,{color:t}],numberOfLines:1,children:e}):e]})}var f=b.create({base:{flexDirection:"row",alignItems:"center",alignSelf:"flex-start",gap:4,borderWidth:1,borderRadius:a.radius.sm,paddingHorizontal:6,paddingVertical:2},medium:{paddingHorizontal:8,paddingVertical:3},pill:{borderRadius:a.radius.pill,minWidth:20,justifyContent:"center"},text:{fontSize:10,fontWeight:"600",letterSpacing:.3},textMedium:{fontSize:12},textMono:{fontFamily:a.text.mono.fontFamily}});function Ua({status:e,color:t,size:o=8,style:r}){let s=t??(e?A(e):a.colors.textMuted);return m(p,{style:[{width:o,height:o,borderRadius:o/2,backgroundColor:s},r]})}function Oa({label:e,value:t,copyable:o=false,style:r}){let s=typeof t=="string"||typeof t=="number";return k(p,{style:[y.row,r],children:[m(x,{style:y.label,numberOfLines:1,children:e}),m(p,{style:y.value,children:s?m(x,{style:y.valueText,numberOfLines:2,children:String(t)}):t}),o&&t!=null&&m(La,{value:t,size:12})]})}var y=b.create({row:{flexDirection:"row",alignItems:"center",gap:a.spacing.sm,paddingVertical:3},label:{...a.text.label,color:a.colors.textMuted,minWidth:72},value:{flex:1,flexDirection:"row",alignItems:"center"},valueText:{...a.text.mono,color:a.colors.text}});function Wa({oldValue:e,newValue:t,mode:o="tree",showUnchanged:r=true,scrollEnabled:s=false,height:d=220}){return o==="text"?m(Pa,{oldValue:e,newValue:t,height:d}):m(Ia,{oldValue:e,newValue:t,showUnchanged:r,scrollEnabled:s})}import{ToolButton as Ka,CopyButton as ja,PowerToggleButton as $a}from"@buoy-gg/shared-ui/web";import{CompactRow as Ga,DevToolsCard as qa}from"@buoy-gg/shared-ui/web";import{SectionHeader as Ja,CollapsibleSection as Xa,TabSelector as Ya,EmptyState as _a,SearchBar as Qa,EventStepperFooter as Za}from"@buoy-gg/shared-ui/web";import{DataViewer as ae}from"@buoy-gg/shared-ui/web/dataViewer";import{BaseEventStore as ee}from"@buoy-gg/shared-ui/web";import{RelativeTime as se}from"@buoy-gg/shared-ui/web";import{formatBytes as te,formatDuration as oe,formatNumber as re,truncateMiddle as ie,safeStringify as ne}from"@buoy-gg/shared-ui/web";import{usePersistedState as le,persistentStorage as ce,devToolsStorageKeys as de}from"@buoy-gg/shared-ui/web";import{useSafeAreaInsets as ue,copyToClipboard as me}from"@buoy-gg/shared-ui/web";import{JsModal as pe}from"@buoy-gg/shared-ui/web";import{Activity as fe,AlertTriangle as he,Bug as ge,Check as xe,CheckCircle as be,ChevronDown as ye,ChevronLeft as ve,ChevronRight as we,ChevronUp as Se,Clock as Ce,Copy as Te,Database as Ee,Eye as ke,EyeOff as Ae,FileJson as Be,FileText as Me,Filter as Ve,FlaskConical as Le,Globe as Ie,Hash as Pe,Info as De,Key as Re,Layers as He,Lock as Fe,Pause as ze,Play as Ne,Plus as Ue,Power as Oe,RefreshCw as We,Search as Ke,Settings as je,Shield as $e,Trash2 as Ge,User as qe,Wifi as Je,X as Xe,Zap as Ye,AlertCircle as _e,BarChart3 as Qe,Bookmark as Ze,Cloud as as,Download as es,Edit3 as ss,GitBranch as ts,HardDrive as os,HelpCircle as rs,Home as is,Image as ns,Link as ls,Maximize2 as cs,Minus as ds,Palette as us,Pin as ms,Route as ps,Server as fs,Smartphone as hs,Square as gs,CheckSquare as xs,Timer as bs,Unlock as ys,Upload as vs,Users as ws,XCircle as Ss}from"@buoy-gg/shared-ui/web";export{p as a,x as b,T as c,E as d,v as e,w as f,S as g,C as h,b as i,A as j,Ha as k,za as l,Na as m,Ua as n,Oa as o,Wa as p,V as q,Ka as r,ja as s,$a as t,Ga as u,qa as v,Ja as w,Xa as x,Ya as y,_a as z,Qa as A,Za as B,ae as C,ee as D,se as E,te as F,oe as G,re as H,ie as I,ne as J,le as K,ce as L,de as M,ue as N,me as O,pe as P,fe as Q,he as R,ge as S,xe as T,be as U,ye as V,ve as W,we as X,Se as Y,Ce as Z,Te as _,Ee as $,ke as aa,Ae as ba,Be as ca,Me as da,Ve as ea,Le as fa,Ie as ga,Pe as ha,De as ia,Re as ja,He as ka,Fe as la,ze as ma,Ne as na,Ue as oa,Oe as pa,We as qa,Ke as ra,je as sa,$e as ta,Ge as ua,qe as va,Je as wa,Xe as xa,Ye as ya,_e as za,Qe as Aa,Ze as Ba,as as Ca,es as Da,ss as Ea,ts as Fa,os as Ga,rs as Ha,is as Ia,ns as Ja,ls as Ka,cs as La,ds as Ma,us as Na,ms as Oa,ps as Pa,fs as Qa,hs as Ra,gs as Sa,xs as Ta,bs as Ua,ys as Va,vs as Wa,ws as Xa,Ss as Ya};
@@ -0,0 +1 @@
1
+ "use client";import{b as B,c as M}from"./chunk-R7RGRTY5.mjs";import{toolTheme as V}from"@buoy-gg/shared-ui/web";var v={};B(v,{AccessibilityInfo:()=>D,ActivityIndicator:()=>ka,Alert:()=>Ma,Animated:()=>w,AppRegistry:()=>H,AppState:()=>F,Appearance:()=>R,BackHandler:()=>z,Button:()=>Aa,CheckBox:()=>Q,Clipboard:()=>N,DeviceEventEmitter:()=>fa,Dimensions:()=>S,Easing:()=>U,FlatList:()=>Z,I18nManager:()=>O,Image:()=>aa,ImageBackground:()=>ea,InteractionManager:()=>K,Keyboard:()=>W,KeyboardAvoidingView:()=>sa,LayoutAnimation:()=>j,Linking:()=>$,LogBox:()=>pa,Modal:()=>Ta,NativeEventEmitter:()=>G,NativeModules:()=>I,PanResponder:()=>q,Picker:()=>ta,PixelRatio:()=>J,Platform:()=>C,Pressable:()=>Ca,ProgressBar:()=>oa,RefreshControl:()=>ra,SafeAreaView:()=>ia,ScrollView:()=>E,SectionList:()=>na,Share:()=>X,StatusBar:()=>la,StyleSheet:()=>b,Switch:()=>Ea,Text:()=>x,TextInput:()=>va,Touchable:()=>ca,TouchableHighlight:()=>wa,TouchableNativeFeedback:()=>da,TouchableOpacity:()=>T,TouchableWithoutFeedback:()=>Sa,UIManager:()=>Y,Vibration:()=>_,View:()=>p,VirtualizedList:()=>ua,YellowBox:()=>ma,findNodeHandle:()=>Ba,unstable_createElement:()=>P,useColorScheme:()=>ha,useLocaleContext:()=>ga,useWindowDimensions:()=>xa});M(v,L);import*as L from"react-native-web";import{unstable_createElement as P,NativeModules as I,AccessibilityInfo as D,Animated as w,Appearance as R,AppRegistry as H,AppState as F,BackHandler as z,Clipboard as N,Dimensions as S,Easing as U,I18nManager as O,Keyboard as W,InteractionManager as K,LayoutAnimation as j,Linking as $,NativeEventEmitter as G,PanResponder as q,PixelRatio as J,Platform as C,Share as X,StyleSheet as b,UIManager as Y,Vibration as _,CheckBox as Q,FlatList as Z,Image as aa,ImageBackground as ea,KeyboardAvoidingView as sa,Picker as ta,ProgressBar as oa,RefreshControl as ra,SafeAreaView as ia,SectionList as na,StatusBar as la,Touchable as ca,TouchableNativeFeedback as da,VirtualizedList as ua,YellowBox as ma,LogBox as pa,DeviceEventEmitter as fa,useColorScheme as ha,useLocaleContext as ga,useWindowDimensions as xa}from"react-native-web";import*as i from"react-native-web";import{createElement as ba,forwardRef as ya}from"react";function n(e){let t=ya((o,r)=>{let{accessibilityState:s,accessibilityValue:d,...l}=o;for(let c of["busy","checked","disabled","expanded","selected"])s?.[c]!==void 0&&l[`aria-${c}`]===void 0&&(l[`aria-${c}`]=s[c]);for(let[c,h]of Object.entries({min:"valuemin",max:"valuemax",now:"valuenow",text:"valuetext"}))d?.[c]!==void 0&&l[`aria-${h}`]===void 0&&(l[`aria-${h}`]=d[c]);return ba(e,{...l,ref:r})});return t.displayName=e.displayName??e.name??"NativeWebView",t}var p=n(i.View),x=n(i.Text),va=n(i.TextInput),T=n(i.TouchableOpacity),wa=n(i.TouchableHighlight),Sa=n(i.TouchableWithoutFeedback),Ca=n(i.Pressable),E=n(i.ScrollView),Ta=n(i.Modal),Ea=n(i.Switch),ka=n(i.ActivityIndicator),Aa=n(i.Button),Ba=i.findNodeHandle,Ma={alert(e,t,o,r){if(typeof document>"u")return;let s=document.createElement("dialog");s.dataset.buoyRoot="",s.setAttribute("aria-label",e),s.style.cssText="position:fixed;inset:0;margin:auto;width:min(440px,90vw);padding:24px;border:1px solid #475569;border-radius:14px;background:#17212e;color:#f1f5f9;font:14px system-ui;box-shadow:0 20px 80px #0008;z-index:2147483647";let d=document.createElement("h2");if(d.textContent=e,d.style.cssText="font-size:18px;margin:0 0 12px",s.appendChild(d),t){let u=document.createElement("p");u.textContent=t,u.style.cssText="line-height:1.5;white-space:pre-wrap;margin:0 0 20px",s.appendChild(u)}let l=document.createElement("div");l.style.cssText="display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px";let c=o?.length?o:[{text:"OK"}],h=()=>{s.close?.(),s.remove()};for(let u of c){let g=document.createElement("button");g.type="button",g.textContent=u.text??"OK",g.style.cssText=`padding:9px 14px;border:1px solid #64748b;border-radius:7px;color:white;background:${u.style==="destructive"?"#a52b38":"#283a4d"};cursor:pointer;font:inherit`,g.onclick=()=>{h(),u.onPress?.()},l.appendChild(g)}s.addEventListener("cancel",u=>{u.preventDefault(),r?.cancelable!==false&&(h(),r?.onDismiss?.())}),s.appendChild(l),document.body.appendChild(s),s.showModal?s.showModal():s.setAttribute("open","")}};import{CopyButton as Va,toolTheme as a}from"@buoy-gg/shared-ui/web";import{TreeDiffViewer as La,SplitDiffViewer as Pa}from"@buoy-gg/shared-ui/web/dataViewer";import{jsx as m,jsxs as k}from"react/jsx-runtime";var Ia={success:a.colors.success,active:a.colors.success,connected:a.colors.success,error:a.colors.error,failed:a.colors.error,warning:a.colors.warning,stale:a.colors.warning,pending:a.colors.info,loading:a.colors.info,fetching:a.colors.info,info:a.colors.info,inactive:a.colors.textMuted,idle:a.colors.textMuted};function A(e){return Ia[e.toLowerCase()]??a.colors.textMuted}var Da={GET:a.colors.info,POST:a.colors.success,PUT:a.colors.warning,PATCH:a.colors.warning,DELETE:a.colors.error};function Ra(e){return Da[e.toUpperCase()]??a.colors.textSecondary}var Ha={string:a.colors.success,number:a.colors.info,boolean:a.colors.warning,object:a.colors.accent,array:a.colors.accent,function:a.colors.error,null:a.colors.textMuted,undefined:a.colors.textMuted};function Fa(e){return Ha[e.toLowerCase()]??a.colors.textSecondary}function za({children:e,color:t=a.colors.textSecondary,icon:o,size:r="small",pill:s=false,mono:d=false,style:l}){let c=typeof e=="string"||typeof e=="number";return k(p,{style:[f.base,r==="medium"&&f.medium,s&&f.pill,{backgroundColor:t+"1A",borderColor:t+"40"},l],children:[o,c?m(x,{style:[f.text,r==="medium"&&f.textMedium,d&&f.textMono,{color:t}],numberOfLines:1,children:e}):e]})}var f=b.create({base:{flexDirection:"row",alignItems:"center",alignSelf:"flex-start",gap:4,borderWidth:1,borderRadius:a.radius.sm,paddingHorizontal:6,paddingVertical:2},medium:{paddingHorizontal:8,paddingVertical:3},pill:{borderRadius:a.radius.pill,minWidth:20,justifyContent:"center"},text:{fontSize:10,fontWeight:"600",letterSpacing:.3},textMedium:{fontSize:12},textMono:{fontFamily:a.text.mono.fontFamily}});function Na({status:e,color:t,size:o=8,style:r}){let s=t??(e?A(e):a.colors.textMuted);return m(p,{style:[{width:o,height:o,borderRadius:o/2,backgroundColor:s},r]})}function Ua({label:e,value:t,copyable:o=false,style:r}){let s=typeof t=="string"||typeof t=="number";return k(p,{style:[y.row,r],children:[m(x,{style:y.label,numberOfLines:1,children:e}),m(p,{style:y.value,children:s?m(x,{style:y.valueText,numberOfLines:2,children:String(t)}):t}),o&&t!=null&&m(Va,{value:t,size:12})]})}var y=b.create({row:{flexDirection:"row",alignItems:"center",gap:a.spacing.sm,paddingVertical:3},label:{...a.text.label,color:a.colors.textMuted,minWidth:72},value:{flex:1,flexDirection:"row",alignItems:"center"},valueText:{...a.text.mono,color:a.colors.text}});function Oa({oldValue:e,newValue:t,mode:o="tree",showUnchanged:r=true,scrollEnabled:s=false,height:d=220}){return o==="text"?m(Pa,{oldValue:e,newValue:t,height:d}):m(La,{oldValue:e,newValue:t,showUnchanged:r,scrollEnabled:s})}import{ToolButton as Wa,CopyButton as Ka,PowerToggleButton as ja}from"@buoy-gg/shared-ui/web";import{CompactRow as $a,DevToolsCard as Ga}from"@buoy-gg/shared-ui/web";import{SectionHeader as qa,CollapsibleSection as Ja,TabSelector as Xa,EmptyState as Ya,SearchBar as _a,EventStepperFooter as Qa}from"@buoy-gg/shared-ui/web";import{DataViewer as Za}from"@buoy-gg/shared-ui/web/dataViewer";import{BaseEventStore as ae}from"@buoy-gg/shared-ui/web";import{RelativeTime as ee}from"@buoy-gg/shared-ui/web";import{formatBytes as se,formatDuration as te,formatNumber as oe,truncateMiddle as re,safeStringify as ie}from"@buoy-gg/shared-ui/web";import{usePersistedState as ne,persistentStorage as le,devToolsStorageKeys as ce}from"@buoy-gg/shared-ui/web";import{useSafeAreaInsets as de,copyToClipboard as ue}from"@buoy-gg/shared-ui/web";import{JsModal as me}from"@buoy-gg/shared-ui/web";import{Activity as pe,AlertTriangle as fe,Bug as he,Check as ge,CheckCircle as xe,ChevronDown as be,ChevronLeft as ye,ChevronRight as ve,ChevronUp as we,Clock as Se,Copy as Ce,Database as Te,Eye as Ee,EyeOff as ke,FileJson as Ae,FileText as Be,Filter as Me,FlaskConical as Ve,Globe as Le,Hash as Pe,Info as Ie,Key as De,Layers as Re,Lock as He,Pause as Fe,Play as ze,Plus as Ne,Power as Ue,RefreshCw as Oe,Search as We,Settings as Ke,Shield as je,Trash2 as $e,User as Ge,Wifi as qe,X as Je,Zap as Xe,AlertCircle as Ye,BarChart3 as _e,Bookmark as Qe,Cloud as Ze,Download as as,Edit3 as es,GitBranch as ss,HardDrive as ts,HelpCircle as os,Home as rs,Image as is,Link as ns,Maximize2 as ls,Minus as cs,Palette as ds,Pin as us,Route as ms,Server as ps,Smartphone as fs,Square as hs,CheckSquare as gs,Timer as xs,Unlock as bs,Upload as ys,Users as vs,XCircle as ws}from"@buoy-gg/shared-ui/web";export{p as a,x as b,T as c,E as d,v as e,w as f,S as g,C as h,b as i,A as j,Ra as k,Fa as l,za as m,Na as n,Ua as o,Oa as p,V as q,Wa as r,Ka as s,ja as t,$a as u,Ga as v,qa as w,Ja as x,Xa as y,Ya as z,_a as A,Qa as B,Za as C,ae as D,ee as E,se as F,te as G,oe as H,re as I,ie as J,ne as K,le as L,ce as M,de as N,ue as O,me as P,pe as Q,fe as R,he as S,ge as T,xe as U,be as V,ye as W,ve as X,we as Y,Se as Z,Ce as _,Te as $,Ee as aa,ke as ba,Ae as ca,Be as da,Me as ea,Ve as fa,Le as ga,Pe as ha,Ie as ia,De as ja,Re as ka,He as la,Fe as ma,ze as na,Ne as oa,Ue as pa,Oe as qa,We as ra,Ke as sa,je as ta,$e as ua,Ge as va,qe as wa,Je as xa,Xe as ya,Ye as za,_e as Aa,Qe as Ba,Ze as Ca,as as Da,es as Ea,ss as Fa,ts as Ga,os as Ha,rs as Ia,is as Ja,ns as Ka,ls as La,cs as Ma,ds as Na,us as Oa,ms as Pa,ps as Qa,fs as Ra,hs as Sa,gs as Ta,xs as Ua,bs as Va,ys as Wa,vs as Xa,ws as Ya};
@@ -0,0 +1 @@
1
+ "use client";import{a as S,b as T}from"./chunk-CGDSLLZF.mjs";import{toolTheme as E}from"@buoy-gg/shared-ui/web";var x={};S(x,{AccessibilityInfo:()=>M,ActivityIndicator:()=>X,Alert:()=>ka,Animated:()=>y,AppRegistry:()=>P,AppState:()=>V,Appearance:()=>L,BackHandler:()=>I,Button:()=>Y,CheckBox:()=>_,Clipboard:()=>D,DeviceEventEmitter:()=>wa,Dimensions:()=>R,Easing:()=>H,FlatList:()=>Q,I18nManager:()=>F,Image:()=>Z,ImageBackground:()=>$,InteractionManager:()=>U,Keyboard:()=>z,KeyboardAvoidingView:()=>aa,LayoutAnimation:()=>N,Linking:()=>O,LogBox:()=>ya,Modal:()=>ea,NativeEventEmitter:()=>K,NativeModules:()=>B,PanResponder:()=>W,Picker:()=>sa,PixelRatio:()=>j,Platform:()=>w,Pressable:()=>ta,ProgressBar:()=>oa,RefreshControl:()=>ra,SafeAreaView:()=>ia,ScrollView:()=>na,SectionList:()=>la,Share:()=>G,StatusBar:()=>ca,StyleSheet:()=>f,Switch:()=>da,Text:()=>p,TextInput:()=>ua,Touchable:()=>ma,TouchableHighlight:()=>pa,TouchableNativeFeedback:()=>fa,TouchableOpacity:()=>ha,TouchableWithoutFeedback:()=>ga,UIManager:()=>q,Vibration:()=>J,View:()=>c,VirtualizedList:()=>xa,YellowBox:()=>ba,findNodeHandle:()=>Ea,unstable_createElement:()=>A,useColorScheme:()=>va,useLocaleContext:()=>Ca,useWindowDimensions:()=>Sa});T(x,k);import*as k from"react-native-web";import{unstable_createElement as A,NativeModules as B,AccessibilityInfo as M,Animated as y,Appearance as L,AppRegistry as P,AppState as V,BackHandler as I,Clipboard as D,Dimensions as R,Easing as H,I18nManager as F,Keyboard as z,InteractionManager as U,LayoutAnimation as N,Linking as O,NativeEventEmitter as K,PanResponder as W,PixelRatio as j,Platform as w,Share as G,StyleSheet as f,UIManager as q,Vibration as J,ActivityIndicator as X,Button as Y,CheckBox as _,FlatList as Q,Image as Z,ImageBackground as $,KeyboardAvoidingView as aa,Modal as ea,Picker as sa,Pressable as ta,ProgressBar as oa,RefreshControl as ra,SafeAreaView as ia,ScrollView as na,SectionList as la,StatusBar as ca,Switch as da,Text as p,TextInput as ua,Touchable as ma,TouchableHighlight as pa,TouchableNativeFeedback as fa,TouchableOpacity as ha,TouchableWithoutFeedback as ga,View as c,VirtualizedList as xa,YellowBox as ba,LogBox as ya,DeviceEventEmitter as wa,useColorScheme as va,useLocaleContext as Ca,useWindowDimensions as Sa}from"react-native-web";import*as Ta from"react-native-web";var Ea=Ta.findNodeHandle,ka={alert(e,t,o,r){if(typeof document>"u")return;let s=document.createElement("dialog");s.dataset.buoyRoot="",s.setAttribute("aria-label",e),s.style.cssText="position:fixed;inset:0;margin:auto;width:min(440px,90vw);padding:24px;border:1px solid #475569;border-radius:14px;background:#17212e;color:#f1f5f9;font:14px system-ui;box-shadow:0 20px 80px #0008;z-index:2147483647";let l=document.createElement("h2");if(l.textContent=e,l.style.cssText="font-size:18px;margin:0 0 12px",s.appendChild(l),t){let i=document.createElement("p");i.textContent=t,i.style.cssText="line-height:1.5;white-space:pre-wrap;margin:0 0 20px",s.appendChild(i)}let u=document.createElement("div");u.style.cssText="display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px";let g=o?.length?o:[{text:"OK"}],b=()=>{s.close?.(),s.remove()};for(let i of g){let m=document.createElement("button");m.type="button",m.textContent=i.text??"OK",m.style.cssText=`padding:9px 14px;border:1px solid #64748b;border-radius:7px;color:white;background:${i.style==="destructive"?"#a52b38":"#283a4d"};cursor:pointer;font:inherit`,m.onclick=()=>{b(),i.onPress?.()},u.appendChild(m)}s.addEventListener("cancel",i=>{i.preventDefault(),r?.cancelable!==false&&(b(),r?.onDismiss?.())}),s.appendChild(u),document.body.appendChild(s),s.showModal?s.showModal():s.setAttribute("open","")}};import{CopyButton as Aa,toolTheme as a}from"@buoy-gg/shared-ui/web";import{TreeDiffViewer as Ba,SplitDiffViewer as Ma}from"@buoy-gg/shared-ui/web/dataViewer";import{jsx as n,jsxs as v}from"react/jsx-runtime";var La={success:a.colors.success,active:a.colors.success,connected:a.colors.success,error:a.colors.error,failed:a.colors.error,warning:a.colors.warning,stale:a.colors.warning,pending:a.colors.info,loading:a.colors.info,fetching:a.colors.info,info:a.colors.info,inactive:a.colors.textMuted,idle:a.colors.textMuted};function C(e){return La[e.toLowerCase()]??a.colors.textMuted}var Pa={GET:a.colors.info,POST:a.colors.success,PUT:a.colors.warning,PATCH:a.colors.warning,DELETE:a.colors.error};function Va(e){return Pa[e.toUpperCase()]??a.colors.textSecondary}var Ia={string:a.colors.success,number:a.colors.info,boolean:a.colors.warning,object:a.colors.accent,array:a.colors.accent,function:a.colors.error,null:a.colors.textMuted,undefined:a.colors.textMuted};function Da(e){return Ia[e.toLowerCase()]??a.colors.textSecondary}function Ra({children:e,color:t=a.colors.textSecondary,icon:o,size:r="small",pill:s=false,mono:l=false,style:u}){let g=typeof e=="string"||typeof e=="number";return v(c,{style:[d.base,r==="medium"&&d.medium,s&&d.pill,{backgroundColor:t+"1A",borderColor:t+"40"},u],children:[o,g?n(p,{style:[d.text,r==="medium"&&d.textMedium,l&&d.textMono,{color:t}],numberOfLines:1,children:e}):e]})}var d=f.create({base:{flexDirection:"row",alignItems:"center",alignSelf:"flex-start",gap:4,borderWidth:1,borderRadius:a.radius.sm,paddingHorizontal:6,paddingVertical:2},medium:{paddingHorizontal:8,paddingVertical:3},pill:{borderRadius:a.radius.pill,minWidth:20,justifyContent:"center"},text:{fontSize:10,fontWeight:"600",letterSpacing:.3},textMedium:{fontSize:12},textMono:{fontFamily:a.text.mono.fontFamily}});function Ha({status:e,color:t,size:o=8,style:r}){let s=t??(e?C(e):a.colors.textMuted);return n(c,{style:[{width:o,height:o,borderRadius:o/2,backgroundColor:s},r]})}function Fa({label:e,value:t,copyable:o=false,style:r}){let s=typeof t=="string"||typeof t=="number";return v(c,{style:[h.row,r],children:[n(p,{style:h.label,numberOfLines:1,children:e}),n(c,{style:h.value,children:s?n(p,{style:h.valueText,numberOfLines:2,children:String(t)}):t}),o&&t!=null&&n(Aa,{value:t,size:12})]})}var h=f.create({row:{flexDirection:"row",alignItems:"center",gap:a.spacing.sm,paddingVertical:3},label:{...a.text.label,color:a.colors.textMuted,minWidth:72},value:{flex:1,flexDirection:"row",alignItems:"center"},valueText:{...a.text.mono,color:a.colors.text}});function za({oldValue:e,newValue:t,mode:o="tree",showUnchanged:r=true,scrollEnabled:s=false,height:l=220}){return o==="text"?n(Ma,{oldValue:e,newValue:t,height:l}):n(Ba,{oldValue:e,newValue:t,showUnchanged:r,scrollEnabled:s})}import{ToolButton as Ua,CopyButton as Na,PowerToggleButton as Oa}from"@buoy-gg/shared-ui/web";import{CompactRow as Ka,DevToolsCard as Wa}from"@buoy-gg/shared-ui/web";import{SectionHeader as ja,CollapsibleSection as Ga,TabSelector as qa,EmptyState as Ja,SearchBar as Xa,EventStepperFooter as Ya}from"@buoy-gg/shared-ui/web";import{DataViewer as _a}from"@buoy-gg/shared-ui/web/dataViewer";import{BaseEventStore as Qa}from"@buoy-gg/shared-ui/web";import{RelativeTime as Za}from"@buoy-gg/shared-ui/web";import{formatBytes as $a,formatDuration as ae,formatNumber as ee,truncateMiddle as se,safeStringify as te}from"@buoy-gg/shared-ui/web";import{usePersistedState as oe,persistentStorage as re,devToolsStorageKeys as ie}from"@buoy-gg/shared-ui/web";import{useSafeAreaInsets as ne,copyToClipboard as le}from"@buoy-gg/shared-ui/web";import{JsModal as ce}from"@buoy-gg/shared-ui/web";import{Activity as de,AlertTriangle as ue,Bug as me,Check as pe,CheckCircle as fe,ChevronDown as he,ChevronLeft as ge,ChevronRight as xe,ChevronUp as be,Clock as ye,Copy as we,Database as ve,Eye as Ce,EyeOff as Se,FileJson as Te,FileText as Ee,Filter as ke,FlaskConical as Ae,Globe as Be,Hash as Me,Info as Le,Key as Pe,Layers as Ve,Lock as Ie,Pause as De,Play as Re,Plus as He,Power as Fe,RefreshCw as ze,Search as Ue,Settings as Ne,Shield as Oe,Trash2 as Ke,User as We,Wifi as je,X as Ge,Zap as qe,AlertCircle as Je,BarChart3 as Xe,Bookmark as Ye,Cloud as _e,Download as Qe,Edit3 as Ze,GitBranch as $e,HardDrive as as,HelpCircle as es,Home as ss,Image as ts,Link as os,Maximize2 as rs,Minus as is,Palette as ns,Pin as ls,Route as cs,Server as ds,Smartphone as us,Square as ms,CheckSquare as ps,Timer as fs,Unlock as hs,Upload as gs,Users as xs,XCircle as bs}from"@buoy-gg/shared-ui/web";export{x as a,y as b,w as c,f as d,p as e,c as f,C as g,Va as h,Da as i,Ra as j,Ha as k,Fa as l,za as m,E as n,Ua as o,Na as p,Oa as q,Ka as r,Wa as s,ja as t,Ga as u,qa as v,Ja as w,Xa as x,Ya as y,_a as z,Qa as A,Za as B,$a as C,ae as D,ee as E,se as F,te as G,oe as H,re as I,ie as J,ne as K,le as L,ce as M,de as N,ue as O,me as P,pe as Q,fe as R,he as S,ge as T,xe as U,be as V,ye as W,we as X,ve as Y,Ce as Z,Se as _,Te as $,Ee as aa,ke as ba,Ae as ca,Be as da,Me as ea,Le as fa,Pe as ga,Ve as ha,Ie as ia,De as ja,Re as ka,He as la,Fe as ma,ze as na,Ue as oa,Ne as pa,Oe as qa,Ke as ra,We as sa,je as ta,Ge as ua,qe as va,Je as wa,Xe as xa,Ye as ya,_e as za,Qe as Aa,Ze as Ba,$e as Ca,as as Da,es as Ea,ss as Fa,ts as Ga,os as Ha,rs as Ia,is as Ja,ns as Ka,ls as La,cs as Ma,ds as Na,us as Oa,ms as Pa,ps as Qa,fs as Ra,hs as Sa,gs as Ta,xs as Ua,bs as Va};
@@ -0,0 +1 @@
1
+ "use client";import{toolTheme as y}from"@buoy-gg/shared-ui/web";import{StyleSheet as m,Text as d,View as n}from"@buoy-gg/shared-ui/web/native";import{CopyButton as x,toolTheme as a}from"@buoy-gg/shared-ui/web";import{TreeDiffViewer as C,SplitDiffViewer as b}from"@buoy-gg/shared-ui/web/dataViewer";import{jsx as t,jsxs as f}from"react/jsx-runtime";var S={success:a.colors.success,active:a.colors.success,connected:a.colors.success,error:a.colors.error,failed:a.colors.error,warning:a.colors.warning,stale:a.colors.warning,pending:a.colors.info,loading:a.colors.info,fetching:a.colors.info,info:a.colors.info,inactive:a.colors.textMuted,idle:a.colors.textMuted};function p(s){return S[s.toLowerCase()]??a.colors.textMuted}var w={GET:a.colors.info,POST:a.colors.success,PUT:a.colors.warning,PATCH:a.colors.warning,DELETE:a.colors.error};function v(s){return w[s.toUpperCase()]??a.colors.textSecondary}var T={string:a.colors.success,number:a.colors.info,boolean:a.colors.warning,object:a.colors.accent,array:a.colors.accent,function:a.colors.error,null:a.colors.textMuted,undefined:a.colors.textMuted};function M(s){return T[s.toLowerCase()]??a.colors.textSecondary}function D({children:s,color:e=a.colors.textSecondary,icon:o,size:r="small",pill:l=false,mono:u=false,style:g}){let h=typeof s=="string"||typeof s=="number";return f(n,{style:[i.base,r==="medium"&&i.medium,l&&i.pill,{backgroundColor:e+"1A",borderColor:e+"40"},g],children:[o,h?t(d,{style:[i.text,r==="medium"&&i.textMedium,u&&i.textMono,{color:e}],numberOfLines:1,children:s}):s]})}var i=m.create({base:{flexDirection:"row",alignItems:"center",alignSelf:"flex-start",gap:4,borderWidth:1,borderRadius:a.radius.sm,paddingHorizontal:6,paddingVertical:2},medium:{paddingHorizontal:8,paddingVertical:3},pill:{borderRadius:a.radius.pill,minWidth:20,justifyContent:"center"},text:{fontSize:10,fontWeight:"600",letterSpacing:.3},textMedium:{fontSize:12},textMono:{fontFamily:a.text.mono.fontFamily}});function k({status:s,color:e,size:o=8,style:r}){let l=e??(s?p(s):a.colors.textMuted);return t(n,{style:[{width:o,height:o,borderRadius:o/2,backgroundColor:l},r]})}function E({label:s,value:e,copyable:o=false,style:r}){let l=typeof e=="string"||typeof e=="number";return f(n,{style:[c.row,r],children:[t(d,{style:c.label,numberOfLines:1,children:s}),t(n,{style:c.value,children:l?t(d,{style:c.valueText,numberOfLines:2,children:String(e)}):e}),o&&e!=null&&t(x,{value:e,size:12})]})}var c=m.create({row:{flexDirection:"row",alignItems:"center",gap:a.spacing.sm,paddingVertical:3},label:{...a.text.label,color:a.colors.textMuted,minWidth:72},value:{flex:1,flexDirection:"row",alignItems:"center"},valueText:{...a.text.mono,color:a.colors.text}});function V({oldValue:s,newValue:e,mode:o="tree",showUnchanged:r=true,scrollEnabled:l=false,height:u=220}){return o==="text"?t(b,{oldValue:s,newValue:e,height:u}):t(C,{oldValue:s,newValue:e,showUnchanged:r,scrollEnabled:l})}import{ToolButton as B,CopyButton as P,PowerToggleButton as L}from"@buoy-gg/shared-ui/web";import{CompactRow as z,DevToolsCard as H}from"@buoy-gg/shared-ui/web";import{SectionHeader as U,CollapsibleSection as F,TabSelector as R,EmptyState as A,SearchBar as I,EventStepperFooter as O}from"@buoy-gg/shared-ui/web";import{DataViewer as j}from"@buoy-gg/shared-ui/web/dataViewer";import{BaseEventStore as W}from"@buoy-gg/shared-ui/web";import{RelativeTime as G}from"@buoy-gg/shared-ui/web";import{formatBytes as q,formatDuration as J,formatNumber as K,truncateMiddle as N,safeStringify as X}from"@buoy-gg/shared-ui/web";import{usePersistedState as Z,persistentStorage as Q,devToolsStorageKeys as Y}from"@buoy-gg/shared-ui/web";import{useSafeAreaInsets as _,copyToClipboard as $}from"@buoy-gg/shared-ui/web";import{JsModal as aa}from"@buoy-gg/shared-ui/web";import{Activity as sa,AlertTriangle as ea,Bug as oa,Check as ra,CheckCircle as ta,ChevronDown as la,ChevronLeft as ia,ChevronRight as na,ChevronUp as ca,Clock as ua,Copy as da,Database as ma,Eye as fa,EyeOff as pa,FileJson as ga,FileText as ha,Filter as ya,FlaskConical as xa,Globe as Ca,Hash as ba,Info as Sa,Key as wa,Layers as va,Lock as Ta,Pause as Ma,Play as Da,Plus as ka,Power as Ea,RefreshCw as Va,Search as Ba,Settings as Pa,Shield as La,Trash2 as za,User as Ha,Wifi as Ua,X as Fa,Zap as Ra,AlertCircle as Aa,BarChart3 as Ia,Bookmark as Oa,Cloud as ja,Download as Wa,Edit3 as Ga,GitBranch as qa,HardDrive as Ja,HelpCircle as Ka,Home as Na,Image as Xa,Link as Za,Maximize2 as Qa,Minus as Ya,Palette as _a,Pin as $a,Route as as,Server as ss,Smartphone as es,Square as os,CheckSquare as rs,Timer as ts,Unlock as ls,Upload as is,Users as ns,XCircle as cs}from"@buoy-gg/shared-ui/web";export{p as a,v as b,M as c,D as d,k as e,E as f,V as g,y as h,B as i,P as j,L as k,z as l,H as m,U as n,F as o,R as p,A as q,I as r,O as s,j as t,W as u,G as v,q as w,J as x,K as y,N as z,X as A,Z as B,Q as C,Y as D,_ as E,$ as F,aa as G,sa as H,ea as I,oa as J,ra as K,ta as L,la as M,ia as N,na as O,ca as P,ua as Q,da as R,ma as S,fa as T,pa as U,ga as V,ha as W,ya as X,xa as Y,Ca as Z,ba as _,Sa as $,wa as aa,va as ba,Ta as ca,Ma as da,Da as ea,ka as fa,Ea as ga,Va as ha,Ba as ia,Pa as ja,La as ka,za as la,Ha as ma,Ua as na,Fa as oa,Ra as pa,Aa as qa,Ia as ra,Oa as sa,ja as ta,Wa as ua,Ga as va,qa as wa,Ja as xa,Ka as ya,Na as za,Xa as Aa,Za as Ba,Qa as Ca,Ya as Da,_a as Ea,$a as Fa,as as Ga,ss as Ha,es as Ia,os as Ja,rs as Ka,ts as La,ls as Ma,is as Na,ns as Oa,cs as Pa};
@@ -0,0 +1 @@
1
+ "use client";import{toolTheme as y}from"@buoy-gg/shared-ui/web";import{StyleSheet as m,Text as d,View as n}from"react-native-web";import{CopyButton as x,toolTheme as a}from"@buoy-gg/shared-ui/web";import{TreeDiffViewer as C,SplitDiffViewer as b}from"@buoy-gg/shared-ui/web/dataViewer";import{jsx as t,jsxs as f}from"react/jsx-runtime";var S={success:a.colors.success,active:a.colors.success,connected:a.colors.success,error:a.colors.error,failed:a.colors.error,warning:a.colors.warning,stale:a.colors.warning,pending:a.colors.info,loading:a.colors.info,fetching:a.colors.info,info:a.colors.info,inactive:a.colors.textMuted,idle:a.colors.textMuted};function p(s){return S[s.toLowerCase()]??a.colors.textMuted}var w={GET:a.colors.info,POST:a.colors.success,PUT:a.colors.warning,PATCH:a.colors.warning,DELETE:a.colors.error};function v(s){return w[s.toUpperCase()]??a.colors.textSecondary}var T={string:a.colors.success,number:a.colors.info,boolean:a.colors.warning,object:a.colors.accent,array:a.colors.accent,function:a.colors.error,null:a.colors.textMuted,undefined:a.colors.textMuted};function M(s){return T[s.toLowerCase()]??a.colors.textSecondary}function D({children:s,color:e=a.colors.textSecondary,icon:o,size:r="small",pill:l=false,mono:u=false,style:g}){let h=typeof s=="string"||typeof s=="number";return f(n,{style:[i.base,r==="medium"&&i.medium,l&&i.pill,{backgroundColor:e+"1A",borderColor:e+"40"},g],children:[o,h?t(d,{style:[i.text,r==="medium"&&i.textMedium,u&&i.textMono,{color:e}],numberOfLines:1,children:s}):s]})}var i=m.create({base:{flexDirection:"row",alignItems:"center",alignSelf:"flex-start",gap:4,borderWidth:1,borderRadius:a.radius.sm,paddingHorizontal:6,paddingVertical:2},medium:{paddingHorizontal:8,paddingVertical:3},pill:{borderRadius:a.radius.pill,minWidth:20,justifyContent:"center"},text:{fontSize:10,fontWeight:"600",letterSpacing:.3},textMedium:{fontSize:12},textMono:{fontFamily:a.text.mono.fontFamily}});function k({status:s,color:e,size:o=8,style:r}){let l=e??(s?p(s):a.colors.textMuted);return t(n,{style:[{width:o,height:o,borderRadius:o/2,backgroundColor:l},r]})}function E({label:s,value:e,copyable:o=false,style:r}){let l=typeof e=="string"||typeof e=="number";return f(n,{style:[c.row,r],children:[t(d,{style:c.label,numberOfLines:1,children:s}),t(n,{style:c.value,children:l?t(d,{style:c.valueText,numberOfLines:2,children:String(e)}):e}),o&&e!=null&&t(x,{value:e,size:12})]})}var c=m.create({row:{flexDirection:"row",alignItems:"center",gap:a.spacing.sm,paddingVertical:3},label:{...a.text.label,color:a.colors.textMuted,minWidth:72},value:{flex:1,flexDirection:"row",alignItems:"center"},valueText:{...a.text.mono,color:a.colors.text}});function V({oldValue:s,newValue:e,mode:o="tree",showUnchanged:r=true,scrollEnabled:l=false,height:u=220}){return o==="text"?t(b,{oldValue:s,newValue:e,height:u}):t(C,{oldValue:s,newValue:e,showUnchanged:r,scrollEnabled:l})}import{ToolButton as B,CopyButton as P,PowerToggleButton as L}from"@buoy-gg/shared-ui/web";import{CompactRow as z,DevToolsCard as H}from"@buoy-gg/shared-ui/web";import{SectionHeader as U,CollapsibleSection as F,TabSelector as R,EmptyState as A,SearchBar as I,EventStepperFooter as O}from"@buoy-gg/shared-ui/web";import{DataViewer as j}from"@buoy-gg/shared-ui/web/dataViewer";import{BaseEventStore as W}from"@buoy-gg/shared-ui/web";import{RelativeTime as G}from"@buoy-gg/shared-ui/web";import{formatBytes as q,formatDuration as J,formatNumber as K,truncateMiddle as N,safeStringify as X}from"@buoy-gg/shared-ui/web";import{usePersistedState as Z,persistentStorage as Q,devToolsStorageKeys as Y}from"@buoy-gg/shared-ui/web";import{useSafeAreaInsets as _,copyToClipboard as $}from"@buoy-gg/shared-ui/web";import{JsModal as aa}from"@buoy-gg/shared-ui/web";import{Activity as sa,AlertTriangle as ea,Bug as oa,Check as ra,CheckCircle as ta,ChevronDown as la,ChevronLeft as ia,ChevronRight as na,ChevronUp as ca,Clock as ua,Copy as da,Database as ma,Eye as fa,EyeOff as pa,FileJson as ga,FileText as ha,Filter as ya,FlaskConical as xa,Globe as Ca,Hash as ba,Info as Sa,Key as wa,Layers as va,Lock as Ta,Pause as Ma,Play as Da,Plus as ka,Power as Ea,RefreshCw as Va,Search as Ba,Settings as Pa,Shield as La,Trash2 as za,User as Ha,Wifi as Ua,X as Fa,Zap as Ra,AlertCircle as Aa,BarChart3 as Ia,Bookmark as Oa,Cloud as ja,Download as Wa,Edit3 as Ga,GitBranch as qa,HardDrive as Ja,HelpCircle as Ka,Home as Na,Image as Xa,Link as Za,Maximize2 as Qa,Minus as Ya,Palette as _a,Pin as $a,Route as as,Server as ss,Smartphone as es,Square as os,CheckSquare as rs,Timer as ts,Unlock as ls,Upload as is,Users as ns,XCircle as cs}from"@buoy-gg/shared-ui/web";export{p as a,v as b,M as c,D as d,k as e,E as f,V as g,y as h,B as i,P as j,L as k,z as l,H as m,U as n,F as o,R as p,A as q,I as r,O as s,j as t,W as u,G as v,q as w,J as x,K as y,N as z,X as A,Z as B,Q as C,Y as D,_ as E,$ as F,aa as G,sa as H,ea as I,oa as J,ra as K,ta as L,la as M,ia as N,na as O,ca as P,ua as Q,da as R,ma as S,fa as T,pa as U,ga as V,ha as W,ya as X,xa as Y,Ca as Z,ba as _,Sa as $,wa as aa,va as ba,Ta as ca,Ma as da,Da as ea,ka as fa,Ea as ga,Va as ha,Ba as ia,Pa as ja,La as ka,za as la,Ha as ma,Ua as na,Fa as oa,Ra as pa,Aa as qa,Ia as ra,Oa as sa,ja as ta,Wa as ua,Ga as va,qa as wa,Ja as xa,Ka as ya,Na as za,Xa as Aa,Za as Ba,Qa as Ca,Ya as Da,_a as Ea,$a as Fa,as as Ga,ss as Ha,es as Ia,os as Ja,rs as Ka,ts as La,ls as Ma,is as Na,ns as Oa,cs as Pa};
@@ -0,0 +1 @@
1
+ "use client";import{b as k,c as A}from"./chunk-R7RGRTY5.mjs";import{toolTheme as B}from"@buoy-gg/shared-ui/web";var x={};k(x,{AccessibilityInfo:()=>V,ActivityIndicator:()=>_,Alert:()=>ka,Animated:()=>y,AppRegistry:()=>D,AppState:()=>R,Appearance:()=>I,BackHandler:()=>H,Button:()=>Q,CheckBox:()=>Z,Clipboard:()=>F,DeviceEventEmitter:()=>wa,Dimensions:()=>w,Easing:()=>z,FlatList:()=>$,I18nManager:()=>U,Image:()=>aa,ImageBackground:()=>ea,InteractionManager:()=>O,Keyboard:()=>N,KeyboardAvoidingView:()=>sa,LayoutAnimation:()=>W,Linking:()=>K,LogBox:()=>ya,Modal:()=>ta,NativeEventEmitter:()=>j,NativeModules:()=>P,PanResponder:()=>G,Picker:()=>oa,PixelRatio:()=>q,Platform:()=>v,Pressable:()=>ra,ProgressBar:()=>ia,RefreshControl:()=>na,SafeAreaView:()=>la,ScrollView:()=>C,SectionList:()=>ca,Share:()=>J,StatusBar:()=>da,StyleSheet:()=>f,Switch:()=>ua,Text:()=>p,TextInput:()=>ma,Touchable:()=>pa,TouchableHighlight:()=>fa,TouchableNativeFeedback:()=>ha,TouchableOpacity:()=>S,TouchableWithoutFeedback:()=>ga,UIManager:()=>X,Vibration:()=>Y,View:()=>c,VirtualizedList:()=>xa,YellowBox:()=>ba,findNodeHandle:()=>Ea,unstable_createElement:()=>L,useColorScheme:()=>va,useLocaleContext:()=>Ca,useWindowDimensions:()=>Sa});A(x,M);import*as M from"react-native-web";import{unstable_createElement as L,NativeModules as P,AccessibilityInfo as V,Animated as y,Appearance as I,AppRegistry as D,AppState as R,BackHandler as H,Clipboard as F,Dimensions as w,Easing as z,I18nManager as U,Keyboard as N,InteractionManager as O,LayoutAnimation as W,Linking as K,NativeEventEmitter as j,PanResponder as G,PixelRatio as q,Platform as v,Share as J,StyleSheet as f,UIManager as X,Vibration as Y,ActivityIndicator as _,Button as Q,CheckBox as Z,FlatList as $,Image as aa,ImageBackground as ea,KeyboardAvoidingView as sa,Modal as ta,Picker as oa,Pressable as ra,ProgressBar as ia,RefreshControl as na,SafeAreaView as la,ScrollView as C,SectionList as ca,StatusBar as da,Switch as ua,Text as p,TextInput as ma,Touchable as pa,TouchableHighlight as fa,TouchableNativeFeedback as ha,TouchableOpacity as S,TouchableWithoutFeedback as ga,View as c,VirtualizedList as xa,YellowBox as ba,LogBox as ya,DeviceEventEmitter as wa,useColorScheme as va,useLocaleContext as Ca,useWindowDimensions as Sa}from"react-native-web";import*as Ta from"react-native-web";var Ea=Ta.findNodeHandle,ka={alert(e,t,o,r){if(typeof document>"u")return;let s=document.createElement("dialog");s.dataset.buoyRoot="",s.setAttribute("aria-label",e),s.style.cssText="position:fixed;inset:0;margin:auto;width:min(440px,90vw);padding:24px;border:1px solid #475569;border-radius:14px;background:#17212e;color:#f1f5f9;font:14px system-ui;box-shadow:0 20px 80px #0008;z-index:2147483647";let l=document.createElement("h2");if(l.textContent=e,l.style.cssText="font-size:18px;margin:0 0 12px",s.appendChild(l),t){let i=document.createElement("p");i.textContent=t,i.style.cssText="line-height:1.5;white-space:pre-wrap;margin:0 0 20px",s.appendChild(i)}let u=document.createElement("div");u.style.cssText="display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px";let g=o?.length?o:[{text:"OK"}],b=()=>{s.close?.(),s.remove()};for(let i of g){let m=document.createElement("button");m.type="button",m.textContent=i.text??"OK",m.style.cssText=`padding:9px 14px;border:1px solid #64748b;border-radius:7px;color:white;background:${i.style==="destructive"?"#a52b38":"#283a4d"};cursor:pointer;font:inherit`,m.onclick=()=>{b(),i.onPress?.()},u.appendChild(m)}s.addEventListener("cancel",i=>{i.preventDefault(),r?.cancelable!==false&&(b(),r?.onDismiss?.())}),s.appendChild(u),document.body.appendChild(s),s.showModal?s.showModal():s.setAttribute("open","")}};import{CopyButton as Aa,toolTheme as a}from"@buoy-gg/shared-ui/web";import{TreeDiffViewer as Ba,SplitDiffViewer as Ma}from"@buoy-gg/shared-ui/web/dataViewer";import{jsx as n,jsxs as T}from"react/jsx-runtime";var La={success:a.colors.success,active:a.colors.success,connected:a.colors.success,error:a.colors.error,failed:a.colors.error,warning:a.colors.warning,stale:a.colors.warning,pending:a.colors.info,loading:a.colors.info,fetching:a.colors.info,info:a.colors.info,inactive:a.colors.textMuted,idle:a.colors.textMuted};function E(e){return La[e.toLowerCase()]??a.colors.textMuted}var Pa={GET:a.colors.info,POST:a.colors.success,PUT:a.colors.warning,PATCH:a.colors.warning,DELETE:a.colors.error};function Va(e){return Pa[e.toUpperCase()]??a.colors.textSecondary}var Ia={string:a.colors.success,number:a.colors.info,boolean:a.colors.warning,object:a.colors.accent,array:a.colors.accent,function:a.colors.error,null:a.colors.textMuted,undefined:a.colors.textMuted};function Da(e){return Ia[e.toLowerCase()]??a.colors.textSecondary}function Ra({children:e,color:t=a.colors.textSecondary,icon:o,size:r="small",pill:s=false,mono:l=false,style:u}){let g=typeof e=="string"||typeof e=="number";return T(c,{style:[d.base,r==="medium"&&d.medium,s&&d.pill,{backgroundColor:t+"1A",borderColor:t+"40"},u],children:[o,g?n(p,{style:[d.text,r==="medium"&&d.textMedium,l&&d.textMono,{color:t}],numberOfLines:1,children:e}):e]})}var d=f.create({base:{flexDirection:"row",alignItems:"center",alignSelf:"flex-start",gap:4,borderWidth:1,borderRadius:a.radius.sm,paddingHorizontal:6,paddingVertical:2},medium:{paddingHorizontal:8,paddingVertical:3},pill:{borderRadius:a.radius.pill,minWidth:20,justifyContent:"center"},text:{fontSize:10,fontWeight:"600",letterSpacing:.3},textMedium:{fontSize:12},textMono:{fontFamily:a.text.mono.fontFamily}});function Ha({status:e,color:t,size:o=8,style:r}){let s=t??(e?E(e):a.colors.textMuted);return n(c,{style:[{width:o,height:o,borderRadius:o/2,backgroundColor:s},r]})}function Fa({label:e,value:t,copyable:o=false,style:r}){let s=typeof t=="string"||typeof t=="number";return T(c,{style:[h.row,r],children:[n(p,{style:h.label,numberOfLines:1,children:e}),n(c,{style:h.value,children:s?n(p,{style:h.valueText,numberOfLines:2,children:String(t)}):t}),o&&t!=null&&n(Aa,{value:t,size:12})]})}var h=f.create({row:{flexDirection:"row",alignItems:"center",gap:a.spacing.sm,paddingVertical:3},label:{...a.text.label,color:a.colors.textMuted,minWidth:72},value:{flex:1,flexDirection:"row",alignItems:"center"},valueText:{...a.text.mono,color:a.colors.text}});function za({oldValue:e,newValue:t,mode:o="tree",showUnchanged:r=true,scrollEnabled:s=false,height:l=220}){return o==="text"?n(Ma,{oldValue:e,newValue:t,height:l}):n(Ba,{oldValue:e,newValue:t,showUnchanged:r,scrollEnabled:s})}import{ToolButton as Ua,CopyButton as Na,PowerToggleButton as Oa}from"@buoy-gg/shared-ui/web";import{CompactRow as Wa,DevToolsCard as Ka}from"@buoy-gg/shared-ui/web";import{SectionHeader as ja,CollapsibleSection as Ga,TabSelector as qa,EmptyState as Ja,SearchBar as Xa,EventStepperFooter as Ya}from"@buoy-gg/shared-ui/web";import{DataViewer as _a}from"@buoy-gg/shared-ui/web/dataViewer";import{BaseEventStore as Qa}from"@buoy-gg/shared-ui/web";import{RelativeTime as Za}from"@buoy-gg/shared-ui/web";import{formatBytes as $a,formatDuration as ae,formatNumber as ee,truncateMiddle as se,safeStringify as te}from"@buoy-gg/shared-ui/web";import{usePersistedState as oe,persistentStorage as re,devToolsStorageKeys as ie}from"@buoy-gg/shared-ui/web";import{useSafeAreaInsets as ne,copyToClipboard as le}from"@buoy-gg/shared-ui/web";import{JsModal as ce}from"@buoy-gg/shared-ui/web";import{Activity as de,AlertTriangle as ue,Bug as me,Check as pe,CheckCircle as fe,ChevronDown as he,ChevronLeft as ge,ChevronRight as xe,ChevronUp as be,Clock as ye,Copy as we,Database as ve,Eye as Ce,EyeOff as Se,FileJson as Te,FileText as Ee,Filter as ke,FlaskConical as Ae,Globe as Be,Hash as Me,Info as Le,Key as Pe,Layers as Ve,Lock as Ie,Pause as De,Play as Re,Plus as He,Power as Fe,RefreshCw as ze,Search as Ue,Settings as Ne,Shield as Oe,Trash2 as We,User as Ke,Wifi as je,X as Ge,Zap as qe,AlertCircle as Je,BarChart3 as Xe,Bookmark as Ye,Cloud as _e,Download as Qe,Edit3 as Ze,GitBranch as $e,HardDrive as as,HelpCircle as es,Home as ss,Image as ts,Link as os,Maximize2 as rs,Minus as is,Palette as ns,Pin as ls,Route as cs,Server as ds,Smartphone as us,Square as ms,CheckSquare as ps,Timer as fs,Unlock as hs,Upload as gs,Users as xs,XCircle as bs}from"@buoy-gg/shared-ui/web";export{x as a,y as b,w as c,v as d,f as e,C as f,p as g,S as h,c as i,E as j,Va as k,Da as l,Ra as m,Ha as n,Fa as o,za as p,B as q,Ua as r,Na as s,Oa as t,Wa as u,Ka as v,ja as w,Ga as x,qa as y,Ja as z,Xa as A,Ya as B,_a as C,Qa as D,Za as E,$a as F,ae as G,ee as H,se as I,te as J,oe as K,re as L,ie as M,ne as N,le as O,ce as P,de as Q,ue as R,me as S,pe as T,fe as U,he as V,ge as W,xe as X,be as Y,ye as Z,we as _,ve as $,Ce as aa,Se as ba,Te as ca,Ee as da,ke as ea,Ae as fa,Be as ga,Me as ha,Le as ia,Pe as ja,Ve as ka,Ie as la,De as ma,Re as na,He as oa,Fe as pa,ze as qa,Ue as ra,Ne as sa,Oe as ta,We as ua,Ke as va,je as wa,Ge as xa,qe as ya,Je as za,Xe as Aa,Ye as Ba,_e as Ca,Qe as Da,Ze as Ea,$e as Fa,as as Ga,es as Ha,ss as Ia,ts as Ja,os as Ka,rs as La,is as Ma,ns as Na,ls as Oa,cs as Pa,ds as Qa,us as Ra,ms as Sa,ps as Ta,fs as Ua,hs as Va,gs as Wa,xs as Xa,bs as Ya};
@@ -0,0 +1 @@
1
+ "use client";var y=process.env.NODE_ENV!=="production";typeof window<"u"&&typeof globalThis.global>"u"&&(globalThis.global=globalThis);import{toolTheme as b}from"@buoy-gg/shared-ui/web";import{StyleSheet as m,Text as d,View as n}from"react-native-web";import{CopyButton as x,toolTheme as a}from"@buoy-gg/shared-ui/web";import{TreeDiffViewer as w,SplitDiffViewer as C}from"@buoy-gg/shared-ui/web/dataViewer";import{jsx as t,jsxs as f}from"react/jsx-runtime";var S={success:a.colors.success,active:a.colors.success,connected:a.colors.success,error:a.colors.error,failed:a.colors.error,warning:a.colors.warning,stale:a.colors.warning,pending:a.colors.info,loading:a.colors.info,fetching:a.colors.info,info:a.colors.info,inactive:a.colors.textMuted,idle:a.colors.textMuted};function p(s){return S[s.toLowerCase()]??a.colors.textMuted}var v={GET:a.colors.info,POST:a.colors.success,PUT:a.colors.warning,PATCH:a.colors.warning,DELETE:a.colors.error};function T(s){return v[s.toUpperCase()]??a.colors.textSecondary}var M={string:a.colors.success,number:a.colors.info,boolean:a.colors.warning,object:a.colors.accent,array:a.colors.accent,function:a.colors.error,null:a.colors.textMuted,undefined:a.colors.textMuted};function D(s){return M[s.toLowerCase()]??a.colors.textSecondary}function E({children:s,color:e=a.colors.textSecondary,icon:o,size:r="small",pill:l=false,mono:u=false,style:g}){let h=typeof s=="string"||typeof s=="number";return f(n,{style:[i.base,r==="medium"&&i.medium,l&&i.pill,{backgroundColor:e+"1A",borderColor:e+"40"},g],children:[o,h?t(d,{style:[i.text,r==="medium"&&i.textMedium,u&&i.textMono,{color:e}],numberOfLines:1,children:s}):s]})}var i=m.create({base:{flexDirection:"row",alignItems:"center",alignSelf:"flex-start",gap:4,borderWidth:1,borderRadius:a.radius.sm,paddingHorizontal:6,paddingVertical:2},medium:{paddingHorizontal:8,paddingVertical:3},pill:{borderRadius:a.radius.pill,minWidth:20,justifyContent:"center"},text:{fontSize:10,fontWeight:"600",letterSpacing:.3},textMedium:{fontSize:12},textMono:{fontFamily:a.text.mono.fontFamily}});function V({status:s,color:e,size:o=8,style:r}){let l=e??(s?p(s):a.colors.textMuted);return t(n,{style:[{width:o,height:o,borderRadius:o/2,backgroundColor:l},r]})}function k({label:s,value:e,copyable:o=false,style:r}){let l=typeof e=="string"||typeof e=="number";return f(n,{style:[c.row,r],children:[t(d,{style:c.label,numberOfLines:1,children:s}),t(n,{style:c.value,children:l?t(d,{style:c.valueText,numberOfLines:2,children:String(e)}):e}),o&&e!=null&&t(x,{value:e,size:12})]})}var c=m.create({row:{flexDirection:"row",alignItems:"center",gap:a.spacing.sm,paddingVertical:3},label:{...a.text.label,color:a.colors.textMuted,minWidth:72},value:{flex:1,flexDirection:"row",alignItems:"center"},valueText:{...a.text.mono,color:a.colors.text}});function B({oldValue:s,newValue:e,mode:o="tree",showUnchanged:r=true,scrollEnabled:l=false,height:u=220}){return o==="text"?t(C,{oldValue:s,newValue:e,height:u}):t(w,{oldValue:s,newValue:e,showUnchanged:r,scrollEnabled:l})}import{ToolButton as P,CopyButton as L,PowerToggleButton as z}from"@buoy-gg/shared-ui/web";import{CompactRow as H,DevToolsCard as U}from"@buoy-gg/shared-ui/web";import{SectionHeader as F,CollapsibleSection as R,TabSelector as A,EmptyState as I,SearchBar as O,EventStepperFooter as j}from"@buoy-gg/shared-ui/web";import{DataViewer as W}from"@buoy-gg/shared-ui/web/dataViewer";import{BaseEventStore as G}from"@buoy-gg/shared-ui/web";import{RelativeTime as N}from"@buoy-gg/shared-ui/web";import{formatBytes as q,formatDuration as J,formatNumber as K,truncateMiddle as X,safeStringify as Q}from"@buoy-gg/shared-ui/web";import{usePersistedState as Z,persistentStorage as _,devToolsStorageKeys as Y}from"@buoy-gg/shared-ui/web";import{useSafeAreaInsets as $,copyToClipboard as aa}from"@buoy-gg/shared-ui/web";import{JsModal as sa}from"@buoy-gg/shared-ui/web";import{Activity as ea,AlertTriangle as oa,Bug as ra,Check as ta,CheckCircle as la,ChevronDown as ia,ChevronLeft as na,ChevronRight as ca,ChevronUp as ua,Clock as da,Copy as ma,Database as fa,Eye as pa,EyeOff as ga,FileJson as ha,FileText as ya,Filter as ba,FlaskConical as xa,Globe as wa,Hash as Ca,Info as Sa,Key as va,Layers as Ta,Lock as Ma,Pause as Da,Play as Ea,Plus as Va,Power as ka,RefreshCw as Ba,Search as Pa,Settings as La,Shield as za,Trash2 as Ha,User as Ua,Wifi as Fa,X as Ra,Zap as Aa,AlertCircle as Ia,BarChart3 as Oa,Bookmark as ja,Cloud as Wa,Download as Ga,Edit3 as Na,GitBranch as qa,HardDrive as Ja,HelpCircle as Ka,Home as Xa,Image as Qa,Link as Za,Maximize2 as _a,Minus as Ya,Palette as $a,Pin as as,Route as ss,Server as es,Smartphone as os,Square as rs,CheckSquare as ts,Timer as ls,Unlock as is,Upload as ns,Users as cs,XCircle as us}from"@buoy-gg/shared-ui/web";export{y as a,p as b,T as c,D as d,E as e,V as f,k as g,B as h,b as i,P as j,L as k,z as l,H as m,U as n,F as o,R as p,A as q,I as r,O as s,j as t,W as u,G as v,N as w,q as x,J as y,K as z,X as A,Q as B,Z as C,_ as D,Y as E,$ as F,aa as G,sa as H,ea as I,oa as J,ra as K,ta as L,la as M,ia as N,na as O,ca as P,ua as Q,da as R,ma as S,fa as T,pa as U,ga as V,ha as W,ya as X,ba as Y,xa as Z,wa as _,Ca as $,Sa as aa,va as ba,Ta as ca,Ma as da,Da as ea,Ea as fa,Va as ga,ka as ha,Ba as ia,Pa as ja,La as ka,za as la,Ha as ma,Ua as na,Fa as oa,Ra as pa,Aa as qa,Ia as ra,Oa as sa,ja as ta,Wa as ua,Ga as va,Na as wa,qa as xa,Ja as ya,Ka as za,Xa as Aa,Qa as Ba,Za as Ca,_a as Da,Ya as Ea,$a as Fa,as as Ga,ss as Ha,es as Ia,os as Ja,rs as Ka,ts as La,ls as Ma,is as Na,ns as Oa,cs as Pa,us as Qa};