@halcyonlabs/app 0.47.0-halcyon.503 → 0.47.0-halcyon.505

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/index.d.ts CHANGED
@@ -7867,9 +7867,9 @@ declare const hostDaemonCommandRegistry: {
7867
7867
  base64: "base64";
7868
7868
  utf8: "utf8";
7869
7869
  }>;
7870
- sha256: z$1.ZodString;
7871
- sizeBytes: z$1.ZodNumber;
7872
7870
  mimeType: z$1.ZodOptional<z$1.ZodString>;
7871
+ sizeBytes: z$1.ZodNumber;
7872
+ sha256: z$1.ZodString;
7873
7873
  modifiedAtMs: z$1.ZodOptional<z$1.ZodNumber>;
7874
7874
  notModified: z$1.ZodLiteral<true>;
7875
7875
  }, z$1.core.$strip>]>, "onlineRpc", true>;
@@ -8134,10 +8134,10 @@ declare const hostDaemonCommandRegistry: {
8134
8134
  health: z$1.ZodObject<{
8135
8135
  status: z$1.ZodEnum<{
8136
8136
  unknown: "unknown";
8137
- ready: "ready";
8138
8137
  not_installed: "not_installed";
8139
8138
  unauthenticated: "unauthenticated";
8140
8139
  expired: "expired";
8140
+ ready: "ready";
8141
8141
  unsupported_version: "unsupported_version";
8142
8142
  }>;
8143
8143
  statusMessage: z$1.ZodNullable<z$1.ZodString>;
@@ -8633,8 +8633,8 @@ declare const hostDaemonCommandRegistry: {
8633
8633
  message: z$1.ZodNullable<z$1.ZodString>;
8634
8634
  state: z$1.ZodNullable<z$1.ZodEnum<{
8635
8635
  pending: "pending";
8636
- activating: "activating";
8637
8636
  ready: "ready";
8637
+ activating: "activating";
8638
8638
  }>>;
8639
8639
  }, z$1.core.$strict>, "onlineRpc", true>;
8640
8640
  "server_move.prepare": HostDaemonCommandDescriptor<"server_move.prepare", z$1.ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@halcyonlabs/app",
3
- "version": "0.47.0-halcyon.503",
3
+ "version": "0.47.0-halcyon.505",
4
4
  "description": "bb app launcher for npx",
5
5
  "keywords": [
6
6
  "bb",
@@ -105,7 +105,7 @@
105
105
  "node": "^22.19.0 || ^24.0.0 || ^26.0.0"
106
106
  },
107
107
  "moonletRelease": {
108
- "summary": "fix(orbit): confine settings reads to fixed background jobs (#522)"
108
+ "summary": "fix(moonlet): thread titles drop the \"Thread: \" prefix (#532)"
109
109
  },
110
110
  "license": "SEE LICENSE IN LICENSE"
111
111
  }
@@ -1,2 +1,2 @@
1
1
  /*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
2
- @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial}}}@layer theme{:root,:host{--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.8125rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-medium:500;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}}@layer utilities{:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .pointer-events-none,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).pointer-events-none{pointer-events:none}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .absolute,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).absolute{position:absolute}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .fixed,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).fixed{position:fixed}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .relative,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).relative{position:relative}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .inset-x-0,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).inset-x-0{inset-inline:calc(var(--spacing) * 0)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .top-2,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).top-2{top:calc(var(--spacing) * 2)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .right-2,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).right-2{right:calc(var(--spacing) * 2)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .bottom-0,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).bottom-0{bottom:calc(var(--spacing) * 0)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .container{width:100%}@media (min-width:40rem){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .container{max-width:40rem}}@media (min-width:48rem){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .container{max-width:48rem}}@media (min-width:64rem){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .container{max-width:64rem}}@media (min-width:80rem){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .container{max-width:80rem}}@media (min-width:96rem){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .container{max-width:96rem}}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).container{width:100%}@media (min-width:40rem){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).container{max-width:40rem}}@media (min-width:48rem){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).container{max-width:48rem}}@media (min-width:64rem){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).container{max-width:64rem}}@media (min-width:80rem){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).container{max-width:80rem}}@media (min-width:96rem){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).container{max-width:96rem}}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .my-2,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).my-2{margin-block:calc(var(--spacing) * 2)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .block,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).block{display:block}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .flex,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).flex{display:flex}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .inline,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).inline{display:inline}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .inline-flex,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).inline-flex{display:inline-flex}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .size-3,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .size-3\.5,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .size-6,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .size-full,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).size-full{width:100%;height:100%}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .h-3,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).h-3{height:calc(var(--spacing) * 3)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .h-4,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).h-4{height:calc(var(--spacing) * 4)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .h-16,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).h-16{height:calc(var(--spacing) * 16)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .w-2\/5,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).w-2\/5{width:40%}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .w-3\/5,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).w-3\/5{width:60%}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .w-11\/12,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).w-11\/12{width:91.6667%}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .w-full,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).w-full{width:100%}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .min-w-0,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).min-w-0{min-width:calc(var(--spacing) * 0)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .flex-1,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).flex-1{flex:1}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .shrink-0,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).shrink-0{flex-shrink:0}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .grow,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).grow{flex-grow:1}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .rotate-180,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).rotate-180{rotate:180deg}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .animate-pulse,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).animate-pulse{animation:var(--animate-pulse)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .cursor-pointer,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).cursor-pointer{cursor:pointer}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .flex-col,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).flex-col{flex-direction:column}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .items-baseline,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).items-baseline{align-items:baseline}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .items-center,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).items-center{align-items:center}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .justify-center,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).justify-center{justify-content:center}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .gap-0\.5,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).gap-0\.5{gap:calc(var(--spacing) * .5)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .gap-1,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).gap-1{gap:calc(var(--spacing) * 1)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .gap-2,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).gap-2{gap:calc(var(--spacing) * 2)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .gap-2\.5,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).gap-2\.5{gap:calc(var(--spacing) * 2.5)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .truncate,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .overflow-hidden,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).overflow-hidden{overflow:hidden}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .rounded-lg,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).rounded-lg{border-radius:var(--radius)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .rounded-md,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).rounded-md{border-radius:calc(var(--radius) - 2px)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .border,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).border{border-style:var(--tw-border-style);border-width:1px}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .border-0,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).border-0{border-style:var(--tw-border-style);border-width:0}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .border-t,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).border-t{border-top-style:var(--tw-border-style);border-top-width:1px}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .border-b,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .border-border,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).border-border{border-color:var(--border)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .border-destructive\/40{border-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .border-destructive\/40{border-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).border-destructive\/40{border-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).border-destructive\/40{border-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-background,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).bg-background,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-background\/90{background-color:var(--background)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-background\/90{background-color:color-mix(in oklab, var(--background) 90%, transparent)}}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).bg-background\/90{background-color:var(--background)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).bg-background\/90{background-color:color-mix(in oklab, var(--background) 90%, transparent)}}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-destructive\/10{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-destructive\/10{background-color:color-mix(in oklab, var(--destructive) 10%, transparent)}}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).bg-destructive\/10{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).bg-destructive\/10{background-color:color-mix(in oklab, var(--destructive) 10%, transparent)}}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-muted,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).bg-muted{background-color:var(--muted)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-surface-selected,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).bg-surface-selected{background-color:var(--surface-selected)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-gradient-to-t,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).bg-gradient-to-t{--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .from-background,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).from-background{--tw-gradient-from:var(--background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .to-transparent,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).to-transparent{--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .px-3,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).px-3{padding-inline:calc(var(--spacing) * 3)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .px-4,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).px-4{padding-inline:calc(var(--spacing) * 4)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .py-1\.5,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).py-1\.5{padding-block:calc(var(--spacing) * 1.5)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .py-2,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).py-2{padding-block:calc(var(--spacing) * 2)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .py-3,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).py-3{padding-block:calc(var(--spacing) * 3)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .py-4,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).py-4{padding-block:calc(var(--spacing) * 4)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .pr-1\.5,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .pl-3,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).pl-3{padding-left:calc(var(--spacing) * 3)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .text-sm,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .text-xs,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .font-medium,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .text-destructive,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).text-destructive{color:var(--destructive)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .text-foreground,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).text-foreground{color:var(--foreground)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .text-muted-foreground,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).text-muted-foreground{color:var(--muted-foreground)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .text-subtle-foreground,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).text-subtle-foreground{color:var(--subtle-foreground)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .opacity-0,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).opacity-0{opacity:0}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .shadow-xs,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).shadow-xs{--tw-shadow:var(--shadow-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .transition-colors,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .transition-opacity,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .transition-transform,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .duration-150,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).duration-150{--tw-duration:.15s;transition-duration:.15s}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .duration-200,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).duration-200{--tw-duration:.2s;transition-duration:.2s}@media (hover:hover){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .group-hover\/inline-vis\:opacity-100:is(:where(.group\/inline-vis):hover *),:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).group-hover\/inline-vis\:opacity-100:is(:where(.group\/inline-vis):hover *){opacity:1}}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .focus-within\:opacity-100:focus-within,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).focus-within\:opacity-100:focus-within{opacity:1}@media (hover:hover){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .hover\:bg-state-hover:hover,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).hover\:bg-state-hover:hover{background-color:var(--state-hover)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .hover\:text-foreground:hover,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).hover\:text-foreground:hover{color:var(--foreground)}}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .focus-visible\:ring-1:focus-visible,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).focus-visible\:ring-1:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .focus-visible\:ring-ring:focus-visible,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).focus-visible\:ring-ring:focus-visible{--tw-ring-color:var(--ring)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .focus-visible\:outline-none:focus-visible,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .focus-visible\:ring-inset:focus-visible,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}@media (pointer:coarse){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .pointer-coarse\:opacity-100,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).pointer-coarse\:opacity-100{opacity:1}}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}
2
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial}}}@layer theme{:root,:host{--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.8125rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-medium:500;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}}@layer utilities{:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .pointer-events-none,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).pointer-events-none{pointer-events:none}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .absolute,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).absolute{position:absolute}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .fixed,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).fixed{position:fixed}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .relative,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).relative{position:relative}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .inset-0,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).inset-0{inset:calc(var(--spacing) * 0)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .inset-x-0,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).inset-x-0{inset-inline:calc(var(--spacing) * 0)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .top-2,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).top-2{top:calc(var(--spacing) * 2)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .right-2,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).right-2{right:calc(var(--spacing) * 2)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .bottom-0,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).bottom-0{bottom:calc(var(--spacing) * 0)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .container{width:100%}@media (min-width:40rem){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .container{max-width:40rem}}@media (min-width:48rem){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .container{max-width:48rem}}@media (min-width:64rem){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .container{max-width:64rem}}@media (min-width:80rem){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .container{max-width:80rem}}@media (min-width:96rem){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .container{max-width:96rem}}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).container{width:100%}@media (min-width:40rem){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).container{max-width:40rem}}@media (min-width:48rem){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).container{max-width:48rem}}@media (min-width:64rem){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).container{max-width:64rem}}@media (min-width:80rem){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).container{max-width:80rem}}@media (min-width:96rem){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).container{max-width:96rem}}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .my-2,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).my-2{margin-block:calc(var(--spacing) * 2)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .block,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).block{display:block}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .flex,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).flex{display:flex}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .inline,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).inline{display:inline}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .inline-flex,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).inline-flex{display:inline-flex}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .size-3,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .size-3\.5,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .size-6,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .size-full,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).size-full{width:100%;height:100%}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .h-3,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).h-3{height:calc(var(--spacing) * 3)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .h-4,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).h-4{height:calc(var(--spacing) * 4)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .h-16,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).h-16{height:calc(var(--spacing) * 16)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .w-2\/5,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).w-2\/5{width:40%}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .w-3\/5,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).w-3\/5{width:60%}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .w-11\/12,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).w-11\/12{width:91.6667%}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .w-full,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).w-full{width:100%}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .max-w-full,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).max-w-full{max-width:100%}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .min-w-0,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).min-w-0{min-width:calc(var(--spacing) * 0)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .flex-1,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).flex-1{flex:1}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .shrink-0,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).shrink-0{flex-shrink:0}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .grow,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).grow{flex-grow:1}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .rotate-180,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).rotate-180{rotate:180deg}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .animate-pulse,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).animate-pulse{animation:var(--animate-pulse)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .cursor-pointer,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).cursor-pointer{cursor:pointer}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .resize,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).resize{resize:both}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .flex-col,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).flex-col{flex-direction:column}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .items-baseline,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).items-baseline{align-items:baseline}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .items-center,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).items-center{align-items:center}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .justify-center,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).justify-center{justify-content:center}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .gap-0\.5,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).gap-0\.5{gap:calc(var(--spacing) * .5)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .gap-1,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).gap-1{gap:calc(var(--spacing) * 1)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .gap-2,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).gap-2{gap:calc(var(--spacing) * 2)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .gap-2\.5,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).gap-2\.5{gap:calc(var(--spacing) * 2.5)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .truncate,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .overflow-hidden,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).overflow-hidden{overflow:hidden}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .rounded-lg,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).rounded-lg{border-radius:var(--radius)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .rounded-md,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).rounded-md{border-radius:calc(var(--radius) - 2px)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .border,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).border{border-style:var(--tw-border-style);border-width:1px}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .border-0,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).border-0{border-style:var(--tw-border-style);border-width:0}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .border-t,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).border-t{border-top-style:var(--tw-border-style);border-top-width:1px}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .border-b,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .border-border,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).border-border{border-color:var(--border)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .border-destructive\/40{border-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .border-destructive\/40{border-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).border-destructive\/40{border-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).border-destructive\/40{border-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-background,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).bg-background,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-background\/90{background-color:var(--background)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-background\/90{background-color:color-mix(in oklab, var(--background) 90%, transparent)}}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).bg-background\/90{background-color:var(--background)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).bg-background\/90{background-color:color-mix(in oklab, var(--background) 90%, transparent)}}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-destructive\/10{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-destructive\/10{background-color:color-mix(in oklab, var(--destructive) 10%, transparent)}}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).bg-destructive\/10{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).bg-destructive\/10{background-color:color-mix(in oklab, var(--destructive) 10%, transparent)}}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-muted,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).bg-muted{background-color:var(--muted)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-surface-selected,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).bg-surface-selected{background-color:var(--surface-selected)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-gradient-to-t,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).bg-gradient-to-t{--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .from-background,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).from-background{--tw-gradient-from:var(--background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .to-transparent,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).to-transparent{--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .px-3,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).px-3{padding-inline:calc(var(--spacing) * 3)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .px-4,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).px-4{padding-inline:calc(var(--spacing) * 4)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .py-1\.5,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).py-1\.5{padding-block:calc(var(--spacing) * 1.5)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .py-2,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).py-2{padding-block:calc(var(--spacing) * 2)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .py-3,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).py-3{padding-block:calc(var(--spacing) * 3)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .py-4,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).py-4{padding-block:calc(var(--spacing) * 4)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .pr-1\.5,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .pl-3,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).pl-3{padding-left:calc(var(--spacing) * 3)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .text-sm,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .text-xs,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .font-medium,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .text-destructive,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).text-destructive{color:var(--destructive)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .text-foreground,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).text-foreground{color:var(--foreground)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .text-muted-foreground,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).text-muted-foreground{color:var(--muted-foreground)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .text-subtle-foreground,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).text-subtle-foreground{color:var(--subtle-foreground)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .opacity-0,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).opacity-0{opacity:0}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .shadow-xs,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).shadow-xs{--tw-shadow:var(--shadow-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .transition-colors,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .transition-opacity,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .transition-transform,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .duration-150,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).duration-150{--tw-duration:.15s;transition-duration:.15s}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .duration-200,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).duration-200{--tw-duration:.2s;transition-duration:.2s}@media (hover:hover){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .group-hover\/inline-vis\:opacity-100:is(:where(.group\/inline-vis):hover *),:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).group-hover\/inline-vis\:opacity-100:is(:where(.group\/inline-vis):hover *){opacity:1}}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .focus-within\:opacity-100:focus-within,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).focus-within\:opacity-100:focus-within{opacity:1}@media (hover:hover){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .hover\:bg-state-hover:hover,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).hover\:bg-state-hover:hover{background-color:var(--state-hover)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .hover\:text-foreground:hover,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).hover\:text-foreground:hover{color:var(--foreground)}}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .focus-visible\:ring-1:focus-visible,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).focus-visible\:ring-1:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .focus-visible\:ring-ring:focus-visible,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).focus-visible\:ring-ring:focus-visible{--tw-ring-color:var(--ring)}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .focus-visible\:outline-none:focus-visible,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .focus-visible\:ring-inset:focus-visible,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}@media (pointer:coarse){:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])) .pointer-coarse\:opacity-100,:where([data-bb-plugin=inline-vis],[data-bb-plugin-root]:not([data-bb-plugin])).pointer-coarse\:opacity-100{opacity:1}}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}
@@ -1,2 +1,2 @@
1
- var z=globalThis.__bbPluginRuntime;if(z==null||z.react==null)throw new Error('Cannot load "react": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var P=z.react,ct="default"in P?P.default:P,{Activity:dt,Children:mt,Component:ft,Fragment:pt,Profiler:gt,PureComponent:ht,StrictMode:bt,Suspense:vt,act:xt,cache:wt,cacheSignal:_t,captureOwnerStack:yt,cloneElement:Et,createContext:Tt,createElement:Rt,createRef:St,forwardRef:Ct,isValidElement:Pt,lazy:Mt,memo:kt,startTransition:Nt,unstable_useCacheRefresh:Ft,use:At,useActionState:Ht,useCallback:It,useContext:Ot,useDebugValue:Dt,useDeferredValue:$t,useEffect:S,useEffectEvent:Lt,useId:zt,useImperativeHandle:Bt,useInsertionEffect:jt,useLayoutEffect:M,useMemo:Ut,useOptimistic:Vt,useReducer:Gt,useRef:k,useState:b,useSyncExternalStore:J,useTransition:qt,version:Xt}=P;var B=globalThis.__bbPluginRuntime;if(B==null||B.pluginSdkApp==null)throw new Error('Cannot load "@get-bb/plugin-sdk/app": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var N=B.pluginSdkApp,Wt="default"in N?N.default:N,{Markdown:Q,ThreadChat:Jt,ThreadTitle:Qt,UrlLink:Zt,definePluginApp:Z,experimental_BranchPicker:Yt,experimental_ComposerRoot:en,experimental_DetailRow:tn,experimental_Diff:nn,experimental_FailedVoiceRecordings:rn,experimental_FileLink:on,experimental_Icon:Y,experimental_ImageLightbox:sn,experimental_InfoList:an,experimental_InfoListRow:ln,experimental_InfoSection:un,experimental_NewThreadComposer:cn,experimental_PermissionModePicker:dn,experimental_PluginIcon:mn,experimental_PluginRpcCallError:fn,experimental_PromptMentionIcon:pn,experimental_ProviderIcon:gn,experimental_ProviderModelPicker:hn,experimental_ShortcutHint:bn,experimental_SidebarNavigationIcon:vn,experimental_SourceCode:xn,experimental_THREAD_ACTION_GROUPS:wn,experimental_THREAD_CONTEXT_SEGMENT_GROUPS:_n,experimental_THREAD_INFO_ROW_GROUPS:yn,experimental_THREAD_INFO_SECTION_GROUPS:En,experimental_ThreadActionsContextMenu:Tn,experimental_ThreadActionsMenu:Rn,experimental_ThreadStatusGlyph:Sn,experimental_ThreadTitleText:Cn,experimental_VoiceInputButton:Pn,experimental_VoiceInputTextarea:Mn,experimental_VoiceRecordingBar:kn,experimental_copyToClipboard:Nn,experimental_describePromptMention:Fn,experimental_promptMentionClipboardAttributes:An,experimental_readPromptMentionClipboard:Hn,experimental_saveFile:In,experimental_useAppPanel:On,experimental_useArchiveEnvironmentThreads:Dn,experimental_useBranches:$n,experimental_useCheckoutState:Ln,experimental_useCodeTheme:zn,experimental_useComposerCommandSearch:Bn,experimental_useComposerContributions:jn,experimental_useComposerMentionSearch:Un,experimental_useComposerRenderer:Vn,experimental_useExperiment:Gn,experimental_useFixedTabTarget:qn,experimental_usePluginId:Xn,experimental_useProviders:Kn,experimental_useQuestionFormHost:Wn,experimental_useRpcKeyedQuery:Jn,experimental_useRpcMutation:Qn,experimental_useRpcQuery:Zn,experimental_useRpcRefresh:Yn,experimental_useSidebar:er,experimental_useSidebarNavigation:tr,experimental_useSidebarNavigationSplit:nr,experimental_useSidebarThreadActions:rr,experimental_useSidebarThreadSplit:ir,experimental_useSidebarThreads:or,experimental_useThreadActionRegistrations:sr,experimental_useThreadActions:ar,experimental_useThreadTitleDisplayText:lr,useBbContext:ur,useBbNavigate:ee,useComposer:cr,useComposerView:dr,useComposers:mr,useEnvironmentProviders:fr,useRealtime:pr,useRealtimeConnectionState:gr,useRpc:te,useSdk:hr,useSettings:br,useSidebarSplitLayout:vr,useSidebarThreadDraft:xr,useSidebarThreadDraftIds:wr,useSidebarThreadRowStatus:_r,useSidebarThreadRowStatuses:yr,useSidebarThreadShortcut:Er,experimental_useSidebarThreadPullRequest:Tr}=N;var R=Y;var j=globalThis.__bbPluginRuntime;if(j==null||j.clsx==null)throw new Error('Cannot load "clsx": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var F=j.clsx,Pr="default"in F?F.default:F,{clsx:ne}=F;var U=globalThis.__bbPluginRuntime;if(U==null||U.tailwindMerge==null)throw new Error('Cannot load "tailwind-merge": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var A=U.tailwindMerge,kr="default"in A?A.default:A,{createTailwindMerge:Nr,extendTailwindMerge:Fr,fromTheme:Ar,getDefaultConfig:Hr,mergeConfigs:Ir,twJoin:Or,twMerge:re,validators:Dr}=A;function H(...e){return re(ne(e))}var V=globalThis.__bbPluginRuntime;if(V==null||V.jsxRuntime==null)throw new Error('Cannot load "react/jsx-runtime": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var I=V.jsxRuntime,jr="default"in I?I.default:I,{Fragment:G,jsx:s,jsxs:m}=I;function C({className:e,...t}){return s("div",{className:H("animate-pulse rounded-md bg-surface-selected",e),...t})}var ke=[["--background","--background"],["--foreground","--foreground"],["--muted","--muted"],["--muted-foreground","--muted-foreground"],["--subtle-foreground","--subtle-foreground"],["--card","--card"],["--card-foreground","--foreground"],["--popover","--popover"],["--popover-foreground","--popover-foreground"],["--primary","--primary"],["--primary-foreground","--primary-foreground"],["--secondary","--secondary"],["--secondary-foreground","--secondary-foreground"],["--accent","--accent"],["--accent-foreground","--accent-foreground"],["--border","--border"],["--input","--input"],["--ring","--ring"],["--surface-raised","--surface-raised-solid"],["--surface-recessed","--surface-recessed-solid"],["--brand","--timeline-accent"],["--destructive","--destructive"],["--destructive-foreground","--destructive-foreground"],["--destructive-text","--destructive-text"],["--warning","--warning"],["--warning-text","--warning-text"],["--success","--success"],["--attention","--attention"],["--diff-added","--diff-added"],["--diff-removed","--diff-removed"],["--shadow-xs","--shadow-xs"],["--shadow-sm","--shadow-sm"],["--shadow-md","--shadow-md"],["--shadow-lg","--shadow-lg"],["--radius","--radius"],["--font-sans","--font-sans"],["--font-mono","--font-mono"],["--chart-1","--timeline-accent"]],Ne=ke,Fe={light:["#0d9488","#d97706","#9333ea","#e11d48","#65a30d"],dark:["#2dd4bf","#fbbf24","#c084fc","#fb7185","#a3e635"]};function oe(e,t){let n={};for(let[r,o]of Ne){let a=t(o).trim();a.length>0&&(n[r]=a)}return Fe[e].forEach((r,o)=>{n[`--chart-${o+2}`]=r}),{appearance:e,variables:n}}function se(e,t){let n=Object.keys(e.variables);return e.appearance===t.appearance&&n.length===Object.keys(t.variables).length&&n.every(r=>e.variables[r]===t.variables[r])}var ae="ui/notifications/host-context-changed",le="ui/open-link",ue="ui/notifications/size-changed";function ce(e){return{jsonrpc:"2.0",method:ae,params:{theme:e.appearance,styles:{variables:e.variables}}}}function Ae(e){return typeof e=="object"&&e!==null}function v(e,t){return Ae(e)?e[t]:void 0}function de(e){if(v(e,"jsonrpc")!=="2.0"||v(e,"method")!==ue)return;let t=v(v(e,"params"),"height");return typeof t=="number"&&Number.isFinite(t)&&t>0?t:void 0}function me(e){if(v(e,"jsonrpc")!=="2.0"||v(e,"method")!==le)return;let t=v(e,"id"),n=v(v(e,"params"),"url");if(!(typeof t!="string"&&typeof t!="number"))return typeof n=="string"&&/^https?:\/\//i.test(n)?{id:t,url:n}:void 0}function fe(e){return{jsonrpc:"2.0",id:e,result:{}}}function ie(e){return Math.min(2e3,Math.max(80,Math.round(e)))}function pe(e){let{requested:t,contentHeight:n,remembered:r}=e,o=n??r;return ie(o===void 0?t??224:Math.min(o,t??2e3))}var He="html{scrollbar-width:none}html::-webkit-scrollbar{display:none}",Ie=":where(:focus-visible){outline:2px solid var(--ring)}:focus-visible{outline-width:2px!important;outline-offset:-2px!important}",ge="html{background:var(--background);color:var(--foreground);font-family:var(--font-sans);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}body{margin:0}code,kbd,pre,samp{font-family:var(--font-mono)}"+He+Ie,Oe=e=>e.replace(/[;{}<>]/g,"");function De(e){let t=Object.entries(e.variables).filter(([n])=>/^--[a-z0-9-]+$/.test(n)).map(([n,r])=>`${n}:${Oe(r)};`).join("");return`:root{color-scheme:${e.appearance};${t}}`}var $e=`(function(){var s=document.getElementById("bb-theme"),n=0;if(!s||window.parent===window)return;var b=${JSON.stringify(ge)};function a(t){if(!t||typeof t!=="object"||!t.variables||typeof t.variables!=="object")return;var c=":root{color-scheme:"+(t.appearance==="light"?"light":"dark")+";";for(var k in t.variables){if(/^--[a-z0-9-]+$/.test(k))c+=k+":"+String(t.variables[k]).replace(/[;{}<>]/g,"")+";";}s.textContent=c+"}"+b;}window.addEventListener("message",function(e){var d=e.data,p=d&&d.params;if(e.source===window.parent&&d&&d.jsonrpc==="2.0"&&d.method===${JSON.stringify(ae)}&&p&&p.styles)a({appearance:p.theme,variables:p.styles.variables});});document.addEventListener("click",function(e){var l=e.isTrusted?e.composedPath().find(function(t){return t&&t.matches&&t.matches("a[href]");}):null,u;if(!l)return;var r=l.getAttribute("href");if(r.charAt(0)==="#"){e.preventDefault();location.hash=r;return;}try{u=new URL(r,document.baseURI);}catch(x){return;}e.preventDefault();if(!/^https?:$/.test(u.protocol))return;window.parent.postMessage({jsonrpc:"2.0",id:"bb-link-"+(++n),method:${JSON.stringify(le)},params:{url:u.href}},"*");},true);var h,o,z=function(){var r=document.documentElement,v=Math.ceil(r.scrollHeight>r.clientHeight?r.scrollHeight:r.getBoundingClientRect().height);if(v===h)return;h=v;window.parent.postMessage({jsonrpc:"2.0",method:${JSON.stringify(ue)},params:{height:v}},"*");};if(window.ResizeObserver){o=new ResizeObserver(z);o.observe(document.documentElement);}document.addEventListener("DOMContentLoaded",function(){if(o&&document.body)o.observe(document.body);z();});window.addEventListener("load",z);})();`,Le=e=>e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;");function ze(e,t){let n=(t.fontCss??"").replace(/<\/?style/gi,"");return[/<meta\s[^>]*charset/i.test(e.slice(0,4096))?"":'<meta charset="utf-8">',/<meta\s[^>]*name\s*=\s*["']?viewport/i.test(e)?"":'<meta name="viewport" content="width=device-width, initial-scale=1">',/<base\s/i.test(e)?"":`<base href="${Le(t.baseHref)}">`,n.length>0?`<style>${n}</style>`:"",`<style id="bb-theme">${De(t.theme)}${ge}</style>`,`<script>${$e}<\/script>`].join("")}function Be(e){let t=e.replace(/<!--[\s\S]*?(?:-->|$)|<(script|style|textarea|title|xmp|iframe|noembed|noframes|noscript)\b[\s\S]*?(?:<\/\1\s*>|$)|<plaintext\b[\s\S]*$/gi,i=>" ".repeat(i.length)),n=[],r=0,o=0,a=0;for(let i of t.matchAll(/<(\/?)template(?:\s[^>]*)?\/?>/gi))if(!i[1])r++===0&&(o=i.index);else if(r>0&&--r===0){let u=i.index+i[0].length;n.push(t.slice(a,o)," ".repeat(u-o)),a=u}return r>0&&(n.push(t.slice(a,o)," ".repeat(t.length-o)),a=t.length),n.push(t.slice(a)),n.join("")}function he(e,t){let n=Be(e),r=ze(n,t),o=/<head(?:\s[^>]*)?>/i.exec(n);if(o){let u=o.index+o[0].length;return e.slice(0,u)+r+e.slice(u)}let a=/<html(?:\s[^>]*)?>/i.exec(n);if(a){let u=a.index+a[0].length;return`${e.slice(0,u)}<head>${r}</head>${e.slice(u)}`}let i=/^\s*<!doctype[^>]*>/i.exec(e);if(i){let u=i[0].length;return`${e.slice(0,u)}<head>${r}</head>${e.slice(u)}`}return`<!doctype html><head>${r}</head>${e}`}var E=null,q=null,D=new Set;function ve(){let e=document.documentElement,t=window.getComputedStyle(e),n=oe(e.classList.contains("dark")?"dark":"light",r=>t.getPropertyValue(r));return(E===null||!se(E,n))&&(E=n),E}function je(){let e=0,t=()=>{window.cancelAnimationFrame(e),e=window.requestAnimationFrame(()=>{let r=E;if(ve()!==r)for(let o of D)o()})},n=new MutationObserver(t);return n.observe(document.documentElement,{attributes:!0,attributeFilter:["class","style"]}),n.observe(document.head,{childList:!0,subtree:!0,characterData:!0}),()=>{window.cancelAnimationFrame(e),n.disconnect()}}function Ue(e){return D.add(e),q??=je(),()=>{D.delete(e),!(D.size>0)&&(q?.(),q=null,E=null)}}function xe(){return J(Ue,()=>E??ve())}var X=e=>e.trim().replace(/^["']|["']$/g,"");function we(e,t){for(let n of e)n instanceof CSSFontFaceRule?t.push(n):n instanceof CSSGroupingRule&&we(n.cssRules,t)}var be=e=>e.toUpperCase().replace(/\s+/g,"").replace(/(?<=[+-])0+(?=[0-9A-F?])/g,"");async function Ve(e){let t=await fetch(e);if(!t.ok)throw new Error(`${t.status} ${e}`);let n=new Uint8Array(await t.arrayBuffer()),r="";for(let a=0;a<n.length;a+=32768)r+=String.fromCharCode(...n.subarray(a,a+32768));return`data:${t.headers.get("content-type")??"font/woff2"};base64,${window.btoa(r)}`}async function Ge(e,t){let n=e.parentStyleSheet?.href??document.baseURI,r=/url\(\s*(["']?)([^"')]+)\1\s*\)/.exec(e.style.getPropertyValue("src"))?.[2];if(r===void 0)return"";let o=["font-style","font-weight","unicode-range"].map(i=>[i,e.style.getPropertyValue(i)]).filter(([,i])=>i.length>0).map(([i,u])=>`${i}:${u};`).join(""),a=await Ve(new URL(r,n).href);return`@font-face{font-family:"${t}";font-display:swap;${o}src:url("${a}");}`}async function qe(){let e=window.getComputedStyle(document.documentElement).getPropertyValue("--font-sans"),t=X(e.split(",")[0]??"");if(t.length===0)return"";await document.fonts.ready;let n=new Set;for(let i of document.fonts)i.status==="loaded"&&X(i.family)===t&&n.add(be(i.unicodeRange));let r=[];for(let i of document.styleSheets)try{we(i.cssRules,r)}catch{continue}let o=r.filter(i=>X(i.style.getPropertyValue("font-family"))===t&&n.has(be(i.style.getPropertyValue("unicode-range"))));return(await Promise.all(o.map(i=>Ge(i,t)))).join("")}var Xe=1500,O=null;function _e(){O??=qe().then(t=>(t.length===0&&(O=null),t),()=>(O=null,""));let e=new Promise(t=>{window.setTimeout(()=>t(""),Xe)});return Promise.race([O,e])}var We=8,Je=200,Qe=200;function W(e,t,n,r){for(e.delete(t),e.set(t,n);e.size>r;){let o=e.keys().next().value;if(o===void 0)break;e.delete(o)}}var Ze=256,Ye=64,et=1500;function tt(e){let t=e?.trim()??"";if(t.length===0)return null;if(!/^\d+$/.test(t))return"invalid";let n=Number(t);return n>=80&&n<=2e3?n:"invalid"}function nt(e){return/\.html?$/i.test(e)}var Se="inline-flex size-6 shrink-0 cursor-pointer items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-state-hover hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring";function rt(e){let t=e.lastIndexOf("/");return t===-1?{name:e,folder:""}:{name:e.slice(t+1),folder:e.slice(0,t)}}function Ce({file:e,actions:t,footer:n,children:r}){let{name:o,folder:a}=rt(e);return m("section",{"aria-label":e,className:"my-2 min-w-0 overflow-hidden rounded-lg border border-border bg-background",children:[m("header",{className:"flex items-center gap-2 border-b border-border py-1.5 pl-3 pr-1.5",children:[s(R,{name:"FileText","aria-hidden":!0,className:"size-3.5 shrink-0 text-subtle-foreground"}),m("div",{className:"flex min-w-0 flex-1 items-baseline gap-2 text-xs",children:[s("span",{className:"truncate font-medium text-foreground",children:o}),a.length===0?null:s("span",{className:"truncate text-subtle-foreground",children:a})]}),s("div",{className:"flex shrink-0 items-center gap-0.5",children:t})]}),r,n]})}function it({file:e,content:t}){let[n,r]=b(!1);return S(()=>{if(!n)return;let o=window.setTimeout(()=>r(!1),et);return()=>window.clearTimeout(o)},[n]),s("button",{type:"button","aria-label":`Copy ${e}`,title:n?"Copied":"Copy Markdown",className:Se,onClick:()=>{navigator.clipboard.writeText(t).then(()=>r(!0),()=>{})},children:s(R,{name:n?"Check":"Copy","aria-hidden":!0,className:"size-3.5"})})}var K=new Map;function ot({file:e,content:t,previewHeight:n,rememberKey:r,actions:o,children:a}){let[i,u]=b(()=>K.has(r)),[x,w]=b(null),_=k(null);M(()=>{let c=_.current;if(c===null||typeof ResizeObserver>"u")return;let y=new ResizeObserver(()=>{w(c.getBoundingClientRect().height)});return y.observe(c),()=>y.disconnect()},[]);let f=x!==null&&x>n+Ye,p=x===null||f&&!i;return s(Ce,{file:e,actions:m(G,{children:[s(it,{file:e,content:t}),o]}),footer:f?m("button",{type:"button","aria-expanded":i,className:"flex w-full cursor-pointer items-center justify-center gap-1 border-t border-border py-1.5 text-xs text-muted-foreground transition-colors hover:bg-state-hover hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-ring",onClick:()=>{let c=!i;u(c),c?W(K,r,!0,Qe):K.delete(r)},children:[i?"Show less":"Show more",s(R,{name:"ChevronDown","aria-hidden":!0,className:H("size-3.5 transition-transform duration-200",i&&"rotate-180")})]}):void 0,children:m("div",{"data-inline-vis-document":"",className:"relative overflow-hidden",style:p?{maxHeight:n}:void 0,children:[s("div",{ref:_,className:"px-4 py-3",children:a}),f&&!i?s("span",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 bottom-0 h-16 bg-gradient-to-t from-background to-transparent"}):null]})})}var Pe="flex size-6 cursor-pointer items-center justify-center rounded-md border border-border bg-background/90 text-muted-foreground shadow-xs transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring";function st(e){return e.button!==0||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}function at(){let e=typeof navigator>"u"?"":navigator.platform;return/Mac|iPhone|iPad/.test(e)?"\u2318-click":"Ctrl-click"}function ye({file:e,pageUrl:t,onOpenPreview:n,icon:r,className:o}){let a=s(R,{name:r,"aria-hidden":!0,className:t===null?"size-3.5":"size-3"});return t===null?s("button",{type:"button","aria-label":`Open ${e} in sidebar`,title:"Open in sidebar",className:o,onClick:n,children:a}):s("a",{href:t,target:"_blank",rel:"noopener noreferrer","aria-label":`Open ${e} in sidebar`,title:`Open in sidebar
2
- ${at()} to open in the browser`,className:o,onClick:i=>{i.defaultPrevented||st(i)||(i.preventDefault(),n())},children:a})}var Ee=new Map;function Me({title:e,content:t,baseHref:n,heightKey:r,requested:o,action:a}){let i=xe(),u=k(null),x=k(i);M(()=>{x.current=i},[i]);let[w,_]=b(null);S(()=>{let g=!0;return _e().then(d=>{if(!g)return;let h={theme:x.current,baseHref:n,fontCss:d};_(he(t,h))}),()=>{g=!1}},[t,n]);let[f,p]=b(!1),[l,c]=b(),y=pe({requested:o,contentHeight:l,remembered:Ee.get(r)}),T=()=>{let g=ce(i);u.current?.contentWindow?.postMessage(g,"*")};return S(T,[i]),M(()=>{let g=d=>{let h=u.current;if(h===null||d.source!==h.contentWindow)return;let $=de(d.data);if($!==void 0){W(Ee,r,$,Je),c($);return}let L=me(d.data);L===void 0||document.activeElement!==h||navigator.userActivation?.isActive===!1||(window.open(L.url,"_blank","noopener,noreferrer"),h.contentWindow?.postMessage(fe(L.id),"*"))};return window.addEventListener("message",g),()=>window.removeEventListener("message",g)},[r]),m("div",{"data-inline-vis-frame":"",className:"group/inline-vis relative my-2",style:{height:y},children:[w===null?null:s("iframe",{ref:u,title:e,srcDoc:w,sandbox:"allow-scripts allow-forms",onLoad:()=>{p(!0),T()},className:"block size-full border-0",style:{colorScheme:f?i.appearance:"light"}}),s("div",{className:"absolute right-2 top-2 opacity-0 transition-opacity duration-150 focus-within:opacity-100 group-hover/inline-vis:opacity-100 pointer-coarse:opacity-100",children:a})]})}function lt({attributes:e,source:t,message:n,previewCache:r}){let o=te(),a=ee(),i=e.file?.trim()??"",u=e.source,x=e.height,w=tt(x),_=w==="invalid"?null:w,f=w==="invalid"?`inline-vis height must be a whole number from ${80} to ${2e3} pixels.`:null,p=JSON.stringify([n.threadId,n.id,u??"workspace",i]),[l,c]=b(()=>f?{status:"invalid-height",message:f}:i?r.get(p)??{status:"loading",file:i}:{status:"missing-file"});if(S(()=>{if(f){c({status:"invalid-height",message:f});return}if(!i){c({status:"missing-file"});return}let T=!1,g=r.get(p);return c(g??{status:"loading",file:i}),(async()=>{try{let d=await o.call("preparePreview",{threadId:n.threadId,file:i,...u===void 0?{}:{source:u}});if(T)return;if(d.kind==="not-found"){r.delete(p),c({status:"error",file:d.file,message:`Preview file not found: ${d.file}`});return}let h={status:"ready",...d};W(r,p,h,We),c(h)}catch(d){if(T||g)return;c({status:"error",file:i,message:d instanceof Error?d.message:String(d)})}})(),()=>{T=!0}},[p,i,f,n.threadId,r,o,u]),l.status==="missing-file")return m("div",{role:"alert",className:"my-2 rounded-md border border-border bg-muted px-3 py-2 text-sm text-muted-foreground",title:t,children:["inline-vis requires a file attribute, e.g."," ",m("code",{children:["::inline-vis",'{file="demo.html"}']})]});if(l.status==="invalid-height")return s("div",{role:"alert",className:"my-2 rounded-md border border-border bg-muted px-3 py-2 text-sm text-muted-foreground",title:t,children:l.message});if(l.status==="loading")return nt(l.file)?s("div",{role:"status","aria-busy":"true","aria-label":`Loading visualization ${l.file}`,style:{height:_??224},className:"my-2"}):s(Ce,{file:l.file,actions:s("span",{"aria-hidden":!0,className:"size-6 shrink-0"}),children:m("div",{role:"status","aria-busy":"true","aria-label":`Loading document ${l.file}`,className:"flex flex-col gap-2.5 px-4 py-4",children:[s(C,{className:"h-4 w-2/5"}),s(C,{className:"h-3 w-full"}),s(C,{className:"h-3 w-11/12"}),s(C,{className:"h-3 w-3/5"})]})});if(l.status==="error")return m("div",{role:"alert",className:"my-2 rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive",title:t,children:["Failed to load ",l.file,": ",l.message]});let y=()=>{a.experimental_openFilePreview({target:l.target,location:null})};return l.kind==="html"?s(Me,{title:`inline-vis: ${l.file}`,content:l.content,baseHref:new URL(l.url,window.location.href).href,heightKey:l.sha256,requested:_,action:s(ye,{file:l.file,pageUrl:l.url,onOpenPreview:y,icon:"Maximize2",className:Pe})},l.sha256):s(ot,{file:l.file,content:l.content,previewHeight:_??Ze,rememberKey:p,actions:s(ye,{file:l.file,pageUrl:null,onOpenPreview:y,icon:"PanelRight",className:Se}),children:s(Q,{content:l.content,experimental_document:{threadId:n.threadId,rootPath:l.rootPath,target:l.target}})})}function ut({code:e,status:t,index:n,message:r,Original:o}){let[a,i]=b(!1);if(t==="streaming")return s("div",{role:"status",className:"my-2 text-xs text-muted-foreground",children:"Writing visualization\u2026"});if(t==="unclosed"||e.trim().length===0)return s(o,{});let u=a?"Hide source":"Show source";return m(G,{children:[s(Me,{title:"inline-vis",content:e,baseHref:new URL("/",window.location.href).href,heightKey:`fence:${r.id}:${n}`,requested:null,action:s("button",{type:"button","aria-pressed":a,"aria-label":u,title:u,className:Pe,onClick:()=>i(!a),children:s(R,{name:"Code","aria-hidden":!0,className:"size-3"})})}),a?s(o,{}):null]})}var ii=Z(e=>{let t=new Map;e.slots.messageDirective({id:"inline-vis",component:n=>s(lt,{...n,previewCache:t},JSON.stringify([n.message.threadId,n.message.id,n.attributes.source??"workspace",n.attributes.file?.trim()??""]))}),e.slots.experimental_codeFenceRenderer({id:"inline-vis",languages:["inline-vis"],component:ut})});export{ii as default};
1
+ var j=globalThis.__bbPluginRuntime;if(j==null||j.react==null)throw new Error('Cannot load "react": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var A=j.react,Mt="default"in A?A.default:A,{Activity:Pt,Children:kt,Component:Nt,Fragment:Ft,Profiler:It,PureComponent:At,StrictMode:Ht,Suspense:Ot,act:Dt,cache:Lt,cacheSignal:$t,captureOwnerStack:zt,cloneElement:Bt,createContext:Ut,createElement:Vt,createRef:jt,forwardRef:Gt,isValidElement:qt,lazy:Wt,memo:Xt,startTransition:Kt,unstable_useCacheRefresh:Jt,use:Qt,useActionState:Zt,useCallback:Yt,useContext:en,useDebugValue:tn,useDeferredValue:nn,useEffect:C,useEffectEvent:rn,useId:on,useImperativeHandle:sn,useInsertionEffect:an,useLayoutEffect:N,useMemo:G,useOptimistic:ln,useReducer:un,useRef:H,useState:m,useSyncExternalStore:ae,useTransition:cn,version:dn}=A;var q=globalThis.__bbPluginRuntime;if(q==null||q.pluginSdkApp==null)throw new Error('Cannot load "@get-bb/plugin-sdk/app": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var O=q.pluginSdkApp,pn="default"in O?O.default:O,{Markdown:le,ThreadChat:fn,ThreadTitle:gn,UrlLink:hn,definePluginApp:ue,experimental_BranchPicker:bn,experimental_ComposerRoot:vn,experimental_DetailRow:xn,experimental_Diff:wn,experimental_FailedVoiceRecordings:_n,experimental_FileLink:yn,experimental_Icon:ce,experimental_ImageLightbox:En,experimental_InfoList:Tn,experimental_InfoListRow:Rn,experimental_InfoSection:Sn,experimental_NewThreadComposer:Cn,experimental_PermissionModePicker:Mn,experimental_PluginIcon:Pn,experimental_PluginRpcCallError:kn,experimental_PromptMentionIcon:Nn,experimental_ProviderIcon:Fn,experimental_ProviderModelPicker:In,experimental_ShortcutHint:An,experimental_SidebarNavigationIcon:Hn,experimental_SourceCode:On,experimental_THREAD_ACTION_GROUPS:Dn,experimental_THREAD_CONTEXT_SEGMENT_GROUPS:Ln,experimental_THREAD_INFO_ROW_GROUPS:$n,experimental_THREAD_INFO_SECTION_GROUPS:zn,experimental_ThreadActionsContextMenu:Bn,experimental_ThreadActionsMenu:Un,experimental_ThreadStatusGlyph:Vn,experimental_ThreadTitleText:jn,experimental_VoiceInputButton:Gn,experimental_VoiceInputTextarea:qn,experimental_VoiceRecordingBar:Wn,experimental_copyToClipboard:Xn,experimental_describePromptMention:Kn,experimental_promptMentionClipboardAttributes:Jn,experimental_readPromptMentionClipboard:Qn,experimental_saveFile:Zn,experimental_useAppPanel:Yn,experimental_useArchiveEnvironmentThreads:er,experimental_useBranches:tr,experimental_useCheckoutState:nr,experimental_useCodeTheme:rr,experimental_useComposerCommandSearch:ir,experimental_useComposerContributions:or,experimental_useComposerMentionSearch:sr,experimental_useComposerRenderer:ar,experimental_useExperiment:lr,experimental_useFixedTabTarget:ur,experimental_usePluginId:cr,experimental_useProviders:dr,experimental_useQuestionFormHost:mr,experimental_useRpcKeyedQuery:pr,experimental_useRpcMutation:fr,experimental_useRpcQuery:gr,experimental_useRpcRefresh:hr,experimental_useSidebar:br,experimental_useSidebarNavigation:vr,experimental_useSidebarNavigationSplit:xr,experimental_useSidebarThreadActions:wr,experimental_useSidebarThreadSplit:_r,experimental_useSidebarThreads:yr,experimental_useThreadActionRegistrations:Er,experimental_useThreadActions:Tr,experimental_useThreadTitleDisplayText:Rr,useBbContext:Sr,useBbNavigate:de,useComposer:Cr,useComposerView:Mr,useComposers:Pr,useEnvironmentProviders:kr,useRealtime:Nr,useRealtimeConnectionState:Fr,useRpc:me,useSdk:Ir,useSettings:Ar,useSidebarSplitLayout:Hr,useSidebarThreadDraft:Or,useSidebarThreadDraftIds:Dr,useSidebarThreadRowStatus:Lr,useSidebarThreadRowStatuses:$r,useSidebarThreadShortcut:zr,experimental_useSidebarThreadPullRequest:Br}=O;var E=ce;var W=globalThis.__bbPluginRuntime;if(W==null||W.clsx==null)throw new Error('Cannot load "clsx": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var D=W.clsx,Gr="default"in D?D.default:D,{clsx:pe}=D;var X=globalThis.__bbPluginRuntime;if(X==null||X.tailwindMerge==null)throw new Error('Cannot load "tailwind-merge": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var L=X.tailwindMerge,Wr="default"in L?L.default:L,{createTailwindMerge:Xr,extendTailwindMerge:Kr,fromTheme:Jr,getDefaultConfig:Qr,mergeConfigs:Zr,twJoin:Yr,twMerge:fe,validators:ei}=L;function T(...e){return fe(pe(e))}var K=globalThis.__bbPluginRuntime;if(K==null||K.jsxRuntime==null)throw new Error('Cannot load "react/jsx-runtime": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var $=K.jsxRuntime,oi="default"in $?$.default:$,{Fragment:J,jsx:a,jsxs:d}=$;function F({className:e,...t}){return a("div",{className:T("animate-pulse rounded-md bg-surface-selected",e),...t})}var ze=[["--background","--background"],["--foreground","--foreground"],["--muted","--muted"],["--muted-foreground","--muted-foreground"],["--subtle-foreground","--subtle-foreground"],["--card","--card"],["--card-foreground","--foreground"],["--popover","--popover"],["--popover-foreground","--popover-foreground"],["--primary","--primary"],["--primary-foreground","--primary-foreground"],["--secondary","--secondary"],["--secondary-foreground","--secondary-foreground"],["--accent","--accent"],["--accent-foreground","--accent-foreground"],["--border","--border"],["--input","--input"],["--ring","--ring"],["--surface-raised","--surface-raised-solid"],["--surface-recessed","--surface-recessed-solid"],["--brand","--timeline-accent"],["--destructive","--destructive"],["--destructive-foreground","--destructive-foreground"],["--destructive-text","--destructive-text"],["--warning","--warning"],["--warning-text","--warning-text"],["--success","--success"],["--attention","--attention"],["--diff-added","--diff-added"],["--diff-removed","--diff-removed"],["--shadow-xs","--shadow-xs"],["--shadow-sm","--shadow-sm"],["--shadow-md","--shadow-md"],["--shadow-lg","--shadow-lg"],["--radius","--radius"],["--font-sans","--font-sans"],["--font-mono","--font-mono"],["--chart-1","--timeline-accent"]],Be=ze,Ue={light:["#0d9488","#d97706","#9333ea","#e11d48","#65a30d"],dark:["#2dd4bf","#fbbf24","#c084fc","#fb7185","#a3e635"]};function ge(e,t){let n={};for(let[r,o]of Be){let s=t(o).trim();s.length>0&&(n[r]=s)}return Ue[e].forEach((r,o)=>{n[`--chart-${o+2}`]=r}),{appearance:e,variables:n}}function he(e,t){let n=Object.keys(e.variables);return e.appearance===t.appearance&&n.length===Object.keys(t.variables).length&&n.every(r=>e.variables[r]===t.variables[r])}var be="ui/notifications/host-context-changed",ve="ui/open-link",xe="ui/notifications/size-changed";function we(e){return{jsonrpc:"2.0",method:be,params:{theme:e.appearance,styles:{variables:e.variables}}}}function Ve(e){return typeof e=="object"&&e!==null}function v(e,t){return Ve(e)?e[t]:void 0}function _e(e){if(v(e,"jsonrpc")!=="2.0"||v(e,"method")!==xe)return;let t=v(v(e,"params"),"height");return typeof t=="number"&&Number.isFinite(t)&&t>0?t:void 0}function ye(e){if(v(e,"jsonrpc")!=="2.0"||v(e,"method")!==ve)return;let t=v(e,"id"),n=v(v(e,"params"),"url");if(!(typeof t!="string"&&typeof t!="number"))return typeof n=="string"&&/^https?:\/\//i.test(n)?{id:t,url:n}:void 0}function Ee(e){return{jsonrpc:"2.0",id:e,result:{}}}function Q(e){return Math.min(2e3,Math.max(80,Math.round(e)))}var je=320,Ge=180,qe=420;function Z(e,t){if(!(e>0)||!(t>0))return je;let n=Math.min(e*.6,t*.4);return Math.round(Math.min(qe,Math.max(Ge,n)))}function Te(e){let{limit:t,contentHeight:n,remembered:r}=e,o=n??r;return o===void 0?{height:Math.min(224,t),clamped:!1}:o<=t+Math.round(t/4)?{height:Q(o),clamped:!1}:{height:t,clamped:!0}}function Re(e){let{requested:t,contentHeight:n,remembered:r}=e,o=n??r;return Q(o===void 0?t??224:Math.min(o,t??2e3))}var We="html{scrollbar-width:none}html::-webkit-scrollbar{display:none}",Xe=":where(:focus-visible){outline:2px solid var(--ring)}:focus-visible{outline-width:2px!important;outline-offset:-2px!important}",Se="html{background:var(--background);color:var(--foreground);font-family:var(--font-sans);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}body{margin:0}code,kbd,pre,samp{font-family:var(--font-mono)}"+We+Xe,Ke=e=>e.replace(/[;{}<>]/g,"");function Je(e){let t=Object.entries(e.variables).filter(([n])=>/^--[a-z0-9-]+$/.test(n)).map(([n,r])=>`${n}:${Ke(r)};`).join("");return`:root{color-scheme:${e.appearance};${t}}`}var Qe=`(function(){var s=document.getElementById("bb-theme"),n=0;if(!s||window.parent===window)return;var b=${JSON.stringify(Se)};function a(t){if(!t||typeof t!=="object"||!t.variables||typeof t.variables!=="object")return;var c=":root{color-scheme:"+(t.appearance==="light"?"light":"dark")+";";for(var k in t.variables){if(/^--[a-z0-9-]+$/.test(k))c+=k+":"+String(t.variables[k]).replace(/[;{}<>]/g,"")+";";}s.textContent=c+"}"+b;}window.addEventListener("message",function(e){var d=e.data,p=d&&d.params;if(e.source===window.parent&&d&&d.jsonrpc==="2.0"&&d.method===${JSON.stringify(be)}&&p&&p.styles)a({appearance:p.theme,variables:p.styles.variables});});document.addEventListener("click",function(e){var l=e.isTrusted?e.composedPath().find(function(t){return t&&t.matches&&t.matches("a[href]");}):null,u;if(!l)return;var r=l.getAttribute("href");if(r.charAt(0)==="#"){e.preventDefault();location.hash=r;return;}try{u=new URL(r,document.baseURI);}catch(x){return;}e.preventDefault();if(!/^https?:$/.test(u.protocol))return;window.parent.postMessage({jsonrpc:"2.0",id:"bb-link-"+(++n),method:${JSON.stringify(ve)},params:{url:u.href}},"*");},true);var h,o,z=function(){var r=document.documentElement,v=Math.ceil(r.scrollHeight>r.clientHeight?r.scrollHeight:r.getBoundingClientRect().height);if(v===h)return;h=v;window.parent.postMessage({jsonrpc:"2.0",method:${JSON.stringify(xe)},params:{height:v}},"*");};if(window.ResizeObserver){o=new ResizeObserver(z);o.observe(document.documentElement);}document.addEventListener("DOMContentLoaded",function(){if(o&&document.body)o.observe(document.body);z();});window.addEventListener("load",z);})();`,Ze=e=>e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;");function Ye(e,t){let n=(t.fontCss??"").replace(/<\/?style/gi,"");return[/<meta\s[^>]*charset/i.test(e.slice(0,4096))?"":'<meta charset="utf-8">',/<meta\s[^>]*name\s*=\s*["']?viewport/i.test(e)?"":'<meta name="viewport" content="width=device-width, initial-scale=1">',/<base\s/i.test(e)?"":`<base href="${Ze(t.baseHref)}">`,n.length>0?`<style>${n}</style>`:"",`<style id="bb-theme">${Je(t.theme)}${Se}</style>`,`<script>${Qe}<\/script>`].join("")}function et(e){let t=e.replace(/<!--[\s\S]*?(?:-->|$)|<(script|style|textarea|title|xmp|iframe|noembed|noframes|noscript)\b[\s\S]*?(?:<\/\1\s*>|$)|<plaintext\b[\s\S]*$/gi,i=>" ".repeat(i.length)),n=[],r=0,o=0,s=0;for(let i of t.matchAll(/<(\/?)template(?:\s[^>]*)?\/?>/gi))if(!i[1])r++===0&&(o=i.index);else if(r>0&&--r===0){let l=i.index+i[0].length;n.push(t.slice(s,o)," ".repeat(l-o)),s=l}return r>0&&(n.push(t.slice(s,o)," ".repeat(t.length-o)),s=t.length),n.push(t.slice(s)),n.join("")}function Ce(e,t){let n=et(e),r=Ye(n,t),o=/<head(?:\s[^>]*)?>/i.exec(n);if(o){let l=o.index+o[0].length;return e.slice(0,l)+r+e.slice(l)}let s=/<html(?:\s[^>]*)?>/i.exec(n);if(s){let l=s.index+s[0].length;return`${e.slice(0,l)}<head>${r}</head>${e.slice(l)}`}let i=/^\s*<!doctype[^>]*>/i.exec(e);if(i){let l=i[0].length;return`${e.slice(0,l)}<head>${r}</head>${e.slice(l)}`}return`<!doctype html><head>${r}</head>${e}`}var R=null,Y=null,B=new Set;function Pe(){let e=document.documentElement,t=window.getComputedStyle(e),n=ge(e.classList.contains("dark")?"dark":"light",r=>t.getPropertyValue(r));return(R===null||!he(R,n))&&(R=n),R}function tt(){let e=0,t=()=>{window.cancelAnimationFrame(e),e=window.requestAnimationFrame(()=>{let r=R;if(Pe()!==r)for(let o of B)o()})},n=new MutationObserver(t);return n.observe(document.documentElement,{attributes:!0,attributeFilter:["class","style"]}),n.observe(document.head,{childList:!0,subtree:!0,characterData:!0}),()=>{window.cancelAnimationFrame(e),n.disconnect()}}function nt(e){return B.add(e),Y??=tt(),()=>{B.delete(e),!(B.size>0)&&(Y?.(),Y=null,R=null)}}function ke(){return ae(nt,()=>R??Pe())}var ee=e=>e.trim().replace(/^["']|["']$/g,"");function Ne(e,t){for(let n of e)n instanceof CSSFontFaceRule?t.push(n):n instanceof CSSGroupingRule&&Ne(n.cssRules,t)}var Me=e=>e.toUpperCase().replace(/\s+/g,"").replace(/(?<=[+-])0+(?=[0-9A-F?])/g,"");async function rt(e){let t=await fetch(e);if(!t.ok)throw new Error(`${t.status} ${e}`);let n=new Uint8Array(await t.arrayBuffer()),r="";for(let s=0;s<n.length;s+=32768)r+=String.fromCharCode(...n.subarray(s,s+32768));return`data:${t.headers.get("content-type")??"font/woff2"};base64,${window.btoa(r)}`}async function it(e,t){let n=e.parentStyleSheet?.href??document.baseURI,r=/url\(\s*(["']?)([^"')]+)\1\s*\)/.exec(e.style.getPropertyValue("src"))?.[2];if(r===void 0)return"";let o=["font-style","font-weight","unicode-range"].map(i=>[i,e.style.getPropertyValue(i)]).filter(([,i])=>i.length>0).map(([i,l])=>`${i}:${l};`).join(""),s=await rt(new URL(r,n).href);return`@font-face{font-family:"${t}";font-display:swap;${o}src:url("${s}");}`}async function ot(){let e=window.getComputedStyle(document.documentElement).getPropertyValue("--font-sans"),t=ee(e.split(",")[0]??"");if(t.length===0)return"";await document.fonts.ready;let n=new Set;for(let i of document.fonts)i.status==="loaded"&&ee(i.family)===t&&n.add(Me(i.unicodeRange));let r=[];for(let i of document.styleSheets)try{Ne(i.cssRules,r)}catch{continue}let o=r.filter(i=>ee(i.style.getPropertyValue("font-family"))===t&&n.has(Me(i.style.getPropertyValue("unicode-range"))));return(await Promise.all(o.map(i=>it(i,t)))).join("")}var st=1500,z=null;function Fe(){z??=ot().then(t=>(t.length===0&&(z=null),t),()=>(z=null,""));let e=new Promise(t=>{window.setTimeout(()=>t(""),st)});return Promise.race([z,e])}var at=8,lt=200,ut=200;function ne(e,t,n,r){for(e.delete(t),e.set(t,n);e.size>r;){let o=e.keys().next().value;if(o===void 0)break;e.delete(o)}}var ct=256,dt=64,mt=1500;function pt(e){let t=e?.trim()??"";if(t.length===0)return null;if(!/^\d+$/.test(t))return"invalid";let n=Number(t);return n>=80&&n<=2e3?n:"invalid"}function ft(e){return/\.html?$/i.test(e)}var De="flex w-full cursor-pointer items-center justify-center gap-1 border-t border-border py-1.5 text-xs text-muted-foreground transition-colors hover:bg-state-hover hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-ring",re="inline-flex size-6 shrink-0 cursor-pointer items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-state-hover hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring";function gt(e){let t=e.lastIndexOf("/");return t===-1?{name:e,folder:""}:{name:e.slice(t+1),folder:e.slice(0,t)}}function ie({file:e,title:t=null,actions:n,footer:r,children:o}){let{name:s,folder:i}=gt(e);return d("section",{"aria-label":e,className:"my-2 min-w-0 overflow-hidden rounded-lg border border-border bg-background",children:[d("header",{className:"flex items-center gap-2 border-b border-border py-1.5 pl-3 pr-1.5",children:[a(E,{name:"FileText","aria-hidden":!0,className:"size-3.5 shrink-0 text-subtle-foreground"}),d("div",{className:"flex min-w-0 flex-1 items-baseline gap-2 text-xs",children:[t===null?null:a("span",{className:"max-w-full shrink-0 truncate font-medium text-foreground",children:t}),a("span",{className:T("truncate",t===null?"font-medium text-foreground":"text-subtle-foreground"),children:s}),i.length===0?null:a("span",{className:"truncate text-subtle-foreground",children:i})]}),a("div",{className:"flex shrink-0 items-center gap-0.5",children:n})]}),o,r]})}function ht({file:e,content:t}){let[n,r]=m(!1);return C(()=>{if(!n)return;let o=window.setTimeout(()=>r(!1),mt);return()=>window.clearTimeout(o)},[n]),a("button",{type:"button","aria-label":`Copy ${e}`,title:n?"Copied":"Copy Markdown",className:re,onClick:()=>{navigator.clipboard.writeText(t).then(()=>r(!0),()=>{})},children:a(E,{name:n?"Check":"Copy","aria-hidden":!0,className:"size-3.5"})})}var te=new Map;function bt({file:e,content:t,previewHeight:n,rememberKey:r,actions:o,children:s}){let[i,l]=m(()=>te.has(r)),[p,g]=m(null),x=H(null);N(()=>{let c=x.current;if(c===null||typeof ResizeObserver>"u")return;let w=new ResizeObserver(()=>{g(c.getBoundingClientRect().height)});return w.observe(c),()=>w.disconnect()},[]);let f=p!==null&&p>n+dt,h=p===null||f&&!i;return a(ie,{file:e,actions:d(J,{children:[a(ht,{file:e,content:t}),o]}),footer:f?d("button",{type:"button","aria-expanded":i,className:De,onClick:()=>{let c=!i;l(c),c?ne(te,r,!0,ut):te.delete(r)},children:[i?"Show less":"Show more",a(E,{name:"ChevronDown","aria-hidden":!0,className:T("size-3.5 transition-transform duration-200",i&&"rotate-180")})]}):void 0,children:d("div",{"data-inline-vis-document":"",className:"relative overflow-hidden",style:h?{maxHeight:n}:void 0,children:[a("div",{ref:x,className:"px-4 py-3",children:s}),f&&!i?a("span",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 bottom-0 h-16 bg-gradient-to-t from-background to-transparent"}):null]})})}var vt="flex size-6 cursor-pointer items-center justify-center rounded-md border border-border bg-background/90 text-muted-foreground shadow-xs transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring";function xt(e){return e.button!==0||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}function wt(){let e=typeof navigator>"u"?"":navigator.platform;return/Mac|iPhone|iPad/.test(e)?"\u2318-click":"Ctrl-click"}function Le({file:e,pageUrl:t,onOpenPreview:n,className:r}){let o=a(E,{name:"PanelRight","aria-hidden":!0,className:t===null?"size-3.5":"size-3"});return t===null?a("button",{type:"button","aria-label":`Open ${e} in sidebar`,title:"Open in sidebar",className:r,onClick:n,children:o}):a("a",{href:t,target:"_blank",rel:"noopener noreferrer","aria-label":`Open ${e} in sidebar`,title:`Open in sidebar
2
+ ${wt()} to open in the browser`,className:r,onClick:s=>{s.defaultPrevented||xt(s)||(s.preventDefault(),n())},children:o})}var Ie=new Map,_t={maskImage:"linear-gradient(to bottom, black 60%, transparent)",WebkitMaskImage:"linear-gradient(to bottom, black 60%, transparent)"};function yt(e,t){let[n,r]=m(()=>Z(0,0));return N(()=>{if(e===null)return;let o=()=>r(Z(e.getBoundingClientRect().width,window.innerHeight));o(),window.addEventListener("resize",o);let s=typeof ResizeObserver>"u"?null:new ResizeObserver(o);return s?.observe(e),()=>{window.removeEventListener("resize",o),s?.disconnect()}},[e]),t===null?n:Math.min(n,t)}function $e({title:e,content:t,baseHref:n,heightKey:r,requested:o,action:s,preview:i=null}){let l=ke(),p=H(null),g=H(l);N(()=>{g.current=l},[l]);let[x,f]=m(null);C(()=>{let y=!0;return Fe().then(k=>{if(!y)return;let S={theme:g.current,baseHref:n,fontCss:k};f(Ce(t,S))}),()=>{y=!1}},[t,n]);let[h,u]=m(!1),[c,w]=m(),[M,I]=m(null),b=yt(i===null?null:M,o),P=Ie.get(r),_=i===null?{height:Re({requested:o,contentHeight:c,remembered:P}),clamped:!1}:Te({limit:b,contentHeight:c,remembered:P}),oe=i?.onClamped;C(()=>oe?.(_.clamped),[_.clamped,oe]);let se=()=>{let y=we(l);p.current?.contentWindow?.postMessage(y,"*")};return C(se,[l]),N(()=>{let y=k=>{let S=p.current;if(S===null||k.source!==S.contentWindow)return;let U=_e(k.data);if(U!==void 0){ne(Ie,r,U,lt),w(U);return}let V=ye(k.data);V===void 0||document.activeElement!==S||navigator.userActivation?.isActive===!1||(window.open(V.url,"_blank","noopener,noreferrer"),S.contentWindow?.postMessage(Ee(V.id),"*"))};return window.addEventListener("message",y),()=>window.removeEventListener("message",y)},[r]),d("div",{ref:I,"data-inline-vis-frame":"",className:T("group/inline-vis relative",i===null&&"my-2"),style:{height:_.height,..._.clamped?_t:{}},children:[x===null?null:a("iframe",{ref:p,title:e,srcDoc:x,sandbox:"allow-scripts allow-forms",tabIndex:_.clamped?-1:void 0,onLoad:()=>{u(!0),se()},className:T("block size-full border-0",_.clamped&&"pointer-events-none"),style:{colorScheme:h?l.appearance:"light"}}),s===null?null:a("div",{className:"absolute right-2 top-2 opacity-0 transition-opacity duration-150 focus-within:opacity-100 group-hover/inline-vis:opacity-100 pointer-coarse:opacity-100",children:s}),_.clamped&&i!==null?a("button",{type:"button","aria-hidden":!0,tabIndex:-1,className:"absolute inset-0 cursor-pointer",onClick:i.onOpen}):null]})}var Ae=140;function Et(e){if(typeof DOMParser>"u")return null;let t=new DOMParser().parseFromString(e,"text/html"),n=(t.title||t.querySelector("h1")?.textContent||"").replace(/\s+/g," ").trim();return n.length===0?null:n.length>Ae?`${n.slice(0,Ae-1)}\u2026`:n}function Tt({file:e,content:t,url:n,sha256:r,requested:o,onOpen:s}){let i=G(()=>Et(t),[t]),[l,p]=m(!1),g=G(()=>({onOpen:s,onClamped:p}),[s]);return a(ie,{file:e,title:i,actions:a(Le,{file:e,pageUrl:n,onOpenPreview:s,className:re}),footer:l?d("button",{type:"button",className:De,onClick:s,children:["Read the whole page",a(E,{name:"PanelRight","aria-hidden":!0,className:"size-3.5"})]}):void 0,children:a($e,{title:`inline-vis: ${e}`,content:t,baseHref:new URL(n,window.location.href).href,heightKey:r,requested:o,action:null,preview:g},r)})}function Rt({label:e}){return d("div",{role:"status","aria-busy":"true","aria-label":e,className:"flex flex-col gap-2.5 px-4 py-4",children:[a(F,{className:"h-4 w-2/5"}),a(F,{className:"h-3 w-full"}),a(F,{className:"h-3 w-11/12"}),a(F,{className:"h-3 w-3/5"})]})}function St({attributes:e,source:t,message:n,previewCache:r}){let o=me(),s=de(),i=e.file?.trim()??"",l=e.source,p=e.height,g=pt(p),x=g==="invalid"?null:g,f=g==="invalid"?`inline-vis height must be a whole number from ${80} to ${2e3} pixels.`:null,h=JSON.stringify([n.threadId,n.id,l??"workspace",i]),[u,c]=m(()=>f?{status:"invalid-height",message:f}:i?r.get(h)??{status:"loading",file:i}:{status:"missing-file"});if(C(()=>{if(f){c({status:"invalid-height",message:f});return}if(!i){c({status:"missing-file"});return}let M=!1,I=r.get(h);return c(I??{status:"loading",file:i}),(async()=>{try{let b=await o.call("preparePreview",{threadId:n.threadId,file:i,...l===void 0?{}:{source:l}});if(M)return;if(b.kind==="not-found"){r.delete(h),c({status:"error",file:b.file,message:`Preview file not found: ${b.file}`});return}let P={status:"ready",...b};ne(r,h,P,at),c(P)}catch(b){if(M||I)return;c({status:"error",file:i,message:b instanceof Error?b.message:String(b)})}})(),()=>{M=!0}},[h,i,f,n.threadId,r,o,l]),u.status==="missing-file")return d("div",{role:"alert",className:"my-2 rounded-md border border-border bg-muted px-3 py-2 text-sm text-muted-foreground",title:t,children:["inline-vis requires a file attribute, e.g."," ",d("code",{children:["::inline-vis",'{file="demo.html"}']})]});if(u.status==="invalid-height")return a("div",{role:"alert",className:"my-2 rounded-md border border-border bg-muted px-3 py-2 text-sm text-muted-foreground",title:t,children:u.message});if(u.status==="loading")return a(ie,{file:u.file,actions:a("span",{"aria-hidden":!0,className:"size-6 shrink-0"}),children:a(Rt,{label:`${ft(u.file)?"Loading page":"Loading document"} ${u.file}`})});if(u.status==="error")return d("div",{role:"alert",className:"my-2 rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive",title:t,children:["Failed to load ",u.file,": ",u.message]});let w=()=>{s.experimental_openFilePreview({target:u.target,location:null})};return u.kind==="html"?a(Tt,{file:u.file,content:u.content,url:u.url,sha256:u.sha256,requested:x,onOpen:w}):a(bt,{file:u.file,content:u.content,previewHeight:x??ct,rememberKey:h,actions:a(Le,{file:u.file,pageUrl:null,onOpenPreview:w,className:re}),children:a(le,{content:u.content,experimental_document:{threadId:n.threadId,rootPath:u.rootPath,target:u.target}})})}function Ct({code:e,status:t,index:n,message:r,Original:o}){let[s,i]=m(!1);if(t==="streaming")return a("div",{role:"status",className:"my-2 text-xs text-muted-foreground",children:"Writing visualization\u2026"});if(t==="unclosed"||e.trim().length===0)return a(o,{});let l=s?"Hide source":"Show source";return d(J,{children:[a($e,{title:"inline-vis",content:e,baseHref:new URL("/",window.location.href).href,heightKey:`fence:${r.id}:${n}`,requested:null,action:a("button",{type:"button","aria-pressed":s,"aria-label":l,title:l,className:vt,onClick:()=>i(!s),children:a(E,{name:"Code","aria-hidden":!0,className:"size-3"})})}),s?a(o,{}):null]})}var _i=ue(e=>{let t=new Map;e.slots.messageDirective({id:"inline-vis",component:n=>a(St,{...n,previewCache:t},JSON.stringify([n.message.threadId,n.message.id,n.attributes.source??"workspace",n.attributes.file?.trim()??""]))}),e.slots.experimental_codeFenceRenderer({id:"inline-vis",languages:["inline-vis"],component:Ct})});export{_i as default};
@@ -75,8 +75,11 @@ Rules:
75
75
  put an absolute path in the directive.
76
76
  - `.html`, `.htm`, `.md`, and `.markdown` files are accepted.
77
77
  - `height` is optional, a whole number of pixels from 80 through 2000.
78
- - HTML: omit it and the frame fits the page. Set it to cap the frame; a
79
- taller page then scrolls inside it.
78
+ - HTML: the page appears in a card headed by its `<title>` (else its first
79
+ `<h1>`), with a preview of its top sized to the reader's screen (about
80
+ 200 to 400 pixels). A page that fits is shown whole; a taller one fades
81
+ out and the reader opens it to read the rest, so put what matters first.
82
+ Set `height` to make the preview smaller.
80
83
  - Markdown: the height of the card's preview; omit it for the 256px
81
84
  default. The reader expands a longer document in place.
82
85
  - Keep files small (under the 5 MiB document limit).
@@ -413,7 +413,7 @@
413
413
  },
414
414
  "category": "thread-content",
415
415
  "screenshots": [],
416
- "overview": "See an agent's chart, mockup, demo, report, or Markdown document in the conversation without opening a side panel. The agent either writes a small HTML page directly in its reply, or writes an HTML or Markdown file to the workspace or the thread's storage directory. The plugin shows the page inside the assistant message.\n\n## What you get\n\n- An HTML page shown as part of the reply: no card and no title bar, on the thread's own background, as tall as its content.\n- The page in your theme. It gets bb's colours, radius, shadows, and font as CSS variables, and follows a theme or light/dark change live without reloading.\n- For a page from a file, a button that appears on hover and opens the file in bb's sidebar viewer. Cmd-click, Ctrl-click, or middle-click it to open the rendered page in a browser tab instead.\n- For a page written in the reply, a button that appears on hover and shows or hides the HTML source below the page.\n- A formatted Markdown document in a card that shows its file name, with buttons to copy the Markdown and open the file in the sidebar. A long document shows a preview and expands in place with \"Show more\".\n- A clear inline error when a file is missing, too large, or unsupported.\n\n## How it works\n\nThere are two ways for the agent to show a page.\n\nA fenced code block with the language `inline-vis` holds the HTML page itself. Nothing is written to disk. While the reply is still streaming, the block shows a short status line. The page appears when the closing fence arrives. If the reply ends before the fence closes, bb shows its normal code block.\n\n```inline-vis\n<div style=\"display:flex;gap:12px\">…</div>\n```\n\nA message directive names a source-relative `.html`, `.htm`, `.md`, or `.markdown` file. Omitting `source` defaults to the workspace, and explicit `source=\"workspace\"` is equivalent:\n\n```text\n::inline-vis{file=\"charts/out.html\"}\n::inline-vis{file=\"charts/out.html\" height=\"480\"}\n::inline-vis{file=\"reports/summary.md\"}\n::inline-vis{source=\"thread-storage\" file=\"reports/result.html\"}\n```\n\nFor a directive, the plugin checks the path, confirms the file exists in the selected source, and reads its text. Files must be UTF-8 text with a maximum size of 5 MiB. Relative assets next to an HTML file load as usual. A page written in a fenced block has no sibling files.\n\nAn HTML frame fits its page: the page reports its content height and the frame follows it, from 80 to 2000 pixels. A `height` on the directive caps the frame, and a taller page then scrolls inside it. A Markdown card uses `height` as the height of its scrolling area.\n\nHTML runs in a sandboxed iframe with an opaque origin. Scripts in the page cannot read the bb page, its cookies, or its storage. A page cannot open windows. When the reader clicks a link to another site, the app opens it in a new tab. Markdown uses bb's renderer with sanitized HTML support.\n\n## For agents\n\nThe bundled `inline-vis` skill teaches the agent when to use a fenced block and when to use the directive, how to lay a page out so it reads as part of the reply, and which theme variables to style with. No account or external service is required.\n"
416
+ "overview": "See an agent's chart, mockup, demo, report, or Markdown document in the conversation without opening a side panel. The agent either writes a small HTML page directly in its reply, or writes an HTML or Markdown file to the workspace or the thread's storage directory. The plugin shows the page inside the assistant message.\n\n## What you get\n\n- An HTML page written in the reply shown as part of it: no card and no title bar, on the thread's own background, as tall as its content.\n- An HTML page from a file in a card headed by the page's title and file name, with a preview of its top sized to your screen. A page that fits is shown whole; a longer one fades out, and \"Read the whole page\" opens it in the sidebar.\n- The page in your theme. It gets bb's colours, radius, shadows, and font as CSS variables, and follows a theme or light/dark change live without reloading.\n- For a page from a file, a button in the card's header that opens the file in bb's sidebar viewer. Cmd-click, Ctrl-click, or middle-click it to open the rendered page in a browser tab instead.\n- For a page written in the reply, a button that appears on hover and shows or hides the HTML source below the page.\n- A formatted Markdown document in a card that shows its file name, with buttons to copy the Markdown and open the file in the sidebar. A long document shows a preview and expands in place with \"Show more\".\n- A clear inline error when a file is missing, too large, or unsupported.\n\n## How it works\n\nThere are two ways for the agent to show a page.\n\nA fenced code block with the language `inline-vis` holds the HTML page itself. Nothing is written to disk. While the reply is still streaming, the block shows a short status line. The page appears when the closing fence arrives. If the reply ends before the fence closes, bb shows its normal code block.\n\n```inline-vis\n<div style=\"display:flex;gap:12px\">…</div>\n```\n\nA message directive names a source-relative `.html`, `.htm`, `.md`, or `.markdown` file. Omitting `source` defaults to the workspace, and explicit `source=\"workspace\"` is equivalent:\n\n```text\n::inline-vis{file=\"charts/out.html\"}\n::inline-vis{file=\"charts/out.html\" height=\"480\"}\n::inline-vis{file=\"reports/summary.md\"}\n::inline-vis{source=\"thread-storage\" file=\"reports/result.html\"}\n```\n\nFor a directive, the plugin checks the path, confirms the file exists in the selected source, and reads its text. Files must be UTF-8 text with a maximum size of 5 MiB. Relative assets next to an HTML file load as usual. A page written in a fenced block has no sibling files.\n\nA page written in the reply fits its frame: the page reports its content height and the frame follows it, from 80 to 2000 pixels. A page from a file shows at most a preview: 60% of the card's width or 40% of the window's height, whichever is less, kept between 180 and 420 pixels, and no more than the directive's `height`. Nothing scrolls inside the card. A Markdown card uses `height` as the height of its preview.\n\nHTML runs in a sandboxed iframe with an opaque origin. Scripts in the page cannot read the bb page, its cookies, or its storage. A page cannot open windows. When the reader clicks a link to another site, the app opens it in a new tab. Markdown uses bb's renderer with sanitized HTML support.\n\n## For agents\n\nThe bundled `inline-vis` skill teaches the agent when to use a fenced block and when to use the directive, how to lay a page out so it reads as part of the reply, and which theme variables to style with. No account or external service is required.\n"
417
417
  },
418
418
  {
419
419
  "id": "monaco-editor",