@vellumai/web 0.11.2 → 0.11.3-staging.2

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 (893) hide show
  1. package/dist/assets/AnimatePresence-D41IKJOi.js +9 -0
  2. package/dist/assets/BundleConfirmPage-DSomDpj_.js +1 -0
  3. package/dist/assets/Combination-BswM2qVy.js +41 -0
  4. package/dist/assets/a2a-invite-DPoues5o.js +1 -0
  5. package/dist/assets/about-page-XEhyTfeX.js +1 -0
  6. package/dist/assets/access-DWtJQvRI.js +1 -0
  7. package/dist/assets/account-page-D03pCcnz.js +1 -0
  8. package/dist/assets/account-shell-DmVQwtZ0.js +1 -0
  9. package/dist/assets/acp-run-actions-BtRROeN9.js +1 -0
  10. package/dist/assets/acp-run-detail-panel-COs66Yrd.js +5 -0
  11. package/dist/assets/acp-run-store-DAOLku4B.js +1 -0
  12. package/dist/assets/activity-steps-panel-CLjBxqNs.js +1 -0
  13. package/dist/assets/add-credential-modal-DKu25tMg.js +1 -0
  14. package/dist/assets/add-credits-modal-CPXbw5lH.js +1 -0
  15. package/dist/assets/ai-page-D4GbPprS.js +1 -0
  16. package/dist/assets/animate-CEUNjqNk.js +1 -0
  17. package/dist/assets/animated-avatar-COfAYU4u.js +1 -0
  18. package/dist/assets/api-DwULK0El.js +1 -0
  19. package/dist/assets/api-JA_IDAQk.js +1 -0
  20. package/dist/assets/api-errors-BQX1Pzcm.js +1 -0
  21. package/dist/assets/api-key-screen-vFF5CrFw.js +1 -0
  22. package/dist/assets/app-card-B7C46-7O.js +1 -0
  23. package/dist/assets/app-info-Du9AiJU5.js +1 -0
  24. package/dist/assets/archive-VIStcSec.js +1 -0
  25. package/dist/assets/archive-redirect-page-01RJCSug.js +1 -0
  26. package/dist/assets/arrow-down-to-line-DmG4pLoU.js +1 -0
  27. package/dist/assets/arrow-left-BikDV6F2.js +1 -0
  28. package/dist/assets/arrow-right-UTImTy7b.js +1 -0
  29. package/dist/assets/arrow-up-C0gtfKEK.js +1 -0
  30. package/dist/assets/assistant-feature-flag-store-qYfAdlBG.js +1 -0
  31. package/dist/assets/assistant-identity-store-nE-e8KQw.js +1 -0
  32. package/dist/assets/assistant-status-panel-CDUAp33H.js +1 -0
  33. package/dist/assets/auth-store-DkOiOQNx.js +2 -0
  34. package/dist/assets/avatar-random-BiLhcs1I.js +1 -0
  35. package/dist/assets/avatar-renderer-CsRuhhXn.js +1 -0
  36. package/dist/assets/background-task-actions-NhVu8iWU.js +1 -0
  37. package/dist/assets/background-task-detail-panel-xFGqYCUz.js +1 -0
  38. package/dist/assets/background-task-store-B1MUU_bh.js +1 -0
  39. package/dist/assets/ban-Dk1OXyCw.js +1 -0
  40. package/dist/assets/bell-aW0w-ROt.js +1 -0
  41. package/dist/assets/billing-page-n2hU_EAj.js +3 -0
  42. package/dist/assets/billing-redirect-page-CXWO9YOz.js +1 -0
  43. package/dist/assets/bookmarks-page-DqXq2CVJ.js +1 -0
  44. package/dist/assets/brain-ZiC0HCCF.js +1 -0
  45. package/dist/assets/browser-BP3Xidk_.js +2 -0
  46. package/dist/assets/bug-CDEs1Scu.js +1 -0
  47. package/dist/assets/build-state-B0f3Jn2o.js +1 -0
  48. package/dist/assets/button-BENY-yx_.js +1 -0
  49. package/dist/assets/calendar-CTyC1v1L.js +1 -0
  50. package/dist/assets/capture-error-Cw5vs0Ef.js +4 -0
  51. package/dist/assets/card-q0GJX1HZ.js +1 -0
  52. package/dist/assets/channels-page-route-CbV05RLi.js +9 -0
  53. package/dist/assets/chart-column-CEHOik7U.js +1 -0
  54. package/dist/assets/chat-avatar-BPhNOZzd.js +1 -0
  55. package/dist/assets/chat-layout-slots-store-N_sabTbs.js +1 -0
  56. package/dist/assets/chat-markdown-message-WfT4JUja.js +1 -0
  57. package/dist/assets/check-DSgjgwlo.js +1 -0
  58. package/dist/assets/checkbox-C4x4HEp4.js +1 -0
  59. package/dist/assets/checkout-continuation-GOQDBt2E.js +1 -0
  60. package/dist/assets/checkout-page-BxYwG3J8.js +1 -0
  61. package/dist/assets/checkout-return-target-VIzzqviy.js +1 -0
  62. package/dist/assets/chevron-down-CrFV6lfm.js +1 -0
  63. package/dist/assets/chevron-left-D-pnIQax.js +1 -0
  64. package/dist/assets/chevron-right-DBGgpEiZ.js +1 -0
  65. package/dist/assets/chevron-up-B84s50b8.js +1 -0
  66. package/dist/assets/chunk-5KNZJZUH-BUqIilZr.js +4 -0
  67. package/dist/assets/circle-alert-De9q5FVd.js +1 -0
  68. package/dist/assets/circle-check-big-CpoRGdNz.js +1 -0
  69. package/dist/assets/circle-check-q8BVdbgw.js +1 -0
  70. package/dist/assets/circle-minus-Y3lFnfyL.js +1 -0
  71. package/dist/assets/circle-x-B5rnAOe1.js +1 -0
  72. package/dist/assets/client-feature-flag-store-C8ieIAKe.js +1 -0
  73. package/dist/assets/client-perf-C-xVLAvQ.js +1 -0
  74. package/dist/assets/clipboard-copy-BOU_-XoC.js +1 -0
  75. package/dist/assets/clock-B8umTTHk.js +1 -0
  76. package/dist/assets/cloud-DqktQX50.js +1 -0
  77. package/dist/assets/cloud-off-DyOAnFan.js +1 -0
  78. package/dist/assets/cn-DFWryB3N.js +1 -0
  79. package/dist/assets/code-DwZ6Mhdw.js +1 -0
  80. package/dist/assets/coins-CJ7Ik1IC.js +1 -0
  81. package/dist/assets/command-palette-DSxHNf_m.js +1 -0
  82. package/dist/assets/command-palette-window-page-9lbssBKp.js +1 -0
  83. package/dist/assets/common-wFfOb0rN.js +1 -0
  84. package/dist/assets/community-page-y8OhCqww.js +1 -0
  85. package/dist/assets/companion-surface-page-qd2dSp0Y.js +1 -0
  86. package/dist/assets/composer-settings-MHDtr31Y.js +1 -0
  87. package/dist/assets/confirm-dialog-zx8L9sUi.js +1 -0
  88. package/dist/assets/connect-page-D91p52dR.js +1 -0
  89. package/dist/assets/consent-C4SGGEiM.js +1 -0
  90. package/dist/assets/consent-controls-SQ8G-LrA.js +1 -0
  91. package/dist/assets/contacts-gateway-Cz3rbqgT.js +1 -0
  92. package/dist/assets/contacts-page-route-BE3oNfhk.js +1 -0
  93. package/dist/assets/conversation-cache-BmhpM_P6.js +1 -0
  94. package/dist/assets/conversation-list-fetchers-D3FmANI4.js +1 -0
  95. package/dist/assets/conversation-navigation-DbQqV_fs.js +1 -0
  96. package/dist/assets/conversation-queries-CMEwcap1.js +1 -0
  97. package/dist/assets/conversation-selection-DXYpE4U8.js +1 -0
  98. package/dist/assets/conversation-store-D4pZBwP5.js +1 -0
  99. package/dist/assets/copy-to-clipboard-DnJHokIa.js +1 -0
  100. package/dist/assets/cpu-mDttg6J1.js +1 -0
  101. package/dist/assets/credential-entry-page-FApfdSCG.js +1 -0
  102. package/dist/assets/credentials-page-DKfIMfUB.js +1 -0
  103. package/dist/assets/csv-preview-DB8q0b_y.js +4 -0
  104. package/dist/assets/daily-reset-time-B2-pE2Lv.js +1 -0
  105. package/dist/assets/danger-zone-redirect-page-BndgqH35.js +1 -0
  106. package/dist/assets/debug-page-DpWI-aFX.js +4 -0
  107. package/dist/assets/deploy-dialogs-BhY-urVH.js +1 -0
  108. package/dist/assets/deploy-store-OFWDAEgC.js +1 -0
  109. package/dist/assets/desktop-voice-activity-C53ZhMf7.js +1 -0
  110. package/dist/assets/detail-card-Dsnf52vg.js +1 -0
  111. package/dist/assets/detail-drawer-AKY7keIJ.js +1 -0
  112. package/dist/assets/detail-panel-stop-button-Cvnn4hYA.js +1 -0
  113. package/dist/assets/detail-shell-g6Pw4jiP.js +1 -0
  114. package/dist/assets/developer-page-CSFTdMiT.js +1 -0
  115. package/dist/assets/device-settings-DZvv4pnY.js +1 -0
  116. package/dist/assets/devices-redirect-page-BHCkcGl_.js +1 -0
  117. package/dist/assets/diagnostics-6dSlxnyU.js +1 -0
  118. package/dist/assets/dictation-overlay-DQnD0C9N.js +1 -0
  119. package/dist/assets/dictation-overlay-page-14QkB_bU.js +1 -0
  120. package/dist/assets/dist-BA9prIz1.js +1 -0
  121. package/dist/assets/dist-C5_d6Zkz.js +1 -0
  122. package/dist/assets/dist-DHB1G-V6.js +1 -0
  123. package/dist/assets/dist-DlYszVmN.js +1 -0
  124. package/dist/assets/doctor-handoff-store-DeQSIF5u.js +1 -0
  125. package/dist/assets/document-viewer-container-Bousf9D9.js +2 -0
  126. package/dist/assets/document-viewer-page-CJuMnNZk.js +1 -0
  127. package/dist/assets/download-Byg0fi0d.js +1 -0
  128. package/dist/assets/edge-swipe-arbiter-store-aOM60mqn.js +1 -0
  129. package/dist/assets/effective-timezone-CjGPHJlt.js +1 -0
  130. package/dist/assets/ellipsis-C7C3LPFH.js +1 -0
  131. package/dist/assets/ellipsis-vertical-eVgdKn9z.js +1 -0
  132. package/dist/assets/emails-page-CMoX6WSY.js +1 -0
  133. package/dist/assets/environment-store-CFfbiF-5.js +1 -0
  134. package/dist/assets/esm-B6_bGmvI.js +2 -0
  135. package/dist/assets/esm-BbMfqncR.js +2 -0
  136. package/dist/assets/esm-C-UZ0OO7.js +2 -0
  137. package/dist/assets/esm-C5lNGXsv.js +2 -0
  138. package/dist/assets/esm-CJlTYv9E.js +1 -0
  139. package/dist/assets/esm-CxjtrkZ5.js +1 -0
  140. package/dist/assets/esm-DUw7nXxb.js +2 -0
  141. package/dist/assets/esm-RwtNn1Lo.js +2 -0
  142. package/dist/assets/esm-ozIdE2iD.js +2 -0
  143. package/dist/assets/external-link-vwewPjbo.js +1 -0
  144. package/dist/assets/eye-GcssNJdY.js +1 -0
  145. package/dist/assets/eye-off-BwU7XK4M.js +1 -0
  146. package/dist/assets/feature-flag-catalog-BOqgTYGM.js +1 -0
  147. package/dist/assets/field-Dq8jxCGe.js +1 -0
  148. package/dist/assets/file-CTdxLT0k.js +1 -0
  149. package/dist/assets/file-code-Cw2JhKbm.js +1 -0
  150. package/dist/assets/file-editor-BwWJX7zO.js +1 -0
  151. package/dist/assets/file-markdown-CZPyyZhu.js +2 -0
  152. package/dist/assets/file-plus-D0O_zjgz.js +1 -0
  153. package/dist/assets/file-text-DDbRSMUn.js +1 -0
  154. package/dist/assets/first-run-scope-jh9sT0_v.js +1 -0
  155. package/dist/assets/folder-DBR-Zigu.js +1 -0
  156. package/dist/assets/folder-open-BBs1-i8r.js +1 -0
  157. package/dist/assets/format-date-Bi9Bsv-w.js +1 -0
  158. package/dist/assets/funnel-events-BU99LZEM.js +1 -0
  159. package/dist/assets/general-page-Biad-auh.js +1 -0
  160. package/dist/assets/get-memory-stats-CgfjHhot.js +1 -0
  161. package/dist/assets/globe-COk-NH9x.js +1 -0
  162. package/dist/assets/haptics-Mqend0Ru.js +2 -0
  163. package/dist/assets/hard-drive-DsHzx0GK.js +1 -0
  164. package/dist/assets/hatching-screen-DtMbgBm6.js +1 -0
  165. package/dist/assets/heart-CRsy5qXC.js +1 -0
  166. package/dist/assets/home-page-route-k81d1Zsb.js +1 -0
  167. package/dist/assets/home-tool-permission-card-Bytpm6bE.js +1 -0
  168. package/dist/assets/hosting-screen-C-6MdEhq.js +1 -0
  169. package/dist/assets/identity-DTcIPrCK.js +1 -0
  170. package/dist/assets/identity-page-route-BEobbSBV.js +7 -0
  171. package/dist/assets/inbox-Zbr4HDc_.js +1 -0
  172. package/dist/assets/index-BI5VpYa-.js +11 -0
  173. package/dist/assets/index-_S2T-6in.css +2 -0
  174. package/dist/assets/info-CXkwGlN_.js +1 -0
  175. package/dist/assets/ingest-Cv1Pem27.js +1 -0
  176. package/dist/assets/input-DmHXRXaB.js +1 -0
  177. package/dist/assets/inspect-page-BSPJgPij.js +9 -0
  178. package/dist/assets/installed-plugins-query-CIcohCho.js +1 -0
  179. package/dist/assets/integration-icon-R8opqT3n.js +1 -0
  180. package/dist/assets/integrations-page-DNYDhZHQ.js +1 -0
  181. package/dist/assets/intelligence-layout-CDcBeu8K.js +1 -0
  182. package/dist/assets/invalidate-memory-queries-CdJoJc7n.js +1 -0
  183. package/dist/assets/invalidate-plugin-queries-zbCn3jP3.js +1 -0
  184. package/dist/assets/key-round-B-C1Qgxd.js +1 -0
  185. package/dist/assets/keyboard-shortcuts-redirect-page-C620LY5q.js +1 -0
  186. package/dist/assets/laptop-BXuIFbVm.js +1 -0
  187. package/dist/assets/latest-assistant-text-Daw8nrLO.js +24 -0
  188. package/dist/assets/layout-grid-C3h1DMhl.js +1 -0
  189. package/dist/assets/library-detail-page-D5EeSRdZ.js +1 -0
  190. package/dist/assets/library-page-wPVeE7u1.js +1 -0
  191. package/dist/assets/lightbulb-DqvoPoCk.js +1 -0
  192. package/dist/assets/link-2-Bm55xvLL.js +1 -0
  193. package/dist/assets/link-DMi999lz.js +1 -0
  194. package/dist/assets/list-O_53kvwx.js +1 -0
  195. package/dist/assets/loader-circle-DOtGXcds.js +1 -0
  196. package/dist/assets/local-mode-BfEgOekp.js +39 -0
  197. package/dist/assets/local-runtime-upgrade-DyHUCz7A.js +1 -0
  198. package/dist/assets/log-in-BkWp0GjS.js +1 -0
  199. package/dist/assets/log-out-un0hWR_E.js +1 -0
  200. package/dist/assets/login-flow-B8CUFAeg.js +1 -0
  201. package/dist/assets/login-page-BgXMUzWB.js +1 -0
  202. package/dist/assets/logout-page-COe8dRLu.js +1 -0
  203. package/dist/assets/logs-layout-BGd_aSZ_.js +1 -0
  204. package/dist/assets/mail-CYjppw70.js +1 -0
  205. package/dist/assets/media-preview-DVQJVzX3.js +1 -0
  206. package/dist/assets/memory-page-route-BGEmbUCl.js +6 -0
  207. package/dist/assets/memory-router-playground-page-B4DX4CON.js +3 -0
  208. package/dist/assets/menu-DKE_-iVc.js +1 -0
  209. package/dist/assets/message-circle-C6QWfv9m.js +1 -0
  210. package/dist/assets/message-content-Beh5mR15.js +1 -0
  211. package/dist/assets/message-files-panel-DTDXhD0C.js +1 -0
  212. package/dist/assets/message-square-BjBDqFUX.js +1 -0
  213. package/dist/assets/message-square-text-Crbwae27.js +1 -0
  214. package/dist/assets/messages-D2OJUCHs.js +13 -0
  215. package/dist/assets/metric-card-DgbUgyv7.js +1 -0
  216. package/dist/assets/mic-bZFqVBA_.js +1 -0
  217. package/dist/assets/middleware-DiHdH8q1.js +1 -0
  218. package/dist/assets/minimize-2-D5pX5fY1.js +1 -0
  219. package/dist/assets/mobile-sidebar-drawer-CRXVtqcP.js +1 -0
  220. package/dist/assets/modal-DI63s9MQ.js +1 -0
  221. package/dist/assets/monitor-CPgcKlQP.js +1 -0
  222. package/dist/assets/moon-D9N1oSgM.js +1 -0
  223. package/dist/assets/multi-activity-group-Chyfm08f.js +1 -0
  224. package/dist/assets/native-anchor-CpFd0dIc.js +1 -0
  225. package/dist/assets/native-auth-error-B9Iha2zU.js +1 -0
  226. package/dist/assets/native-file-BUoRmAbj.js +2 -0
  227. package/dist/assets/navigation-resolver-DrNVOkMu.js +1 -0
  228. package/dist/assets/not-found-ClBCK2Sg.js +4 -0
  229. package/dist/assets/notice-C0ifrvvJ.js +1 -0
  230. package/dist/assets/notifications-G7qqgf4f.js +1 -0
  231. package/dist/assets/notifications-page-AW-ftrs5.js +1 -0
  232. package/dist/assets/oauth-complete-page-CfuABbuw.js +105 -0
  233. package/dist/assets/oauth-connection-utils-CPrZGY1J.js +1 -0
  234. package/dist/assets/oauth-popup-complete-page-C4obhyly.js +105 -0
  235. package/dist/assets/onboarding-layout-C534GRct.js +1 -0
  236. package/dist/assets/onboarding-store-_SsI8JK5.js +1 -0
  237. package/dist/assets/open-workspace-file-C4HWMBzn.js +2 -0
  238. package/dist/assets/page-empty-state-DtjiuvvO.js +1 -0
  239. package/dist/assets/page-shell-CkfnwmIw.js +1 -0
  240. package/dist/assets/page-surface-store-CNB4IeOj.js +1 -0
  241. package/dist/assets/pairing-page-CGoWIhv7.js +1 -0
  242. package/dist/assets/paperclip-CQEdxfSq.js +1 -0
  243. package/dist/assets/password-reset-page-DPLHUy40.js +1 -0
  244. package/dist/assets/pdf-file-preview-n0uEV6st.js +1 -0
  245. package/dist/assets/pdf-preview-DNzKWskr.js +2 -0
  246. package/dist/assets/pencil-DidiUknI.js +1 -0
  247. package/dist/assets/personality-page-CEbJMhDR.js +1 -0
  248. package/dist/assets/plans-page-DXCrcLo8.js +1 -0
  249. package/dist/assets/platform-detection-C_TK32Dw.js +6 -0
  250. package/dist/assets/platform-login-notice-CIpebDVw.js +1 -0
  251. package/dist/assets/platform-loopback-page-BJf6yE-E.js +1 -0
  252. package/dist/assets/play-UYtEUTRg.js +1 -0
  253. package/dist/assets/plugin-detail-page-CnlqMl6e.js +1 -0
  254. package/dist/assets/plugins-page-DN9FdRf7.js +1 -0
  255. package/dist/assets/plugins-surface-C5i913ST.js +1 -0
  256. package/dist/assets/plus-DnH9Pjq4.js +1 -0
  257. package/dist/assets/popover-CAbJ9178.js +1 -0
  258. package/dist/assets/prefs-CrbuxuNI.js +1 -0
  259. package/dist/assets/preview-error-CihmwI1t.js +1 -0
  260. package/dist/assets/preview-skeleton-DsTQ51Kh.js +1 -0
  261. package/dist/assets/privacy-page-CxAYEG0r.js +1 -0
  262. package/dist/assets/privacy-screen-DAzWoGQI.js +1 -0
  263. package/dist/assets/profile-pickers-ChG4_Gpc.js +1 -0
  264. package/dist/assets/progress-bar-CrrJKpWm.js +1 -0
  265. package/dist/assets/provider-callback-page--oWycq5i.js +1 -0
  266. package/dist/assets/provider-key-BZOH9D9k.js +1 -0
  267. package/dist/assets/provider-signup-page-BaGT8Jl4.js +1 -0
  268. package/dist/assets/provisioning-targets-BQdyCh_j.js +1 -0
  269. package/dist/assets/proxy-B4sTDdE4.js +1 -0
  270. package/dist/assets/push-registration-C0GXHrCj.js +2 -0
  271. package/dist/assets/puzzle-CIWAeBs0.js +1 -0
  272. package/dist/assets/quick-input-page-BSDKtVff.js +1 -0
  273. package/dist/assets/react-query.gen-DKb3mEwJ.js +1 -0
  274. package/dist/assets/react-query.gen-DxjuNs-5.js +1 -0
  275. package/dist/assets/reduced-motion-DiWTepDn.js +1 -0
  276. package/dist/assets/refresh-cw-DV6tvYxO.js +1 -0
  277. package/dist/assets/remote-gateway-session-CgDx1fv1.js +1 -0
  278. package/dist/assets/remove-from-device-dialog-C0eaWxwl.js +1 -0
  279. package/dist/assets/repeat-BvvxRT2U.js +1 -0
  280. package/dist/assets/research-facts-xV6xeZTm.js +1 -0
  281. package/dist/assets/research-mock-page-EswkjK_L.js +1 -0
  282. package/dist/assets/research-onboarding-persistence-CiHHjoc-.js +1 -0
  283. package/dist/assets/research-onboarding-route-CXimVFK6.js +50 -0
  284. package/dist/assets/research-results-view-CBP6WMg5.js +3 -0
  285. package/dist/assets/resolved-assistants-store-BFI9c7ip.js +1 -0
  286. package/dist/assets/retire-confirm-dialog-B1bvTlHS.js +1 -0
  287. package/dist/assets/review-terms-screen-BxxGJL-B.js +1 -0
  288. package/dist/assets/rotate-ccw-Dcfo4EC8.js +1 -0
  289. package/dist/assets/routes-ZeXUrnzY.js +23 -0
  290. package/dist/assets/routes-iipg2wkc.js +1 -0
  291. package/dist/assets/runtime-upgrade-banner--bSmfygH.js +2 -0
  292. package/dist/assets/sandbox-bridge-BlniBIsp.js +266 -0
  293. package/dist/assets/schedules-CMISpWUM.js +1 -0
  294. package/dist/assets/schedules-kVuR00ra.js +1 -0
  295. package/dist/assets/schedules-page-DCUj-YbP.js +1 -0
  296. package/dist/assets/sdk.gen-CBPZ2IdN.js +6 -0
  297. package/dist/assets/sdk.gen-DKYWIHI7.js +1 -0
  298. package/dist/assets/search-D2xMZu1P.js +1 -0
  299. package/dist/assets/security-redirect-page-B6xNHoo8.js +1 -0
  300. package/dist/assets/select-B8-i-CZ4.js +1 -0
  301. package/dist/assets/select-assistant-screen-C5Cl_pCp.js +1 -0
  302. package/dist/assets/self-hosted-servers-DFgP80iG.js +1 -0
  303. package/dist/assets/send-BlX2px_R.js +1 -0
  304. package/dist/assets/setting-row-Be421VTJ.js +1 -0
  305. package/dist/assets/settings-751LDGs_.js +1 -0
  306. package/dist/assets/settings-divider-BuDc875f.js +1 -0
  307. package/dist/assets/settings-layout-Clnlm1aB.js +1 -0
  308. package/dist/assets/settings-navigation-Cn3KCxOe.js +1 -0
  309. package/dist/assets/share-feedback-modal-COUhsUqF.js +2 -0
  310. package/dist/assets/shield-CCHFIJHf.js +1 -0
  311. package/dist/assets/shield-check-zaoUwOKj.js +1 -0
  312. package/dist/assets/shim-DQit20z4.js +1 -0
  313. package/dist/assets/sidebar-tree-BXbcoj07.js +1 -0
  314. package/dist/assets/signup-page-C9ZrCSVo.js +1 -0
  315. package/dist/assets/signup-shell-B_xxhiVU.js +1 -0
  316. package/dist/assets/site-favicon-B3DMFtr3.js +1 -0
  317. package/dist/assets/skeleton-CJJwPIil.js +1 -0
  318. package/dist/assets/skill-detail-page-Ckw6_1PG.js +2 -0
  319. package/dist/assets/skill-detail-panel-DdYbYHuj.js +1 -0
  320. package/dist/assets/skills-Lf85mR9L.js +1 -0
  321. package/dist/assets/skills-page-BIFWyp46.js +1 -0
  322. package/dist/assets/sliders-horizontal-Dd2oGqSf.js +1 -0
  323. package/dist/assets/smartphone-BTdDwse2.js +1 -0
  324. package/dist/assets/sound-manager-jVvPdZzE.js +1 -0
  325. package/dist/assets/sounds-page-BKelzwyH.js +1 -0
  326. package/dist/assets/sparkles-B94iNYGJ.js +1 -0
  327. package/dist/assets/square-CE8V_WXJ.js +1 -0
  328. package/dist/assets/src-hNk11eS3.js +293 -0
  329. package/dist/assets/start-screen-CXUDtHbL.js +1 -0
  330. package/dist/assets/stt-language-picker-modal-B5MO-3gk.js +1 -0
  331. package/dist/assets/subagent-detail-panel-BKhU7VAv.js +4 -0
  332. package/dist/assets/subagent-store-9SqF-NFa.js +3 -0
  333. package/dist/assets/sun-DnK4LisT.js +1 -0
  334. package/dist/assets/superpowers-page-gPiU1fsq.js +1 -0
  335. package/dist/assets/surface-parse-helpers-Dpxz8G3q.js +1 -0
  336. package/dist/assets/system-events-page-DbcoH4sh.js +1 -0
  337. package/dist/assets/system-events-redirect-page-D4H-Pi8R.js +1 -0
  338. package/dist/assets/tag-DeMzQvCo.js +1 -0
  339. package/dist/assets/telegram-setup-wizard-C4E0wi1B.js +1 -0
  340. package/dist/assets/terminal-CkQ9DSF2.js +1 -0
  341. package/dist/assets/text-preview-KOyX3OrO.js +1 -0
  342. package/dist/assets/theme-preferences-5grl-uOq.js +1 -0
  343. package/dist/assets/theme-stage-page-D4DYc_C8.js +1 -0
  344. package/dist/assets/threshold-presets-DgMnAyqn.js +1 -0
  345. package/dist/assets/tiptap-document-editor-CDIJTTa_.js +282 -0
  346. package/dist/assets/toast-BpuLSxyt.js +1 -0
  347. package/dist/assets/toggle-C-v4x7_A.js +1 -0
  348. package/dist/assets/tool-detail-panel-CmbBw4_n.js +2 -0
  349. package/dist/assets/trash-2-BKXSi5Tj.js +1 -0
  350. package/dist/assets/triangle-alert-CB4pJgCL.js +1 -0
  351. package/dist/assets/trust-rules-api-DvCWJ952.js +1 -0
  352. package/dist/assets/typed-storage-lk6_tW16.js +1 -0
  353. package/dist/assets/typography-BeUa5Fd-.js +1 -0
  354. package/dist/assets/upgrade-cancel-page-DfjtkvP9.js +1 -0
  355. package/dist/assets/upgrade-success-page-BDWg5oK4.js +1 -0
  356. package/dist/assets/upload-CZL0kXl9.js +1 -0
  357. package/dist/assets/usage-redirect-page-B4weibcd.js +1 -0
  358. package/dist/assets/use-active-assistant-id-BvHP5Ojg.js +1 -0
  359. package/dist/assets/use-app-theme-CV9AULGm.js +1 -0
  360. package/dist/assets/use-assistant-avatar-Dd-EU1FC.js +1 -0
  361. package/dist/assets/use-assistant-capability-y4ML0NOY.js +1 -0
  362. package/dist/assets/use-assistant-identity-details-BAgi4MHa.js +1 -0
  363. package/dist/assets/use-attachment-preview-CB3GsEns.js +2 -0
  364. package/dist/assets/use-attachment-squares-DPuVHGRC.js +1 -0
  365. package/dist/assets/use-avatar-accent-var-B7jzoU_Q.js +1 -0
  366. package/dist/assets/use-bookmarks-C6IlHWIK.js +1 -0
  367. package/dist/assets/use-bundled-avatar-components-CJR9zw0E.js +2 -0
  368. package/dist/assets/use-bus-subscription-0lId9jya.js +1 -0
  369. package/dist/assets/use-checkout-dismiss-refresh-CDwSKr1-.js +1 -0
  370. package/dist/assets/use-command-palette-sections-DXzS2Tio.js +1 -0
  371. package/dist/assets/use-copy-to-clipboard-CT4aISCf.js +1 -0
  372. package/dist/assets/use-discord-nudge-BxJE92fj.js +1 -0
  373. package/dist/assets/use-edge-swipe-Di2s_nu-.js +1 -0
  374. package/dist/assets/use-edge-swipe-back-ZgANxgKE.js +2 -0
  375. package/dist/assets/use-edit-app-BHUYCv4X.js +1 -0
  376. package/dist/assets/use-effective-timezone-BZgsy8ZD.js +1 -0
  377. package/dist/assets/use-invite-link-dialog-CdY5FNQa.js +1 -0
  378. package/dist/assets/use-is-org-ready-BmOdacs1.js +1 -0
  379. package/dist/assets/use-local-file-info-2nORgZPN.js +1 -0
  380. package/dist/assets/use-onboarding-login-BUaNGE_u.js +1 -0
  381. package/dist/assets/use-platform-assistant-id-CEMyKEvV.js +1 -0
  382. package/dist/assets/use-platform-gate-CdwOyQ8A.js +1 -0
  383. package/dist/assets/use-reduced-motion-CaGZSwLZ.js +1 -0
  384. package/dist/assets/use-return-to-short-circuit-CTYRB2Ne.js +1 -0
  385. package/dist/assets/use-save-twilio-credentials-D5Zb65WS.js +1 -0
  386. package/dist/assets/use-skill-actions-GbdM3IIw.js +1 -0
  387. package/dist/assets/use-skill-detail-files-DUcVEycw.js +1 -0
  388. package/dist/assets/use-sticky-profiles-LVe9u5gh.js +1 -0
  389. package/dist/assets/use-subagent-card-data-CFKl88ab.js +1 -0
  390. package/dist/assets/use-supports-bookmarks-z9pfj1Rm.js +1 -0
  391. package/dist/assets/use-supports-credentials-settings-CEPArXBW.js +1 -0
  392. package/dist/assets/use-swipe-engine-DkOpo76V.js +1 -0
  393. package/dist/assets/use-transcript-message-by-id-cDbEJMB-.js +1 -0
  394. package/dist/assets/use-transcript-messages-vw2Hogaj.js +3 -0
  395. package/dist/assets/use-voice-sample-preview-BjIqIVEG.js +1 -0
  396. package/dist/assets/user-Djte2CiZ.js +1 -0
  397. package/dist/assets/user-plus-DAap8I1c.js +1 -0
  398. package/dist/assets/users-XI0CRYkf.js +1 -0
  399. package/dist/assets/utils-CVoSWh7U.js +1 -0
  400. package/dist/assets/video-BS0zvFDX.js +1 -0
  401. package/dist/assets/viewer-store-DhrkeZmJ.js +1 -0
  402. package/dist/assets/voice-list-DnqRx15F.js +1 -0
  403. package/dist/assets/voice-page-CrrYAE9k.js +1 -0
  404. package/dist/assets/voice-providers-note-ValSs0nz.js +1 -0
  405. package/dist/assets/volume-2-CyoXrHNM.js +1 -0
  406. package/dist/assets/weather-forecast-display-CJR2u0Gd.js +1 -0
  407. package/dist/assets/web-CXS_l-lJ.js +1 -0
  408. package/dist/assets/web-CqJa0YiZ.js +1 -0
  409. package/dist/assets/web-DCPqcuLM.js +1 -0
  410. package/dist/assets/web-DVqaJeU8.js +1 -0
  411. package/dist/assets/web-DdnbzgLo.js +1 -0
  412. package/dist/assets/web-_uNzzGZK.js +1 -0
  413. package/dist/assets/web-n3kDbr36.js +1 -0
  414. package/dist/assets/web-wVbU7QGN.js +1 -0
  415. package/dist/assets/welcome-screen-CiBqE53u.js +1 -0
  416. package/dist/assets/workflow-CXyPzVz4.js +1 -0
  417. package/dist/assets/workflow-detail-panel-crM7HRfK.js +1 -0
  418. package/dist/assets/workflow-store-D0DBQy44.js +1 -0
  419. package/dist/assets/workspace-page-iAsgehav.js +1 -0
  420. package/dist/assets/workspace-tree-query-Djht8L1-.js +1 -0
  421. package/dist/assets/wrench-BIRk4-Cp.js +1 -0
  422. package/dist/assets/x-338EsJDP.js +1 -0
  423. package/dist/images/integrations/ATTRIBUTION.md +72 -0
  424. package/dist/images/integrations/airtable.svg +1 -0
  425. package/dist/images/integrations/asana.svg +1 -0
  426. package/dist/images/integrations/discord.svg +1 -0
  427. package/dist/images/integrations/dropbox.svg +1 -0
  428. package/dist/images/integrations/hubspot.svg +1 -0
  429. package/dist/images/integrations/salesforce.svg +5 -0
  430. package/dist/images/integrations/sanity.svg +1 -0
  431. package/dist/images/integrations/spotify.svg +1 -0
  432. package/dist/images/integrations/telegram.svg +1 -0
  433. package/dist/images/integrations/todoist.svg +1 -0
  434. package/dist/images/integrations/x.svg +1 -0
  435. package/dist/index.html +301 -287
  436. package/package.json +1 -1
  437. package/dist/assets/AnimatePresence-CHo6D7IH.js +0 -9
  438. package/dist/assets/BundleConfirmPage-j6ko1Z2E.js +0 -1
  439. package/dist/assets/Combination-TPH8qx8I.js +0 -41
  440. package/dist/assets/a2a-invite-Bld7VHkJ.js +0 -1
  441. package/dist/assets/about-page-BBS2ZLwu.js +0 -1
  442. package/dist/assets/access-PKx6h0AJ.js +0 -1
  443. package/dist/assets/account-page-DucijMvM.js +0 -1
  444. package/dist/assets/account-shell-BBDh-DzD.js +0 -1
  445. package/dist/assets/acp-run-actions-zSUs8U3N.js +0 -1
  446. package/dist/assets/acp-run-detail-panel-DJ6moBbf.js +0 -5
  447. package/dist/assets/acp-run-store-DdzY8U9Y.js +0 -1
  448. package/dist/assets/activity-steps-panel-C95hN_fd.js +0 -1
  449. package/dist/assets/add-credential-modal-BbvTHJmF.js +0 -1
  450. package/dist/assets/add-credits-modal-C5d63VSi.js +0 -1
  451. package/dist/assets/ai-page-CbNTYziv.js +0 -1
  452. package/dist/assets/animated-avatar-B0vCEKkY.js +0 -1
  453. package/dist/assets/api-CGsj1Pig.js +0 -1
  454. package/dist/assets/api-errors-BRGPPSWw.js +0 -1
  455. package/dist/assets/api-key-screen-B5zgGiwa.js +0 -1
  456. package/dist/assets/api-pN-AgY8Q.js +0 -1
  457. package/dist/assets/app-card-CxO44OqN.js +0 -1
  458. package/dist/assets/app-info-BDq_9VB8.js +0 -1
  459. package/dist/assets/archive-BQ3zdIPv.js +0 -1
  460. package/dist/assets/archive-redirect-page-Cxcg7zGt.js +0 -1
  461. package/dist/assets/arrow-down-to-line-DMGjBlMw.js +0 -1
  462. package/dist/assets/arrow-left-W84B6oJL.js +0 -1
  463. package/dist/assets/arrow-right-ChqGeAaW.js +0 -1
  464. package/dist/assets/arrow-up-CWzHzcyU.js +0 -1
  465. package/dist/assets/assistant-feature-flag-store-BojuHxUH.js +0 -1
  466. package/dist/assets/assistant-identity-store-B51BX78j.js +0 -1
  467. package/dist/assets/assistant-status-panel-ZdWgKADH.js +0 -1
  468. package/dist/assets/auth-store-C9aYqB9U.js +0 -2
  469. package/dist/assets/avatar-random-BR8w4F35.js +0 -1
  470. package/dist/assets/avatar-renderer-TpNgmnU1.js +0 -1
  471. package/dist/assets/background-task-actions-DmocXKSr.js +0 -1
  472. package/dist/assets/background-task-detail-panel-BvgkgKs6.js +0 -1
  473. package/dist/assets/background-task-store-DpOSZFT8.js +0 -1
  474. package/dist/assets/ban-BKp90l-0.js +0 -1
  475. package/dist/assets/bell-2SnK9BVD.js +0 -1
  476. package/dist/assets/billing-page-CSxWbmCW.js +0 -3
  477. package/dist/assets/billing-redirect-page-QFlD3jYy.js +0 -1
  478. package/dist/assets/bookmarks-page-hFDlAWts.js +0 -1
  479. package/dist/assets/brain-CN4zzNgU.js +0 -1
  480. package/dist/assets/browser-CcdNg0HN.js +0 -2
  481. package/dist/assets/bug-DdmWJIkz.js +0 -1
  482. package/dist/assets/build-state-9uUe0jN5.js +0 -1
  483. package/dist/assets/button-BwFudwM5.js +0 -1
  484. package/dist/assets/calendar-qrPKlf1H.js +0 -1
  485. package/dist/assets/capture-error-CqtAGHQu.js +0 -4
  486. package/dist/assets/card-DRIctGVs.js +0 -1
  487. package/dist/assets/channels-page-route-Cxn_zS-J.js +0 -9
  488. package/dist/assets/chart-column-k8S2UYq8.js +0 -1
  489. package/dist/assets/chat-avatar-B5fx9Xm3.js +0 -1
  490. package/dist/assets/chat-layout-slots-store-DP8MgnXi.js +0 -1
  491. package/dist/assets/chat-markdown-message-BZZsrGyj.js +0 -1
  492. package/dist/assets/check-Dt2rQhdg.js +0 -1
  493. package/dist/assets/checkbox-fzrjTRTI.js +0 -1
  494. package/dist/assets/checkout-continuation-CYDyrqci.js +0 -1
  495. package/dist/assets/checkout-page-lDrK4V11.js +0 -1
  496. package/dist/assets/checkout-return-target-BStfEab4.js +0 -1
  497. package/dist/assets/chevron-down-BNidRDh1.js +0 -1
  498. package/dist/assets/chevron-left-CrxnPze-.js +0 -1
  499. package/dist/assets/chevron-right-CANAtgGn.js +0 -1
  500. package/dist/assets/chevron-up-DofScvyy.js +0 -1
  501. package/dist/assets/chunk-5KNZJZUH-Bsoom5--.js +0 -4
  502. package/dist/assets/circle-alert-DQMH8VJH.js +0 -1
  503. package/dist/assets/circle-check-DvrCdroD.js +0 -1
  504. package/dist/assets/circle-check-big-DtV6IJuh.js +0 -1
  505. package/dist/assets/circle-minus-BBDKV6k6.js +0 -1
  506. package/dist/assets/circle-x-DTjJzoQl.js +0 -1
  507. package/dist/assets/client-feature-flag-store-Cw39NfCq.js +0 -1
  508. package/dist/assets/client-identity-BZBfwdGQ.js +0 -1
  509. package/dist/assets/clipboard-copy-BYpgEh2O.js +0 -1
  510. package/dist/assets/clock-DeynsyYL.js +0 -1
  511. package/dist/assets/cloud-off-BFACQbO0.js +0 -1
  512. package/dist/assets/cloud-q4J30bVb.js +0 -1
  513. package/dist/assets/cn-CJf7MmLX.js +0 -1
  514. package/dist/assets/code-D6SOwRrI.js +0 -1
  515. package/dist/assets/coins-CcTuNVlN.js +0 -1
  516. package/dist/assets/command-palette-Bzsl-t3p.js +0 -1
  517. package/dist/assets/command-palette-window-page-DjfAe-7N.js +0 -1
  518. package/dist/assets/community-page-CktLEQl7.js +0 -1
  519. package/dist/assets/confirm-dialog-B7WBNDbT.js +0 -1
  520. package/dist/assets/connect-page-hrIJuX_v.js +0 -1
  521. package/dist/assets/consent-controls-HYcVhQZ2.js +0 -1
  522. package/dist/assets/consent-logPJwKV.js +0 -1
  523. package/dist/assets/contacts-gateway-DRzp5PC6.js +0 -1
  524. package/dist/assets/contacts-page-route-CX57wU3L.js +0 -1
  525. package/dist/assets/conversation-cache-D1AJdwZd.js +0 -1
  526. package/dist/assets/conversation-list-fetchers-C6W8PkvR.js +0 -1
  527. package/dist/assets/conversation-navigation-CIHBMx2t.js +0 -1
  528. package/dist/assets/conversation-queries-BBj4FfQn.js +0 -1
  529. package/dist/assets/conversation-selection-CJs3Fnse.js +0 -1
  530. package/dist/assets/conversation-store-CTMy9QPV.js +0 -1
  531. package/dist/assets/copy-to-clipboard-Y0mxY68V.js +0 -1
  532. package/dist/assets/credential-entry-page-DQOv-Jyx.js +0 -1
  533. package/dist/assets/credentials-page-C0eeGia5.js +0 -1
  534. package/dist/assets/csv-preview-C4T5JLx3.js +0 -4
  535. package/dist/assets/danger-zone-redirect-page-CIt8Y6Rf.js +0 -1
  536. package/dist/assets/debug-page-DzXHo3zM.js +0 -4
  537. package/dist/assets/deploy-dialogs-DQGwptOi.js +0 -1
  538. package/dist/assets/deploy-store-BJh0AR_u.js +0 -1
  539. package/dist/assets/detail-card-Br_T-73R.js +0 -1
  540. package/dist/assets/detail-drawer-Cbj_q7o7.js +0 -1
  541. package/dist/assets/detail-panel-stop-button-DN2NrxEh.js +0 -1
  542. package/dist/assets/detail-shell-BuJMM-9z.js +0 -1
  543. package/dist/assets/developer-page-Cj9JWAsX.js +0 -1
  544. package/dist/assets/device-settings-CUIsZfaf.js +0 -1
  545. package/dist/assets/devices-redirect-page-DePzNUvG.js +0 -1
  546. package/dist/assets/diagnostics-DykDXmF3.js +0 -1
  547. package/dist/assets/dices-C3diFTyP.js +0 -1
  548. package/dist/assets/dictation-overlay-CnPWVnXc.js +0 -1
  549. package/dist/assets/dictation-overlay-page-C9yp3YUN.js +0 -1
  550. package/dist/assets/dist-B5IUaBWa.js +0 -1
  551. package/dist/assets/dist-BrrL0-_M.js +0 -1
  552. package/dist/assets/dist-DWcXIgDR.js +0 -1
  553. package/dist/assets/doctor-handoff-store-CvOwsVRo.js +0 -1
  554. package/dist/assets/document-viewer-container-CPc9KTln.js +0 -2
  555. package/dist/assets/document-viewer-page-BqJvQQmH.js +0 -1
  556. package/dist/assets/download-Cnb8zZrK.js +0 -1
  557. package/dist/assets/dropdown-CJVkL1Yp.js +0 -1
  558. package/dist/assets/edge-swipe-arbiter-store-BwC23ScO.js +0 -1
  559. package/dist/assets/effective-timezone-BX46fWmk.js +0 -1
  560. package/dist/assets/ellipsis-C5fQnusC.js +0 -1
  561. package/dist/assets/ellipsis-vertical-qQRDY5dB.js +0 -1
  562. package/dist/assets/emails-page-DwQ-FnOD.js +0 -1
  563. package/dist/assets/environment-store-DxX3xxt2.js +0 -1
  564. package/dist/assets/esm-754moU0G.js +0 -2
  565. package/dist/assets/esm-Bek1ps3d.js +0 -2
  566. package/dist/assets/esm-CMkpCv1_.js +0 -2
  567. package/dist/assets/esm-ChJ8E5v0.js +0 -1
  568. package/dist/assets/esm-DjeyDwcY.js +0 -2
  569. package/dist/assets/esm-Jw5qNk7q.js +0 -2
  570. package/dist/assets/esm-S7iZcDlp.js +0 -1
  571. package/dist/assets/esm-Tsd0irpJ.js +0 -2
  572. package/dist/assets/esm-UxVM8v-Z.js +0 -2
  573. package/dist/assets/external-link-GPGZ1LGU.js +0 -1
  574. package/dist/assets/eye-B_jBDDRn.js +0 -1
  575. package/dist/assets/eye-off-DQ4xakzN.js +0 -1
  576. package/dist/assets/feature-flag-catalog-CpyCubJW.js +0 -1
  577. package/dist/assets/file-DOePafLU.js +0 -1
  578. package/dist/assets/file-code-CrtJR2ax.js +0 -1
  579. package/dist/assets/file-editor-BigdI9HF.js +0 -1
  580. package/dist/assets/file-markdown-eU8RUJQZ.js +0 -2
  581. package/dist/assets/file-plus-DjC7wnGp.js +0 -1
  582. package/dist/assets/file-text-CwGsMgaa.js +0 -1
  583. package/dist/assets/first-run-scope-DqdWmMO-.js +0 -1
  584. package/dist/assets/folder-_l8GIyQp.js +0 -1
  585. package/dist/assets/folder-open-BTlvhHNO.js +0 -1
  586. package/dist/assets/format-date-CQUMvfqf.js +0 -1
  587. package/dist/assets/funnel-events-B9hFLlxs.js +0 -1
  588. package/dist/assets/general-page-uFG7UTqR.js +0 -1
  589. package/dist/assets/get-memory-stats-BnRGtUPT.js +0 -1
  590. package/dist/assets/globe-CdLn4IX7.js +0 -1
  591. package/dist/assets/haptics-C4p_Rjba.js +0 -2
  592. package/dist/assets/hard-drive-sI2ZzmqM.js +0 -1
  593. package/dist/assets/hatching-screen-CWZvcZVI.js +0 -1
  594. package/dist/assets/heart-DFD4eqW-.js +0 -1
  595. package/dist/assets/home-page-route-zQaUf7gb.js +0 -1
  596. package/dist/assets/hosting-screen-lGuLVQVG.js +0 -1
  597. package/dist/assets/identity-BplXBnQ5.js +0 -1
  598. package/dist/assets/identity-page-route-C64OsL5_.js +0 -7
  599. package/dist/assets/inbox-OC3STytq.js +0 -1
  600. package/dist/assets/index-Cn_k9u0x.css +0 -2
  601. package/dist/assets/index-D-1mlWsA.js +0 -11
  602. package/dist/assets/info-DkhVkzmK.js +0 -1
  603. package/dist/assets/ingest-BzFSv_f8.js +0 -1
  604. package/dist/assets/input-CgGeKtja.js +0 -1
  605. package/dist/assets/inspect-page-DdXP831Q.js +0 -9
  606. package/dist/assets/installed-plugins-query-3ACToZeY.js +0 -1
  607. package/dist/assets/integration-icon-B1G4FQT2.js +0 -1
  608. package/dist/assets/integrations-page-DmQCd8GV.js +0 -1
  609. package/dist/assets/intelligence-layout-IptAIgHy.js +0 -1
  610. package/dist/assets/invalidate-memory-queries-DonPN3eH.js +0 -1
  611. package/dist/assets/invalidate-plugin-queries-B0OpJSUW.js +0 -1
  612. package/dist/assets/key-round-BFkuiQGH.js +0 -1
  613. package/dist/assets/keyboard-shortcuts-redirect-page-DTabmI62.js +0 -1
  614. package/dist/assets/laptop-BGOychmC.js +0 -1
  615. package/dist/assets/latest-assistant-text-CwHBWP6s.js +0 -24
  616. package/dist/assets/layout-grid-Ct4RT2Ea.js +0 -1
  617. package/dist/assets/library-detail-page-Ddel5wXb.js +0 -1
  618. package/dist/assets/library-page-B4k0PNa8.js +0 -1
  619. package/dist/assets/lightbulb-NdZMkb6Y.js +0 -1
  620. package/dist/assets/link-2-DhyrrFaE.js +0 -1
  621. package/dist/assets/link-DOobzBVg.js +0 -1
  622. package/dist/assets/list-D2LnQ7lS.js +0 -1
  623. package/dist/assets/loader-circle-DWWXcfTQ.js +0 -1
  624. package/dist/assets/local-mode-DHueA-BJ.js +0 -39
  625. package/dist/assets/local-runtime-upgrade-CnY-6TiF.js +0 -1
  626. package/dist/assets/log-in-D4nsqRbG.js +0 -1
  627. package/dist/assets/log-out-CF9mMMsz.js +0 -1
  628. package/dist/assets/login-flow-CQhvCbQQ.js +0 -1
  629. package/dist/assets/login-page-CRIed3qa.js +0 -1
  630. package/dist/assets/logout-page-Ne05SAbm.js +0 -1
  631. package/dist/assets/logs-layout-BN5HA58-.js +0 -1
  632. package/dist/assets/mail-DyUf40pu.js +0 -1
  633. package/dist/assets/media-preview-D9t2Q84i.js +0 -1
  634. package/dist/assets/memory-page-route-Mz8GlpcX.js +0 -6
  635. package/dist/assets/memory-router-playground-page-CeIkpuOW.js +0 -3
  636. package/dist/assets/menu-Cfi4A3sw.js +0 -1
  637. package/dist/assets/message-circle-ByXBaIaq.js +0 -1
  638. package/dist/assets/message-content-B6_GZQl9.js +0 -1
  639. package/dist/assets/message-files-panel-C8sWLQ58.js +0 -1
  640. package/dist/assets/message-square-CHUvAEY9.js +0 -1
  641. package/dist/assets/message-square-text-CN_v46So.js +0 -1
  642. package/dist/assets/messages-BTSYvzWZ.js +0 -13
  643. package/dist/assets/metric-card-CczTqF_s.js +0 -1
  644. package/dist/assets/mic-BZZo0R22.js +0 -1
  645. package/dist/assets/middleware-Bxr-mmHu.js +0 -1
  646. package/dist/assets/minimize-2-Dj9FY4aF.js +0 -1
  647. package/dist/assets/mobile-sidebar-drawer-CSAugzxJ.js +0 -1
  648. package/dist/assets/modal-DagTZ8xj.js +0 -1
  649. package/dist/assets/monitor-RX4oi4Nj.js +0 -1
  650. package/dist/assets/moon-CHW45huN.js +0 -1
  651. package/dist/assets/mutation-error-Cp0Jaqnt.js +0 -1
  652. package/dist/assets/native-anchor-D1Sy2PbD.js +0 -1
  653. package/dist/assets/native-biometric-DetUqtjl.js +0 -6
  654. package/dist/assets/native-file-B71h3csB.js +0 -2
  655. package/dist/assets/navigation-resolver-CzEY-5nE.js +0 -1
  656. package/dist/assets/not-found-C1zvwDkh.js +0 -1
  657. package/dist/assets/notice-Dslxs3H6.js +0 -1
  658. package/dist/assets/notifications-BTG4cTbF.js +0 -1
  659. package/dist/assets/notifications-page-BzoWNM1e.js +0 -1
  660. package/dist/assets/oauth-complete-page-3xYlafpb.js +0 -105
  661. package/dist/assets/oauth-connection-utils-BrGz4Zc5.js +0 -1
  662. package/dist/assets/oauth-popup-complete-page-BtwDCi5P.js +0 -105
  663. package/dist/assets/onboarding-layout-CNKJRWfe.js +0 -1
  664. package/dist/assets/onboarding-store-BiTZenvP.js +0 -1
  665. package/dist/assets/open-workspace-file-DAlt8chN.js +0 -2
  666. package/dist/assets/page-empty-state-D-y7eP1V.js +0 -1
  667. package/dist/assets/page-shell-Dx-efyAO.js +0 -1
  668. package/dist/assets/pairing-page-BqjYohpZ.js +0 -1
  669. package/dist/assets/panel-item-5YQ3jbso.js +0 -1
  670. package/dist/assets/paperclip--f908Kg3.js +0 -1
  671. package/dist/assets/password-reset-page-SsfAE_J-.js +0 -1
  672. package/dist/assets/pdf-file-preview-Dj8vmmw-.js +0 -1
  673. package/dist/assets/pdf-preview-pscVmtvX.js +0 -2
  674. package/dist/assets/pencil-Cm5DdeRM.js +0 -1
  675. package/dist/assets/personality-page-CB98MeIQ.js +0 -1
  676. package/dist/assets/plans-page-BcR_kjJL.js +0 -1
  677. package/dist/assets/platform-detection-AHYibqOx.js +0 -1
  678. package/dist/assets/platform-login-notice-DvWjpI2S.js +0 -1
  679. package/dist/assets/platform-loopback-page-BGF_H8f_.js +0 -1
  680. package/dist/assets/play-Dh6Bw5AP.js +0 -1
  681. package/dist/assets/plugin-detail-page-UUM9vxvV.js +0 -1
  682. package/dist/assets/plugins-page-Dae3rghA.js +0 -1
  683. package/dist/assets/plugins-surface-C_pFzsVo.js +0 -1
  684. package/dist/assets/plus-EJu6s6xR.js +0 -1
  685. package/dist/assets/popover-CBYgK7Wt.js +0 -1
  686. package/dist/assets/prefs-CfRaGUUx.js +0 -1
  687. package/dist/assets/preview-error-DzUxX6Jy.js +0 -1
  688. package/dist/assets/preview-skeleton-Biw3dosM.js +0 -1
  689. package/dist/assets/privacy-page-B9zfD9a-.js +0 -1
  690. package/dist/assets/privacy-screen-Btqk8OjG.js +0 -1
  691. package/dist/assets/progress-bar-3GUUAhXi.js +0 -1
  692. package/dist/assets/provider-callback-page-Jul4gNdZ.js +0 -1
  693. package/dist/assets/provider-key-BZOwvE14.js +0 -1
  694. package/dist/assets/provider-signup-page-C47ij2Um.js +0 -1
  695. package/dist/assets/provisioning-targets-Cah9jNBe.js +0 -1
  696. package/dist/assets/proxy-DrtKRLtr.js +0 -1
  697. package/dist/assets/puzzle-4NgH5snP.js +0 -1
  698. package/dist/assets/quick-input-page-BYf7UWY4.js +0 -1
  699. package/dist/assets/react-query.gen-BtYBixpk.js +0 -1
  700. package/dist/assets/react-query.gen-C7om930f.js +0 -1
  701. package/dist/assets/refresh-cw-EZQqnaxp.js +0 -1
  702. package/dist/assets/remote-gateway-session-C8pRadB2.js +0 -1
  703. package/dist/assets/repeat-CP_vsQPN.js +0 -1
  704. package/dist/assets/research-facts-BUfgocIh.js +0 -1
  705. package/dist/assets/research-mock-page-DthnGXhi.js +0 -1
  706. package/dist/assets/research-onboarding-persistence-DwV372yy.js +0 -1
  707. package/dist/assets/research-onboarding-route-Cql_2-1F.js +0 -50
  708. package/dist/assets/research-results-view-BYpW36E0.js +0 -3
  709. package/dist/assets/resolved-assistants-store-C6oDdTxB.js +0 -1
  710. package/dist/assets/retire-confirm-dialog-PvFzzHrQ.js +0 -1
  711. package/dist/assets/review-terms-screen-BpE_z8HY.js +0 -1
  712. package/dist/assets/rotate-ccw-CL6IkaAI.js +0 -1
  713. package/dist/assets/routes-DRAnvlxS.js +0 -23
  714. package/dist/assets/routes-DrfnNoYS.js +0 -1
  715. package/dist/assets/runtime-upgrade-banner-Blp8EyfL.js +0 -2
  716. package/dist/assets/sandbox-bridge-B5H4c27m.js +0 -266
  717. package/dist/assets/schedules-_ofAwdnr.js +0 -1
  718. package/dist/assets/schedules-page-D6KPJIUP.js +0 -1
  719. package/dist/assets/sdk.gen-CjtCuSlS.js +0 -6
  720. package/dist/assets/sdk.gen-ies09CqM.js +0 -1
  721. package/dist/assets/search-DL-2uX3K.js +0 -1
  722. package/dist/assets/security-redirect-page-B9T_2mcB.js +0 -1
  723. package/dist/assets/select-assistant-screen-DH6QRKdk.js +0 -1
  724. package/dist/assets/send-Bdmy_GSE.js +0 -1
  725. package/dist/assets/setting-row-C4jX7c_4.js +0 -1
  726. package/dist/assets/settings-6_RIT4kT.js +0 -1
  727. package/dist/assets/settings-divider-COV4-sHz.js +0 -1
  728. package/dist/assets/settings-layout-CyMD8Ey7.js +0 -1
  729. package/dist/assets/settings-navigation-CyH-twYD.js +0 -1
  730. package/dist/assets/share-feedback-modal-NfuDPoEg.js +0 -2
  731. package/dist/assets/shield-CAWgGAqm.js +0 -1
  732. package/dist/assets/shield-check-CNsbiH1v.js +0 -1
  733. package/dist/assets/sidebar-tree-DTcPYrOG.js +0 -1
  734. package/dist/assets/signup-page-BAEo45pt.js +0 -1
  735. package/dist/assets/signup-shell-Dwuv81sx.js +0 -1
  736. package/dist/assets/site-favicon-DkjZF9mC.js +0 -1
  737. package/dist/assets/skill-detail-page-CzCcXCkp.js +0 -1
  738. package/dist/assets/skill-detail-panel-B1Kxa3zf.js +0 -1
  739. package/dist/assets/skills-CrZ3GlyK.js +0 -1
  740. package/dist/assets/skills-page-CNYM3Qsj.js +0 -1
  741. package/dist/assets/slack-setup-wizard-CeBY_rKV.js +0 -1
  742. package/dist/assets/sliders-horizontal-BwdOIxz8.js +0 -1
  743. package/dist/assets/smartphone-CIrxb2NM.js +0 -1
  744. package/dist/assets/sound-manager-Bv6Sc7Ut.js +0 -1
  745. package/dist/assets/sounds-page-Bpeq0MQn.js +0 -1
  746. package/dist/assets/sparkles-DfEFn3Bh.js +0 -1
  747. package/dist/assets/square-DTFrgbZb.js +0 -1
  748. package/dist/assets/src-CwGlaCIx.js +0 -293
  749. package/dist/assets/start-screen-wyemTUjV.js +0 -1
  750. package/dist/assets/subagent-detail-panel-C3II8umu.js +0 -4
  751. package/dist/assets/subagent-store-DibRR9Ij.js +0 -3
  752. package/dist/assets/sun-BauGiwdK.js +0 -1
  753. package/dist/assets/superpowers-page-DmIZ_ed4.js +0 -1
  754. package/dist/assets/surface-parse-helpers-iPHZ9D7N.js +0 -1
  755. package/dist/assets/system-events-page-DAbap4FJ.js +0 -1
  756. package/dist/assets/system-events-redirect-page-CKNhBiUK.js +0 -1
  757. package/dist/assets/tag-G0ELn_cq.js +0 -1
  758. package/dist/assets/target-CJU4DUFo.js +0 -1
  759. package/dist/assets/terminal-BucMVaPU.js +0 -1
  760. package/dist/assets/text-preview-DLiOtb-y.js +0 -1
  761. package/dist/assets/theme-preferences-B2X7Xgir.js +0 -1
  762. package/dist/assets/theme-stage-page-Dt0ShS5G.js +0 -1
  763. package/dist/assets/threshold-presets-B-RqvhUM.js +0 -1
  764. package/dist/assets/tiptap-document-editor-LwU6S_hn.js +0 -282
  765. package/dist/assets/toast-BHjG1kP8.js +0 -1
  766. package/dist/assets/toggle-BEPV0rQM.js +0 -1
  767. package/dist/assets/tool-detail-panel-tFQRRPbP.js +0 -2
  768. package/dist/assets/transcript-message-body-shared-DdXeU1D-.js +0 -1
  769. package/dist/assets/trash-2-DfVRfykB.js +0 -1
  770. package/dist/assets/triangle-alert-D6bAGtMw.js +0 -1
  771. package/dist/assets/trust-rules-api-Dbyz25hE.js +0 -1
  772. package/dist/assets/typed-storage-OO7emDaU.js +0 -1
  773. package/dist/assets/typography-DEI9Ra9z.js +0 -1
  774. package/dist/assets/upgrade-cancel-page-isK2Rvv6.js +0 -1
  775. package/dist/assets/upgrade-success-page-B7ZaoDsy.js +0 -1
  776. package/dist/assets/upload-DsWG9TbD.js +0 -1
  777. package/dist/assets/usage-redirect-page-Cd58Bed0.js +0 -1
  778. package/dist/assets/use-active-assistant-id-JLsAfn3e.js +0 -1
  779. package/dist/assets/use-app-theme-yiZ38i4_.js +0 -1
  780. package/dist/assets/use-assistant-avatar-Bjqx8JUy.js +0 -1
  781. package/dist/assets/use-assistant-capability-CnI3VItU.js +0 -1
  782. package/dist/assets/use-assistant-identity-details-BLHiMTpS.js +0 -1
  783. package/dist/assets/use-attachment-preview-TAzqhvwh.js +0 -2
  784. package/dist/assets/use-attachment-squares-Cnn6a6er.js +0 -1
  785. package/dist/assets/use-avatar-accent-var-BafXGBXW.js +0 -1
  786. package/dist/assets/use-bookmarks-BKYsQrf9.js +0 -1
  787. package/dist/assets/use-bundled-avatar-components-BcyasJwu.js +0 -2
  788. package/dist/assets/use-bus-subscription-DiCq1_ki.js +0 -1
  789. package/dist/assets/use-checkout-dismiss-refresh-ChquCG4n.js +0 -1
  790. package/dist/assets/use-command-palette-sections-BshFMe0w.js +0 -1
  791. package/dist/assets/use-copy-to-clipboard-RUBxQIiE.js +0 -1
  792. package/dist/assets/use-discord-nudge-DED9TaIm.js +0 -1
  793. package/dist/assets/use-edge-swipe-CRkrRNLg.js +0 -1
  794. package/dist/assets/use-edge-swipe-back-Dk2xXjh4.js +0 -1
  795. package/dist/assets/use-edit-app-LCywIVb9.js +0 -1
  796. package/dist/assets/use-effective-timezone-BM5B7KHp.js +0 -1
  797. package/dist/assets/use-invite-link-dialog-CnOeFYBH.js +0 -1
  798. package/dist/assets/use-ios-app-nudge-9Qqz96FD.js +0 -1
  799. package/dist/assets/use-is-org-ready-3vHDbj4G.js +0 -1
  800. package/dist/assets/use-local-file-info-D2-ycwyJ.js +0 -1
  801. package/dist/assets/use-onboarding-login-CiQyxJLM.js +0 -1
  802. package/dist/assets/use-platform-assistant-id-DgrNmSy2.js +0 -1
  803. package/dist/assets/use-platform-gate-C5bNA5Pn.js +0 -1
  804. package/dist/assets/use-reduced-motion-fR0m_opJ.js +0 -1
  805. package/dist/assets/use-return-to-short-circuit-g88hMnN8.js +0 -1
  806. package/dist/assets/use-save-twilio-credentials-yqA7lnzq.js +0 -1
  807. package/dist/assets/use-skill-actions-Ik0rj4or.js +0 -1
  808. package/dist/assets/use-skill-detail-files-DdWFIu5-.js +0 -1
  809. package/dist/assets/use-sticky-profiles-BwaZUy6p.js +0 -1
  810. package/dist/assets/use-subagent-card-data-1nEhEj8_.js +0 -1
  811. package/dist/assets/use-supports-bookmarks-DwTpI8uM.js +0 -1
  812. package/dist/assets/use-supports-credentials-settings-3jGHR8fw.js +0 -1
  813. package/dist/assets/use-swipe-engine-Bkqjs1Zk.js +0 -1
  814. package/dist/assets/use-transcript-message-by-id-RhDDYgbY.js +0 -1
  815. package/dist/assets/use-transcript-messages-C5t358ZW.js +0 -3
  816. package/dist/assets/user-DHC7OLPE.js +0 -1
  817. package/dist/assets/user-plus-DjxxnQ8G.js +0 -1
  818. package/dist/assets/users-OcC3p9Jn.js +0 -1
  819. package/dist/assets/utils-B6xfBCpN.js +0 -1
  820. package/dist/assets/utils-DtVy-_pB.js +0 -1
  821. package/dist/assets/video-Dtwi0MD9.js +0 -1
  822. package/dist/assets/viewer-store-DxLOGAkL.js +0 -1
  823. package/dist/assets/voice-list-DP4_zhJe.js +0 -1
  824. package/dist/assets/voice-page-Bn0QH4eT.js +0 -1
  825. package/dist/assets/voice-providers-note-F4pLO3zK.js +0 -1
  826. package/dist/assets/volume-2-BXDl4IEg.js +0 -1
  827. package/dist/assets/weather-forecast-display-DrJp8zrP.js +0 -1
  828. package/dist/assets/web-CDfRXQwd.js +0 -1
  829. package/dist/assets/web-Ccq6YqQk.js +0 -1
  830. package/dist/assets/web-Cw8N9FBf.js +0 -1
  831. package/dist/assets/web-Cwkvk3kH.js +0 -1
  832. package/dist/assets/web-KS3MoLo7.js +0 -1
  833. package/dist/assets/web-PODqCw-i.js +0 -1
  834. package/dist/assets/web-aKLBqXiN.js +0 -1
  835. package/dist/assets/web-vlqDFmAp.js +0 -1
  836. package/dist/assets/welcome-screen-B6BjQt9n.js +0 -1
  837. package/dist/assets/workflow-Bsy5y3W0.js +0 -1
  838. package/dist/assets/workflow-detail-panel-H3N7Md_X.js +0 -1
  839. package/dist/assets/workflow-store-zCcRcvi8.js +0 -1
  840. package/dist/assets/workspace-page-B4sn6pzo.js +0 -1
  841. package/dist/assets/workspace-tree-query-Dfkrp_rV.js +0 -1
  842. package/dist/assets/wrench-DhynFba1.js +0 -1
  843. package/dist/assets/x-D4O9yIS7.js +0 -1
  844. /package/dist/assets/{android-consumption-only-D3L1Nc41.js → android-consumption-only-BkXIkXls.js} +0 -0
  845. /package/dist/assets/{app-types-BGJfNjSJ.js → app-types-BvcxXy_T.js} +0 -0
  846. /package/dist/assets/{apple-logo-BOBq3-Sn.js → apple-logo-Dz_HmP0n.js} +0 -0
  847. /package/dist/assets/{avatar-bundled-components-BvKt7I7O.js → avatar-bundled-components-BCCi2IoG.js} +0 -0
  848. /package/dist/assets/{avatar-subagent-tkmKhEWI.js → avatar-subagent-CvC1Sf9s.js} +0 -0
  849. /package/dist/assets/{avatar-svg-compositor-axSwKFvf.js → avatar-svg-compositor-BOadabHt.js} +0 -0
  850. /package/dist/assets/{avatar-tone-D99t9DAP.js → avatar-tone-D1ZiIRxb.js} +0 -0
  851. /package/dist/assets/{browser-timezone-Br-HawKV.js → browser-timezone-DM1QmwES.js} +0 -0
  852. /package/dist/assets/{build.umd-CaLt9YHe.js → build.umd-BVsTe_5V.js} +0 -0
  853. /package/dist/assets/{by-tool-use-id-index-CUFuQqHz.js → by-tool-use-id-index-xzJzBHo0.js} +0 -0
  854. /package/dist/assets/{chat-Dy2BC2i1.js → chat-DYLliWTB.js} +0 -0
  855. /package/dist/assets/{client.gen-Dq2brHDV.js → client.gen-C854VG5x.js} +0 -0
  856. /package/dist/assets/{create-selectors-BfxF8Sx_.js → create-selectors-DBgi9gD3.js} +0 -0
  857. /package/dist/assets/{createLucideIcon-CAM1RhH8.js → createLucideIcon-C1mdGPB9.js} +0 -0
  858. /package/dist/assets/{definitions-BfdxiZ6b.js → definitions-LdtemAva.js} +0 -0
  859. /package/dist/assets/{definitions-Rm_PEX9e.js → definitions-ur8Jy93p.js} +0 -0
  860. /package/dist/assets/{dist-an0Z446E.js → dist-Br0LBu8Y.js} +0 -0
  861. /package/dist/assets/{domains-Cwi5sL0m.js → domains-Cmw6F6mt.js} +0 -0
  862. /package/dist/assets/{edit-chat-session-DVzLQLWl.js → edit-chat-session-DKBzd1lH.js} +0 -0
  863. /package/dist/assets/{emoji-catalog-data-Cjooln6g.js → emoji-catalog-data-B4mXD1kH.js} +0 -0
  864. /package/dist/assets/{event-bus-CbDg1VDt.js → event-bus-Cy8AzL-G.js} +0 -0
  865. /package/dist/assets/{external-urls-BL9qY0s8.js → external-urls-EO9DXoFH.js} +0 -0
  866. /package/dist/assets/{eye-bbox-CRs175_n.js → eye-bbox-hZoek1Q5.js} +0 -0
  867. /package/dist/assets/{format-file-size-C5XdzvvA.js → format-file-size-iBkFVy8w.js} +0 -0
  868. /package/dist/assets/{hard-navigate-BYoBFmE4.js → hard-navigate-BrsAH6PB.js} +0 -0
  869. /package/dist/assets/{is-electron-DIlIrdJX.js → is-electron-BHXrkjI3.js} +0 -0
  870. /package/dist/assets/{link-click-aVk_YdAp.js → link-click-DVtp4tRV.js} +0 -0
  871. /package/dist/assets/{machine-sizes-B9nt_h-U.js → machine-sizes-B2_svsFw.js} +0 -0
  872. /package/dist/assets/{misc-BBsGq1IU.js → misc-Z0jXGGeY.js} +0 -0
  873. /package/dist/assets/{native-deep-link-jXO4XsVj.js → native-deep-link-CiI89I5P.js} +0 -0
  874. /package/dist/assets/{oauth-popup-DAMkjCsP.js → oauth-popup-CBMOU7CT.js} +0 -0
  875. /package/dist/assets/{onboarding-step-layout-Bsc_5btV.js → onboarding-step-layout-Cpow6WLp.js} +0 -0
  876. /package/dist/assets/{optimistic-lifecycle-GoMZsAsc.js → optimistic-lifecycle-y2tCk6TM.js} +0 -0
  877. /package/dist/assets/{pdf-OYDWiYl0.js → pdf-hM7quiQo.js} +0 -0
  878. /package/dist/assets/{plugin-attribution-DAf_69AU.js → plugin-attribution-Cu32SvNF.js} +0 -0
  879. /package/dist/assets/{pointer-CQ4DXHXb.js → pointer-CmipOtDe.js} +0 -0
  880. /package/dist/assets/{prechat-C4MZwKWX.js → prechat-CXmfuQt3.js} +0 -0
  881. /package/dist/assets/{profile-metadata-CA6wxcVJ.js → profile-metadata-DgH7VoVU.js} +0 -0
  882. /package/dist/assets/{public-asset-OTnPMErp.js → public-asset-CZ7NhuGg.js} +0 -0
  883. /package/dist/assets/{radio-card-nav-C_pSc4PD.js → radio-card-nav-B1BF1G_V.js} +0 -0
  884. /package/dist/assets/{sdk.gen-BpJ1vF7l.js → sdk.gen-CAngxL4a.js} +0 -0
  885. /package/dist/assets/{semver-Bfq1LtyW.js → semver-7PiLMufW.js} +0 -0
  886. /package/dist/assets/{status-badge-pill-CFoeNqKo.js → status-badge-pill---iRVZ8q.js} +0 -0
  887. /package/dist/assets/{three-dot-indicator-CeTxs9-J.js → three-dot-indicator-BQxSg8G2.js} +0 -0
  888. /package/dist/assets/{use-is-mobile-MmHo-OM6.js → use-is-mobile-BP8UePsY.js} +0 -0
  889. /package/dist/assets/{workflow-status-D0bBEpGp.js → workflow-status-AIHLnh_i.js} +0 -0
  890. /package/dist/assets/{workspace-path-links-vDBIljq_.js → workspace-path-links-Dal5QJ_L.js} +0 -0
  891. /package/dist/assets/{workspace-theme-tokens-dJKcMIdP.js → workspace-theme-tokens-D_dTwxiM.js} +0 -0
  892. /package/dist/assets/{xterm-DARAJ0SV.js → xterm-B3P1jl19.js} +0 -0
  893. /package/dist/assets/{xterm-addon-fit-BDf8Eu9n.js → xterm-addon-fit-DrrRJac3.js} +0 -0
