motion-brew 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (663) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +106 -2
  3. package/dist/account-menu.d.ts +1 -0
  4. package/dist/account-menu.js +16 -0
  5. package/dist/action-menu.d.ts +1 -0
  6. package/dist/action-menu.js +10 -0
  7. package/dist/activity-grid.d.ts +1 -0
  8. package/dist/activity-grid.js +14 -0
  9. package/dist/add-card.d.ts +1 -0
  10. package/dist/add-card.js +11 -0
  11. package/dist/amount-slider.d.ts +1 -0
  12. package/dist/amount-slider.js +10 -0
  13. package/dist/annotation-text.d.ts +1 -0
  14. package/dist/annotation-text.js +8 -0
  15. package/dist/aura-card.d.ts +1 -0
  16. package/dist/aura-card.js +19 -0
  17. package/dist/auth-card.d.ts +1 -0
  18. package/dist/auth-card.js +15 -0
  19. package/dist/avatar-testimonial.d.ts +1 -0
  20. package/dist/avatar-testimonial.js +8 -0
  21. package/dist/backspace-text.d.ts +1 -0
  22. package/dist/backspace-text.js +8 -0
  23. package/dist/bell-toggle.d.ts +1 -0
  24. package/dist/bell-toggle.js +8 -0
  25. package/dist/bill-list.d.ts +1 -0
  26. package/dist/bill-list.js +15 -0
  27. package/dist/binary-text.d.ts +1 -0
  28. package/dist/binary-text.js +8 -0
  29. package/dist/blur-accordion.d.ts +1 -0
  30. package/dist/blur-accordion.js +8 -0
  31. package/dist/blur-text.d.ts +1 -0
  32. package/dist/blur-text.js +8 -0
  33. package/dist/booking-card.d.ts +1 -0
  34. package/dist/booking-card.js +11 -0
  35. package/dist/brand-bridge.d.ts +1 -0
  36. package/dist/brand-bridge.js +12 -0
  37. package/dist/calendar-agenda.d.ts +1 -0
  38. package/dist/calendar-agenda.js +12 -0
  39. package/dist/channel-mix.d.ts +1 -0
  40. package/dist/channel-mix.js +11 -0
  41. package/dist/chunk-25254AZA.js +141 -0
  42. package/dist/chunk-2CIJ5TVW.js +59 -0
  43. package/dist/chunk-2GXY54MP.js +247 -0
  44. package/dist/chunk-2IMPUH4H.js +135 -0
  45. package/dist/chunk-2NRXP4HM.js +371 -0
  46. package/dist/chunk-2QCWELWT.js +120 -0
  47. package/dist/chunk-2TQSHVXA.js +12 -0
  48. package/dist/chunk-327TGRS5.js +75 -0
  49. package/dist/chunk-3B2RYSTL.js +867 -0
  50. package/dist/chunk-3RKCLFY5.js +634 -0
  51. package/dist/chunk-4BVCRIR4.js +51 -0
  52. package/dist/chunk-4CKKTOJK.js +366 -0
  53. package/dist/chunk-4IGMH34C.js +319 -0
  54. package/dist/chunk-4PI6UNIZ.js +464 -0
  55. package/dist/chunk-4RHQKP2P.js +664 -0
  56. package/dist/chunk-5IAO5YQA.js +373 -0
  57. package/dist/chunk-5MP5QNFG.js +560 -0
  58. package/dist/chunk-62RBYLIN.js +128 -0
  59. package/dist/chunk-6FTC5OQF.js +384 -0
  60. package/dist/chunk-6GAKTS3D.js +329 -0
  61. package/dist/chunk-6GRDT3OE.js +124 -0
  62. package/dist/chunk-6JQY7AX5.js +307 -0
  63. package/dist/chunk-6LOUA6XB.js +237 -0
  64. package/dist/chunk-6V6OTHNE.js +299 -0
  65. package/dist/chunk-6VZIT62Q.js +142 -0
  66. package/dist/chunk-6WSY725U.js +387 -0
  67. package/dist/chunk-6XSJC7M7.js +764 -0
  68. package/dist/chunk-75DEIDBX.js +129 -0
  69. package/dist/chunk-7FQ4XU7E.js +127 -0
  70. package/dist/chunk-7IL5WRJR.js +615 -0
  71. package/dist/chunk-7MPC3RUE.js +1462 -0
  72. package/dist/chunk-7PS2W7PU.js +112 -0
  73. package/dist/chunk-AATJOPNH.js +86 -0
  74. package/dist/chunk-ADXWPWJR.js +209 -0
  75. package/dist/chunk-ANNDITUM.js +47 -0
  76. package/dist/chunk-AQN6BHWC.js +325 -0
  77. package/dist/chunk-AVOS73MR.js +537 -0
  78. package/dist/chunk-B4LNE6YK.js +473 -0
  79. package/dist/chunk-BHUNLG6S.js +142 -0
  80. package/dist/chunk-BN4MA5UY.js +127 -0
  81. package/dist/chunk-BPE43MTT.js +183 -0
  82. package/dist/chunk-BPF3FQRS.js +590 -0
  83. package/dist/chunk-BRTZFUFR.js +503 -0
  84. package/dist/chunk-BS4ZFJKW.js +121 -0
  85. package/dist/chunk-BXAKCY6X.js +86 -0
  86. package/dist/chunk-CEQ56RF6.js +129 -0
  87. package/dist/chunk-CGDKH6BB.js +902 -0
  88. package/dist/chunk-CMTGYFT7.js +395 -0
  89. package/dist/chunk-DD55JZOI.js +257 -0
  90. package/dist/chunk-DQUXBNSH.js +412 -0
  91. package/dist/chunk-DR4DUSNF.js +265 -0
  92. package/dist/chunk-EDPCK6VU.js +419 -0
  93. package/dist/chunk-EEQ2WHTN.js +142 -0
  94. package/dist/chunk-ERVE5RSN.js +793 -0
  95. package/dist/chunk-FFUBTMDC.js +303 -0
  96. package/dist/chunk-FK4TZ5OW.js +29 -0
  97. package/dist/chunk-FXI6NHNR.js +1033 -0
  98. package/dist/chunk-G3XH7YT2.js +122 -0
  99. package/dist/chunk-G7KDH7ME.js +559 -0
  100. package/dist/chunk-GRUDTDLX.js +534 -0
  101. package/dist/chunk-GUQINNWS.js +770 -0
  102. package/dist/chunk-GV3Q4D2N.js +320 -0
  103. package/dist/chunk-GVWOJJ3T.js +129 -0
  104. package/dist/chunk-H2JOCJWM.js +125 -0
  105. package/dist/chunk-H7XKIWHA.js +135 -0
  106. package/dist/chunk-HHXK3NAH.js +1382 -0
  107. package/dist/chunk-HJINEW5T.js +3289 -0
  108. package/dist/chunk-HK34LPY6.js +112 -0
  109. package/dist/chunk-HLJXNSMM.js +320 -0
  110. package/dist/chunk-HPJJAQ5L.js +406 -0
  111. package/dist/chunk-HYSXVKZB.js +213 -0
  112. package/dist/chunk-I45D4XV4.js +124 -0
  113. package/dist/chunk-I7KTTOOJ.js +113 -0
  114. package/dist/chunk-IDJOKV6S.js +67 -0
  115. package/dist/chunk-IGI6OLRX.js +138 -0
  116. package/dist/chunk-IKM7EEYN.js +117 -0
  117. package/dist/chunk-INV5FI6O.js +394 -0
  118. package/dist/chunk-IUBUAIQZ.js +321 -0
  119. package/dist/chunk-IYZOANPX.js +159 -0
  120. package/dist/chunk-JFTD3YAL.js +163 -0
  121. package/dist/chunk-JGEV462J.js +235 -0
  122. package/dist/chunk-JHT6RCGY.js +127 -0
  123. package/dist/chunk-JJEWOQYQ.js +141 -0
  124. package/dist/chunk-JT2EIO5M.js +129 -0
  125. package/dist/chunk-K3HQEHJ6.js +663 -0
  126. package/dist/chunk-K6ET254T.js +398 -0
  127. package/dist/chunk-LBRMNY72.js +159 -0
  128. package/dist/chunk-LNBTWX4J.js +114 -0
  129. package/dist/chunk-LS4FP6SI.js +37 -0
  130. package/dist/chunk-M22UY764.js +135 -0
  131. package/dist/chunk-M4YMNHPI.js +204 -0
  132. package/dist/chunk-MGBS5LRY.js +412 -0
  133. package/dist/chunk-MKJOBHPQ.js +215 -0
  134. package/dist/chunk-MQDOFNKI.js +818 -0
  135. package/dist/chunk-MUDKP3LK.js +120 -0
  136. package/dist/chunk-N4ZNBWKO.js +118 -0
  137. package/dist/chunk-NB5CB65C.js +137 -0
  138. package/dist/chunk-NCEAUODT.js +172 -0
  139. package/dist/chunk-NGX34WJO.js +335 -0
  140. package/dist/chunk-NIQFSLPC.js +114 -0
  141. package/dist/chunk-NJWTPRGJ.js +806 -0
  142. package/dist/chunk-NNKC6NEH.js +128 -0
  143. package/dist/chunk-NY7M42KC.js +112 -0
  144. package/dist/chunk-O7G4ISAC.js +277 -0
  145. package/dist/chunk-O7QYPA6X.js +700 -0
  146. package/dist/chunk-OEDHLZ4T.js +651 -0
  147. package/dist/chunk-OGQQ2FZZ.js +114 -0
  148. package/dist/chunk-OINRQUYT.js +186 -0
  149. package/dist/chunk-OMJBDFEW.js +506 -0
  150. package/dist/chunk-ONUWTWKP.js +345 -0
  151. package/dist/chunk-OS6REIBR.js +154 -0
  152. package/dist/chunk-OUVP5VKH.js +702 -0
  153. package/dist/chunk-OVEBMZHA.js +573 -0
  154. package/dist/chunk-PJ5EVDNN.js +157 -0
  155. package/dist/chunk-PKM6B4JJ.js +108 -0
  156. package/dist/chunk-PV3OYTMT.js +596 -0
  157. package/dist/chunk-RBSLSNMW.js +444 -0
  158. package/dist/chunk-RE74K7KI.js +370 -0
  159. package/dist/chunk-RP22J4NX.js +247 -0
  160. package/dist/chunk-RU2Q2XVP.js +287 -0
  161. package/dist/chunk-RZ2UCZ3C.js +212 -0
  162. package/dist/chunk-SBDTC4UY.js +367 -0
  163. package/dist/chunk-SKEE23KW.js +137 -0
  164. package/dist/chunk-SOW7S7ET.js +1103 -0
  165. package/dist/chunk-SQ7F3VBU.js +1069 -0
  166. package/dist/chunk-SSWKGVRI.js +172 -0
  167. package/dist/chunk-SVK4MQMV.js +267 -0
  168. package/dist/chunk-SZAHSOSQ.js +932 -0
  169. package/dist/chunk-T2TSMDP3.js +1022 -0
  170. package/dist/chunk-TAFVHTWV.js +607 -0
  171. package/dist/chunk-TNLY4CSA.js +523 -0
  172. package/dist/chunk-TP3XIHL5.js +787 -0
  173. package/dist/chunk-TQ6KSDDE.js +682 -0
  174. package/dist/chunk-TRWXLGL7.js +885 -0
  175. package/dist/chunk-TTNORJF5.js +908 -0
  176. package/dist/chunk-UD5OQ2T3.js +117 -0
  177. package/dist/chunk-UDFBQWUH.js +333 -0
  178. package/dist/chunk-USRMXCZD.js +625 -0
  179. package/dist/chunk-VAPHE4G4.js +442 -0
  180. package/dist/chunk-VEC5QAOY.js +104 -0
  181. package/dist/chunk-VIR5NV5W.js +118 -0
  182. package/dist/chunk-VT2FNWQF.js +240 -0
  183. package/dist/chunk-VX4XEYQN.js +837 -0
  184. package/dist/chunk-W46CBUFX.js +425 -0
  185. package/dist/chunk-WE7VCUOA.js +130 -0
  186. package/dist/chunk-WFWO2EIW.js +120 -0
  187. package/dist/chunk-WGIT4MMH.js +350 -0
  188. package/dist/chunk-WOR2GMMN.js +114 -0
  189. package/dist/chunk-WTTDB475.js +54 -0
  190. package/dist/chunk-WWWKMU4Y.js +184 -0
  191. package/dist/chunk-XDR4FO6Q.js +124 -0
  192. package/dist/chunk-XH6YNONO.js +112 -0
  193. package/dist/chunk-XL4L2J6N.js +129 -0
  194. package/dist/chunk-Y6MTC46Q.js +684 -0
  195. package/dist/chunk-YFLQ4HPJ.js +119 -0
  196. package/dist/chunk-YGONLKWH.js +180 -0
  197. package/dist/chunk-YU6B7YRO.js +128 -0
  198. package/dist/chunk-YURGXJSP.js +102 -0
  199. package/dist/chunk-YVYYDPE2.js +124 -0
  200. package/dist/chunk-ZPGAMYOQ.js +1 -0
  201. package/dist/chunk-ZWGOAY27.js +234 -0
  202. package/dist/column-card.d.ts +1 -0
  203. package/dist/column-card.js +8 -0
  204. package/dist/components/account-menu/account-menu.d.ts +56 -0
  205. package/dist/components/account-menu/index.d.ts +1 -0
  206. package/dist/components/action-menu/action-menu.d.ts +45 -0
  207. package/dist/components/action-menu/index.d.ts +1 -0
  208. package/dist/components/activity-grid/activity-grid.d.ts +54 -0
  209. package/dist/components/activity-grid/index.d.ts +1 -0
  210. package/dist/components/add-card/add-card.d.ts +41 -0
  211. package/dist/components/add-card/index.d.ts +1 -0
  212. package/dist/components/amount-slider/amount-slider.d.ts +43 -0
  213. package/dist/components/amount-slider/index.d.ts +1 -0
  214. package/dist/components/annotation-text/annotation-text.d.ts +27 -0
  215. package/dist/components/annotation-text/index.d.ts +1 -0
  216. package/dist/components/aura-card/aura-card.d.ts +63 -0
  217. package/dist/components/aura-card/index.d.ts +1 -0
  218. package/dist/components/auth-card/auth-card.d.ts +51 -0
  219. package/dist/components/auth-card/index.d.ts +1 -0
  220. package/dist/components/avatar-testimonial/avatar-testimonial.d.ts +39 -0
  221. package/dist/components/avatar-testimonial/index.d.ts +1 -0
  222. package/dist/components/backspace-text/backspace-text.d.ts +27 -0
  223. package/dist/components/backspace-text/index.d.ts +1 -0
  224. package/dist/components/bell-toggle/bell-toggle.d.ts +33 -0
  225. package/dist/components/bell-toggle/index.d.ts +1 -0
  226. package/dist/components/bill-list/bill-list.d.ts +49 -0
  227. package/dist/components/bill-list/index.d.ts +1 -0
  228. package/dist/components/binary-text/binary-text.d.ts +24 -0
  229. package/dist/components/binary-text/index.d.ts +1 -0
  230. package/dist/components/blur-accordion/blur-accordion.d.ts +35 -0
  231. package/dist/components/blur-accordion/index.d.ts +1 -0
  232. package/dist/components/blur-text/blur-text.d.ts +33 -0
  233. package/dist/components/blur-text/index.d.ts +1 -0
  234. package/dist/components/booking-card/booking-card.d.ts +56 -0
  235. package/dist/components/booking-card/index.d.ts +1 -0
  236. package/dist/components/brand-bridge/brand-bridge.d.ts +63 -0
  237. package/dist/components/brand-bridge/index.d.ts +1 -0
  238. package/dist/components/calendar-agenda/calendar-agenda.d.ts +64 -0
  239. package/dist/components/calendar-agenda/index.d.ts +1 -0
  240. package/dist/components/channel-mix/channel-mix.d.ts +63 -0
  241. package/dist/components/channel-mix/index.d.ts +1 -0
  242. package/dist/components/column-card/column-card.d.ts +39 -0
  243. package/dist/components/column-card/index.d.ts +1 -0
  244. package/dist/components/contact-card/contact-card.d.ts +44 -0
  245. package/dist/components/contact-card/index.d.ts +1 -0
  246. package/dist/components/context-menu/context-menu.d.ts +59 -0
  247. package/dist/components/context-menu/index.d.ts +1 -0
  248. package/dist/components/contour-feature-card/contour-feature-card.d.ts +36 -0
  249. package/dist/components/contour-feature-card/index.d.ts +1 -0
  250. package/dist/components/contour-lines/contour-lines.d.ts +34 -0
  251. package/dist/components/contour-lines/index.d.ts +1 -0
  252. package/dist/components/decay-card/decay-card.d.ts +44 -0
  253. package/dist/components/decay-card/index.d.ts +1 -0
  254. package/dist/components/deploy-streak/deploy-streak.d.ts +30 -0
  255. package/dist/components/deploy-streak/index.d.ts +1 -0
  256. package/dist/components/depth-carousel/depth-carousel.d.ts +42 -0
  257. package/dist/components/depth-carousel/index.d.ts +1 -0
  258. package/dist/components/device-traffic/device-traffic.d.ts +59 -0
  259. package/dist/components/device-traffic/index.d.ts +1 -0
  260. package/dist/components/download-button/download-button.d.ts +36 -0
  261. package/dist/components/download-button/index.d.ts +1 -0
  262. package/dist/components/event-card/event-card.d.ts +55 -0
  263. package/dist/components/event-card/index.d.ts +1 -0
  264. package/dist/components/file-drop/file-drop.d.ts +46 -0
  265. package/dist/components/file-drop/index.d.ts +1 -0
  266. package/dist/components/flip-words/flip-words.d.ts +26 -0
  267. package/dist/components/flip-words/index.d.ts +1 -0
  268. package/dist/components/flux-card/flux-card.d.ts +56 -0
  269. package/dist/components/flux-card/index.d.ts +1 -0
  270. package/dist/components/fuse-button/fuse-button.d.ts +75 -0
  271. package/dist/components/fuse-button/index.d.ts +1 -0
  272. package/dist/components/globe-card/globe-card.d.ts +46 -0
  273. package/dist/components/globe-card/index.d.ts +1 -0
  274. package/dist/components/goal-gauge/goal-gauge.d.ts +47 -0
  275. package/dist/components/goal-gauge/index.d.ts +1 -0
  276. package/dist/components/gradient-card/gradient-card.d.ts +56 -0
  277. package/dist/components/gradient-card/index.d.ts +1 -0
  278. package/dist/components/gradient-text/gradient-text.d.ts +22 -0
  279. package/dist/components/gradient-text/index.d.ts +1 -0
  280. package/dist/components/gravity-tag-pile/gravity-tag-pile.d.ts +69 -0
  281. package/dist/components/gravity-tag-pile/index.d.ts +1 -0
  282. package/dist/components/growth-stream/growth-stream.d.ts +47 -0
  283. package/dist/components/growth-stream/index.d.ts +1 -0
  284. package/dist/components/highlight-text/highlight-text.d.ts +22 -0
  285. package/dist/components/highlight-text/index.d.ts +1 -0
  286. package/dist/components/hold-to-confirm/hold-to-confirm.d.ts +32 -0
  287. package/dist/components/hold-to-confirm/index.d.ts +1 -0
  288. package/dist/components/infinite-gallery/index.d.ts +1 -0
  289. package/dist/components/infinite-gallery/infinite-gallery.d.ts +73 -0
  290. package/dist/components/integration-hub/index.d.ts +1 -0
  291. package/dist/components/integration-hub/integration-hub.d.ts +40 -0
  292. package/dist/components/liquid-card/index.d.ts +1 -0
  293. package/dist/components/liquid-card/liquid-card.d.ts +66 -0
  294. package/dist/components/liquid-metal-card/index.d.ts +1 -0
  295. package/dist/components/liquid-metal-card/liquid-metal-card.d.ts +45 -0
  296. package/dist/components/liquid-tabs/index.d.ts +1 -0
  297. package/dist/components/liquid-tabs/liquid-tabs.d.ts +47 -0
  298. package/dist/components/magnetic-button/index.d.ts +1 -0
  299. package/dist/components/magnetic-button/magnetic-button.d.ts +46 -0
  300. package/dist/components/magnetic-flow/index.d.ts +1 -0
  301. package/dist/components/magnetic-flow/magnetic-flow.d.ts +35 -0
  302. package/dist/components/message-composer/index.d.ts +1 -0
  303. package/dist/components/message-composer/message-composer.d.ts +79 -0
  304. package/dist/components/metal-card-stack/index.d.ts +1 -0
  305. package/dist/components/metal-card-stack/metal-card-stack.d.ts +49 -0
  306. package/dist/components/metric-split/index.d.ts +1 -0
  307. package/dist/components/metric-split/metric-split.d.ts +45 -0
  308. package/dist/components/mix-chart/index.d.ts +1 -0
  309. package/dist/components/mix-chart/mix-chart.d.ts +59 -0
  310. package/dist/components/month-calendar/index.d.ts +1 -0
  311. package/dist/components/month-calendar/month-calendar.d.ts +34 -0
  312. package/dist/components/morph-search/index.d.ts +1 -0
  313. package/dist/components/morph-search/morph-search.d.ts +33 -0
  314. package/dist/components/orbit-card/index.d.ts +1 -0
  315. package/dist/components/orbit-card/orbit-card.d.ts +50 -0
  316. package/dist/components/otp-code/index.d.ts +1 -0
  317. package/dist/components/otp-code/otp-code.d.ts +61 -0
  318. package/dist/components/particle-card/index.d.ts +1 -0
  319. package/dist/components/particle-card/particle-card.d.ts +57 -0
  320. package/dist/components/payment-form/index.d.ts +1 -0
  321. package/dist/components/payment-form/payment-form.d.ts +54 -0
  322. package/dist/components/pill-tabs/index.d.ts +1 -0
  323. package/dist/components/pill-tabs/pill-tabs.d.ts +39 -0
  324. package/dist/components/pixel-blast/index.d.ts +1 -0
  325. package/dist/components/pixel-blast/pixel-blast.d.ts +41 -0
  326. package/dist/components/pixel-feature-card/index.d.ts +1 -0
  327. package/dist/components/pixel-feature-card/pixel-feature-card.d.ts +43 -0
  328. package/dist/components/pixel-scroll/index.d.ts +1 -0
  329. package/dist/components/pixel-scroll/pixel-scroll.d.ts +64 -0
  330. package/dist/components/pricing-card/index.d.ts +1 -0
  331. package/dist/components/pricing-card/pricing-card.d.ts +60 -0
  332. package/dist/components/prism-carousel/index.d.ts +1 -0
  333. package/dist/components/prism-carousel/prism-carousel.d.ts +54 -0
  334. package/dist/components/prism-flow/index.d.ts +1 -0
  335. package/dist/components/prism-flow/prism-flow.d.ts +41 -0
  336. package/dist/components/privacy-banner/index.d.ts +1 -0
  337. package/dist/components/privacy-banner/privacy-banner.d.ts +41 -0
  338. package/dist/components/profile-card/index.d.ts +1 -0
  339. package/dist/components/profile-card/profile-card.d.ts +52 -0
  340. package/dist/components/profile-menu/index.d.ts +1 -0
  341. package/dist/components/profile-menu/profile-menu.d.ts +43 -0
  342. package/dist/components/project-index/index.d.ts +1 -0
  343. package/dist/components/project-index/project-index.d.ts +65 -0
  344. package/dist/components/prompt-input/index.d.ts +1 -0
  345. package/dist/components/prompt-input/prompt-input.d.ts +49 -0
  346. package/dist/components/quota-gauge/index.d.ts +1 -0
  347. package/dist/components/quota-gauge/quota-gauge.d.ts +30 -0
  348. package/dist/components/range-chart/index.d.ts +1 -0
  349. package/dist/components/range-chart/range-chart.d.ts +47 -0
  350. package/dist/components/reaction-card/index.d.ts +1 -0
  351. package/dist/components/reaction-card/reaction-card.d.ts +60 -0
  352. package/dist/components/recap-card/index.d.ts +1 -0
  353. package/dist/components/recap-card/recap-card.d.ts +61 -0
  354. package/dist/components/receipt-button/index.d.ts +1 -0
  355. package/dist/components/receipt-button/receipt-button.d.ts +53 -0
  356. package/dist/components/ribbon-gallery/index.d.ts +1 -0
  357. package/dist/components/ribbon-gallery/ribbon-gallery.d.ts +61 -0
  358. package/dist/components/roadmap-card/index.d.ts +1 -0
  359. package/dist/components/roadmap-card/roadmap-card.d.ts +38 -0
  360. package/dist/components/rolling-card-stack/index.d.ts +1 -0
  361. package/dist/components/rolling-card-stack/rolling-card-stack.d.ts +53 -0
  362. package/dist/components/rolling-stepper/index.d.ts +1 -0
  363. package/dist/components/rolling-stepper/rolling-stepper.d.ts +33 -0
  364. package/dist/components/rotating-text/index.d.ts +1 -0
  365. package/dist/components/rotating-text/rotating-text.d.ts +25 -0
  366. package/dist/components/score-card/index.d.ts +1 -0
  367. package/dist/components/score-card/score-card.d.ts +40 -0
  368. package/dist/components/search-modal/index.d.ts +1 -0
  369. package/dist/components/search-modal/search-modal.d.ts +62 -0
  370. package/dist/components/shimmer-text/index.d.ts +1 -0
  371. package/dist/components/shimmer-text/shimmer-text.d.ts +22 -0
  372. package/dist/components/sidebar-nav/index.d.ts +1 -0
  373. package/dist/components/sidebar-nav/sidebar-nav.d.ts +71 -0
  374. package/dist/components/slide-commit/index.d.ts +1 -0
  375. package/dist/components/slide-commit/slide-commit.d.ts +39 -0
  376. package/dist/components/spatial-gallery/index.d.ts +1 -0
  377. package/dist/components/spatial-gallery/spatial-gallery.d.ts +88 -0
  378. package/dist/components/spending-meter/index.d.ts +1 -0
  379. package/dist/components/spending-meter/spending-meter.d.ts +41 -0
  380. package/dist/components/tab-bar/index.d.ts +1 -0
  381. package/dist/components/tab-bar/tab-bar.d.ts +44 -0
  382. package/dist/components/team-member-card/index.d.ts +1 -0
  383. package/dist/components/team-member-card/team-member-card.d.ts +66 -0
  384. package/dist/components/team-morph/index.d.ts +1 -0
  385. package/dist/components/team-morph/team-morph.d.ts +38 -0
  386. package/dist/components/tilt-card/index.d.ts +1 -0
  387. package/dist/components/tilt-card/tilt-card.d.ts +27 -0
  388. package/dist/components/tilt-carousel/index.d.ts +1 -0
  389. package/dist/components/tilt-carousel/tilt-carousel.d.ts +43 -0
  390. package/dist/components/toast-stack/index.d.ts +1 -0
  391. package/dist/components/toast-stack/toast-stack.d.ts +57 -0
  392. package/dist/components/usage-ring/index.d.ts +1 -0
  393. package/dist/components/usage-ring/usage-ring.d.ts +40 -0
  394. package/dist/components/verify-flow/index.d.ts +1 -0
  395. package/dist/components/verify-flow/verify-flow.d.ts +49 -0
  396. package/dist/components/voice-prompt/index.d.ts +1 -0
  397. package/dist/components/voice-prompt/voice-prompt.d.ts +55 -0
  398. package/dist/components/wallet-card/index.d.ts +1 -0
  399. package/dist/components/wallet-card/wallet-card.d.ts +54 -0
  400. package/dist/components/wave-text/index.d.ts +1 -0
  401. package/dist/components/wave-text/wave-text.d.ts +27 -0
  402. package/dist/contact-card.d.ts +1 -0
  403. package/dist/contact-card.js +12 -0
  404. package/dist/context-menu.d.ts +1 -0
  405. package/dist/context-menu.js +17 -0
  406. package/dist/contour-feature-card.d.ts +1 -0
  407. package/dist/contour-feature-card.js +9 -0
  408. package/dist/contour-lines.d.ts +1 -0
  409. package/dist/contour-lines.js +8 -0
  410. package/dist/decay-card.d.ts +1 -0
  411. package/dist/decay-card.js +8 -0
  412. package/dist/deploy-streak.d.ts +1 -0
  413. package/dist/deploy-streak.js +9 -0
  414. package/dist/depth-carousel.d.ts +1 -0
  415. package/dist/depth-carousel.js +8 -0
  416. package/dist/device-traffic.d.ts +1 -0
  417. package/dist/device-traffic.js +12 -0
  418. package/dist/download-button.d.ts +1 -0
  419. package/dist/download-button.js +8 -0
  420. package/dist/event-card.d.ts +1 -0
  421. package/dist/event-card.js +12 -0
  422. package/dist/file-drop.d.ts +1 -0
  423. package/dist/file-drop.js +12 -0
  424. package/dist/flip-words.d.ts +1 -0
  425. package/dist/flip-words.js +8 -0
  426. package/dist/flux-card.d.ts +1 -0
  427. package/dist/flux-card.js +13 -0
  428. package/dist/fuse-button.d.ts +1 -0
  429. package/dist/fuse-button.js +9 -0
  430. package/dist/globe-card.d.ts +1 -0
  431. package/dist/globe-card.js +8 -0
  432. package/dist/goal-gauge.d.ts +1 -0
  433. package/dist/goal-gauge.js +9 -0
  434. package/dist/gradient-card.d.ts +1 -0
  435. package/dist/gradient-card.js +8 -0
  436. package/dist/gradient-text.d.ts +1 -0
  437. package/dist/gradient-text.js +8 -0
  438. package/dist/gravity-tag-pile.d.ts +1 -0
  439. package/dist/gravity-tag-pile.js +9 -0
  440. package/dist/growth-stream.d.ts +1 -0
  441. package/dist/growth-stream.js +10 -0
  442. package/dist/highlight-text.d.ts +1 -0
  443. package/dist/highlight-text.js +8 -0
  444. package/dist/hold-to-confirm.d.ts +1 -0
  445. package/dist/hold-to-confirm.js +8 -0
  446. package/dist/icons/activity.d.ts +15 -0
  447. package/dist/icons/archive.d.ts +15 -0
  448. package/dist/icons/arrow-down-right.d.ts +15 -0
  449. package/dist/icons/arrow-down.d.ts +15 -0
  450. package/dist/icons/arrow-right.d.ts +15 -0
  451. package/dist/icons/arrow-up-right.d.ts +15 -0
  452. package/dist/icons/arrow-up.d.ts +15 -0
  453. package/dist/icons/at-sign.d.ts +15 -0
  454. package/dist/icons/attach-file.d.ts +15 -0
  455. package/dist/icons/badge-alert.d.ts +15 -0
  456. package/dist/icons/bell.d.ts +15 -0
  457. package/dist/icons/bold.d.ts +15 -0
  458. package/dist/icons/bookmark.d.ts +15 -0
  459. package/dist/icons/bot.d.ts +15 -0
  460. package/dist/icons/calendar-check-2.d.ts +15 -0
  461. package/dist/icons/calendar-check.d.ts +15 -0
  462. package/dist/icons/calendar-days.d.ts +15 -0
  463. package/dist/icons/chart-line.d.ts +15 -0
  464. package/dist/icons/chart-pie.d.ts +15 -0
  465. package/dist/icons/check.d.ts +15 -0
  466. package/dist/icons/chevron-down.d.ts +15 -0
  467. package/dist/icons/chevron-left.d.ts +15 -0
  468. package/dist/icons/chevron-right.d.ts +15 -0
  469. package/dist/icons/circle-check.d.ts +15 -0
  470. package/dist/icons/circle-dollar-sign.d.ts +15 -0
  471. package/dist/icons/clipboard-check.d.ts +15 -0
  472. package/dist/icons/clock.d.ts +15 -0
  473. package/dist/icons/cloud-upload.d.ts +15 -0
  474. package/dist/icons/compass.d.ts +15 -0
  475. package/dist/icons/contrast.d.ts +15 -0
  476. package/dist/icons/copy.d.ts +15 -0
  477. package/dist/icons/credit-card.d.ts +15 -0
  478. package/dist/icons/delete.d.ts +15 -0
  479. package/dist/icons/download.d.ts +15 -0
  480. package/dist/icons/dribbble.d.ts +15 -0
  481. package/dist/icons/earth.d.ts +15 -0
  482. package/dist/icons/eye-off.d.ts +15 -0
  483. package/dist/icons/eye.d.ts +15 -0
  484. package/dist/icons/feather.d.ts +15 -0
  485. package/dist/icons/figma.d.ts +15 -0
  486. package/dist/icons/file-text.d.ts +16 -0
  487. package/dist/icons/flame.d.ts +15 -0
  488. package/dist/icons/folder-input.d.ts +15 -0
  489. package/dist/icons/folder-open.d.ts +15 -0
  490. package/dist/icons/folders.d.ts +15 -0
  491. package/dist/icons/github.d.ts +15 -0
  492. package/dist/icons/hand-coins.d.ts +15 -0
  493. package/dist/icons/heart.d.ts +15 -0
  494. package/dist/icons/history.d.ts +15 -0
  495. package/dist/icons/home.d.ts +15 -0
  496. package/dist/icons/hourglass.d.ts +15 -0
  497. package/dist/icons/instagram.d.ts +15 -0
  498. package/dist/icons/italic.d.ts +15 -0
  499. package/dist/icons/layout-grid.d.ts +15 -0
  500. package/dist/icons/link.d.ts +15 -0
  501. package/dist/icons/linkedin.d.ts +15 -0
  502. package/dist/icons/loader-circle.d.ts +15 -0
  503. package/dist/icons/lock-keyhole-open.d.ts +15 -0
  504. package/dist/icons/lock-keyhole.d.ts +15 -0
  505. package/dist/icons/lock.d.ts +15 -0
  506. package/dist/icons/logout.d.ts +15 -0
  507. package/dist/icons/mail-check.d.ts +15 -0
  508. package/dist/icons/map-pin.d.ts +15 -0
  509. package/dist/icons/message-circle.d.ts +15 -0
  510. package/dist/icons/mic.d.ts +15 -0
  511. package/dist/icons/monitor-check.d.ts +15 -0
  512. package/dist/icons/moon.d.ts +15 -0
  513. package/dist/icons/palette.d.ts +15 -0
  514. package/dist/icons/panel-left-close.d.ts +15 -0
  515. package/dist/icons/panel-left-open.d.ts +15 -0
  516. package/dist/icons/plug-zap.d.ts +15 -0
  517. package/dist/icons/plus.d.ts +15 -0
  518. package/dist/icons/radio.d.ts +15 -0
  519. package/dist/icons/receipt.d.ts +15 -0
  520. package/dist/icons/refresh-cw.d.ts +15 -0
  521. package/dist/icons/rotate-ccw.d.ts +15 -0
  522. package/dist/icons/search.d.ts +15 -0
  523. package/dist/icons/send.d.ts +15 -0
  524. package/dist/icons/settings.d.ts +15 -0
  525. package/dist/icons/shield-check.d.ts +15 -0
  526. package/dist/icons/smartphone-nfc.d.ts +15 -0
  527. package/dist/icons/smile.d.ts +15 -0
  528. package/dist/icons/sparkles.d.ts +15 -0
  529. package/dist/icons/square-pen.d.ts +15 -0
  530. package/dist/icons/sun.d.ts +15 -0
  531. package/dist/icons/terminal.d.ts +15 -0
  532. package/dist/icons/timer.d.ts +15 -0
  533. package/dist/icons/trending-up.d.ts +15 -0
  534. package/dist/icons/twitter.d.ts +15 -0
  535. package/dist/icons/underline.d.ts +15 -0
  536. package/dist/icons/undo.d.ts +15 -0
  537. package/dist/icons/user-check.d.ts +15 -0
  538. package/dist/icons/user-plus.d.ts +15 -0
  539. package/dist/icons/user-round-plus.d.ts +15 -0
  540. package/dist/icons/user.d.ts +15 -0
  541. package/dist/icons/users.d.ts +15 -0
  542. package/dist/icons/wifi.d.ts +15 -0
  543. package/dist/icons/workflow.d.ts +15 -0
  544. package/dist/icons/x.d.ts +15 -0
  545. package/dist/icons/zap.d.ts +15 -0
  546. package/dist/index.d.ts +100 -0
  547. package/dist/index.js +472 -0
  548. package/dist/infinite-gallery.d.ts +1 -0
  549. package/dist/infinite-gallery.js +9 -0
  550. package/dist/integration-hub.d.ts +1 -0
  551. package/dist/integration-hub.js +8 -0
  552. package/dist/lib/cn.d.ts +3 -0
  553. package/dist/liquid-card.d.ts +1 -0
  554. package/dist/liquid-card.js +10 -0
  555. package/dist/liquid-metal-card.d.ts +1 -0
  556. package/dist/liquid-metal-card.js +8 -0
  557. package/dist/liquid-tabs.d.ts +1 -0
  558. package/dist/liquid-tabs.js +14 -0
  559. package/dist/magnetic-button.d.ts +1 -0
  560. package/dist/magnetic-button.js +8 -0
  561. package/dist/magnetic-flow.d.ts +1 -0
  562. package/dist/magnetic-flow.js +8 -0
  563. package/dist/message-composer.d.ts +1 -0
  564. package/dist/message-composer.js +20 -0
  565. package/dist/metal-card-stack.d.ts +1 -0
  566. package/dist/metal-card-stack.js +8 -0
  567. package/dist/metric-split.d.ts +1 -0
  568. package/dist/metric-split.js +9 -0
  569. package/dist/mix-chart.d.ts +1 -0
  570. package/dist/mix-chart.js +9 -0
  571. package/dist/month-calendar.d.ts +1 -0
  572. package/dist/month-calendar.js +10 -0
  573. package/dist/morph-search.d.ts +1 -0
  574. package/dist/morph-search.js +10 -0
  575. package/dist/orbit-card.d.ts +1 -0
  576. package/dist/orbit-card.js +8 -0
  577. package/dist/otp-code.d.ts +1 -0
  578. package/dist/otp-code.js +17 -0
  579. package/dist/particle-card.d.ts +1 -0
  580. package/dist/particle-card.js +8 -0
  581. package/dist/payment-form.d.ts +1 -0
  582. package/dist/payment-form.js +8 -0
  583. package/dist/pill-tabs.d.ts +1 -0
  584. package/dist/pill-tabs.js +9 -0
  585. package/dist/pixel-blast.d.ts +1 -0
  586. package/dist/pixel-blast.js +8 -0
  587. package/dist/pixel-feature-card.d.ts +1 -0
  588. package/dist/pixel-feature-card.js +9 -0
  589. package/dist/pixel-scroll.d.ts +1 -0
  590. package/dist/pixel-scroll.js +8 -0
  591. package/dist/pricing-card.d.ts +1 -0
  592. package/dist/pricing-card.js +14 -0
  593. package/dist/prism-carousel.d.ts +1 -0
  594. package/dist/prism-carousel.js +8 -0
  595. package/dist/prism-flow.d.ts +1 -0
  596. package/dist/prism-flow.js +8 -0
  597. package/dist/privacy-banner.d.ts +1 -0
  598. package/dist/privacy-banner.js +8 -0
  599. package/dist/profile-card.d.ts +1 -0
  600. package/dist/profile-card.js +14 -0
  601. package/dist/profile-menu.d.ts +1 -0
  602. package/dist/profile-menu.js +21 -0
  603. package/dist/project-index.d.ts +1 -0
  604. package/dist/project-index.js +9 -0
  605. package/dist/prompt-input.d.ts +1 -0
  606. package/dist/prompt-input.js +14 -0
  607. package/dist/quota-gauge.d.ts +1 -0
  608. package/dist/quota-gauge.js +9 -0
  609. package/dist/range-chart.d.ts +1 -0
  610. package/dist/range-chart.js +8 -0
  611. package/dist/reaction-card.d.ts +1 -0
  612. package/dist/reaction-card.js +8 -0
  613. package/dist/recap-card.d.ts +1 -0
  614. package/dist/recap-card.js +15 -0
  615. package/dist/receipt-button.d.ts +1 -0
  616. package/dist/receipt-button.js +8 -0
  617. package/dist/ribbon-gallery.d.ts +1 -0
  618. package/dist/ribbon-gallery.js +8 -0
  619. package/dist/roadmap-card.d.ts +1 -0
  620. package/dist/roadmap-card.js +11 -0
  621. package/dist/rolling-card-stack.d.ts +1 -0
  622. package/dist/rolling-card-stack.js +8 -0
  623. package/dist/rolling-stepper.d.ts +1 -0
  624. package/dist/rolling-stepper.js +8 -0
  625. package/dist/rotating-text.d.ts +1 -0
  626. package/dist/rotating-text.js +9 -0
  627. package/dist/score-card.d.ts +1 -0
  628. package/dist/score-card.js +10 -0
  629. package/dist/search-modal.d.ts +1 -0
  630. package/dist/search-modal.js +16 -0
  631. package/dist/shimmer-text.d.ts +1 -0
  632. package/dist/shimmer-text.js +8 -0
  633. package/dist/sidebar-nav.d.ts +1 -0
  634. package/dist/sidebar-nav.js +19 -0
  635. package/dist/slide-commit.d.ts +1 -0
  636. package/dist/slide-commit.js +9 -0
  637. package/dist/spatial-gallery.d.ts +1 -0
  638. package/dist/spatial-gallery.js +8 -0
  639. package/dist/spending-meter.d.ts +1 -0
  640. package/dist/spending-meter.js +9 -0
  641. package/dist/tab-bar.d.ts +1 -0
  642. package/dist/tab-bar.js +18 -0
  643. package/dist/team-member-card.d.ts +1 -0
  644. package/dist/team-member-card.js +14 -0
  645. package/dist/team-morph.d.ts +1 -0
  646. package/dist/team-morph.js +11 -0
  647. package/dist/tilt-card.d.ts +1 -0
  648. package/dist/tilt-card.js +8 -0
  649. package/dist/tilt-carousel.d.ts +1 -0
  650. package/dist/tilt-carousel.js +8 -0
  651. package/dist/toast-stack.d.ts +1 -0
  652. package/dist/toast-stack.js +13 -0
  653. package/dist/usage-ring.d.ts +1 -0
  654. package/dist/usage-ring.js +9 -0
  655. package/dist/verify-flow.d.ts +1 -0
  656. package/dist/verify-flow.js +10 -0
  657. package/dist/voice-prompt.d.ts +1 -0
  658. package/dist/voice-prompt.js +14 -0
  659. package/dist/wallet-card.d.ts +1 -0
  660. package/dist/wallet-card.js +15 -0
  661. package/dist/wave-text.d.ts +1 -0
  662. package/dist/wave-text.js +8 -0
  663. package/package.json +111 -4
