@ag2/weave 0.17.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/components/account-card/AccountCard.css.d.ts +2 -0
  2. package/dist/components/account-card/AccountCard.d.ts +10 -0
  3. package/dist/components/account-card/index.d.ts +1 -0
  4. package/dist/components/activity-item/ActivityItem.css.d.ts +1 -1
  5. package/dist/components/activity-item/ActivityItem.d.ts +1 -0
  6. package/dist/components/color-swatch-picker/ColorSwatchPicker.css.d.ts +4 -0
  7. package/dist/components/color-swatch-picker/ColorSwatchPicker.d.ts +17 -0
  8. package/dist/components/color-swatch-picker/index.d.ts +1 -0
  9. package/dist/components/form/Form.d.ts +2 -0
  10. package/dist/components/index.d.ts +7 -0
  11. package/dist/components/media-frame/MediaFrame.css.d.ts +6 -0
  12. package/dist/components/media-frame/MediaFrame.d.ts +19 -0
  13. package/dist/components/media-frame/index.d.ts +1 -0
  14. package/dist/components/onboarding-key-button/OnboardingKeyButton.css.d.ts +4 -0
  15. package/dist/components/onboarding-key-button/OnboardingKeyButton.d.ts +12 -0
  16. package/dist/components/onboarding-key-button/index.d.ts +1 -0
  17. package/dist/components/onboarding-motion/OnboardingMotion.css.d.ts +6 -0
  18. package/dist/components/onboarding-motion/OnboardingMotion.d.ts +34 -0
  19. package/dist/components/onboarding-motion/index.d.ts +1 -0
  20. package/dist/components/onboarding-setup/OnboardingSetup.css.d.ts +13 -0
  21. package/dist/components/onboarding-setup/OnboardingSetup.d.ts +62 -0
  22. package/dist/components/onboarding-setup/index.d.ts +1 -0
  23. package/dist/components/option-card/OptionCard.css.d.ts +6 -0
  24. package/dist/components/option-card/OptionCard.d.ts +14 -0
  25. package/dist/components/option-card/index.d.ts +1 -0
  26. package/dist/components/orb-background/OrbBackground.d.ts +3 -2
  27. package/dist/components/orb-background/orbField.d.ts +16 -1
  28. package/dist/index.js +932 -128
  29. package/dist/index.js.map +1 -1
  30. package/dist/style.css +1698 -1225
  31. package/dist/theme/agentColors.d.ts +47 -0
  32. package/dist/theme/auraColors.d.ts +39 -0
  33. package/dist/theme/color.css.d.ts +3 -0
  34. package/dist/theme/index.d.ts +3 -0
  35. package/dist/theme/onboarding.d.ts +10 -0
  36. package/dist/theme/semantic.d.ts +26 -14
  37. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5,9 +5,9 @@ import classNames from "classnames";
5
5
  import * as ReactDOM from "react-dom";
6
6
  import ReactDOM__default, { createPortal } from "react-dom";
7
7
  const color_css_ts_vanilla = "";
8
- var color = { Identity: { OnMain: "var(--_19in3xh0)", Yellow: "var(--_19in3xh1)", Green: "var(--_19in3xh2)", Mint: "var(--_19in3xh3)", Blue: "var(--_19in3xh4)", Indigo: "var(--_19in3xh5)", Wine: "var(--_19in3xh6)", Red: "var(--_19in3xh7)", Orange: "var(--_19in3xh8)", Brown: "var(--_19in3xh9)", Pink: "var(--_19in3xha)", Peach: "var(--_19in3xhb)", Ochre: "var(--_19in3xhc)" }, IdentityFill: { Yellow: "var(--_19in3xhd)", Green: "var(--_19in3xhe)", Mint: "var(--_19in3xhf)", Blue: "var(--_19in3xhg)", Indigo: "var(--_19in3xhh)", Wine: "var(--_19in3xhi)", Red: "var(--_19in3xhj)", Orange: "var(--_19in3xhk)", Brown: "var(--_19in3xhl)", Pink: "var(--_19in3xhm)", Peach: "var(--_19in3xhn)", Ochre: "var(--_19in3xho)" }, IdentityTint: { Yellow: "var(--_19in3xhp)", Green: "var(--_19in3xhq)", Mint: "var(--_19in3xhr)", Blue: "var(--_19in3xhs)", Indigo: "var(--_19in3xht)", Wine: "var(--_19in3xhu)", Red: "var(--_19in3xhv)", Orange: "var(--_19in3xhw)", Brown: "var(--_19in3xhx)", Pink: "var(--_19in3xhy)", Peach: "var(--_19in3xhz)", Ochre: "var(--_19in3xh10)" }, Media: { Container: "var(--_19in3xh11)", Raised: "var(--_19in3xh12)", Elevated: "var(--_19in3xh13)", Text: "var(--_19in3xh14)", TextSecondary: "var(--_19in3xh15)", TextQuiet: "var(--_19in3xh16)", Line: "var(--_19in3xh17)", Success: "var(--_19in3xh18)", Warning: "var(--_19in3xh19)", Critical: "var(--_19in3xh1a)", Action: "var(--_19in3xh1b)", ActionFill: "var(--_19in3xh1c)", OnActionFill: "var(--_19in3xh1d)", CriticalFill: "var(--_19in3xh1e)", OnCriticalFill: "var(--_19in3xh1f)" }, Syntax: { Comment: "var(--_19in3xh1g)", Punctuation: "var(--_19in3xh1h)", Property: "var(--_19in3xh1i)", Selector: "var(--_19in3xh1j)", String: "var(--_19in3xh1k)", Operator: "var(--_19in3xh1l)", Keyword: "var(--_19in3xh1m)", Function: "var(--_19in3xh1n)", Variable: "var(--_19in3xh1o)", Number: "var(--_19in3xh1p)" }, Notification: { Indicator: "var(--_19in3xh1q)", Text: "var(--_19in3xh1r)", Fill: "var(--_19in3xh1s)", OnFill: "var(--_19in3xh1t)" }, Reason: { you: "var(--_19in3xh1u)", agent: "var(--_19in3xh1v)", participant: "var(--_19in3xh1w)" }, Background: { Container: "var(--_19in3xh1x)", ContainerHover: "var(--_19in3xh1y)", ContainerActive: "var(--_19in3xh1z)", ContainerLine: "var(--_19in3xh20)", OnContainer: "var(--_19in3xh21)" }, Surface: { Container: "var(--_19in3xh22)", ContainerHover: "var(--_19in3xh23)", ContainerActive: "var(--_19in3xh24)", ContainerLine: "var(--_19in3xh25)", OnContainer: "var(--_19in3xh26)" }, SurfaceVariant: { Container: "var(--_19in3xh27)", ContainerHover: "var(--_19in3xh28)", ContainerActive: "var(--_19in3xh29)", ContainerLine: "var(--_19in3xh2a)", OnContainer: "var(--_19in3xh2b)" }, Destructive: { Main: "var(--_19in3xh2c)", MainHover: "var(--_19in3xh2d)", MainActive: "var(--_19in3xh2e)", OnMain: "var(--_19in3xh2f)" }, Action: { Main: "var(--_19in3xh2g)", MainHover: "var(--_19in3xh2h)", MainActive: "var(--_19in3xh2i)", OnMain: "var(--_19in3xh2j)" }, Primary: { ContainerSubtle: "var(--_19in3xh2k)", TagContainer: "var(--_19in3xh2l)", Main: "var(--_19in3xh2m)", MainHover: "var(--_19in3xh2n)", MainActive: "var(--_19in3xh2o)", MainLine: "var(--_19in3xh2p)", OnMain: "var(--_19in3xh2q)", Container: "var(--_19in3xh2r)", ContainerHover: "var(--_19in3xh2s)", ContainerActive: "var(--_19in3xh2t)", ContainerLine: "var(--_19in3xh2u)", OnContainer: "var(--_19in3xh2v)" }, Secondary: { Main: "var(--_19in3xh2w)", MainHover: "var(--_19in3xh2x)", MainActive: "var(--_19in3xh2y)", MainLine: "var(--_19in3xh2z)", OnMain: "var(--_19in3xh30)", Container: "var(--_19in3xh31)", ContainerHover: "var(--_19in3xh32)", ContainerActive: "var(--_19in3xh33)", ContainerLine: "var(--_19in3xh34)", OnContainer: "var(--_19in3xh35)" }, Success: { TagContainer: "var(--_19in3xh36)", TagHover: "var(--_19in3xh37)", TagActive: "var(--_19in3xh38)", OnTag: "var(--_19in3xh39)", Main: "var(--_19in3xh3a)", MainHover: "var(--_19in3xh3b)", MainActive: "var(--_19in3xh3c)", MainLine: "var(--_19in3xh3d)", OnMain: "var(--_19in3xh3e)", Container: "var(--_19in3xh3f)", ContainerHover: "var(--_19in3xh3g)", ContainerActive: "var(--_19in3xh3h)", ContainerLine: "var(--_19in3xh3i)", OnContainer: "var(--_19in3xh3j)" }, Warning: { TagContainer: "var(--_19in3xh3k)", TagHover: "var(--_19in3xh3l)", TagActive: "var(--_19in3xh3m)", OnTag: "var(--_19in3xh3n)", Main: "var(--_19in3xh3o)", MainHover: "var(--_19in3xh3p)", MainActive: "var(--_19in3xh3q)", MainLine: "var(--_19in3xh3r)", OnMain: "var(--_19in3xh3s)", Container: "var(--_19in3xh3t)", ContainerHover: "var(--_19in3xh3u)", ContainerActive: "var(--_19in3xh3v)", ContainerLine: "var(--_19in3xh3w)", OnContainer: "var(--_19in3xh3x)" }, Critical: { TagContainer: "var(--_19in3xh3y)", TagHover: "var(--_19in3xh3z)", TagActive: "var(--_19in3xh40)", OnTag: "var(--_19in3xh41)", Main: "var(--_19in3xh42)", MainHover: "var(--_19in3xh43)", MainActive: "var(--_19in3xh44)", MainLine: "var(--_19in3xh45)", OnMain: "var(--_19in3xh46)", Container: "var(--_19in3xh47)", ContainerHover: "var(--_19in3xh48)", ContainerActive: "var(--_19in3xh49)", ContainerLine: "var(--_19in3xh4a)", OnContainer: "var(--_19in3xh4b)" }, Info: { TagContainer: "var(--_19in3xh4c)", TagHover: "var(--_19in3xh4d)", TagActive: "var(--_19in3xh4e)", OnTag: "var(--_19in3xh4f)", Main: "var(--_19in3xh4g)", MainHover: "var(--_19in3xh4h)", MainActive: "var(--_19in3xh4i)", MainLine: "var(--_19in3xh4j)", OnMain: "var(--_19in3xh4k)", Container: "var(--_19in3xh4l)", ContainerHover: "var(--_19in3xh4m)", ContainerActive: "var(--_19in3xh4n)", ContainerLine: "var(--_19in3xh4o)", OnContainer: "var(--_19in3xh4p)" }, Accent: { Main: "var(--_19in3xh4q)", MainHover: "var(--_19in3xh4r)", MainActive: "var(--_19in3xh4s)", MainLine: "var(--_19in3xh4t)", OnMain: "var(--_19in3xh4u)", Container: "var(--_19in3xh4v)", ContainerHover: "var(--_19in3xh4w)", ContainerActive: "var(--_19in3xh4x)", ContainerLine: "var(--_19in3xh4y)", OnContainer: "var(--_19in3xh4z)" }, Highlight: { Container: "var(--_19in3xh50)", OnContainer: "var(--_19in3xh51)", Overlay: "var(--_19in3xh52)" }, Control: { DisabledBackground: "var(--_19in3xh53)", DisabledForeground: "var(--_19in3xh54)" }, Other: { FocusRing: "var(--_19in3xh55)", Shadow: "var(--_19in3xh56)", Overlay: "var(--_19in3xh57)" }, Text: { Disabled: "var(--_19in3xh58)", Primary: "var(--_19in3xh59)", Secondary: "var(--_19in3xh5a)", Link: "var(--_19in3xh5b)", Quiet: "var(--_19in3xh5c)" }, Border: { Focus: "var(--_19in3xh5d)", Subtle: "var(--_19in3xh5e)", Control: "var(--_19in3xh5f)" } };
9
- var lightTheme = "_19in3xh5g";
10
- var reason = { you: "var(--_19in3xh1u)", agent: "var(--_19in3xh1v)", participant: "var(--_19in3xh1w)" };
8
+ var color = { Identity: { OnMain: "var(--_19in3xh0)", Yellow: "var(--_19in3xh1)", Green: "var(--_19in3xh2)", Mint: "var(--_19in3xh3)", Blue: "var(--_19in3xh4)", Indigo: "var(--_19in3xh5)", Wine: "var(--_19in3xh6)", Red: "var(--_19in3xh7)", Orange: "var(--_19in3xh8)", Brown: "var(--_19in3xh9)", Pink: "var(--_19in3xha)", Peach: "var(--_19in3xhb)", Ochre: "var(--_19in3xhc)" }, IdentityFill: { Yellow: "var(--_19in3xhd)", Green: "var(--_19in3xhe)", Mint: "var(--_19in3xhf)", Blue: "var(--_19in3xhg)", Indigo: "var(--_19in3xhh)", Wine: "var(--_19in3xhi)", Red: "var(--_19in3xhj)", Orange: "var(--_19in3xhk)", Brown: "var(--_19in3xhl)", Pink: "var(--_19in3xhm)", Peach: "var(--_19in3xhn)", Ochre: "var(--_19in3xho)" }, IdentityTint: { Yellow: "var(--_19in3xhp)", Green: "var(--_19in3xhq)", Mint: "var(--_19in3xhr)", Blue: "var(--_19in3xhs)", Indigo: "var(--_19in3xht)", Wine: "var(--_19in3xhu)", Red: "var(--_19in3xhv)", Orange: "var(--_19in3xhw)", Brown: "var(--_19in3xhx)", Pink: "var(--_19in3xhy)", Peach: "var(--_19in3xhz)", Ochre: "var(--_19in3xh10)" }, Media: { Container: "var(--_19in3xh11)", Raised: "var(--_19in3xh12)", Elevated: "var(--_19in3xh13)", Text: "var(--_19in3xh14)", TextSecondary: "var(--_19in3xh15)", TextQuiet: "var(--_19in3xh16)", Line: "var(--_19in3xh17)", Success: "var(--_19in3xh18)", Warning: "var(--_19in3xh19)", Critical: "var(--_19in3xh1a)", Action: "var(--_19in3xh1b)", ActionFill: "var(--_19in3xh1c)", OnActionFill: "var(--_19in3xh1d)", CriticalFill: "var(--_19in3xh1e)", OnCriticalFill: "var(--_19in3xh1f)" }, Syntax: { Comment: "var(--_19in3xh1g)", Punctuation: "var(--_19in3xh1h)", Property: "var(--_19in3xh1i)", Selector: "var(--_19in3xh1j)", String: "var(--_19in3xh1k)", Operator: "var(--_19in3xh1l)", Keyword: "var(--_19in3xh1m)", Function: "var(--_19in3xh1n)", Variable: "var(--_19in3xh1o)", Number: "var(--_19in3xh1p)" }, Notification: { Indicator: "var(--_19in3xh1q)", Text: "var(--_19in3xh1r)", Fill: "var(--_19in3xh1s)", OnFill: "var(--_19in3xh1t)" }, Attention: { NeedsYou: "var(--_19in3xh1u)" }, Reason: { you: "var(--_19in3xh1v)", agent: "var(--_19in3xh1w)", participant: "var(--_19in3xh1x)" }, Background: { Container: "var(--_19in3xh1y)", ContainerHover: "var(--_19in3xh1z)", ContainerActive: "var(--_19in3xh20)", ContainerLine: "var(--_19in3xh21)", OnContainer: "var(--_19in3xh22)" }, Surface: { Container: "var(--_19in3xh23)", ContainerHover: "var(--_19in3xh24)", ContainerActive: "var(--_19in3xh25)", ContainerLine: "var(--_19in3xh26)", OnContainer: "var(--_19in3xh27)" }, SurfaceVariant: { Container: "var(--_19in3xh28)", ContainerHover: "var(--_19in3xh29)", ContainerActive: "var(--_19in3xh2a)", ContainerLine: "var(--_19in3xh2b)", OnContainer: "var(--_19in3xh2c)" }, Destructive: { Main: "var(--_19in3xh2d)", MainHover: "var(--_19in3xh2e)", MainActive: "var(--_19in3xh2f)", OnMain: "var(--_19in3xh2g)" }, Action: { Main: "var(--_19in3xh2h)", MainHover: "var(--_19in3xh2i)", MainActive: "var(--_19in3xh2j)", OnMain: "var(--_19in3xh2k)" }, Primary: { ContainerSubtle: "var(--_19in3xh2l)", TagContainer: "var(--_19in3xh2m)", Main: "var(--_19in3xh2n)", MainHover: "var(--_19in3xh2o)", MainActive: "var(--_19in3xh2p)", MainLine: "var(--_19in3xh2q)", OnMain: "var(--_19in3xh2r)", Container: "var(--_19in3xh2s)", ContainerHover: "var(--_19in3xh2t)", ContainerActive: "var(--_19in3xh2u)", ContainerLine: "var(--_19in3xh2v)", OnContainer: "var(--_19in3xh2w)" }, Secondary: { Main: "var(--_19in3xh2x)", MainHover: "var(--_19in3xh2y)", MainActive: "var(--_19in3xh2z)", MainLine: "var(--_19in3xh30)", OnMain: "var(--_19in3xh31)", Container: "var(--_19in3xh32)", ContainerHover: "var(--_19in3xh33)", ContainerActive: "var(--_19in3xh34)", ContainerLine: "var(--_19in3xh35)", OnContainer: "var(--_19in3xh36)" }, Success: { TagContainer: "var(--_19in3xh37)", TagHover: "var(--_19in3xh38)", TagActive: "var(--_19in3xh39)", OnTag: "var(--_19in3xh3a)", Main: "var(--_19in3xh3b)", MainHover: "var(--_19in3xh3c)", MainActive: "var(--_19in3xh3d)", MainLine: "var(--_19in3xh3e)", OnMain: "var(--_19in3xh3f)", Container: "var(--_19in3xh3g)", ContainerHover: "var(--_19in3xh3h)", ContainerActive: "var(--_19in3xh3i)", ContainerLine: "var(--_19in3xh3j)", OnContainer: "var(--_19in3xh3k)" }, Warning: { TagContainer: "var(--_19in3xh3l)", TagHover: "var(--_19in3xh3m)", TagActive: "var(--_19in3xh3n)", OnTag: "var(--_19in3xh3o)", Main: "var(--_19in3xh3p)", MainHover: "var(--_19in3xh3q)", MainActive: "var(--_19in3xh3r)", MainLine: "var(--_19in3xh3s)", OnMain: "var(--_19in3xh3t)", Container: "var(--_19in3xh3u)", ContainerHover: "var(--_19in3xh3v)", ContainerActive: "var(--_19in3xh3w)", ContainerLine: "var(--_19in3xh3x)", OnContainer: "var(--_19in3xh3y)" }, Critical: { TagContainer: "var(--_19in3xh3z)", TagHover: "var(--_19in3xh40)", TagActive: "var(--_19in3xh41)", OnTag: "var(--_19in3xh42)", Main: "var(--_19in3xh43)", MainHover: "var(--_19in3xh44)", MainActive: "var(--_19in3xh45)", MainLine: "var(--_19in3xh46)", OnMain: "var(--_19in3xh47)", Container: "var(--_19in3xh48)", ContainerHover: "var(--_19in3xh49)", ContainerActive: "var(--_19in3xh4a)", ContainerLine: "var(--_19in3xh4b)", OnContainer: "var(--_19in3xh4c)" }, Info: { TagContainer: "var(--_19in3xh4d)", TagHover: "var(--_19in3xh4e)", TagActive: "var(--_19in3xh4f)", OnTag: "var(--_19in3xh4g)", Main: "var(--_19in3xh4h)", MainHover: "var(--_19in3xh4i)", MainActive: "var(--_19in3xh4j)", MainLine: "var(--_19in3xh4k)", OnMain: "var(--_19in3xh4l)", Container: "var(--_19in3xh4m)", ContainerHover: "var(--_19in3xh4n)", ContainerActive: "var(--_19in3xh4o)", ContainerLine: "var(--_19in3xh4p)", OnContainer: "var(--_19in3xh4q)" }, Accent: { Main: "var(--_19in3xh4r)", MainHover: "var(--_19in3xh4s)", MainActive: "var(--_19in3xh4t)", MainLine: "var(--_19in3xh4u)", OnMain: "var(--_19in3xh4v)", Container: "var(--_19in3xh4w)", ContainerHover: "var(--_19in3xh4x)", ContainerActive: "var(--_19in3xh4y)", ContainerLine: "var(--_19in3xh4z)", OnContainer: "var(--_19in3xh50)" }, Highlight: { Container: "var(--_19in3xh51)", OnContainer: "var(--_19in3xh52)", Overlay: "var(--_19in3xh53)" }, Control: { DisabledBackground: "var(--_19in3xh54)", DisabledForeground: "var(--_19in3xh55)" }, Other: { FocusRing: "var(--_19in3xh56)", Shadow: "var(--_19in3xh57)", Overlay: "var(--_19in3xh58)" }, Text: { Disabled: "var(--_19in3xh59)", Primary: "var(--_19in3xh5a)", Secondary: "var(--_19in3xh5b)", Link: "var(--_19in3xh5c)", Quiet: "var(--_19in3xh5d)" }, Border: { Focus: "var(--_19in3xh5e)", Subtle: "var(--_19in3xh5f)", Control: "var(--_19in3xh5g)" } };
9
+ var lightTheme = "_19in3xh5h";
10
+ var reason = { you: "var(--_19in3xh1v)", agent: "var(--_19in3xh1w)", participant: "var(--_19in3xh1x)" };
11
11
  const config_css_ts_vanilla = "";