@@ -1,50 +0,0 @@
1
- import{o as e}from"./chunk-jRWAZmH_.js";import{o as t,t as n}from"./capture-error-CqtAGHQu.js";import{t as r}from"./react-BFJW0bSv.js";import{W as i,t as a}from"./button-BwFudwM5.js";import{m as o,u as s}from"./chunk-5KNZJZUH-Bsoom5--.js";import{n as c}from"./QueryClientProvider-CMu7CkQU.js";import{t as l}from"./jsx-runtime-D3ZM-ToX.js";import{t as u}from"./cn-CJf7MmLX.js";import{t as d}from"./arrow-left-W84B6oJL.js";import{t as f}from"./arrow-right-ChqGeAaW.js";import{t as p}from"./dices-C3diFTyP.js";import{t as m}from"./loader-circle-DWWXcfTQ.js";import{t as h}from"./pencil-Cm5DdeRM.js";import{t as g}from"./plus-EJu6s6xR.js";import{t as _}from"./search-DL-2uX3K.js";import{t as v}from"./x-D4O9yIS7.js";import{t as y}from"./notice-Dslxs3H6.js";import{t as b}from"./tag-G0ELn_cq.js";import{t as x}from"./input-CgGeKtja.js";import{i as S,r as C,t as w}from"./dist-BrrL0-_M.js";import{n as T,t as E}from"./create-selectors-BfxF8Sx_.js";import{b as D,dt as ee,f as O,it as k,o as A,ot as j,w as M}from"./local-mode-DHueA-BJ.js";import{r as N}from"./api-errors-BRGPPSWw.js";import{_t as te,at as ne,gt as re,ht as ie,n as ae,rt as oe,st as se,vt as P}from"./auth-store-C9aYqB9U.js";import{Cn as F,Kn as ce,Sn as I,V as le,kr as ue,qn as de,tt as L}from"./sdk.gen-CjtCuSlS.js";import{a as fe,o as R,r as pe}from"./api-CGsj1Pig.js";import{d as me}from"./routes-DrfnNoYS.js";import{n as he}from"./use-is-org-ready-3vHDbj4G.js";import{t as ge}from"./navigation-resolver-CzEY-5nE.js";import{o as _e,s as ve}from"./prechat-C4MZwKWX.js";import{t as ye}from"./browser-timezone-Br-HawKV.js";import{t as be}from"./identity-BplXBnQ5.js";import{c as xe}from"./conversation-list-fetchers-C6W8PkvR.js";import{i as Se}from"./conversation-cache-D1AJdwZd.js";import{t as Ce}from"./avatar-bundled-components-BvKt7I7O.js";import{i as we,n as Te,r as Ee,t as De}from"./research-onboarding-persistence-DwV372yy.js";import{a as Oe,c as ke,i as Ae,l as je,o as Me,s as z,t as B,u as Ne}from"./first-run-scope-DqdWmMO-.js";import{c as Pe,i as Fe}from"./funnel-events-B9hFLlxs.js";import{t as V}from"./proxy-DrtKRLtr.js";import{t as H}from"./AnimatePresence-CHo6D7IH.js";import{t as U}from"./use-reduced-motion-fR0m_opJ.js";import{i as Ie}from"./avatar-tone-D99t9DAP.js";import{n as Le,t as Re}from"./eye-bbox-CRs175_n.js";import{a as ze,i as Be}from"./research-facts-BUfgocIh.js";import{t as Ve}from"./onboarding-layout-CNKJRWfe.js";import{t as W}from"./animated-avatar-B0vCEKkY.js";import{n as G,t as He}from"./use-bundled-avatar-components-BcyasJwu.js";import{a as Ue,c as We,i as Ge,l as Ke,n as K,r as qe,t as Je,u as Ye}from"./latest-assistant-text-CwHBWP6s.js";import{n as q,t as Xe}from"./onboarding-step-layout-Bsc_5btV.js";import{a as Ze,i as Qe,n as $e,r as et,t as tt}from"./avatar-random-BR8w4F35.js";import{n as nt}from"./plugin-attribution-DAf_69AU.js";var J=e(r(),1),rt=`grounded`,it=12;function at(e,t){let n=e.slice(0,it).map(e=>`- ${e.name} — ${e.description}`).join(`
2
- `);return n?`
3
- Capabilities you can offer me — specialized skillsets you can invoke on my behalf, not generic chat:
4
- ${n}
5
-
6
- Add a "plugins" array as the FIRST key in your JSON object, ${t?`before "claims" and "suggestions"`:`before "claims"`}: the 1-2 capabilities from the list above (exact names) that best fit who I am — judged by what you researched about my real role, stack, and day-to-day work. (Emit it first so setup can start while you finish the rest.) These get set up for me automatically as part of getting started, so pick by overall fit to ME, not to any single suggestion. Prefer fewer over forcing a match; use [] if nothing clearly fits. Example: "plugins": ["<exact name from the list above>"]. ${t?`Don't reference the setup in the claims or suggestions text.`:`Don't reference the setup in the claims text.`}
7
- `:``}function ot({firstName:e,lastName:t,occupation:n,hobbies:r,timezone:i},a=[],{includeSuggestions:o=!0}={}){let s=[e.trim(),t.trim()].filter(Boolean).join(` `),c=n.trim(),l=(r??[]).map(e=>e.trim()).filter(Boolean).join(`, `),u=i?.trim()??``,d=at(a,o),f=d?`"plugins": ["<exact name from the list above>"], `:``,p=[s?`My name is ${s}.`:``,c?`I work as ${c}.`:``,l?`My hobby is ${l}.`:``].filter(Boolean).join(` `),m=p?[p,u?`My timezone is ${u}.`:``].filter(Boolean).join(` `):`I'd like you to get to know me before we start working together.`,h=o?` "suggestions": [ { "suggestion": "I'll find the 3 newest arXiv eval papers worth your time", "prompt": "Find me the 3 newest arXiv eval papers worth reading." }, { "suggestion": "I'll draft a crisp summary of the latest model-serving trade-offs", "prompt": "Draft me a short summary of the latest model-serving trade-offs." }, { "suggestion": "Connect GitHub and I'll triage your stalest issues", "prompt": "Connect to GitHub and triage my oldest open issues." }, { "suggestion": "I'll plan a weekend climbing trip near Boulder", "prompt": "Plan me a weekend climbing trip near Boulder." } ]`:``,g=`{ ${f}"claims": [ { "claim": "Senior engineer at an AI infra startup", "confidence": "confident", "sources": ["https://linkedin.com/in/example-user", "https://example-infra.com/about"] }, { "claim": "Based in Boulder, CO", "confidence": "maybe", "sources": ["https://linkedin.com/in/example-user"] }, { "claim": "Into climbing and the outdoors", "confidence": "guessing", "sources": [] } ]${h?`,${h}`:``} }`;return`${m}
8
-
9
- Get to know me. Search the web for what's publicly known about me, and infer a handful of things about who I am: what I do, my role, where I'm based, what I'm into, anything that would help you assist me better. Prefer sources people author about themselves — LinkedIn, a personal site, GitHub, an employer's team page, published work, public social profiles. Never fetch or cite people-search or background-check aggregators (Instant Checkmate, Spokeo, BeenVerified, TruePeopleSearch, Whitepages, and similar); data-broker directories (ZoomInfo, RocketReach, Apollo) may corroborate another source but must never be a claim's only basis.
10
-
11
- IDENTITY GATE — decide who a page is about before you use it: a name match alone is NEVER enough to attribute a page to me. Attribute it to me only when it also corroborates something I stated — my role, my hobby, or a location consistent with my timezone if I gave one. If several people share my name and none clears that bar, or you find no verifiable match at all, then I have no public profile you can use: return ONLY inferences from what I stated above, each labeled "guessing" with "sources": []. An honest near-empty card beats a stranger's biography. If my details above read as placeholder or joke input rather than a real identity, skip the web search and return an empty claims array.
12
-
13
- Treat the name, role, and hobby I provided above as first-party context from me. Use public sources to enrich that context, not to override or correct it. If public sources use a different title or omit part of my stated role, do not frame my stated role as wrong; mention the public title only as supporting nuance when it is useful, and keep ${o?`claims and suggestions`:`claims`} aligned with my stated role.
14
-
15
- CRITICAL: your final reply must be ONLY a JSON object. No preamble, no explanation, no prose, nothing before or after it. Do your thinking and searching, then respond with exactly this shape and nothing else:
16
-
17
- ${g}
18
-
19
- Rules for "claims":
20
-
21
- AT MOST 5 claims, typically 3 to 4. Never pad the list or inflate a confidence tier to seem thorough.
22
- Phrase each claim in third person as a short headline ("Senior engineer at an AI infra startup", "Based in Boulder, CO", "Active climber on Mountain Project"). No multi-clause sentences, no em-dash asides, no explanations. Good: "Contributed to Chirps (vector-DB security)". Bad: "You've done real work in vector database security. You contributed to Chirps, a tool for scanning vector DBs for sensitive data".
23
- Each claim must be independently true-or-false so I can remove the ones that are wrong.
24
- Every specific in a claim (employer, title, publication, city) must appear in a source you actually fetched this turn — never synthesize or embellish specifics a source doesn't state.
25
- "confidence" is earned per the identity gate: "confident" needs 2+ independent gate-passing sources, "maybe" needs exactly one, and a claim with no sources is an inference from my stated details and must be "guessing".
26
- "sources": 0 to 3 URLs you actually used as evidence for that specific claim. Use [] for pure inferences.
27
- ${o?`Rules for "suggestions":
28
-
29
- Each suggestion is an object with two fields:
30
- "suggestion": the offer in YOUR voice (the assistant), exactly as it appears on the clickable card — first-person "I" refers to you (whatever your name). Pattern: "I'll [verb] [specific artifact]" or "Connect me to [integration] and I'll [verb] [artifact]." Lead with the offer; no intake question in front of it — you gather the details in the follow-up conversation after the click.
31
- "prompt": the same offer re-voiced as the message sent on the user's behalf when they click, in the USER's first person ("I"/"my" = the user) — what they'd say to take you up on it (suggestion "I'll find you 3 papers" → prompt "Find me 3 papers worth reading"). State the request; don't echo the assistant-voiced wording and don't ask a question back.
32
-
33
- Generate EXACTLY 4 suggestions covering four DIFFERENT capabilities, each making me think "wait, you can do that?" Draw on your range — a quick researched answer, a recurring brief or monitor, a doc drafted in a live editor, an integration (GitHub, Gmail, Calendar, Slack, Linear) connected with a first action, or a hobby hook if research surfaced one — but pick what genuinely fits; don't force a fixed set.
34
- Ground every suggestion in what you actually learned about me — my real role, stack, industry, and (if given) hobby. Specific to me, not generic assistant stuff; skip bare "summarize" or "draft a post."
35
- CRITICAL: every suggestion must be a fast win you can deliver in the first reply, never a long-running build. NEVER suggest building an app, dashboard, tool, site, or tracker, or any multi-step "build me a ___" project — those kill the first impression. The ambitious build can come later in the conversation, never on the first card.
36
- Keep each SHORT and skimmable: under 10 words, ONE clause, ONE artifact, no lists of three ("X, Y, and Z"). The reader scans four cards in seconds — a long line loses them.
37
- `:``}${d}
38
- ${o?`Don't include anything sensitive or private. If the identity gate leaves you with very little, return only the honest "guessing" claims my stated details support, and lean on broadly useful suggestions for my role.`:`Don't include anything sensitive or private. If the identity gate leaves you with very little, return only the honest "guessing" claims my stated details support.`}
39
- Keep every string value simple so the JSON always parses: one line, no line breaks inside a value, and NO double-quote characters inside a value — use single quotes (or none) for emphasis, quoted names, or tool names. Output ONLY the JSON object. No code fence, no extra text.`}function st({hostingParam:e,localMode:t,gatewayAuthSession:n}){return t?e===null?n:e!==`vellum-cloud`:!1}var ct=`Failed to start your assistant. Please try again.`,lt=`Your assistant is taking longer than expected. Please try again.`,ut=`We couldn't confirm your organization. Please try again.`,dt=100;function ft({adoptExisting:e=!1,adoptAssistantId:r,postCheckoutReturn:i=!1}={}){let a=c(),[o,s]=(0,J.useState)(!1),[l,u]=(0,J.useState)(null),[d,f]=(0,J.useState)(null),p=(0,J.useRef)(!1),m=(0,J.useRef)([]),h=(0,J.useRef)(null),g=(0,J.useRef)(!1),_=(0,J.useRef)(null),v=(0,J.useRef)(!1);(0,J.useEffect)(()=>(g.current=!1,()=>{g.current=!0,_.current&&=(clearTimeout(_.current),null)}),[]);let y=(0,J.useCallback)(e=>{if(!(g.current||h.current)){h.current={kind:`ready`,id:e},s(!0);for(let t of m.current)t.resolve(e);m.current=[]}},[]),b=(0,J.useCallback)(e=>{if(g.current||h.current)return;h.current={kind:`error`,message:e},f(e);let t=Error(e);for(let e of m.current)e.reject(t);m.current=[]},[]),x=(0,J.useCallback)(()=>{if(p.current)return;p.current=!0;let o=v.current,s=Date.now(),c=()=>Date.now()-s>=$e,l=e=>new Promise(t=>{if(g.current){t();return}_.current=setTimeout(()=>{_.current=null,t()},e)}),d=async()=>{let e=Date.now(),t=!1;for(;;){if(g.current)return!1;let n=he();if(n===`ready`)return!0;if(!t&&(n===`unavailable`||o))t=!0,ne.getState().fetchOrganizations();else if(n===`unavailable`||Date.now()-e>=5e3)return b(ut),!1;await l(dt)}};(async()=>{if(e&&r){let e=A(r);if(e){u(e.assistantId),y(e.assistantId);return}}let o=e?r:void 0;if(!e){if(!await d())return;O()&&(j(),k(null));try{let e=await R();if(e.ok)o=e.data.id,u(e.data.id),i&&e.status===201&&Ze(e.data.id,tt(Ce),a);else{if(re(e.status,e.error)){b(ie);return}if(!P(e.status)){b(N(e.error,void 0,ct));return}}}catch(e){n(e,{context:`research_background_hatch`})}}let f;for(;!f;){if(g.current)return;if(c()){b(lt);return}try{let t=await pe(o);if(g.current||o&&!t.ok&&t.status===404&&(o=void 0,t=await pe(),g.current))return;let n=te(t);if(n.kind===`active`&&t.ok){f=t.data.id,u(f),!e&&O()&&M(f,t.data.name,oe()??void 0);break}if(n.kind===`error`){b(n.message);return}}catch(e){n(e,{context:`research_background_hatch_poll`})}await l(et)}if(e)for(;!await D();){if(g.current)return;if(c()){b(lt);return}await l(et)}else for(;;){if(g.current)return;try{if((await fe(f)).ok)break}catch{}if(c()){b(lt);return}await l(et)}if(!e&&i){let e=await Qe({assistantId:f,postCheckoutReturn:i,managedHatch:!0,hatchStartMs:s,isCancelled:()=>g.current,registerTimer:e=>{_.current=e}});if(g.current)return;if(e===`health_timeout`){t(`Onboarding hatch wait exceeded timeout`,{level:`warning`,extra:{maxWaitMs:$e,stage:`post_resize_health`}}),b(lt);return}}y(f)})()},[b,y,e,r,i,a]);return{start:x,retry:(0,J.useCallback)(()=>{v.current=!0,p.current=!1,h.current=null,f(null),s(!1),u(null),x()},[x]),ready:o,assistantId:l,error:d,awaitReady:(0,J.useCallback)(()=>{let e=h.current;return e?.kind===`ready`?Promise.resolve(e.id):e?.kind===`error`?Promise.reject(Error(e.message)):new Promise((e,t)=>{m.current.push({resolve:e,reject:t})})},[])}}async function pt(e,t){try{await le({path:{assistant_id:e,id:t},throwOnError:!1})}catch(e){n(e,{context:`research_onboarding_archive`})}}var mt=[`admin-copilot`],ht=[{plugin:`marketing-expert`,keywords:[`founder`,`cofounder`,`co founder`,`ceo`,`cmo`,`chief executive`,`chief marketing`,`entrepreneur`,`marketing`,`marketer`,`growth`,`brand`,`content`,`copywriter`,`copywriting`,`seo`,`demand gen`,`demand generation`,`sales`,`account executive`,`business development`,`creator`,`social media`,`community manager`]},{plugin:`git-workflow`,keywords:`developer.swe.programmer.coder.devops.dev ops.sre.site reliability.software engineer.software architect.backend engineer.back end engineer.frontend engineer.front end engineer.full stack engineer.fullstack engineer.platform engineer.infrastructure engineer.data engineer.machine learning engineer.ml engineer.qa engineer.embedded engineer.security engineer.staff engineer.principal engineer.solutions architect.tech lead.technical lead.engineering manager.engineering lead.head of engineering.director of engineering.vp of engineering.vp engineering.cto`.split(`.`)}];function gt(e){return` ${e.toLowerCase().replace(/[^a-z0-9]+/g,` `).trim()} `}function _t(e,t){return e.includes(` ${t} `)}function vt(e){let t=gt(e),n=[];for(let{plugin:e,keywords:r}of ht)r.some(e=>_t(t,e))&&n.push(e);return n}function yt(e,t){let n=[...mt,...nt(),...vt(e)],r=new Set,i=[];for(let e of n)!t.has(e)||r.has(e)||(r.add(e),i.push(e));return i}var bt=1500,xt=12e4,St=2;function Ct({complete:e,stableReads:t}){return e&&t>=St}function wt({sawCompletePayload:e}){return e?`done`:`error`}function Tt({sawCompletePayload:e}){return e}var Et=`vellum-ai`,Dt=new Set([`simple-memory`,`level-up`]);function Ot(e){let t=e.trim().split(/(?<=\.)\s/)[0]?.trim()??e.trim();return t.length>100?`${t.slice(0,97).trimEnd()}…`:t}function kt(e){return e?.split(`/`)[0]?.trim()??``}function At(e){let t=[],n=new Set;for(let r of e){let e=r.name?.trim(),i=r.description?.trim();!e||!i||kt(r.source?.repo)===Et&&(Dt.has(e)||(n.add(e),t.push({name:e,description:Ot(i)})))}return{capabilities:t,validNames:n}}async function jt(e){try{return At((await de({path:{assistant_id:e},throwOnError:!1})).data?.matches??[])}catch(e){return n(e,{context:`research_onboarding_catalog`}),{capabilities:[],validNames:new Set}}}async function Mt(e,t){try{await ce({path:{assistant_id:e},body:{name:t},throwOnError:!1})}catch(e){n(e,{context:`research_onboarding_install`})}}var Nt=32;function Pt(e,t){return e.filter(e=>e.confidence===t).length}async function Ft({assistantId:e,conversationId:t,status:r,subject:i,claims:a,suggestions:o,plugins:s,installedPlugins:c}){try{await ue({path:{assistant_id:e},body:{type:`onboarding_research`,...r===`done`?{daemon_event_id:`onboarding_research:${t}`}:{},fields:{conversation_id:t,status:r,self_reported_occupation:i.occupation,self_reported_hobbies:(i.hobbies??[]).slice(0,Nt),self_reported_timezone:i.timezone,claims:a,claim_count:a.length,claims_confident:Pt(a,`confident`),claims_maybe:Pt(a,`maybe`),claims_guessing:Pt(a,`guessing`),suggestions:o,suggestion_count:o.length,plugins:s,installed_plugins:c}},throwOnError:!1})}catch(e){n(e,{context:`research_onboarding_telemetry`})}}function It(e){return{status:e,claims:[],droppedClaims:[],suggestions:[],installedPlugins:[],pluginCatalog:{}}}var Lt=e=>new Promise(t=>setTimeout(t,e));function Rt({role:e,validNames:t,modelPlugins:n}){return[...new Set([...yt(e,t),...n.filter(e=>t.has(e))])]}function zt(){let[e,t]=(0,J.useState)(()=>It(`idle`)),r=(0,J.useRef)(0),i=(0,J.useRef)(null),a=(0,J.useRef)(new Map),o=(0,J.useRef)(Promise.resolve()),s=c(),l=(0,J.useCallback)((e,t)=>{let n=a.current;n.clear();for(let r of e)n.set(r,(async()=>{try{await Mt(await t(),r)}catch{}})())},[]),u=(0,J.useCallback)(({awaitAssistantId:e,subject:c,conversationTitle:l,resumeConversationId:u,onConversationCreated:d,includeSuggestions:f=!0})=>{let p=JSON.stringify(c);if(i.current===p)return;i.current=p;let m=r.current+1;r.current=m;let h=()=>r.current!==m,g=()=>{};o.current=new Promise(e=>{g=e}),a.current.clear(),t(It(`running`)),(async()=>{let r,i,o=!1;try{let n=await e();if(r=n,h())return;let{capabilities:s,validNames:p}=await jt(n);if(h())return;let m=Object.fromEntries(s.map(e=>[e.name,e.description]));t(e=>({...e,pluginCatalog:m})),p.size===0&&g();let _=a.current,v=yt(c.occupation,p);for(let e of v)_.has(e)||_.set(e,Mt(n,e));v.length>0&&t(e=>({...e,installedPlugins:v}));let y=async e=>{let t=K({conversationId:e,content:ot(c,s,{includeSuggestions:f}),transport:`web`});try{let e=Intl.DateTimeFormat().resolvedOptions().timeZone;e&&(t.clientTimezone=e)}catch{}return!!(await F({path:{assistant_id:n},body:t,throwOnError:!1})).response?.ok},b=async()=>{let e=await L({path:{assistant_id:n},body:{conversationType:`standard`,...l?{title:l}:{}},throwOnError:!1});i=e.data?.id;let t=e.data?.id;if(!(!e.response?.ok||!t))return d?.(t),t},x;if(u){let e=await I({path:{assistant_id:n},query:{conversationId:u},throwOnError:!1});if(h())return;if(e.response?.ok&&(x=u,i=u,!(e.data?.processing===!0||(e.data?.messages??[]).length>0))){if(!await y(x)){t(e=>({...e,status:`error`}));return}if(h())return}}if(!x){if(x=await b(),h())return;if(!x){t(e=>({...e,status:`error`}));return}if(!await y(x)){t(e=>({...e,status:`error`}));return}if(h())return}let S=Date.now()+xt,C=``,w=0,T=!1,E=[],D=[],ee=[],O=v;for(;Date.now()<S;){if(await Lt(bt),h())return;let e=await I({path:{assistant_id:n},query:{conversationId:x},throwOnError:!1});if(h())return;let r=Je(e.data?.messages??[]);if(r){let{claims:e,droppedClaims:i,suggestions:a,plugins:s,pluginsResolved:l,complete:u}=Be(r),d=s.filter(e=>p.has(e));for(let e of d)_.has(e)||_.set(e,Mt(n,e));l&&g();let f=Rt({role:c.occupation,validNames:p,modelPlugins:d});if(t({status:`running`,claims:e,droppedClaims:i,suggestions:a,installedPlugins:f,pluginCatalog:m}),E=e,D=a,ee=s,O=f,u&&(o=!0),u&&!T&&(T=!0,Ft({assistantId:n,conversationId:x,status:`done`,subject:c,claims:e,suggestions:a,plugins:s,installedPlugins:f})),w=r===C?w+1:0,C=r,Ct({complete:u,stableReads:w}))break}}if(h())return;T||(T=!0,Ft({assistantId:n,conversationId:x,status:`error`,subject:c,claims:E,suggestions:D,plugins:ee,installedPlugins:O})),t(e=>({...e,status:wt({sawCompletePayload:o})}))}catch(e){if(h())return;n(e,{context:`research_onboarding_runner`}),t(e=>({...e,status:`error`}))}finally{g(),Tt({sawCompletePayload:o})&&r&&i&&(await pt(r,i),Se(s,r))}})()},[s]),d=(0,J.useCallback)(()=>{r.current+=1,i.current=null,a.current.clear(),o.current=Promise.resolve(),t(It(`idle`))},[]),f=(0,J.useCallback)(async()=>{await o.current,await Promise.all([...a.current.values()])},[]),p=(0,J.useCallback)((e,n)=>{r.current+=1,t(e),n&&e.installedPlugins.length>0&&l(e.installedPlugins,n)},[l]);return{...e,start:u,awaitPluginInstalls:f,hydrate:p,reinstallPlugins:l,reset:d}}function Bt({removedClaims:e,rejectedAll:t}){if(t)return[`Correction: none of what you found in that web search is actually me —`,`it looks like you matched someone else with a similar name. Please`,`disregard everything from that search and don't remember any of it as`,`true about me. We'll build up what you actually know about me from here,`,`as we talk.`].join(` `);let n=e.map(e=>e.trim()).filter(Boolean);return n.length===0?null:[`Quick correction on what you found about me — these aren't true, so please`,`disregard them and don't remember them as facts about me:`,``,...n.map(e=>`- ${e}`)].join(`
40
- `)}async function Vt({assistantId:e,conversationId:t,removedClaims:r,rejectedAll:i}){let a=Bt({removedClaims:r,rejectedAll:i});if(a){try{let n=K({conversationId:t,content:a,transport:`web`});await F({path:{assistant_id:e},body:n,throwOnError:!1})}catch(e){n(e,{context:`research_onboarding_correction`})}await pt(e,t)}}var Ht=1500,Ut=12e4,Wt=e=>new Promise(t=>setTimeout(t,e));async function Gt({awaitAssistantId:e,values:t,userName:r,assistantName:i}){let a,o;try{a=await e();let n=await L({path:{assistant_id:a},body:{conversationType:`standard`,title:`Updating personality`},throwOnError:!1});if(o=n.data?.id,!n.response?.ok||!o)return;let s=K({conversationId:o,content:Ke(t,r,i),transport:`vellum`});if(!(await F({path:{assistant_id:a},body:s,throwOnError:!1})).response?.ok)return;await We(a,Ue(t));let c=Date.now()+Ut,l=``,u=0,d=!1;for(;Date.now()<c;){await Wt(Ht);let e=await I({path:{assistant_id:a},query:{conversationId:o},throwOnError:!1}),t=Je(e.data?.messages??[]);if(t&&(u=t===l?u+1:0,l=t),e.data?.processing===!0&&(d=!0),Ye({processing:e.data?.processing,sawProcessing:d,hasReply:t.length>0,stableReads:u}))break}}catch(e){n(e,{context:`research_onboarding_personality`})}finally{if(a&&o)try{await le({path:{assistant_id:a,id:o},throwOnError:!1})}catch(e){n(e,{context:`research_onboarding_personality_archive`})}}}function Kt(e){return`id \`scope_${e}\`, \`data: {"${B}": "${e}"}\``}function qt(e){let t=e?.trim();return`You're about to begin your first conversation.${t?`\nYour name is ${t} — introduce yourself as ${t}.`:``}
41
- Respond with a warm and engaging greeting. Be interesting, be real. This is your chance to get to know and impress the user.
42
- End the greeting text with one short question asking where they'd like to start, phrased so nothing feels off the table (e.g. "…or is there anything else on your mind entirely?").
43
- Then call the \`ui_show\` tool exactly once: \`surface_type: "choice"\`, \`data.selectionMode: "single"\`, no \`title\` (or a very short one), and exactly three options in this order:
44
- 1. ${Kt(`work`)} — a concrete offer grounded in their work or role from your Onboarding Context (occupation, daily tools, work-related research findings).
45
- 2. ${Kt(`personal`)} — a concrete offer grounded in their hobbies, interests, or personal research findings.
46
- 3. ${Kt(`both`)} — an "all of the above" invitation.
47
- An option's title becomes the user's visible reply bubble when they tap it, so every title must read naturally in the user's voice — imperative or neutral, six words or fewer (e.g. "Help me plan my next ride", never "I can plan your next ride"). Titles only: never set \`description\` on any option — the three options must scan in a single glance, and your greeting text already carries the color.
48
- These options are conversation starters, not a menu: never imply the user is limited to them, and your closing question itself must invite free-form answers.
49
- After the \`ui_show\` result comes back, stop — output no further text. If \`ui_show\` errors or is unavailable, just end with the text question alone; the user will type. Do not set \`await_action\` or \`persistent\`.
50
- Keep it short! For this opening greeting only, don't use \`recall\`, don't read any files, and make no tool calls other than that single \`ui_show\`. (This applies to the greeting alone; use your tools normally for everything the user asks afterward.)`}function Jt(e,t){if(!e)return null;let n=new Date(e);if(Number.isNaN(n.getTime()))return null;try{return new Intl.DateTimeFormat(void 0,{hour:`numeric`,minute:`2-digit`,...t?{timeZone:t}:{}}).format(n)}catch{return new Intl.DateTimeFormat(void 0,{hour:`numeric`,minute:`2-digit`}).format(n)}}var Y=l(),Yt=(0,J.createContext)(null);function Xt({size:e,children:t}){return(0,Y.jsx)(Yt.Provider,{value:e,children:t})}function Zt(){let e=(0,J.useContext)(Yt),[t,n]=(0,J.useState)(()=>Ge());return(0,J.useEffect)(()=>{if(e)return;let t=()=>n(Ge());return window.addEventListener(`resize`,t),()=>window.removeEventListener(`resize`,t)},[e]),e??t}var Qt={x:.5,y:.43},$t=[-8,6,9,0,7,-6,5,0,-7,4,-5,6];function en(e){return $t[e%$t.length]??0}var tn=[1,0,1,0,1,0,1,0,1,0,0],nn=[.72,1],rn=[.4,1],an=[10,20],on=50,sn={6:1.1};function cn(e){return(nn[tn[e]??1]??1)*(sn[e]??1)}function ln(e){return rn[tn[e]??1]??1}function un(e){return an[tn[e]??1]??20}function dn(e,t){return Math.round(Math.max(130,Math.min(Math.min(e,t)*.4,420)))}function fn(e,t){return Math.round(Math.max(110,Math.min(Math.min(e,t)*.21,205)))}function pn(e,t,n){let r=n*.4,i=n*.48;return[{x:i,y:i},{x:e*.3,y:r-t*.03},{x:e*.72,y:r-t*.1},{x:e-i,y:i},{x:e-r,y:t*.72},{x:e-i,y:t-i},{x:i,y:t-i},{x:r,y:t*.5},{x:e-r,y:t*.3},{x:e*.28,y:t-r+t*.05},{x:e*.77,y:t-r}]}function mn(e,t,n,r,i){let a=e.x-t,o=e.y-n,s=Math.hypot(a,o)||1,c=Math.max(r,i);return{x:e.x+a/s*c,y:e.y+o/s*c}}function hn({components:e,characters:t,centerChar:n,edgeOrder:r,entering:i,exiting:a,onEnterComplete:o,onSelectChar:s}){let{w:c,h:l}=Zt(),u=U(),d=c<640,f=new Set([4,7,8,9,10]),p=e=>d&&f.has(e),m=dn(c,l),h=m/2,g=m/2,_=fn(c,l)/m,v=fn(c,l),y=(0,J.useMemo)(()=>{let e=new Map;return r.forEach((t,n)=>e.set(t,n)),e},[r]),b=Qt.x*c,x=Qt.y*l,S=b-h,C=x-h,w=(0,J.useMemo)(()=>pn(c,l,g),[c,l,g]);return(0,Y.jsxs)(`div`,{"aria-hidden":`true`,className:`pointer-events-none absolute inset-0 z-0 overflow-hidden`,children:[(0,Y.jsx)(`div`,{className:`absolute rounded-[50%] bg-[var(--aux-black,#000)] opacity-20 blur-md`,style:{width:v*.62,height:16,left:b-v*.31,top:x+v*.4}}),t.map((t,r)=>{let d=r===n,f=!u&&i?.char===r,g=!u&&a?.char===r;if(f){let n=w[i.fromSlot],a=mn(n,b,x,c,l),s=cn(i.fromSlot),u=ln(i.fromSlot);return(0,Y.jsx)(V.div,{className:`absolute left-0 top-0`,style:{width:m,height:m,zIndex:on},initial:!1,animate:{x:[n.x-h,a.x-h,a.x-h,S,S,S],y:[n.y-h,a.y-h,a.y-h,C,C,C],scale:[s,s,s,_*.7,_*1.08,_],opacity:[u,u,0,0,1,1]},transition:{duration:.85,times:[0,.28,.34,.42,.72,1],ease:[`easeIn`,`linear`,`linear`,`easeOut`,`easeOut`]},onAnimationComplete:()=>o(r),children:(0,Y.jsx)(W,{components:e,traits:t,size:m})},r)}if(g){if(p(a.toSlot))return null;let n=w[a.toSlot],i=mn(n,b,x,c,l),o=cn(a.toSlot),s=ln(a.toSlot);return(0,Y.jsx)(V.div,{className:`absolute left-0 top-0`,style:{width:m,height:m,zIndex:un(a.toSlot)},initial:!1,animate:{x:[S,S,i.x-h,i.x-h,n.x-h,n.x-h],y:[C,C,i.y-h,i.y-h,n.y-h,n.y-h],scale:[_,_*.6,o,o,o*1.1,o],opacity:[1,0,0,s,s,s]},transition:{duration:.85,times:[0,.28,.34,.45,.78,1],ease:[`easeIn`,`linear`,`linear`,`easeOut`,`easeOut`]},children:(0,Y.jsx)(`div`,{style:{transform:`rotate(${en(a.toSlot)}deg)`},children:(0,Y.jsx)(W,{components:e,traits:t,size:m,breathe:!1})})},r)}let v=y.get(r)??0;if(!d&&p(v))return null;let T=d?{x:b,y:x}:w[v];return(0,Y.jsx)(V.div,{className:`absolute left-0 top-0 ${d?``:`pointer-events-auto cursor-pointer`}`,style:{width:m,height:m,zIndex:d?on:un(v)},initial:!1,animate:{x:T.x-h,y:T.y-h,scale:d?_:cn(v),opacity:d?1:ln(v)},transition:u?{duration:0}:{type:`spring`,stiffness:230,damping:26},onClick:d?void 0:()=>s(r),children:(0,Y.jsx)(`div`,{style:{transform:d?void 0:`rotate(${en(y.get(r)??0)}deg)`},children:(0,Y.jsx)(W,{components:e,traits:t,size:m,breathe:d})})},r)})]})}var gn=[{bodyShape:`urchin`,eyeStyle:`goofy`,color:`teal`},{bodyShape:`blob`,eyeStyle:`grumpy`,color:`purple`},{bodyShape:`star`,eyeStyle:`surprised`,color:`orange`},{bodyShape:`blob`,eyeStyle:`gentle`,color:`pink`},{bodyShape:`ninja`,eyeStyle:`angry`,color:`yellow`},{bodyShape:`urchin`,eyeStyle:`curious`,color:`pink`},{bodyShape:`burst`,eyeStyle:`quirky`,color:`orange`},{bodyShape:`ghost`,eyeStyle:`bashful`,color:`green`},{bodyShape:`sprout`,eyeStyle:`dazed`,color:`orange`},{bodyShape:`star`,eyeStyle:`goofy`,color:`teal`},{bodyShape:`flower`,eyeStyle:`angry`,color:`pink`},{bodyShape:`cloud`,eyeStyle:`curious`,color:`yellow`}],X=E(T((e,t)=>({characters:[],selectedIndex:0,ensureGenerated:()=>{t().characters.length>0||e({characters:gn,selectedIndex:0})},setSelectedIndex:t=>e({selectedIndex:t}),selectNext:()=>e(e=>({selectedIndex:e.characters.length===0?0:(e.selectedIndex+1)%e.characters.length})),selectPrev:()=>e(e=>({selectedIndex:e.characters.length===0?0:(e.selectedIndex-1+e.characters.length)%e.characters.length}))})));function _n(){let[e,t]=(0,J.useState)(()=>({w:typeof window>`u`?1280:window.innerWidth,h:typeof window>`u`?800:window.innerHeight}));return(0,J.useEffect)(()=>{let e=()=>t({w:window.innerWidth,h:window.innerHeight});return window.addEventListener(`resize`,e),()=>window.removeEventListener(`resize`,e)},[]),e}function vn(){let e=G(),t=X.use.characters(),n=X.use.ensureGenerated(),r=U(),{w:i,h:a}=_n();(0,J.useEffect)(()=>{e&&n(e)},[e,n]);let o=dn(i,a),s=(0,J.useMemo)(()=>pn(i,a,o/2),[i,a,o]),c=i<640,l=new Set([4,7,8,9,10]);return!e||t.length===0?null:(0,Y.jsx)(`div`,{"aria-hidden":`true`,className:`pointer-events-none fixed inset-0 z-0 overflow-hidden`,children:t.map((t,n)=>{if(n===0)return null;let i=n-1;if(c&&l.has(i))return null;let a=s[i];if(!a)return null;let u=$t[i%$t.length]??0,d=o*cn(i),f=ln(i),p=un(i);return(0,Y.jsx)(`div`,{className:`absolute`,style:{left:a.x-d/2,top:a.y-d/2,width:d,height:d,zIndex:p,animation:r?void 0:`character-pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) ${.1+n*.05}s both`},children:(0,Y.jsx)(`div`,{style:{opacity:f,transform:`rotate(${u}deg)`},children:(0,Y.jsx)(W,{components:e,traits:t,size:d,breathe:!1})})},n)})})}var yn=u(`flex w-full items-center gap-1.5 rounded-md border bg-[var(--field-bg)] px-3`,`border-[var(--field-border)] transition-[border-color,background-color] duration-150 ease-out`,`focus-within:border-[var(--border-active)]`),bn=u(`min-w-0 flex-1 bg-transparent text-body-medium-lighter text-[var(--content-default)]`,`placeholder:text-[var(--content-tertiary)] outline-none`,Xe);function Z(e){return e.trim().toLowerCase()}function xn(e,t,n=[],r=8){let i=Z(t),a=new Set(n.map(Z)),o=[];for(let t of e)if(!a.has(Z(t))&&((i.length===0||Z(t).includes(i))&&o.push(t),o.length>=r))break;return o}function Sn({id:e,options:t,highlighted:n,showAddHint:r,onPick:i,onHover:a}){return(0,Y.jsxs)(`ul`,{id:e,role:`listbox`,className:u(`absolute left-0 right-0 top-full z-50 mt-1.5 max-h-60 overflow-auto`,`rounded-lg bg-[var(--surface-lift)] p-1 shadow-[var(--shadow-popover)]`,`animate-[fadeInUp_0.12s_ease-out]`),children:[t.map((t,r)=>(0,Y.jsx)(`li`,{id:`${e}-opt-${r}`,role:`option`,"aria-selected":r===n,onMouseDown:e=>{e.preventDefault(),i(t.value)},onMouseEnter:()=>a(r),className:u(`flex cursor-pointer items-center gap-2 rounded-md px-2.5 py-1.5`,`text-body-medium-lighter text-[var(--content-default)]`,r===n?`bg-[var(--surface-base)]`:`bg-transparent`),children:t.isAdd?(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(g,{size:15,className:`shrink-0 text-[var(--content-tertiary)]`}),(0,Y.jsxs)(`span`,{className:`min-w-0 truncate`,children:[`Add “`,t.value,`”`]}),(0,Y.jsx)(`span`,{className:`ml-auto shrink-0 text-body-small-default text-[var(--content-tertiary)]`,children:`↵ Enter`})]}):t.value},t.isAdd?`__add__${t.value}`:t.value)),r&&(0,Y.jsx)(`li`,{role:`presentation`,className:`mt-0.5 border-t border-[var(--border-base)] px-2.5 pb-0.5 pt-1.5 text-body-small-default text-[var(--content-tertiary)]`,children:`Type anything and press ↵ to add your own`})]})}function Cn({htmlFor:e,required:t,children:n}){return(0,Y.jsxs)(`label`,{htmlFor:e,className:`text-body-small-default text-[var(--content-secondary)]`,children:[n,t?(0,Y.jsx)(`span`,{"aria-hidden":!0,className:`text-[var(--system-negative-strong)]`,children:` *`}):null]})}function wn(e,t){(0,J.useEffect)(()=>{function n(n){e.current&&!e.current.contains(n.target)&&t()}return document.addEventListener(`mousedown`,n),()=>document.removeEventListener(`mousedown`,n)},[e,t])}function Tn({label:e,placeholder:t,values:n,onChange:r,suggestions:i}){let a=(0,J.useId)(),o=`tac-${a}`,s=`tac-list-${a}`,c=(0,J.useRef)(null),[l,d]=(0,J.useState)(``),[f,p]=(0,J.useState)(!1),[m,h]=(0,J.useState)(-1),g=(0,J.useMemo)(()=>xn(i,l,n),[i,l,n]),v=l.trim(),y=(0,J.useMemo)(()=>{if(!v)return!1;let e=Z(v);return!(n.some(t=>Z(t)===e)||g.some(t=>Z(t)===e))},[v,n,g]),x=(0,J.useMemo)(()=>{let e=g.map(e=>({value:e,isAdd:!1}));return y?[...e,{value:v,isAdd:!0}]:e},[g,y,v]);wn(c,()=>p(!1)),(0,J.useEffect)(()=>{h(e=>e>=x.length?x.length-1:e)},[x.length]);let S=f&&x.length>0,C=!y;function w(e){let t=e.trim();t&&(n.some(e=>Z(e)===Z(t))||r([...n,t]),d(``),h(-1))}function T(e){r(n.filter(t=>t!==e))}function E(e){e.key===`ArrowDown`?(e.preventDefault(),p(!0),h(e=>Math.min(e+1,x.length-1))):e.key===`ArrowUp`?(e.preventDefault(),h(e=>Math.max(e-1,0))):e.key===`Enter`?S&&m>=0?(e.preventDefault(),w(x[m].value)):l.trim()&&(e.preventDefault(),w(l)):e.key===`,`?(e.preventDefault(),w(l)):e.key===`Backspace`&&l.length===0&&n.length>0?T(n[n.length-1]):e.key===`Escape`&&S&&(e.preventDefault(),p(!1))}return(0,Y.jsxs)(`div`,{ref:c,className:`relative flex flex-col gap-1.5`,children:[(0,Y.jsx)(Cn,{htmlFor:o,children:e}),(0,Y.jsxs)(`div`,{className:u(yn,`min-h-9 flex-wrap py-1.5`),children:[(0,Y.jsx)(_,{size:16,"aria-hidden":!0,className:`shrink-0 self-center text-[var(--content-tertiary)]`}),n.map(e=>(0,Y.jsx)(b,{onRemove:()=>T(e),removeLabel:`Remove ${e}`,className:`border border-[var(--border-base)] bg-[var(--surface-base)]`,children:e},e)),(0,Y.jsx)(`input`,{id:o,role:`combobox`,"aria-expanded":S,"aria-controls":s,"aria-autocomplete":`list`,"aria-activedescendant":m>=0?`${s}-opt-${m}`:void 0,autoComplete:`off`,className:u(bn,`h-6 w-24`),placeholder:n.length===0?t:``,value:l,onChange:e=>{d(e.target.value),p(!0)},onFocus:()=>p(!0),onKeyDown:E})]}),S&&(0,Y.jsx)(Sn,{id:s,options:x,highlighted:m,showAddHint:C,onPick:w,onHover:h})]})}var En=`Reading.Writing.Cooking.Baking.Gardening.Photography.Painting.Drawing.Hiking.Running.Cycling.Swimming.Yoga.Climbing.Weightlifting.Gaming.Board games.Chess.Traveling.Cars.Woodworking.Knitting.Playing guitar.Playing piano.Singing.Dancing.Fishing.Camping.Surfing.Skiing.Snowboarding.Coffee.Wine.Birdwatching.Pottery.Investing.Podcasts.Movies.Soccer.Basketball.Tennis.Golf.Meditation.Volunteering.Astronomy.3D printing`.split(`.`);function Q(e,t){return{animation:`fadeInUp 0.4s ease-out ${e}s both`,...t==null?{}:{position:`relative`,zIndex:t}}}function Dn({initialFirstName:e=``,initialLastName:t=``,onSubmit:n}){let[r,i]=(0,J.useState)(e),[o,s]=(0,J.useState)(t),[c,l]=(0,J.useState)(``),[u,d]=(0,J.useState)([]),p=r.trim().length>0&&c.trim().length>0;function m(){p&&n({firstName:r,lastName:o,role:c,hobbies:u})}return(0,Y.jsx)(`div`,{"data-theme":`dark`,className:`h-full`,children:(0,Y.jsxs)(Ve,{showCreatureFooter:!1,children:[(0,Y.jsx)(vn,{}),(0,Y.jsxs)(`form`,{className:`relative z-10 mx-auto flex min-h-screen w-full max-w-sm flex-col items-center justify-center px-6 py-16 text-[var(--content-default)]`,onSubmit:e=>{e.preventDefault(),m()},children:[(0,Y.jsx)(`h1`,{className:`text-center font-serif text-[2.75rem] leading-[1.05] tracking-tight`,style:Q(.05),children:`Let's start with you.`}),(0,Y.jsx)(`p`,{className:`mt-3 text-center text-body-medium-lighter text-[var(--content-secondary)]`,style:Q(.12),children:`A few details so I can get to know you.`}),(0,Y.jsxs)(`div`,{className:`mt-10 flex w-full flex-col gap-5`,children:[(0,Y.jsx)(`div`,{style:Q(.2,40),children:(0,Y.jsx)(x,{label:(0,Y.jsxs)(Y.Fragment,{children:[`What should I call you?`,(0,Y.jsx)(`span`,{"aria-hidden":!0,className:`text-[var(--system-negative-strong)]`,children:` *`})]}),placeholder:`Your name`,value:r,onChange:e=>i(e.target.value),className:Xe,autoFocus:!0,required:!0,fullWidth:!0})}),(0,Y.jsx)(`div`,{style:Q(.27,30),children:(0,Y.jsx)(x,{label:`And your last name?`,placeholder:`Your last name (optional)`,value:o,onChange:e=>s(e.target.value),className:Xe,fullWidth:!0})}),(0,Y.jsx)(`div`,{style:Q(.34,20),children:(0,Y.jsx)(x,{label:`Your role`,placeholder:`What do you do for work?`,value:c,onChange:e=>l(e.target.value),className:Xe,required:!0,fullWidth:!0})}),(0,Y.jsx)(`div`,{style:Q(.41,10),children:(0,Y.jsx)(Tn,{label:`Any hobbies?`,placeholder:`Cars, books, growing tomatoes?`,values:u,onChange:d,suggestions:En})})]}),(0,Y.jsx)(`div`,{className:`mt-10 w-full`,style:Q(.5),children:(0,Y.jsx)(a,{type:`submit`,variant:`primary`,size:`regular`,rightIcon:(0,Y.jsx)(f,{size:16}),fullWidth:!0,disabled:!p,className:`h-11 text-base`,children:`Continue`})})]})]})})}function On(){let e=G(),t=X.use.characters(),n=X.use.selectedIndex();return(0,J.useMemo)(()=>{let r=t[n],i=e?.colors.find(e=>e.id===r?.color)?.hex;return Ie(i??`var(--surface-base)`)},[e,t,n])}function $({onBack:e,onNext:t,tone:n}){let r=On(),i=n?n===`dark`?`#1A1A1A`:`#FFFFFF`:r.fg,a=`color-mix(in srgb, ${i} 10%, transparent)`,o=`color-mix(in srgb, ${i} 18%, transparent)`;return(0,Y.jsxs)(`div`,{className:`absolute left-4 top-6 z-10 flex items-center gap-3`,children:[(0,Y.jsx)(`button`,{type:`button`,onClick:e,"aria-label":`Back`,className:`flex cursor-pointer h-10 w-10 items-center justify-center rounded-full transition-colors duration-150`,style:{color:i,backgroundColor:a},onMouseEnter:e=>e.currentTarget.style.backgroundColor=o,onMouseLeave:e=>e.currentTarget.style.backgroundColor=a,children:(0,Y.jsx)(d,{className:`h-4 w-4`})}),t?(0,Y.jsx)(`button`,{type:`button`,onClick:t,"aria-label":`Forward`,className:`flex cursor-pointer h-10 w-10 items-center justify-center rounded-full transition-colors duration-150`,style:{color:i,backgroundColor:a},onMouseEnter:e=>e.currentTarget.style.backgroundColor=o,onMouseLeave:e=>e.currentTarget.style.backgroundColor=a,children:(0,Y.jsx)(f,{className:`h-4 w-4`})}):null]})}var kn=[`Ziggy`,`Quill`,`Luna`,`Remy`,`Cleo`,`Cade`];function An(e,t){let n=[];for(let r=0;r<e;r++)r!==t&&n.push(r);return{centerChar:t,edgeOrder:n}}function jn({onContinue:e,onBack:t,onForward:n}){let r=G(),i=X.use.characters(),o=X.use.ensureGenerated(),s=X.use.selectedIndex(),c=X.use.setSelectedIndex();(0,J.useEffect)(()=>{r&&o(r)},[r,o]);let l=i.length,[u,m]=(0,J.useState)(null),[g,_]=(0,J.useState)(``),[v,y]=(0,J.useState)(!1),b=(0,J.useRef)(!1),x=(0,J.useRef)(null),{ref:S,size:C}=qe(),[w,T]=(0,J.useState)(null);(0,J.useEffect)(()=>{l>0&&u===null&&m(An(l,s))},[l,s,u]),(0,J.useEffect)(()=>{u&&c(u.centerChar)},[u,c]);let E=u?.centerChar;(0,J.useEffect)(()=>{E!=null&&!b.current&&_(kn[E%kn.length])},[E]),(0,J.useEffect)(()=>{v&&(x.current?.focus(),x.current?.select())},[v]);function D(e){if(!u||e===u.centerChar)return;let t=u.edgeOrder.indexOf(e);if(t<0)return;let n=[...u.edgeOrder];n[t]=u.centerChar,T({entering:{char:e,fromSlot:t},exiting:{char:u.centerChar,toSlot:t}}),m({centerChar:e,edgeOrder:n})}let ee=()=>u&&D((u.centerChar+1)%l),O=()=>u&&D((u.centerChar-1+l)%l),k=(0,J.useMemo)(()=>u?i[u.centerChar]:void 0,[u,i]),A=!!r&&!!u&&!!k;function j(){k&&e({traits:k,name:g.trim()})}function M(){b.current=!0,_(e=>{let t=kn.filter(t=>t!==e),n=t.length>0?t:kn;return n[Math.floor(Math.random()*n.length)]})}let N=`pointer-events-auto z-10 flex cursor-pointer h-10 w-10 items-center justify-center rounded-full bg-[color-mix(in_srgb,var(--content-default)_10%,transparent)] text-[var(--content-default)] transition-colors duration-150 hover:bg-[color-mix(in_srgb,var(--content-default)_18%,transparent)]`;return(0,Y.jsx)(`div`,{ref:S,"data-theme":`dark`,className:`relative h-full overflow-hidden bg-[var(--surface-base)] text-[var(--content-default)]`,children:(0,Y.jsxs)(Xt,{size:C,children:[A&&(0,Y.jsx)(hn,{components:r,characters:i,centerChar:u.centerChar,edgeOrder:u.edgeOrder,entering:w?.entering??null,exiting:w?.exiting??null,onEnterComplete:e=>T(t=>t?.entering.char===e?null:t),onSelectChar:D}),(0,Y.jsx)($,{tone:`light`,onBack:t,onNext:n?j:void 0}),(0,Y.jsx)(`h1`,{className:`absolute left-1/2 top-[22%] z-10 -translate-x-1/2 whitespace-nowrap text-center text-[2.6rem] leading-none max-md:w-[90vw] max-md:whitespace-normal max-md:text-[2.08rem]`,style:{fontFamily:`var(--font-serif)`,animation:`fadeInUp 0.4s ease-out both`},children:`Give me a face and a name`}),(0,Y.jsx)(`button`,{type:`button`,"aria-label":`Previous character`,onClick:O,className:`absolute left-[calc(50%-170px)] top-[43%] -translate-y-1/2 ${N}`,children:(0,Y.jsx)(d,{className:`h-4 w-4`})}),(0,Y.jsx)(`button`,{type:`button`,"aria-label":`Next character`,onClick:ee,className:`absolute right-[calc(50%-170px)] top-[43%] -translate-y-1/2 ${N}`,children:(0,Y.jsx)(f,{className:`h-4 w-4`})}),(0,Y.jsxs)(`div`,{className:`absolute left-1/2 top-[58%] z-10 flex -translate-x-1/2 flex-col items-center gap-10 max-md:top-[54%]`,children:[(0,Y.jsx)(`div`,{className:`flex flex-col items-center gap-4`,children:v?(0,Y.jsx)(`input`,{ref:x,value:g,onChange:e=>{b.current=!0,_(e.target.value)},onBlur:()=>y(!1),onKeyDown:e=>{e.key===`Enter`&&(e.preventDefault(),y(!1))},placeholder:`Name your assistant`,"aria-label":`Assistant name`,className:`w-[234px] rounded-2xl border border-[var(--border-element)] bg-transparent px-4 py-2.5 text-center text-lg text-[var(--content-default)] placeholder:text-[var(--content-tertiary)] outline-none transition-colors duration-150 focus:border-[var(--border-active)]`}):(0,Y.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[(0,Y.jsxs)(`button`,{type:`button`,onClick:()=>y(!0),"aria-label":`Edit name`,className:`flex cursor-pointer items-center gap-2.5`,children:[(0,Y.jsx)(`span`,{className:`text-2xl font-medium ${g?`text-[var(--content-default)]`:`text-[var(--content-tertiary)]`}`,children:g||`Name your assistant`}),(0,Y.jsx)(h,{className:`h-5 w-5 text-[var(--content-tertiary)]`})]}),(0,Y.jsx)(`button`,{type:`button`,onClick:M,"aria-label":`Shuffle name`,title:`Shuffle name`,className:`cursor-pointer text-[var(--content-tertiary)] transition-[transform,color] duration-300 hover:rotate-180 hover:text-[var(--content-default)]`,children:(0,Y.jsx)(p,{className:`h-5 w-5`})})]})}),(0,Y.jsx)(a,{type:`button`,variant:`primary`,size:`regular`,rightIcon:(0,Y.jsx)(f,{size:16}),disabled:!A,onClick:j,className:`h-11 w-[234px] text-base`,children:`Continue`})]})]})})}var Mn=.25,Nn=.46,Pn=.3,Fn=.85,In=40,Ln=14,Rn=8;function zn({entrance:e=!1,entranceDelay:t=0,bumpNonce:n=0,settleBlink:r=!0}){let i=G(),a=X.use.characters(),o=X.use.selectedIndex(),s=U(),{w:c,h:l}=Zt(),[u,d]=(0,J.useState)({x:0,y:0});(0,J.useEffect)(()=>{if(s)return;let e=e=>{d({x:(e.clientX/window.innerWidth-.5)*2,y:(e.clientY/window.innerHeight-.5)*2})};return window.addEventListener(`mousemove`,e),()=>window.removeEventListener(`mousemove`,e)},[s]);let f=e&&!s,p=Me();(0,J.useEffect)(()=>{n>0&&!s&&p.start({y:[0,-34,8,0],transition:{duration:.45,ease:`easeOut`}})},[n,s,p]);let[m,h]=(0,J.useState)(!1),[g,_]=(0,J.useState)(!e);(0,J.useEffect)(()=>{if(s||!g)return;let e=!1,t,n=n=>{e||(h(!0),t=setTimeout(()=>{e||(h(!1),t=setTimeout(n,140))},140))},i=()=>{t=setTimeout(()=>n(i),2500+Math.random()*4e3)};return r?n(()=>n(i)):i(),()=>{e=!0,clearTimeout(t)}},[s,g,r]);let v=a.length>0?a[o]:void 0,y=(0,J.useMemo)(()=>{if(!i||!v)return null;let e=i.eyeStyles.find(e=>e.id===v.eyeStyle);return e?{paths:e.paths,bbox:Le(e.paths.map(e=>Re(e.svgPath)))}:null},[i,v]);if(!y)return null;let b=c*Fn,x=Math.min(Math.min(c,l)*Pn,b*y.bbox.h/y.bbox.w),S=x*y.bbox.w/y.bbox.h,C=(c-S)/2,w=l-(1-Mn)*x+l*.05,T=In/100*l-(w+x/2),E=(Nn-Mn)*x,D=y.bbox.x+y.bbox.w/2,ee=y.bbox.y+y.bbox.h/2;return(0,Y.jsx)(V.div,{"aria-hidden":`true`,className:`pointer-events-none absolute z-[2]`,style:{left:C,top:w,width:S,height:x,transformOrigin:`center`},initial:f?{y:T,scale:.35}:!1,animate:f?{y:[T,E,0],scale:[.35,1,1]}:{y:0,scale:1},transition:f?{duration:1,delay:t,times:[0,.7,1],ease:`easeInOut`}:{duration:0},onAnimationComplete:()=>_(!0),children:(0,Y.jsx)(V.div,{animate:p,children:(0,Y.jsx)(`div`,{style:{transform:`translate(${u.x*Ln}px, ${u.y*Rn}px)`,transition:`transform 0.5s cubic-bezier(0.22, 1, 0.36, 1)`},children:(0,Y.jsx)(`svg`,{viewBox:`${y.bbox.x} ${y.bbox.y} ${y.bbox.w} ${y.bbox.h}`,width:S,height:x,style:{overflow:`visible`,display:`block`},children:(0,Y.jsx)(`g`,{style:{transform:m?`scaleY(0.1)`:`scaleY(1)`,transformOrigin:`${D}px ${ee}px`,transition:`transform 0.14s ease-in-out`},children:y.paths.map((e,t)=>(0,Y.jsx)(`path`,{d:e.svgPath,fill:e.color},t))})})})})})}var Bn=200,Vn=40;function Hn({firstName:e,assistantName:t,onContinue:n,onBack:r,onForward:i}){let o=G(),s=X.use.characters(),c=X.use.selectedIndex(),l=U(),{ref:u,size:{w:d,h:p}}=qe(),m=On(),h=s.length>0?s[c]:void 0,g=(0,J.useMemo)(()=>{if(!o||!h)return null;let e=o.bodyShapes.find(e=>e.id===h.bodyShape),t=o.colors.find(e=>e.id===h.color);return!e||!t?null:{body:e,color:t.hex}},[o,h]),_=e.trim()?`Hey, ${e.trim()}!`:`Hey!`,v=t?.trim()?`I’m ${t.trim()}, your new AI assistant.`:`I’m your new AI assistant.`;if(!g)return(0,Y.jsx)(`div`,{"data-theme":`dark`,className:`h-full`,style:{backgroundColor:`var(--surface-base)`}});let y=1.25*Math.max(d,p),b=y*g.body.viewBox.height/g.body.viewBox.width,x=(d-y)/2,S=(p-b)/2,C=Bn/y,w=(Vn/100-.5)*p;return(0,Y.jsx)(`div`,{ref:u,"data-theme":`dark`,className:`relative h-full overflow-hidden`,style:{backgroundColor:`var(--surface-base)`},children:(0,Y.jsxs)(Xt,{size:{w:d,h:p},children:[(0,Y.jsx)(V.div,{className:`absolute inset-0 z-0`,style:{backgroundColor:g.color},initial:l?!1:{opacity:0},animate:{opacity:1},transition:l?{duration:0}:{duration:.6,delay:.35}}),(0,Y.jsx)(V.svg,{"aria-hidden":`true`,className:`pointer-events-none absolute z-[1]`,viewBox:`0 0 ${g.body.viewBox.width} ${g.body.viewBox.height}`,width:y,height:b,style:{left:x,top:S,transformOrigin:`center`},initial:l?!1:{scale:C,y:w},animate:{scale:1,y:0},transition:l?{duration:0}:{type:`spring`,stiffness:78,damping:18,mass:1},children:(0,Y.jsx)(`path`,{d:g.body.svgPath,fill:g.color})}),(0,Y.jsx)(zn,{entrance:!0}),(0,Y.jsx)(V.div,{initial:l?!1:{opacity:0},animate:{opacity:1},transition:l?{duration:0}:{duration:.4,delay:1},children:(0,Y.jsx)($,{onBack:r,onNext:i})}),(0,Y.jsxs)(`div`,{className:q,children:[(0,Y.jsxs)(V.h1,{className:`text-center leading-[1.15] max-md:leading-[1.25]`,style:{fontFamily:`var(--font-serif)`},initial:l?!1:{scale:.9,opacity:0},animate:{scale:1,opacity:1},transition:l?{duration:0}:{type:`spring`,stiffness:260,damping:11,delay:1},children:[(0,Y.jsx)(`span`,{className:`block text-[clamp(2.5rem,6vw,5rem)]`,style:{color:m.fgDeep},children:_}),(0,Y.jsx)(`span`,{className:`block text-[clamp(2.5rem,6vw,5rem)]`,style:{color:m.fg},children:v})]}),(0,Y.jsx)(V.div,{initial:l?!1:{opacity:0,y:8},animate:{opacity:1,y:0},transition:l?{duration:0}:{duration:.4,delay:1.15},children:(0,Y.jsx)(a,{type:`button`,variant:`primary`,size:`regular`,rightIcon:(0,Y.jsx)(f,{size:16}),onClick:n,className:`h-11 w-[234px] text-base`,children:`Continue`})})]})]})})}var Un=.3,Wn=.85,Gn=.25;function Kn(){let e=G(),t=X.use.characters(),n=X.use.selectedIndex(),r=t.length>0?t[n]:void 0,{w:i,h:a}=Zt(),o=(0,J.useMemo)(()=>{if(!e||!r)return null;let t=e.eyeStyles.find(e=>e.id===r.eyeStyle);return t?{paths:t.paths,bbox:Le(t.paths.map(e=>Re(e.svgPath)))}:null},[e,r]),s=o?Math.min(Math.min(i,a)*Un,i*Wn*o.bbox.h/o.bbox.w):0;return{art:o,eyesW:o?s*o.bbox.w/o.bbox.h:0,eyesH:s,restCy:a-Gn*s,centerX:i/2,w:i,h:a}}function qn({art:e,eyesW:t,eyesH:n,centerX:r,eyeCy:i,eyeScale:a,eyeX:o,blinking:s,className:c=`pointer-events-none absolute top-0 z-0`}){let l=ke(i,e=>e-n/2),u=e.bbox.x+e.bbox.w/2,d=e.bbox.y+e.bbox.h/2;return(0,Y.jsx)(V.div,{"aria-hidden":`true`,className:c,style:{left:r-t/2,top:0,x:o,y:l,width:t,height:n,scale:a,transformOrigin:`center`},children:(0,Y.jsx)(`svg`,{viewBox:`${e.bbox.x} ${e.bbox.y} ${e.bbox.w} ${e.bbox.h}`,width:t,height:n,style:{overflow:`visible`,display:`block`},children:(0,Y.jsx)(`g`,{style:{transform:s?`scaleY(0.1)`:`scaleY(1)`,transformOrigin:`${u}px ${d}px`,transition:`transform 0.13s ease-in-out`},children:e.paths.map((e,t)=>(0,Y.jsx)(`path`,{d:e.svgPath,fill:e.color},t))})})})}var Jn={green:[`pink`,`purple`,`orange`,`yellow`],orange:[`teal`,`purple`,`green`,`yellow`],pink:[`teal`,`green`,`yellow`,`purple`],purple:[`yellow`,`teal`,`green`,`orange`],teal:[`pink`,`orange`,`yellow`,`purple`],yellow:[`purple`,`teal`,`pink`,`green`]};function Yn(e,t){let n=Jn[e];return n&&n.length>0?n:t.filter(t=>t!==e)}var Xn=new Set([`orange`,`pink`,`red`]);function Zn(e,t){return Xn.has(e)&&Xn.has(t)}function Qn(e,t,n){let r=Yn(e,t),i=[];for(let e of r){if(i.length>=n)break;i.some(t=>Zn(t,e))||i.push(e)}for(let e of r){if(i.length>=n)break;i.includes(e)||i.push(e)}return i}var $n=`You’ve used AI that just answers questions.`,er=`The more I help,`,tr=`I’m different.`,nr=`the better I get,`,rr=`and the less you have to do.`,ir=[{bodyShape:`blob`,eyeStyle:`gentle`},{bodyShape:`urchin`,eyeStyle:`curious`},{bodyShape:`star`,eyeStyle:`goofy`}],ar=290;function or({firstH:e,secondH:t,color:n,firstText:r,secondText:i,revealed:a,carouseled:o,revealFrom:s,revealDuration:c,reduce:l}){let u=s===`bottom`?`inset(100% 0 0 0)`:`inset(0 0 100% 0)`;return!e||!t?null:(0,Y.jsx)(V.div,{className:`relative w-full overflow-hidden`,initial:!1,animate:{height:o?t:e},transition:l?{duration:0}:{duration:.5,ease:`easeInOut`},children:(0,Y.jsxs)(V.div,{className:`flex flex-col`,style:{color:n},initial:!1,animate:{y:o?-e:0},transition:l?{duration:0}:{duration:.5,ease:`easeInOut`},children:[(0,Y.jsx)(`div`,{className:`flex items-center justify-center`,style:{height:e},children:(0,Y.jsx)(V.span,{className:`block`,initial:!1,animate:{clipPath:a?`inset(0% 0 0% 0)`:u},transition:l?{duration:0}:{duration:c,ease:`easeOut`},children:r})}),(0,Y.jsx)(`div`,{className:`flex items-center justify-center`,style:{height:t},children:(0,Y.jsx)(`span`,{className:`block`,children:i})})]})})}function sr({onContinue:e,onBack:t,onForward:n}){let r=On(),i=U(),{art:o,eyesW:s,eyesH:c,restCy:l,centerX:u,w:d,h:p}=Kn(),m=G(),h=X.use.characters(),g=X.use.selectedIndex(),_=h.length>0?h[g]:void 0,v=p>0&&p<=800,y=v?.17:.22,b=v?`top-[17%]`:`top-[22%]`,x=je(0),S=je(1),C=(0,J.useMemo)(()=>!m||!_?`orange`:Qn(_.color,m.colors.map(e=>e.id),1)[0]??`orange`,[m,_]),w=Math.min(220,Math.max(150,d*.16)),T=-w,E=-w*.4,D=je(-220),ee=(0,J.useMemo)(()=>!m||!_?[]:Qn(_.color,m.colors.map(e=>e.id),3),[m,_]),O=Math.max(.42,Math.min(d/1100,1)),k=Math.round(ar*O),A=-k*1.1,j=-k*.42,M=je(-320),[N,te]=(0,J.useState)(!!i),[ne,re]=(0,J.useState)(!!i),[ie,ae]=(0,J.useState)(!1),[oe,se]=(0,J.useState)(!1),[P,F]=(0,J.useState)(!1),[ce,I]=(0,J.useState)(!1),[le,ue]=(0,J.useState)(!!i),de=Math.min(d,768)-48,L=(0,J.useRef)(null),fe=(0,J.useRef)(null),R=(0,J.useRef)(null),pe=(0,J.useRef)(null),me=(0,J.useRef)(null),[he,ge]=(0,J.useState)(0),[_e,ve]=(0,J.useState)(0),[ye,be]=(0,J.useState)(0),[xe,Se]=(0,J.useState)(0),[Ce,we]=(0,J.useState)(0);return(0,J.useLayoutEffect)(()=>{L.current?.offsetHeight&&ge(L.current.offsetHeight),fe.current?.offsetHeight&&ve(fe.current.offsetHeight),R.current?.offsetHeight&&be(R.current.offsetHeight),pe.current?.offsetHeight&&Se(pe.current.offsetHeight),me.current?.offsetHeight&&we(me.current.offsetHeight)},[de]),(0,J.useEffect)(()=>{x.set(l),I(!0)},[l,x]),(0,J.useEffect)(()=>{if(!i)return;let e=setTimeout(()=>{ae(!0),se(!0),F(!0)},1400);return()=>clearTimeout(e)},[i]),(0,J.useEffect)(()=>{if(i||!o)return;x.set(l),S.set(1),D.set(T),M.set(A),te(!1),re(!1),ae(!1),se(!1);let e=Math.max(c*.5,p*y-36),t=[],n=[],r=!1,a=e=>(t.push(e),e),s=e=>new Promise(t=>{n.push(setTimeout(t,e))});return(async()=>{if(await s(200),r||(te(!0),await Promise.all([a(z(x,e,{duration:.55,ease:`easeOut`})),a(z(S,.55,{duration:.55,ease:`easeOut`}))]),r)||(re(!0),await Promise.all([a(z(x,l,{type:`spring`,stiffness:210,damping:15})),a(z(S,1,{duration:.45,ease:`easeOut`}))]),r)||(await s(900),r)||(ae(!0),se(!0),await a(z(D,[T,E,E,T],{duration:1.5,times:[0,.28,.62,1],ease:[`easeOut`,`easeInOut`,`easeInOut`]})),r)||(await s(150),r))return;F(!0);let t=a(z(M,[A,j,j,A],{duration:1.5,times:[0,.28,.62,1],ease:[`easeOut`,`easeInOut`,`easeInOut`]}));await s(700),!r&&(ue(!0),await t)})(),()=>{r=!0,t.forEach(e=>e.stop()),n.forEach(clearTimeout)}},[i,o,p,y,c,l,x,S,D,T,E,M,A,j]),(0,Y.jsxs)(`div`,{className:`absolute inset-0 z-10 overflow-hidden`,style:{color:r.fg},children:[(0,Y.jsx)($,{onBack:t,onNext:n}),(0,Y.jsxs)(`div`,{"aria-hidden":`true`,className:`pointer-events-none invisible absolute -left-[9999px] top-0 text-[clamp(2.25rem,5.5vw,4.5rem)] leading-[1.15]`,style:{width:de,fontFamily:`var(--font-serif)`},children:[(0,Y.jsx)(`span`,{ref:L,className:`block`,children:$n}),(0,Y.jsx)(`span`,{ref:fe,className:`block`,children:er}),(0,Y.jsx)(`span`,{ref:R,className:`block`,children:tr}),(0,Y.jsx)(`span`,{ref:pe,className:`block`,children:nr}),(0,Y.jsx)(`span`,{ref:me,className:`block`,children:rr})]}),ce&&o&&(0,Y.jsx)(qn,{art:o,eyesW:s,eyesH:c,centerX:u,eyeCy:x,eyeScale:S,blinking:!1}),!i&&m&&(0,Y.jsx)(V.div,{"aria-hidden":`true`,className:`pointer-events-none absolute z-[1]`,style:{left:Math.max(16,d*.05),top:0,y:D,width:w,height:w},children:(0,Y.jsx)(W,{components:m,traits:{bodyShape:`blob`,eyeStyle:`goofy`,color:C},size:w,breathe:!1})}),!i&&m&&(0,Y.jsx)(V.div,{"aria-hidden":`true`,className:`pointer-events-none absolute right-0 top-0 z-[1] flex items-start`,style:{right:-Math.round(k*.12),y:M},children:ir.map((e,t)=>(0,Y.jsx)(`div`,{style:{width:k,height:k,marginLeft:t===0?0:-k*.34,zIndex:ir.length-t},children:(0,Y.jsx)(W,{components:m,traits:{bodyShape:e.bodyShape,eyeStyle:e.eyeStyle,color:ee[t]??`teal`},size:k,breathe:!1})},e.bodyShape))}),(0,Y.jsxs)(`div`,{className:`${q.replace(`top-[30%]`,b)} max-w-3xl max-md:top-[34%]`,children:[(0,Y.jsxs)(`div`,{className:`flex w-full flex-col gap-3 text-[clamp(2.25rem,5.5vw,4.5rem)] leading-[1.15]`,style:{fontFamily:`var(--font-serif)`},children:[(0,Y.jsx)(or,{firstH:he,secondH:_e,color:r.fgDeep,firstText:$n,secondText:er,revealed:N,carouseled:ie,revealFrom:`bottom`,revealDuration:.55,reduce:!!i}),(0,Y.jsx)(or,{firstH:ye,secondH:xe,color:r.fg,firstText:tr,secondText:nr,revealed:ne,carouseled:oe,revealFrom:`top`,revealDuration:.45,reduce:!!i}),(0,Y.jsx)(V.div,{className:`relative w-full overflow-hidden`,style:{color:r.fg},initial:!1,animate:{height:P?Ce:0},transition:i?{duration:0}:{duration:.5,ease:`easeInOut`},children:Ce>0&&(0,Y.jsx)(`div`,{className:`flex items-center justify-center`,style:{height:Ce},children:(0,Y.jsx)(V.span,{className:`block`,initial:!1,animate:{clipPath:P?`inset(0% 0 0% 0)`:`inset(100% 0 0 0)`},transition:i?{duration:0}:{duration:.5,ease:`easeOut`},children:rr})})})]}),le&&(0,Y.jsx)(V.div,{initial:i?!1:{opacity:0,y:8},animate:{opacity:1,y:0},transition:i?{duration:0}:{duration:.4},children:(0,Y.jsx)(a,{type:`button`,variant:`primary`,size:`regular`,rightIcon:(0,Y.jsx)(f,{size:16}),onClick:e,className:`h-11 w-[234px] text-base`,children:`Continue`})})]})]})}function cr({idSuffix:e}){let t=`cf-${e}`,n=`cr-${e}`,r=`cg-${e}`,i=`cs-${e}`;return(0,Y.jsxs)(`svg`,{viewBox:`0 0 100 100`,width:`100%`,height:`100%`,style:{display:`block`,position:`absolute`,inset:0},children:[(0,Y.jsxs)(`defs`,{children:[(0,Y.jsxs)(`linearGradient`,{id:n,x1:`0.12`,y1:`0.05`,x2:`0.85`,y2:`0.95`,children:[(0,Y.jsx)(`stop`,{offset:`0%`,stopColor:`#FFF0AE`}),(0,Y.jsx)(`stop`,{offset:`50%`,stopColor:`#F4C231`}),(0,Y.jsx)(`stop`,{offset:`100%`,stopColor:`#D29B1A`})]}),(0,Y.jsxs)(`radialGradient`,{id:t,cx:`42%`,cy:`36%`,r:`82%`,children:[(0,Y.jsx)(`stop`,{offset:`0%`,stopColor:`#FFF6CE`}),(0,Y.jsx)(`stop`,{offset:`55%`,stopColor:`#F8CB3E`}),(0,Y.jsx)(`stop`,{offset:`100%`,stopColor:`#EEB52C`})]}),(0,Y.jsxs)(`radialGradient`,{id:r,cx:`36%`,cy:`24%`,r:`44%`,children:[(0,Y.jsx)(`stop`,{offset:`0%`,stopColor:`#FFFFFF`,stopOpacity:`0.85`}),(0,Y.jsx)(`stop`,{offset:`100%`,stopColor:`#FFFFFF`,stopOpacity:`0`})]}),(0,Y.jsxs)(`radialGradient`,{id:i,cx:`50%`,cy:`50%`,r:`50%`,children:[(0,Y.jsx)(`stop`,{offset:`0%`,stopColor:`#FFFFFF`,stopOpacity:`1`}),(0,Y.jsx)(`stop`,{offset:`100%`,stopColor:`#FFFFFF`,stopOpacity:`0`})]})]}),(0,Y.jsx)(`circle`,{cx:`50`,cy:`50`,r:`49`,fill:`url(#${n})`}),(0,Y.jsx)(`circle`,{cx:`50`,cy:`50`,r:`45.5`,fill:`none`,stroke:`#FFF6CF`,strokeOpacity:`0.6`,strokeWidth:`2.2`,strokeLinecap:`round`,strokeDasharray:`70 210`,transform:`rotate(-128 50 50)`}),(0,Y.jsx)(`circle`,{cx:`50`,cy:`50`,r:`40`,fill:`url(#${t})`}),(0,Y.jsx)(`circle`,{cx:`50`,cy:`50`,r:`40`,fill:`none`,stroke:`#C28F18`,strokeOpacity:`0.35`,strokeWidth:`1.4`}),(0,Y.jsxs)(`g`,{fontFamily:`var(--font-sans), system-ui, sans-serif`,fontWeight:900,fontSize:`58`,textAnchor:`middle`,children:[(0,Y.jsx)(`text`,{x:`50`,y:`50`,dy:`0.355em`,fill:`#C88E16`,transform:`translate(1.3 1.6)`,children:`$`}),(0,Y.jsx)(`text`,{x:`50`,y:`50`,dy:`0.355em`,fill:`#FFF6CF`,opacity:`0.7`,transform:`translate(-1.3 -1.5)`,children:`$`}),(0,Y.jsx)(`text`,{x:`50`,y:`50`,dy:`0.355em`,fill:`#F4C12A`,children:`$`})]}),(0,Y.jsx)(`ellipse`,{cx:`38`,cy:`28`,rx:`22`,ry:`14`,fill:`url(#${r})`}),(0,Y.jsx)(`ellipse`,{cx:`34`,cy:`24`,rx:`7`,ry:`4.5`,fill:`url(#${i})`})]})}function lr({size:e,tiltX:t=0,tiltY:n=0,shadow:r=!0,spinning:i=!1,className:a}){return(0,Y.jsxs)(`div`,{style:{position:`relative`,width:e,height:e},children:[r&&(0,Y.jsx)(`div`,{"aria-hidden":`true`,style:{position:`absolute`,left:`50%`,bottom:-e*.14,width:e*.74,height:e*.16,transform:`translateX(-50%)`,background:`radial-gradient(ellipse at center, rgba(0,0,0,0.22), rgba(0,0,0,0) 70%)`,filter:`blur(2px)`}}),(0,Y.jsx)(`div`,{style:{width:e,height:e,perspective:e*10},children:(0,Y.jsxs)(V.div,{className:a,style:{width:e,height:e,position:`relative`,transformStyle:`preserve-3d`},initial:!1,animate:{rotateX:t,rotateY:i?[n,n+360,n+760,n+1180]:n},transition:i?{duration:.95,times:[0,.32,.62,1],ease:`easeInOut`}:{duration:0},children:[(0,Y.jsx)(`div`,{style:{position:`absolute`,inset:0,backfaceVisibility:`hidden`,transform:`translateZ(0.5px)`},children:(0,Y.jsx)(cr,{idSuffix:`front`})}),(0,Y.jsx)(`div`,{style:{position:`absolute`,inset:0,backfaceVisibility:`hidden`,transform:`translateZ(-0.5px) rotateY(180deg)`},children:(0,Y.jsx)(cr,{idSuffix:`back`})})]})})]})}var ur=.3,dr=.95;function fr({onClaim:e,onBumpEyes:t,onBack:n,onForward:r}){let i=U(),a=On(),{h:o}=Zt(),[s,c]=(0,J.useState)(!1);function l(){if(!s){if(c(!0),i){e();return}window.setTimeout(t,ur*1e3)}}let u=o*.42,d=-o*.08,p=o*.9;return(0,Y.jsxs)(`div`,{className:`absolute inset-0 z-10`,style:{color:a.fg},children:[(0,Y.jsx)($,{onBack:n,onNext:r}),(0,Y.jsxs)(`div`,{className:`absolute left-1/2 top-[26%] flex w-full max-w-xl -translate-x-1/2 flex-col items-center gap-3 px-6 text-center`,children:[(0,Y.jsxs)(`h1`,{className:`text-[2.6rem] leading-[1.1] max-md:max-w-[80vw]`,style:{fontFamily:`var(--font-serif)`},children:[`Here are some free credits`,(0,Y.jsx)(`br`,{className:`max-md:hidden`}),` to get started.`]}),(0,Y.jsx)(`div`,{className:`mt-10 flex flex-col items-center gap-4`,children:(0,Y.jsx)(V.div,{animate:s&&!i?{y:[0,u,d,p],scale:[1,1,1,.2],opacity:[1,1,1,0]}:{},transition:{duration:dr,times:[0,ur/dr,.62,1],ease:[`easeIn`,`easeOut`,`easeIn`]},onAnimationComplete:()=>{s&&e()},children:(0,Y.jsx)(lr,{size:88,spinning:s&&!i})})}),!s&&(0,Y.jsxs)(`button`,{type:`button`,onClick:l,className:`flex cursor-pointer h-11 w-[234px] items-center justify-center gap-2 rounded-[10px] text-body-medium-default transition-transform duration-150 active:scale-[0.97]`,style:{marginTop:Math.round(24+o*.05),backgroundColor:a.isLight?`#1A1A1A`:`#FFFFFF`,color:a.isLight?`#FFFFFF`:`#1A1A1A`},children:[`Claim`,(0,Y.jsx)(f,{className:`h-4 w-4`})]})]})]})}He();var pr=640,mr=[{id:`companion-coworker`,left:`Companion`,right:`Coworker`,leftAvatar:{bodyShape:`blob`,eyeStyle:`gentle`,color:`pink`},rightAvatar:{bodyShape:`ninja`,eyeStyle:`curious`,color:`purple`}},{id:`genz-boomer`,left:`Gen Z`,right:`Baby Boomer`,leftAvatar:{bodyShape:`burst`,eyeStyle:`quirky`,color:`yellow`},rightAvatar:{bodyShape:`cloud`,eyeStyle:`dazed`,color:`green`}},{id:`execute-collaborate`,left:`Independent`,right:`Collaborative`,leftAvatar:{bodyShape:`star`,eyeStyle:`angry`,color:`orange`},rightAvatar:{bodyShape:`flower`,eyeStyle:`goofy`,color:`teal`}},{id:`playful-serious`,left:`Playful`,right:`Serious`,leftAvatar:{bodyShape:`star`,eyeStyle:`goofy`,color:`yellow`},rightAvatar:{bodyShape:`blob`,eyeStyle:`grumpy`,color:`purple`}},{id:`polite-unfiltered`,left:`Polite`,right:`Unfiltered`,leftAvatar:{bodyShape:`sprout`,eyeStyle:`bashful`,color:`green`},rightAvatar:{bodyShape:`urchin`,eyeStyle:`surprised`,color:`orange`}}],hr=[`9%`,`27%`,`45%`,`62%`,`79%`],gr=50,_r=.3*.75,vr=`rgba(36, 41, 46, 0.2)`,yr=`#FDFDFC`,br=.16;function xr(e,t,n){let r=[];for(let i=0;i<e.length;i++){let a=r[i-1],o=e[i+1],s=e[i]??``,c=e=>e===t||e===a;if(!c(s)){r.push(s);continue}let l=n.find(e=>!c(e)&&e!==o)??n.find(e=>!c(e))??s;r.push(l)}return r}function Sr(){let[e,t]=(0,J.useState)(()=>typeof window>`u`?1280:window.innerWidth);return(0,J.useEffect)(()=>{let e=()=>t(window.innerWidth);return window.addEventListener(`resize`,e),()=>window.removeEventListener(`resize`,e)},[]),e}function Cr({components:e,traits:t,side:n,top:r,size:i,progress:a}){let o=Math.max(0,Math.min(1,a)),s=100+br*100,c=n===`left`?-100+s*o:100-s*o;return(0,Y.jsx)(`div`,{"aria-hidden":`true`,className:`pointer-events-none absolute`,style:{[n]:`calc(50% - 50vw)`,top:r,width:i,height:i,opacity:Math.min(1,o*1.6),transform:`translate(${c}%, -50%) scale(${.8+.2*o})`,transformOrigin:`${n} center`,transition:`transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.18s ease`,willChange:`transform, opacity`},children:(0,Y.jsx)(W,{components:e,traits:t,size:i,breathe:!1})})}function wr({axis:e,value:t,onValueChange:n,fg:r,disabled:i}){return(0,Y.jsxs)(`div`,{className:`flex w-full shrink-0 flex-wrap items-center gap-x-5 gap-y-1.5 sm:flex-nowrap`,style:{opacity:i?.7:1},children:[(0,Y.jsx)(`span`,{className:`order-1 flex-1 text-left text-sm sm:w-32 sm:flex-none sm:text-right sm:text-[17px]`,style:{color:r},children:e.left}),(0,Y.jsx)(`span`,{className:`order-2 flex-1 text-right text-sm sm:order-3 sm:w-32 sm:flex-none sm:text-left sm:text-[17px]`,style:{color:r},children:e.right}),(0,Y.jsxs)(w,{className:`relative order-3 flex h-6 w-full touch-none items-center select-none sm:order-2 sm:w-auto sm:flex-1`,value:[t],onValueChange:e=>n(e[0]??gr),disabled:i,min:0,max:100,step:1,"aria-label":`${e.left} to ${e.right}`,children:[(0,Y.jsx)(S,{className:`relative h-2 w-full grow rounded-full sm:h-3`,style:{backgroundColor:vr}}),(0,Y.jsx)(C,{className:`block h-5 w-5 cursor-grab rounded-full shadow-sm transition-transform active:scale-95 active:cursor-grabbing keyboard-focus:outline-none keyboard-focus:ring-2 keyboard-focus:ring-white/70 data-[disabled]:cursor-not-allowed data-[disabled]:active:scale-100 sm:h-6 sm:w-6`,style:{backgroundColor:yr}})]})]})}function Tr({components:e,values:t,sideAvatars:n,size:r}){return(0,Y.jsx)(`div`,{"aria-hidden":`true`,className:`pointer-events-none absolute inset-0 -z-10`,children:mr.map((i,a)=>{let o=t[i.id]??gr,s=Math.max(0,(gr-o)/gr),c=Math.max(0,(o-gr)/gr),l=hr[a]??`50%`,u=n[a];return u?(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(Cr,{components:e,traits:u.left,side:`left`,top:l,size:r,progress:s}),(0,Y.jsx)(Cr,{components:e,traits:u.right,side:`right`,top:l,size:r,progress:c})]},i.id):null})})}function Er({values:e,onValueChange:t,locked:n,onContinue:r,onBack:i,onForward:a}){let o=On(),s=G(),c=Sr(),{w:l,h:u}=Zt(),d=Math.round(_r*Math.min(l,u))+12,p=c>=pr,m=X.use.characters()[X.use.selectedIndex()]?.color,h=Math.round(Math.min(300,Math.max(160,c*.16))),g=(0,J.useMemo)(()=>{let e=s?.colors.map(e=>e.id)??[],t=xr(mr.map(e=>e.leftAvatar.color),m,e),n=xr(mr.map(e=>e.rightAvatar.color),m,e);return mr.map((e,r)=>({left:{...e.leftAvatar,color:t[r]??e.leftAvatar.color},right:{...e.rightAvatar,color:n[r]??e.rightAvatar.color}}))},[s,m]);return(0,Y.jsxs)(`div`,{className:`absolute inset-0 z-10 overflow-hidden`,style:{color:o.fg},children:[(0,Y.jsx)($,{onBack:i,onNext:a}),p&&s&&(0,Y.jsx)(Tr,{components:s,values:e,sideAvatars:g,size:h}),(0,Y.jsxs)(`div`,{className:`absolute inset-x-0 top-0 bottom-0 mx-auto flex w-full max-w-2xl flex-col items-center overflow-y-auto px-6`,style:{paddingBottom:d},children:[(0,Y.jsx)(`div`,{className:`w-full min-h-14 shrink-[4]`,style:{flexBasis:Math.round(u*.14)}}),(0,Y.jsxs)(`div`,{className:`flex shrink-0 flex-col items-center gap-4`,children:[(0,Y.jsx)(`h1`,{className:`text-center text-[2.6rem] leading-none`,style:{fontFamily:`var(--font-serif)`},children:`Create my personality`}),n?(0,Y.jsx)(`p`,{className:`text-center text-[15px]`,style:{color:o.fgMuted},children:`Personality locked — chat with your assistant to make any more updates`}):null]}),(0,Y.jsx)(`div`,{className:`w-full min-h-3 shrink-[2]`,style:{flexBasis:Math.round(40+u*.03)}}),mr.map((r,i)=>(0,Y.jsxs)(J.Fragment,{children:[i>0&&(0,Y.jsx)(`div`,{className:`w-full min-h-2.5 shrink basis-8 sm:basis-11`}),(0,Y.jsx)(wr,{axis:r,value:e[r.id]??gr,onValueChange:e=>t(r.id,e),fg:o.fg,disabled:n})]},r.id)),(0,Y.jsx)(`div`,{className:`w-full min-h-3 shrink-[2] basis-14`}),(0,Y.jsxs)(`button`,{type:`button`,onClick:r,className:`flex h-11 w-[234px] shrink-0 cursor-pointer items-center justify-center gap-2 rounded-[10px] text-body-medium-default transition-transform duration-150 active:scale-[0.97]`,style:{backgroundColor:o.isLight?`#1A1A1A`:`#FFFFFF`,color:o.isLight?`#FFFFFF`:`#1A1A1A`},children:[`Continue`,(0,Y.jsx)(f,{className:`h-4 w-4`})]})]})]})}function Dr({assistantId:e,assistantReady:t,onConnected:n,onSkip:r,onBack:i,onForward:a,missingCalendarScope:o=!1,onRetry:s,hatchError:c=null}){let l=On(),{handleConnect:u,oauthInProgress:d}=Ae({assistantId:e??``,onConnect:n}),f=()=>{s?.(),u()},p=!e||!t,h=p||d;return(0,Y.jsxs)(`div`,{className:`absolute inset-0 z-10`,style:{color:l.fg},children:[(0,Y.jsx)($,{onBack:i,onNext:a}),(0,Y.jsxs)(`div`,{className:`absolute left-1/2 top-[26%] flex w-[360px] -translate-x-1/2 flex-col items-center gap-5 text-center`,children:[(0,Y.jsx)(`h1`,{className:`text-[2.6rem] leading-tight`,style:{fontFamily:`var(--font-serif)`},children:p?`Waking up`:o?`Access not enabled`:`Let me make this easy`}),(0,Y.jsx)(`p`,{className:`text-[16px]`,style:{color:l.fgMuted},children:p?`Your assistant is getting ready`:o?`Check the box next to the Google Calendar permission so I can book the check-in.`:`Connect your Google Calendar so I can find time to check in and start helping.`}),(0,Y.jsxs)(`div`,{className:`mt-6 flex w-[234px] flex-col items-center gap-4`,children:[(0,Y.jsx)(`button`,{type:`button`,onClick:f,disabled:h,className:`flex cursor-pointer h-11 w-full items-center justify-center gap-2 rounded-[10px] text-body-medium-default transition-transform duration-150 enabled:active:scale-[0.97] disabled:cursor-not-allowed disabled:opacity-60`,style:{backgroundColor:l.isLight?`#1A1A1A`:`#FFFFFF`,color:l.isLight?`#FFFFFF`:`#1A1A1A`},children:p?(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(m,{className:`h-4 w-4 animate-spin`,"aria-hidden":!0}),`Starting assistant…`]}):d?(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(m,{className:`h-4 w-4 animate-spin`,"aria-hidden":!0}),`Waiting for authorization…`]}):o?`Try again`:`Connect Calendar →`}),(!p||c)&&(0,Y.jsx)(`button`,{type:`button`,onClick:r,disabled:d,className:`cursor-pointer text-body-small-default transition-opacity hover:opacity-100 disabled:opacity-60`,style:{color:l.fgMuted},children:`Skip for now`})]})]})]})}var Or=Ie(`#17191C`);function kr(){let[e,t]=(0,J.useState)(()=>({w:typeof window>`u`?1280:window.innerWidth,h:typeof window>`u`?800:window.innerHeight}));return(0,J.useEffect)(()=>{let e=()=>t({w:window.innerWidth,h:window.innerHeight});return window.addEventListener(`resize`,e),()=>window.removeEventListener(`resize`,e)},[]),e}function Ar(){let e=G(),t=X.use.characters(),n=X.use.selectedIndex();return{components:e,chosen:t.length>0?t[n]:void 0}}function jr({size:e=64,isAssistantBusy:t=!1}){let{components:n,chosen:r}=Ar();return!n||!r?(0,Y.jsx)(`div`,{style:{width:e,height:e}}):(0,Y.jsx)(`div`,{className:`shrink-0`,style:{width:e,height:e},children:(0,Y.jsx)(W,{components:n,traits:r,size:e,isAssistantBusy:t})})}var Mr=`pt-[0.7rem] text-[2.6rem] leading-none`,Nr=64,Pr=4500,Fr=7e3;function Ir({onDone:e,onBack:t,onForward:n,scheduledTime:r,awaitingTime:i}){let{components:a,chosen:o}=Ar(),s=U(),{w:c,h:l}=kr(),u=r?`Check-in scheduled for tomorrow at ${r}!`:`Check-in scheduled!`;(0,J.useEffect)(()=>{let t=setTimeout(e,i&&!r?Fr:Pr);return()=>clearTimeout(t)},[e,i,r]);let d=(0,J.useRef)(null),[f,p]=(0,J.useState)(null);(0,J.useLayoutEffect)(()=>{let e=()=>{let e=d.current?.getBoundingClientRect();e&&p({cx:e.left+e.width/2,cy:e.top+e.height/2})};return e(),window.addEventListener(`resize`,e),()=>window.removeEventListener(`resize`,e)},[u]);let m=1.3*Math.max(c,l)/Nr,h=f?c/2-f.cx:0,g=f?l*.88-f.cy:0,_=l*.05;return(0,Y.jsxs)(`div`,{className:`absolute inset-0 z-10 overflow-hidden text-white`,children:[(0,Y.jsx)($,{onBack:t,onNext:n,tone:`light`}),(0,Y.jsxs)(`div`,{className:`absolute left-1/2 top-[14%] sm:top-[26%] flex w-full max-w-xl -translate-x-1/2 items-start gap-3 px-6`,children:[(0,Y.jsx)(`div`,{ref:d,className:`relative shrink-0`,style:{width:Nr,height:Nr},children:a&&o&&f&&(0,Y.jsx)(V.div,{className:`absolute inset-0`,style:{transformOrigin:`center`},initial:s?!1:{scale:m,x:h,y:g},animate:{x:[h,h,0,0],y:[g,g+_,0,0],scale:[m,m,1.07,1]},transition:s?{duration:0}:{duration:1.1,times:[0,.18,.82,1],ease:[`easeOut`,`easeIn`,`easeOut`]},children:(0,Y.jsx)(W,{components:a,traits:o,size:Nr})})}),(0,Y.jsx)(V.span,{className:Mr,style:{fontFamily:`var(--font-serif)`},initial:s?!1:{opacity:0,x:-8},animate:{opacity:1,x:0},transition:s?{duration:0}:{duration:.4,delay:.9},children:u})]})]})}var Lr=[`Searching the web to get to know you…`,`Reading public profiles…`,`Skimming the highlights…`,`Connecting the dots…`,`Piecing it together…`],Rr=[`Updating my personality…`,`Finding my voice…`,`Getting into character…`],zr=`Almost there…`,Br=[...Lr,zr],Vr=[...Rr,zr],Hr=2800;function Ur({onDone:e,onBack:t,onAdvance:n,onForward:r,ready:i}){let a=Or,[o,s]=(0,J.useState)(0);return(0,J.useEffect)(()=>{n?.(o);let t=o>=Br.length-1;if(i&&t){let t=setTimeout(e,Hr);return()=>clearTimeout(t)}let r=setTimeout(()=>s(e=>(e+1)%Br.length),Hr);return()=>clearTimeout(r)},[o,i,e,n]),(0,Y.jsxs)(`div`,{className:`absolute inset-0 z-10`,style:{color:a.fg},children:[(0,Y.jsx)($,{onBack:t,onNext:r}),(0,Y.jsxs)(`div`,{className:`absolute left-1/2 top-1/2 flex w-full max-w-xl -translate-x-1/2 -translate-y-1/2 items-center gap-3 px-6`,children:[(0,Y.jsx)(jr,{isAssistantBusy:!0}),(0,Y.jsx)(H,{mode:`wait`,children:(0,Y.jsx)(V.p,{className:`${Mr} flex min-h-[4.4rem] items-center !pt-0 !text-[2.08rem]`,style:{fontFamily:`var(--font-serif)`},initial:{y:12,opacity:0},animate:{y:0,opacity:1},exit:{y:-12,opacity:0},transition:{duration:.35},children:Br[o]},o)})]})]})}function Wr({onDone:e,ready:t}){let n=Or,[r,i]=(0,J.useState)(0);return(0,J.useEffect)(()=>{let n=Vr.length-1;if(t){if(r!==n){i(n);return}let t=setTimeout(e,Hr);return()=>clearTimeout(t)}let a=setTimeout(()=>i(e=>(e+1)%Vr.length),Hr);return()=>clearTimeout(a)},[r,t,e]),(0,Y.jsx)(`div`,{className:`absolute inset-0 z-10`,style:{color:n.fg},children:(0,Y.jsxs)(`div`,{className:`absolute left-1/2 top-[14%] sm:top-[26%] flex w-full max-w-xl -translate-x-1/2 items-start gap-3 px-6`,children:[(0,Y.jsx)(jr,{isAssistantBusy:!0}),(0,Y.jsx)(H,{mode:`wait`,children:(0,Y.jsx)(V.p,{className:Mr,style:{fontFamily:`var(--font-serif)`},initial:{y:12,opacity:0},animate:{y:0,opacity:1},exit:{y:-12,opacity:0},transition:{duration:.35},children:Vr[r]},r)})]})})}function Gr({claims:e,loading:t,onContinue:n,onRejectAll:r,onBack:i,onForward:a}){let o=Or,s=U(),[c,l]=(0,J.useState)(()=>new Set),u=e.filter(e=>!c.has(e.claim)),d=u.length>0,p=!t;return(0,Y.jsxs)(`div`,{className:`absolute inset-0 z-10`,style:{color:o.fg},children:[(0,Y.jsx)($,{onBack:i,onNext:a}),(0,Y.jsxs)(`div`,{className:`absolute bottom-0 left-1/2 top-[11%] sm:top-[8%] z-10 flex w-full max-w-xl -translate-x-1/2 flex-col px-6 pb-8`,children:[(0,Y.jsxs)(`div`,{className:`flex min-h-0 flex-col overflow-y-auto [&::-webkit-scrollbar]:hidden [scrollbar-width:none]`,children:[(0,Y.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,Y.jsx)(jr,{}),(0,Y.jsx)(`h1`,{className:`text-[2.2rem] leading-none`,style:{fontFamily:`var(--font-serif)`},children:`This is what I found about you`})]}),(0,Y.jsx)(`p`,{className:`mb-7 mt-2 text-[15px]`,style:{color:o.fgMuted},children:d?t?`Still checking the rest. You can review these as they come in.`:`I searched the web. Feel free to remove anything that isn’t true.`:t?`Still putting this together…`:`I didn’t turn up much — we can fill it in as we chat.`}),(0,Y.jsx)(`div`,{className:`flex flex-col gap-3`,children:(0,Y.jsx)(H,{children:u.map(e=>(0,Y.jsxs)(V.div,{layout:!0,initial:s?!1:{opacity:0,y:10},animate:{opacity:1,y:0},exit:s?void 0:{opacity:0,scale:.95},className:`flex items-center justify-between gap-3 rounded-2xl px-5 py-4 text-[15px]`,style:{backgroundColor:o.isLight?`rgba(0,0,0,0.06)`:`rgba(255,255,255,0.1)`},children:[(0,Y.jsx)(`span`,{children:e.claim}),(0,Y.jsx)(`button`,{type:`button`,"aria-label":`Remove "${e.claim}"`,onClick:()=>l(t=>new Set(t).add(e.claim)),className:`flex cursor-pointer h-6 w-6 shrink-0 items-center justify-center rounded-full transition-opacity hover:opacity-100`,style:{color:o.fgMuted},children:(0,Y.jsx)(v,{className:`h-4 w-4`})})]},e.claim))})}),d&&p&&(0,Y.jsx)(`button`,{type:`button`,onClick:r,className:`mt-5 self-start shrink-0 cursor-pointer text-[14px] underline underline-offset-2 transition-opacity hover:opacity-80`,style:{color:o.fgMuted},children:`This is not me`})]}),(0,Y.jsxs)(`button`,{type:`button`,onClick:()=>n([...c]),disabled:!p,className:`mt-8 flex cursor-pointer h-11 w-[200px] shrink-0 items-center justify-center gap-2 rounded-[10px] text-body-medium-default transition duration-150 enabled:active:scale-[0.97] disabled:cursor-not-allowed disabled:opacity-60`,style:{backgroundColor:o.isLight?`#1A1A1A`:`#FFFFFF`,color:o.isLight?`#FFFFFF`:`#1A1A1A`},children:[p?`Continue`:`Still searching…`,p&&(0,Y.jsx)(f,{className:`h-4 w-4`})]})]})]})}var Kr=38,qr=Kr;function Jr({head:e,note:t,flyToNote:n,reduce:r,onLanded:i}){let{components:a,chosen:o}=Ar();if(!a||!o)return null;let s=Kr/2,c=n&&t?t:e,l={x:c.x-s,y:c.y-s};return(0,Y.jsx)(V.div,{className:`pointer-events-none absolute left-0 top-0`,style:{width:Kr,height:Kr,transformOrigin:`center`},initial:!1,animate:l,transition:r?{duration:0}:n&&t?{type:`spring`,duration:.9,bounce:.45}:{duration:.4},onAnimationComplete:()=>{n&&t&&i()},children:(0,Y.jsx)(W,{components:a,traits:o,size:Kr})})}function Yr({installedPlugins:e=[],pluginCatalog:t={},onStart:n,onBack:r,onForward:i,disabled:a=!1}){let o=Or,s=U(),[c,l]=(0,J.useState)(!1),{components:u,chosen:d}=Ar(),{h:p}=kr(),m=e.map(e=>({name:e,displayName:ze(e),description:t[e]?.trim()??``})).filter(e=>e.displayName.length>0),h=m.length>0,g=(0,J.useRef)(null),_=(0,J.useRef)(null),v=(0,J.useRef)(null),[y,b]=(0,J.useState)(null),[x,S]=(0,J.useState)(!1),[C,w]=(0,J.useState)(!1),T=(0,J.useRef)(!1);(0,J.useEffect)(()=>{T.current=x},[x]),(0,J.useLayoutEffect)(()=>{let e=g.current,t=_.current;if(!e||!t)return;let n=()=>{if(T.current)return;let n=e.getBoundingClientRect(),r=e=>({x:e.left-n.left+e.width/2,y:e.top-n.top+e.height/2}),i=v.current;b({head:r(t.getBoundingClientRect()),note:i?r(i.getBoundingClientRect()):void 0})};n();let r=new ResizeObserver(n);return r.observe(e),window.addEventListener(`resize`,n),()=>{r.disconnect(),window.removeEventListener(`resize`,n)}},[]);let E=y?.note?.y;return(0,J.useEffect)(()=>{E===void 0||x||S(!0)},[E,x]),(0,Y.jsxs)(`div`,{className:`absolute inset-0 z-10`,style:{color:o.fg},children:[(0,Y.jsx)($,{onBack:r,onNext:i}),(0,Y.jsxs)(`div`,{ref:g,className:`absolute left-1/2 top-1/2 z-10 flex w-full max-w-xl -translate-x-1/2 -translate-y-1/2 flex-col px-6`,children:[(0,Y.jsxs)(`div`,{className:`flex items-center`,children:[(0,Y.jsx)(V.div,{ref:_,className:`shrink-0`,style:{height:Kr},initial:!1,animate:x?{width:0,marginRight:0}:{width:Kr,marginRight:12},transition:s?{duration:0}:{duration:.5,ease:`easeInOut`}}),(0,Y.jsx)(`h1`,{className:`text-[2.2rem] leading-none`,style:{fontFamily:`var(--font-serif)`},children:`You’re all set`})]}),(0,Y.jsxs)(`div`,{className:`mt-4 flex items-center gap-3`,children:[C&&u&&d?(0,Y.jsx)(`div`,{className:`shrink-0`,children:(0,Y.jsx)(W,{components:u,traits:d,size:qr})}):(0,Y.jsx)(`div`,{ref:v,className:`shrink-0`,style:{width:qr,height:qr}}),(0,Y.jsx)(V.p,{className:`text-[15px]`,style:{color:o.fg},initial:!1,animate:{opacity:+!!C,x:C?0:-6},transition:s?{duration:0}:{duration:.35},children:`I’ve set myself up with plugins around who you are.`})]}),h&&(0,Y.jsx)(`div`,{className:`flex flex-col gap-3`,style:{marginTop:Math.round(64-p*.02)},children:m.map((e,t)=>(0,Y.jsxs)(V.div,{initial:s?!1:{opacity:0,y:10},animate:{opacity:1,y:0},transition:s?{duration:0}:{duration:.3,delay:t*.06},className:`rounded-2xl px-5 py-4`,style:{backgroundColor:o.isLight?`rgba(0,0,0,0.06)`:`rgba(255,255,255,0.1)`},children:[(0,Y.jsx)(`div`,{className:`text-[15px] font-medium`,children:e.displayName}),e.description&&(0,Y.jsx)(`div`,{className:`mt-1 text-[13px] leading-snug`,style:{color:o.fgMuted},children:e.description})]},e.name))}),(0,Y.jsxs)(`button`,{type:`button`,onClick:()=>{c||a||(l(!0),Promise.resolve().then(n).catch(()=>l(!1)))},disabled:c||a,className:`mt-16 flex cursor-pointer h-11 w-[200px] items-center justify-center gap-2 rounded-[10px] text-body-medium-default transition duration-150 enabled:active:scale-[0.97] disabled:cursor-not-allowed disabled:opacity-60`,style:{backgroundColor:o.isLight?`#1A1A1A`:`#FFFFFF`,color:o.isLight?`#FFFFFF`:`#1A1A1A`},children:[c?`Starting…`:`Let's chat`,!c&&(0,Y.jsx)(f,{className:`h-4 w-4`})]}),y&&!C&&(0,Y.jsx)(Jr,{head:y.head,note:y.note,flyToNote:x&&y.note!==void 0,reduce:s,onLanded:()=>w(!0)})]})]})}var Xr=[{bodyShape:`sprout`,eyeStyle:`curious`,colorIdx:0,base:230,pos:e=>({left:-e*.32,top:`40%`})},{bodyShape:`flower`,eyeStyle:`goofy`,colorIdx:1,base:230,pos:e=>({right:-e*.32,top:`40%`})},{bodyShape:`star`,eyeStyle:`dazed`,colorIdx:2,base:240,mobile:!0,pos:e=>({left:`16%`,bottom:-e*.42}),mobilePos:e=>({left:-e*.3,bottom:-e*.3})},{bodyShape:`burst`,eyeStyle:`angry`,colorIdx:0,base:240,mobile:!0,pos:e=>({right:`16%`,bottom:-e*.42}),mobilePos:e=>({right:-e*.3,bottom:-e*.3})},{bodyShape:`blob`,eyeStyle:`gentle`,colorIdx:1,base:220,pos:e=>({left:`42%`,bottom:-e*.5})},{bodyShape:`urchin`,eyeStyle:`curious`,colorIdx:2,base:220,mobile:!0,pos:e=>({left:-e*.28,bottom:`16%`}),mobilePos:e=>({left:-e*.3,top:-e*.3})},{bodyShape:`burst`,eyeStyle:`quirky`,colorIdx:0,base:220,mobile:!0,pos:e=>({right:-e*.28,bottom:`16%`}),mobilePos:e=>({right:-e*.3,top:-e*.3})},{bodyShape:`flower`,eyeStyle:`quirky`,colorIdx:1,base:230,pos:e=>({left:`30%`,bottom:-e*.4})}],Zr=`#17191C`,Qr=[{bodyShape:`blob`,eyeStyle:`gentle`},{bodyShape:`urchin`,eyeStyle:`curious`},{bodyShape:`star`,eyeStyle:`goofy`}],$r=290;function ei({peekLevel:e=0,eyesBumpNonce:t=0,darkBg:n=!1,showBottomEyes:r=!0,showTopTeam:i=!1,eyesEntrance:a=!1}){let o=G(),s=X.use.characters(),c=X.use.selectedIndex(),l=U(),{w:u}=Zt(),d=Math.max(.42,Math.min(u/1100,1)),f=u<640,p=s.length>0?s[c]:void 0,{bg:m,peekColors:h}=(0,J.useMemo)(()=>!o||!p?{bg:`var(--surface-base)`,peekColors:[]}:{bg:o.colors.find(e=>e.id===p.color)?.hex??`var(--surface-base)`,peekColors:Qn(p.color,o.colors.map(e=>e.id),3)},[o,p]);return(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(V.div,{className:`absolute inset-0 z-0`,initial:!1,animate:{backgroundColor:n?Zr:m},transition:l?{duration:0}:{duration:1,ease:`easeInOut`}}),r&&(0,Y.jsx)(zn,{bumpNonce:t,settleBlink:a,entrance:a}),i&&o&&(0,Y.jsx)(`div`,{className:`pointer-events-none absolute right-0 z-[1] flex items-start`,style:{top:-Math.round($r*d)*.42,right:-Math.round($r*d)*.12},children:Qr.map((e,t)=>{let n=Math.round($r*d);return(0,Y.jsx)(V.div,{style:{width:n,height:n,marginLeft:t===0?0:-n*.34,zIndex:Qr.length-t},initial:l?!1:{y:-140,opacity:0},animate:{y:0,opacity:1},transition:l?{duration:0}:{type:`spring`,stiffness:200,damping:18,delay:t*.1},children:(0,Y.jsx)(W,{components:o,traits:{bodyShape:e.bodyShape,eyeStyle:e.eyeStyle,color:h[t]??`teal`},size:n,breathe:!1})},e.bodyShape)})}),o&&(0,Y.jsx)(H,{children:(f?Xr.filter(e=>e.mobile):Xr).slice(0,Math.max(0,e)).map((e,t)=>{let n=Math.round(e.base*d),r=f&&e.mobilePos?e.mobilePos(n):e.pos(n);return(0,Y.jsx)(V.div,{"aria-hidden":`true`,className:`pointer-events-none absolute z-[1]`,style:{...r,width:n,height:n},initial:l?!1:{scale:0,opacity:0},animate:{scale:1,opacity:1},exit:l?void 0:{scale:0,opacity:0},transition:l?{duration:0}:{type:`spring`,stiffness:220,damping:16,delay:.1},children:(0,Y.jsx)(W,{components:o,traits:{bodyShape:e.bodyShape,eyeStyle:e.eyeStyle,color:h[e.colorIdx]??`teal`},size:n,breathe:!1})},`peek-${t}`)})})]})}var ti=e(i(),1);function ni({error:e,onRetry:t}){let n=e===ie;return(0,ti.createPortal)((0,Y.jsx)(`div`,{className:`pointer-events-none fixed inset-x-0 top-0 z-50 flex justify-center px-4 pt-[calc(var(--safe-area-inset-top,env(safe-area-inset-top,0px))+5rem)]`,children:(0,Y.jsxs)(y,{tone:`error`,title:`Something went wrong`,className:`pointer-events-auto w-auto max-w-[480px] shadow-xl`,actions:n?(0,Y.jsx)(a,{asChild:!0,variant:`primary`,size:`regular`,children:(0,Y.jsx)(`a`,{href:`${window.location.origin}/download`,children:`Download the macOS app`})}):(0,Y.jsx)(a,{variant:`primary`,size:`regular`,onClick:t,children:`Try again`}),children:[e,n?(0,Y.jsx)(`p`,{className:`mt-1 text-[color:var(--content-default)]`,children:`Get started today with a local assistant`}):null]})}),document.body)}var ri={established:!1,assistantName:null};async function ii(e,t={hasAnyActiveConversation:xe,fetchAssistantIdentity:be}){try{if(!await t.hasAnyActiveConversation(e))return ri}catch(e){return n(e,{context:`research_onboarding_established_check`}),ri}let r=await t.fetchAssistantIdentity(e).catch(()=>null);return{established:!0,assistantName:(typeof r?.name==`string`?r.name.trim():``)||null}}function ai({assistantName:e,onKeep:t,onRedo:n,onBack:r}){let i=e?.trim()||``,o=i||`your assistant`,s=i?`${i}'s`:`its`;return(0,Y.jsxs)(`div`,{"data-theme":`dark`,className:`relative h-full overflow-hidden`,style:{backgroundColor:`var(--surface-base)`,color:`var(--content-primary)`},children:[(0,Y.jsx)($,{onBack:r,tone:`light`}),(0,Y.jsxs)(`div`,{className:`${q} max-w-xl`,children:[(0,Y.jsxs)(`div`,{className:`flex flex-col items-center gap-3`,children:[(0,Y.jsx)(`h1`,{className:`text-[2.2rem] leading-none`,style:{fontFamily:`var(--font-serif)`},children:i?`${i} is already up and running`:`Your assistant is already up and running`}),(0,Y.jsxs)(`p`,{className:`text-[15px]`,style:{color:`var(--content-secondary)`},children:[`You two have history — a personality, memories, and past conversations. Running setup again would overwrite who `,o,` is now.`]})]}),(0,Y.jsxs)(`div`,{className:`flex w-full max-w-sm flex-col items-center gap-3`,children:[(0,Y.jsxs)(a,{variant:`primary`,size:`regular`,fullWidth:!0,onClick:t,className:`h-11 text-base`,children:[`Keep `,o,` and start chatting`,(0,Y.jsx)(f,{className:`h-4 w-4`})]}),(0,Y.jsxs)(a,{variant:`ghost`,size:`regular`,fullWidth:!0,onClick:n,className:`h-11 text-base`,children:[`Start over and rebuild `,s,` personality`]})]})]})]})}var oi=4e3;function si(e){return{firstName:e.firstName,lastName:e.lastName,occupation:e.role,hobbies:e.hobbies,timezone:ye()}}function ci(e){let t=e.firstName.trim();return t?`Getting to know ${t}`:`Getting to know you`}He();function li(){let e=s(),t=ae.use.user(),n=t?.id??null,r=Ne.use.enterFocus(),i=Ne.use.exitFocus(),a=Ne.use.setPendingAvatarTraits(),c=Ne.use.requestSidebarCollapse(),[l,u]=(0,J.useState)(`form`),{ref:d,size:f}=qe(),[p,m]=(0,J.useState)([]),[h,g]=(0,J.useState)(!1);function _(e){u(e)}function v(e,t=`completed`){Pe(Fe[l],{userId:n,outcome:t}),m([]),_(e)}function y(e){m(e=>[...e,l]),_(e)}function b(){let e=p[p.length-1];e&&(m(e=>e.slice(0,-1)),_(e))}let x=p.length>0?b:void 0,[S,C]=(0,J.useState)(null),w=(0,J.useRef)(null),[T,E]=(0,J.useState)(null),[D,k]=(0,J.useState)(null),A=(0,J.useRef)(!1),[j,M]=(0,J.useState)(!1),[N,te]=(0,J.useState)(null),[ne,re]=(0,J.useState)({}),[ie,oe]=(0,J.useState)(!1),[P,F]=(0,J.useState)(null),[ce,I]=(0,J.useState)(null),[le,ue]=(0,J.useState)(!1),[de,L]=(0,J.useState)(!1),[fe,R]=(0,J.useState)(!1),[pe,he]=(0,J.useState)(0),[ye,be]=(0,J.useState)(0),[xe]=o(),Se=st({hostingParam:xe.get(`hosting`),localMode:O(),gatewayAuthSession:ee()}),Ce=xe.get(`assistant`)??void 0,ke=xe.get(ge)===`1`,Ae=Se,{start:je,retry:Me,ready:z,assistantId:B,error:V,awaitReady:H}=ft({adoptExisting:Se,adoptAssistantId:Ce,postCheckoutReturn:ke}),U=zt(),{start:Ie,hydrate:Le}=U,Re=(0,J.useRef)(Promise.resolve()),ze=(0,J.useRef)(!1),[Be,Ve]=(0,J.useState)(!1),W=(0,J.useCallback)(e=>{ze.current=e,Ve(e)},[]),[G,He]=(0,J.useState)(null),Ue=(0,J.useRef)(Promise.resolve()),[We,Ge]=(0,J.useState)(!1),Ke=U.status===`idle`||U.status===`running`,K=!Ke&&U.claims.length===0;(0,J.useEffect)(()=>{i(),a(null),je()},[i,a,je]);let Je=(0,J.useCallback)(()=>{if(w.current)return;let e=H().then(e=>ii(e)).catch(()=>ri);w.current=e,e.then(E)},[H]);(0,J.useEffect)(()=>{Je()},[Je]);let Ye=(0,J.useCallback)(()=>Promise.race([w.current??Promise.resolve(null),new Promise(e=>{setTimeout(()=>e(null),oi)})]),[]),q=(0,J.useCallback)(e=>{W(!1),Ie({awaitAssistantId:H,subject:si(e),conversationTitle:ci(e),...P?{resumeConversationId:P}:{},onConversationCreated:F,includeSuggestions:!1})},[W,Ie,H,P,!0]);(0,J.useLayoutEffect)(()=>{if(h||!n)return;let e=Te(n);if(e?.formValues){C(e.formValues),te(e.faceValues),I(e.checkinTime),L(e.checkinBooked),He(e.keptClaims??null),F(e.researchConversationId??null),e.research&&(Le({...e.research,pluginCatalog:e.research.pluginCatalog??{},droppedClaims:e.research.droppedClaims??[]},H),W(e.droppedClaimsScrubbed??!1),M(!0));let t=Ee(e);u(Ae&&(t===`letschat`||t===`meeting`)?`looking`:t),m([])}g(!0)},[h,n,Le,H,Ae,W]),(0,J.useEffect)(()=>{!h||!S||we(n,{step:l,formValues:S,faceValues:N,checkinTime:ce,checkinBooked:de,research:U.status===`done`?{status:`done`,claims:U.claims,droppedClaims:U.droppedClaims,suggestions:U.suggestions,installedPlugins:U.installedPlugins,pluginCatalog:U.pluginCatalog}:null,...P?{researchConversationId:P}:{},...G?{keptClaims:G}:{},...Be?{droppedClaimsScrubbed:!0}:{}})},[h,n,l,G,S,N,ce,de,P,U.status,U.claims,U.droppedClaims,U.suggestions,U.installedPlugins,U.pluginCatalog,Be]),(0,J.useEffect)(()=>{if(!h||!S||U.status!==`idle`&&U.status!==`done`)return;let e=U.status===`idle`,t=S,n=!1;return(async()=>{if(!A.current){let e=await Ye();if(n)return;if(e?.established){k(t),m([]),C(null),u(`existing`),M(!1);return}}M(!1),e&&q(t)})(),()=>{n=!0,M(!1)}},[h,S,U.status,q,Ye]),(0,J.useEffect)(()=>{l===`results`&&K&&V===null&&(m([]),u(`suggestions`))},[l,K,V]),(0,J.useEffect)(()=>{ze.current||Ke||U.droppedClaims.length!==0&&(!P||!B||!z||U.claims.length>0&&l!==`suggestions`||(W(!0),Re.current=Vt({assistantId:B,conversationId:P,removedClaims:U.droppedClaims,rejectedAll:!1})))},[Ke,U.claims.length,U.droppedClaims,P,B,z,l,W]);function Xe(t,i,o,{skip:s=!1,hidden:l=!1}={}){De(n);let{firstName:u,lastName:d,role:f,hobbies:p}=t,m=[u.trim(),d.trim()].filter(Boolean).join(` `),h=u.trim(),g=!s&&o===void 0;ve({tools:[],tasks:[],tone:rt,...m?{userName:m}:{},...f.trim()?{occupation:f.trim()}:{},...s?{}:{initialMessage:o??ot({firstName:u,lastName:d,occupation:f,hobbies:p}),...l?{initialMessageHidden:!0}:{}},...g?{title:h?`Getting to know ${h}`:`Getting to know you`}:{},...i?.name?.trim()?{assistantName:i.name.trim()}:{},...G?.length?{researchFindings:G}:{}});let _=i?.name?.trim();_&&_e(_),a(i?.traits??null),g&&r(),s||se.markExpectingFirstMessage(),c(),se.checkAssistant(B??void 0).finally(()=>{e(`${me.assistant}?onboarding=1`,{replace:!0})})}async function Ze(){S&&(await Promise.all([U.awaitPluginInstalls(),Re.current,Ue.current]),Xe(S,N,qt(N?.name),{hidden:!0}))}function Qe(){Ge(!0),Ue.current=Gt({awaitAssistantId:H,values:ne,userName:S?.firstName?.trim()||void 0,assistantName:N?.name?.trim()||void 0}).finally(()=>Ge(!1))}async function $e(e){if(!A.current&&(await Ye())?.established){k(e),v(`existing`);return}C(e),q(e),v(`face`)}function et(e){if(e.length>0&&!e.includes(`https://www.googleapis.com/auth/calendar.events`)){R(!0);return}if(R(!1),B&&S){let e=[S.firstName.trim(),S.lastName.trim()].filter(Boolean).join(` `);I(null),L(!1),ue(!0),Oe({assistantId:B,userName:e||void 0,assistantName:N?.name?.trim()||void 0}).then(e=>{e.scheduled&&(L(!0),I(Jt(e.start,e.timeZone)))}).finally(()=>ue(!1))}v(`meeting`)}function tt(){w.current=null,Me(),Je(),U.status===`error`&&S?(U.reset(),q(S)):U.status===`done`&&U.reinstallPlugins(U.installedPlugins,H),ie&&Qe()}let nt=e=>(0,Y.jsxs)(Y.Fragment,{children:[e,V!==null&&(0,Y.jsx)(ni,{error:V,onRetry:tt})]});if([`different`,`personality`,`integration`,`letschat`,`meeting`,`looking`,`results`,`suggestions`,`finishing`].includes(l)&&S){let e=[`meeting`,`looking`,`results`,`suggestions`,`finishing`].includes(l);return nt((0,Y.jsx)(`div`,{ref:d,"data-theme":`dark`,className:`relative h-full overflow-hidden`,children:(0,Y.jsxs)(Xt,{size:f,children:[(0,Y.jsx)(ei,{eyesBumpNonce:pe,peekLevel:[`looking`,`results`,`suggestions`,`finishing`].includes(l)?ye:0,darkBg:e,showBottomEyes:!e&&l!==`different`,eyesEntrance:l===`personality`}),l===`different`&&(0,Y.jsx)(sr,{onContinue:()=>v(`personality`),onBack:()=>y(`intro`),onForward:x}),l===`personality`&&(0,Y.jsx)(Er,{values:ne,onValueChange:(e,t)=>re(n=>({...n,[e]:t})),locked:ie,onContinue:()=>{ie||(Qe(),oe(!0)),v(`integration`)},onBack:()=>y(`different`),onForward:x}),l===`integration`&&(0,Y.jsx)(fr,{onClaim:()=>v(Ae?`looking`:`letschat`),onBumpEyes:()=>he(e=>e+1),onBack:()=>y(`personality`),onForward:x}),l===`letschat`&&(0,Y.jsx)(Dr,{assistantId:B,assistantReady:z,hatchError:V,onConnected:et,missingCalendarScope:fe,onRetry:()=>R(!1),onSkip:()=>{R(!1),v(`looking`,`skipped`)},onBack:()=>y(`integration`),onForward:x}),l===`meeting`&&(0,Y.jsx)(Ir,{scheduledTime:ce??void 0,awaitingTime:le,onDone:()=>v(`looking`),onBack:()=>y(`letschat`),onForward:x}),l===`looking`&&(0,Y.jsx)(Ur,{onDone:()=>v(K?`suggestions`:`results`),onBack:()=>y(Ae?`integration`:`letschat`),onAdvance:e=>be(Math.min(e+1,4)),onForward:x,ready:!Ke&&V===null}),l===`results`&&(0,Y.jsx)(Gr,{claims:U.claims,loading:Ke,onContinue:e=>{let t=new Set(e);He(U.claims.filter(e=>!t.has(e.claim)).map(e=>e.claim));let n=ze.current?[]:U.droppedClaims,r=[...e,...n];P&&B&&r.length>0&&(n.length>0&&W(!0),Re.current=Vt({assistantId:B,conversationId:P,removedClaims:r,rejectedAll:!1})),v(`suggestions`)},onRejectAll:()=>{He([]),P&&B&&(W(!0),Re.current=Vt({assistantId:B,conversationId:P,removedClaims:U.claims.map(e=>e.claim),rejectedAll:!0})),v(`suggestions`,`skipped`)},onBack:()=>y(`looking`),onForward:x}),l===`suggestions`&&(0,Y.jsx)(Yr,{installedPlugins:U.installedPlugins,pluginCatalog:U.pluginCatalog,disabled:j||V!==null||!z||B===null,onStart:async()=>{if(Pe(Fe.suggestions,{userId:n,outcome:`completed`}),We){m([]),u(`finishing`);return}await Ze()},onBack:()=>y(K?`looking`:`results`),onForward:x}),l===`suggestions`&&!1,l===`finishing`&&(0,Y.jsx)(Wr,{ready:!We&&V===null,onDone:()=>void Ze()})]})}))}return nt(l===`existing`?(0,Y.jsx)(ai,{assistantName:T?.assistantName??null,onKeep:()=>{Pe(Fe.existing,{userId:n,outcome:`completed`}),De(n),se.checkAssistant(B??void 0).finally(()=>{e(me.assistant,{replace:!0})})},onRedo:()=>{let e=D;e&&(A.current=!0,Pe(Fe.existing,{userId:n,outcome:`skipped`}),C(e),q(e),m([]),_(`face`))},onBack:()=>{k(null),y(`form`)}}):l===`intro`&&S?(0,Y.jsx)(Hn,{firstName:S.firstName,assistantName:N?.name,onContinue:()=>v(`different`),onBack:()=>y(`face`),onForward:x}):l===`face`&&S?(0,Y.jsx)(jn,{onContinue:e=>{te(e),v(`intro`)},onBack:()=>y(`form`),onForward:x}):(0,Y.jsx)(Dn,{initialFirstName:t?.firstName??``,initialLastName:t?.lastName??``,onSubmit:$e}))}export{li as ResearchOnboardingRoute};
@@ -1,3 +0,0 @@
1
- import{o as e}from"./chunk-jRWAZmH_.js";import{t}from"./react-BFJW0bSv.js";import{t as n}from"./button-BwFudwM5.js";import{t as r}from"./jsx-runtime-D3ZM-ToX.js";import{t as i}from"./ban-BKp90l-0.js";import{t as a}from"./globe-CdLn4IX7.js";import{t as o}from"./sparkles-DfEFn3Bh.js";import{t as s}from"./tag-G0ELn_cq.js";import{t as c}from"./popover-CBYgK7Wt.js";import{n as l,r as u,t as d}from"./research-facts-BUfgocIh.js";var f=e(t(),1),p=r();function m({src:e,domain:t,className:n}){let[r,i]=(0,f.useState)(!1),o=n??`size-4`;return!e||r?(0,p.jsx)(`span`,{className:`flex ${o} items-center justify-center text-[var(--content-tertiary)]`,children:(0,p.jsx)(a,{className:`size-3.5`})}):(0,p.jsx)(`img`,{src:e,alt:``,title:t,width:16,height:16,className:`${o} shrink-0 rounded-sm object-contain`,onError:()=>i(!0)})}function h(e){let t=e.contentBlocks;if(t&&t.length>0){let e=t.filter(e=>e.type===`text`).map(e=>e.text).join(`
2
- `).trim();if(e)return e}return(e.textSegments??[]).join(`
3
- `).trim()}function g(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&n.role!==`user`)return n}return null}function _(e){let t=new Map;for(let n of e){let e=u(n);e&&!t.has(e)&&t.set(e,n)}return[...t].map(([e,t])=>({domain:e,url:t}))}var v=[`not_me`,`not_relevant`];function y({fact:e,removed:t,onRemove:n,onSetReason:r,onRestore:a,resolveFavicon:o}){let[u,h]=(0,f.useState)(!1),[g,y]=(0,f.useState)(!1),b=l(e.confidence),x=_(e.sources),S=x.length>0&&!t;return(0,p.jsxs)(`li`,{className:`group flex flex-col rounded-lg border border-[var(--border-base)] bg-[var(--surface-lift)] transition-opacity ${t?`opacity-50`:``}`,style:{animation:`fadeInUp 0.35s ease-out both`},children:[(0,p.jsxs)(`div`,{className:`flex items-center gap-2.5 px-4 py-2.5 ${S?`cursor-pointer`:``}`,onClick:S?()=>h(e=>!e):void 0,children:[(0,p.jsx)(`span`,{className:`text-[15px] leading-snug text-[var(--content-default)] ${t?`line-through`:``}`,children:e.claim}),(0,p.jsx)(s,{tone:b.tone,children:b.label}),(0,p.jsxs)(c.Root,{open:g,onOpenChange:e=>{y(e),e&&!t&&n()},children:[(0,p.jsx)(c.Trigger,{asChild:!0,children:(0,p.jsx)(`button`,{type:`button`,"aria-label":t?`Edit removal`:`Remove`,onClick:e=>e.stopPropagation(),className:`ml-auto shrink-0 cursor-pointer text-[var(--content-tertiary)] transition-opacity hover:text-[var(--content-default)] focus-visible:opacity-100 ${t?`opacity-100`:`opacity-0 group-hover:opacity-100`}`,children:(0,p.jsx)(i,{className:`size-[18px]`})})}),(0,p.jsxs)(c.Content,{align:`end`,className:`flex w-52 flex-col gap-0.5`,children:[(0,p.jsx)(`p`,{className:`px-2 pb-1 pt-1 text-label-small-default text-[var(--content-tertiary)]`,children:`Why remove this?`}),v.map(e=>(0,p.jsx)(`button`,{type:`button`,onClick:()=>{r(e),y(!1)},className:`rounded-md px-2 py-1.5 text-left text-sm text-[var(--content-default)] transition-colors hover:bg-[var(--surface-base)]`,children:d[e]},e)),(0,p.jsx)(`button`,{type:`button`,onClick:()=>{a(),y(!1)},className:`mt-0.5 rounded-md border-t border-[var(--border-base)] px-2 pt-2 pb-1 text-left text-sm text-[var(--content-secondary)] transition-colors hover:text-[var(--content-default)]`,children:`Keep it`})]})]})]}),u&&S?(0,p.jsxs)(`div`,{className:`flex flex-col gap-1.5 border-t border-[var(--border-base)] px-4 py-2.5`,children:[(0,p.jsx)(`span`,{className:`text-label-small-default uppercase tracking-wide text-[var(--content-tertiary)]`,children:`Sources`}),x.map(({domain:e,url:t})=>(0,p.jsxs)(`a`,{href:t,target:`_blank`,rel:`noreferrer`,className:`flex items-center gap-2 text-sm text-[var(--content-secondary)] transition-colors hover:text-[var(--content-default)]`,children:[(0,p.jsx)(m,{src:o(e),domain:e}),e]},e))]}):null]})}function b({items:e,removals:t,onRemove:n,onSetReason:r,onRestore:i,title:a,resolveFavicon:o}){return(0,p.jsxs)(`div`,{className:`flex w-full flex-col gap-3`,children:[(0,p.jsx)(`h2`,{className:`text-lg font-medium text-[var(--content-secondary)]`,children:a}),(0,p.jsx)(`ul`,{className:`flex flex-col gap-2`,children:e.map(({fact:e,index:a})=>(0,p.jsx)(y,{fact:e,removed:t.has(a),onRemove:()=>n(a),onSetReason:e=>r(a,e),onRestore:()=>i(a),resolveFavicon:o},`${a}-${e.claim}`))})]})}function x({suggestions:e,onSelect:t}){return e.length===0?null:(0,p.jsxs)(`div`,{className:`flex w-full flex-col gap-3`,children:[(0,p.jsx)(`h2`,{className:`text-lg font-medium text-[var(--content-secondary)]`,children:`Here's how I could help to start:`}),(0,p.jsx)(`div`,{className:`grid grid-cols-1 gap-2 sm:grid-cols-2`,children:e.slice(0,4).map((e,n)=>(0,p.jsxs)(`button`,{type:`button`,onClick:()=>t(e.prompt),className:`flex cursor-pointer items-center gap-2.5 rounded-lg border border-[var(--border-base)] bg-[var(--surface-lift)] px-4 py-3 text-left transition-colors hover:border-[var(--border-element)] hover:bg-[var(--surface-base)]`,style:{animation:`fadeInUp 0.35s ease-out both`},children:[(0,p.jsx)(o,{className:`size-4 shrink-0 text-[var(--content-tertiary)]`}),(0,p.jsx)(`span`,{className:`text-[15px] leading-snug text-[var(--content-default)]`,children:e.suggestion})]},`${n}-${e.suggestion}`))})]})}function S({mode:e,loadingContent:t,items:r,removals:i,suggestions:a,resultsTitle:o,showSuggestions:s,canContinue:c,resolveFavicon:l,onRemove:u,onSetReason:d,onRestore:f,onSuggestionClick:m,onContinue:h}){return(0,p.jsx)(`div`,{className:`flex h-full w-full flex-col overflow-y-auto bg-[var(--surface-base)]`,children:(0,p.jsxs)(`div`,{className:`mx-auto flex min-h-full w-full max-w-2xl flex-col gap-8 px-6 py-12`,children:[(0,p.jsx)(`div`,{className:`flex flex-1 flex-col justify-start gap-8 pt-4`,children:e===`results`?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(b,{items:r,removals:i,onRemove:u,onSetReason:d,onRestore:f,resolveFavicon:l,title:o}),s?(0,p.jsx)(x,{suggestions:a,onSelect:m}):null]}):e===`empty`?(0,p.jsxs)(`div`,{className:`flex flex-col items-center gap-3 text-center text-[var(--content-secondary)]`,children:[(0,p.jsx)(`p`,{className:`text-lg text-[var(--content-default)]`,children:`Let's just dive in.`}),(0,p.jsx)(`p`,{className:`text-body-medium-lighter`,children:`I couldn't pull together a clean profile this time — we can get to know each other as we go.`})]}):t}),(0,p.jsx)(`div`,{className:`flex shrink-0 justify-end`,children:(0,p.jsx)(n,{variant:`primary`,size:`regular`,onClick:h,disabled:!c,className:`h-11 px-6 text-base`,children:`Continue`})})]})})}export{m as i,h as n,g as r,S as t};
@@ -1 +0,0 @@
1
- import{n as e,t}from"./create-selectors-BfxF8Sx_.js";import{_t as n,d as r,f as i,gt as a,ht as o,p as s,tt as c}from"./local-mode-DHueA-BJ.js";function l(e,t){return e.filter(e=>e.isLocal||e.organizationId==null||e.organizationId===t)}var u=e((e,t)=>({assistants:[],activeAssistantId:null,selectedAssistantId:a(),assistantsHydrated:!1,setFromLockfile:n=>{let i=m(n),a=new Map(t().assistants.map(e=>[e.id,e]));e({assistants:n.assistants.map(e=>({id:e.assistantId,name:e.name,hatchedAt:e.hatchedAt,cloud:e.cloud,runtimeVersion:e.resources?.runtimeVersion,currentReleaseVersion:a.get(e.assistantId)?.currentReleaseVersion,releaseChannel:a.get(e.assistantId)?.releaseChannel,isActiveLockfileAssistant:i===e.assistantId,isLocal:r(e),isPlatformHosted:s(e),organizationId:e.organizationId})),assistantsHydrated:!0}),d(t,e)},setFromApi:t=>e({assistantsHydrated:!0,assistants:t.map(e=>{let t=p(e.id);return{id:e.id,name:e.name,hatchedAt:e.created,cloud:t.cloud,runtimeVersion:t.runtimeVersion,currentReleaseVersion:e.current_release_version,releaseChannel:e.release_channel,isActiveLockfileAssistant:t.isActiveLockfileAssistant,isLocal:e.is_local,isPlatformHosted:!e.is_local}})}),markHydrated:()=>e({assistantsHydrated:!0}),upsertFromApi:t=>e(e=>{let n={id:t.id,name:t.name,hatchedAt:t.created,currentReleaseVersion:t.current_release_version,releaseChannel:t.release_channel,isLocal:t.is_local,isPlatformHosted:!t.is_local},r=e.assistants.findIndex(e=>e.id===t.id);if(r>=0){let i=[...e.assistants],a=p(t.id);return i[r]={...n,cloud:a.cloud??i[r].cloud,organizationId:i[r].organizationId,runtimeVersion:a.runtimeVersion??i[r].runtimeVersion,isActiveLockfileAssistant:a.isActiveLockfileAssistant??i[r].isActiveLockfileAssistant},{assistants:i}}let i=p(t.id);return{assistants:[...e.assistants,{...n,cloud:i.cloud,organizationId:i.organizationId,runtimeVersion:i.runtimeVersion,isActiveLockfileAssistant:i.isActiveLockfileAssistant}]}}),remove:t=>e(e=>({assistants:e.assistants.filter(e=>e.id!==t)})),clear:()=>e({assistants:[]}),setActiveAssistantId:t=>e({activeAssistantId:t}),setSelectedAssistant:t=>{t==null?o():n(t),e({selectedAssistantId:t})}}));function d(e,t){let{assistants:n,selectedAssistantId:r,assistantsHydrated:i}=e();!i||r==null||n.some(e=>e.id===r)||(o(),t({selectedAssistantId:null}))}var f=t(u);function p(e){let t=c.getState().lockfile,n=t?.assistants.find(t=>t.assistantId===e),r=t?m(t):null;return{cloud:n?.cloud,organizationId:n?.organizationId,runtimeVersion:n?.resources?.runtimeVersion,isActiveLockfileAssistant:t?r===e:void 0}}function m(e){return e.activeAssistant&&e.assistants.some(t=>t.assistantId===e.activeAssistant)?e.activeAssistant:e.assistants.length===1?e.assistants[0]?.assistantId??null:null}i()&&c.subscribe(e=>{e.lockfile&&e.committed&&u.getState().setFromLockfile(e.lockfile)}),typeof window<`u`&&window.addEventListener(`storage`,e=>{(e.key===null||e.key===`vellum:selectedAssistantId`)&&u.setState({selectedAssistantId:a()})});export{f as n,l as t};
@@ -1 +0,0 @@
1
- import{o as e}from"./local-settings-Bx7FsNo5.js";import{t}from"./jsx-runtime-D3ZM-ToX.js";import{t as n}from"./confirm-dialog-B7WBNDbT.js";import{E as r,S as i,a,d as o,f as s}from"./local-mode-DHueA-BJ.js";import{n as c}from"./resolved-assistants-store-C6oDdTxB.js";import{at as l,n as u}from"./auth-store-C9aYqB9U.js";import{c as d,d as f}from"./api-CGsj1Pig.js";import{d as p}from"./routes-DrfnNoYS.js";import{a as m}from"./navigation-resolver-CzEY-5nE.js";import{t as h}from"./build-state-9uUe0jN5.js";import{t as g}from"./research-onboarding-persistence-DwV372yy.js";var _=`vellum_assistant_name`;function v(){let e=m(h(),{kind:`post-retire`});return e.action===`redirect`?e.to:p.welcome}async function y(t){try{let n=a().assistants.find(e=>e.assistantId===t);if(s()&&n&&o(n)){let e=await i(t);if(!e.ok)return{ok:!1,error:e.error||`Failed to retire assistant.`}}else{let e=await f(t);if(!(e.ok||e.status===404))return{ok:!1,error:typeof e.error?.detail==`string`?e.error.detail:`Failed to retire assistant.`};if(s())try{let e=await d();e.ok&&await r(e.data,l.getState().currentOrganizationId??void 0)}catch{}}return c.getState().remove(t),g(u.getState().user?.id??null),e(_),{ok:!0,nextRoute:v()}}catch{return{ok:!1,error:`Failed to retire assistant.`}}}var b=t();function x({open:e,isPending:t,extraMessage:r,onConfirm:i,onCancel:a}){return(0,b.jsx)(n,{open:e,title:`Retire Assistant`,message:(0,b.jsxs)(b.Fragment,{children:[`This will permanently retire this assistant and all of its data. You will need to go through the onboarding flow again to create a new one. This action cannot be undone.`,r]}),confirmLabel:`Retire`,destructive:!0,isPending:t,onConfirm:i,onCancel:a})}export{y as n,x as t};
@@ -1 +0,0 @@
1
- import{o as e}from"./chunk-jRWAZmH_.js";import{t}from"./react-BFJW0bSv.js";import{t as n}from"./button-BwFudwM5.js";import{m as r,u as i}from"./chunk-5KNZJZUH-Bsoom5--.js";import{t as a}from"./jsx-runtime-D3ZM-ToX.js";import{t as o}from"./shield-check-CNsbiH1v.js";import{t as ee}from"./is-electron-DIlIrdJX.js";import{_ as s,i as c,n as l}from"./auth-store-C9aYqB9U.js";import{w as u}from"./native-biometric-DetUqtjl.js";import{d}from"./routes-DrfnNoYS.js";import{c as f,d as p,f as m,l as h,m as g,p as _,u as v}from"./prefs-CfRaGUUx.js";import{t as y}from"./hard-navigate-BYoBFmE4.js";import{t as b}from"./onboarding-layout-CNKJRWfe.js";import{n as x,t as S}from"./consent-controls-HYcVhQZ2.js";var C=e(t(),1),w={},T={"2026-06-22":[`Introduces Together AI as a new managed model provider`]};function E(e){return w[e]??[]}function D(e){return T[e]??[]}var O=a();function k(){let e=i(),[t]=r(),a=l.use.user()?.id??null,w=l.use.logout(),T=ee(),k=c(),[A,j]=g(),[M,N]=p(),[P,F]=m(),[I,L]=_(),[R]=f(),[z]=h(),B=v(),V=P??!0,H=I??!0,[U]=(0,C.useState)(()=>!A),[W]=(0,C.useState)(()=>!M),[G]=(0,C.useState)(()=>!R),[K]=(0,C.useState)(()=>!z),q=!U&&!W&&!G&&!K,[J]=(0,C.useState)(()=>!B),Y=U||q,X=W||q,Z=G||q,Q=K||q||J,$=!q&&!U&&!W,te=q?`Terms & privacy`:$?`Review your privacy preferences`:J?`Before You Start`:`Updated terms`,ne=q?`Review your terms and privacy preferences anytime.`:$?`Confirm your privacy preferences to continue.`:J?`Review and accept the terms to start using your assistant. You can update your preferences anytime in Settings.`:`We've updated our terms. Please review and accept to continue.`,re=(0,C.useCallback)(()=>{s({userId:a,tos:A,privacy:M,shareAnalytics:Z?V:null,shareDiagnostics:Q?H:null,hasPlatformSession:k}),e(u(t.get(`returnTo`),d.assistant),{replace:!0})},[M,k,e,t,V,H,Z,Q,A,a]),ie=(0,C.useCallback)(async()=>{await w(),y(d.account.login)},[w]),ae=Y&&!A||X&&!M;return(0,O.jsx)(b,{showCreatureFooter:!1,children:(0,O.jsxs)(`div`,{className:`mx-auto flex w-full max-w-xl flex-col items-center ${T?`min-h-full px-8 pt-21 pb-4 electron-prechat-type`:`px-6 py-16`} text-[var(--content-default)]`,children:[(0,O.jsx)(`div`,{className:`flex h-12 w-12 items-center justify-center rounded-full border border-[var(--border-subtle)] bg-[var(--surface-lift)]`,style:{animation:`fadeInUp 0.5s ease-out 0.05s both`},children:(0,O.jsx)(o,{className:`h-6 w-6 text-[var(--content-secondary)]`,strokeWidth:1.75})}),(0,O.jsx)(`h1`,{className:`mt-5 ${T?`text-title-large`:`text-3xl font-semibold tracking-tight`}`,style:{animation:`fadeInUp 0.5s ease-out 0.12s both`},children:te}),(0,O.jsx)(`p`,{className:`text-center text-body-medium-lighter text-[var(--content-tertiary)] ${T?`mt-3`:`mt-3.5`}`,style:{animation:`fadeInUp 0.5s ease-out 0.2s both`},children:ne}),(Z||Q)&&(0,O.jsx)(x,{electron:T,showAnalytics:Z,showDiagnostics:Q,shareAnalytics:V,shareDiagnostics:H,onShareAnalyticsChange:F,onShareDiagnosticsChange:L,className:`mt-9 w-full`,style:{animation:`fadeInUp 0.5s ease-out 0.28s both`}}),(X||Y)&&(0,O.jsx)(S,{electron:T,showPrivacy:X,showTos:Y,privacyConsent:M,tosAccepted:A,onPrivacyChange:N,onTosChange:j,privacyNotes:X&&!J?D(`2026-06-22`):[],tosNotes:Y&&!J?E(`2026-06-08`):[],className:`mt-6 w-full`,style:{animation:`fadeInUp 0.5s ease-out 0.36s both`}}),(0,O.jsxs)(`div`,{className:`mt-9 flex w-full flex-col ${T?`gap-2.5`:`gap-2`}`,style:{animation:`fadeInUp 0.5s ease-out 0.44s both`},children:[(0,O.jsx)(n,{variant:`primary`,size:`regular`,fullWidth:!0,disabled:ae,onClick:re,className:T?void 0:`h-11 text-base`,children:`Continue`}),(0,O.jsx)(n,{variant:`outlined`,size:`regular`,fullWidth:!0,onClick:ie,className:T?void 0:`h-11 text-base`,children:`Log out`})]})]})})}export{k as ReviewTermsScreen};
@@ -1 +0,0 @@
1
- import{t as e}from"./createLucideIcon-CAM1RhH8.js";var t=e(`rotate-ccw`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]);export{t};