@@ -0,0 +1,837 @@
1
+ "use client";
2
+ import {
3
+ cn
4
+ } from "./chunk-2TQSHVXA.js";
5
+
6
+ // src/components/brand-bridge/brand-bridge.tsx
7
+ import * as React from "react";
8
+ import {
9
+ motion,
10
+ useInView,
11
+ useReducedMotion
12
+ } from "motion/react";
13
+ import { jsx, jsxs } from "react/jsx-runtime";
14
+ var mono = (d, fill) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "size-6", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d, fill }) });
15
+ var GOOGLE = /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "size-6", "aria-hidden": true, children: [
16
+ /* @__PURE__ */ jsx(
17
+ "path",
18
+ {
19
+ fill: "#4285F4",
20
+ d: "M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"
21
+ }
22
+ ),
23
+ /* @__PURE__ */ jsx(
24
+ "path",
25
+ {
26
+ fill: "#34A853",
27
+ d: "M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"
28
+ }
29
+ ),
30
+ /* @__PURE__ */ jsx(
31
+ "path",
32
+ {
33
+ fill: "#FBBC05",
34
+ d: "M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"
35
+ }
36
+ ),
37
+ /* @__PURE__ */ jsx(
38
+ "path",
39
+ {
40
+ fill: "#EA4335",
41
+ d: "M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"
42
+ }
43
+ )
44
+ ] });
45
+ var BRANDS = [
46
+ {
47
+ id: "google",
48
+ name: "Google",
49
+ colors: ["#4285F4", "#EA4335", "#FBBC05", "#34A853"],
50
+ logo: GOOGLE
51
+ },
52
+ {
53
+ id: "facebook",
54
+ name: "Facebook",
55
+ colors: ["#0866FF", "#5aa0ff"],
56
+ logo: mono(
57
+ "M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z",
58
+ "#0866FF"
59
+ )
60
+ },
61
+ {
62
+ id: "spotify",
63
+ name: "Spotify",
64
+ colors: ["#1DB954", "#7be3a0"],
65
+ logo: mono(
66
+ "M12 0C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.66 0 12 0zm5.521 17.34c-.24.359-.66.48-1.021.24-2.82-1.74-6.36-2.101-10.561-1.141-.418.122-.779-.179-.899-.539-.12-.421.18-.78.54-.9 4.56-1.021 8.52-.6 11.64 1.32.42.18.479.659.301 1.02zm1.44-3.3c-.301.42-.841.6-1.262.3-3.239-1.98-8.159-2.58-11.939-1.38-.479.12-1.02-.12-1.14-.6-.12-.48.12-1.021.6-1.141C9.6 9.9 15 10.561 18.72 12.84c.361.181.54.78.241 1.2zm.12-3.36C15.24 8.4 8.82 8.16 5.16 9.301c-.6.179-1.2-.181-1.38-.721-.18-.601.18-1.2.72-1.381 4.26-1.26 11.28-1.02 15.721 1.621.539.3.719 1.02.419 1.56-.299.421-1.02.599-1.559.3z",
67
+ "#1DB954"
68
+ )
69
+ },
70
+ {
71
+ id: "slack",
72
+ name: "Slack",
73
+ colors: ["#E01E5A", "#36C5F0", "#2EB67D", "#ECB22E"],
74
+ logo: mono(
75
+ "M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zM6.313 15.165a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zM8.834 6.313a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zM18.956 8.834a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zM17.688 8.834a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zM15.165 18.956a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zM15.165 17.688a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z",
76
+ "#4A154B"
77
+ )
78
+ },
79
+ {
80
+ id: "github",
81
+ name: "GitHub",
82
+ colors: ["#181717", "#8b8b88"],
83
+ logo: mono(
84
+ "M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12",
85
+ "#181717"
86
+ )
87
+ },
88
+ {
89
+ id: "stripe",
90
+ name: "Stripe",
91
+ colors: ["#635BFF", "#a59fff"],
92
+ logo: mono(
93
+ "M13.976 9.15c-2.172-.806-3.356-1.426-3.356-2.409 0-.831.683-1.305 1.901-1.305 2.227 0 4.515.858 6.09 1.631l.89-5.494C18.252.975 15.697 0 12.165 0 9.667 0 7.589.654 6.104 1.872 4.56 3.147 3.757 4.992 3.757 7.218c0 4.039 2.467 5.76 6.476 7.219 2.585.92 3.445 1.574 3.445 2.583 0 .98-.84 1.545-2.354 1.545-1.875 0-4.965-.921-6.99-2.109l-.9 5.555C5.175 22.99 8.385 24 11.714 24c2.641 0 4.843-.624 6.328-1.813 1.664-1.305 2.525-3.236 2.525-5.732 0-4.128-2.524-5.851-6.594-7.305h.003z",
94
+ "#635BFF"
95
+ )
96
+ },
97
+ {
98
+ id: "youtube",
99
+ name: "YouTube",
100
+ colors: ["#FF0000", "#ff7a7a"],
101
+ logo: mono(
102
+ "M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z",
103
+ "#FF0000"
104
+ )
105
+ },
106
+ {
107
+ id: "apple",
108
+ name: "Apple",
109
+ colors: ["#242423", "#a1a19b"],
110
+ logo: mono(
111
+ "M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701",
112
+ "#242423"
113
+ )
114
+ }
115
+ ];
116
+ var pick = (ids) => ids.map((id) => BRANDS.find((b) => b.id === id));
117
+ var DEFAULT_BRANDS = pick([
118
+ "google",
119
+ "facebook",
120
+ "slack",
121
+ "github",
122
+ "stripe",
123
+ "spotify"
124
+ ]);
125
+ var W = 480;
126
+ var H = 300;
127
+ var HX = W / 2;
128
+ var HY = 160;
129
+ var HUB = 88;
130
+ var TILE = 52;
131
+ var INK = "#242423";
132
+ var GLIDE = [0.22, 1, 0.36, 1];
133
+ function spots(n) {
134
+ const side = Math.ceil(n / 2);
135
+ const gap = side > 3 ? 64 : 80;
136
+ return Array.from({ length: n }, (_, i) => {
137
+ const right = i >= side;
138
+ const k = right ? i - side : i;
139
+ const count = right ? n - side : side;
140
+ const x = right ? W - 66 : 66;
141
+ const y = HY + (k - (count - 1) / 2) * gap;
142
+ const sx = x + (right ? -1 : 1) * (TILE / 2 + 4);
143
+ const ex = HX + (right ? 1 : -1) * (HUB / 2 - 2);
144
+ const ey = HY + (y - HY) * 0.28;
145
+ const c1x = sx + (ex - sx) * 0.55;
146
+ const c2x = sx + (ex - sx) * 0.45;
147
+ const d = `M ${sx} ${y} C ${c1x} ${y}, ${c2x} ${ey}, ${ex} ${ey}`;
148
+ return { x, y, sx, sy: y, ex, ey, c1x, c1y: y, c2x, c2y: ey, d };
149
+ });
150
+ }
151
+ function at(l, t) {
152
+ const u = 1 - t;
153
+ const a = u * u * u;
154
+ const b = 3 * u * u * t;
155
+ const c = 3 * u * t * t;
156
+ const e = t * t * t;
157
+ return {
158
+ x: a * l.sx + b * l.c1x + c * l.c2x + e * l.ex,
159
+ y: a * l.sy + b * l.c1y + c * l.c2y + e * l.ey
160
+ };
161
+ }
162
+ function bent(l, ox, oy, t) {
163
+ const k = 2.2;
164
+ const a = (1 - t) * k;
165
+ const b = t * k;
166
+ return `M ${l.sx} ${l.sy} C ${l.c1x + ox * a} ${l.c1y + oy * a}, ${l.c2x + ox * b} ${l.c2y + oy * b}, ${l.ex} ${l.ey}`;
167
+ }
168
+ var REACH = 84;
169
+ var rgba = (hex, a) => {
170
+ const h = hex.replace("#", "");
171
+ const n = parseInt(h.length === 3 ? h.replace(/./g, "$&$&") : h, 16);
172
+ return `rgba(${n >> 16 & 255},${n >> 8 & 255},${n & 255},${a})`;
173
+ };
174
+ function BridgeMark() {
175
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 40 40", className: "size-8", "aria-hidden": true, children: [
176
+ /* @__PURE__ */ jsx("rect", { x: "6", y: "6", width: "18", height: "18", rx: "6", fill: INK }),
177
+ /* @__PURE__ */ jsx(
178
+ "rect",
179
+ {
180
+ x: "16",
181
+ y: "16",
182
+ width: "18",
183
+ height: "18",
184
+ rx: "6",
185
+ fill: "none",
186
+ stroke: INK,
187
+ strokeWidth: "3"
188
+ }
189
+ )
190
+ ] });
191
+ }
192
+ var BrandBridge = React.forwardRef(
193
+ function BrandBridge2({
194
+ brands = DEFAULT_BRANDS,
195
+ defaultConnected = [],
196
+ autoplay = true,
197
+ onToggle,
198
+ title = "All your tools, one hub",
199
+ description = "Connect the apps your team already uses and keep every account in sync. Tap a logo to link it, tap it again to let it go.",
200
+ hub,
201
+ particles = 48,
202
+ speed = 1,
203
+ className
204
+ }, ref) {
205
+ const still = !!useReducedMotion();
206
+ const uid = React.useId().replace(/:/g, "");
207
+ const root = React.useRef(null);
208
+ React.useImperativeHandle(ref, () => root.current);
209
+ const canvas = React.useRef(null);
210
+ const ring = React.useRef(null);
211
+ const comets = React.useRef([]);
212
+ const wires = React.useRef([]);
213
+ const previews = React.useRef([]);
214
+ const seen = useInView(root, { once: true, amount: 0.3 });
215
+ const visible = useInView(root, { amount: 0.05 });
216
+ const shown = seen || still;
217
+ const list = brands.slice(0, 8);
218
+ const lines = React.useMemo(() => spots(list.length), [list.length]);
219
+ const [on, setOn] = React.useState(
220
+ () => new Set(defaultConnected)
221
+ );
222
+ const [hover, setHover] = React.useState(null);
223
+ const [said, setSaid] = React.useState("");
224
+ const live = React.useRef({ on, hover, particles, speed });
225
+ live.current = { on, hover, particles, speed };
226
+ const pointer = React.useRef({ x: -999, y: -999 });
227
+ const field = React.useRef([]);
228
+ const [scale, setScale] = React.useState(1);
229
+ React.useLayoutEffect(() => {
230
+ const el = root.current;
231
+ const ro = new ResizeObserver(
232
+ () => setScale(Math.min(1, el.clientWidth / W))
233
+ );
234
+ ro.observe(el);
235
+ return () => ro.disconnect();
236
+ }, []);
237
+ const burst = React.useCallback(
238
+ (x, y, colors, n, toHub) => {
239
+ if (still) return;
240
+ for (let k = 0; k < n; k++) {
241
+ const dx = HX - x;
242
+ const dy = HY - y;
243
+ const d = Math.hypot(dx, dy) || 1;
244
+ const a = Math.random() * Math.PI * 2;
245
+ const sp = toHub ? 140 + Math.random() * 160 : 40 + Math.random() * 90;
246
+ field.current.push({
247
+ x,
248
+ y,
249
+ vx: toHub ? dx / d * sp + Math.cos(a) * 30 : Math.cos(a) * sp,
250
+ vy: toHub ? dy / d * sp + Math.sin(a) * 30 : Math.sin(a) * sp,
251
+ r: 1 + Math.random() * 1.6,
252
+ a: 0.9,
253
+ color: colors[k % colors.length],
254
+ life: 0,
255
+ max: 0.8 + Math.random() * 0.7
256
+ });
257
+ }
258
+ },
259
+ [still]
260
+ );
261
+ const pulseHub = React.useCallback(() => {
262
+ ring.current?.animate(
263
+ [
264
+ { transform: "scale(1)", opacity: 0.55 },
265
+ { transform: "scale(1.35)", opacity: 0 }
266
+ ],
267
+ { duration: 900, easing: "cubic-bezier(0.22, 1, 0.36, 1)" }
268
+ );
269
+ }, []);
270
+ const link = (i, connect, auto2 = false) => {
271
+ const b = list[i];
272
+ setOn((prev) => {
273
+ const next = new Set(prev);
274
+ if (connect) next.add(b.id);
275
+ else next.delete(b.id);
276
+ return next;
277
+ });
278
+ if (!auto2) {
279
+ setSaid(`${b.name} ${connect ? "connected" : "disconnected"}.`);
280
+ onToggle?.(b.id, connect);
281
+ }
282
+ const l = lines[i];
283
+ if (connect) {
284
+ burst(l.sx, l.sy, b.colors, 14, true);
285
+ window.setTimeout(pulseHub, still ? 0 : 600);
286
+ } else burst(l.sx, l.sy, [INK, "#a1a19b"], 10, false);
287
+ };
288
+ const linkRef = React.useRef(link);
289
+ linkRef.current = link;
290
+ const [auto, setAuto] = React.useState(autoplay && !still);
291
+ const [inside, setInside] = React.useState(false);
292
+ React.useEffect(() => setAuto(autoplay && !still), [autoplay, still]);
293
+ React.useEffect(() => {
294
+ if (!auto || !shown || !visible || inside) return;
295
+ let timer = 0;
296
+ const connect = () => {
297
+ const cur = live.current.on;
298
+ const left = list.flatMap((b, i) => cur.has(b.id) ? [] : [i]);
299
+ if (!left.length) {
300
+ setAuto(false);
301
+ return;
302
+ }
303
+ linkRef.current(
304
+ left[Math.floor(Math.random() * left.length)],
305
+ true,
306
+ true
307
+ );
308
+ timer = window.setTimeout(connect, 850 + Math.random() * 750);
309
+ };
310
+ timer = window.setTimeout(connect, seen ? 900 : 1200);
311
+ return () => window.clearTimeout(timer);
312
+ }, [auto, shown, visible, inside, list.length]);
313
+ React.useEffect(() => {
314
+ const el = canvas.current;
315
+ if (!el || !shown) return;
316
+ const ctx = el.getContext("2d");
317
+ const dpr = Math.min(2, window.devicePixelRatio || 1);
318
+ el.width = W * dpr;
319
+ el.height = H * dpr;
320
+ const seed = () => ({
321
+ x: Math.random() * W,
322
+ y: Math.random() * H,
323
+ vx: (Math.random() - 0.5) * 10,
324
+ vy: (Math.random() - 0.5) * 10,
325
+ r: 0.6 + Math.random() * 0.9,
326
+ a: 0.08 + Math.random() * 0.14
327
+ });
328
+ const ambient = () => field.current.filter((p) => p.life === void 0).length;
329
+ while (ambient() < live.current.particles) field.current.push(seed());
330
+ const draw = () => {
331
+ ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
332
+ ctx.clearRect(0, 0, W, H);
333
+ for (const p of field.current) {
334
+ const fade = p.life !== void 0 ? Math.max(0, 1 - p.life / (p.max ?? 1)) : 1;
335
+ ctx.fillStyle = p.color ? rgba(p.color, p.a * fade) : rgba(INK, p.a);
336
+ ctx.beginPath();
337
+ ctx.arc(
338
+ p.x,
339
+ p.y,
340
+ p.r * (p.color ? 0.6 + fade * 0.6 : 1),
341
+ 0,
342
+ Math.PI * 2
343
+ );
344
+ ctx.fill();
345
+ }
346
+ };
347
+ const n = lines.length;
348
+ const pace = lines.map((_, i) => 3.2 + i * 7 % 5 * 0.4);
349
+ const progress = lines.map((_, i) => -(i * 0.53 % 1) * 1.4);
350
+ const lengths = [];
351
+ const pull = lines.map(() => ({ ox: 0, oy: 0, vx: 0, vy: 0, t: 0.5 }));
352
+ let grabbed = null;
353
+ const magnet = (dt) => {
354
+ const ptr = pointer.current;
355
+ const { on: conn, hover: hv } = live.current;
356
+ let near = null;
357
+ let best = REACH;
358
+ for (let i = 0; i < n; i++) {
359
+ const l = lines[i];
360
+ const m = pull[i];
361
+ let tx = 0;
362
+ let ty = 0;
363
+ if (conn.has(list[i].id)) {
364
+ let bt = 0.5;
365
+ let bd = Infinity;
366
+ for (let s = 1; s < 24; s++) {
367
+ const q = at(l, s / 24);
368
+ const dd = Math.hypot(q.x - ptr.x, q.y - ptr.y);
369
+ if (dd < bd) {
370
+ bd = dd;
371
+ bt = s / 24;
372
+ }
373
+ }
374
+ if (bd < REACH) {
375
+ const q = at(l, bt);
376
+ const f = 0.95 * (1 - (bd / REACH) ** 2);
377
+ tx = (ptr.x - q.x) * f;
378
+ ty = (ptr.y - q.y) * f;
379
+ m.t += (bt - m.t) * Math.min(1, dt * 10);
380
+ if (bd < best) {
381
+ best = bd;
382
+ near = i;
383
+ }
384
+ }
385
+ }
386
+ m.vx += (tx - m.ox) * 260 * dt;
387
+ m.vy += (ty - m.oy) * 260 * dt;
388
+ m.vx *= Math.exp(-dt * 10);
389
+ m.vy *= Math.exp(-dt * 10);
390
+ m.ox += m.vx * dt;
391
+ m.oy += m.vy * dt;
392
+ if (Math.abs(m.ox) + Math.abs(m.oy) + Math.abs(m.vx) + Math.abs(m.vy) < 0.02) {
393
+ if (m.ox || m.oy) {
394
+ m.ox = m.oy = m.vx = m.vy = 0;
395
+ for (const el2 of [
396
+ wires.current[i],
397
+ previews.current[i],
398
+ comets.current[i]
399
+ ])
400
+ el2?.setAttribute("d", l.d);
401
+ lengths[i] = 0;
402
+ }
403
+ continue;
404
+ }
405
+ const d = bent(l, m.ox, m.oy, m.t);
406
+ for (const el2 of [
407
+ wires.current[i],
408
+ previews.current[i],
409
+ comets.current[i]
410
+ ])
411
+ el2?.setAttribute("d", d);
412
+ lengths[i] = 0;
413
+ }
414
+ if (near !== null && hv !== near && (hv === null || hv === grabbed)) {
415
+ grabbed = near;
416
+ setHover(near);
417
+ } else if (near === null && grabbed !== null) {
418
+ if (hv === grabbed) setHover(null);
419
+ grabbed = null;
420
+ }
421
+ };
422
+ const place = () => {
423
+ for (let i = 0; i < n; i++) {
424
+ const c = comets.current[i];
425
+ if (!c) continue;
426
+ if (!lengths[i]) lengths[i] = c.getTotalLength();
427
+ const len = lengths[i];
428
+ const seg = live.current.hover === i ? 70 : 46;
429
+ const u = Math.max(0, Math.min(1, progress[i]));
430
+ c.style.strokeDasharray = `${seg} ${len + seg}`;
431
+ c.style.strokeDashoffset = String(seg - u * (len + seg));
432
+ c.style.opacity = progress[i] < 0 || progress[i] > 1 ? "0" : "1";
433
+ }
434
+ };
435
+ if (still || !visible) {
436
+ draw();
437
+ place();
438
+ return;
439
+ }
440
+ let raf = 0;
441
+ let last = performance.now();
442
+ const frame = (now) => {
443
+ raf = requestAnimationFrame(frame);
444
+ if (document.hidden) return;
445
+ const dt = Math.min(0.05, (now - last) / 1e3);
446
+ last = now;
447
+ const {
448
+ on: conn,
449
+ hover: hv,
450
+ particles: want,
451
+ speed: sp
452
+ } = live.current;
453
+ magnet(dt);
454
+ for (let i = 0; i < n; i++) {
455
+ const b = list[i];
456
+ if (!b || !conn.has(b.id)) {
457
+ progress[i] = -0.4 - Math.random();
458
+ continue;
459
+ }
460
+ progress[i] += dt * sp * (hv === i ? 2 : 1) / pace[i];
461
+ if (progress[i] > 1.15) {
462
+ progress[i] = -1.2 - Math.random() * 1.6;
463
+ const l = lines[i];
464
+ burst(l.ex, l.ey, b.colors, 3, false);
465
+ pulseHub();
466
+ }
467
+ }
468
+ place();
469
+ let count = ambient();
470
+ while (count < want) {
471
+ field.current.push(seed());
472
+ count++;
473
+ }
474
+ if (count > want) {
475
+ let drop = count - want;
476
+ field.current = field.current.filter(
477
+ (p) => p.life !== void 0 || drop-- <= 0
478
+ );
479
+ }
480
+ const ptr = pointer.current;
481
+ field.current = field.current.filter((p) => {
482
+ if (p.life !== void 0) {
483
+ p.life += dt;
484
+ p.vx *= Math.exp(-dt * 1.4);
485
+ p.vy *= Math.exp(-dt * 1.4);
486
+ p.x += p.vx * dt;
487
+ p.y += p.vy * dt;
488
+ return p.life < (p.max ?? 1);
489
+ }
490
+ p.vx += (Math.random() - 0.5) * 18 * dt;
491
+ p.vy += (Math.random() - 0.5) * 18 * dt;
492
+ const hx = p.x - HX;
493
+ const hy = p.y - HY;
494
+ const hd = Math.hypot(hx, hy) || 1;
495
+ if (hd < 150) {
496
+ const k = (1 - hd / 150) * 26;
497
+ p.vx += -hy / hd * k * dt;
498
+ p.vy += hx / hd * k * dt;
499
+ }
500
+ const dx = p.x - ptr.x;
501
+ const dy = p.y - ptr.y;
502
+ const d = Math.hypot(dx, dy);
503
+ if (d < 90 && d > 0.1) {
504
+ const k = (1 - d / 90) ** 2 * 900;
505
+ p.vx += dx / d * k * dt;
506
+ p.vy += dy / d * k * dt;
507
+ }
508
+ p.vx *= Math.exp(-dt * 1.2);
509
+ p.vy *= Math.exp(-dt * 1.2);
510
+ p.x += p.vx * dt;
511
+ p.y += p.vy * dt;
512
+ if (p.x < -4) p.x = W + 4;
513
+ if (p.x > W + 4) p.x = -4;
514
+ if (p.y < -4) p.y = H + 4;
515
+ if (p.y > H + 4) p.y = -4;
516
+ return true;
517
+ });
518
+ draw();
519
+ };
520
+ raf = requestAnimationFrame(frame);
521
+ return () => cancelAnimationFrame(raf);
522
+ }, [shown, still, visible, lines, burst, pulseHub]);
523
+ const connected = list.filter((b) => on.has(b.id));
524
+ const ringColors = connected.flatMap((b) => b.colors.slice(0, 2));
525
+ const conic = ringColors.length ? `conic-gradient(from 0deg, ${[...ringColors, ringColors[0]].join(", ")})` : "conic-gradient(from 0deg, #e4e4e0, #c8c8c3, #e4e4e0)";
526
+ const lineAt = (i) => 0.55 + i * 0.07;
527
+ return /* @__PURE__ */ jsxs(
528
+ "div",
529
+ {
530
+ ref: root,
531
+ className: cn(
532
+ "relative mx-auto w-[480px] max-w-full overflow-hidden rounded-[32px] bg-white text-[#242423] shadow-[0_1px_2px_rgba(0,0,0,0.04),0_12px_32px_-16px_rgba(0,0,0,0.18)]",
533
+ className
534
+ ),
535
+ children: [
536
+ /* @__PURE__ */ jsx(
537
+ "div",
538
+ {
539
+ className: "relative overflow-hidden",
540
+ style: { height: H * scale },
541
+ onPointerMove: (e) => {
542
+ const r = e.currentTarget.getBoundingClientRect();
543
+ const k = r.width / W;
544
+ pointer.current = {
545
+ x: (e.clientX - r.left) / k,
546
+ y: (e.clientY - r.top) / k
547
+ };
548
+ },
549
+ onPointerEnter: () => setInside(true),
550
+ onPointerLeave: () => {
551
+ pointer.current = { x: -999, y: -999 };
552
+ setInside(false);
553
+ },
554
+ children: /* @__PURE__ */ jsxs(
555
+ "div",
556
+ {
557
+ className: "absolute left-0 top-0 origin-top-left",
558
+ style: { width: W, height: H, transform: `scale(${scale})` },
559
+ children: [
560
+ /* @__PURE__ */ jsx(
561
+ "canvas",
562
+ {
563
+ ref: canvas,
564
+ "aria-hidden": true,
565
+ className: "absolute inset-0 size-full",
566
+ style: {
567
+ maskImage: "linear-gradient(to bottom, black 65%, transparent)",
568
+ WebkitMaskImage: "linear-gradient(to bottom, black 65%, transparent)"
569
+ }
570
+ }
571
+ ),
572
+ /* @__PURE__ */ jsxs(
573
+ "svg",
574
+ {
575
+ viewBox: `0 0 ${W} ${H}`,
576
+ className: "pointer-events-none absolute inset-0 size-full",
577
+ "aria-hidden": true,
578
+ children: [
579
+ /* @__PURE__ */ jsxs("defs", { children: [
580
+ /* @__PURE__ */ jsxs(
581
+ "filter",
582
+ {
583
+ id: `${uid}-glow`,
584
+ x: "-20%",
585
+ y: "-50%",
586
+ width: "140%",
587
+ height: "200%",
588
+ children: [
589
+ /* @__PURE__ */ jsx("feGaussianBlur", { stdDeviation: "2.4", result: "b" }),
590
+ /* @__PURE__ */ jsxs("feMerge", { children: [
591
+ /* @__PURE__ */ jsx("feMergeNode", { in: "b" }),
592
+ /* @__PURE__ */ jsx("feMergeNode", { in: "SourceGraphic" })
593
+ ] })
594
+ ]
595
+ }
596
+ ),
597
+ lines.map((l, i) => {
598
+ const cs = list[i].colors;
599
+ return /* @__PURE__ */ jsxs(
600
+ "linearGradient",
601
+ {
602
+ id: `${uid}-g${i}`,
603
+ gradientUnits: "userSpaceOnUse",
604
+ x1: l.sx,
605
+ y1: l.sy,
606
+ x2: l.ex,
607
+ y2: l.ey,
608
+ children: [
609
+ cs.map((c, k) => /* @__PURE__ */ jsx(
610
+ "stop",
611
+ {
612
+ offset: k / Math.max(1, cs.length) * 0.8,
613
+ stopColor: c
614
+ },
615
+ k
616
+ )),
617
+ /* @__PURE__ */ jsx("stop", { offset: "1", stopColor: INK, stopOpacity: "0.5" })
618
+ ]
619
+ },
620
+ i
621
+ );
622
+ })
623
+ ] }),
624
+ lines.map((l, i) => {
625
+ const b = list[i];
626
+ const conn = on.has(b.id);
627
+ const lit = hover === i;
628
+ const dim = hover !== null && !lit;
629
+ return /* @__PURE__ */ jsxs("g", { children: [
630
+ /* @__PURE__ */ jsx(
631
+ motion.path,
632
+ {
633
+ ref: (el) => void (previews.current[i] = el),
634
+ d: l.d,
635
+ fill: "none",
636
+ stroke: INK,
637
+ strokeWidth: 1.25,
638
+ strokeDasharray: "3 6",
639
+ strokeLinecap: "round",
640
+ initial: false,
641
+ animate: {
642
+ pathLength: !conn && lit ? 1 : 0,
643
+ opacity: !conn && lit ? 0.35 : 0
644
+ },
645
+ transition: { duration: still ? 0 : 0.45, ease: GLIDE }
646
+ }
647
+ ),
648
+ /* @__PURE__ */ jsx(
649
+ motion.path,
650
+ {
651
+ ref: (el) => void (wires.current[i] = el),
652
+ d: l.d,
653
+ fill: "none",
654
+ stroke: `url(#${uid}-g${i})`,
655
+ strokeLinecap: "round",
656
+ initial: still ? false : { pathLength: 0, opacity: 0 },
657
+ animate: shown ? {
658
+ pathLength: conn ? 1 : 0,
659
+ opacity: conn ? dim ? 0.2 : lit ? 1 : 0.55 : 0,
660
+ strokeWidth: lit ? 3 : 2
661
+ } : void 0,
662
+ transition: {
663
+ pathLength: {
664
+ duration: still ? 0 : 0.8,
665
+ ease: [0.4, 0, 0.2, 1],
666
+ delay: seen && !still ? 0 : lineAt(i)
667
+ },
668
+ opacity: { duration: 0.3 },
669
+ strokeWidth: { duration: 0.2 }
670
+ }
671
+ }
672
+ ),
673
+ /* @__PURE__ */ jsx(
674
+ "path",
675
+ {
676
+ ref: (el) => void (comets.current[i] = el),
677
+ d: l.d,
678
+ fill: "none",
679
+ stroke: `url(#${uid}-g${i})`,
680
+ strokeWidth: lit ? 4 : 3,
681
+ strokeLinecap: "round",
682
+ filter: `url(#${uid}-glow)`,
683
+ style: { opacity: 0, strokeDasharray: "0 9999" }
684
+ }
685
+ )
686
+ ] }, b.id);
687
+ })
688
+ ]
689
+ }
690
+ ),
691
+ /* @__PURE__ */ jsxs(
692
+ motion.div,
693
+ {
694
+ className: "absolute",
695
+ style: {
696
+ left: HX - HUB / 2,
697
+ top: HY - HUB / 2,
698
+ width: HUB,
699
+ height: HUB
700
+ },
701
+ initial: still ? false : { scale: 0.6, opacity: 0, filter: "blur(6px)" },
702
+ animate: shown ? { scale: 1, opacity: 1, filter: "blur(0px)" } : void 0,
703
+ transition: {
704
+ type: "spring",
705
+ stiffness: 300,
706
+ damping: 16,
707
+ delay: still ? 0 : 0.15
708
+ },
709
+ children: [
710
+ /* @__PURE__ */ jsx(
711
+ "span",
712
+ {
713
+ ref: ring,
714
+ "aria-hidden": true,
715
+ className: "absolute inset-0 rounded-[28px] opacity-0",
716
+ style: { background: conic }
717
+ }
718
+ ),
719
+ /* @__PURE__ */ jsxs("div", { className: "relative size-full overflow-hidden rounded-[28px] p-[1.5px] shadow-[0_1px_2px_rgba(0,0,0,0.05),0_12px_28px_-16px_rgba(36,36,35,0.3)]", children: [
720
+ /* @__PURE__ */ jsx(
721
+ motion.span,
722
+ {
723
+ "aria-hidden": true,
724
+ className: "absolute -inset-1/2",
725
+ style: { background: conic },
726
+ animate: still ? void 0 : { rotate: 360 },
727
+ transition: { duration: 8, ease: "linear", repeat: Infinity }
728
+ }
729
+ ),
730
+ /* @__PURE__ */ jsx("div", { className: "relative grid size-full place-items-center rounded-[26.5px] bg-white", children: /* @__PURE__ */ jsx("div", { className: "grid size-[60px] place-items-center rounded-[18px] bg-[#242423]/[0.04]", children: hub ?? /* @__PURE__ */ jsx(BridgeMark, {}) }) })
731
+ ] })
732
+ ]
733
+ }
734
+ ),
735
+ list.map((b, i) => {
736
+ const l = lines[i];
737
+ const conn = on.has(b.id);
738
+ const lit = hover === i;
739
+ const right = i >= Math.ceil(list.length / 2);
740
+ return /* @__PURE__ */ jsx(
741
+ motion.button,
742
+ {
743
+ type: "button",
744
+ "aria-pressed": conn,
745
+ "aria-label": `${b.name}, ${conn ? "connected" : "not connected"}`,
746
+ onClick: () => {
747
+ setAuto(false);
748
+ link(i, !conn);
749
+ },
750
+ onPointerEnter: () => setHover(i),
751
+ onPointerLeave: () => setHover((h) => h === i ? null : h),
752
+ onFocus: () => setHover(i),
753
+ onBlur: () => setHover((h) => h === i ? null : h),
754
+ className: "group absolute grid cursor-pointer place-items-center rounded-[16px] bg-white outline-none ring-1 ring-black/5 focus-visible:ring-2 focus-visible:ring-[#242423]/40",
755
+ style: {
756
+ left: l.x - TILE / 2,
757
+ top: l.y - TILE / 2,
758
+ width: TILE,
759
+ height: TILE
760
+ },
761
+ initial: still ? false : {
762
+ opacity: 0,
763
+ scale: 0.5,
764
+ x: right ? -40 : 40,
765
+ filter: "blur(6px)"
766
+ },
767
+ animate: shown ? {
768
+ opacity: hover !== null && !lit ? 0.75 : conn ? 1 : 0.92,
769
+ scale: lit ? 1.08 : 1,
770
+ x: 0,
771
+ y: lit ? -3 : 0,
772
+ filter: "blur(0px)",
773
+ boxShadow: "0 1px 2px rgba(0,0,0,0.05), 0 10px 24px -18px rgba(0,0,0,0.25)"
774
+ } : void 0,
775
+ whileTap: still ? void 0 : { scale: 0.92 },
776
+ transition: {
777
+ type: "spring",
778
+ stiffness: 380,
779
+ damping: 22,
780
+ delay: seen && !still ? 0 : 0.25 + i % 4 * 0.07,
781
+ opacity: { duration: 0.25 }
782
+ },
783
+ children: /* @__PURE__ */ jsx(
784
+ motion.span,
785
+ {
786
+ className: "grid",
787
+ animate: {
788
+ filter: conn ? "grayscale(0)" : "grayscale(1)",
789
+ opacity: conn ? 1 : 0.55
790
+ },
791
+ transition: { duration: 0.35 },
792
+ children: /* @__PURE__ */ jsx("span", { className: "grid transition-transform duration-300 [transition-timing-function:cubic-bezier(0.34,1.56,0.64,1)] group-hover:scale-110 group-hover:-rotate-6", children: b.logo })
793
+ }
794
+ )
795
+ },
796
+ b.id
797
+ );
798
+ })
799
+ ]
800
+ }
801
+ )
802
+ }
803
+ ),
804
+ /* @__PURE__ */ jsxs("div", { className: "px-8 pb-8 pt-2 text-center", children: [
805
+ /* @__PURE__ */ jsx(
806
+ motion.h3,
807
+ {
808
+ initial: still ? false : { opacity: 0, y: 8, filter: "blur(4px)" },
809
+ animate: shown ? { opacity: 1, y: 0, filter: "blur(0px)" } : void 0,
810
+ transition: { duration: 0.5, ease: GLIDE, delay: still ? 0 : 0.35 },
811
+ className: "text-[20px] font-semibold tracking-tight",
812
+ children: title
813
+ }
814
+ ),
815
+ /* @__PURE__ */ jsx(
816
+ motion.p,
817
+ {
818
+ initial: still ? false : { opacity: 0, y: 8, filter: "blur(4px)" },
819
+ animate: shown ? { opacity: 1, y: 0, filter: "blur(0px)" } : void 0,
820
+ transition: { duration: 0.5, ease: GLIDE, delay: still ? 0 : 0.43 },
821
+ className: "mx-auto mt-2 max-w-[340px] text-pretty text-[14px] leading-relaxed text-zinc-600",
822
+ children: description
823
+ }
824
+ )
825
+ ] }),
826
+ /* @__PURE__ */ jsx("span", { role: "status", "aria-live": "polite", className: "sr-only", children: said })
827
+ ]
828
+ }
829
+ );
830
+ }
831
+ );
832
+
833
+ export {
834
+ BRANDS,
835
+ DEFAULT_BRANDS,
836
+ BrandBridge
837
+ };