12
12
  var config = { font: { Inter: "var(--_1s7qa7e1)" }, fontSize: { D400: "var(--_1s7qa7e2)", H1: "var(--_1s7qa7e3)", H2: "var(--_1s7qa7e4)", H3: "var(--_1s7qa7e5)", H4: "var(--_1s7qa7e6)", H5: "var(--_1s7qa7e7)", H6: "var(--_1s7qa7e8)", T500: "var(--_1s7qa7e9)", T400: "var(--_1s7qa7ea)", T300: "var(--_1s7qa7eb)", T200: "var(--_1s7qa7ec)", B500: "var(--_1s7qa7ed)", B400: "var(--_1s7qa7ee)", B300: "var(--_1s7qa7ef)", L400: "var(--_1s7qa7eg)", O400: "var(--_1s7qa7eh)", C400: "var(--_1s7qa7ei)" }, lineHeight: { D400: "var(--_1s7qa7ej)", H1: "var(--_1s7qa7ek)", H2: "var(--_1s7qa7el)", H3: "var(--_1s7qa7em)", H4: "var(--_1s7qa7en)", H5: "var(--_1s7qa7eo)", H6: "var(--_1s7qa7ep)", T500: "var(--_1s7qa7eq)", T400: "var(--_1s7qa7er)", T300: "var(--_1s7qa7es)", T200: "var(--_1s7qa7et)", B500: "var(--_1s7qa7eu)", B400: "var(--_1s7qa7ev)", B300: "var(--_1s7qa7ew)", L400: "var(--_1s7qa7ex)", O400: "var(--_1s7qa7ey)", C400: "var(--_1s7qa7ez)" }, letterSpacing: { D400: "var(--_1s7qa7e10)", H1: "var(--_1s7qa7e11)", H2: "var(--_1s7qa7e12)", H3: "var(--_1s7qa7e13)", H4: "var(--_1s7qa7e14)", H5: "var(--_1s7qa7e15)", H6: "var(--_1s7qa7e16)", T500: "var(--_1s7qa7e17)", T400: "var(--_1s7qa7e18)", T300: "var(--_1s7qa7e19)", T200: "var(--_1s7qa7e1a)", B500: "var(--_1s7qa7e1b)", B400: "var(--_1s7qa7e1c)", B300: "var(--_1s7qa7e1d)", L400: "var(--_1s7qa7e1e)", O400: "var(--_1s7qa7e1f)", C400: "var(--_1s7qa7e1g)" }, fontWeight: { W100: "var(--_1s7qa7e1h)", W200: "var(--_1s7qa7e1i)", W300: "var(--_1s7qa7e1j)", W400: "var(--_1s7qa7e1k)", W500: "var(--_1s7qa7e1l)", W600: "var(--_1s7qa7e1m)", W700: "var(--_1s7qa7e1n)", W800: "var(--_1s7qa7e1o)", W900: "var(--_1s7qa7e1p)" }, space: { S0: "var(--_1s7qa7e1q)", S100: "var(--_1s7qa7e1r)", S200: "var(--_1s7qa7e1s)", S300: "var(--_1s7qa7e1t)", S400: "var(--_1s7qa7e1u)", S500: "var(--_1s7qa7e1v)", S600: "var(--_1s7qa7e1w)", S700: "var(--_1s7qa7e1x)" }, radii: { R0: "var(--_1s7qa7e1y)", R300: "var(--_1s7qa7e1z)", R400: "var(--_1s7qa7e20)", R500: "var(--_1s7qa7e21)", R600: "var(--_1s7qa7e22)", Round: "var(--_1s7qa7e23)", Pill: "var(--_1s7qa7e24)" }, borderWidth: { B0: "var(--_1s7qa7e25)", B300: "var(--_1s7qa7e26)", B400: "var(--_1s7qa7e27)", B500: "var(--_1s7qa7e28)", B600: "var(--_1s7qa7e29)", B700: "var(--_1s7qa7e2a)" }, zIndex: { Z100: "var(--_1s7qa7e2b)", Z200: "var(--_1s7qa7e2c)", Z300: "var(--_1s7qa7e2d)", Z400: "var(--_1s7qa7e2e)", Max: "var(--_1s7qa7e2f)" }, shadow: { Control: "var(--_1s7qa7e2g)", ControlHover: "var(--_1s7qa7e2h)", ControlPressed: "var(--_1s7qa7e2i)", DestructiveInner: "var(--_1s7qa7e2j)", ActionInner: "var(--_1s7qa7e2k)", ActionInnerHover: "var(--_1s7qa7e2l)", ActionInnerPressed: "var(--_1s7qa7e2m)", FieldActive: "var(--_1s7qa7e2n)", ToggleOffInner: "var(--_1s7qa7e2o)", ToggleInner: "var(--_1s7qa7e2p)", Thumb: "var(--_1s7qa7e2q)", E100: "var(--_1s7qa7e2r)", E200: "var(--_1s7qa7e2s)", E300: "var(--_1s7qa7e2t)", E400: "var(--_1s7qa7e2u)" }, size: { XInherit: "var(--_1s7qa7e2v)", X50: "var(--_1s7qa7e2w)", X100: "var(--_1s7qa7e2x)", X200: "var(--_1s7qa7e2y)", X300: "var(--_1s7qa7e2z)", X400: "var(--_1s7qa7e30)", X500: "var(--_1s7qa7e31)", X600: "var(--_1s7qa7e32)", DialogWidth: "var(--_1s7qa7e33)", ModalHeight300: "var(--_1s7qa7e34)", ModalHeight400: "var(--_1s7qa7e35)", ModalHeight500: "var(--_1s7qa7e36)", ModalWidth300: "var(--_1s7qa7e37)", ModalWidth400: "var(--_1s7qa7e38)", ModalWidth500: "var(--_1s7qa7e39)", ModalDrawerWidth: "var(--_1s7qa7e3a)" }, control: { FocusRing: "var(--_1s7qa7e3b)", ActiveRing: "var(--_1s7qa7e3c)", SelectionFill: "var(--_1s7qa7e3d)", OnSelection: "var(--_1s7qa7e3e)", PrimaryFill: "var(--_1s7qa7e3f)", PrimaryHover: "var(--_1s7qa7e3g)", PrimaryActive: "var(--_1s7qa7e3h)", OnPrimary: "var(--_1s7qa7e3i)" }, shell: { Canvas: "var(--_1s7qa7e3j)", OnCanvas: "var(--_1s7qa7e3k)", CanvasSecondary: "var(--_1s7qa7e3l)", CanvasHover: "var(--_1s7qa7e3m)", CanvasSelected: "var(--_1s7qa7e3n)", CanvasLine: "var(--_1s7qa7e3o)", PanelRadius: "var(--_1s7qa7e3p)", PanelInset: "var(--_1s7qa7e3q)" }, transition: { Toggle: "var(--_1s7qa7e3r)", Control: "var(--_1s7qa7e3s)" }, opacity: { P500: "var(--_1s7qa7e3t)", P400: "var(--_1s7qa7e3u)", P300: "var(--_1s7qa7e3v)", Placeholder: "var(--_1s7qa7e3w)", Disabled: "var(--_1s7qa7e3x)" } };
13
13
  var configClass = "_1s7qa7e0";
@@ -293,10 +293,6 @@ const brandFamilies = [
293
293
  ]
294
294
  }
295
295
  ];
296
- const notificationRed = brandColors.Red.replace(
297
- /^oklch\(([\d.]+)/,
298
- (_, lightness) => `oklch(${(Number(lightness) * 0.98).toFixed(9)}`
299
- );
300
296
  const lightColorValues = {
301
297
  Identity: {
302
298
  OnMain: colorScale.Neutral[0],
@@ -370,12 +366,17 @@ const lightColorValues = {
370
366
  Variable: colorScale.Wine[700],
371
367
  Number: colorScale.Brown[700]
372
368
  },
369
+ // Unread is brand mid blue; red is kept for errors and destructive actions (Matty, Oct 27).
373
370
  Notification: {
374
- Indicator: notificationRed,
375
- Text: colorScale.SignalRed[600],
376
- Fill: notificationRed,
371
+ Indicator: colorScale.Blue[600],
372
+ Text: colorScale.Blue[700],
373
+ Fill: colorScale.Blue[600],
377
374
  OnFill: colorScale.Neutral[0]
378
375
  },
376
+ // Something waiting on you: dots and marks only, never text (4.0:1 on active rows).
377
+ Attention: {
378
+ NeedsYou: colorScale.Orange[600]
379
+ },
379
380
  Reason: {
380
381
  you: colorScale.Red[700],
381
382
  agent: colorScale.Indigo[700],
@@ -618,10 +619,13 @@ const darkColorValues = {
618
619
  Number: colorScale.Brown[200]
619
620
  },
620
621
  Notification: {
621
- Indicator: colorScale.SignalRed[400],
622
- Text: colorScale.SignalRed[300],
623
- Fill: notificationRed,
624
- OnFill: colorScale.Neutral[0]
622
+ Indicator: colorScale.Blue[200],
623
+ Text: colorScale.Blue[200],
624
+ Fill: colorScale.Blue[200],
625
+ OnFill: colorScale.Blue[950]
626
+ },
627
+ Attention: {
628
+ NeedsYou: colorScale.Orange[300]
625
629
  },
626
630
  Reason: {
627
631
  you: colorScale.Red[200],
@@ -858,6 +862,47 @@ const readingTypography = {
858
862
  measure: "75ch"
859
863
  }
860
864
  };
865
+ const onboardingTokens = {
866
+ surface: colorScale.Neutral[0],
867
+ ink: brandColors.Ink,
868
+ keyFill: brandColors.Ink,
869
+ keyInk: colorScale.Neutral[0],
870
+ keyPressedInk: brandColors.Ink,
871
+ keyGradient: `linear-gradient(105deg, ${brandColors.Sky}, ${brandColors.Pink} 52%, ${brandColors.Orange})`,
872
+ cardShadow: `0 8px 32px color-mix(in srgb, ${brandColors.Ink} 9%, transparent)`
873
+ };
874
+ const agentColorTokens = {
875
+ ember: { label: "Ember", center: brandColors.Orange, rim: colorScale.Orange[600] },
876
+ pink: { label: "Pink", center: brandColors.Pink, rim: colorScale.Pink[500] },
877
+ sky: { label: "Sky", center: brandColors.Sky, rim: brandColors.Indigo },
878
+ mint: { label: "Mint", center: brandColors.Mint, rim: brandColors.Green },
879
+ lemon: { label: "Lemon", center: brandColors.PaleYellow, rim: brandColors.Yellow },
880
+ lilac: { label: "Lilac", center: colorScale.Indigo[100], rim: colorScale.Indigo[300] },
881
+ peach: { label: "Peach", center: brandColors.Peach, rim: brandColors.Orange }
882
+ };
883
+ const agentColors = Object.keys(agentColorTokens);
884
+ const agentIdentityFamilies = {
885
+ ember: "Orange",
886
+ pink: "Pink",
887
+ sky: "Blue",
888
+ mint: "Mint",
889
+ lemon: "Yellow",
890
+ lilac: "Indigo",
891
+ peach: "Peach"
892
+ };
893
+ const agentIdentityIndex = (color2) => identityFamilies.indexOf(agentIdentityFamilies[color2]);
894
+ const isAgentColor = (value) => typeof value === "string" && Object.prototype.hasOwnProperty.call(agentColorTokens, value);
895
+ const auraColorTokens = {
896
+ ember: { center: "#f9a358", rim: "#f2661e" },
897
+ pink: { center: "#f8cefe", rim: "#e58af0" },
898
+ sky: { center: "#addbff", rim: "#4a5fd0" },
899
+ mint: { center: "#a0e2bf", rim: "#2e8f5e" },
900
+ lemon: { center: "#f0e345", rim: "#8dbf3a" },
901
+ lilac: { center: "#f2d4ff", rim: "#9aa6ff" },
902
+ peach: { center: "#ffe0cd", rim: "#f9a358" },
903
+ forest: { center: "#0a8a44", rim: "#045a2c" },
904
+ cream: { center: "#f4f6ba", rim: "#c9a14a" }
905
+ };
861
906
  const canAlignXStart = (anchor, target, offset2) => anchor.x + offset2 + target.width <= document.documentElement.clientWidth;
862
907
  const canAlignXCenter = (anchor, target, offset2) => {
863
908
  const xCenter = anchor.x + anchor.width / 2;
@@ -1246,8 +1291,8 @@ const Box = as(
1246
1291
  )
1247
1292
  );
1248
1293
  const Button_css_ts_vanilla = "";
1249
- var Button$2 = createRuntimeFn({ defaultClassName: "_1atfpl9e _8nex5a1 _8nex5a0 _1atfpl9d x4g6301", variantClassNames: { size: { "300": "_1atfpl9f", "400": "_1atfpl9g", "500": "_1atfpl9h" }, variant: { Primary: "_1atfpl9i", Secondary: "_1atfpl9j", Success: "_1atfpl9k", Warning: "_1atfpl9l", Critical: "_1atfpl9m" }, fill: { Solid: "_1atfpl9n", Soft: "_1atfpl9o", None: "_1atfpl9p" }, outlined: { true: "_1atfpl9q" }, radii: { "0": "ebramc1", "300": "ebramc2", "400": "ebramc3", "500": "ebramc4", Inherit: "ebramc0", Pill: "ebramc5" } }, defaultVariants: { size: "400", variant: "Primary", fill: "Solid", radii: "Pill" }, compoundVariants: [[{ variant: "Secondary", fill: "Solid" }, "_1atfpl9x"], [{ variant: "Secondary", fill: "None" }, "_1atfpl9y"], [{ variant: "Critical", fill: "Soft" }, "_1atfpl9z"], [{ variant: "Critical", fill: "Solid" }, "_1atfpl910"], [{ fill: "Solid", outlined: true }, "_1atfpl911"], [{ variant: "Primary", fill: "Solid" }, "_1atfpl912"]] });
1250
- const Button$1 = as(
1294
+ var Button$3 = createRuntimeFn({ defaultClassName: "_1atfpl9e _8nex5a1 _8nex5a0 _1atfpl9d x4g6301", variantClassNames: { size: { "300": "_1atfpl9f", "400": "_1atfpl9g", "500": "_1atfpl9h" }, variant: { Primary: "_1atfpl9i", Secondary: "_1atfpl9j", Success: "_1atfpl9k", Warning: "_1atfpl9l", Critical: "_1atfpl9m" }, fill: { Solid: "_1atfpl9n", Soft: "_1atfpl9o", None: "_1atfpl9p" }, outlined: { true: "_1atfpl9q" }, radii: { "0": "ebramc1", "300": "ebramc2", "400": "ebramc3", "500": "ebramc4", Inherit: "ebramc0", Pill: "ebramc5" } }, defaultVariants: { size: "400", variant: "Primary", fill: "Solid", radii: "Pill" }, compoundVariants: [[{ variant: "Secondary", fill: "Solid" }, "_1atfpl9x"], [{ variant: "Secondary", fill: "None" }, "_1atfpl9y"], [{ variant: "Critical", fill: "Soft" }, "_1atfpl9z"], [{ variant: "Critical", fill: "Solid" }, "_1atfpl910"], [{ fill: "Solid", outlined: true }, "_1atfpl911"], [{ variant: "Primary", fill: "Solid" }, "_1atfpl912"]] });
1295
+ const Button$2 = as(
1251
1296
  ({
1252
1297
  as: AsButton = "button",
1253
1298
  className,
@@ -1263,7 +1308,7 @@ const Button$1 = as(
1263
1308
  }, ref) => /* @__PURE__ */ jsxs(
1264
1309
  AsButton,
1265
1310
  {
1266
- className: classNames(Button$2({ size: size2, variant, fill, outlined, radii }), className),
1311
+ className: classNames(Button$3({ size: size2, variant, fill, outlined, radii }), className),
1267
1312
  "data-ui-before": before ? true : void 0,
1268
1313
  "data-ui-after": after ? true : void 0,
1269
1314
  ...props,
@@ -6157,16 +6202,16 @@ const Input = forwardRef(
6157
6202
  }
6158
6203
  );
6159
6204
  const Form_css_ts_vanilla = "";
6160
- var Body$2 = "_1699xxt1";
6161
- var Card = "_1699xxt8";
6205
+ var Body$4 = "_1699xxt1";
6206
+ var Card$3 = "_1699xxt8";
6162
6207
  var CardTone = createRuntimeFn({ defaultClassName: "", variantClassNames: { variant: { Surface: "_1699xxt9", SurfaceVariant: "_1699xxta", Background: "_1699xxtb", Primary: "_1699xxtc", Secondary: "_1699xxtd", Success: "_1699xxte", Warning: "_1699xxtf", Critical: "_1699xxtg" } }, defaultVariants: {}, compoundVariants: [] });
6163
6208
  var Children = "_1699xxt4";
6164
6209
  var Control = "_1699xxt5";
6165
- var Description$1 = "_1699xxt3";
6210
+ var Description$3 = "_1699xxt3";
6166
6211
  var Error$1 = "_1699xxt7";
6167
6212
  var Field$1 = "_1699xxt6";
6168
- var Label$4 = "_1699xxt2";
6169
- var Row$1 = "_1699xxt0";
6213
+ var Label$5 = "_1699xxt2";
6214
+ var Row$2 = "_1699xxt0";
6170
6215
  const FormRow = forwardRef(
6171
6216
  ({ title, description, before, after, children, className, ...props }, ref) => {
6172
6217
  const id = useId$1();
@@ -6178,11 +6223,11 @@ const FormRow = forwardRef(
6178
6223
  "aria-describedby": descriptionId,
6179
6224
  ...after.props
6180
6225
  }) : after;
6181
- return /* @__PURE__ */ jsx(FormContext.Provider, { value: context, children: /* @__PURE__ */ jsxs("div", { ref, ...props, "data-weave-form-row": true, className: classNames(Row$1, className), children: [
6226
+ return /* @__PURE__ */ jsx(FormContext.Provider, { value: context, children: /* @__PURE__ */ jsxs("div", { ref, ...props, "data-weave-form-row": true, className: classNames(Row$2, className), children: [
6182
6227
  before && /* @__PURE__ */ jsx("div", { "data-weave-form-before": true, children: before }),
6183
- /* @__PURE__ */ jsxs("div", { className: Body$2, "data-weave-form-body": true, children: [
6184
- title && /* @__PURE__ */ jsx("div", { className: Label$4, id: labelId, children: title }),
6185
- description && /* @__PURE__ */ jsx("div", { className: Description$1, id: descriptionId, children: description }),
6228
+ /* @__PURE__ */ jsxs("div", { className: Body$4, "data-weave-form-body": true, children: [
6229
+ title && /* @__PURE__ */ jsx("div", { className: Label$5, id: labelId, children: title }),
6230
+ description && /* @__PURE__ */ jsx("div", { className: Description$3, id: descriptionId, children: description }),
6186
6231
  children && /* @__PURE__ */ jsx("div", { className: Children, "data-weave-form-children": true, children })
6187
6232
  ] }),
6188
6233
  control2 && /* @__PURE__ */ jsx("div", { className: Control, "data-weave-form-control": true, children: control2 })
@@ -6191,7 +6236,7 @@ const FormRow = forwardRef(
6191
6236
  );
6192
6237
  FormRow.displayName = "FormRow";
6193
6238
  const Field = forwardRef(
6194
- ({ label, description, error, children, className, ...props }, ref) => {
6239
+ ({ label, description, error, density = "comfortable", children, className, ...props }, ref) => {
6195
6240
  const id = useId$1();
6196
6241
  const [controlId, setControlId] = useState(`${id}-control`);
6197
6242
  const registerControlId = useCallback(
@@ -6213,12 +6258,22 @@ const Field = forwardRef(
6213
6258
  }),
6214
6259
  [id, controlId, registerControlId, descriptionId, errorId, error]
6215
6260
  );
6216
- return /* @__PURE__ */ jsx(FormContext.Provider, { value: context, children: /* @__PURE__ */ jsxs("div", { ref, ...props, className: classNames(Field$1, className), "data-weave-field": true, children: [
6217
- /* @__PURE__ */ jsx("label", { htmlFor: context.controlId, id: context.labelId, className: Label$4, children: label }),
6218
- description && /* @__PURE__ */ jsx("p", { id: descriptionId, className: Description$1, children: description }),
6219
- children,
6220
- error && /* @__PURE__ */ jsx("p", { id: errorId, className: Error$1, role: "alert", children: error })
6221
- ] }) });
6261
+ return /* @__PURE__ */ jsx(FormContext.Provider, { value: context, children: /* @__PURE__ */ jsxs(
6262
+ "div",
6263
+ {
6264
+ ref,
6265
+ ...props,
6266
+ className: classNames(Field$1, className),
6267
+ "data-weave-field": true,
6268
+ "data-density": density,
6269
+ children: [
6270
+ /* @__PURE__ */ jsx("label", { htmlFor: context.controlId, id: context.labelId, className: Label$5, children: label }),
6271
+ description && /* @__PURE__ */ jsx("p", { id: descriptionId, className: Description$3, children: description }),
6272
+ children,
6273
+ error && /* @__PURE__ */ jsx("p", { id: errorId, className: Error$1, role: "alert", children: error })
6274
+ ]
6275
+ }
6276
+ ) });
6222
6277
  }
6223
6278
  );
6224
6279
  Field.displayName = "Field";
@@ -6231,7 +6286,7 @@ const FormCard = as(
6231
6286
  gap: "0",
6232
6287
  ...props,
6233
6288
  ref,
6234
- className: classNames(Card, CardTone({ variant }), className),
6289
+ className: classNames(Card$3, CardTone({ variant }), className),
6235
6290
  "data-weave-form-card": true
6236
6291
  }
6237
6292
  )
@@ -11528,7 +11583,7 @@ SelectContent.displayName = CONTENT_NAME;
11528
11583
  var CONTENT_MARGIN = 10;
11529
11584
  var [SelectContentProvider, useSelectContentContext] = createSelectContext(CONTENT_NAME);
11530
11585
  var CONTENT_IMPL_NAME = "SelectContentImpl";
11531
- var Slot = /* @__PURE__ */ createSlot$4("SelectContent.RemoveScroll");
11586
+ var Slot$1 = /* @__PURE__ */ createSlot$4("SelectContent.RemoveScroll");
11532
11587
  var SelectContentImpl = a$U.forwardRef(
11533
11588
  (props, forwardedRef) => {
11534
11589
  const {
@@ -11698,7 +11753,7 @@ var SelectContentImpl = a$U.forwardRef(
11698
11753
  position,
11699
11754
  isPositioned,
11700
11755
  searchRef,
11701
- children: /* @__PURE__ */ jsx(RemoveScroll, { as: Slot, allowPinchZoom: true, children: /* @__PURE__ */ jsx(
11756
+ children: /* @__PURE__ */ jsx(RemoveScroll, { as: Slot$1, allowPinchZoom: true, children: /* @__PURE__ */ jsx(
11702
11757
  FocusScope,
11703
11758
  {
11704
11759
  asChild: true,
@@ -12432,9 +12487,9 @@ var Value$1 = SelectValue;
12432
12487
  var Icon$1 = SelectIcon;
12433
12488
  var Portal$1 = SelectPortal;
12434
12489
  var Content2 = SelectContent;
12435
- var Viewport$1 = SelectViewport;
12436
- var Group = SelectGroup$1;
12437
- var Label$3 = SelectLabel$1;
12490
+ var Viewport$2 = SelectViewport;
12491
+ var Group$2 = SelectGroup$1;
12492
+ var Label$4 = SelectLabel$1;
12438
12493
  var Item$2 = SelectItem$1;
12439
12494
  var ItemText = SelectItemText;
12440
12495
  var ItemIndicator = SelectItemIndicator;
@@ -12443,15 +12498,15 @@ var ScrollDownButton = SelectScrollDownButton;
12443
12498
  const Select_css_ts_vanilla = "";
12444
12499
  var Chevron$1 = "_8n0hf12";
12445
12500
  var Content$1 = "_8n0hf14";
12446
- var Description = "_8n0hf1b";
12447
- var Indicator = "_8n0hf17";
12501
+ var Description$2 = "_8n0hf1b";
12502
+ var Indicator$2 = "_8n0hf17";
12448
12503
  var Item$1 = "_8n0hf16";
12449
- var Label$2 = "_8n0hf19";
12504
+ var Label$3 = "_8n0hf19";
12450
12505
  var Root$1 = "_8n0hf10";
12451
12506
  var ScrollButton = "_8n0hf18";
12452
12507
  var Select$1 = "_8n0hf11";
12453
12508
  var Value = "_8n0hf1a";
12454
- var Viewport = "_8n0hf15";
12509
+ var Viewport$1 = "_8n0hf15";
12455
12510
  const Select = forwardRef(
12456
12511
  ({
12457
12512
  children,
@@ -12562,7 +12617,7 @@ const Select = forwardRef(
12562
12617
  },
12563
12618
  children: [
12564
12619
  /* @__PURE__ */ jsx(ScrollUpButton, { className: ScrollButton, children: /* @__PURE__ */ jsx(Icon$2, { src: Icons.ChevronTop, size: "100", "aria-hidden": true }) }),
12565
- /* @__PURE__ */ jsx(Viewport$1, { className: Viewport, children }),
12620
+ /* @__PURE__ */ jsx(Viewport$2, { className: Viewport$1, children }),
12566
12621
  /* @__PURE__ */ jsx(ScrollDownButton, { className: ScrollButton, children: /* @__PURE__ */ jsx(Icon$2, { src: Icons.ChevronBottom, size: "100", "aria-hidden": true }) })
12567
12622
  ]
12568
12623
  }
@@ -12575,13 +12630,13 @@ const Select = forwardRef(
12575
12630
  Select.displayName = "Select";
12576
12631
  const SelectItem = forwardRef(({ children, description, className, ...props }, ref) => /* @__PURE__ */ jsxs(Item$2, { ref, ...props, className: classNames(Item$1, className), children: [
12577
12632
  /* @__PURE__ */ jsx(ItemText, { children }),
12578
- description && /* @__PURE__ */ jsx("span", { className: Description, children: description }),
12579
- /* @__PURE__ */ jsx(ItemIndicator, { className: Indicator, children: /* @__PURE__ */ jsx(Icon$2, { src: Icons.Check, size: "100", "aria-hidden": true }) })
12633
+ description && /* @__PURE__ */ jsx("span", { className: Description$2, children: description }),
12634
+ /* @__PURE__ */ jsx(ItemIndicator, { className: Indicator$2, children: /* @__PURE__ */ jsx(Icon$2, { src: Icons.Check, size: "100", "aria-hidden": true }) })
12580
12635
  ] }));
12581
12636
  SelectItem.displayName = "SelectItem";
12582
- const SelectGroup = Group;
12637
+ const SelectGroup = Group$2;
12583
12638
  const SelectLabel = forwardRef(
12584
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx(Label$3, { ref, ...props, className: classNames(Label$2, className) })
12639
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx(Label$4, { ref, ...props, className: classNames(Label$3, className) })
12585
12640
  );
12586
12641
  SelectLabel.displayName = "SelectLabel";
12587
12642
  const Line_css_ts_vanilla = "";
@@ -12596,6 +12651,70 @@ const Line$1 = as(
12596
12651
  }
12597
12652
  )
12598
12653
  );
12654
+ const MediaFrame_css_ts_vanilla = "";
12655
+ var Caption = "ep6cux5";
12656
+ var Frame = "ep6cux0 _8nex5a1 _8nex5a0";
12657
+ var Media = "ep6cux3";
12658
+ var Outlined = "ep6cux1";
12659
+ var Overlay$2 = "ep6cux4";
12660
+ var Viewport = "ep6cux2";
12661
+ const positive = (value, fallback) => Number.isFinite(value) && value > 0 ? value : fallback;
12662
+ const MediaFrame = as(
12663
+ ({
12664
+ as: Component = "div",
12665
+ aspectRatio = 1,
12666
+ minWidth = 120,
12667
+ maxWidth = 400,
12668
+ minHeight = 48,
12669
+ maxHeight = 600,
12670
+ outlined = true,
12671
+ children,
12672
+ overlay,
12673
+ caption,
12674
+ className,
12675
+ style,
12676
+ ...props
12677
+ }, ref) => {
12678
+ const widthLimit = positive(maxWidth, 400);
12679
+ const heightLimit = positive(maxHeight, 600);
12680
+ const widthFloor = Math.min(positive(minWidth, 120), widthLimit);
12681
+ const heightFloor = Math.min(positive(minHeight, 48), heightLimit);
12682
+ const ratio = Math.min(
12683
+ widthLimit / heightFloor,
12684
+ Math.max(widthFloor / heightLimit, positive(aspectRatio, 1))
12685
+ );
12686
+ return /* @__PURE__ */ jsxs(
12687
+ Component,
12688
+ {
12689
+ ...props,
12690
+ ref,
12691
+ className: classNames(Frame, outlined && Outlined, className),
12692
+ style: {
12693
+ width: `min(100%, ${toRem(Math.min(widthLimit, heightLimit * ratio))})`,
12694
+ ...style
12695
+ },
12696
+ children: [
12697
+ /* @__PURE__ */ jsxs(
12698
+ "div",
12699
+ {
12700
+ className: Viewport,
12701
+ style: {
12702
+ aspectRatio: String(ratio),
12703
+ minHeight: toRem(heightFloor),
12704
+ maxHeight: toRem(heightLimit)
12705
+ },
12706
+ children: [
12707
+ /* @__PURE__ */ jsx("div", { className: Media, children }),
12708
+ overlay != null && /* @__PURE__ */ jsx("div", { className: Overlay$2, children: overlay })
12709
+ ]
12710
+ }
12711
+ ),
12712
+ caption != null && /* @__PURE__ */ jsx("div", { className: Caption, children: caption })
12713
+ ]
12714
+ }
12715
+ );
12716
+ }
12717
+ );
12599
12718
  const MenuItem_css_ts_vanilla = "";
12600
12719
  var MenuItem$1 = createRuntimeFn({ defaultClassName: "_189azi66 _8nex5a1 _8nex5a0 x4g6300 x4g6301", variantClassNames: { variant: { Background: "_189azi67", Surface: "_189azi68", SurfaceVariant: "_189azi69", Primary: "_189azi6a", Secondary: "_189azi6b", Success: "_189azi6c", Warning: "_189azi6d", Critical: "_189azi6e" }, fill: { Soft: "_189azi6f", None: "_189azi6g" }, size: { "300": "_189azi6h", "400": "_189azi6i" }, radii: { "0": "ebramc1", "300": "ebramc2", "400": "ebramc3", "500": "ebramc4", Inherit: "ebramc0", Pill: "ebramc5" } }, defaultVariants: { variant: "Surface", fill: "Soft", size: "400", radii: "0" }, compoundVariants: [] });
12601
12720
  const MenuItem = as(
@@ -14037,6 +14156,7 @@ var RadioGroupIndicator = a$U.forwardRef(
14037
14156
  RadioGroupIndicator.displayName = INDICATOR_NAME2;
14038
14157
  var Root2 = RadioGroup$1;
14039
14158
  var Item2 = RadioGroupItem$1;
14159
+ var Indicator$1 = RadioGroupIndicator;
14040
14160
  const RadioGroup = forwardRef((props, ref) => /* @__PURE__ */ jsx(Root2, { ...props, ref }));
14041
14161
  RadioGroup.displayName = "RadioGroup";
14042
14162
  const RadioGroupItem = forwardRef(({ className, variant, size: size2, ...props }, ref) => /* @__PURE__ */ jsx(
@@ -15507,9 +15627,9 @@ function mountAliveMark(container, opts) {
15507
15627
  var clip = container.querySelector(".am-clip");
15508
15628
  var dream = container.querySelector(".am-dream");
15509
15629
  var eyes = look.parentNode;
15510
- var reduced = false;
15630
+ var reduced2 = false;
15511
15631
  try {
15512
- reduced = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
15632
+ reduced2 = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
15513
15633
  } catch (e2) {
15514
15634
  }
15515
15635
  var running = true, raf = 0, last = 0;
@@ -15542,7 +15662,7 @@ function mountAliveMark(container, opts) {
15542
15662
  var e2 = t2 - a2.t0;
15543
15663
  if (e2 >= a2.dur)
15544
15664
  return 1;
15545
- var edge = reduced ? 0 : Math.min(a2.edge, a2.dur / 2);
15665
+ var edge = reduced2 ? 0 : Math.min(a2.edge, a2.dur / 2);
15546
15666
  var p2 = 1;
15547
15667
  if (edge > 0) {
15548
15668
  if (e2 < edge)
@@ -15555,7 +15675,7 @@ function mountAliveMark(container, opts) {
15555
15675
  }
15556
15676
  function scheduleBlink() {
15557
15677
  clearTimeout(blinkT);
15558
- var mult = reduced ? 2 : 1;
15678
+ var mult = reduced2 ? 2 : 1;
15559
15679
  blinkT = setTimeout(function() {
15560
15680
  if (!sleeping)
15561
15681
  doBlink(Math.random() < o2.doubleBlinkChance);
@@ -15585,7 +15705,7 @@ function mountAliveMark(container, opts) {
15585
15705
  var t2 = now();
15586
15706
  animL = animR = { t0: t2, dur: o2.squintMs, edge: Math.min(110, o2.squintMs / 2), to: o2.squintTo };
15587
15707
  tiltCur = c2.tilt + o2.tiltNudge;
15588
- if (!reduced) {
15708
+ if (!reduced2) {
15589
15709
  tgtX = 0;
15590
15710
  tgtY = -o2.driftY;
15591
15711
  }
@@ -15593,7 +15713,7 @@ function mountAliveMark(container, opts) {
15593
15713
  function scheduleDrift() {
15594
15714
  clearTimeout(driftT);
15595
15715
  driftT = setTimeout(function() {
15596
- if (!reduced && !sleeping && !gazing) {
15716
+ if (!reduced2 && !sleeping && !gazing) {
15597
15717
  tgtX = rnd2(-o2.driftX, o2.driftX);
15598
15718
  tgtY = rnd2(-o2.driftY, o2.driftY);
15599
15719
  }
@@ -15606,7 +15726,7 @@ function mountAliveMark(container, opts) {
15606
15726
  var dt = last ? Math.min(0.05, (t2 - last) / 1e3) : 0.016;
15607
15727
  last = t2;
15608
15728
  var ease2 = function(tau) {
15609
- return reduced ? 1 : 1 - Math.exp(-dt / tau);
15729
+ return reduced2 ? 1 : 1 - Math.exp(-dt / tau);
15610
15730
  };
15611
15731
  if (t2 - rectAt > 250) {
15612
15732
  rect = svg.getBoundingClientRect();
@@ -15628,7 +15748,7 @@ function mountAliveMark(container, opts) {
15628
15748
  if (dreamAmt > 0.999)
15629
15749
  dreamAmt = 1;
15630
15750
  var gx = null, gy = null;
15631
- if (!reduced && !sleeping && pointer && rect && o2.pointerMode !== "off") {
15751
+ if (!reduced2 && !sleeping && pointer && rect && o2.pointerMode !== "off") {
15632
15752
  var cxp = rect.left + rect.width / 2, cyp = rect.top + rect.height / 2;
15633
15753
  var dx = pointer.x - cxp, dy = pointer.y - cyp;
15634
15754
  var d = Math.max(1e-3, Math.sqrt(dx * dx + dy * dy));
@@ -15661,7 +15781,7 @@ function mountAliveMark(container, opts) {
15661
15781
  if (gazing) {
15662
15782
  tgtX = gx;
15663
15783
  tgtY = gy;
15664
- } else if (wasGazing || reduced || sleeping) {
15784
+ } else if (wasGazing || reduced2 || sleeping) {
15665
15785
  tgtX = 0;
15666
15786
  tgtY = 0;
15667
15787
  }
@@ -15814,16 +15934,16 @@ const StackedAvatar = as(
15814
15934
  )
15815
15935
  );
15816
15936
  const ComposeIcon = Icons.Compose;
15817
- const PAL = {
15818
- ember: { c: [249, 163, 88], r: [242, 102, 30] },
15819
- pink: { c: [248, 206, 254], r: [229, 138, 240] },
15820
- sky: { c: [173, 219, 255], r: [74, 95, 208] },
15821
- mint: { c: [160, 226, 191], r: [46, 143, 94] },
15822
- lemon: { c: [240, 227, 69], r: [141, 191, 58] },
15823
- lilac: { c: [242, 212, 255], r: [154, 166, 255] },
15824
- forest: { c: [10, 138, 68], r: [4, 90, 44] },
15825
- cream: { c: [244, 246, 186], r: [201, 161, 74] }
15937
+ const rgb = (value) => {
15938
+ const hex = toSrgbHex(value);
15939
+ return [1, 3, 5].map((offset2) => parseInt(hex.slice(offset2, offset2 + 2), 16));
15826
15940
  };
15941
+ const PAL = Object.fromEntries(
15942
+ Object.entries(auraColorTokens).map(([name, token]) => [
15943
+ name,
15944
+ { c: rgb(token.center), r: rgb(token.rim) }
15945
+ ])
15946
+ );
15827
15947
  const W = 1200;
15828
15948
  const H = 800;
15829
15949
  const TILT = -46.7 * Math.PI / 180;
@@ -15851,11 +15971,12 @@ const make = (x, y, vx, vy, r2, name, from) => ({
15851
15971
  wob: from ? 1 : 0
15852
15972
  });
15853
15973
  const cur = (o2) => ({ c: mix(o2.c0, o2.c, ease(o2.ct)), r: mix(o2.r0, o2.rr, ease(o2.ct)) });
15854
- function startOrbField(element) {
15974
+ function startOrbField(element, initial = {}) {
15975
+ let options = initial;
15855
15976
  const canvas = element;
15856
15977
  const ctx = canvas.getContext("2d");
15857
15978
  if (!ctx)
15858
- return () => void 0;
15979
+ return Object.assign(() => void 0, { update: () => void 0 });
15859
15980
  let orbs = [];
15860
15981
  let target = 3;
15861
15982
  let targetTime = 0;
@@ -15865,9 +15986,10 @@ function startOrbField(element) {
15865
15986
  const motion2 = window.matchMedia("(prefers-reduced-motion: reduce)");
15866
15987
  const pickName = (exclude = []) => {
15867
15988
  const taken = /* @__PURE__ */ new Set([...exclude, ...orbs.filter((o2) => !o2.leaving).map((o2) => o2.name)]);
15868
- let pool = Object.keys(PAL).filter((n2) => !taken.has(n2) && n2 !== "ember");
15989
+ const eligible = (n2) => n2 !== "ember" && (n2 !== "peach" || Boolean(options.agentColor)) && n2 !== options.agentColor && !(options.agentColor === "ember" && n2 === "peach");
15990
+ let pool = Object.keys(PAL).filter((n2) => !taken.has(n2) && eligible(n2));
15869
15991
  if (!pool.length)
15870
- pool = Object.keys(PAL).filter((n2) => !exclude.includes(n2) && n2 !== "ember");
15992
+ pool = Object.keys(PAL).filter((n2) => !exclude.includes(n2) && eligible(n2));
15871
15993
  return pool[Math.floor(Math.random() * pool.length)];
15872
15994
  };
15873
15995
  [
@@ -15886,6 +16008,44 @@ function startOrbField(element) {
15886
16008
  o2.age = 2;
15887
16009
  orbs.push(o2);
15888
16010
  });
16011
+ let previousColor;
16012
+ let colorsInitialized = false;
16013
+ const enforceColors = () => {
16014
+ const active = orbs.filter((o2) => !o2.leaving);
16015
+ const kept = previousColor === options.agentColor ? active.find((o2) => o2.agent) : void 0;
16016
+ const carrier = options.agentColor ? kept ?? [...active].sort((a2, b) => b.r - a2.r)[0] : void 0;
16017
+ const used = /* @__PURE__ */ new Set();
16018
+ const recolor = (orb, name) => {
16019
+ const o2 = orb;
16020
+ if (o2.name === name)
16021
+ return;
16022
+ const from = cur(o2);
16023
+ o2.name = name;
16024
+ o2.c0 = from.c;
16025
+ o2.r0 = from.r;
16026
+ o2.c = PAL[name].c.slice();
16027
+ o2.rr = PAL[name].r.slice();
16028
+ o2.ct = motion2.matches || !colorsInitialized ? 1 : 0;
16029
+ };
16030
+ if (carrier && options.agentColor) {
16031
+ recolor(carrier, options.agentColor);
16032
+ used.add(options.agentColor);
16033
+ }
16034
+ orbs.forEach((orb) => {
16035
+ const o2 = orb;
16036
+ o2.agent = o2 === carrier;
16037
+ if (motion2.matches)
16038
+ o2.ct = 1;
16039
+ if (o2 === carrier)
16040
+ return;
16041
+ if (used.has(o2.name) || o2.name === options.agentColor || options.agentColor === "ember" && o2.name === "peach" || o2.name === "ember" && (options.agentColor !== "ember" || used.has("peach"))) {
16042
+ recolor(o2, pickName([...used]));
16043
+ }
16044
+ used.add(o2.name);
16045
+ });
16046
+ previousColor = options.agentColor;
16047
+ colorsInitialized = true;
16048
+ };
15889
16049
  const spawn = () => {
15890
16050
  const side = Math.floor(Math.random() * 4);
15891
16051
  const r2 = rnd(120, 180);
@@ -15926,17 +16086,19 @@ function startOrbField(element) {
15926
16086
  const cs = cur(small);
15927
16087
  const cb = cur(big);
15928
16088
  const k = Math.min(0.08, da / (big.r * big.r));
15929
- big.c0 = mix(cb.c, cs.c, k * 3);
15930
- big.r0 = mix(cb.r, cs.r, k * 3);
15931
- big.c = mix(big.c, cs.c, k * 3);
15932
- big.rr = mix(big.rr, cs.r, k * 3);
16089
+ if (!big.agent && !small.agent) {
16090
+ big.c0 = mix(cb.c, cs.c, k * 3);
16091
+ big.r0 = mix(cb.r, cs.r, k * 3);
16092
+ big.c = mix(big.c, cs.c, k * 3);
16093
+ big.rr = mix(big.rr, cs.r, k * 3);
16094
+ }
15933
16095
  small.x += (big.x - small.x) * 0.05;
15934
16096
  small.y += (big.y - small.y) * 0.05;
15935
16097
  if (small.r < 10) {
15936
16098
  orbs.splice(orbs.indexOf(small), 1);
15937
16099
  big.wob = 1;
15938
16100
  const c2 = cur(big);
15939
- big.name = pickName([big.name]);
16101
+ big.name = big.agent && options.agentColor ? options.agentColor : pickName([big.name]);
15940
16102
  big.c0 = c2.c;
15941
16103
  big.r0 = c2.r;
15942
16104
  big.c = PAL[big.name].c.slice();
@@ -15984,7 +16146,7 @@ function startOrbField(element) {
15984
16146
  }
15985
16147
  }
15986
16148
  }
15987
- if (spawnTime > 2.4 && orbs.filter((o2) => !o2.leaving).length < target) {
16149
+ if (spawnTime > 2.4 && orbs.length < target) {
15988
16150
  spawnTime = 0;
15989
16151
  spawn();
15990
16152
  }
@@ -16037,13 +16199,29 @@ function startOrbField(element) {
16037
16199
  });
16038
16200
  };
16039
16201
  const draw = () => {
16202
+ enforceColors();
16203
+ const { finish } = options;
16204
+ const progress = finish && !motion2.matches ? Math.min(1, Math.max(0, (performance.now() - finish.startedAt) / 1e3)) : Number(Boolean(finish));
16205
+ const width = Math.max(1, canvas.clientWidth);
16206
+ const height = Math.max(1, canvas.clientHeight);
16207
+ const scale = Math.max(width / W, height / H);
16208
+ const fx = finish ? (Math.min(1, Math.max(0, finish.origin.x)) * width - (width - W * scale) / 2) / scale : W / 2;
16209
+ const fy = finish ? (Math.min(1, Math.max(0, finish.origin.y)) * height - (height - H * scale) / 2) / scale : H / 2;
16040
16210
  ctx.clearRect(0, 0, W, H);
16041
16211
  orbs.forEach((o2) => {
16042
16212
  const c2 = cur(o2);
16043
16213
  const w2 = o2.rd * 1.35;
16044
16214
  const wob = o2.wob > 0 ? Math.sin((1 - o2.wob) * 20) * 0.16 * o2.wob : 0;
16045
16215
  ctx.save();
16046
- ctx.translate(o2.x, o2.y);
16216
+ const angle = progress * Math.PI * 1.5;
16217
+ const dx = o2.x - fx;
16218
+ const dy = o2.y - fy;
16219
+ ctx.translate(
16220
+ fx + (dx * Math.cos(angle) - dy * Math.sin(angle)) * (1 - progress),
16221
+ fy + (dx * Math.sin(angle) + dy * Math.cos(angle)) * (1 - progress)
16222
+ );
16223
+ ctx.globalAlpha = 1 - progress;
16224
+ ctx.scale(1 - progress * 0.9, 1 - progress * 0.9);
16047
16225
  ctx.rotate(TILT);
16048
16226
  ctx.scale(1 + wob, (1 - wob) * RATIO);
16049
16227
  const gradient = ctx.createRadialGradient(0, 0, 0, 0, 0, w2);
@@ -16075,29 +16253,41 @@ function startOrbField(element) {
16075
16253
  draw();
16076
16254
  };
16077
16255
  const tick = (now) => {
16078
- step(Math.min(0.05, (now - last) / 1e3));
16256
+ if (!options.finish)
16257
+ step(Math.min(0.05, (now - last) / 1e3));
16079
16258
  last = now;
16080
16259
  draw();
16081
- raf = window.requestAnimationFrame(tick);
16260
+ if (!options.finish || now - options.finish.startedAt < 1e3)
16261
+ raf = window.requestAnimationFrame(tick);
16082
16262
  };
16083
16263
  const syncMotion = () => {
16084
16264
  window.cancelAnimationFrame(raf);
16085
16265
  last = performance.now();
16086
- if (!motion2.matches && !document.hidden)
16266
+ if (!motion2.matches && !document.hidden && (!options.finish || last - options.finish.startedAt < 1e3))
16087
16267
  raf = window.requestAnimationFrame(tick);
16268
+ draw();
16088
16269
  };
16089
16270
  resize();
16090
- syncMotion();
16271
+ if (!motion2.matches && !document.hidden)
16272
+ raf = window.requestAnimationFrame(tick);
16091
16273
  const observer = new ResizeObserver(resize);
16092
16274
  observer.observe(canvas);
16093
16275
  motion2.addEventListener("change", syncMotion);
16094
16276
  document.addEventListener("visibilitychange", syncMotion);
16095
- return () => {
16096
- window.cancelAnimationFrame(raf);
16097
- observer.disconnect();
16098
- motion2.removeEventListener("change", syncMotion);
16099
- document.removeEventListener("visibilitychange", syncMotion);
16100
- };
16277
+ return Object.assign(
16278
+ () => {
16279
+ window.cancelAnimationFrame(raf);
16280
+ observer.disconnect();
16281
+ motion2.removeEventListener("change", syncMotion);
16282
+ document.removeEventListener("visibilitychange", syncMotion);
16283
+ },
16284
+ {
16285
+ update: (next) => {
16286
+ options = next;
16287
+ syncMotion();
16288
+ }
16289
+ }
16290
+ );
16101
16291
  }
16102
16292
  const orbOpacityForSurface = (surface, prefersDark) => {
16103
16293
  const perceptual = surface.match(/^okl(?:ab|ch)\(\s*([\d.]+)(%?)/);
@@ -16119,13 +16309,29 @@ const orbOpacityForSurface = (surface, prefersDark) => {
16119
16309
  const OrbBackground_css_ts_vanilla = "";
16120
16310
  var OrbBackground$1 = "gde17n1";
16121
16311
  var OrbBackgroundHost = "gde17n0";
16122
- const OrbBackground = ({ className, appearance }) => {
16312
+ const OrbBackground = ({
16313
+ className,
16314
+ appearance,
16315
+ agentColor,
16316
+ finish
16317
+ }) => {
16123
16318
  const ref = useRef(null);
16319
+ const controller = useRef();
16320
+ const initialOptions = useRef({ agentColor, finish });
16124
16321
  useEffect(() => {
16125
16322
  if (!ref.current)
16126
16323
  return void 0;
16127
- return startOrbField(ref.current);
16324
+ const field = startOrbField(ref.current, initialOptions.current);
16325
+ controller.current = field;
16326
+ return () => {
16327
+ field();
16328
+ controller.current = void 0;
16329
+ };
16128
16330
  }, []);
16331
+ useEffect(() => {
16332
+ var _a;
16333
+ (_a = controller.current) == null ? void 0 : _a.update({ agentColor, finish });
16334
+ }, [agentColor, finish]);
16129
16335
  useEffect(() => {
16130
16336
  var _a;
16131
16337
  const canvas = ref.current;
@@ -17311,14 +17517,14 @@ const UnreadBadge = as(
17311
17517
  const ActivityRow_css_ts_vanilla = "";
17312
17518
  var ActivityRow$1 = createRuntimeFn({ defaultClassName: "_3hdcuo0 _8nex5a1 _8nex5a0 x4g6300 x4g6301", variantClassNames: { layout: { panel: "_3hdcuo1", card: "_3hdcuo2" }, unread: { true: "_3hdcuo3" }, read: { true: "_3hdcuo4" }, selected: { true: "_3hdcuo5" } }, defaultVariants: { layout: "panel" }, compoundVariants: [] });
17313
17519
  var Avatar = "_3hdcuo6";
17314
- var Body$1 = "_3hdcuo7";
17520
+ var Body$3 = "_3hdcuo7";
17315
17521
  var Footer$1 = "_3hdcuoh";
17316
17522
  var Header = "_3hdcuo8";
17317
17523
  var Meta = "_3hdcuoi";
17318
17524
  var Preview = "_3hdcuog";
17319
17525
  var Reason = createRuntimeFn({ defaultClassName: "_3hdcuo9", variantClassNames: { tone: { you: "_3hdcuoa", agent: "_3hdcuob", participant: "_3hdcuoc" } }, defaultVariants: {}, compoundVariants: [] });
17320
17526
  var Time$2 = "_3hdcuoe";
17321
- var Title$1 = "_3hdcuof";
17527
+ var Title$3 = "_3hdcuof";
17322
17528
  var Where = "_3hdcuod";
17323
17529
  const ActivityRow = as(
17324
17530
  ({
@@ -17352,7 +17558,7 @@ const ActivityRow = as(
17352
17558
  ref,
17353
17559
  children: [
17354
17560
  /* @__PURE__ */ jsx("span", { className: Avatar, children: avatar }),
17355
- /* @__PURE__ */ jsxs("span", { className: Body$1, children: [
17561
+ /* @__PURE__ */ jsxs("span", { className: Body$3, children: [
17356
17562
  /* @__PURE__ */ jsxs("span", { className: Header, children: [
17357
17563
  /* @__PURE__ */ jsx("span", { className: Reason({ tone: read ? "participant" : reasonTone }), children: reason2 }),
17358
17564
  /* @__PURE__ */ jsxs("span", { className: Where, children: [
@@ -17360,7 +17566,7 @@ const ActivityRow = as(
17360
17566
  where
17361
17567
  ] })
17362
17568
  ] }),
17363
- layout === "card" && title && /* @__PURE__ */ jsx("span", { className: Title$1, children: title }),
17569
+ layout === "card" && title && /* @__PURE__ */ jsx("span", { className: Title$3, children: title }),
17364
17570
  /* @__PURE__ */ jsx("span", { className: Preview, children: preview }),
17365
17571
  /* @__PURE__ */ jsxs("span", { className: Footer$1, children: [
17366
17572
  !read && (count2 > 0 || unread > 0) && /* @__PURE__ */ jsx(UnreadBadgeCenter, { children: /* @__PURE__ */ jsx(
@@ -17382,7 +17588,7 @@ const ActivityRow = as(
17382
17588
  );
17383
17589
  const ActivityGroup_css_ts_vanilla = "";
17384
17590
  var ActivityGroup$1 = "_1ybkglv0";
17385
- var Label$1 = "_1ybkglv1 _8nex5a1 _8nex5a0";
17591
+ var Label$2 = "_1ybkglv1 _8nex5a1 _8nex5a0";
17386
17592
  const ActivityGroup = as(
17387
17593
  ({ as: Component = "section", label, count: count2, children, className, ...props }, ref) => {
17388
17594
  const headingId = useId$1();
@@ -17394,7 +17600,7 @@ const ActivityGroup = as(
17394
17600
  ...props,
17395
17601
  ref,
17396
17602
  children: [
17397
- /* @__PURE__ */ jsx("h3", { id: headingId, className: Label$1, children: `${label}${count2 !== void 0 ? ` ${count2}` : ""}` }),
17603
+ /* @__PURE__ */ jsx("h3", { id: headingId, className: Label$2, children: `${label}${count2 !== void 0 ? ` ${count2}` : ""}` }),
17398
17604
  children
17399
17605
  ]
17400
17606
  }
@@ -17592,7 +17798,7 @@ var Count = "e7d7gk5";
17592
17798
  var CountPill = "e7d7gk6";
17593
17799
  var Folds = "e7d7gk9";
17594
17800
  var Glyph$2 = "e7d7gk3";
17595
- var Label = "e7d7gk8";
17801
+ var Label$1 = "e7d7gk8";
17596
17802
  var PanelSwitch$1 = "e7d7gk2 _8nex5a1 _8nex5a0 x4g6300 x4g6301";
17597
17803
  var PanelSwitchGroup$1 = "e7d7gk0 _8nex5a1 _8nex5a0";
17598
17804
  const PanelSwitchGroup = as(({ as: Component = "div", className, ...props }, ref) => /* @__PURE__ */ jsx(
@@ -17646,7 +17852,7 @@ const PanelSwitch = as(
17646
17852
  /* @__PURE__ */ jsx(Icon$2, { src: icon2, size: "compact" }),
17647
17853
  attention && !selected && /* @__PURE__ */ jsx("span", { className: Attention$1 })
17648
17854
  ] }),
17649
- showLabel && /* @__PURE__ */ jsx(Text, { as: "span", size: "H6", className: classNames(Label, Folds), "aria-hidden": true, children: label }),
17855
+ showLabel && /* @__PURE__ */ jsx(Text, { as: "span", size: "H6", className: classNames(Label$1, Folds), "aria-hidden": true, children: label }),
17650
17856
  showCount && /* @__PURE__ */ jsx(
17651
17857
  Text,
17652
17858
  {
@@ -17668,7 +17874,7 @@ var Faces = "kev8vj1";
17668
17874
  var Live = "kev8vj3";
17669
17875
  var PeopleLine$1 = "kev8vj0 _8nex5a1 _8nex5a0";
17670
17876
  var Summary = "kev8vj4";
17671
- var Working = "kev8vj6";
17877
+ var Working$1 = "kev8vj6";
17672
17878
  const PeopleLineFace = as(
17673
17879
  ({ as: Component = "span", size: size2 = "small", className, ...props }, ref) => /* @__PURE__ */ jsx(Component, { "data-size": size2, className: classNames(Face$2, className), ...props, ref })
17674
17880
  );
@@ -17683,7 +17889,7 @@ const PeopleLine = as(
17683
17889
  children: [
17684
17890
  status === "Call" && /* @__PURE__ */ jsx("span", { className: Live, "aria-hidden": true }),
17685
17891
  Children$1.toArray(faces).length > 0 && /* @__PURE__ */ jsx("span", { className: Faces, "aria-hidden": true, children: faces }),
17686
- /* @__PURE__ */ jsx("span", { className: classNames(Summary, status === "Working" && Working), children })
17892
+ /* @__PURE__ */ jsx("span", { className: classNames(Summary, status === "Working" && Working$1), children })
17687
17893
  ]
17688
17894
  }
17689
17895
  )
@@ -17695,7 +17901,7 @@ var Identity = "cv0ofl3";
17695
17901
  var Mark$1 = "cv0ofl2";
17696
17902
  var Name$4 = "cv0ofl4";
17697
17903
  var RoomHeader$1 = "cv0ofl0 _8nex5a1 _8nex5a0";
17698
- var Row = "cv0ofl1";
17904
+ var Row$1 = "cv0ofl1";
17699
17905
  var Spacer$1 = "cv0ofl5";
17700
17906
  const RoomHeaderMark = as(
17701
17907
  ({ as: Component = "span", faces, className, ...props }, ref) => /* @__PURE__ */ jsx(
@@ -17719,7 +17925,7 @@ const RoomHeader = as(
17719
17925
  panels,
17720
17926
  className,
17721
17927
  ...props
17722
- }, ref) => /* @__PURE__ */ jsx(Component, { className: classNames(RoomHeader$1, className), ...props, ref, children: /* @__PURE__ */ jsxs("div", { className: Row, children: [
17928
+ }, ref) => /* @__PURE__ */ jsx(Component, { className: classNames(RoomHeader$1, className), ...props, ref, children: /* @__PURE__ */ jsxs("div", { className: Row$1, children: [
17723
17929
  mark,
17724
17930
  /* @__PURE__ */ jsxs("div", { className: Identity, children: [
17725
17931
  /* @__PURE__ */ jsx(Text, { as: nameAs, size: "H5", truncate: true, className: Name$4, children: name }),
@@ -17732,7 +17938,7 @@ const RoomHeader = as(
17732
17938
  ] }) })
17733
17939
  );
17734
17940
  const Composer_css_ts_vanilla = "";
17735
- var Actions$1 = "_1ejw1qz3";
17941
+ var Actions$2 = "_1ejw1qz3";
17736
17942
  var ActionsAfter = "_1ejw1qz5";
17737
17943
  var ActionsBefore = "_1ejw1qz4";
17738
17944
  var Composer$1 = "_1ejw1qz0";
@@ -17754,7 +17960,7 @@ const Composer = as(
17754
17960
  /* @__PURE__ */ jsxs("div", { className: Surface, children: [
17755
17961
  context,
17756
17962
  /* @__PURE__ */ jsx("div", { className: Content, children }),
17757
- (actionsBefore || actionsAfter) && /* @__PURE__ */ jsxs("div", { className: Actions$1, children: [
17963
+ (actionsBefore || actionsAfter) && /* @__PURE__ */ jsxs("div", { className: Actions$2, children: [
17758
17964
  /* @__PURE__ */ jsx("div", { className: ActionsBefore, children: actionsBefore }),
17759
17965
  /* @__PURE__ */ jsx("div", { className: ActionsAfter, children: actionsAfter })
17760
17966
  ] }),
@@ -18111,21 +18317,21 @@ const InspectorTab = as(
18111
18317
  );
18112
18318
  const ActivityItem_css_ts_vanilla = "";
18113
18319
  var Action = "_1wyqgiii _8nex5a1 _8nex5a0 x4g6300";
18114
- var Actions = "_1wyqgiie _1wyqgii9";
18320
+ var Actions$1 = "_1wyqgiid _1wyqgii8";
18115
18321
  var ActivityItem$1 = "_1wyqgii0 _8nex5a1 _8nex5a0";
18116
- var Attention = "_1wyqgiif";
18322
+ var Attention = "_1wyqgiie";
18117
18323
  var AttentionBreathing = "_1wyqgiih";
18118
- var Body = "_1wyqgiia _1wyqgii9";
18324
+ var Body$2 = "_1wyqgii9 _1wyqgii8";
18119
18325
  var Face$1 = "_1wyqgii4";
18120
18326
  var Head$1 = "_1wyqgii3";
18121
18327
  var Main = "_1wyqgii2 _8nex5a1 _8nex5a0 x4g6300";
18122
18328
  var Name$3 = "_1wyqgii5";
18123
- var ObjectRow = "_1wyqgiid _1wyqgii9";
18124
- var Replies = "_1wyqgiib _8nex5a1 _8nex5a0 x4g6300 _1wyqgii9";
18125
- var RepliesUnread = "_1wyqgiic";
18329
+ var ObjectRow = "_1wyqgiic _1wyqgii8";
18330
+ var Replies = "_1wyqgiia _8nex5a1 _8nex5a0 x4g6300 _1wyqgii8";
18331
+ var RepliesUnread = "_1wyqgiib";
18126
18332
  var SelectedBar = "_1wyqgii1";
18127
18333
  var Time$1 = "_1wyqgii7";
18128
- var UnreadDot = "_1wyqgii8";
18334
+ var UnreadDot = "_1wyqgiif _1wyqgiie";
18129
18335
  var What$1 = "_1wyqgii6";
18130
18336
  const ActivityItem = as(
18131
18337
  ({
@@ -18157,13 +18363,13 @@ const ActivityItem = as(
18157
18363
  ref,
18158
18364
  children: [
18159
18365
  selected && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: SelectedBar }),
18160
- attention && /* @__PURE__ */ jsx(
18366
+ attention ? /* @__PURE__ */ jsx(
18161
18367
  "span",
18162
18368
  {
18163
18369
  "aria-hidden": true,
18164
18370
  className: classNames(Attention, attention === "breathing" && AttentionBreathing)
18165
18371
  }
18166
- ),
18372
+ ) : unread && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: UnreadDot }),
18167
18373
  /* @__PURE__ */ jsxs(
18168
18374
  "button",
18169
18375
  {
@@ -18181,10 +18387,9 @@ const ActivityItem = as(
18181
18387
  /* @__PURE__ */ jsx("span", { className: Face$1, children: avatar }),
18182
18388
  /* @__PURE__ */ jsx(Text, { as: "span", size: "H6", className: Name$3, children: name }),
18183
18389
  /* @__PURE__ */ jsx(Text, { as: "span", size: "T300", className: What$1, children: what }),
18184
- /* @__PURE__ */ jsx(Text, { as: "span", size: "T200", className: Time$1, children: time }),
18185
- unread && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: UnreadDot })
18390
+ /* @__PURE__ */ jsx(Text, { as: "span", size: "T200", className: Time$1, children: time })
18186
18391
  ] }),
18187
- body && /* @__PURE__ */ jsx(Text, { as: "span", size: "T300", className: Body, children: body })
18392
+ body && /* @__PURE__ */ jsx(Text, { as: "span", size: "T300", className: Body$2, children: body })
18188
18393
  ]
18189
18394
  }
18190
18395
  ),
@@ -18196,7 +18401,7 @@ const ActivityItem = as(
18196
18401
  replies.unread
18197
18402
  ] })
18198
18403
  ] }),
18199
- actions && /* @__PURE__ */ jsx("div", { className: Actions, "data-pinned": actionsShown || void 0, children: actions })
18404
+ actions && /* @__PURE__ */ jsx("div", { className: Actions$1, "data-pinned": actionsShown || void 0, children: actions })
18200
18405
  ]
18201
18406
  }
18202
18407
  )
@@ -18221,12 +18426,12 @@ const ActivityHeader_css_ts_vanilla = "";
18221
18426
  var ActivityHeader$1 = "_1yfy4k20 _8nex5a1 _8nex5a0";
18222
18427
  var Controls = "_1yfy4k23";
18223
18428
  var Spacer = "_1yfy4k24";
18224
- var Title = "_1yfy4k22";
18429
+ var Title$2 = "_1yfy4k22";
18225
18430
  var TitleRow = "_1yfy4k21";
18226
18431
  const ActivityHeader = as(
18227
18432
  ({ as: Component = "div", title, actions, filters, after, className, ...props }, ref) => /* @__PURE__ */ jsxs(Component, { className: classNames(ActivityHeader$1, className), ...props, ref, children: [
18228
18433
  /* @__PURE__ */ jsxs("div", { className: TitleRow, children: [
18229
- /* @__PURE__ */ jsx(Text, { as: "h2", size: "H6", className: Title, children: title }),
18434
+ /* @__PURE__ */ jsx(Text, { as: "h2", size: "H6", className: Title$2, children: title }),
18230
18435
  actions
18231
18436
  ] }),
18232
18437
  (filters || after) && /* @__PURE__ */ jsxs("div", { className: Controls, children: [
@@ -18382,7 +18587,7 @@ var AddAgentRow = "pkh0681u _8nex5a1 _8nex5a0 x4g6300";
18382
18587
  var AgentChoice = "pkh068w _8nex5a1 _8nex5a0";
18383
18588
  var AgentTile = "pkh06817 _8nex5a1 _8nex5a0";
18384
18589
  var AllSetCheck = "pkh068l";
18385
- var Button = "pkh068e _8nex5a1 _8nex5a0 x4g6300";
18590
+ var Button$1 = "pkh068e _8nex5a1 _8nex5a0 x4g6300";
18386
18591
  var ButtonFull = "pkh068h";
18387
18592
  var ButtonType = { Dark: "pkh068f", Outline: "pkh068g" };
18388
18593
  var CardText = "pkh06816";
@@ -18391,7 +18596,7 @@ var Dot = { live: "pkh0681b", off: "pkh0681c", needsYou: "pkh0681d" };
18391
18596
  var GetStarted = "pkh068i _8nex5a1 _8nex5a0";
18392
18597
  var GetStartedHead = "pkh068j";
18393
18598
  var GetStartedTitle = "pkh068k";
18394
- var Glow = "pkh068t";
18599
+ var Glow$1 = "pkh068t";
18395
18600
  var Hero = "pkh0686";
18396
18601
  var HeroAside = "pkh068a";
18397
18602
  var HeroText = "pkh0687";
@@ -18406,8 +18611,8 @@ var PageFrame = "pkh0684";
18406
18611
  var Person = "pkh0681q _8nex5a1 _8nex5a0 x4g6300";
18407
18612
  var PersonFace = "pkh0681r";
18408
18613
  var PersonName = "pkh0681s";
18409
- var Progress = "pkh068m";
18410
- var ProgressFill = "pkh068o";
18614
+ var Progress$1 = "pkh068m";
18615
+ var ProgressFill$1 = "pkh068o";
18411
18616
  var ProgressTrack = "pkh068n";
18412
18617
  var Resume = "pkh0681f _8nex5a1 _8nex5a0 x4g6300";
18413
18618
  var RoomCard = "pkh0681g _8nex5a1 _8nex5a0";
@@ -18459,7 +18664,7 @@ const LobbyButton = as(
18459
18664
  Component,
18460
18665
  {
18461
18666
  type: Component === "button" ? "button" : void 0,
18462
- className: classNames(Button, ButtonType[variant], full && ButtonFull, className),
18667
+ className: classNames(Button$1, ButtonType[variant], full && ButtonFull, className),
18463
18668
  ...props,
18464
18669
  ref,
18465
18670
  children: /* @__PURE__ */ jsx(Text, { as: "span", size: "B300", children })
@@ -18467,7 +18672,7 @@ const LobbyButton = as(
18467
18672
  )
18468
18673
  );
18469
18674
  const LobbyProgress = as(
18470
- ({ as: Component = "div", done, total = 3, className, ...props }, ref) => /* @__PURE__ */ jsxs(Component, { className: classNames(Progress, className), ...props, ref, children: [
18675
+ ({ as: Component = "div", done, total = 3, className, ...props }, ref) => /* @__PURE__ */ jsxs(Component, { className: classNames(Progress$1, className), ...props, ref, children: [
18471
18676
  /* @__PURE__ */ jsx(
18472
18677
  "span",
18473
18678
  {
@@ -18477,7 +18682,7 @@ const LobbyProgress = as(
18477
18682
  "aria-valuemax": total,
18478
18683
  "aria-valuenow": done,
18479
18684
  "aria-label": "Get started progress",
18480
- children: /* @__PURE__ */ jsx("span", { className: ProgressFill, style: { width: `${done / total * 100}%` } })
18685
+ children: /* @__PURE__ */ jsx("span", { className: ProgressFill$1, style: { width: `${done / total * 100}%` } })
18481
18686
  }
18482
18687
  ),
18483
18688
  /* @__PURE__ */ jsxs(Text, { as: "span", size: "C400", className: classNames(Secondary, Upright), children: [
@@ -18555,7 +18760,7 @@ const LobbyAgentChoice = as(
18555
18760
  ({ as: Component = "div", mark, name, description, recommended, onAdd, className, ...props }, ref) => /* @__PURE__ */ jsxs(
18556
18761
  Component,
18557
18762
  {
18558
- className: classNames(AgentChoice, recommended && Glow, className),
18763
+ className: classNames(AgentChoice, recommended && Glow$1, className),
18559
18764
  ...props,
18560
18765
  ref,
18561
18766
  children: [
@@ -18655,7 +18860,7 @@ const LobbyRoomCard = as(
18655
18860
  }, ref) => /* @__PURE__ */ jsxs(
18656
18861
  Component,
18657
18862
  {
18658
- className: classNames(RoomCard, suggested && Glow, className),
18863
+ className: classNames(RoomCard, suggested && Glow$1, className),
18659
18864
  ...props,
18660
18865
  ref,
18661
18866
  children: [
@@ -18759,6 +18964,585 @@ const SidebarAddAgent = as(
18759
18964
  }
18760
18965
  )
18761
18966
  );
18967
+ const AccountCard_css_ts_vanilla = "";
18968
+ var Card$2 = "dzm7ge0 _8nex5a1 _8nex5a0";
18969
+ var Slot = "dzm7ge1";
18970
+ const AccountCard = forwardRef(
18971
+ ({ header: header2, footer, children, className, ...props }, ref) => /* @__PURE__ */ jsxs(
18972
+ "div",
18973
+ {
18974
+ ...props,
18975
+ "data-weave-account-card": true,
18976
+ ref,
18977
+ className: classNames(lightTheme, Card$2, className),
18978
+ children: [
18979
+ header2 && /* @__PURE__ */ jsx("div", { className: Slot, children: header2 }),
18980
+ /* @__PURE__ */ jsx("div", { className: Slot, children }),
18981
+ footer && /* @__PURE__ */ jsx("div", { className: Slot, children: footer })
18982
+ ]
18983
+ }
18984
+ )
18985
+ );
18986
+ AccountCard.displayName = "AccountCard";
18987
+ const OnboardingKeyButton_css_ts_vanilla = "";
18988
+ var Button = "_1idz8s11 _8nex5a1 _8nex5a0";
18989
+ var Fill = "_1idz8s13";
18990
+ var Glow = "_1idz8s12";
18991
+ var Label = "_1idz8s14";
18992
+ const OnboardingKeyButton = forwardRef(
18993
+ ({ children, className, type = "button", finishing = false, fullWidth = false, ...props }, ref) => /* @__PURE__ */ jsxs(
18994
+ "button",
18995
+ {
18996
+ ...props,
18997
+ "data-finishing": finishing || void 0,
18998
+ "data-full-width": fullWidth || void 0,
18999
+ ref,
19000
+ type,
19001
+ className: classNames(Button, className),
19002
+ children: [
19003
+ /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: Glow }),
19004
+ /* @__PURE__ */ jsx("span", { "data-weave-key-fill": true, "aria-hidden": "true", className: Fill }),
19005
+ /* @__PURE__ */ jsx("span", { className: Label, children })
19006
+ ]
19007
+ }
19008
+ )
19009
+ );
19010
+ OnboardingKeyButton.displayName = "OnboardingKeyButton";
19011
+ const OptionCard_css_ts_vanilla = "";
19012
+ var Body$1 = "g3b1zp2";
19013
+ var Card$1 = "g3b1zp1 _8nex5a1 _8nex5a0";
19014
+ var Description$1 = "g3b1zp4";
19015
+ var Group$1 = "g3b1zp0";
19016
+ var Indicator = "g3b1zp5";
19017
+ var Title$1 = "g3b1zp3";
19018
+ const OptionCardGroup = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Root2, { ...props, ref, className: classNames(Group$1, className) }));
19019
+ OptionCardGroup.displayName = "OptionCardGroup";
19020
+ const OptionCard = forwardRef(
19021
+ ({ title, description, before, className, ...props }, ref) => {
19022
+ const id = useId$1();
19023
+ return /* @__PURE__ */ jsxs(
19024
+ Item2,
19025
+ {
19026
+ "aria-labelledby": `${id}-title`,
19027
+ "aria-describedby": description ? `${id}-description` : void 0,
19028
+ ...props,
19029
+ ref,
19030
+ className: classNames(Card$1, className),
19031
+ children: [
19032
+ before && /* @__PURE__ */ jsx("span", { "aria-hidden": "true", children: before }),
19033
+ /* @__PURE__ */ jsxs("span", { className: Body$1, children: [
19034
+ /* @__PURE__ */ jsx("span", { id: `${id}-title`, className: Title$1, children: title }),
19035
+ description && /* @__PURE__ */ jsx("span", { id: `${id}-description`, className: Description$1, children: description })
19036
+ ] }),
19037
+ /* @__PURE__ */ jsx("span", { className: Indicator, "aria-hidden": "true", children: /* @__PURE__ */ jsx(Indicator$1, { children: "✓" }) })
19038
+ ]
19039
+ }
19040
+ );
19041
+ }
19042
+ );
19043
+ OptionCard.displayName = "OptionCard";
19044
+ const ColorSwatchPicker_css_ts_vanilla = "";
19045
+ var Check = "_1z0ew4o3";
19046
+ var Group = "_1z0ew4o0";
19047
+ var Paint = "_1z0ew4o2";
19048
+ var Swatch = "_1z0ew4o1 _8nex5a1 _8nex5a0";
19049
+ const ColorSwatchPicker = forwardRef(
19050
+ ({
19051
+ colors = agentColors,
19052
+ disabledColors = [],
19053
+ onValueChange,
19054
+ className,
19055
+ value: selectedValue,
19056
+ defaultValue,
19057
+ ...props
19058
+ }, ref) => /* @__PURE__ */ jsx(
19059
+ Root2,
19060
+ {
19061
+ "aria-label": "Agent colour",
19062
+ ...props,
19063
+ ref,
19064
+ value: selectedValue === void 0 || isAgentColor(selectedValue) ? selectedValue : "",
19065
+ defaultValue: isAgentColor(defaultValue) ? defaultValue : void 0,
19066
+ className: classNames(Group, className),
19067
+ onValueChange: (value) => onValueChange == null ? void 0 : onValueChange(value),
19068
+ children: [...new Set(colors)].filter(isAgentColor).map((value) => {
19069
+ const token = agentColorTokens[value];
19070
+ return /* @__PURE__ */ jsxs(
19071
+ Item2,
19072
+ {
19073
+ value,
19074
+ "aria-label": token.label,
19075
+ disabled: props.disabled || disabledColors.includes(value),
19076
+ className: Swatch,
19077
+ children: [
19078
+ /* @__PURE__ */ jsx(
19079
+ "span",
19080
+ {
19081
+ "aria-hidden": "true",
19082
+ className: Paint,
19083
+ style: { background: `radial-gradient(circle, ${token.center}, ${token.rim})` }
19084
+ }
19085
+ ),
19086
+ /* @__PURE__ */ jsx(Indicator$1, { "aria-hidden": "true", className: Check, children: "✓" })
19087
+ ]
19088
+ },
19089
+ value
19090
+ );
19091
+ })
19092
+ }
19093
+ )
19094
+ );
19095
+ ColorSwatchPicker.displayName = "ColorSwatchPicker";
19096
+ const OnboardingSetup_css_ts_vanilla = "";
19097
+ var Actions = "_10w4f9zc";
19098
+ var Body = "_10w4f9z5";
19099
+ var Description = "_10w4f9z7";
19100
+ var Hidden = "_10w4f9zd";
19101
+ var Navigation = "_10w4f9zb";
19102
+ var Progress = "_10w4f9z0";
19103
+ var ProgressFill = "_10w4f9z2";
19104
+ var ProgressInset = "var(--_10w4f9z1)";
19105
+ var Row = "_10w4f9z3";
19106
+ var Status = "_10w4f9z8";
19107
+ var Title = "_10w4f9z6";
19108
+ var Well = "_10w4f9z4";
19109
+ var Working = "_10w4f9za";
19110
+ const OnboardingProgress = forwardRef(
19111
+ ({ value, max: max2, label, className, ...props }, ref) => {
19112
+ const end = Number.isFinite(max2) && max2 >= 1 ? Math.floor(max2) : 1;
19113
+ const current2 = Number.isFinite(value) ? Math.floor(Math.min(end, Math.max(0, value))) : 0;
19114
+ return /* @__PURE__ */ jsx(
19115
+ "div",
19116
+ {
19117
+ ...props,
19118
+ ref,
19119
+ className: classNames(Progress, className),
19120
+ role: "progressbar",
19121
+ "aria-label": label,
19122
+ "aria-valuemin": 0,
19123
+ "aria-valuemax": end,
19124
+ "aria-valuenow": current2,
19125
+ "aria-valuetext": props["aria-valuetext"] ?? `Step ${current2} of ${end}`,
19126
+ children: /* @__PURE__ */ jsx(
19127
+ "div",
19128
+ {
19129
+ className: ProgressFill,
19130
+ style: {
19131
+ [ProgressInset.slice(4, -1)]: `${100 * (1 - current2 / end)}%`
19132
+ }
19133
+ }
19134
+ )
19135
+ }
19136
+ );
19137
+ }
19138
+ );
19139
+ OnboardingProgress.displayName = "OnboardingProgress";
19140
+ const statusLabels = {
19141
+ idle: "Not started",
19142
+ working: "Working…",
19143
+ ready: "Ready",
19144
+ error: "Could not finish"
19145
+ };
19146
+ const SetupStatusRow = forwardRef(
19147
+ ({
19148
+ title,
19149
+ description,
19150
+ icon: icon2,
19151
+ state,
19152
+ statusText = statusLabels[state],
19153
+ action: action2,
19154
+ className,
19155
+ ...props
19156
+ }, ref) => {
19157
+ const id = useId$1();
19158
+ const statusRef = useRef(null);
19159
+ const actionRef = useRef(null);
19160
+ const bindAction = useCallback((node) => {
19161
+ var _a;
19162
+ if (!node && actionRef.current === document.activeElement)
19163
+ (_a = statusRef.current) == null ? void 0 : _a.focus();
19164
+ actionRef.current = node;
19165
+ }, []);
19166
+ return /* @__PURE__ */ jsxs("div", { ...props, ref, className: classNames(Row, className), children: [
19167
+ icon2 && /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: Well, children: icon2 }),
19168
+ /* @__PURE__ */ jsxs("div", { className: Body, children: [
19169
+ /* @__PURE__ */ jsx("p", { className: Title, children: title }),
19170
+ description && /* @__PURE__ */ jsx("div", { className: Description, children: description })
19171
+ ] }),
19172
+ /* @__PURE__ */ jsxs(
19173
+ "span",
19174
+ {
19175
+ id,
19176
+ role: "status",
19177
+ ref: statusRef,
19178
+ tabIndex: -1,
19179
+ "aria-atomic": "true",
19180
+ "data-state": state,
19181
+ className: Status,
19182
+ children: [
19183
+ /* @__PURE__ */ jsxs("span", { className: Hidden, children: [
19184
+ title,
19185
+ ": "
19186
+ ] }),
19187
+ state === "working" && /* @__PURE__ */ jsxs("span", { "aria-hidden": "true", className: Working, children: [
19188
+ "●",
19189
+ " "
19190
+ ] }),
19191
+ state === "ready" && /* @__PURE__ */ jsx("span", { "aria-hidden": "true", children: "✓ " }),
19192
+ statusText
19193
+ ]
19194
+ }
19195
+ ),
19196
+ action2 && /* @__PURE__ */ jsx(
19197
+ Button$2,
19198
+ {
19199
+ type: "button",
19200
+ variant: "Secondary",
19201
+ ref: bindAction,
19202
+ "aria-disabled": action2.disabled || state === "working" || void 0,
19203
+ onClick: () => {
19204
+ if (!action2.disabled && state !== "working")
19205
+ action2.onClick();
19206
+ },
19207
+ "aria-label": `${action2.label}: ${title}`,
19208
+ children: action2.label
19209
+ }
19210
+ )
19211
+ ] });
19212
+ }
19213
+ );
19214
+ SetupStatusRow.displayName = "SetupStatusRow";
19215
+ const permissionStates = {
19216
+ "not-allowed": "idle",
19217
+ waiting: "working",
19218
+ allowed: "ready",
19219
+ error: "error"
19220
+ };
19221
+ const permissionLabels = {
19222
+ "not-allowed": "Not allowed",
19223
+ waiting: "Waiting for permission…",
19224
+ allowed: "Allowed",
19225
+ error: "Access not granted"
19226
+ };
19227
+ const PermissionRow = forwardRef(
19228
+ ({ state, onAllow, disabled, statusText, actionLabel, ...props }, ref) => /* @__PURE__ */ jsx(
19229
+ SetupStatusRow,
19230
+ {
19231
+ ...props,
19232
+ ref,
19233
+ state: permissionStates[state],
19234
+ statusText: statusText ?? permissionLabels[state],
19235
+ action: onAllow && state !== "allowed" ? {
19236
+ label: actionLabel ?? (state === "error" ? "Try again" : "Allow"),
19237
+ onClick: onAllow,
19238
+ disabled
19239
+ } : void 0
19240
+ }
19241
+ )
19242
+ );
19243
+ PermissionRow.displayName = "PermissionRow";
19244
+ const OnboardingNavigation = forwardRef(
19245
+ ({ back, secondary, primary, className, ...props }, ref) => /* @__PURE__ */ jsxs("div", { ...props, ref, className: classNames(Navigation, className), children: [
19246
+ back,
19247
+ /* @__PURE__ */ jsxs("div", { className: Actions, children: [
19248
+ secondary,
19249
+ primary
19250
+ ] })
19251
+ ] })
19252
+ );
19253
+ OnboardingNavigation.displayName = "OnboardingNavigation";
19254
+ const OnboardingMotion_css_ts_vanilla = "";
19255
+ var Card = "_1b5rjjx3";
19256
+ var Finish = "_1b5rjjx2";
19257
+ var Light = "_1b5rjjx5";
19258
+ var Room = "_1b5rjjx4";
19259
+ var Snapshot = "_1b5rjjx1";
19260
+ var Stage = "_1b5rjjx0";
19261
+ const reduced = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches;
19262
+ const centre = (element) => {
19263
+ const rect = element.getBoundingClientRect();
19264
+ return { x: rect.left + rect.width / 2, y: rect.top + rect.height / 2 };
19265
+ };
19266
+ class OnboardingTransition extends a__default.Component {
19267
+ constructor() {
19268
+ super(...arguments);
19269
+ this.live = a__default.createRef();
19270
+ this.overlay = a__default.createRef();
19271
+ this.running = [];
19272
+ }
19273
+ getSnapshotBeforeUpdate(previous) {
19274
+ const { stepKey } = this.props;
19275
+ const element = this.live.current;
19276
+ if (previous.stepKey === stepKey || !element)
19277
+ return null;
19278
+ const snapshot = element.cloneNode(true);
19279
+ const originals = element.querySelectorAll("input, textarea, select");
19280
+ const copies = snapshot.querySelectorAll("input, textarea, select");
19281
+ originals.forEach((original, index2) => {
19282
+ const copy = copies[index2];
19283
+ if (original instanceof HTMLInputElement && copy instanceof HTMLInputElement) {
19284
+ if (original.type !== "file")
19285
+ copy.value = original.value;
19286
+ copy.checked = original.checked;
19287
+ } else if (original instanceof HTMLTextAreaElement && copy instanceof HTMLTextAreaElement) {
19288
+ copy.value = original.value;
19289
+ } else if (original instanceof HTMLSelectElement && copy instanceof HTMLSelectElement) {
19290
+ Array.from(original.options).forEach((option, optionIndex) => {
19291
+ copy.options[optionIndex].selected = option.selected;
19292
+ });
19293
+ }
19294
+ });
19295
+ snapshot.setAttribute("inert", "");
19296
+ snapshot.setAttribute("aria-hidden", "true");
19297
+ snapshot.querySelectorAll("[id], [name]").forEach((node) => {
19298
+ node.removeAttribute("id");
19299
+ node.removeAttribute("name");
19300
+ });
19301
+ return snapshot;
19302
+ }
19303
+ componentDidUpdate(...args) {
19304
+ const [previous, , snapshot] = args;
19305
+ const { stepKey, direction } = this.props;
19306
+ if (previous.stepKey === stepKey)
19307
+ return;
19308
+ this.clearExit();
19309
+ const element = this.live.current;
19310
+ const host = this.overlay.current;
19311
+ if (!element || !host || !snapshot)
19312
+ return;
19313
+ host.append(snapshot);
19314
+ const offset2 = direction === "back" ? -24 : 24;
19315
+ const simple = reduced();
19316
+ const enter = element.animate(
19317
+ simple ? [{ opacity: 0 }, { opacity: 1 }] : [
19318
+ { opacity: 0, transform: `translateX(${offset2}px)` },
19319
+ { opacity: 1, transform: "translateX(0)" }
19320
+ ],
19321
+ { duration: 240, easing: "ease-out" }
19322
+ );
19323
+ const leave = snapshot.animate(
19324
+ simple ? [{ opacity: 1 }, { opacity: 0 }] : [
19325
+ { opacity: 1, transform: "translateX(0)" },
19326
+ { opacity: 0, transform: `translateX(${-offset2}px)` }
19327
+ ],
19328
+ { duration: 200, easing: "ease-out", fill: "forwards" }
19329
+ );
19330
+ leave.onfinish = () => snapshot.remove();
19331
+ this.running = [enter, leave];
19332
+ }
19333
+ componentWillUnmount() {
19334
+ this.clearExit();
19335
+ }
19336
+ clearExit() {
19337
+ var _a;
19338
+ this.running.forEach((animation) => animation.cancel());
19339
+ this.running = [];
19340
+ (_a = this.overlay.current) == null ? void 0 : _a.replaceChildren();
19341
+ }
19342
+ render() {
19343
+ const { children } = this.props;
19344
+ return /* @__PURE__ */ jsxs("div", { className: Stage, children: [
19345
+ /* @__PURE__ */ jsx("div", { ref: this.overlay, className: Snapshot, "aria-hidden": "true" }),
19346
+ /* @__PURE__ */ jsx("div", { ref: this.live, children })
19347
+ ] });
19348
+ }
19349
+ }
19350
+ function useAgentColorMotion() {
19351
+ const cleanup = useRef(() => void 0);
19352
+ useLayoutEffect(() => () => cleanup.current(), []);
19353
+ return useCallback((source2, target, color2) => {
19354
+ cleanup.current();
19355
+ const animations = [];
19356
+ const start = centre(source2);
19357
+ const end = centre(target);
19358
+ const orb = document.createElement("span");
19359
+ orb.setAttribute("aria-hidden", "true");
19360
+ orb.className = Light;
19361
+ Object.assign(orb.style, {
19362
+ left: `${start.x - 120}px`,
19363
+ top: `${start.y - 120}px`,
19364
+ background: `radial-gradient(circle, ${agentColorTokens[color2].center}, ${agentColorTokens[color2].rim})`
19365
+ });
19366
+ document.body.append(orb);
19367
+ const flight = orb.animate(
19368
+ reduced() ? [{ opacity: 0 }, { opacity: 0 }] : [
19369
+ { transform: "translate(0, 0) scale(.1)", opacity: 1 },
19370
+ {
19371
+ transform: `translate(${end.x - start.x}px, ${end.y - start.y}px) scale(.1)`,
19372
+ opacity: 1
19373
+ }
19374
+ ],
19375
+ { duration: reduced() ? 0 : 240, easing: "cubic-bezier(.55,0,1,.45)", fill: "forwards" }
19376
+ );
19377
+ animations.push(flight);
19378
+ flight.onfinish = () => {
19379
+ orb.style.left = `${end.x - 120}px`;
19380
+ orb.style.top = `${end.y - 120}px`;
19381
+ flight.cancel();
19382
+ const bloom = orb.animate(
19383
+ reduced() ? [{ opacity: 0.3 }, { opacity: 0 }] : [
19384
+ { transform: "scale(.08)", opacity: 1 },
19385
+ { transform: "scale(.6)", opacity: 0 }
19386
+ ],
19387
+ { duration: 300 }
19388
+ );
19389
+ animations.push(bloom);
19390
+ bloom.onfinish = () => orb.remove();
19391
+ if (!reduced())
19392
+ animations.push(
19393
+ target.animate(
19394
+ [{ transform: "scale(1)" }, { transform: "scale(1.12)" }, { transform: "scale(1)" }],
19395
+ { duration: 300 }
19396
+ )
19397
+ );
19398
+ };
19399
+ cleanup.current = () => {
19400
+ animations.forEach((animation) => animation.cancel());
19401
+ orb.remove();
19402
+ };
19403
+ }, []);
19404
+ }
19405
+ const OnboardingFinish = ({
19406
+ active,
19407
+ color: color2,
19408
+ originRef,
19409
+ destinationRef,
19410
+ card: card2,
19411
+ room,
19412
+ roomLabel = "Your first room",
19413
+ className
19414
+ }) => {
19415
+ const host = useRef(null);
19416
+ const cardRef = useRef(null);
19417
+ const roomRef = useRef(null);
19418
+ const latestColor = useRef(color2);
19419
+ latestColor.current = color2;
19420
+ const wasActive = useRef(false);
19421
+ const [fieldFinish, setFieldFinish] = useState();
19422
+ useLayoutEffect(() => {
19423
+ var _a;
19424
+ const cardElement = cardRef.current;
19425
+ const roomElement = roomRef.current;
19426
+ if (!active || !host.current || !cardElement || !roomElement) {
19427
+ setFieldFinish(void 0);
19428
+ if (wasActive.current && document.activeElement === document.body) {
19429
+ (_a = cardElement == null ? void 0 : cardElement.querySelector(
19430
+ 'button:not([disabled]):not([aria-disabled="true"]):not([tabindex="-1"]), input:not([disabled]):not([type="hidden"]):not([tabindex="-1"]), [tabindex]:not([disabled]):not([aria-disabled="true"]):not([tabindex="-1"])'
19431
+ )) == null ? void 0 : _a.focus({ preventScroll: true });
19432
+ }
19433
+ wasActive.current = false;
19434
+ return void 0;
19435
+ }
19436
+ wasActive.current = true;
19437
+ const start = centre(originRef.current ?? cardElement);
19438
+ const end = centre(destinationRef.current ?? roomElement);
19439
+ const bounds = host.current.getBoundingClientRect();
19440
+ const cardCentre = centre(cardElement);
19441
+ const simple = reduced();
19442
+ setFieldFinish({
19443
+ origin: {
19444
+ x: (start.x - bounds.left) / (bounds.width || 1),
19445
+ y: (start.y - bounds.top) / (bounds.height || 1)
19446
+ },
19447
+ startedAt: performance.now()
19448
+ });
19449
+ const animations = [];
19450
+ const focusWasInCard = cardElement.contains(document.activeElement);
19451
+ cardElement.setAttribute("inert", "");
19452
+ cardElement.setAttribute("aria-hidden", "true");
19453
+ if (focusWasInCard)
19454
+ roomElement.focus({ preventScroll: true });
19455
+ animations.push(
19456
+ cardElement.animate(
19457
+ simple ? [{ opacity: 1 }, { opacity: 0 }] : [
19458
+ { opacity: 1, transform: "translate(0, 0) scale(1)", filter: "blur(0px)" },
19459
+ {
19460
+ opacity: 0,
19461
+ transform: `translate(${start.x - cardCentre.x}px, ${start.y - cardCentre.y}px) scale(.03)`,
19462
+ filter: "blur(18px)"
19463
+ }
19464
+ ],
19465
+ { duration: simple ? 180 : 650, easing: "ease-in", fill: "forwards" }
19466
+ )
19467
+ );
19468
+ animations.push(
19469
+ roomElement.animate([{ opacity: 0 }, { opacity: 1 }], {
19470
+ duration: simple ? 180 : 600,
19471
+ delay: simple ? 0 : 800,
19472
+ fill: "both"
19473
+ })
19474
+ );
19475
+ const light = document.createElement("span");
19476
+ light.className = Light;
19477
+ light.setAttribute("aria-hidden", "true");
19478
+ Object.assign(light.style, {
19479
+ left: `${start.x - 120}px`,
19480
+ top: `${start.y - 120}px`,
19481
+ background: agentColorTokens[latestColor.current].center
19482
+ });
19483
+ document.body.append(light);
19484
+ if (!simple) {
19485
+ const reveal = light.animate(
19486
+ [
19487
+ { transform: "translate(0, 0) scale(.05)", opacity: 0, filter: "blur(0px)", offset: 0 },
19488
+ {
19489
+ transform: "translate(0, 0) scale(5)",
19490
+ opacity: 0.85,
19491
+ filter: "blur(20px)",
19492
+ offset: 0.625
19493
+ },
19494
+ {
19495
+ transform: `translate(${end.x - start.x}px, ${end.y - start.y}px) scale(.15)`,
19496
+ opacity: 0,
19497
+ filter: "blur(0px)",
19498
+ offset: 1
19499
+ }
19500
+ ],
19501
+ { duration: 1600, easing: "ease-in-out" }
19502
+ );
19503
+ animations.push(reveal);
19504
+ reveal.onfinish = () => {
19505
+ light.remove();
19506
+ if (destinationRef.current && !reduced())
19507
+ animations.push(
19508
+ destinationRef.current.animate(
19509
+ [{ transform: "scale(1)" }, { transform: "scale(1.15)" }, { transform: "scale(1)" }],
19510
+ { duration: 200 }
19511
+ )
19512
+ );
19513
+ };
19514
+ } else
19515
+ light.remove();
19516
+ const preference = window.matchMedia("(prefers-reduced-motion: reduce)");
19517
+ const stopMovement = () => {
19518
+ if (!preference.matches)
19519
+ return;
19520
+ animations.forEach((animation) => animation.finish());
19521
+ light.remove();
19522
+ };
19523
+ preference.addEventListener("change", stopMovement);
19524
+ return () => {
19525
+ preference.removeEventListener("change", stopMovement);
19526
+ animations.forEach((animation) => animation.cancel());
19527
+ light.remove();
19528
+ cardElement.removeAttribute("inert");
19529
+ cardElement.removeAttribute("aria-hidden");
19530
+ };
19531
+ }, [active, originRef, destinationRef]);
19532
+ return /* @__PURE__ */ jsxs("div", { ref: host, className: [Finish, className].filter(Boolean).join(" "), children: [
19533
+ /* @__PURE__ */ jsx(OrbBackground, { agentColor: color2, finish: fieldFinish }),
19534
+ /* @__PURE__ */ jsx(
19535
+ "div",
19536
+ {
19537
+ ref: cardRef,
19538
+ className: Card,
19539
+ style: active ? { position: "absolute", inset: 0, pointerEvents: "none" } : void 0,
19540
+ children: card2
19541
+ }
19542
+ ),
19543
+ active && /* @__PURE__ */ jsx("div", { ref: roomRef, className: Room, role: "region", "aria-label": roomLabel, tabIndex: -1, children: room })
19544
+ ] });
19545
+ };
18762
19546
  function ActionGroup({ actions, hint: hint$1 }) {
18763
19547
  return /* @__PURE__ */ jsxs("div", { className: actionSection, children: [
18764
19548
  /* @__PURE__ */ jsx("div", { className: actionGroup, role: "group", "aria-label": "Draft a PR request", children: actions.map((action$1) => /* @__PURE__ */ jsxs(
@@ -18782,6 +19566,7 @@ export {
18782
19566
  AGENT_MARK_PLATE_DEFAULT,
18783
19567
  AGENT_MARK_PLATE_VAR,
18784
19568
  AGENT_STATE_MARKS,
19569
+ AccountCard,
18785
19570
  ActionGroup,
18786
19571
  ActivityGroup,
18787
19572
  ActivityHeader,
@@ -18797,9 +19582,10 @@ export {
18797
19582
  AvatarImage,
18798
19583
  Badge,
18799
19584
  Box,
18800
- Button$1 as Button,
19585
+ Button$2 as Button,
18801
19586
  Checkbox,
18802
19587
  Chip,
19588
+ ColorSwatchPicker,
18803
19589
  CommonsTab,
18804
19590
  CommonsTabStrip,
18805
19591
  ComposeIcon,
@@ -18850,11 +19636,19 @@ export {
18850
19636
  LobbyStep,
18851
19637
  LobbyYourAgentCard,
18852
19638
  MOBILE_BREAKPOINT,
19639
+ MediaFrame,
18853
19640
  MemberTypeTag,
18854
19641
  Menu,
18855
19642
  MenuItem,
18856
19643
  Modal,
18857
19644
  NavCollapseRow,
19645
+ OnboardingFinish,
19646
+ OnboardingKeyButton,
19647
+ OnboardingNavigation,
19648
+ OnboardingProgress,
19649
+ OnboardingTransition,
19650
+ OptionCard,
19651
+ OptionCardGroup,
18858
19652
  OrbBackground,
18859
19653
  OrbBackgroundHost,
18860
19654
  Overlay,
@@ -18879,6 +19673,7 @@ export {
18879
19673
  PeopleGlyph,
18880
19674
  PeopleLine,
18881
19675
  PeopleLineFace,
19676
+ PermissionRow,
18882
19677
  PopOut,
18883
19678
  PopOutContainerProvider,
18884
19679
  Portal,
@@ -18903,6 +19698,7 @@ export {
18903
19698
  SequenceCard,
18904
19699
  ServerBadge,
18905
19700
  FormRow as SettingTile,
19701
+ SetupStatusRow,
18906
19702
  Sidebar,
18907
19703
  SidebarAddAgent,
18908
19704
  SidebarAvatar,
@@ -18942,7 +19738,12 @@ export {
18942
19738
  UnreadBadge,
18943
19739
  UnreadBadgeCenter,
18944
19740
  abbreviateCount,
19741
+ agentColorTokens,
19742
+ agentColors,
19743
+ agentIdentityFamilies,
19744
+ agentIdentityIndex,
18945
19745
  as,
19746
+ auraColorTokens,
18946
19747
  avatarRadii,
18947
19748
  avatarSizes,
18948
19749
  blueAccent,
@@ -18966,11 +19767,13 @@ export {
18966
19767
  getScreenSize,
18967
19768
  identityFamilies,
18968
19769
  identityValues,
19770
+ isAgentColor,
18969
19771
  lightClass,
18970
19772
  lightColorValues,
18971
19773
  lightTheme,
18972
19774
  motion,
18973
19775
  mountAliveMark,
19776
+ onboardingTokens,
18974
19777
  percent,
18975
19778
  personAvatarInk,
18976
19779
  personAvatarTones,
@@ -18982,6 +19785,7 @@ export {
18982
19785
  toSrgbHex,
18983
19786
  typeTileIcon,
18984
19787
  uiFontFamily,
19788
+ useAgentColorMotion,
18985
19789
  useElementSizeObserver,
18986
19790
  useOverlayContainer,
18987
19791
  usePopOutContainer,