six-degrees 0.4.2 → 0.4.4

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 (282) hide show
  1. package/.next/standalone/.next/BUILD_ID +1 -1
  2. package/.next/standalone/.next/app-path-routes-manifest.json +3 -1
  3. package/.next/standalone/.next/build-manifest.json +3 -3
  4. package/.next/standalone/.next/prerender-manifest.json +41 -13
  5. package/.next/standalone/.next/routes-manifest.json +12 -0
  6. package/.next/standalone/.next/server/app/_global-error.html +1 -1
  7. package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
  8. package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  9. package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  10. package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  11. package/.next/standalone/.next/server/app/_not-found/page.js +1 -1
  12. package/.next/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
  13. package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  14. package/.next/standalone/.next/server/app/_not-found.html +1 -1
  15. package/.next/standalone/.next/server/app/_not-found.rsc +19 -17
  16. package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +19 -17
  17. package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +15 -13
  18. package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  19. package/.next/standalone/.next/server/app/api/admin-delete/route.js.nft.json +1 -1
  20. package/.next/standalone/.next/server/app/api/admin-update/route.js.nft.json +1 -1
  21. package/.next/standalone/.next/server/app/api/bridges/route.js.nft.json +1 -1
  22. package/.next/standalone/.next/server/app/api/bulk-import/route.js.nft.json +1 -1
  23. package/.next/standalone/.next/server/app/api/company-scores/legacy/route.js.nft.json +1 -1
  24. package/.next/standalone/.next/server/app/api/company-scores/route.js.nft.json +1 -1
  25. package/.next/standalone/.next/server/app/api/connections/route.js.nft.json +1 -1
  26. package/.next/standalone/.next/server/app/api/data/export/route.js.nft.json +1 -1
  27. package/.next/standalone/.next/server/app/api/data/import/route.js.nft.json +1 -1
  28. package/.next/standalone/.next/server/app/api/data/restart/route.js.nft.json +1 -1
  29. package/.next/standalone/.next/server/app/api/data/reveal/route.js.nft.json +1 -1
  30. package/.next/standalone/.next/server/app/api/data/route.js.nft.json +1 -1
  31. package/.next/standalone/.next/server/app/api/delete-cluster/route.js.nft.json +1 -1
  32. package/.next/standalone/.next/server/app/api/ingest/route.js.nft.json +1 -1
  33. package/.next/standalone/.next/server/app/api/network/route.js.nft.json +1 -1
  34. package/.next/standalone/.next/server/app/api/notifications/route.js.nft.json +1 -1
  35. package/.next/standalone/.next/server/app/api/outreach/route.js.nft.json +1 -1
  36. package/.next/standalone/.next/server/app/api/queue/route.js.nft.json +1 -1
  37. package/.next/standalone/.next/server/app/api/scraper/route.js +1 -1
  38. package/.next/standalone/.next/server/app/api/scraper/route.js.nft.json +1 -1
  39. package/.next/standalone/.next/server/app/api/settings/route.js.nft.json +1 -1
  40. package/.next/standalone/.next/server/app/api/settings/sector-preview/route.js.nft.json +1 -1
  41. package/.next/standalone/.next/server/app/api/settings/sector-suggestions/route.js.nft.json +1 -1
  42. package/.next/standalone/.next/server/app/api/setup-profile/route.js.nft.json +1 -1
  43. package/.next/standalone/.next/server/app/api/social/route/app-paths-manifest.json +3 -0
  44. package/.next/standalone/.next/server/app/api/social/route/build-manifest.json +12 -0
  45. package/.next/standalone/.next/server/app/api/social/route/server-reference-manifest.json +4 -0
  46. package/.next/standalone/.next/server/app/api/social/route.js +8 -0
  47. package/.next/standalone/.next/server/app/api/social/route.js.map +5 -0
  48. package/.next/standalone/.next/server/app/api/social/route.js.nft.json +1 -0
  49. package/.next/standalone/.next/server/app/api/social/route_client-reference-manifest.js +3 -0
  50. package/.next/standalone/.next/server/app/api/unlock/route.js.nft.json +1 -1
  51. package/.next/standalone/.next/server/app/api/update/route.js.nft.json +1 -1
  52. package/.next/standalone/.next/server/app/api/update-images/route.js.nft.json +1 -1
  53. package/.next/standalone/.next/server/app/api/users/route.js.nft.json +1 -1
  54. package/.next/standalone/.next/server/app/avatars/[file]/route.js.nft.json +1 -1
  55. package/.next/standalone/.next/server/app/import/page.js +1 -1
  56. package/.next/standalone/.next/server/app/import/page.js.nft.json +1 -1
  57. package/.next/standalone/.next/server/app/import/page_client-reference-manifest.js +1 -1
  58. package/.next/standalone/.next/server/app/import.html +1 -1
  59. package/.next/standalone/.next/server/app/import.rsc +23 -21
  60. package/.next/standalone/.next/server/app/import.segments/_full.segment.rsc +23 -21
  61. package/.next/standalone/.next/server/app/import.segments/_tree.segment.rsc +2 -2
  62. package/.next/standalone/.next/server/app/import.segments/import/__PAGE__.segment.rsc +17 -15
  63. package/.next/standalone/.next/server/app/index.html +1 -1
  64. package/.next/standalone/.next/server/app/index.rsc +21 -19
  65. package/.next/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +17 -15
  66. package/.next/standalone/.next/server/app/index.segments/_full.segment.rsc +21 -19
  67. package/.next/standalone/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  68. package/.next/standalone/.next/server/app/launch/page.js +1 -1
  69. package/.next/standalone/.next/server/app/launch/page.js.nft.json +1 -1
  70. package/.next/standalone/.next/server/app/launch/page_client-reference-manifest.js +1 -1
  71. package/.next/standalone/.next/server/app/launch.html +2 -2
  72. package/.next/standalone/.next/server/app/launch.rsc +23 -21
  73. package/.next/standalone/.next/server/app/launch.segments/_full.segment.rsc +23 -21
  74. package/.next/standalone/.next/server/app/launch.segments/_tree.segment.rsc +2 -2
  75. package/.next/standalone/.next/server/app/launch.segments/launch/__PAGE__.segment.rsc +17 -15
  76. package/.next/standalone/.next/server/app/page.js +1 -1
  77. package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
  78. package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  79. package/.next/standalone/.next/server/app/paths/page.js +1 -1
  80. package/.next/standalone/.next/server/app/paths/page.js.nft.json +1 -1
  81. package/.next/standalone/.next/server/app/paths/page_client-reference-manifest.js +1 -1
  82. package/.next/standalone/.next/server/app/paths.html +1 -1
  83. package/.next/standalone/.next/server/app/paths.rsc +23 -21
  84. package/.next/standalone/.next/server/app/paths.segments/_full.segment.rsc +23 -21
  85. package/.next/standalone/.next/server/app/paths.segments/_tree.segment.rsc +2 -2
  86. package/.next/standalone/.next/server/app/paths.segments/paths/__PAGE__.segment.rsc +17 -15
  87. package/.next/standalone/.next/server/app/profile/page.js +1 -1
  88. package/.next/standalone/.next/server/app/profile/page.js.nft.json +1 -1
  89. package/.next/standalone/.next/server/app/profile/page_client-reference-manifest.js +1 -1
  90. package/.next/standalone/.next/server/app/profile.html +1 -1
  91. package/.next/standalone/.next/server/app/profile.rsc +23 -21
  92. package/.next/standalone/.next/server/app/profile.segments/_full.segment.rsc +23 -21
  93. package/.next/standalone/.next/server/app/profile.segments/_tree.segment.rsc +2 -2
  94. package/.next/standalone/.next/server/app/profile.segments/profile/__PAGE__.segment.rsc +17 -15
  95. package/.next/standalone/.next/server/app/queue/page.js +1 -1
  96. package/.next/standalone/.next/server/app/queue/page.js.nft.json +1 -1
  97. package/.next/standalone/.next/server/app/queue/page_client-reference-manifest.js +1 -1
  98. package/.next/standalone/.next/server/app/queue.html +1 -1
  99. package/.next/standalone/.next/server/app/queue.rsc +23 -21
  100. package/.next/standalone/.next/server/app/queue.segments/_full.segment.rsc +23 -21
  101. package/.next/standalone/.next/server/app/queue.segments/_tree.segment.rsc +2 -2
  102. package/.next/standalone/.next/server/app/queue.segments/queue/__PAGE__.segment.rsc +17 -15
  103. package/.next/standalone/.next/server/app/scores/page.js +1 -1
  104. package/.next/standalone/.next/server/app/scores/page.js.nft.json +1 -1
  105. package/.next/standalone/.next/server/app/scores/page_client-reference-manifest.js +1 -1
  106. package/.next/standalone/.next/server/app/scores.html +1 -1
  107. package/.next/standalone/.next/server/app/scores.rsc +23 -21
  108. package/.next/standalone/.next/server/app/scores.segments/_full.segment.rsc +23 -21
  109. package/.next/standalone/.next/server/app/scores.segments/_tree.segment.rsc +2 -2
  110. package/.next/standalone/.next/server/app/scores.segments/scores/__PAGE__.segment.rsc +17 -15
  111. package/.next/standalone/.next/server/app/settings/page.js +1 -1
  112. package/.next/standalone/.next/server/app/settings/page.js.nft.json +1 -1
  113. package/.next/standalone/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  114. package/.next/standalone/.next/server/app/settings.html +1 -1
  115. package/.next/standalone/.next/server/app/settings.rsc +23 -21
  116. package/.next/standalone/.next/server/app/settings.segments/_full.segment.rsc +23 -21
  117. package/.next/standalone/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
  118. package/.next/standalone/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +17 -15
  119. package/.next/standalone/.next/server/app/setup/page.js +1 -1
  120. package/.next/standalone/.next/server/app/setup/page.js.nft.json +1 -1
  121. package/.next/standalone/.next/server/app/setup/page_client-reference-manifest.js +1 -1
  122. package/.next/standalone/.next/server/app/setup.html +1 -1
  123. package/.next/standalone/.next/server/app/setup.rsc +23 -21
  124. package/.next/standalone/.next/server/app/setup.segments/_full.segment.rsc +23 -21
  125. package/.next/standalone/.next/server/app/setup.segments/_tree.segment.rsc +2 -2
  126. package/.next/standalone/.next/server/app/setup.segments/setup/__PAGE__.segment.rsc +17 -15
  127. package/.next/standalone/.next/server/app/social/page/app-paths-manifest.json +3 -0
  128. package/.next/standalone/.next/server/app/social/page/build-manifest.json +20 -0
  129. package/.next/standalone/.next/server/app/social/page/next-font-manifest.json +11 -0
  130. package/.next/standalone/.next/server/app/social/page/react-loadable-manifest.json +1 -0
  131. package/.next/standalone/.next/server/app/social/page/server-reference-manifest.json +4 -0
  132. package/.next/standalone/.next/server/app/social/page.js +13 -0
  133. package/.next/standalone/.next/server/app/social/page.js.map +5 -0
  134. package/.next/standalone/.next/server/app/social/page.js.nft.json +1 -0
  135. package/.next/standalone/.next/server/app/social/page_client-reference-manifest.js +3 -0
  136. package/.next/standalone/.next/server/app/social.html +1 -0
  137. package/.next/standalone/.next/server/app/social.meta +26 -0
  138. package/.next/standalone/.next/server/app/social.rsc +26 -0
  139. package/.next/standalone/.next/server/app/social.segments/_full.segment.rsc +26 -0
  140. package/.next/standalone/.next/server/app/social.segments/_tree.segment.rsc +4 -0
  141. package/.next/standalone/.next/server/app/social.segments/social/__PAGE__.segment.rsc +30 -0
  142. package/.next/standalone/.next/server/app-paths-manifest.json +3 -1
  143. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0ljnyho._.js +1 -1
  144. package/.next/standalone/.next/server/chunks/[root-of-the-server]__17kn1mk._.js +8 -0
  145. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0uag-k5._.js → [root-of-the-server]__1dmc7-t._.js} +1 -1
  146. package/.next/standalone/.next/server/chunks/_1_fynia._.js +5 -5
  147. package/.next/standalone/.next/server/chunks/_1itd1o_._.js +1 -1
  148. package/.next/standalone/.next/server/chunks/_1xh07bp._.js +3 -0
  149. package/.next/standalone/.next/server/chunks/_next-internal_server_app_api_social_route_actions_1_3c6qn.js +3 -0
  150. package/.next/standalone/.next/server/chunks/lib_db-client_15le7cw.js +1 -1
  151. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__16hs8kw._.js +3 -0
  152. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1feicqq._.js +3 -0
  153. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1jeztd-._.js +3 -0
  154. package/.next/standalone/.next/server/chunks/ssr/_005q9n1._.js +3 -0
  155. package/.next/standalone/.next/server/chunks/ssr/_08_03wh._.js +3 -0
  156. package/.next/standalone/.next/server/chunks/ssr/_08cfj2b._.js +3 -0
  157. package/.next/standalone/.next/server/chunks/ssr/_0j4-lc3._.js +3 -0
  158. package/.next/standalone/.next/server/chunks/ssr/{_0hw_qnj._.js → _0wxbq78._.js} +1 -1
  159. package/.next/standalone/.next/server/chunks/ssr/_0xkur4p._.js +3 -0
  160. package/.next/standalone/.next/server/chunks/ssr/_15x6q32._.js +3 -0
  161. package/.next/standalone/.next/server/chunks/ssr/{_1cyxocj._.js → _1ap1tu_._.js} +2 -2
  162. package/.next/standalone/.next/server/chunks/ssr/_1mj739k._.js +3 -0
  163. package/.next/standalone/.next/server/chunks/ssr/_next-internal_server_app_social_page_actions_176i1kl.js +3 -0
  164. package/.next/standalone/.next/server/chunks/ssr/app_page_1fazqbf.js +3 -3
  165. package/.next/standalone/.next/server/chunks/ssr/app_scores_page_09wepvv.js +1 -1
  166. package/.next/standalone/.next/server/chunks/ssr/app_setup_page_1-282zx.js +1 -1
  167. package/.next/standalone/.next/server/chunks/ssr/app_social_page_0h7zxda.js +3 -0
  168. package/.next/standalone/.next/server/chunks/ssr/lib_0i8v-s3._.js +3 -0
  169. package/.next/standalone/.next/server/middleware-build-manifest.js +3 -3
  170. package/.next/standalone/.next/server/middleware-manifest.json +5 -5
  171. package/.next/standalone/.next/server/next-font-manifest.js +1 -1
  172. package/.next/standalone/.next/server/next-font-manifest.json +4 -0
  173. package/.next/standalone/.next/server/pages/404.html +1 -1
  174. package/.next/standalone/.next/server/pages/500.html +1 -1
  175. package/.next/standalone/.next/server/prefetch-hints.json +14 -0
  176. package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
  177. package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
  178. package/.next/standalone/.next/static/chunks/04a3zockahetx.js +1 -0
  179. package/.next/standalone/.next/static/chunks/0a5iadnmt9u9k.js +1 -0
  180. package/.next/standalone/.next/static/chunks/{2p6o90z0vgcwr.css → 0bo1dxn5gwzpk.css} +1 -1
  181. package/.next/standalone/.next/static/chunks/0g_p4p7oci18u.js +1 -0
  182. package/.next/standalone/.next/static/chunks/{0ax_9zzboyv6d.js → 17-rhp8sg4m1b.js} +2 -2
  183. package/.next/standalone/.next/static/chunks/1ra4cwcp75tfa.js +1 -0
  184. package/.next/standalone/.next/static/chunks/236f0jtp68j_h.js +1 -0
  185. package/.next/standalone/.next/static/chunks/24m745q_85u34.js +6 -0
  186. package/.next/standalone/.next/static/chunks/2_wcobfqry2uj.js +1 -0
  187. package/.next/standalone/.next/static/chunks/2dwtoszeq91us.js +1 -0
  188. package/.next/standalone/.next/static/chunks/2hvcevue9aro4.js +1 -0
  189. package/.next/standalone/.next/static/chunks/2uo9i03_05rqi.js +18 -0
  190. package/.next/standalone/.next/static/chunks/3p_pwu5gx2i9h.js +1 -0
  191. package/.next/standalone/.next/static/chunks/3yc3rzp4dxvyo.js +1 -0
  192. package/.next/standalone/.next/static/chunks/3zw8bv7-mc4n6.js +33 -0
  193. package/.next/standalone/CHANGELOG.md +63 -0
  194. package/.next/standalone/app/api/network/route.js +11 -0
  195. package/.next/standalone/app/api/scraper/route.js +19 -0
  196. package/.next/standalone/app/api/social/route.js +96 -0
  197. package/.next/standalone/app/components/AutoScanButton.js +41 -0
  198. package/.next/standalone/app/components/ChainView.js +7 -0
  199. package/.next/standalone/app/components/FilterPanel.js +37 -5
  200. package/.next/standalone/app/components/OrbitGraph.js +17 -4
  201. package/.next/standalone/app/components/ScanStatusBar.js +96 -0
  202. package/.next/standalone/app/components/SeparationView.js +9 -1
  203. package/.next/standalone/app/components/Sidebar.js +88 -26
  204. package/.next/standalone/app/components/SocialAutoSync.js +34 -0
  205. package/.next/standalone/app/components/settings/NetworkHealthSection.js +85 -0
  206. package/.next/standalone/app/globals.css +4 -0
  207. package/.next/standalone/app/layout.js +6 -0
  208. package/.next/standalone/app/page.js +37 -4
  209. package/.next/standalone/app/scores/page.js +3 -0
  210. package/.next/standalone/app/setup/page.js +13 -1
  211. package/.next/standalone/app/social/page.js +293 -0
  212. package/.next/standalone/lib/experimental-client.js +38 -0
  213. package/.next/standalone/lib/insights.js +54 -0
  214. package/.next/standalone/lib/linkedin-export.js +156 -0
  215. package/.next/standalone/lib/network-health.js +42 -0
  216. package/.next/standalone/lib/network.js +1 -0
  217. package/.next/standalone/lib/scraper-client.js +1 -0
  218. package/.next/standalone/package-lock.json +2 -2
  219. package/.next/standalone/package.json +1 -1
  220. package/.next/standalone/scripts/scrape.py +335 -5
  221. package/.next/static/chunks/04a3zockahetx.js +1 -0
  222. package/.next/static/chunks/0a5iadnmt9u9k.js +1 -0
  223. package/.next/static/chunks/{2p6o90z0vgcwr.css → 0bo1dxn5gwzpk.css} +1 -1
  224. package/.next/static/chunks/0g_p4p7oci18u.js +1 -0
  225. package/.next/static/chunks/{0ax_9zzboyv6d.js → 17-rhp8sg4m1b.js} +2 -2
  226. package/.next/static/chunks/1ra4cwcp75tfa.js +1 -0
  227. package/.next/static/chunks/236f0jtp68j_h.js +1 -0
  228. package/.next/static/chunks/24m745q_85u34.js +6 -0
  229. package/.next/static/chunks/2_wcobfqry2uj.js +1 -0
  230. package/.next/static/chunks/2dwtoszeq91us.js +1 -0
  231. package/.next/static/chunks/2hvcevue9aro4.js +1 -0
  232. package/.next/static/chunks/2uo9i03_05rqi.js +18 -0
  233. package/.next/static/chunks/3p_pwu5gx2i9h.js +1 -0
  234. package/.next/static/chunks/3yc3rzp4dxvyo.js +1 -0
  235. package/.next/static/chunks/3zw8bv7-mc4n6.js +33 -0
  236. package/CHANGELOG.md +63 -0
  237. package/lib/experimental-client.js +38 -0
  238. package/lib/insights.js +54 -0
  239. package/lib/linkedin-export.js +156 -0
  240. package/lib/network-health.js +42 -0
  241. package/lib/network.js +1 -0
  242. package/lib/scraper-client.js +1 -0
  243. package/package.json +1 -1
  244. package/scripts/scrape.py +335 -5
  245. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0h1_f_2._.js +0 -3
  246. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__19ip1qq._.js +0 -3
  247. package/.next/standalone/.next/server/chunks/ssr/_06w_gl4._.js +0 -3
  248. package/.next/standalone/.next/server/chunks/ssr/_13kzrwv._.js +0 -3
  249. package/.next/standalone/.next/server/chunks/ssr/_15xuwkv._.js +0 -3
  250. package/.next/standalone/.next/server/chunks/ssr/_1hgd5dp._.js +0 -3
  251. package/.next/standalone/.next/server/chunks/ssr/_1vpfyd-._.js +0 -3
  252. package/.next/standalone/.next/server/chunks/ssr/_20w06i-._.js +0 -3
  253. package/.next/standalone/.next/server/chunks/ssr/lib_1bn38gs._.js +0 -3
  254. package/.next/standalone/.next/server/chunks/ssr/node_modules_1f8t_rp._.js +0 -23
  255. package/.next/standalone/.next/static/chunks/049vavjsmqgmn.js +0 -33
  256. package/.next/standalone/.next/static/chunks/0cuuo2jwc9h94.js +0 -1
  257. package/.next/standalone/.next/static/chunks/0ljxa-wk_iu__.js +0 -18
  258. package/.next/standalone/.next/static/chunks/0mp9b72fm-jp6.js +0 -6
  259. package/.next/standalone/.next/static/chunks/1pre1cotntk6-.js +0 -1
  260. package/.next/standalone/.next/static/chunks/22x2_r768-u5i.js +0 -1
  261. package/.next/standalone/.next/static/chunks/28bu26ausqzmn.js +0 -1
  262. package/.next/standalone/.next/static/chunks/2jz311xl1pp_8.js +0 -1
  263. package/.next/standalone/.next/static/chunks/2ot61qsv6_0eq.js +0 -1
  264. package/.next/standalone/.next/static/chunks/2xjho0lroiwlq.js +0 -1
  265. package/.next/standalone/.next/static/chunks/3zs_6-nn0dapb.js +0 -1
  266. package/.next/static/chunks/049vavjsmqgmn.js +0 -33
  267. package/.next/static/chunks/0cuuo2jwc9h94.js +0 -1
  268. package/.next/static/chunks/0ljxa-wk_iu__.js +0 -18
  269. package/.next/static/chunks/0mp9b72fm-jp6.js +0 -6
  270. package/.next/static/chunks/1pre1cotntk6-.js +0 -1
  271. package/.next/static/chunks/22x2_r768-u5i.js +0 -1
  272. package/.next/static/chunks/28bu26ausqzmn.js +0 -1
  273. package/.next/static/chunks/2jz311xl1pp_8.js +0 -1
  274. package/.next/static/chunks/2ot61qsv6_0eq.js +0 -1
  275. package/.next/static/chunks/2xjho0lroiwlq.js +0 -1
  276. package/.next/static/chunks/3zs_6-nn0dapb.js +0 -1
  277. /package/.next/standalone/.next/static/{wGVrXBkFLmEB4snfhtOcO → VE8LeJXfD2H0_OgJxuJcm}/_buildManifest.js +0 -0
  278. /package/.next/standalone/.next/static/{wGVrXBkFLmEB4snfhtOcO → VE8LeJXfD2H0_OgJxuJcm}/_clientMiddlewareManifest.js +0 -0
  279. /package/.next/standalone/.next/static/{wGVrXBkFLmEB4snfhtOcO → VE8LeJXfD2H0_OgJxuJcm}/_ssgManifest.js +0 -0
  280. /package/.next/static/{wGVrXBkFLmEB4snfhtOcO → VE8LeJXfD2H0_OgJxuJcm}/_buildManifest.js +0 -0
  281. /package/.next/static/{wGVrXBkFLmEB4snfhtOcO → VE8LeJXfD2H0_OgJxuJcm}/_clientMiddlewareManifest.js +0 -0
  282. /package/.next/static/{wGVrXBkFLmEB4snfhtOcO → VE8LeJXfD2H0_OgJxuJcm}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,2776,e=>{"use strict";var t=e.i(43476),n=e.i(15812);e.s(["default",0,function({children:e}){let{userId:r,ready:i}=(0,n.useUser)();return i&&r?e:(0,t.jsx)("div",{style:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",background:"#0a0a1a",color:"#fff",padding:24,textAlign:"center",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'},children:i?(0,t.jsxs)("div",{style:{maxWidth:420},children:[(0,t.jsx)("div",{style:{fontSize:18,fontWeight:700,marginBottom:8},children:"Can’t reach Six Degrees’ local server"}),(0,t.jsx)("div",{style:{color:"#888",fontSize:14,lineHeight:1.6},children:"The page loaded but the app behind it is not answering. If you started it from a terminal, check that window for an error, then reload this page."})]}):(0,t.jsx)("div",{style:{fontSize:18,fontWeight:600},children:"Loading…"})})}])},8819,e=>{"use strict";var t=e.i(43476);let n="1px solid rgba(255,255,255,0.1)";function r({children:e,style:n}){return(0,t.jsx)("div",{style:{fontSize:13.5,color:"#8b9a9a",lineHeight:1.6,marginTop:4,...n},children:e})}e.s(["Body",0,r,"Btn",0,function({children:e,onClick:r,disabled:i,primary:o,tone:a,type:l="button"}){return(0,t.jsx)("button",{type:l,onClick:r,disabled:i,style:{padding:"9px 18px",borderRadius:7,fontSize:13.5,fontWeight:650,color:i?"#667":"#fff",border:n,background:i?"rgba(255,255,255,0.05)":"bad"===a?"rgba(255,80,80,0.15)":o?"linear-gradient(135deg, #9B59B6, #3498DB)":"rgba(255,255,255,0.08)",cursor:i?"not-allowed":"pointer"},children:e})},"FONT",0,'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',"LINE",0,n,"Mono",0,function({children:e}){return(0,t.jsx)("code",{style:{background:"rgba(255,255,255,0.08)",padding:"1px 5px",borderRadius:4,wordBreak:"break-all"},children:e})},"Section",0,function({id:e,title:i,intro:o,children:a}){return(0,t.jsxs)("section",{id:e,style:{padding:"24px 0",borderBottom:n,scrollMarginTop:16},children:[(0,t.jsx)("h2",{style:{fontSize:16,fontWeight:650,margin:"0 0 6px"},children:i}),o&&(0,t.jsx)(r,{style:{marginTop:0,marginBottom:12},children:o}),a]})},"Status",0,function({children:e,tone:n}){return(0,t.jsxs)("div",{role:"status",style:{marginTop:10,padding:"10px 14px",borderRadius:8,fontSize:13.5,lineHeight:1.6,color:"ok"===n?"#00ff88":"bad"===n?"#ff7676":"#e8e8ee",background:"ok"===n?"rgba(0,255,136,0.08)":"bad"===n?"rgba(255,80,80,0.08)":"rgba(255,255,255,0.05)",border:`1px solid ${"ok"===n?"rgba(0,255,136,0.3)":"bad"===n?"rgba(255,80,80,0.3)":"rgba(255,255,255,0.12)"}`},children:["ok"===n&&"✓ ",e]})}])},89154,e=>{"use strict";var t=e.i(90179);function n(e){let n=(0,t.readTitle)(e);return{key:n.key,label:n.label,level:n.level}}function r(e){return(0,t.currentCompany)(e)}let i=[{key:"defense",label:"Government, Defense & Aerospace",color:"#7f8c8d",words:/\b(government|federal|state of|county|city of|defen[cs]e|army|navy|air force|marine corps|military|dod|nasa|aerospace|lockheed|northrop|boeing|raytheon|l3harris|leidos|blue origin|spacex|public sector)\b/i},{key:"finance",label:"Finance & Investing",color:"#2ecc71",words:/\b(bank|banking|capital|ventures?|vc|investments?|investor|fund|private equity|growth equity|asset management|wealth|trading|trader|hedge|crypto|blockchain|web3|defi|fintech|stripe|coinbase|blackrock|robinhood|goldman|morgan stanley|jpmorgan|chase|bny|mellon|wells fargo|citi|citigroup|capital one|fidelity|vanguard|schwab|visa|mastercard|amex|american express|paypal|insurance|accounting|cpa|financial)\b/i},{key:"health",label:"Healthcare & Biotech",color:"#e74c3c",words:/\b(health|healthcare|medical|medicine|hospital|clinic|pharma|pharmaceutical|biotech|nurse|nursing|physician|doctor|dental|therapy|therapist|wellness)\b/i},{key:"education",label:"Education",color:"#f1c40f",words:/\b(university|college|school|education|student|professor|teacher|academy|phd|faculty|alumni)\b/i},{key:"media",label:"Marketing & Media",color:"#e67e22",words:/\b(marketing|brand|branding|advertising|agency|media|content|social media|creative|creator|influencer|pr|public relations|communications|tiktok|pinterest|youtube|growth marketing)\b/i},{key:"entertainment",label:"Entertainment & Gaming",color:"#9b59b6",words:/\b(entertainment|film|movie|music|records|gaming|games?|esports|studio|studios|netflix|disney|spotify|hollywood|theater|theatre|sports)\b/i},{key:"tech",label:"Tech, Software & AI",color:"#3498db",words:/\b(software|saas|engineer|engineering|developer|tech|technology|technologies|ai|artificial intelligence|machine learning|ml|data|cloud|cyber|security|devops|product manager|google|microsoft|apple|meta|amazon|nvidia|openai|anthropic|palantir|salesforce|oracle|ibm|intel|app|apps|startup|platform|labs?)\b/i},{key:"consulting",label:"Consulting, Legal & Services",color:"#1abc9c",words:/\b(consulting|consultant|consultancy|deloitte|accenture|mckinsey|kpmg|pwc|ey|bain|bcg|legal|law|lawyer|attorney|paralegal|recruiting|recruiter|staffing|talent)\b/i},{key:"realestate",label:"Real Estate & Construction",color:"#d35400",words:/\b(real estate|realtor|realty|property|properties|construction|architecture|architect|mortgage|homes|housing|builders?)\b/i},{key:"consumer",label:"Retail, Consumer & Hospitality",color:"#ff79c6",words:/\b(retail|e-?commerce|shopify|consumer|cpg|fashion|apparel|beauty|cosmetics|food|beverage|restaurant|hospitality|hotel|travel|tourism|coca-cola|nike|store|shop)\b/i},{key:"industry",label:"Manufacturing, Energy & Logistics",color:"#95a5a6",words:/\b(manufacturing|energy|oil|gas|solar|utilities|automotive|tesla|siemens|ge|general electric|honeywell|3m|logistics|supply chain|shipping|freight|fedex|ups|industrial|mining|chemicals?)\b/i},{key:"nonprofit",label:"Nonprofit & Community",color:"#bdc3c7",words:/\b(nonprofit|non-profit|foundation|charity|ngo|church|ministry|volunteer)\b/i}],o={key:"unknown",label:"Unclear",color:"#555c66"},a=Object.fromEntries([...i,o].map(e=>[e.key,e])),l=e=>a[e]||o;function s(e,t){for(let n of[e,t]){if(!n)continue;let e=i.find(e=>e.words.test(n));if(e)return e}return o}let c=(e,t)=>s(e,t).key,d=e=>n(e).level>=4;e.s(["INDUSTRIES",0,i,"UNKNOWN_INDUSTRY",0,o,"buildCompanyIndex",0,function(e=[]){let n=new Map,r=e=>(n.has(e)||n.set(e,(0,t.rolesWithCompanies)(e)),n.get(e)),{industries:i}=(0,t.networkCompanies)(e,{industryOf:c,rolesOf:r}),o=new Map;for(let t of e){let e=t.profile_url||`id:${t.id}`,n=o.get(e);(!n||(t.degree||9)<(n.degree||9))&&o.set(e,t)}let a=new Map;for(let e of o.values()){let t=r(e).find(e=>!e.former)?.company;if(!t)continue;let n=a.get(t);n||(n={name:t,people:[],d1:0,d2:0,d3:0,S:0,A:0,senior:0},a.set(t,n)),n.people.push(e),1===e.degree?n.d1++:2===e.degree?n.d2++:n.d3++,"S"===e.tier&&n.S++,"A"===e.tier&&n.A++,d(e.headline)&&n.senior++}for(let e of a.values())e.industry=l(i.get(e.name));return a},"companyLinks",0,function(e=[],t=[]){let n=new Map;for(let t of e){let e=r(t);e&&n.set(t.id,e)}let i=new Map;for(let e of t){let t=n.get(e.source_connection_id),o=r(e);if(!t||!o||t===o)continue;let[a,l]=t<o?[t,o]:[o,t],s=`${a}\u0000${l}`,c=i.get(s);c||(c={a:a,b:l,weight:0,via:new Set},i.set(s,c)),c.weight++,c.via.add(e.source_connection_id)}return[...i.values()]},"companyOf",0,r,"getSeniority",0,n,"industryByKey",0,l,"industryOf",0,s,"isSenior",0,d,"waysInto",0,function(e,t=[],n=[]){let i=t.filter(t=>r(t)===e),o=new Map;for(let t of n)r(t)===e&&o.set(t.source_connection_id,(o.get(t.source_connection_id)||0)+1);let a=new Map(t.map(e=>[e.id,e]));return{direct:i,bridges:[...o.entries()].map(([e,t])=>({bridge:a.get(e),n:t})).filter(e=>e.bridge).sort((e,t)=>t.n-e.n||(Number(t.bridge.power_score)||0)-(Number(e.bridge.power_score)||0))}}])},36774,e=>{"use strict";let t=/^[A-Za-z0-9_-]+\.(webp|jpg|jpeg|png)$/,n="/avatars/";e.s(["localPhoto",0,function(e){return"string"==typeof e&&e.startsWith(n)&&t.test(e.slice(n.length))?e:null}])},48235,e=>{"use strict";var t=e.i(7214);function n(e,n){return e?n.scanned.has(e.id)||e.profile_url&&n.read?.has((0,t.keyFor)(e))?"scanned":e.profile_url&&n.hidden.has((0,t.keyFor)(e))?"hidden":"todo":"todo"}function r(e,t){if(!e||1!==e.degree||null==e.unlocked_from_bridge_id)return null;let r=n(e,t);return"todo"===r?"ready":r}e.s(["circleScanCost",0,function(e=100){let t=Math.max(1,Math.min(100,Math.round(e)||100));return{profileViews:1,searches:t,minutes:t>=100?55:Math.max(5,Math.round(.55*t))}},"circleState",0,n,"reachIndex",0,function(e=[],n=[],r={}){let i=new Set;for(let e of n||[])e?.source_connection_id!=null&&i.add(e.source_connection_id);let o=new Set;for(let e of r?.skips||[])e?.profileUrl&&o.add((0,t.keyFor)({profile_url:e.profileUrl}));let a=new Set;for(let e of r?.read||[])e&&a.add((0,t.keyFor)({profile_url:e}));let l=new Map;for(let[e,n]of Object.entries(r?.lists||{}))e&&n&&l.set((0,t.keyFor)({profile_url:e}),n);let s=new Map;for(let t of e||[]){let e=t?.unlocked_from_bridge_id;if(null==e||1!==t.degree)continue;let n=s.get(e);n||s.set(e,n=[]),n.push(t)}return{scanned:i,read:a,hidden:o,reachedFrom:s,lists:l}},"reachState",0,r,"readyByCircle",0,function(e){let t=new Map;for(let[n,i]of e.reachedFrom){let o=i.filter(t=>"ready"===r(t,e)).length;o&&t.set(n,o)}return t},"readyToScan",0,function(e,n){return(e||[]).filter(e=>"ready"===r(e,n)).sort(t.compareBridges)},"scanBars",0,function(e,r){let i=n(e,r),o=e?.profile_url?r.lists?.get((0,t.keyFor)(e)):null;return"hidden"===i?null:o?o.more?o.total?Math.max(1,Math.min(4,Math.round(5*Math.min(1,10*o.pages/o.total)))):2:5:"scanned"===i?2:null}])},69083,e=>{"use strict";var t=e.i(89154);let n=new Map(t.INDUSTRIES.map(e=>[e.key,e.color])),r=new Map([...t.INDUSTRIES.map(e=>[e.key,Object.freeze({key:e.key,label:e.label,color:e.color,group:e.key,kind:"industry"})]),...Object.entries({software:["Software & SaaS","tech","function"],"ai-data":["AI & Data","tech","function"],cybersecurity:["Cybersecurity","tech","function"],telecom:["Telecom","tech","industry"],fintech:["Fintech & Payments","finance","industry"],banking:["Banking & Lending","finance","industry"],"vc-pe":["Venture Capital & Private Equity","finance","industry"],wealth:["Wealth & Asset Management","finance","industry"],insurance:["Insurance","finance","industry"],accounting:["Accounting & Tax","finance","function"],crypto:["Crypto & Web3","finance","industry"],hospitals:["Hospitals & Clinics","health","industry"],dental:["Dental","health","industry"],"pharma-biotech":["Pharma & Biotech","health","industry"],"medical-devices":["Medical Devices","health","industry"],"mental-health":["Mental Health","health","industry"],"fitness-wellness":["Fitness & Wellness","health","industry"],veterinary:["Veterinary & Animal Care","health","industry"],k12:["K-12 Education","education","industry"],"higher-ed":["Higher Education","education","industry"],"marketing-advertising":["Marketing & Advertising","media","function"],"pr-comms":["PR & Communications","media","function"],"media-publishing":["Media & Publishing","media","industry"],"creator-economy":["Creator Economy","media","industry"],"film-tv-music":["Film, TV & Music","entertainment","industry"],"gaming-esports":["Gaming & Esports","entertainment","industry"],sports:["Sports","entertainment","industry"],"ecommerce-retail":["E-commerce & Retail","consumer","industry"],"consumer-goods":["Consumer Goods","consumer","industry"],restaurants:["Restaurants & Food Service","consumer","industry"],"hospitality-travel":["Hospitality & Travel","consumer","industry"],"beauty-personal-care":["Beauty & Personal Care","consumer","industry"],logistics:["Logistics & Supply Chain","industry","industry"],manufacturing:["Manufacturing","industry","industry"],energy:["Energy & Utilities","industry","industry"],automotive:["Automotive","industry","industry"],agriculture:["Agriculture & Farming","industry","industry"],"aerospace-defense":["Aerospace & Defense","defense","industry"],military:["Military","defense","industry"],government:["Government & Public Sector","defense","industry"],legal:["Legal","consulting","function"],"management-consulting":["Management Consulting","consulting","function"],"hr-recruiting":["HR & Recruiting","consulting","function"],"security-services":["Security Services","consulting","function"],"real-estate":["Real Estate","realestate","industry"],"construction-trades":["Construction & Trades","realestate","industry"],charities:["Nonprofits & Charities","nonprofit","industry"],"social-work":["Social Work & Human Services","nonprofit","industry"],faith:["Faith & Ministry","nonprofit","industry"]}).map(([e,[r,i,o]])=>[e,Object.freeze({key:e,label:r,color:n.get(i)||t.UNKNOWN_INDUSTRY.color,group:i,kind:o})])]);e.s(["sectorByKey",0,function(e){return r.get(e)||{key:e,label:t.UNKNOWN_INDUSTRY.label,color:t.UNKNOWN_INDUSTRY.color,group:null,kind:null}}])},7214,e=>{"use strict";var t=e.i(36774);let n={S:0,A:1,B:2,C:3,D:4};function r(e){let t=parseFloat(e?.power_score);return Number.isFinite(t)?t:0}function i(e){return Math.round(10*r(e))/10}function o(e){return String(e?.profile_url||"").split(/[?#]/)[0].replace(/\/+$/,"")||`id:${e?.id}`}let a=(e,t)=>String(e??"").localeCompare(String(t??""),void 0,{numeric:!0});function l(e,t){return(n[e.tier]??9)-(n[t.tier]??9)||r(t)-r(e)||String(e.name||"").localeCompare(String(t.name||""))||a(e.id,t.id)}function s(e,t){return e.bridge&&t.bridge?l(e.bridge,t.bridge):e.bridge?-1:t.bridge?1:a(e.id,t.id)}function c(e,t){return t.score-e.score||t.waysIn-e.waysIn||s(e.routes[0]||d,t.routes[0]||d)||String(e.person.name||"").localeCompare(String(t.person.name||""))||(e.key<t.key?-1:+(e.key>t.key))}let d={id:null,bridge:null};function u(e){let t=String(e||"").trim().split(/\s+/).filter(Boolean);return t.length<2?t[0]||"":`${t[0]} ${t[t.length-1].charAt(0)}.`}function g(e,t){let n=String(e||"");return t<=1?n?"…":"":n.length>t?`${n.slice(0,t-1)}…`:n}e.s(["TIERS",0,["S","A","B","C","D"],"compareBridges",0,l,"compareWaysIn",0,function(e,t){return t.waysIn-e.waysIn||c(e,t)},"keyFor",0,o,"routeIndex",0,function(e=[]){let t=new Map;for(let n of e||[]){let e=o(n),r=t.get(e);r||(r=new Set,t.set(e,r)),r.add(n.source_connection_id??null)}return t},"routesFor",0,function(e,t,n){return e?[...t?.get(o(e))??(null!=e.source_connection_id?new Set([e.source_connection_id]):new Set)].map(e=>({id:e,bridge:n?.get(e)??null})).sort(s):[]},"score",0,r,"score1",0,i,"separationPeople",0,function(e=[],n=[]){let r=new Map;for(let e of n||[])r.set(e.id,e);let l=new Map,d=new Map;for(let n of e||[]){let e=o(n);d.set(n.id,e);let r=l.get(e);r?function(e,n){let r=i(e)-i(n);if(r)return r>0;let o=!!(0,t.localPhoto)(e.profile_image_url);return!!(0,t.localPhoto)(n.profile_image_url)!==o?o:0>a(e.id,n.id)}(n,r.person)&&(r.person=n):(r={key:e,person:n,rowIds:[],routeIds:new Set},l.set(e,r)),r.rowIds.push(n.id),r.routeIds.add(n.source_connection_id??null)}let u={people:l.size,byTier:{S:0,A:0,B:0,C:0,D:0},multi:0,bridges:0,unresolvedIds:0,peopleOnlyUnresolved:0,onlyUnresolvedVia:0},g=new Set,f=new Set,y=new Set,p=[];for(let e of l.values()){let t=[...e.routeIds].map(e=>({id:e,bridge:r.get(e)??null}));t.sort(s);let n=t.filter(e=>e.bridge);for(let e of t)(e.bridge?g:f).add(e.id);if(!n.length)for(let e of(u.peopleOnlyUnresolved++,t))y.add(e.id);let{person:o}=e,a=o.tier;void 0!==u.byTier[a]&&u.byTier[a]++,t.length>1&&u.multi++,p.push({key:e.key,person:o,score:i(o),tier:a,routes:t,waysIn:t.length,rowIds:e.rowIds,haystack:[o.name,o.headline,o.company,o.role,...n.map(e=>e.bridge.name)].filter(Boolean).join("\n").toLowerCase(),rank:0,tied:!1})}return u.bridges=g.size,u.unresolvedIds=f.size,u.onlyUnresolvedVia=y.size,p.sort(c),function(e){for(let t=0;t<e.length;t++){let n=e[t],r=e[t-1],i=r&&r.score===n.score&&r.waysIn===n.waysIn;n.rank=i?r.rank:t+1,i&&(n.tied=!0,r.tied=!0)}}(p),{people:p,rowToKey:d,summary:u}},"shortName",0,u,"summitLayout",0,function(e=[],t=800,n=!1){let r=n?36:26,i=Math.round(.42*t),o=Math.round(.58*t),a=e.map((e,n)=>{var i;return{key:e.key,p:e,x:o,y:16+n*r,r:(i=e.waysIn)>=4?8.5:3===i?7:2===i?5.5:4,label:g(`#${e.rank}${e.tied?"=":""} ${e.person.name||""}`,Math.floor((t-o-60)/6.2))}}),s=new Map,c="\0unresolved";for(let e of a)for(let t of e.p.routes){let n=t.bridge?t.id:c,r=s.get(n);r||(r={id:t.bridge?t.id:null,bridge:t.bridge,unresolved:!t.bridge,ys:[],count:0},s.set(n,r)),r.count++,r.ys.push(e.y)}let d=[...s.values()].map(e=>({...e,bary:e.ys.reduce((e,t)=>e+t,0)/e.ys.length}));d.sort((e,t)=>e.bary-t.bary||e.unresolved-t.unresolved||(e.bridge&&t.bridge?l(e.bridge,t.bridge):0));let f=a.length?a[a.length-1].y:16,y=d.length>1?Math.max(18,(f-16)/(d.length-1)):0,p=Math.max(4,Math.floor((i-10-42)/6));d.forEach((e,t)=>{if(e.x=i,e.y=1===d.length?(16+f)/2:16+t*y,e.r=5,e.unresolved)e.label=g(`can't be named (${e.count})`,p);else{let t=e.bridge.name||"";e.label=t.length<=p?t:g(u(t),p)}delete e.ys});let h=new Map(d.map(e=>[e.unresolved?c:e.id,e])),m=[];for(let e of a){let t=new Set;e.p.routes.forEach((n,r)=>{let i=n.bridge?n.id:c;if(t.has(i))return;t.add(i);let o=h.get(i);m.push({key:e.key,bridgeId:o.id,primary:0===r&&!o.unresolved,unresolved:o.unresolved,tier:o.bridge?.tier??null,x1:o.x,y1:o.y,x2:e.x,y2:e.y})})}let b=Math.max(f,d.length?d[d.length-1].y:0),w=a.length?Math.ceil(b+16):0,k={x:20,y:a.length?(16+Math.max(f,b))/2:16,r:14},v=d.map(e=>({id:e.id,x1:k.x,y1:k.y,x2:e.x,y2:e.y}));return{width:t,height:w,you:k,people:a,bridges:d,links:m,spokes:v}}])},5258,e=>{"use strict";e.s(["TIER_COLORS",0,{S:"#f6c344",A:"#a78bfa",B:"#60a5fa",C:"#94a3b8",D:"#6b7280"},"TIER_COLORS_CLASSIC",0,{S:"#FFD700",A:"#9B59B6",B:"#3498DB",C:"#95A5A6",D:"#BDC3C7"},"TIER_ORDER",0,["S","A","B","C","D"],"TIER_RING_RADIUS",0,{S:150,A:230,B:310,C:390,D:470},"initialsFor",0,function(e){let t=String(e||"").trim().split(/\s+/).filter(Boolean);return 0===t.length?"?":(t[0].charAt(0)+(t.length>1?t[t.length-1].charAt(0):"")).toUpperCase()}])},18566,(e,t,n)=>{t.exports=e.r(76562)}]);
@@ -1,4 +1,4 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,10706,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(22016);function i(e={}){let t=(0,r.useRef)(null),[n,o]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(!t.current)return;let r=new IntersectionObserver(([e])=>{e.isIntersecting&&o(!0)},{threshold:.15,...e});return r.observe(t.current),()=>r.disconnect()},[]),[t,n]}let o={S:"#FFD700",A:"#9B59B6",B:"#3498DB",C:"#95A5A6",D:"#BDC3C7"},a="linear-gradient(135deg, #FFD700, #9B59B6, #3498DB)";function l({end:e,duration:n=2e3,active:i}){let[o,a]=(0,r.useState)(0);return(0,r.useEffect)(()=>{if(!i)return;let t=0,r=e/(n/16),o=setInterval(()=>{(t+=r)>=e?(a(e),clearInterval(o)):a(Math.floor(t))},16);return()=>clearInterval(o)},[i,e]),(0,t.jsx)("span",{children:o.toLocaleString()})}function s(){let e=(0,r.useRef)(null),[i,l]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let t;setTimeout(()=>l(!0),300);let r=e.current;if(!r)return;let n=r.getContext("2d"),i=r.width=window.innerWidth,a=r.height=window.innerHeight,s=Array.from({length:120},()=>({x:Math.random()*i,y:Math.random()*a,vx:(Math.random()-.5)*.4,vy:(Math.random()-.5)*.4,r:2.5*Math.random()+1,color:[o.S,o.A,o.B,"#fff",o.S,o.A,o.B][Math.floor(7*Math.random())]}));!function e(){n.clearRect(0,0,i,a);for(let e=0;e<s.length;e++)for(let t=e+1;t<s.length;t++){let r=s[e].x-s[t].x,i=s[e].y-s[t].y,o=Math.sqrt(r*r+i*i);o<150&&(n.beginPath(),n.moveTo(s[e].x,s[e].y),n.lineTo(s[t].x,s[t].y),n.strokeStyle=`rgba(52,152,219,${.12*(1-o/150)})`,n.lineWidth=.5,n.stroke())}s.forEach(e=>{e.x+=e.vx,e.y+=e.vy,(e.x<0||e.x>i)&&(e.vx*=-1),(e.y<0||e.y>a)&&(e.vy*=-1),n.beginPath(),n.arc(e.x,e.y,e.r,0,2*Math.PI),n.fillStyle=e.color,n.globalAlpha=.6,n.fill(),n.globalAlpha=1}),t=requestAnimationFrame(e)}();let c=()=>{i=r.width=window.innerWidth,a=r.height=window.innerHeight};return window.addEventListener("resize",c),()=>{cancelAnimationFrame(t),window.removeEventListener("resize",c)}},[]),(0,t.jsxs)("section",{style:{position:"relative",height:"100vh",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},children:[(0,t.jsx)("canvas",{ref:e,style:{position:"absolute",inset:0,zIndex:0}}),(0,t.jsx)("div",{style:{position:"absolute",inset:0,background:"radial-gradient(circle at 50% 50%, transparent 30%, #0a0a1a 75%)",zIndex:1}}),(0,t.jsx)("div",{style:{position:"absolute",width:500,height:500,borderRadius:"50%",background:"radial-gradient(circle, rgba(52,152,219,0.08) 0%, transparent 70%)",top:"50%",left:"50%",transform:"translate(-50%,-50%)",zIndex:1}}),(0,t.jsxs)("div",{style:{position:"relative",zIndex:2,textAlign:"center",maxWidth:900,padding:"0 24px"},children:[(0,t.jsxs)("div",{style:{display:"inline-flex",alignItems:"center",gap:8,padding:"6px 16px",borderRadius:20,border:"1px solid rgba(52,152,219,0.3)",background:"rgba(52,152,219,0.08)",fontSize:13,color:"#3498DB",fontWeight:600,marginBottom:32,opacity:+!!i,transform:i?"translateY(0)":"translateY(20px)",transition:"all 0.8s cubic-bezier(0.16, 1, 0.3, 1)"},children:[(0,t.jsx)("span",{style:{width:8,height:8,borderRadius:"50%",background:"#3498DB",animation:"pulse-dot 2s infinite"}}),"Research Project by Blake Burford"]}),(0,t.jsxs)("h1",{style:{fontSize:"clamp(48px, 8vw, 96px)",fontWeight:800,lineHeight:1.05,margin:0,background:a,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",opacity:+!!i,transform:i?"translateY(0) scale(1)":"translateY(40px) scale(0.95)",transition:"all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s",letterSpacing:"-0.03em"},children:["Six Degrees of",(0,t.jsx)("br",{}),"Separation"]}),(0,t.jsx)("p",{style:{fontSize:"clamp(16px, 2.5vw, 22px)",color:"rgba(255,255,255,0.55)",maxWidth:600,margin:"24px auto 0",lineHeight:1.6,fontWeight:400,opacity:+!!i,transform:i?"translateY(0)":"translateY(30px)",transition:"all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s"},children:"Visualizing the hidden architecture of professional networks. Every connection is a degree. Every bridge is a path to power."}),(0,t.jsxs)("div",{style:{display:"flex",gap:16,justifyContent:"center",marginTop:48,flexWrap:"wrap",opacity:+!!i,transform:i?"translateY(0)":"translateY(30px)",transition:"all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.55s"},children:[(0,t.jsx)(n.default,{href:"/",style:{padding:"14px 32px",borderRadius:12,border:"none",fontSize:16,fontWeight:700,background:a,color:"#000",cursor:"pointer",textDecoration:"none",boxShadow:"0 4px 24px rgba(255,215,0,0.3)"},children:"Open App"}),(0,t.jsx)("button",{onClick:()=>document.getElementById("features")?.scrollIntoView({behavior:"smooth"}),style:{padding:"14px 32px",borderRadius:12,border:"1px solid rgba(255,255,255,0.15)",fontSize:16,fontWeight:600,background:"rgba(255,255,255,0.05)",color:"#fff",cursor:"pointer",backdropFilter:"blur(12px)"},children:"See How It Works"})]}),(0,t.jsxs)("div",{style:{position:"absolute",bottom:-120,left:"50%",transform:"translateX(-50%)",display:"flex",flexDirection:"column",alignItems:"center",gap:8,opacity:.4*!!i,transition:"opacity 1.5s ease 1.2s"},children:[(0,t.jsx)("span",{style:{fontSize:11,color:"#555",letterSpacing:2,textTransform:"uppercase"},children:"Scroll"}),(0,t.jsx)("div",{style:{width:1,height:40,background:"linear-gradient(to bottom, rgba(255,255,255,0.3), transparent)",animation:"scroll-line 2s infinite"}})]})]})]})}function c(){let[e,r]=i();return(0,t.jsxs)("section",{ref:e,style:{padding:"80px 24px",borderTop:"1px solid rgba(255,255,255,0.05)",borderBottom:"1px solid rgba(255,255,255,0.05)"},children:[(0,t.jsx)("div",{style:{maxWidth:1e3,margin:"0 auto",display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(180px, 1fr))",gap:32},children:[{label:"Connections Mapped",value:873,color:"#3498DB"},{label:"Bridges Discovered",value:14,color:"#FFD700"},{label:"People Scored",value:748,color:"#9B59B6"},{label:"Companies",value:19,color:"#00ff88"}].map((e,n)=>(0,t.jsxs)("div",{style:{textAlign:"center",opacity:+!!r,transform:r?"translateY(0)":"translateY(30px)",transition:`all 0.8s cubic-bezier(0.16,1,0.3,1) ${.1*n}s`},children:[(0,t.jsx)("div",{style:{fontSize:48,fontWeight:800,color:e.color,lineHeight:1},children:(0,t.jsx)(l,{end:e.value,active:r})}),(0,t.jsx)("div",{style:{fontSize:13,color:"#666",marginTop:8,fontWeight:500,letterSpacing:.5},children:e.label})]},n))}),(0,t.jsx)("p",{style:{textAlign:"center",fontSize:12,color:"#555",margin:"32px auto 0",maxWidth:520},children:"Counted from the sample network that comes with the app. Every person in it is invented."})]})}function d(){let[e,r]=i(),n=[{tier:"S",color:o.S,r:55,count:10,label:"S-Tier",speed:60},{tier:"A",color:o.A,r:95,count:18,label:"A-Tier",speed:90},{tier:"B",color:o.B,r:135,count:30,label:"B-Tier",speed:120},{tier:"C",color:o.C,r:175,count:44,label:"C-Tier",speed:150},{tier:"D",color:o.D,r:210,count:56,label:"D-Tier",speed:180}];return(0,t.jsx)("section",{id:"features",ref:e,style:{padding:"100px 24px",position:"relative"},children:(0,t.jsxs)("div",{className:"galaxy-grid",style:{maxWidth:1100,margin:"0 auto",display:"grid",gridTemplateColumns:"1fr 1fr",gap:48,alignItems:"center"},children:[(0,t.jsxs)("div",{style:{opacity:+!!r,transform:r?"translateX(0)":"translateX(-50px)",transition:"all 1s cubic-bezier(0.16,1,0.3,1)"},children:[(0,t.jsx)("div",{style:{fontSize:11,fontWeight:700,color:o.S,letterSpacing:3,textTransform:"uppercase",marginBottom:16},children:"Network Circle"}),(0,t.jsxs)("h2",{style:{fontSize:44,fontWeight:800,lineHeight:1.15,margin:0,color:"#fff"},children:["Your Network,",(0,t.jsx)("br",{}),(0,t.jsx)("span",{style:{background:a,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"Visualized in Orbit"})]}),(0,t.jsx)("p",{style:{fontSize:17,color:"rgba(255,255,255,0.5)",lineHeight:1.7,marginTop:20,maxWidth:440},children:"Every connection orbits you by power tier. S-Tier innermost, D-Tier outermost. A living galaxy of influence — zoom, filter, and explore your entire professional universe."}),(0,t.jsx)("div",{style:{display:"flex",gap:12,marginTop:32,flexWrap:"wrap"},children:Object.entries(o).map(([e,r])=>(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:6,padding:"6px 12px",borderRadius:8,background:`${r}15`,border:`1px solid ${r}30`},children:[(0,t.jsx)("div",{style:{width:8,height:8,borderRadius:"50%",background:r}}),(0,t.jsxs)("span",{style:{fontSize:12,fontWeight:600,color:r},children:[e,"-Tier"]})]},e))})]}),(0,t.jsxs)("div",{className:"galaxy-rings",style:{position:"relative",width:440,height:440,margin:"0 auto",opacity:+!!r,transform:r?"scale(1)":"scale(0.8)",transition:"all 1.2s cubic-bezier(0.16,1,0.3,1) 0.2s"},children:[(0,t.jsx)("div",{style:{position:"absolute",top:"50%",left:"50%",width:"60%",height:"60%",borderRadius:"50%",background:"radial-gradient(circle, rgba(52,152,219,0.12) 0%, transparent 70%)",transform:"translate(-50%,-50%)"}}),(0,t.jsx)("div",{style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:40,height:40,borderRadius:"50%",background:"#fff",boxShadow:"0 0 30px rgba(255,255,255,0.4), 0 0 60px rgba(52,152,219,0.2)",zIndex:10,display:"flex",alignItems:"center",justifyContent:"center",fontSize:9,fontWeight:800,color:"#0a0a1a"},children:"YOU"}),n.map((e,n)=>(0,t.jsx)("div",{style:{position:"absolute",top:"50%",left:"50%",width:2*e.r,height:2*e.r,borderRadius:"50%",border:`1px solid ${e.color}15`,transform:"translate(-50%,-50%)",animation:r?`spin-ring ${e.speed}s linear infinite`:"none"},children:Array.from({length:e.count}).map((r,i)=>{let o=i/e.count*Math.PI*2,a=Math.round((Math.cos(o)*e.r+e.r)*100)/100,l=Math.round((Math.sin(o)*e.r+e.r)*100)/100;return(0,t.jsx)("div",{style:{position:"absolute",left:a-3,top:l-3,width:6,height:6,borderRadius:"50%",background:e.color,opacity:Number((.6+.4*y(n,i,1)).toFixed(3)),animation:`breathe ${(2+2*y(n,i,2)).toFixed(2)}s ease-in-out infinite ${(2*y(n,i,3)).toFixed(2)}s`}},i)})},n))]})]})})}function p(){let[e,r]=i(),n=[{d:1,label:"Your Connections",desc:"Direct network — scored & tiered",color:"#3498DB",count:150},{d:2,label:"Bridge Connections",desc:"Friends of your bridges",color:"#9B59B6",count:723},{d:3,label:"Extended Reach",desc:"Bridged from promoted D2s",color:"#FFD700",count:null},{d:4,label:"Industry Layer",desc:"Company & sector intelligence",color:"#FF6B35",count:null},{d:5,label:"Market Layer",desc:"Cross-industry connections",color:"#00ff88",count:null},{d:6,label:"Global Reach",desc:"Anyone in the world",color:"#ff5050",count:null}];return(0,t.jsx)("section",{ref:e,style:{padding:"100px 24px",position:"relative"},children:(0,t.jsxs)("div",{style:{maxWidth:1e3,margin:"0 auto"},children:[(0,t.jsxs)("div",{style:{textAlign:"center",marginBottom:80,opacity:+!!r,transform:r?"translateY(0)":"translateY(40px)",transition:"all 1s cubic-bezier(0.16,1,0.3,1)"},children:[(0,t.jsx)("div",{style:{fontSize:11,fontWeight:700,color:"#FF6B35",letterSpacing:3,textTransform:"uppercase",marginBottom:16},children:"Bridge Chains"}),(0,t.jsxs)("h2",{style:{fontSize:44,fontWeight:800,lineHeight:1.15,margin:0},children:[(0,t.jsx)("span",{style:{color:"#fff"},children:"Six Degrees."})," ",(0,t.jsx)("span",{style:{background:"linear-gradient(135deg, #FF6B35, #FFD700)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"Infinite Reach."})]}),(0,t.jsx)("p",{style:{fontSize:17,color:"rgba(255,255,255,0.45)",marginTop:16,maxWidth:560,margin:"16px auto 0"},children:"Every person on Earth is at most 6 connections away. Our chain system maps the exact path from you to anyone."})]}),(0,t.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:0,flexWrap:"wrap"},children:n.map((e,i)=>(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",opacity:+!!r,transform:r?"translateY(0)":"translateY(40px)",transition:`all 0.8s cubic-bezier(0.16,1,0.3,1) ${.1*i+.3}s`},children:[(0,t.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",width:120},children:[(0,t.jsxs)("div",{style:{width:64,height:64,borderRadius:"50%",background:`${e.color}20`,border:`2px solid ${e.color}`,display:"flex",alignItems:"center",justifyContent:"center",fontSize:22,fontWeight:800,color:e.color,boxShadow:`0 0 24px ${e.color}30`,animation:r?`breathe 3s ease-in-out infinite ${.5*i}s`:"none",position:"relative"},children:["D",e.d,e.count&&(0,t.jsx)("span",{style:{position:"absolute",bottom:-8,fontSize:9,fontWeight:700,background:e.color,color:"#000",padding:"2px 6px",borderRadius:10},children:e.count.toLocaleString()})]}),(0,t.jsx)("div",{style:{fontSize:11,fontWeight:700,color:e.color,marginTop:16},children:e.label}),(0,t.jsx)("div",{style:{fontSize:10,color:"#555",marginTop:4,textAlign:"center"},children:e.desc})]}),i<5&&(0,t.jsx)("div",{style:{width:40,height:2,position:"relative",background:`linear-gradient(to right, ${e.color}60, ${n[i+1].color}60)`,opacity:+!!r,transition:`opacity 0.6s ease ${.1*i+.6}s`},children:(0,t.jsx)("div",{style:{position:"absolute",top:-2,width:6,height:6,borderRadius:"50%",background:e.color,animation:r?`travel-dot 2s ease-in-out infinite ${.3*i}s`:"none"}})})]},i))}),(0,t.jsx)("p",{style:{textAlign:"center",fontSize:12,color:"#555",marginTop:40},children:"The counts are the sample network’s, whose people are all invented."})]})})}function u(){let[e,r]=i(),n=[{tier:"S",label:"Supreme",score:"7.5+",color:o.S,glow:"rgba(255,215,0,0.3)",people:"C-Suite, VPs, Founders",icon:"👑"},{tier:"A",label:"Ace",score:"5.5+",color:o.A,glow:"rgba(155,89,182,0.3)",people:"Directors, Senior Leaders",icon:"💎"},{tier:"B",label:"Builder",score:"4.0+",color:o.B,glow:"rgba(52,152,219,0.3)",people:"Managers, Senior ICs",icon:"🔷"},{tier:"C",label:"Connector",score:"2.5+",color:o.C,glow:"rgba(149,165,166,0.2)",people:"Associates, Specialists",icon:"🔸"},{tier:"D",label:"Developing",score:"<2.5",color:o.D,glow:"rgba(189,195,199,0.15)",people:"Entry Level, Students",icon:"🌱"}];return(0,t.jsx)("section",{ref:e,style:{padding:"100px 24px",background:"linear-gradient(180deg, transparent, rgba(52,152,219,0.03), transparent)"},children:(0,t.jsxs)("div",{style:{maxWidth:1100,margin:"0 auto"},children:[(0,t.jsxs)("div",{style:{textAlign:"center",marginBottom:64,opacity:+!!r,transform:r?"translateY(0)":"translateY(40px)",transition:"all 1s cubic-bezier(0.16,1,0.3,1)"},children:[(0,t.jsx)("div",{style:{fontSize:11,fontWeight:700,color:o.A,letterSpacing:3,textTransform:"uppercase",marginBottom:16},children:"Power Score"}),(0,t.jsxs)("h2",{style:{fontSize:44,fontWeight:800,lineHeight:1.15},children:[(0,t.jsx)("span",{style:{color:"#fff"},children:"Every Connection,"})," ",(0,t.jsx)("span",{style:{background:"linear-gradient(135deg, #FFD700, #9B59B6)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"Ranked by Power"})]}),(0,t.jsx)("p",{style:{fontSize:17,color:"rgba(255,255,255,0.45)",marginTop:16,maxWidth:500,margin:"16px auto 0"},children:"Seniority, company prestige, and circle proximity combine into one score."})]}),(0,t.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(190px, 1fr))",gap:16},children:n.map((e,n)=>(0,t.jsxs)("div",{style:{padding:24,borderRadius:16,position:"relative",overflow:"hidden",background:"rgba(255,255,255,0.03)",border:`1px solid ${e.color}25`,opacity:+!!r,transform:r?"translateY(0)":"translateY(40px)",transition:`all 0.8s cubic-bezier(0.16,1,0.3,1) ${.08*n+.2}s`},children:[(0,t.jsx)("div",{style:{position:"absolute",top:-20,right:-20,width:100,height:100,borderRadius:"50%",background:`radial-gradient(circle, ${e.glow}, transparent)`,filter:"blur(20px)"}}),(0,t.jsx)("div",{style:{fontSize:28,marginBottom:8},children:e.icon}),(0,t.jsx)("div",{style:{fontSize:32,fontWeight:900,color:e.color,lineHeight:1,textShadow:`0 0 20px ${e.glow}`},children:e.tier}),(0,t.jsx)("div",{style:{fontSize:13,fontWeight:700,color:"#fff",marginTop:4},children:e.label}),(0,t.jsxs)("div",{style:{fontSize:11,color:"#555",marginTop:2},children:["Score: ",e.score]}),(0,t.jsx)("div",{style:{fontSize:10,color:"rgba(255,255,255,0.35)",marginTop:12,padding:"6px 10px",borderRadius:8,background:"rgba(255,255,255,0.04)"},children:e.people})]},n))}),(0,t.jsx)("p",{style:{textAlign:"center",fontSize:12,color:"#555",marginTop:24},children:"These are the fixed scale’s lines. By default tiers are graded on your own network’s curve: your top 3% are S, the next 12% A."})]})})}function f(){let[e,r]=i(),n=[{title:"Paths",subtitle:"Company Intelligence",desc:"Scan any company on LinkedIn and see every person mapped, scored, and organized by seniority.",color:"#00ff88",icon:"🏢",stat:"19 companies in the sample"},{title:"Outlink",subtitle:"Strategic Action Queue",desc:"Your curated list of high-value D2 connections to request. Grouped by bridge, filtered by tier, with batch-open for efficient networking.",color:"#FF6B35",icon:"🚀",stat:"474 recommendations in the sample"},{title:"XP System",subtitle:"Gamified Networking",desc:"Earn XP for every outreach sent and connection accepted. Higher tier connections = more points. Level up your networking game.",color:"#FFD700",icon:"⚡",stat:"S-Tier = 25 XP"},{title:"Bridge Clusters",subtitle:"Deep Network Mining",desc:"Select any D1 connection as a bridge. Automatically discover and score all their connections — your D2 layer.",color:"#9B59B6",icon:"🔗",stat:"14 bridges in the sample"}];return(0,t.jsx)("section",{ref:e,style:{padding:"100px 24px"},children:(0,t.jsxs)("div",{style:{maxWidth:1100,margin:"0 auto"},children:[(0,t.jsxs)("div",{style:{textAlign:"center",marginBottom:64,opacity:+!!r,transform:r?"translateY(0)":"translateY(40px)",transition:"all 1s cubic-bezier(0.16,1,0.3,1)"},children:[(0,t.jsx)("div",{style:{fontSize:11,fontWeight:700,color:"#00ff88",letterSpacing:3,textTransform:"uppercase",marginBottom:16},children:"Full Arsenal"}),(0,t.jsxs)("h2",{style:{fontSize:44,fontWeight:800},children:[(0,t.jsx)("span",{style:{color:"#fff"},children:"Tools That"})," ",(0,t.jsx)("span",{style:{background:"linear-gradient(135deg, #00ff88, #3498DB)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"Make Moves"})]})]}),(0,t.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(260px, 1fr))",gap:20},children:n.map((e,n)=>(0,t.jsxs)("div",{style:{padding:28,borderRadius:20,position:"relative",overflow:"hidden",background:"rgba(255,255,255,0.02)",border:"1px solid rgba(255,255,255,0.06)",backdropFilter:"blur(12px)",opacity:+!!r,transform:r?"translateY(0)":"translateY(40px)",transition:`all 0.8s cubic-bezier(0.16,1,0.3,1) ${.1*n+.2}s`},children:[(0,t.jsx)("div",{style:{position:"absolute",top:-30,left:-30,width:120,height:120,borderRadius:"50%",background:`radial-gradient(circle, ${e.color}10, transparent)`,filter:"blur(20px)"}}),(0,t.jsx)("div",{style:{fontSize:32,marginBottom:12},children:e.icon}),(0,t.jsx)("div",{style:{fontSize:11,fontWeight:700,color:e.color,letterSpacing:1,textTransform:"uppercase"},children:e.subtitle}),(0,t.jsx)("h3",{style:{fontSize:22,fontWeight:800,color:"#fff",margin:"6px 0 10px"},children:e.title}),(0,t.jsx)("p",{style:{fontSize:13,color:"rgba(255,255,255,0.4)",lineHeight:1.6,margin:0},children:e.desc}),(0,t.jsx)("div",{style:{marginTop:16,padding:"6px 12px",borderRadius:8,background:`${e.color}10`,display:"inline-block",fontSize:11,fontWeight:700,color:e.color},children:e.stat})]},n))})]})})}function g(){let[e,r]=i();return(0,t.jsx)("section",{ref:e,style:{padding:"100px 24px",background:"linear-gradient(180deg, transparent, rgba(155,89,182,0.03), transparent)"},children:(0,t.jsxs)("div",{style:{maxWidth:800,margin:"0 auto",textAlign:"center"},children:[(0,t.jsxs)("div",{style:{opacity:+!!r,transform:r?"translateY(0)":"translateY(40px)",transition:"all 1s cubic-bezier(0.16,1,0.3,1)"},children:[(0,t.jsx)("div",{style:{fontSize:11,fontWeight:700,color:"#555",letterSpacing:3,textTransform:"uppercase",marginBottom:16},children:"The Algorithm"}),(0,t.jsx)("h2",{style:{fontSize:44,fontWeight:800},children:(0,t.jsx)("span",{style:{background:a,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"Power Score Formula"})})]}),(0,t.jsxs)("div",{style:{marginTop:48,padding:40,borderRadius:20,background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.08)",backdropFilter:"blur(24px)",opacity:+!!r,transform:r?"translateY(0) scale(1)":"translateY(30px) scale(0.95)",transition:"all 1s cubic-bezier(0.16,1,0.3,1) 0.2s"},children:[(0,t.jsx)("div",{style:{fontFamily:'"Geist Mono", monospace',fontSize:20,fontWeight:700,background:a,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",marginBottom:32},children:"P = T × (0.45 + 0.055 × C) + R + B"}),(0,t.jsx)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr",gap:24},children:[{sym:"T",label:"Title",desc:"C-suite 10, VP 9, Director 7.5, Manager 6.5",note:"Multiplied by the company",color:o.S},{sym:"C",label:"Company",desc:"Well-known 7–10, else estimated from your network",note:"Weight 0.5 to 1.0",color:o.A},{sym:"R + B",label:"Reach & bridge",desc:"Investor, YC, an audience in the millions; a strong circle",note:"Up to +1.5 and +2",color:o.B}].map((e,n)=>(0,t.jsxs)("div",{style:{padding:16,borderRadius:12,background:`${e.color}08`,opacity:+!!r,transform:r?"translateY(0)":"translateY(20px)",transition:`all 0.8s cubic-bezier(0.16,1,0.3,1) ${.3+.1*n}s`},children:[(0,t.jsx)("div",{style:{fontSize:28,fontWeight:900,color:e.color},children:e.sym}),(0,t.jsx)("div",{style:{fontSize:13,fontWeight:700,color:"#fff",marginTop:4},children:e.label}),(0,t.jsx)("div",{style:{fontSize:10,color:"#555",marginTop:4},children:e.desc}),(0,t.jsx)("div",{style:{fontSize:10,color:e.color,fontWeight:700,marginTop:8},children:e.note})]},n))})]}),(0,t.jsx)("div",{style:{marginTop:32,display:"flex",justifyContent:"center",gap:8,flexWrap:"wrap",opacity:+!!r,transition:"opacity 1s ease 0.6s"},children:[{t:"S",min:7.5,color:o.S},{t:"A",min:5.5,color:o.A},{t:"B",min:4,color:o.B},{t:"C",min:2.5,color:o.C},{t:"D",min:0,color:o.D}].map((e,r)=>(0,t.jsxs)("div",{style:{padding:"8px 16px",borderRadius:10,background:`${e.color}12`,border:`1px solid ${e.color}30`,fontSize:12,fontWeight:700,color:e.color},children:[e.t,"-Tier: ",e.min,"+"]},r))})]})})}function h(){let[e,r]=i();return(0,t.jsxs)("section",{ref:e,style:{padding:"100px 24px",position:"relative",overflow:"hidden"},children:[(0,t.jsx)("div",{style:{position:"absolute",inset:0,opacity:.15*!!r,transition:"opacity 2s ease"},children:Array.from({length:8}).map((e,r)=>(0,t.jsx)("div",{style:{position:"absolute",top:`${12+12*r}%`,left:0,right:0,height:1,background:`linear-gradient(to right, transparent, ${[o.S,o.A,o.B,"#fff"][r%4]}40, transparent)`,animation:`wave ${4+r}s ease-in-out infinite ${.3*r}s`}},r))}),(0,t.jsx)("div",{style:{maxWidth:700,margin:"0 auto",textAlign:"center",position:"relative",zIndex:2},children:(0,t.jsxs)("div",{style:{opacity:+!!r,transform:r?"translateY(0)":"translateY(40px)",transition:"all 1s cubic-bezier(0.16,1,0.3,1)"},children:[(0,t.jsx)("div",{style:{fontSize:11,fontWeight:700,color:"#ff5050",letterSpacing:3,textTransform:"uppercase",marginBottom:16},children:"The Theory"}),(0,t.jsxs)("h2",{style:{fontSize:44,fontWeight:800},children:[(0,t.jsx)("span",{style:{color:"#fff"},children:"Strings Connect"})," ",(0,t.jsx)("span",{style:{background:"linear-gradient(135deg, #ff5050, #FFD700)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"Everything"})]}),(0,t.jsx)("p",{style:{fontSize:17,color:"rgba(255,255,255,0.45)",lineHeight:1.8,marginTop:24,maxWidth:560,margin:"24px auto 0"},children:"In string theory, fundamental particles are vibrating strings connected across dimensions. In social networks, people are nodes connected by invisible strings of trust, proximity, and shared experience."}),(0,t.jsx)("p",{style:{fontSize:17,color:"rgba(255,255,255,0.45)",lineHeight:1.8,marginTop:16,maxWidth:560,margin:"16px auto 0"},children:"Six degrees of separation isn’t just a theory — it’s the architecture of human connection. Every string vibrates with potential. Every bridge shortens the distance."}),(0,t.jsxs)("div",{style:{marginTop:48,padding:"24px 32px",borderRadius:16,background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.06)",fontStyle:"italic",color:"rgba(255,255,255,0.3)",fontSize:15,opacity:+!!r,transition:"opacity 1.5s ease 0.5s"},children:["“Everyone is connected to everyone else by six degrees or fewer. The question isn’t ",(0,t.jsx)("em",{children:"if"})," — it’s ",(0,t.jsx)("em",{children:"through whom"}),".”"]})]})})]})}function x(){let[e,r]=i();return(0,t.jsxs)("section",{ref:e,style:{padding:"100px 24px",textAlign:"center",position:"relative",overflow:"hidden"},children:[(0,t.jsx)("div",{style:{position:"absolute",inset:0,background:"radial-gradient(circle at 50% 80%, rgba(52,152,219,0.06) 0%, transparent 60%)"}}),(0,t.jsxs)("div",{style:{position:"relative",zIndex:2},children:[(0,t.jsxs)("div",{style:{opacity:+!!r,transform:r?"translateY(0) scale(1)":"translateY(40px) scale(0.95)",transition:"all 1.2s cubic-bezier(0.16,1,0.3,1)"},children:[(0,t.jsx)("h2",{style:{fontSize:"clamp(36px, 6vw, 64px)",fontWeight:800,lineHeight:1.1,background:a,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"Map Your Universe"}),(0,t.jsx)("p",{style:{fontSize:18,color:"rgba(255,255,255,0.4)",marginTop:16,maxWidth:480,margin:"16px auto 0"},children:"Your network is your most valuable asset. Start seeing it for what it really is."}),(0,t.jsx)(n.default,{href:"/",style:{display:"inline-block",marginTop:40,padding:"16px 48px",borderRadius:14,fontSize:18,fontWeight:800,background:a,color:"#000",textDecoration:"none",boxShadow:"0 4px 32px rgba(255,215,0,0.3), 0 0 60px rgba(52,152,219,0.15)",animation:r?"cta-glow 3s ease-in-out infinite":"none"},children:"Enter the Galaxy"})]}),(0,t.jsxs)("div",{style:{marginTop:80,paddingTop:40,borderTop:"1px solid rgba(255,255,255,0.05)",display:"flex",justifyContent:"center",gap:32,flexWrap:"wrap",opacity:.4*!!r,transition:"opacity 1.5s ease 0.5s"},children:[(0,t.jsx)("span",{style:{fontSize:12,color:"#444"},children:"Built by Blake Burford"}),(0,t.jsx)("span",{style:{fontSize:12,color:"#444"},children:"Open source · MIT"}),(0,t.jsx)("span",{style:{fontSize:12,color:"#444"},children:"2026"})]})]})]})}function y(e,t,r){let n=43758.5453*Math.sin((e+1)*12.9898+(t+1)*78.233+37.719*r);return n-Math.floor(n)}e.s(["default",0,function(){return(0,t.jsxs)("div",{style:{background:"#0a0a1a",color:"#fff",overflowX:"hidden"},children:[(0,t.jsx)("style",{children:`
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,10706,e=>{"use strict";var t=e.i(43476),i=e.i(71645),r=e.i(22016);function n(e={}){let t=(0,i.useRef)(null),[r,o]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{if(!t.current)return;let i=new IntersectionObserver(([e])=>{e.isIntersecting&&o(!0)},{threshold:.15,...e});return i.observe(t.current),()=>i.disconnect()},[]),[t,r]}let o={S:"#FFD700",A:"#9B59B6",B:"#3498DB",C:"#95A5A6",D:"#BDC3C7"},a="linear-gradient(135deg, #FFD700, #9B59B6, #3498DB)";function l({end:e,duration:r=2e3,active:n}){let[o,a]=(0,i.useState)(0);return(0,i.useEffect)(()=>{if(!n)return;let t=0,i=e/(r/16),o=setInterval(()=>{(t+=i)>=e?(a(e),clearInterval(o)):a(Math.floor(t))},16);return()=>clearInterval(o)},[n,e]),(0,t.jsx)("span",{children:o.toLocaleString()})}function s(){let e=(0,i.useRef)(null),[n,l]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let t;setTimeout(()=>l(!0),300);let i=e.current;if(!i)return;let r=i.getContext("2d"),n=i.width=window.innerWidth,a=i.height=window.innerHeight,s=Array.from({length:120},()=>({x:Math.random()*n,y:Math.random()*a,vx:(Math.random()-.5)*.4,vy:(Math.random()-.5)*.4,r:2.5*Math.random()+1,color:[o.S,o.A,o.B,"#fff",o.S,o.A,o.B][Math.floor(7*Math.random())]}));!function e(){r.clearRect(0,0,n,a);for(let e=0;e<s.length;e++)for(let t=e+1;t<s.length;t++){let i=s[e].x-s[t].x,n=s[e].y-s[t].y,o=Math.sqrt(i*i+n*n);o<150&&(r.beginPath(),r.moveTo(s[e].x,s[e].y),r.lineTo(s[t].x,s[t].y),r.strokeStyle=`rgba(52,152,219,${.12*(1-o/150)})`,r.lineWidth=.5,r.stroke())}s.forEach(e=>{e.x+=e.vx,e.y+=e.vy,(e.x<0||e.x>n)&&(e.vx*=-1),(e.y<0||e.y>a)&&(e.vy*=-1),r.beginPath(),r.arc(e.x,e.y,e.r,0,2*Math.PI),r.fillStyle=e.color,r.globalAlpha=.6,r.fill(),r.globalAlpha=1}),t=requestAnimationFrame(e)}();let c=()=>{n=i.width=window.innerWidth,a=i.height=window.innerHeight};return window.addEventListener("resize",c),()=>{cancelAnimationFrame(t),window.removeEventListener("resize",c)}},[]),(0,t.jsxs)("section",{style:{position:"relative",height:"100vh",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},children:[(0,t.jsx)("canvas",{ref:e,style:{position:"absolute",inset:0,zIndex:0}}),(0,t.jsx)("div",{style:{position:"absolute",inset:0,background:"radial-gradient(circle at 50% 50%, transparent 30%, #0a0a1a 75%)",zIndex:1}}),(0,t.jsx)("div",{style:{position:"absolute",width:500,height:500,borderRadius:"50%",background:"radial-gradient(circle, rgba(52,152,219,0.08) 0%, transparent 70%)",top:"50%",left:"50%",transform:"translate(-50%,-50%)",zIndex:1}}),(0,t.jsxs)("div",{style:{position:"relative",zIndex:2,textAlign:"center",maxWidth:900,padding:"0 24px"},children:[(0,t.jsxs)("div",{style:{display:"inline-flex",alignItems:"center",gap:8,padding:"6px 16px",borderRadius:20,border:"1px solid rgba(52,152,219,0.3)",background:"rgba(52,152,219,0.08)",fontSize:13,color:"#3498DB",fontWeight:600,marginBottom:32,opacity:+!!n,transform:n?"translateY(0)":"translateY(20px)",transition:"all 0.8s cubic-bezier(0.16, 1, 0.3, 1)"},children:[(0,t.jsx)("span",{style:{width:8,height:8,borderRadius:"50%",background:"#3498DB",animation:"pulse-dot 2s infinite"}}),"Research Project by Blake Burford"]}),(0,t.jsxs)("h1",{style:{fontSize:"clamp(48px, 8vw, 96px)",fontWeight:800,lineHeight:1.05,margin:0,background:a,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",opacity:+!!n,transform:n?"translateY(0) scale(1)":"translateY(40px) scale(0.95)",transition:"all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s",letterSpacing:"-0.03em"},children:["Six Degrees of",(0,t.jsx)("br",{}),"Separation"]}),(0,t.jsx)("p",{style:{fontSize:"clamp(16px, 2.5vw, 22px)",color:"rgba(255,255,255,0.55)",maxWidth:600,margin:"24px auto 0",lineHeight:1.6,fontWeight:400,opacity:+!!n,transform:n?"translateY(0)":"translateY(30px)",transition:"all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s"},children:"Visualizing the hidden architecture of professional networks. Every connection is a degree. Every bridge is a path to power."}),(0,t.jsxs)("div",{style:{display:"flex",gap:16,justifyContent:"center",marginTop:48,flexWrap:"wrap",opacity:+!!n,transform:n?"translateY(0)":"translateY(30px)",transition:"all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.55s"},children:[(0,t.jsx)(r.default,{href:"/",style:{padding:"14px 32px",borderRadius:12,border:"none",fontSize:16,fontWeight:700,background:a,color:"#000",cursor:"pointer",textDecoration:"none",boxShadow:"0 4px 24px rgba(255,215,0,0.3)"},children:"Open App"}),(0,t.jsx)("button",{onClick:()=>document.getElementById("features")?.scrollIntoView({behavior:"smooth"}),style:{padding:"14px 32px",borderRadius:12,border:"1px solid rgba(255,255,255,0.15)",fontSize:16,fontWeight:600,background:"rgba(255,255,255,0.05)",color:"#fff",cursor:"pointer",backdropFilter:"blur(12px)"},children:"See How It Works"})]}),(0,t.jsxs)("div",{style:{position:"absolute",bottom:-120,left:"50%",transform:"translateX(-50%)",display:"flex",flexDirection:"column",alignItems:"center",gap:8,opacity:.4*!!n,transition:"opacity 1.5s ease 1.2s"},children:[(0,t.jsx)("span",{style:{fontSize:11,color:"#555",letterSpacing:2,textTransform:"uppercase"},children:"Scroll"}),(0,t.jsx)("div",{style:{width:1,height:40,background:"linear-gradient(to bottom, rgba(255,255,255,0.3), transparent)",animation:"scroll-line 2s infinite"}})]})]})]})}function c(){let[e,i]=n();return(0,t.jsxs)("section",{ref:e,style:{padding:"80px 24px",borderTop:"1px solid rgba(255,255,255,0.05)",borderBottom:"1px solid rgba(255,255,255,0.05)"},children:[(0,t.jsx)("div",{style:{maxWidth:1e3,margin:"0 auto",display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(180px, 1fr))",gap:32},children:[{label:"Connections Mapped",value:873,color:"#3498DB"},{label:"Bridges Discovered",value:14,color:"#FFD700"},{label:"People Scored",value:748,color:"#9B59B6"},{label:"Companies",value:19,color:"#00ff88"}].map((e,r)=>(0,t.jsxs)("div",{style:{textAlign:"center",opacity:+!!i,transform:i?"translateY(0)":"translateY(30px)",transition:`all 0.8s cubic-bezier(0.16,1,0.3,1) ${.1*r}s`},children:[(0,t.jsx)("div",{style:{fontSize:48,fontWeight:800,color:e.color,lineHeight:1},children:(0,t.jsx)(l,{end:e.value,active:i})}),(0,t.jsx)("div",{style:{fontSize:13,color:"#666",marginTop:8,fontWeight:500,letterSpacing:.5},children:e.label})]},r))}),(0,t.jsx)("p",{style:{textAlign:"center",fontSize:12,color:"#555",margin:"32px auto 0",maxWidth:520},children:"Counted from the sample network that comes with the app. Every person in it is invented."})]})}function d(){let[e,i]=n(),r=[{tier:"S",color:o.S,r:55,count:10,label:"S-Tier",speed:60},{tier:"A",color:o.A,r:95,count:18,label:"A-Tier",speed:90},{tier:"B",color:o.B,r:135,count:30,label:"B-Tier",speed:120},{tier:"C",color:o.C,r:175,count:44,label:"C-Tier",speed:150},{tier:"D",color:o.D,r:210,count:56,label:"D-Tier",speed:180}];return(0,t.jsx)("section",{id:"features",ref:e,style:{padding:"100px 24px",position:"relative"},children:(0,t.jsxs)("div",{className:"galaxy-grid",style:{maxWidth:1100,margin:"0 auto",display:"grid",gridTemplateColumns:"1fr 1fr",gap:48,alignItems:"center"},children:[(0,t.jsxs)("div",{style:{opacity:+!!i,transform:i?"translateX(0)":"translateX(-50px)",transition:"all 1s cubic-bezier(0.16,1,0.3,1)"},children:[(0,t.jsx)("div",{style:{fontSize:11,fontWeight:700,color:o.S,letterSpacing:3,textTransform:"uppercase",marginBottom:16},children:"Network Circle"}),(0,t.jsxs)("h2",{style:{fontSize:44,fontWeight:800,lineHeight:1.15,margin:0,color:"#fff"},children:["Your Network,",(0,t.jsx)("br",{}),(0,t.jsx)("span",{style:{background:a,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"Visualized in Orbit"})]}),(0,t.jsx)("p",{style:{fontSize:17,color:"rgba(255,255,255,0.5)",lineHeight:1.7,marginTop:20,maxWidth:440},children:"Every connection orbits you by power tier. S-Tier innermost, D-Tier outermost. A living galaxy of influence — zoom, filter, and explore your entire professional universe."}),(0,t.jsx)("div",{style:{display:"flex",gap:12,marginTop:32,flexWrap:"wrap"},children:Object.entries(o).map(([e,i])=>(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:6,padding:"6px 12px",borderRadius:8,background:`${i}15`,border:`1px solid ${i}30`},children:[(0,t.jsx)("div",{style:{width:8,height:8,borderRadius:"50%",background:i}}),(0,t.jsxs)("span",{style:{fontSize:12,fontWeight:600,color:i},children:[e,"-Tier"]})]},e))})]}),(0,t.jsxs)("div",{className:"galaxy-rings",style:{position:"relative",width:440,height:440,margin:"0 auto",opacity:+!!i,transform:i?"scale(1)":"scale(0.8)",transition:"all 1.2s cubic-bezier(0.16,1,0.3,1) 0.2s"},children:[(0,t.jsx)("div",{style:{position:"absolute",top:"50%",left:"50%",width:"60%",height:"60%",borderRadius:"50%",background:"radial-gradient(circle, rgba(52,152,219,0.12) 0%, transparent 70%)",transform:"translate(-50%,-50%)"}}),(0,t.jsx)("div",{style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:40,height:40,borderRadius:"50%",background:"#fff",boxShadow:"0 0 30px rgba(255,255,255,0.4), 0 0 60px rgba(52,152,219,0.2)",zIndex:10,display:"flex",alignItems:"center",justifyContent:"center",fontSize:9,fontWeight:800,color:"#0a0a1a"},children:"YOU"}),r.map((e,r)=>(0,t.jsx)("div",{style:{position:"absolute",top:"50%",left:"50%",width:2*e.r,height:2*e.r,borderRadius:"50%",border:`1px solid ${e.color}15`,transform:"translate(-50%,-50%)",animation:i?`spin-ring ${e.speed}s linear infinite`:"none"},children:Array.from({length:e.count}).map((i,n)=>{let o=n/e.count*Math.PI*2,a=Math.round((Math.cos(o)*e.r+e.r)*100)/100,l=Math.round((Math.sin(o)*e.r+e.r)*100)/100;return(0,t.jsx)("div",{style:{position:"absolute",left:a-3,top:l-3,width:6,height:6,borderRadius:"50%",background:e.color,opacity:Number((.6+.4*y(r,n,1)).toFixed(3)),animation:`breathe ${(2+2*y(r,n,2)).toFixed(2)}s ease-in-out infinite ${(2*y(r,n,3)).toFixed(2)}s`}},n)})},r))]})]})})}function p(){let[e,i]=n(),r=[{d:1,label:"Your Connections",desc:"Direct network — scored & tiered",color:"#3498DB",count:150},{d:2,label:"Bridge Connections",desc:"Friends of your bridges",color:"#9B59B6",count:723},{d:3,label:"Extended Reach",desc:"Bridged from promoted D2s",color:"#FFD700",count:null},{d:4,label:"Industry Layer",desc:"Company & sector intelligence",color:"#FF6B35",count:null},{d:5,label:"Market Layer",desc:"Cross-industry connections",color:"#00ff88",count:null},{d:6,label:"Global Reach",desc:"Anyone in the world",color:"#ff5050",count:null}];return(0,t.jsx)("section",{ref:e,style:{padding:"100px 24px",position:"relative"},children:(0,t.jsxs)("div",{style:{maxWidth:1e3,margin:"0 auto"},children:[(0,t.jsxs)("div",{style:{textAlign:"center",marginBottom:80,opacity:+!!i,transform:i?"translateY(0)":"translateY(40px)",transition:"all 1s cubic-bezier(0.16,1,0.3,1)"},children:[(0,t.jsx)("div",{style:{fontSize:11,fontWeight:700,color:"#FF6B35",letterSpacing:3,textTransform:"uppercase",marginBottom:16},children:"Bridge Chains"}),(0,t.jsxs)("h2",{style:{fontSize:44,fontWeight:800,lineHeight:1.15,margin:0},children:[(0,t.jsx)("span",{style:{color:"#fff"},children:"Six Degrees."})," ",(0,t.jsx)("span",{style:{background:"linear-gradient(135deg, #FF6B35, #FFD700)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"Infinite Reach."})]}),(0,t.jsx)("p",{style:{fontSize:17,color:"rgba(255,255,255,0.45)",marginTop:16,maxWidth:560,margin:"16px auto 0"},children:"Every person on Earth is at most 6 connections away. Our chain system maps the exact path from you to anyone."})]}),(0,t.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:0,flexWrap:"wrap"},children:r.map((e,n)=>(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",opacity:+!!i,transform:i?"translateY(0)":"translateY(40px)",transition:`all 0.8s cubic-bezier(0.16,1,0.3,1) ${.1*n+.3}s`},children:[(0,t.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",width:120},children:[(0,t.jsxs)("div",{style:{width:64,height:64,borderRadius:"50%",background:`${e.color}20`,border:`2px solid ${e.color}`,display:"flex",alignItems:"center",justifyContent:"center",fontSize:22,fontWeight:800,color:e.color,boxShadow:`0 0 24px ${e.color}30`,animation:i?`breathe 3s ease-in-out infinite ${.5*n}s`:"none",position:"relative"},children:["D",e.d,e.count&&(0,t.jsx)("span",{style:{position:"absolute",bottom:-8,fontSize:9,fontWeight:700,background:e.color,color:"#000",padding:"2px 6px",borderRadius:10},children:e.count.toLocaleString()})]}),(0,t.jsx)("div",{style:{fontSize:11,fontWeight:700,color:e.color,marginTop:16},children:e.label}),(0,t.jsx)("div",{style:{fontSize:10,color:"#555",marginTop:4,textAlign:"center"},children:e.desc})]}),n<5&&(0,t.jsx)("div",{style:{width:40,height:2,position:"relative",background:`linear-gradient(to right, ${e.color}60, ${r[n+1].color}60)`,opacity:+!!i,transition:`opacity 0.6s ease ${.1*n+.6}s`},children:(0,t.jsx)("div",{style:{position:"absolute",top:-2,width:6,height:6,borderRadius:"50%",background:e.color,animation:i?`travel-dot 2s ease-in-out infinite ${.3*n}s`:"none"}})})]},n))}),(0,t.jsx)("p",{style:{textAlign:"center",fontSize:12,color:"#555",marginTop:40},children:"The counts are the sample network’s, whose people are all invented."})]})})}function g(){let[e,i]=n(),r=[{tier:"S",label:"Supreme",score:"7.5+",color:o.S,glow:"rgba(255,215,0,0.3)",people:"C-Suite, VPs, Founders",icon:"👑"},{tier:"A",label:"Ace",score:"5.5+",color:o.A,glow:"rgba(155,89,182,0.3)",people:"Directors, Senior Leaders",icon:"💎"},{tier:"B",label:"Builder",score:"4.0+",color:o.B,glow:"rgba(52,152,219,0.3)",people:"Managers, Senior ICs",icon:"🔷"},{tier:"C",label:"Connector",score:"2.5+",color:o.C,glow:"rgba(149,165,166,0.2)",people:"Associates, Specialists",icon:"🔸"},{tier:"D",label:"Developing",score:"<2.5",color:o.D,glow:"rgba(189,195,199,0.15)",people:"Entry Level, Students",icon:"🌱"}];return(0,t.jsx)("section",{ref:e,style:{padding:"100px 24px",background:"linear-gradient(180deg, transparent, rgba(52,152,219,0.03), transparent)"},children:(0,t.jsxs)("div",{style:{maxWidth:1100,margin:"0 auto"},children:[(0,t.jsxs)("div",{style:{textAlign:"center",marginBottom:64,opacity:+!!i,transform:i?"translateY(0)":"translateY(40px)",transition:"all 1s cubic-bezier(0.16,1,0.3,1)"},children:[(0,t.jsx)("div",{style:{fontSize:11,fontWeight:700,color:o.A,letterSpacing:3,textTransform:"uppercase",marginBottom:16},children:"Power Score"}),(0,t.jsxs)("h2",{style:{fontSize:44,fontWeight:800,lineHeight:1.15},children:[(0,t.jsx)("span",{style:{color:"#fff"},children:"Every Connection,"})," ",(0,t.jsx)("span",{style:{background:"linear-gradient(135deg, #FFD700, #9B59B6)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"Ranked by Power"})]}),(0,t.jsx)("p",{style:{fontSize:17,color:"rgba(255,255,255,0.45)",marginTop:16,maxWidth:500,margin:"16px auto 0"},children:"Seniority, company prestige, and circle proximity combine into one score."})]}),(0,t.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(190px, 1fr))",gap:16},children:r.map((e,r)=>(0,t.jsxs)("div",{style:{padding:24,borderRadius:16,position:"relative",overflow:"hidden",background:"rgba(255,255,255,0.03)",border:`1px solid ${e.color}25`,opacity:+!!i,transform:i?"translateY(0)":"translateY(40px)",transition:`all 0.8s cubic-bezier(0.16,1,0.3,1) ${.08*r+.2}s`},children:[(0,t.jsx)("div",{style:{position:"absolute",top:-20,right:-20,width:100,height:100,borderRadius:"50%",background:`radial-gradient(circle, ${e.glow}, transparent)`,filter:"blur(20px)"}}),(0,t.jsx)("div",{style:{fontSize:28,marginBottom:8},children:e.icon}),(0,t.jsx)("div",{style:{fontSize:32,fontWeight:900,color:e.color,lineHeight:1,textShadow:`0 0 20px ${e.glow}`},children:e.tier}),(0,t.jsx)("div",{style:{fontSize:13,fontWeight:700,color:"#fff",marginTop:4},children:e.label}),(0,t.jsxs)("div",{style:{fontSize:11,color:"#555",marginTop:2},children:["Score: ",e.score]}),(0,t.jsx)("div",{style:{fontSize:10,color:"rgba(255,255,255,0.35)",marginTop:12,padding:"6px 10px",borderRadius:8,background:"rgba(255,255,255,0.04)"},children:e.people})]},r))}),(0,t.jsx)("p",{style:{textAlign:"center",fontSize:12,color:"#555",marginTop:24},children:"These are the fixed scale’s lines. By default tiers are graded on your own network’s curve: your top 3% are S, the next 12% A."})]})})}function x(){let[e,i]=n(),r=[{title:"Paths",subtitle:"Company Intelligence",desc:"Scan any company on LinkedIn and see every person mapped, scored, and organized by seniority.",color:"#00ff88",icon:"🏢",stat:"19 companies in the sample"},{title:"Outlink",subtitle:"Strategic Action Queue",desc:"Your curated list of high-value D2 connections to request. Grouped by bridge, filtered by tier, with batch-open for efficient networking.",color:"#FF6B35",icon:"🚀",stat:"474 recommendations in the sample"},{title:"XP System",subtitle:"Gamified Networking",desc:"Earn XP for every outreach sent and connection accepted. Higher tier connections = more points. Level up your networking game.",color:"#FFD700",icon:"⚡",stat:"S-Tier = 25 XP"},{title:"Bridge Clusters",subtitle:"Deep Network Mining",desc:"Select any D1 connection as a bridge. Automatically discover and score all their connections — your D2 layer.",color:"#9B59B6",icon:"🔗",stat:"14 bridges in the sample"}];return(0,t.jsx)("section",{ref:e,style:{padding:"100px 24px"},children:(0,t.jsxs)("div",{style:{maxWidth:1100,margin:"0 auto"},children:[(0,t.jsxs)("div",{style:{textAlign:"center",marginBottom:64,opacity:+!!i,transform:i?"translateY(0)":"translateY(40px)",transition:"all 1s cubic-bezier(0.16,1,0.3,1)"},children:[(0,t.jsx)("div",{style:{fontSize:11,fontWeight:700,color:"#00ff88",letterSpacing:3,textTransform:"uppercase",marginBottom:16},children:"Full Arsenal"}),(0,t.jsxs)("h2",{style:{fontSize:44,fontWeight:800},children:[(0,t.jsx)("span",{style:{color:"#fff"},children:"Tools That"})," ",(0,t.jsx)("span",{style:{background:"linear-gradient(135deg, #00ff88, #3498DB)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"Make Moves"})]})]}),(0,t.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(260px, 1fr))",gap:20},children:r.map((e,r)=>(0,t.jsxs)("div",{style:{padding:28,borderRadius:20,position:"relative",overflow:"hidden",background:"rgba(255,255,255,0.02)",border:"1px solid rgba(255,255,255,0.06)",backdropFilter:"blur(12px)",opacity:+!!i,transform:i?"translateY(0)":"translateY(40px)",transition:`all 0.8s cubic-bezier(0.16,1,0.3,1) ${.1*r+.2}s`},children:[(0,t.jsx)("div",{style:{position:"absolute",top:-30,left:-30,width:120,height:120,borderRadius:"50%",background:`radial-gradient(circle, ${e.color}10, transparent)`,filter:"blur(20px)"}}),(0,t.jsx)("div",{style:{fontSize:32,marginBottom:12},children:e.icon}),(0,t.jsx)("div",{style:{fontSize:11,fontWeight:700,color:e.color,letterSpacing:1,textTransform:"uppercase"},children:e.subtitle}),(0,t.jsx)("h3",{style:{fontSize:22,fontWeight:800,color:"#fff",margin:"6px 0 10px"},children:e.title}),(0,t.jsx)("p",{style:{fontSize:13,color:"rgba(255,255,255,0.4)",lineHeight:1.6,margin:0},children:e.desc}),(0,t.jsx)("div",{style:{marginTop:16,padding:"6px 12px",borderRadius:8,background:`${e.color}10`,display:"inline-block",fontSize:11,fontWeight:700,color:e.color},children:e.stat})]},r))})]})})}function h(){let[e,i]=n();return(0,t.jsx)("section",{ref:e,style:{padding:"100px 24px",background:"linear-gradient(180deg, transparent, rgba(155,89,182,0.03), transparent)"},children:(0,t.jsxs)("div",{style:{maxWidth:800,margin:"0 auto",textAlign:"center"},children:[(0,t.jsxs)("div",{style:{opacity:+!!i,transform:i?"translateY(0)":"translateY(40px)",transition:"all 1s cubic-bezier(0.16,1,0.3,1)"},children:[(0,t.jsx)("div",{style:{fontSize:11,fontWeight:700,color:"#555",letterSpacing:3,textTransform:"uppercase",marginBottom:16},children:"The Algorithm"}),(0,t.jsx)("h2",{style:{fontSize:44,fontWeight:800},children:(0,t.jsx)("span",{style:{background:a,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"Power Score Formula"})})]}),(0,t.jsxs)("div",{style:{marginTop:48,padding:40,borderRadius:20,background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.08)",backdropFilter:"blur(24px)",opacity:+!!i,transform:i?"translateY(0) scale(1)":"translateY(30px) scale(0.95)",transition:"all 1s cubic-bezier(0.16,1,0.3,1) 0.2s"},children:[(0,t.jsx)("div",{style:{fontFamily:'"Geist Mono", monospace',fontSize:20,fontWeight:700,background:a,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",marginBottom:32},children:"P = T × (0.45 + 0.055 × C) + R + B"}),(0,t.jsx)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr",gap:24},children:[{sym:"T",label:"Title",desc:"C-suite 10, VP 9, Director 7.5, Manager 6.5",note:"Multiplied by the company",color:o.S},{sym:"C",label:"Company",desc:"Well-known 7–10, else estimated from your network",note:"Weight 0.5 to 1.0",color:o.A},{sym:"R + B",label:"Reach & bridge",desc:"Investor, YC, an audience in the millions; a strong circle",note:"Up to +1.5 and +2",color:o.B}].map((e,r)=>(0,t.jsxs)("div",{style:{padding:16,borderRadius:12,background:`${e.color}08`,opacity:+!!i,transform:i?"translateY(0)":"translateY(20px)",transition:`all 0.8s cubic-bezier(0.16,1,0.3,1) ${.3+.1*r}s`},children:[(0,t.jsx)("div",{style:{fontSize:28,fontWeight:900,color:e.color},children:e.sym}),(0,t.jsx)("div",{style:{fontSize:13,fontWeight:700,color:"#fff",marginTop:4},children:e.label}),(0,t.jsx)("div",{style:{fontSize:10,color:"#555",marginTop:4},children:e.desc}),(0,t.jsx)("div",{style:{fontSize:10,color:e.color,fontWeight:700,marginTop:8},children:e.note})]},r))})]}),(0,t.jsx)("div",{style:{marginTop:32,display:"flex",justifyContent:"center",gap:8,flexWrap:"wrap",opacity:+!!i,transition:"opacity 1s ease 0.6s"},children:[{t:"S",min:7.5,color:o.S},{t:"A",min:5.5,color:o.A},{t:"B",min:4,color:o.B},{t:"C",min:2.5,color:o.C},{t:"D",min:0,color:o.D}].map((e,i)=>(0,t.jsxs)("div",{style:{padding:"8px 16px",borderRadius:10,background:`${e.color}12`,border:`1px solid ${e.color}30`,fontSize:12,fontWeight:700,color:e.color},children:[e.t,"-Tier: ",e.min,"+"]},i))})]})})}function f(){let[e,i]=n();return(0,t.jsxs)("section",{ref:e,style:{padding:"100px 24px",position:"relative",overflow:"hidden"},children:[(0,t.jsx)("div",{style:{position:"absolute",inset:0,opacity:.15*!!i,transition:"opacity 2s ease"},children:Array.from({length:8}).map((e,i)=>(0,t.jsx)("div",{style:{position:"absolute",top:`${12+12*i}%`,left:0,right:0,height:1,background:`linear-gradient(to right, transparent, ${[o.S,o.A,o.B,"#fff"][i%4]}40, transparent)`,animation:`wave ${4+i}s ease-in-out infinite ${.3*i}s`}},i))}),(0,t.jsx)("div",{style:{maxWidth:700,margin:"0 auto",textAlign:"center",position:"relative",zIndex:2},children:(0,t.jsxs)("div",{style:{opacity:+!!i,transform:i?"translateY(0)":"translateY(40px)",transition:"all 1s cubic-bezier(0.16,1,0.3,1)"},children:[(0,t.jsx)("div",{style:{fontSize:11,fontWeight:700,color:"#ff5050",letterSpacing:3,textTransform:"uppercase",marginBottom:16},children:"The Theory"}),(0,t.jsxs)("h2",{style:{fontSize:44,fontWeight:800},children:[(0,t.jsx)("span",{style:{color:"#fff"},children:"Strings Connect"})," ",(0,t.jsx)("span",{style:{background:"linear-gradient(135deg, #ff5050, #FFD700)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"Everything"})]}),(0,t.jsx)("p",{style:{fontSize:17,color:"rgba(255,255,255,0.45)",lineHeight:1.8,marginTop:24,maxWidth:560,margin:"24px auto 0"},children:"In string theory, fundamental particles are vibrating strings connected across dimensions. In social networks, people are nodes connected by invisible strings of trust, proximity, and shared experience."}),(0,t.jsx)("p",{style:{fontSize:17,color:"rgba(255,255,255,0.45)",lineHeight:1.8,marginTop:16,maxWidth:560,margin:"16px auto 0"},children:"Six degrees of separation isn’t just a theory — it’s the architecture of human connection. Every string vibrates with potential. Every bridge shortens the distance."}),(0,t.jsxs)("div",{style:{marginTop:48,padding:"24px 32px",borderRadius:16,background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.06)",fontStyle:"italic",color:"rgba(255,255,255,0.3)",fontSize:15,opacity:+!!i,transition:"opacity 1.5s ease 0.5s"},children:["“Everyone is connected to everyone else by six degrees or fewer. The question isn’t ",(0,t.jsx)("em",{children:"if"})," — it’s ",(0,t.jsx)("em",{children:"through whom"}),".”"]})]})})]})}function u(){let[e,i]=n();return(0,t.jsxs)("section",{ref:e,style:{padding:"100px 24px",textAlign:"center",position:"relative",overflow:"hidden"},children:[(0,t.jsx)("div",{style:{position:"absolute",inset:0,background:"radial-gradient(circle at 50% 80%, rgba(52,152,219,0.06) 0%, transparent 60%)"}}),(0,t.jsxs)("div",{style:{position:"relative",zIndex:2},children:[(0,t.jsxs)("div",{style:{opacity:+!!i,transform:i?"translateY(0) scale(1)":"translateY(40px) scale(0.95)",transition:"all 1.2s cubic-bezier(0.16,1,0.3,1)"},children:[(0,t.jsx)("h2",{style:{fontSize:"clamp(36px, 6vw, 64px)",fontWeight:800,lineHeight:1.1,background:a,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"Map Your Universe"}),(0,t.jsx)("p",{style:{fontSize:18,color:"rgba(255,255,255,0.4)",marginTop:16,maxWidth:480,margin:"16px auto 0"},children:"Your network is your most valuable asset. Start seeing it for what it really is."}),(0,t.jsx)(r.default,{href:"/",style:{display:"inline-block",marginTop:40,padding:"16px 48px",borderRadius:14,fontSize:18,fontWeight:800,background:a,color:"#000",textDecoration:"none",boxShadow:"0 4px 32px rgba(255,215,0,0.3), 0 0 60px rgba(52,152,219,0.15)",animation:i?"cta-glow 3s ease-in-out infinite":"none"},children:"Enter the Galaxy"})]}),(0,t.jsxs)("div",{style:{marginTop:80,paddingTop:40,borderTop:"1px solid rgba(255,255,255,0.05)",display:"flex",justifyContent:"center",gap:32,flexWrap:"wrap",opacity:.4*!!i,transition:"opacity 1.5s ease 0.5s"},children:[(0,t.jsx)("span",{style:{fontSize:12,color:"#444"},children:"Built by Blake Burford"}),(0,t.jsx)("span",{style:{fontSize:12,color:"#444"},children:"Open source · MIT"}),(0,t.jsx)("span",{style:{fontSize:12,color:"#444"},children:"2026"})]})]})]})}function y(e,t,i){let r=43758.5453*Math.sin((e+1)*12.9898+(t+1)*78.233+37.719*i);return r-Math.floor(r)}e.s(["default",0,function(){return(0,t.jsxs)("div",{style:{background:"#0a0a1a",color:"#fff",overflowX:"hidden"},children:[(0,t.jsx)("style",{children:`
2
2
  @keyframes pulse-dot {
3
3
  0%, 100% { opacity: 1; transform: scale(1); }
4
4
  50% { opacity: 0.4; transform: scale(0.6); }
@@ -41,4 +41,4 @@
41
41
  h2 { font-size: 28px !important; }
42
42
  .chain-row { flex-direction: column !important; }
43
43
  }
44
- `}),(0,t.jsx)(s,{}),(0,t.jsx)(c,{}),(0,t.jsx)(d,{}),(0,t.jsx)(p,{}),(0,t.jsx)(u,{}),(0,t.jsx)(f,{}),(0,t.jsx)(g,{}),(0,t.jsx)(h,{}),(0,t.jsx)(x,{})]})}],10706)},22016,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return y},useLinkStatus:function(){return b}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(90809),a=e.r(43476),l=o._(e.r(71645)),s=e.r(95057),c=e.r(8372),d=e.r(18581),p=e.r(18967),u=e.r(5550),f=e.r(88540),g=e.r(91949),h=e.r(73668),x=e.r(9396);function y(t){var r;let n,i,o,[y,b]=(0,l.useOptimistic)(g.IDLE_LINK_STATUS),v=(0,l.useRef)(null),{href:j,as:S,children:k,prefetch:w=null,passHref:T,replace:z,shallow:C,scroll:B,onClick:W,onMouseEnter:A,onTouchStart:R,legacyBehavior:E=!1,onNavigate:P,transitionTypes:F,ref:D,unstable_dynamicOnHover:I,...$}=t;n=k,E&&("string"==typeof n||"number"==typeof n)&&(n=(0,a.jsx)("a",{children:n}));let M=l.default.useContext(c.AppRouterContext),Y=!1!==w,O=!1===w?"none":!0===w?"full":"auto",_="none"!==O?"auto"===O?x.FetchStrategy.PPR:x.FetchStrategy.Full:x.FetchStrategy.PPR,L="string"==typeof(r=S||j)?r:(0,s.formatUrl)(r);if(E){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});i=l.default.Children.only(n)}let N=E?i&&"object"==typeof i&&i.ref:D,U,H=l.default.useCallback(e=>(null!==M&&(v.current=(0,g.mountLinkInstance)(e,L,M,_,Y,b,U)),()=>{v.current&&((0,g.unmountLinkForCurrentNavigation)(v.current),v.current=null),(0,g.unmountPrefetchableInstance)(e)}),[Y,L,M,_,b,U]),X={ref:(0,d.useMergedRef)(H,N),onClick(t){E||"function"!=typeof W||W(t),E&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(t),!M||t.defaultPrevented||function(t,r,n,i,o,a,s,c="none"){if("u">typeof window){let d,{nodeName:p}=t.currentTarget;if("A"===p.toUpperCase()&&((d=t.currentTarget.getAttribute("target"))&&"_self"!==d||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(r)){i&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:u}=e.r(99781);l.default.startTransition(()=>{u(r,i?"replace":"push",!1===o?f.ScrollBehavior.NoScroll:f.ScrollBehavior.Default,n.current,s,c)})}}(t,L,v,z,B,P,F,O)},onMouseEnter(e){E||"function"!=typeof A||A(e),E&&i.props&&"function"==typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),M&&Y&&(0,g.onNavigationIntent)(e.currentTarget,!0===I)},onTouchStart:function(e){E||"function"!=typeof R||R(e),E&&i.props&&"function"==typeof i.props.onTouchStart&&i.props.onTouchStart(e),M&&Y&&(0,g.onNavigationIntent)(e.currentTarget,!0===I)}};return(0,p.isAbsoluteUrl)(L)?X.href=L:E&&!T&&("a"!==i.type||"href"in i.props)||(X.href=(0,u.addBasePath)(L)),o=E?l.default.cloneElement(i,X):(0,a.jsx)("a",{...$,...X,children:n}),(0,a.jsx)(m.Provider,{value:y,children:o})}let m=(0,l.createContext)(g.IDLE_LINK_STATUS),b=()=>(0,l.useContext)(m);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},18581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return i}});let n=e.r(71645);function i(e,t){let r=(0,n.useRef)(null),i=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(r.current=o(e,n)),t&&(i.current=o(t,n))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},18967,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return j},MissingStaticPage:function(){return v},NormalizeError:function(){return m},PageNotFoundError:function(){return b},SP:function(){return h},ST:function(){return x},WEB_VITALS:function(){return o},execOnce:function(){return a},getDisplayName:function(){return p},getLocationOrigin:function(){return c},getURL:function(){return d},isAbsoluteUrl:function(){return s},isResSent:function(){return u},loadGetInitialProps:function(){return g},normalizeRepeatedSlashes:function(){return f},stringifyError:function(){return S}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=["CLS","FCP","FID","INP","LCP","TTFB"];function a(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let l=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,s=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&l.test(e)};function c(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function d(){let{href:e}=window.location,t=c();return e.substring(t.length)}function p(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function u(e){return e.finished||e.headersSent}function f(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function g(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await g(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&u(r))return n;if(!n)throw Object.defineProperty(Error(`"${p(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let h="u">typeof performance,x=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class y extends Error{}class m extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class v extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class j extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function S(e){return JSON.stringify({message:e.message,stack:e.stack})}},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=e.r(18967),i=e.r(52817);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,i.hasBasePath)(r.pathname)}catch(e){return!1}}},98183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return s},searchParamsToUrlQuery:function(){return o},urlQueryToSearchParams:function(){return l}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});function o(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function a(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function l(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,a(e));else t.set(r,a(n));return t}function s(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},95057,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return l},formatWithValidation:function(){return c},urlObjectKeys:function(){return s}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(90809)._(e.r(98183)),a=/https?|ftp|gopher|file/;function l(e){let{auth:t,hostname:r}=e,n=e.protocol||"",i=e.pathname||"",l=e.hash||"",s=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),s&&"object"==typeof s&&(s=String(o.urlQueryToSearchParams(s)));let d=e.search||s&&`?${s}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||a.test(n))&&!1!==c?(c="//"+(c||""),i&&"/"!==i[0]&&(i="/"+i)):c||(c=""),l&&"#"!==l[0]&&(l="#"+l),d&&"?"!==d[0]&&(d="?"+d),i=i.replace(/[?#]/g,encodeURIComponent),d=d.replace("#","%23"),`${n}${c}${i}${d}${l}`}let s=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return l(e)}}]);
44
+ `}),(0,t.jsx)(s,{}),(0,t.jsx)(c,{}),(0,t.jsx)(d,{}),(0,t.jsx)(p,{}),(0,t.jsx)(g,{}),(0,t.jsx)(x,{}),(0,t.jsx)(h,{}),(0,t.jsx)(f,{}),(0,t.jsx)(u,{})]})}],10706)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,94657,e=>{"use strict";var t=e.i(43476),o=e.i(71645),n=e.i(7837);let r=e=>`${e.name} ${e.was} → ${e.estimated?"estimated":e.now}`,a=e=>({padding:"6px 12px",borderRadius:7,cursor:"pointer",fontSize:12,fontWeight:700,border:e?"none":"1px solid rgba(255,255,255,0.15)",background:e?"linear-gradient(135deg, #00ff88, #3498DB)":"transparent",color:e?"#000":"#cfd8d8"});function i({onAnswered:e}){var s;let l,c,[d,u]=(0,o.useState)(null),[p,h]=(0,o.useState)(!1),[g,f]=(0,o.useState)(()=>new Set),[y,m]=(0,o.useState)(!1),[b,x]=(0,o.useState)(null);if((0,o.useEffect)(()=>{if((0,n.csvNetworkSource)())return;let e=!1;return fetch("/api/company-scores/legacy").then(e=>e.json()).then(t=>{!e&&t.offer?.companies?.length&&(u(t.offer),f(new Set(t.offer.companies.map(e=>e.name))))}).catch(()=>{}),()=>{e=!0}},[]),!d)return null;let w=async t=>{m(!0),x(null);try{let o=await fetch("/api/company-scores/legacy",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({keep:t})}),n=await o.json();if(!o.ok&&!n.kept)throw Error(n.error||"Could not save your answer.");u(null),e?.({kept:n.kept||[],scored:n.scored||0,error:o.ok?null:n.error})}catch(e){x(e.message)}finally{m(!1)}};return(0,t.jsxs)("section",{"aria-label":"Built-in scores changed",style:{marginBottom:14,padding:14,borderRadius:10,border:"1px solid rgba(255,215,0,0.35)",background:"rgba(255,215,0,0.06)",fontSize:12.5,color:"#cfd8d8",lineHeight:1.6},children:[(0,t.jsx)("b",{style:{color:"#fff"},children:"Built-in scores changed in this version:"})," ",(l=(s=d.companies).slice(0,3).map(r).join(", "),(c=s.length-3)>0?`${l} and ${c} more`:l),"."," ","Keep any of the old ones as your own?",(0,t.jsx)("div",{style:{marginTop:4,color:"#8b9a9a"},children:"The built-in list now holds only companies most professionals would recognise, scored the same for everyone; anything else is estimated from your network. A score you keep is yours, like one you set below, and Auto hands it back."}),p&&(0,t.jsx)("ul",{style:{listStyle:"none",padding:0,margin:"10px 0 0",display:"grid",gap:4},children:d.companies.map(e=>(0,t.jsx)("li",{children:(0,t.jsxs)("label",{style:{display:"flex",gap:8,alignItems:"baseline",cursor:"pointer"},children:[(0,t.jsx)("input",{type:"checkbox",checked:g.has(e.name),disabled:y,onChange:()=>{let t;return t=e.name,f(e=>{let o=new Set(e);return o.has(t)?o.delete(t):o.add(t),o})}}),(0,t.jsxs)("span",{children:[(0,t.jsx)("b",{style:{color:"#fff"},children:e.name})," ",e.was," → ",e.estimated?`estimated (${e.now})`:e.now,(0,t.jsxs)("span",{style:{color:"#778"},children:[` \xb7 ${e.people} ${1===e.people?"person":"people"} there now`,e.names.length>1&&` \xb7 for ${e.names.join(", ")}`]})]})]})},e.name))}),(0,t.jsxs)("div",{style:{display:"flex",gap:8,marginTop:10,flexWrap:"wrap"},children:[p?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{disabled:y||!g.size,onClick:()=>w([...g]),style:{...a(!0),opacity:y||!g.size?.5:1},children:["Keep ",g.size," ",1===g.size?"score":"scores"]}),(0,t.jsx)("button",{disabled:y,onClick:()=>h(!1),style:a(!1),children:"Back"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{disabled:y,onClick:()=>w(d.companies.map(e=>e.name)),style:a(!0),children:"Keep all"}),(0,t.jsx)("button",{disabled:y,onClick:()=>h(!0),style:a(!1),children:"Choose…"})]}),(0,t.jsx)("button",{disabled:y,onClick:()=>w([]),style:a(!1),children:"No thanks"})]}),b&&(0,t.jsx)("div",{role:"alert",style:{marginTop:8,color:"#e74c3c"},children:b})]})}let s="1px solid rgba(255,255,255,0.1)",l={yours:{label:"your score",color:"#00ff88"},known:{label:"known list",color:"#3498DB"},data:{label:"public data",color:"#1abc9c"},network:{label:"estimated: many of your people",color:"#FF6B35"},default:{label:"unknown company",color:"#778"}};async function c(){let e=await fetch("/api/company-scores"),t=await e.json();if(!e.ok)throw Error(t.error||"Could not load company scores");return t.companies}function d(){let[e,t]=(0,o.useState)(null),[n,r]=(0,o.useState)(null);return(0,o.useEffect)(()=>{let e=!1;return c().then(o=>{e||t(o)}).catch(t=>{e||r(t.message)}),()=>{e=!0}},[]),{companies:e,error:n,setScore:(0,o.useCallback)(async(e,o)=>{let n=await fetch("/api/company-scores",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:e,score:o})}),r=await n.json();if(!n.ok)throw Error(r.error||"Could not save");return t(await c()),r},[]),reload:(0,o.useCallback)(async()=>t(await c()),[])}}function u({company:e,onSet:n,compact:r}){let[a,i]=(0,o.useState)(!1),l=async t=>{i(!0);try{await n(e.name,"auto"===t?null:Number(t))}finally{i(!1)}};return(0,t.jsxs)("select",{disabled:a,value:"yours"===e.source?String(e.score):"auto",onChange:e=>l(e.target.value),title:"Set this company's score. Auto uses the known list or an estimate.",style:{padding:r?"2px 4px":"4px 6px",borderRadius:6,border:s,background:"#11131c",color:"#dfe6e9",fontSize:12},children:[(0,t.jsxs)("option",{value:"auto",children:["Auto (","yours"===e.source?e.suggested??"est.":e.score,")"]}),[10,9,8,7,6,5,4,3,2,1].map(e=>(0,t.jsx)("option",{value:e,children:e},e))]})}e.s(["ScorePicker",0,u,"default",0,function({onRescored:e,version:n=0}){let{companies:r,error:a,setScore:c,reload:p}=d();(0,o.useEffect)(()=>{n&&p().catch(()=>{})},[n,p]);let[h,g]=(0,o.useState)(""),[f,y]=(0,o.useState)("all"),[m,b]=(0,o.useState)(150),[x,w]=(0,o.useState)(null),k=e=>{w(e),setTimeout(()=>w(null),3500)},v=async(t,o)=>{let n=await c(t,o);k(`${t}: ${null==o?"back to auto":`set to ${o}`} \xb7 rescored ${n.scored} people`),e?.()},j=async({kept:t,scored:o,error:n})=>{if(!t.length)return k("Keeping the new built-in scores.");k(n||`Kept ${t.length} old ${1===t.length?"score":"scores"} as your own \xb7 rescored ${o} people`),await p().catch(()=>{}),e?.()},S=(0,o.useMemo)(()=>{if(!r)return[];let e=h.trim().toLowerCase();return r.filter(t=>(!e||t.name.toLowerCase().includes(e))&&("all"===f||t.source===f))},[r,h,f]);if(a)return(0,t.jsx)("div",{style:{padding:24,color:"#e74c3c"},children:a});if(!r)return(0,t.jsx)("div",{style:{padding:24,color:"#778"},children:"Loading companies…"});let C=e=>r.filter(t=>t.source===e).length;return(0,t.jsxs)("div",{style:{flex:1,overflow:"auto",padding:16},children:[(0,t.jsxs)("div",{style:{maxWidth:980,margin:"0 auto"},children:[(0,t.jsx)(i,{onAnswered:j}),(0,t.jsxs)("div",{style:{padding:14,borderRadius:10,border:s,background:"rgba(255,255,255,0.03)",fontSize:12.5,color:"#cfd8d8",lineHeight:1.6},children:[(0,t.jsx)("b",{style:{color:"#fff"},children:"How a power score works."})," power = ",(0,t.jsx)("b",{children:"title"})," × ",(0,t.jsx)("b",{children:"company weight"})," + bonus. The title (student 1 … founder or C-suite 10) comes from someone’s roles, with former roles at 70%; an audience of their own counts like a title (1M+ followers like a director). The company weight runs from 0.725 for a company we don’t know (or none found), the middle of the scale, to 1.0 (a company scored 10), so seniority counts for more at a bigger company. The bonus is at most +1.5, for investor, YC, an audience in the millions or the top award of any field, and counts half at an unknown company. A 1st-degree person whose circle is unusually strong gets up to +2 more: up to +1 for a high share of it at A or S, or +1 for every 25 people there. Tiers are graded on your network’s curve unless you choose the fixed scale (",(0,t.jsx)("a",{href:"#tiers",style:{color:"#3498DB"},children:"Tiers"}),", above): your top 3% are S, the next 12% A, the next 25% B (it only lifts, and never lifts anyone under 4 into S or A). On the fixed scale, S ≥ 7.5 · A ≥ 5.5 · B ≥ 4 · C ≥ 2.5.",(0,t.jsxs)("div",{style:{marginTop:6,color:"#8b9a9a"},children:["So a VP at a 10 scores 9.0, a founder at an unknown company 7.3, a director at an unknown company 5.4, and an intern at a 10 scores 2.0. Set a company’s score below and everyone there is rescored. Companies in the sectors you pick (",(0,t.jsx)("a",{href:"#sector",style:{color:"#3498DB"},children:"Your sector"}),", above) get +1 or +2; a score you set is never changed."]})]}),(0,t.jsxs)("div",{style:{display:"flex",gap:8,alignItems:"center",flexWrap:"wrap",margin:"14px 0 10px"},children:[(0,t.jsx)("input",{value:h,onChange:e=>g(e.target.value),placeholder:"Find a company",style:{padding:"6px 10px",borderRadius:7,border:s,background:"rgba(255,255,255,0.05)",color:"#fff",fontSize:13,minWidth:180}}),[["all",`All ${r.length}`],["known",`Known list ${C("known")}`],["data",`Public data ${C("data")}`],["yours",`Yours ${C("yours")}`],["network",`Estimated ${C("network")}`],["default",`Unknown ${C("default")}`]].map(([e,o])=>(0,t.jsx)("button",{onClick:()=>y(e),style:{padding:"5px 10px",borderRadius:7,border:s,cursor:"pointer",fontSize:11.5,fontWeight:600,background:f===e?"rgba(52,152,219,0.25)":"transparent",color:f===e?"#cfe6f7":"#8b9a9a"},children:o},e))]}),(0,t.jsxs)("div",{style:{borderRadius:10,border:s,overflow:"hidden"},children:[(0,t.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 70px 70px 70px 60px 180px 110px",gap:8,padding:"8px 12px",fontSize:10.5,letterSpacing:.6,color:"#8b9a9a",background:"rgba(255,255,255,0.04)"},children:[(0,t.jsx)("span",{children:"COMPANY"}),(0,t.jsx)("span",{style:{textAlign:"right"},children:"PEOPLE"}),(0,t.jsx)("span",{style:{textAlign:"right"},children:"YOU KNOW"}),(0,t.jsx)("span",{style:{textAlign:"right"},children:"DIRECTOR+"}),(0,t.jsx)("span",{style:{textAlign:"right"},children:"SCORE"}),(0,t.jsx)("span",{children:"SOURCE"}),(0,t.jsx)("span",{children:"SET"})]}),S.slice(0,m).map(e=>(0,t.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 70px 70px 70px 60px 180px 110px",gap:8,padding:"7px 12px",alignItems:"center",borderTop:"1px solid rgba(255,255,255,0.05)",fontSize:12.5},children:[(0,t.jsxs)("span",{style:{display:"flex",alignItems:"center",gap:8,minWidth:0},children:[(0,t.jsx)("span",{title:`${e.industry.label} (inferred)`,style:{width:8,height:8,borderRadius:"50%",background:e.industry.color,flexShrink:0}}),(0,t.jsx)("span",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.name})]}),(0,t.jsx)("span",{style:{textAlign:"right"},children:e.people}),(0,t.jsx)("span",{style:{textAlign:"right",color:e.d1?"#00ff88":"#556"},children:e.d1}),(0,t.jsx)("span",{style:{textAlign:"right",color:e.senior?"#FFD700":"#556"},children:e.senior}),(0,t.jsx)("b",{style:{textAlign:"right",fontSize:15},children:e.score}),(0,t.jsxs)("span",{style:{fontSize:11,color:l[e.source]?.color},children:[l[e.source]?.label,e.sectorBonus>0&&(0,t.jsxs)("span",{style:{color:"#00ff88"},children:[" + ",e.sectorBonus," your sector"]})]}),(0,t.jsx)(u,{company:e,onSet:v,compact:!0})]},e.name))]}),S.length>m&&(0,t.jsxs)("button",{onClick:()=>b(e=>e+300),style:{marginTop:10,padding:"7px 14px",borderRadius:8,border:s,background:"rgba(255,255,255,0.05)",color:"#dfe6e9",cursor:"pointer",fontSize:12},children:["Show more (",S.length-m," left)"]})]}),x&&(0,t.jsx)("div",{role:"status",style:{position:"fixed",bottom:24,left:"50%",transform:"translateX(-50%)",padding:"10px 18px",borderRadius:24,background:"linear-gradient(135deg, #00ff88, #3498DB)",color:"#000",fontWeight:800,fontSize:13,zIndex:50},children:x})]})},"useCompanyScores",0,d],94657)},2776,e=>{"use strict";var t=e.i(43476),o=e.i(15812);e.s(["default",0,function({children:e}){let{userId:n,ready:r}=(0,o.useUser)();return r&&n?e:(0,t.jsx)("div",{style:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",background:"#0a0a1a",color:"#fff",padding:24,textAlign:"center",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'},children:r?(0,t.jsxs)("div",{style:{maxWidth:420},children:[(0,t.jsx)("div",{style:{fontSize:18,fontWeight:700,marginBottom:8},children:"Can’t reach Six Degrees’ local server"}),(0,t.jsx)("div",{style:{color:"#888",fontSize:14,lineHeight:1.6},children:"The page loaded but the app behind it is not answering. If you started it from a terminal, check that window for an error, then reload this page."})]}):(0,t.jsx)("div",{style:{fontSize:18,fontWeight:600},children:"Loading…"})})}])},89154,e=>{"use strict";var t=e.i(90179);function o(e){let o=(0,t.readTitle)(e);return{key:o.key,label:o.label,level:o.level}}function n(e){return(0,t.currentCompany)(e)}let r=[{key:"defense",label:"Government, Defense & Aerospace",color:"#7f8c8d",words:/\b(government|federal|state of|county|city of|defen[cs]e|army|navy|air force|marine corps|military|dod|nasa|aerospace|lockheed|northrop|boeing|raytheon|l3harris|leidos|blue origin|spacex|public sector)\b/i},{key:"finance",label:"Finance & Investing",color:"#2ecc71",words:/\b(bank|banking|capital|ventures?|vc|investments?|investor|fund|private equity|growth equity|asset management|wealth|trading|trader|hedge|crypto|blockchain|web3|defi|fintech|stripe|coinbase|blackrock|robinhood|goldman|morgan stanley|jpmorgan|chase|bny|mellon|wells fargo|citi|citigroup|capital one|fidelity|vanguard|schwab|visa|mastercard|amex|american express|paypal|insurance|accounting|cpa|financial)\b/i},{key:"health",label:"Healthcare & Biotech",color:"#e74c3c",words:/\b(health|healthcare|medical|medicine|hospital|clinic|pharma|pharmaceutical|biotech|nurse|nursing|physician|doctor|dental|therapy|therapist|wellness)\b/i},{key:"education",label:"Education",color:"#f1c40f",words:/\b(university|college|school|education|student|professor|teacher|academy|phd|faculty|alumni)\b/i},{key:"media",label:"Marketing & Media",color:"#e67e22",words:/\b(marketing|brand|branding|advertising|agency|media|content|social media|creative|creator|influencer|pr|public relations|communications|tiktok|pinterest|youtube|growth marketing)\b/i},{key:"entertainment",label:"Entertainment & Gaming",color:"#9b59b6",words:/\b(entertainment|film|movie|music|records|gaming|games?|esports|studio|studios|netflix|disney|spotify|hollywood|theater|theatre|sports)\b/i},{key:"tech",label:"Tech, Software & AI",color:"#3498db",words:/\b(software|saas|engineer|engineering|developer|tech|technology|technologies|ai|artificial intelligence|machine learning|ml|data|cloud|cyber|security|devops|product manager|google|microsoft|apple|meta|amazon|nvidia|openai|anthropic|palantir|salesforce|oracle|ibm|intel|app|apps|startup|platform|labs?)\b/i},{key:"consulting",label:"Consulting, Legal & Services",color:"#1abc9c",words:/\b(consulting|consultant|consultancy|deloitte|accenture|mckinsey|kpmg|pwc|ey|bain|bcg|legal|law|lawyer|attorney|paralegal|recruiting|recruiter|staffing|talent)\b/i},{key:"realestate",label:"Real Estate & Construction",color:"#d35400",words:/\b(real estate|realtor|realty|property|properties|construction|architecture|architect|mortgage|homes|housing|builders?)\b/i},{key:"consumer",label:"Retail, Consumer & Hospitality",color:"#ff79c6",words:/\b(retail|e-?commerce|shopify|consumer|cpg|fashion|apparel|beauty|cosmetics|food|beverage|restaurant|hospitality|hotel|travel|tourism|coca-cola|nike|store|shop)\b/i},{key:"industry",label:"Manufacturing, Energy & Logistics",color:"#95a5a6",words:/\b(manufacturing|energy|oil|gas|solar|utilities|automotive|tesla|siemens|ge|general electric|honeywell|3m|logistics|supply chain|shipping|freight|fedex|ups|industrial|mining|chemicals?)\b/i},{key:"nonprofit",label:"Nonprofit & Community",color:"#bdc3c7",words:/\b(nonprofit|non-profit|foundation|charity|ngo|church|ministry|volunteer)\b/i}],a={key:"unknown",label:"Unclear",color:"#555c66"},i=Object.fromEntries([...r,a].map(e=>[e.key,e])),s=e=>i[e]||a;function l(e,t){for(let o of[e,t]){if(!o)continue;let e=r.find(e=>e.words.test(o));if(e)return e}return a}let c=(e,t)=>l(e,t).key,d=e=>o(e).level>=4;e.s(["INDUSTRIES",0,r,"UNKNOWN_INDUSTRY",0,a,"buildCompanyIndex",0,function(e=[]){let o=new Map,n=e=>(o.has(e)||o.set(e,(0,t.rolesWithCompanies)(e)),o.get(e)),{industries:r}=(0,t.networkCompanies)(e,{industryOf:c,rolesOf:n}),a=new Map;for(let t of e){let e=t.profile_url||`id:${t.id}`,o=a.get(e);(!o||(t.degree||9)<(o.degree||9))&&a.set(e,t)}let i=new Map;for(let e of a.values()){let t=n(e).find(e=>!e.former)?.company;if(!t)continue;let o=i.get(t);o||(o={name:t,people:[],d1:0,d2:0,d3:0,S:0,A:0,senior:0},i.set(t,o)),o.people.push(e),1===e.degree?o.d1++:2===e.degree?o.d2++:o.d3++,"S"===e.tier&&o.S++,"A"===e.tier&&o.A++,d(e.headline)&&o.senior++}for(let e of i.values())e.industry=s(r.get(e.name));return i},"companyLinks",0,function(e=[],t=[]){let o=new Map;for(let t of e){let e=n(t);e&&o.set(t.id,e)}let r=new Map;for(let e of t){let t=o.get(e.source_connection_id),a=n(e);if(!t||!a||t===a)continue;let[i,s]=t<a?[t,a]:[a,t],l=`${i}\u0000${s}`,c=r.get(l);c||(c={a:i,b:s,weight:0,via:new Set},r.set(l,c)),c.weight++,c.via.add(e.source_connection_id)}return[...r.values()]},"companyOf",0,n,"getSeniority",0,o,"industryByKey",0,s,"industryOf",0,l,"isSenior",0,d,"waysInto",0,function(e,t=[],o=[]){let r=t.filter(t=>n(t)===e),a=new Map;for(let t of o)n(t)===e&&a.set(t.source_connection_id,(a.get(t.source_connection_id)||0)+1);let i=new Map(t.map(e=>[e.id,e]));return{direct:r,bridges:[...a.entries()].map(([e,t])=>({bridge:i.get(e),n:t})).filter(e=>e.bridge).sort((e,t)=>t.n-e.n||(Number(t.bridge.power_score)||0)-(Number(e.bridge.power_score)||0))}}])},19821,e=>{"use strict";async function t(e){let t=e?`/api/network?userId=${encodeURIComponent(e)}`:"/api/network",o=await fetch(t);if(!o.ok)throw Error(`Failed to load network (${o.status})`);let n=await o.json();return{degree1:n.degree1||[],degree2:n.degree2||[],degree3:n.degree3||[],ties:Number(n.ties)||0}}e.s(["loadNetwork",0,t])},36774,e=>{"use strict";let t=/^[A-Za-z0-9_-]+\.(webp|jpg|jpeg|png)$/,o="/avatars/";e.s(["localPhoto",0,function(e){return"string"==typeof e&&e.startsWith(o)&&t.test(e.slice(o.length))?e:null}])},18566,(e,t,o)=>{t.exports=e.r(76562)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,94657,e=>{"use strict";var t=e.i(43476),n=e.i(71645),r=e.i(7837);let o=e=>`${e.name} ${e.was} → ${e.estimated?"estimated":e.now}`,i=e=>({padding:"6px 12px",borderRadius:7,cursor:"pointer",fontSize:12,fontWeight:700,border:e?"none":"1px solid rgba(255,255,255,0.15)",background:e?"linear-gradient(135deg, #00ff88, #3498DB)":"transparent",color:e?"#000":"#cfd8d8"});function s({onAnswered:e}){var a;let l,c,[d,u]=(0,n.useState)(null),[p,h]=(0,n.useState)(!1),[g,f]=(0,n.useState)(()=>new Set),[y,m]=(0,n.useState)(!1),[b,x]=(0,n.useState)(null);if((0,n.useEffect)(()=>{if((0,r.csvNetworkSource)())return;let e=!1;return fetch("/api/company-scores/legacy").then(e=>e.json()).then(t=>{!e&&t.offer?.companies?.length&&(u(t.offer),f(new Set(t.offer.companies.map(e=>e.name))))}).catch(()=>{}),()=>{e=!0}},[]),!d)return null;let w=async t=>{m(!0),x(null);try{let n=await fetch("/api/company-scores/legacy",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({keep:t})}),r=await n.json();if(!n.ok&&!r.kept)throw Error(r.error||"Could not save your answer.");u(null),e?.({kept:r.kept||[],scored:r.scored||0,error:n.ok?null:r.error})}catch(e){x(e.message)}finally{m(!1)}};return(0,t.jsxs)("section",{"aria-label":"Built-in scores changed",style:{marginBottom:14,padding:14,borderRadius:10,border:"1px solid rgba(255,215,0,0.35)",background:"rgba(255,215,0,0.06)",fontSize:12.5,color:"#cfd8d8",lineHeight:1.6},children:[(0,t.jsx)("b",{style:{color:"#fff"},children:"Built-in scores changed in this version:"})," ",(l=(a=d.companies).slice(0,3).map(o).join(", "),(c=a.length-3)>0?`${l} and ${c} more`:l),"."," ","Keep any of the old ones as your own?",(0,t.jsx)("div",{style:{marginTop:4,color:"#8b9a9a"},children:"The built-in list now holds only companies most professionals would recognise, scored the same for everyone; anything else is estimated from your network. A score you keep is yours, like one you set below, and Auto hands it back."}),p&&(0,t.jsx)("ul",{style:{listStyle:"none",padding:0,margin:"10px 0 0",display:"grid",gap:4},children:d.companies.map(e=>(0,t.jsx)("li",{children:(0,t.jsxs)("label",{style:{display:"flex",gap:8,alignItems:"baseline",cursor:"pointer"},children:[(0,t.jsx)("input",{type:"checkbox",checked:g.has(e.name),disabled:y,onChange:()=>{let t;return t=e.name,f(e=>{let n=new Set(e);return n.has(t)?n.delete(t):n.add(t),n})}}),(0,t.jsxs)("span",{children:[(0,t.jsx)("b",{style:{color:"#fff"},children:e.name})," ",e.was," → ",e.estimated?`estimated (${e.now})`:e.now,(0,t.jsxs)("span",{style:{color:"#778"},children:[` \xb7 ${e.people} ${1===e.people?"person":"people"} there now`,e.names.length>1&&` \xb7 for ${e.names.join(", ")}`]})]})]})},e.name))}),(0,t.jsxs)("div",{style:{display:"flex",gap:8,marginTop:10,flexWrap:"wrap"},children:[p?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{disabled:y||!g.size,onClick:()=>w([...g]),style:{...i(!0),opacity:y||!g.size?.5:1},children:["Keep ",g.size," ",1===g.size?"score":"scores"]}),(0,t.jsx)("button",{disabled:y,onClick:()=>h(!1),style:i(!1),children:"Back"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{disabled:y,onClick:()=>w(d.companies.map(e=>e.name)),style:i(!0),children:"Keep all"}),(0,t.jsx)("button",{disabled:y,onClick:()=>h(!0),style:i(!1),children:"Choose…"})]}),(0,t.jsx)("button",{disabled:y,onClick:()=>w([]),style:i(!1),children:"No thanks"})]}),b&&(0,t.jsx)("div",{role:"alert",style:{marginTop:8,color:"#e74c3c"},children:b})]})}let a="1px solid rgba(255,255,255,0.1)",l={yours:{label:"your score",color:"#00ff88"},known:{label:"known list",color:"#3498DB"},data:{label:"public data",color:"#1abc9c"},network:{label:"estimated: many of your people",color:"#FF6B35"},default:{label:"unknown company",color:"#778"}};async function c(){let e=await fetch("/api/company-scores"),t=await e.json();if(!e.ok)throw Error(t.error||"Could not load company scores");return t.companies}function d(){let[e,t]=(0,n.useState)(null),[r,o]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=!1;return c().then(n=>{e||t(n)}).catch(t=>{e||o(t.message)}),()=>{e=!0}},[]),{companies:e,error:r,setScore:(0,n.useCallback)(async(e,n)=>{let r=await fetch("/api/company-scores",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:e,score:n})}),o=await r.json();if(!r.ok)throw Error(o.error||"Could not save");return t(await c()),o},[]),reload:(0,n.useCallback)(async()=>t(await c()),[])}}function u({company:e,onSet:r,compact:o}){let[i,s]=(0,n.useState)(!1),l=async t=>{s(!0);try{await r(e.name,"auto"===t?null:Number(t))}finally{s(!1)}};return(0,t.jsxs)("select",{disabled:i,value:"yours"===e.source?String(e.score):"auto",onChange:e=>l(e.target.value),title:"Set this company's score. Auto uses the known list or an estimate.",style:{padding:o?"2px 4px":"4px 6px",borderRadius:6,border:a,background:"#11131c",color:"#dfe6e9",fontSize:12},children:[(0,t.jsxs)("option",{value:"auto",children:["Auto (","yours"===e.source?e.suggested??"est.":e.score,")"]}),[10,9,8,7,6,5,4,3,2,1].map(e=>(0,t.jsx)("option",{value:e,children:e},e))]})}e.s(["ScorePicker",0,u,"default",0,function({onRescored:e,version:r=0}){let{companies:o,error:i,setScore:c,reload:p}=d();(0,n.useEffect)(()=>{r&&p().catch(()=>{})},[r,p]);let[h,g]=(0,n.useState)(""),[f,y]=(0,n.useState)("all"),[m,b]=(0,n.useState)(150),[x,w]=(0,n.useState)(null),S=e=>{w(e),setTimeout(()=>w(null),3500)},k=async(t,n)=>{let r=await c(t,n);S(`${t}: ${null==n?"back to auto":`set to ${n}`} \xb7 rescored ${r.scored} people`),e?.()},v=async({kept:t,scored:n,error:r})=>{if(!t.length)return S("Keeping the new built-in scores.");S(r||`Kept ${t.length} old ${1===t.length?"score":"scores"} as your own \xb7 rescored ${n} people`),await p().catch(()=>{}),e?.()},j=(0,n.useMemo)(()=>{if(!o)return[];let e=h.trim().toLowerCase();return o.filter(t=>(!e||t.name.toLowerCase().includes(e))&&("all"===f||t.source===f))},[o,h,f]);if(i)return(0,t.jsx)("div",{style:{padding:24,color:"#e74c3c"},children:i});if(!o)return(0,t.jsx)("div",{style:{padding:24,color:"#778"},children:"Loading companies…"});let C=e=>o.filter(t=>t.source===e).length;return(0,t.jsxs)("div",{style:{flex:1,overflow:"auto",padding:16},children:[(0,t.jsxs)("div",{style:{maxWidth:980,margin:"0 auto"},children:[(0,t.jsx)(s,{onAnswered:v}),(0,t.jsxs)("div",{style:{padding:14,borderRadius:10,border:a,background:"rgba(255,255,255,0.03)",fontSize:12.5,color:"#cfd8d8",lineHeight:1.6},children:[(0,t.jsx)("b",{style:{color:"#fff"},children:"How a power score works."})," power = ",(0,t.jsx)("b",{children:"title"})," × ",(0,t.jsx)("b",{children:"company weight"})," + bonus. The title (student 1 … founder or C-suite 10) comes from someone’s roles, with former roles at 70%; an audience of their own counts like a title (1M+ followers like a director). The company weight runs from 0.725 for a company we don’t know (or none found), the middle of the scale, to 1.0 (a company scored 10), so seniority counts for more at a bigger company. The bonus is at most +1.5, for investor, YC, an audience in the millions or the top award of any field, and counts half at an unknown company. A 1st-degree person whose circle is unusually strong gets up to +2 more: up to +1 for a high share of it at A or S, or +1 for every 25 people there. Tiers are graded on your network’s curve unless you choose the fixed scale (",(0,t.jsx)("a",{href:"#tiers",style:{color:"#3498DB"},children:"Tiers"}),", above): your top 3% are S, the next 12% A, the next 25% B (it only lifts, and never lifts anyone under 4 into S or A). On the fixed scale, S ≥ 7.5 · A ≥ 5.5 · B ≥ 4 · C ≥ 2.5.",(0,t.jsxs)("div",{style:{marginTop:6,color:"#8b9a9a"},children:["So a VP at a 10 scores 9.0, a founder at an unknown company 7.3, a director at an unknown company 5.4, and an intern at a 10 scores 2.0. Set a company’s score below and everyone there is rescored. Companies in the sectors you pick (",(0,t.jsx)("a",{href:"#sector",style:{color:"#3498DB"},children:"Your sector"}),", above) get +1 or +2; a score you set is never changed."]})]}),(0,t.jsxs)("div",{style:{display:"flex",gap:8,alignItems:"center",flexWrap:"wrap",margin:"14px 0 10px"},children:[(0,t.jsx)("input",{value:h,onChange:e=>g(e.target.value),placeholder:"Find a company",style:{padding:"6px 10px",borderRadius:7,border:a,background:"rgba(255,255,255,0.05)",color:"#fff",fontSize:13,minWidth:180}}),[["all",`All ${o.length}`],["known",`Known list ${C("known")}`],["data",`Public data ${C("data")}`],["yours",`Yours ${C("yours")}`],["network",`Estimated ${C("network")}`],["default",`Unknown ${C("default")}`]].map(([e,n])=>(0,t.jsx)("button",{onClick:()=>y(e),style:{padding:"5px 10px",borderRadius:7,border:a,cursor:"pointer",fontSize:11.5,fontWeight:600,background:f===e?"rgba(52,152,219,0.25)":"transparent",color:f===e?"#cfe6f7":"#8b9a9a"},children:n},e))]}),(0,t.jsxs)("div",{style:{borderRadius:10,border:a,overflow:"hidden"},children:[(0,t.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 70px 70px 70px 60px 180px 110px",gap:8,padding:"8px 12px",fontSize:10.5,letterSpacing:.6,color:"#8b9a9a",background:"rgba(255,255,255,0.04)"},children:[(0,t.jsx)("span",{children:"COMPANY"}),(0,t.jsx)("span",{style:{textAlign:"right"},children:"PEOPLE"}),(0,t.jsx)("span",{style:{textAlign:"right"},children:"YOU KNOW"}),(0,t.jsx)("span",{style:{textAlign:"right"},children:"DIRECTOR+"}),(0,t.jsx)("span",{style:{textAlign:"right"},children:"SCORE"}),(0,t.jsx)("span",{children:"SOURCE"}),(0,t.jsx)("span",{children:"SET"})]}),j.slice(0,m).map(e=>(0,t.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 70px 70px 70px 60px 180px 110px",gap:8,padding:"7px 12px",alignItems:"center",borderTop:"1px solid rgba(255,255,255,0.05)",fontSize:12.5},children:[(0,t.jsxs)("span",{style:{display:"flex",alignItems:"center",gap:8,minWidth:0},children:[(0,t.jsx)("span",{title:`${e.industry.label} (inferred)`,style:{width:8,height:8,borderRadius:"50%",background:e.industry.color,flexShrink:0}}),(0,t.jsx)("span",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.name})]}),(0,t.jsx)("span",{style:{textAlign:"right"},children:e.people}),(0,t.jsx)("span",{style:{textAlign:"right",color:e.d1?"#00ff88":"#556"},children:e.d1}),(0,t.jsx)("span",{style:{textAlign:"right",color:e.senior?"#FFD700":"#556"},children:e.senior}),(0,t.jsx)("b",{style:{textAlign:"right",fontSize:15},children:e.score}),(0,t.jsxs)("span",{style:{fontSize:11,color:l[e.source]?.color},children:[l[e.source]?.label,e.sectorBonus>0&&(0,t.jsxs)("span",{style:{color:"#00ff88"},children:[" + ",e.sectorBonus," your sector"]})]}),(0,t.jsx)(u,{company:e,onSet:k,compact:!0})]},e.name))]}),j.length>m&&(0,t.jsxs)("button",{onClick:()=>b(e=>e+300),style:{marginTop:10,padding:"7px 14px",borderRadius:8,border:a,background:"rgba(255,255,255,0.05)",color:"#dfe6e9",cursor:"pointer",fontSize:12},children:["Show more (",j.length-m," left)"]})]}),x&&(0,t.jsx)("div",{role:"status",style:{position:"fixed",bottom:24,left:"50%",transform:"translateX(-50%)",padding:"10px 18px",borderRadius:24,background:"linear-gradient(135deg, #00ff88, #3498DB)",color:"#000",fontWeight:800,fontSize:13,zIndex:50},children:x})]})},"useCompanyScores",0,d],94657)},2776,e=>{"use strict";var t=e.i(43476),n=e.i(15812);e.s(["default",0,function({children:e}){let{userId:r,ready:o}=(0,n.useUser)();return o&&r?e:(0,t.jsx)("div",{style:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",background:"#0a0a1a",color:"#fff",padding:24,textAlign:"center",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'},children:o?(0,t.jsxs)("div",{style:{maxWidth:420},children:[(0,t.jsx)("div",{style:{fontSize:18,fontWeight:700,marginBottom:8},children:"Can’t reach Six Degrees’ local server"}),(0,t.jsx)("div",{style:{color:"#888",fontSize:14,lineHeight:1.6},children:"The page loaded but the app behind it is not answering. If you started it from a terminal, check that window for an error, then reload this page."})]}):(0,t.jsx)("div",{style:{fontSize:18,fontWeight:600},children:"Loading…"})})}])},8819,e=>{"use strict";var t=e.i(43476);let n="1px solid rgba(255,255,255,0.1)";function r({children:e,style:n}){return(0,t.jsx)("div",{style:{fontSize:13.5,color:"#8b9a9a",lineHeight:1.6,marginTop:4,...n},children:e})}e.s(["Body",0,r,"Btn",0,function({children:e,onClick:r,disabled:o,primary:i,tone:s,type:a="button"}){return(0,t.jsx)("button",{type:a,onClick:r,disabled:o,style:{padding:"9px 18px",borderRadius:7,fontSize:13.5,fontWeight:650,color:o?"#667":"#fff",border:n,background:o?"rgba(255,255,255,0.05)":"bad"===s?"rgba(255,80,80,0.15)":i?"linear-gradient(135deg, #9B59B6, #3498DB)":"rgba(255,255,255,0.08)",cursor:o?"not-allowed":"pointer"},children:e})},"FONT",0,'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',"LINE",0,n,"Mono",0,function({children:e}){return(0,t.jsx)("code",{style:{background:"rgba(255,255,255,0.08)",padding:"1px 5px",borderRadius:4,wordBreak:"break-all"},children:e})},"Section",0,function({id:e,title:o,intro:i,children:s}){return(0,t.jsxs)("section",{id:e,style:{padding:"24px 0",borderBottom:n,scrollMarginTop:16},children:[(0,t.jsx)("h2",{style:{fontSize:16,fontWeight:650,margin:"0 0 6px"},children:o}),i&&(0,t.jsx)(r,{style:{marginTop:0,marginBottom:12},children:i}),s]})},"Status",0,function({children:e,tone:n}){return(0,t.jsxs)("div",{role:"status",style:{marginTop:10,padding:"10px 14px",borderRadius:8,fontSize:13.5,lineHeight:1.6,color:"ok"===n?"#00ff88":"bad"===n?"#ff7676":"#e8e8ee",background:"ok"===n?"rgba(0,255,136,0.08)":"bad"===n?"rgba(255,80,80,0.08)":"rgba(255,255,255,0.05)",border:`1px solid ${"ok"===n?"rgba(0,255,136,0.3)":"bad"===n?"rgba(255,80,80,0.3)":"rgba(255,255,255,0.12)"}`},children:["ok"===n&&"✓ ",e]})}])},98083,e=>{"use strict";var t=e.i(43476),n=e.i(71645),r=e.i(22016),o=e.i(2776),i=e.i(8819),s=e.i(98197),a=e.i(44944),l=e.i(77170),c=e.i(69083),d=e.i(90179),u=e.i(5258),p=e.i(7837),h=e.i(56899);let g={lean:"Lean",strong:"Strong"},f=["wheel","touchstart","keydown","pointerdown"],y={1:"1st",2:"2nd",3:"3rd"},m=(e,t,n=`${t}s`)=>`${e.toLocaleString()} ${1===e?t:n}`,b=l.DIRECTORY.filter(e=>"function"===e.kind).map(e=>e.label);function x(e,t,n){let[r,o]=n?["moved","moved"]:["moves","move"];if(!e&&!t)return n?"No one changed tier.":"No one changes tier.";let i=e=>1===e?r:o;return e&&t?`${m(e,"person","people")} ${i(e)} up a tier and ${t.toLocaleString()} ${i(t)} down.`:e?`${m(e,"person","people")} ${i(e)} up a tier.`:`${m(t,"person","people")} ${i(t)} down a tier.`}function w({onSaved:e}={}){let[r,o]=(0,n.useState)(null),[l,u]=(0,n.useState)(null),[y,k]=(0,n.useState)(null),[v,j]=(0,n.useState)(!1),[C,T]=(0,n.useState)(null),[B,I]=(0,n.useState)(null),[$,A]=(0,n.useState)({loading:!0}),[R]=(0,n.useState)(()=>(0,p.csvNetworkSource)()),E=(0,n.useRef)(null),z=(0,n.useRef)(0),F=(0,n.useRef)(!1);function N(e){u(e),T(null),clearTimeout(E.current);let t=++z.current;if((0,a.sameFocus)(e,r))return void k(null);let n=(0,a.focusFingerprint)(e);k({key:n,loading:!0}),E.current=setTimeout(async()=>{try{let r=await fetch("/api/settings/sector-preview",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sectorFocus:e})}),o=await r.json();if(t!==z.current)return;k(r.ok?{key:n,...o}:{key:n,error:o.error||"Could not work out what would change."})}catch{t===z.current&&k({key:n,error:"Could not reach the app to work out what would change."})}},250)}async function D(){var t,n;let r;j(!0),T(null),clearTimeout(E.current),z.current++;let i=await (0,h.saveSettings)({sectorFocus:l});(j(!1),i.settings&&(o(i.settings.sectorFocus),u(i.settings.sectorFocus),k(null)),i.error)?T({tone:"bad",text:i.error}):(T({tone:"ok",text:(t=i.settings.sectorFocus,n=i.effects?.sectorFocus,r=t.sectors.length?`Saved: ${t.sectors.map(e=>(0,c.sectorByKey)(e).label).join(" · ")} (${g[t.strength].toLowerCase()}).`:"Saved: no sector.",n?n.scored?`${r} Rescored your network (${m(n.people??n.scored,"person","people")}). ${x(n.up,n.down,!0)}`:`${r} There's no scanned network yet; it will apply when you scan.`:r)}),e?.())}(0,n.useEffect)(()=>{let e=!1;return fetch("/api/settings").then(e=>e.json().then(t=>e.ok?t:Promise.reject(Error(t.error||"Could not load your sector.")))).then(t=>{if(e)return;let n=t.settings?.sectorFocus||{sectors:[],strength:"lean"};o(n),u(n)}).catch(t=>{e||I(t.message)}),fetch("/api/settings/sector-suggestions").then(e=>e.json().then(t=>e.ok?t:Promise.reject(Error(t.error||"Could not load suggestions.")))).then(t=>{e||A({scored:t.scored,list:t.suggestions||[]})}).catch(t=>{e||A({error:t.message})}),()=>{e=!0,clearTimeout(E.current)}},[]),(0,n.useEffect)(()=>{if(F.current||!l&&!B)return;F.current=!0;let e=document.getElementById("sector");if("#sector"!==window.location.hash||!e)return;let t=()=>e.scrollIntoView({block:"start"});t();let n=new ResizeObserver(t);n.observe(document.body);let r=()=>{for(let e of(n.disconnect(),clearTimeout(o),f))window.removeEventListener(e,r,!0)},o=setTimeout(r,2e3);for(let e of f)window.addEventListener(e,r,{capture:!0,passive:!0});return r},[l,B]);let M=l&&r&&!(0,a.sameFocus)(l,r);return(0,t.jsxs)(i.Section,{id:"sector",title:"Your sector",intro:"Pick up to three sectors you work in. Companies in them count for more when your network is scored, so the people there rank higher.",children:[B&&(0,t.jsx)(i.Status,{tone:"bad",children:B}),!l&&!B&&(0,t.jsx)(i.Body,{children:"Loading…"}),l&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.default,{sectors:l.sectors,onChange:e=>N({...l,sectors:e}),disabled:v,suggest:$}),(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",flexWrap:"wrap",gap:8,marginTop:14},children:[(0,t.jsx)("span",{style:{fontSize:13,color:"#8b9a9a"},children:"How much:"}),Object.keys(d.SECTOR_BONUS).map(e=>(0,t.jsxs)("button",{type:"button","aria-pressed":l.strength===e,disabled:v,onClick:()=>N({...l,strength:e}),style:{padding:"5px 12px",borderRadius:7,fontSize:12.5,fontWeight:600,cursor:"pointer",color:l.strength===e?"#fff":"#8b9a9a",background:l.strength===e?"rgba(52,152,219,0.25)":"transparent",border:i.LINE},children:[g[e]," · +",d.SECTOR_BONUS[e]]},e))]}),(0,t.jsx)(i.Body,{style:{fontSize:12.5},children:"Each company in your sectors gets +1 (lean) or +2 (strong) on its score out of 10, never above 10. A company in more than one of your picks still gets it once."}),(0,t.jsx)(S,{preview:M?y:null,draft:l}),(0,t.jsxs)("div",{style:{display:"flex",gap:8,flexWrap:"wrap",marginTop:14},children:[(0,t.jsx)(i.Btn,{primary:!0,onClick:D,disabled:!M||v,children:v?"Saving and rescoring…":"Save"}),M&&!v&&(0,t.jsx)(i.Btn,{onClick:()=>N(r),children:"Cancel"}),!M&&l.sectors.length>0&&!v&&(0,t.jsx)(i.Btn,{onClick:()=>N({...l,sectors:[]}),children:"Turn off"})]}),C&&(0,t.jsx)(i.Status,{tone:C.tone,children:C.text}),(0,t.jsxs)("ul",{style:{margin:"16px 0 0",paddingLeft:18,fontSize:12.5,color:"#778",lineHeight:1.7},children:[(0,t.jsx)("li",{children:"Tiers rank how reachable someone is through your network, not the people themselves."}),(0,t.jsxs)("li",{children:["A company score you set on ",(0,t.jsx)("a",{href:"#companies",style:{color:"#3498DB"},children:"Company scores"}),", below, always wins. Your sector never changes it."]}),(0,t.jsx)("li",{children:"If you scan highest tier first, people in your sectors come up sooner. Scanning newest first, the default, doesn’t go by tier."}),(0,t.jsx)("li",{children:"An industry includes its sectors. It counts a company in any of its sectors (Healthcare & Biotech counts a practice that is only in Dental), and a company whose industry the app’s list of well-known companies or the company’s own name gives (Meridian Health). Not one known only from its people’s job titles: a recruiter at Acme Widgets doesn’t make Acme a consulting firm."}),(0,t.jsx)("li",{children:"A narrower sector counts a company when its name says so (Smith Family Dental), it’s a well-known company in that sector, or at least half of the people you know there say so in their headlines (dentist, DDS, orthodontist). The words are a fixed list that comes with the app, the same on every computer. Nothing is sent anywhere."}),(0,t.jsxs)("li",{children:["Some sectors are work every kind of company has: ",b.length>1?`${b.slice(0,-1).join(", ")} and ${b.at(-1)}`:b.join(""),". For those a job title doesn’t count, since a recruiter at Acme Widgets doesn’t make it a recruiting firm. The company’s name does (Acme Staffing, Smith CPA), and so does a kind of firm in a headline (staffing agency, law firm, SaaS)."]}),R&&(0,t.jsxs)("li",{style:{color:"#FFD700"},children:["sample"===R?"The sample network":"The CSV import"," open in this window isn’t changed by this, and isn’t counted in the suggestions. Your sector applies to networks you’ve scanned."]})]})]})]})}function S({preview:e,draft:n}){if(!e||e.key!==(0,a.focusFingerprint)(n))return null;let r={marginTop:12,padding:"10px 14px",borderRadius:8,fontSize:13,lineHeight:1.6,border:i.LINE,background:"rgba(255,255,255,0.03)",color:"#cfd8d8"};if(e.loading)return(0,t.jsx)("div",{style:r,"aria-live":"polite",children:"Working out what would change…"});if(e.error)return(0,t.jsx)(i.Status,{tone:"bad",children:e.error});if(!e.scored)return(0,t.jsx)("div",{style:r,"aria-live":"polite",children:"There’s no scanned network yet, so nothing changes now. Your choice applies once you scan."});let o=(e,t)=>`${m(e,"company","companies")} ${1===e?"scores":"score"} ${t}`,s=[e.companiesUp&&o(e.companiesUp,"higher"),e.companiesDown&&o(e.companiesDown,"lower")].filter(Boolean).join(" and ");return(0,t.jsxs)("div",{style:r,"aria-live":"polite",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("b",{style:{color:"#fff"},children:"If you save:"})," ",s?`${s}.`:"No company changes score."," ",x(e.up,e.down,!1)]}),e.examples?.length>0&&(0,t.jsx)("div",{style:{marginTop:6,display:"flex",flexWrap:"wrap",gap:"4px 12px",fontSize:12.5},children:e.examples.map((e,n)=>(0,t.jsxs)("span",{title:e.company||void 0,children:[e.name,e.degree?(0,t.jsxs)("span",{style:{color:"#667"},children:[" (",y[e.degree]||`${e.degree}th`,")"]}):null," ",(0,t.jsx)("b",{style:{color:u.TIER_COLORS_CLASSIC[e.from]||"#889"},children:e.from||"–"})," → ",(0,t.jsx)("b",{style:{color:u.TIER_COLORS_CLASSIC[e.to]||"#889"},children:e.to})]},n))}),e.companyExamples?.length>0&&(0,t.jsx)("div",{style:{marginTop:4,fontSize:12,color:"#8b9a9a"},children:e.companyExamples.slice(0,3).map(e=>`${e.name} ${e.from} → ${e.to}`).join(" · ")})]})}let k=e=>`${Math.round(100*e)}%`,[v,j,C]=d.CURVE.map(([,e])=>e),T=[{key:"curve",label:"On your network's curve",note:`Your top ${k(v)} are S, the next ${k(j-v)} A and the next ${k(C-j)} B, so any network has a top, even one full of companies the app doesn't know. It only lifts: nobody drops a tier because their network is strong, and nobody under ${d.CURVE_FLOOR} is lifted into S or A.`},{key:"fixed",label:"On the fixed scale",note:"The same lines for everyone: S from 7.5, A from 5.5, B from 4, C from 2.5. Easy to compare from one network to another, but a network outside well-known companies has almost nobody in S or A."}];function B({onSaved:e}={}){let[r,o]=(0,n.useState)(null),[s,a]=(0,n.useState)(!1),[l,c]=(0,n.useState)(null),[d,u]=(0,n.useState)(null),[g]=(0,n.useState)(()=>(0,p.csvNetworkSource)());async function f(t){if(s||t===r)return;a(!0),c(null);let{settings:n,effects:i,error:l}=await (0,h.saveSettings)({tierScale:t});if(n&&o(n.tierScale),l)c({tone:"bad",text:l});else{let t,n=i?.tierScale;c({tone:"ok",text:n?`Saved. ${t=n.moved,`${t.toLocaleString()} ${1===t?"person":"people"}`} changed tier.`:"Saved."}),e?.()}a(!1)}return(0,n.useEffect)(()=>{let e=!1;return fetch("/api/settings").then(e=>e.json().then(t=>e.ok?t:Promise.reject(Error(t.error||"Could not load how tiers are graded.")))).then(t=>{e||o(t.settings?.tierScale||"curve")}).catch(t=>{e||u(t.message)}),()=>{e=!0}},[]),(0,t.jsxs)(i.Section,{id:"tiers",title:"Tiers",intro:"How the S to D rings are drawn. A tier says where someone sits in your network, not what they're worth.",children:[d&&(0,t.jsx)(i.Status,{tone:"bad",children:d}),r&&(0,t.jsx)("div",{role:"radiogroup","aria-label":"How tiers are graded",style:{display:"grid",gap:8},children:T.map(e=>{let n=r===e.key;return(0,t.jsxs)("button",{type:"button",role:"radio","aria-checked":n,disabled:s,onClick:()=>f(e.key),style:{textAlign:"left",padding:"12px 14px",borderRadius:8,cursor:s?"wait":n?"default":"pointer",color:"#fff",background:n?"rgba(155,89,182,0.14)":"rgba(255,255,255,0.03)",border:n?"1px solid rgba(155,89,182,0.6)":i.LINE},children:[(0,t.jsxs)("div",{style:{fontSize:14,fontWeight:650},children:[n?"● ":"○ ",e.label,"curve"===e.key?" (recommended)":""]}),(0,t.jsx)(i.Body,{style:{marginTop:4},children:e.note})]},e.key)})}),g&&(0,t.jsxs)(i.Body,{style:{color:"#FFD700",marginTop:10},children:["sample"===g?"The sample network open in this window keeps its own tiers (they’re the same either way).":"The CSV import open in this window is always graded on its own curve."," ","This applies to networks you’ve scanned."]}),l&&(0,t.jsx)(i.Status,{tone:l.tone,children:l.text})]})}var I=e.i(15812),$=e.i(19821),A=e.i(64666);let R={S:"#FFD700",A:"#9B59B6",B:"#3498DB",C:"#95A5A6",D:"#BDC3C7"},E=e=>`${Math.round(100*e)}%`;function z(){let{userId:e}=(0,I.useUser)(),[o,s]=(0,n.useState)(null),[a,l]=(0,n.useState)(!1);(0,n.useEffect)(()=>{if(!e)return;let t=!0;return(0,$.loadNetwork)(e).then(e=>{t&&s(function({degree1:e=[],degree2:t=[],ties:n=0}={}){let r=new Map;for(let e of t)e?.source_connection_id!=null&&r.set(e.source_connection_id,(r.get(e.source_connection_id)||0)+1);let o=(0,A.exclusiveReach)(t,e),i=e.length,s=Math.max(0,Number(n)||0),a=i?i-2*s/i:0,l=new Map(e.map(e=>[e.id,e])),c=[...o.entries()].sort((e,t)=>t[1].reach-e[1].reach||String(e[0]).localeCompare(String(t[0]))).slice(0,5).map(([e,t])=>{let n=l.get(e)||{};return{id:e,name:n.name||"",company:n.company||"",tier:n.tier||"",circle:r.get(e)||0,only:t.only,share:t.total?t.only/t.total:0}});return{circles:r.size,early:r.size<5,twoWays:(0,A.redundancy)(t,e),effective:{n:i,ties:s,size:a,efficiency:i?a/i:0},top:c}}(e))}).catch(()=>{t&&l(!0)}),()=>{t=!1}},[e]);let c={padding:"12px 14px",borderRadius:8,border:i.LINE,background:"rgba(255,255,255,0.03)"};return(0,t.jsxs)("section",{id:"health",style:{marginTop:20},children:[(0,t.jsx)("h2",{style:{fontSize:16,margin:"0 0 6px"},children:"Network health"}),a&&(0,t.jsx)(i.Body,{children:"Couldn’t read your network just now."}),!a&&!o&&(0,t.jsx)(i.Body,{children:"Reading your network…"}),o&&0===o.circles&&(0,t.jsx)(i.Body,{children:"Scan a few of your connections’ circles (the Scan page, step 4) and this shows how your network holds together."}),o&&o.circles>0&&(0,t.jsxs)(t.Fragment,{children:[o.early&&(0,t.jsxs)("div",{style:{fontSize:12.5,color:"#FFD700",margin:"4px 0 10px"},children:["An early estimate: ",o.circles," ",1===o.circles?"circle":"circles"," scanned. These get sharper as you scan more."]}),(0,t.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(220px, 1fr))",gap:10},children:[(0,t.jsxs)("div",{style:c,children:[(0,t.jsx)("div",{style:{fontSize:22,fontWeight:700},children:E(o.twoWays)}),(0,t.jsx)("div",{style:{fontSize:12.5,color:"#b8c4c4"},children:"of your 2nd degree you reach two or more ways"}),(0,t.jsx)("div",{style:{fontSize:11.5,color:"#778",marginTop:4},children:"Higher is safer: lose one connection and they’re still reachable."})]}),(0,t.jsxs)("div",{style:c,children:[(0,t.jsx)("div",{style:{fontSize:22,fontWeight:700},children:Math.round(o.effective.size).toLocaleString()}),(0,t.jsxs)("div",{style:{fontSize:12.5,color:"#b8c4c4"},children:["effective reach of your ",o.effective.n.toLocaleString()," connections (",E(o.effective.efficiency)," non-overlapping)"]}),(0,t.jsxs)("div",{style:{fontSize:11.5,color:"#778",marginTop:4},children:["From ",o.effective.ties.toLocaleString()," ",1===o.effective.ties?"tie":"ties"," between your connections seen in circle scans so far, so it can only come down as you scan more."]})]})]}),o.top.length>0&&(0,t.jsxs)("div",{style:{...c,marginTop:10,padding:0},children:[(0,t.jsx)("div",{style:{padding:"10px 14px",fontSize:12.5,color:"#b8c4c4",borderBottom:i.LINE},children:"Your connections who reach the most people no one else does"}),o.top.map((e,n)=>(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:10,padding:"8px 14px",borderBottom:n<o.top.length-1?"1px solid rgba(255,255,255,0.04)":"none",fontSize:13},children:[(0,t.jsxs)("span",{style:{width:22,color:"#778"},children:["#",n+1]}),(0,t.jsx)("span",{style:{width:8,height:8,borderRadius:"50%",background:R[e.tier]||"#667",flexShrink:0}}),(0,t.jsxs)("span",{style:{flex:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:[(0,t.jsx)("b",{children:e.name}),e.company?(0,t.jsxs)("span",{style:{color:"#8b9a9a"},children:[" · ",e.company]}):null]}),(0,t.jsxs)("span",{style:{color:"#b8c4c4",whiteSpace:"nowrap"},children:[e.circle.toLocaleString()," in circle"]}),(0,t.jsxs)("span",{style:{color:"#00ff88",whiteSpace:"nowrap"},children:[e.only.toLocaleString()," only them (",E(e.share),")"]}),(0,t.jsx)(r.default,{href:`/?chain=${encodeURIComponent(e.id)}`,style:{color:"#3498DB",textDecoration:"none",whiteSpace:"nowrap"},children:"Explore →"})]},e.id))]})]})]})}var F=e.i(94657),N=e.i(64745);let D={color:"#3498DB",textDecoration:"none",fontWeight:600};function M(){let[e,o]=(0,n.useState)(0),s=()=>o(e=>e+1);return N.IS_DEMO?(0,t.jsxs)("div",{style:{minHeight:"100vh",background:"#0a0a1a",color:"rgba(255,255,255,0.7)",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:12,textAlign:"center",padding:24,fontFamily:i.FONT},children:[(0,t.jsx)("h2",{style:{margin:0,fontSize:20,fontWeight:700,color:"#fff"},children:"Not part of the demo"}),(0,t.jsx)("p",{style:{margin:0,fontSize:13},children:"The public demo includes the Network Circle and Degrees views only."}),(0,t.jsx)(r.default,{href:"/",style:{fontSize:12,color:"rgba(255,255,255,0.5)",textDecoration:"none"},children:"← Back to the network"})]}):(0,t.jsxs)("div",{style:{minHeight:"100vh",background:"#0a0a1a",color:"#fff",fontFamily:i.FONT},children:[(0,t.jsxs)("header",{style:{padding:"16px 24px",borderBottom:i.LINE,display:"flex",alignItems:"center",gap:16},children:[(0,t.jsx)(r.default,{href:"/",style:{display:"flex",alignItems:"center",gap:6,color:"#888",textDecoration:"none",fontSize:13,fontWeight:600,padding:"6px 14px",borderRadius:6,background:"rgba(255,255,255,0.06)",border:i.LINE},children:"← Back to Map"}),(0,t.jsx)("h1",{style:{fontSize:22,fontWeight:700,margin:0,background:"linear-gradient(135deg, #FFD700, #9B59B6, #3498DB)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"Scores"})]}),(0,t.jsxs)("main",{style:{maxWidth:980,margin:"0 auto",padding:"8px 24px 64px"},children:[(0,t.jsxs)(i.Body,{style:{marginTop:16},children:["How someone’s power score is worked out, and the three things you can change about it:"," ",(0,t.jsx)("a",{href:"#sector",style:D,children:"your field"}),", ",(0,t.jsx)("a",{href:"#tiers",style:D,children:"how tiers are graded"})," and"," ",(0,t.jsx)("a",{href:"#companies",style:D,children:"any company’s score"}),". A change here rescores everyone."," ","First, ",(0,t.jsx)("a",{href:"#health",style:D,children:"how your network holds together"}),"."]}),(0,t.jsx)(z,{}),(0,t.jsx)(w,{onSaved:s}),(0,t.jsx)(B,{onSaved:s}),(0,t.jsx)("div",{id:"companies",style:{marginTop:28},children:(0,t.jsx)(F.default,{version:e})})]})]})}e.s(["default",0,function(){return(0,t.jsx)(o.default,{children:(0,t.jsx)(M,{})})}],98083)},64666,e=>{"use strict";var t=e.i(7214);function n(e=[],r=[]){let o=new Set((r||[]).map(t.keyFor)),i=new Map;for(let n of e||[]){let e=n?.source_connection_id;if(null==e)continue;let r=(0,t.keyFor)(n);if(o.has(r))continue;let s=i.get(r);s||i.set(r,s=new Set),s.add(e)}let s=new Map;for(let e of i.values())for(let t of e){let n=s.get(t)||{reach:0,only:0,total:0};n.reach+=1/e.size,n.total+=1,1===e.size&&(n.only+=1),s.set(t,n)}return s}e.s(["bridgeOverlap",0,function(e=[],r=[]){let o=n(e,r),i=new Set((r||[]).map(t.keyFor)),s=new Map;for(let n of e||[]){let e=n?.source_connection_id;if(null==e)continue;let r=(0,t.keyFor)(n);if(i.has(r))continue;let o=s.get(r);o||s.set(r,o=new Set),o.add(e)}let a=new Map;for(let e of s.values()){if(e.size<2)continue;let t=[...e];for(let e=0;e<t.length;e++)for(let n=e+1;n<t.length;n++){let r=t[e]<t[n]?`${t[e]}|${t[n]}`:`${t[n]}|${t[e]}`;a.set(r,(a.get(r)||0)+1)}}let l=new Map;for(let[e,t]of a){let[n,r]=e.split("|"),i=o.get(n).total+o.get(r).total-t,s=i?t/i:0;for(let[e,o]of[[n,r],[r,n]]){let n=l.get(e);(!n||s>n.share)&&l.set(e,{with:o,share:s,shared:t})}}return l},"exclusiveReach",0,n,"redundancy",0,function(e=[],t=[]){let r=n(e,t),o=0,i=0;for(let e of r.values())o+=e.reach,i+=e.only;return o?1-i/o:0}])},89154,e=>{"use strict";var t=e.i(90179);function n(e){let n=(0,t.readTitle)(e);return{key:n.key,label:n.label,level:n.level}}function r(e){return(0,t.currentCompany)(e)}let o=[{key:"defense",label:"Government, Defense & Aerospace",color:"#7f8c8d",words:/\b(government|federal|state of|county|city of|defen[cs]e|army|navy|air force|marine corps|military|dod|nasa|aerospace|lockheed|northrop|boeing|raytheon|l3harris|leidos|blue origin|spacex|public sector)\b/i},{key:"finance",label:"Finance & Investing",color:"#2ecc71",words:/\b(bank|banking|capital|ventures?|vc|investments?|investor|fund|private equity|growth equity|asset management|wealth|trading|trader|hedge|crypto|blockchain|web3|defi|fintech|stripe|coinbase|blackrock|robinhood|goldman|morgan stanley|jpmorgan|chase|bny|mellon|wells fargo|citi|citigroup|capital one|fidelity|vanguard|schwab|visa|mastercard|amex|american express|paypal|insurance|accounting|cpa|financial)\b/i},{key:"health",label:"Healthcare & Biotech",color:"#e74c3c",words:/\b(health|healthcare|medical|medicine|hospital|clinic|pharma|pharmaceutical|biotech|nurse|nursing|physician|doctor|dental|therapy|therapist|wellness)\b/i},{key:"education",label:"Education",color:"#f1c40f",words:/\b(university|college|school|education|student|professor|teacher|academy|phd|faculty|alumni)\b/i},{key:"media",label:"Marketing & Media",color:"#e67e22",words:/\b(marketing|brand|branding|advertising|agency|media|content|social media|creative|creator|influencer|pr|public relations|communications|tiktok|pinterest|youtube|growth marketing)\b/i},{key:"entertainment",label:"Entertainment & Gaming",color:"#9b59b6",words:/\b(entertainment|film|movie|music|records|gaming|games?|esports|studio|studios|netflix|disney|spotify|hollywood|theater|theatre|sports)\b/i},{key:"tech",label:"Tech, Software & AI",color:"#3498db",words:/\b(software|saas|engineer|engineering|developer|tech|technology|technologies|ai|artificial intelligence|machine learning|ml|data|cloud|cyber|security|devops|product manager|google|microsoft|apple|meta|amazon|nvidia|openai|anthropic|palantir|salesforce|oracle|ibm|intel|app|apps|startup|platform|labs?)\b/i},{key:"consulting",label:"Consulting, Legal & Services",color:"#1abc9c",words:/\b(consulting|consultant|consultancy|deloitte|accenture|mckinsey|kpmg|pwc|ey|bain|bcg|legal|law|lawyer|attorney|paralegal|recruiting|recruiter|staffing|talent)\b/i},{key:"realestate",label:"Real Estate & Construction",color:"#d35400",words:/\b(real estate|realtor|realty|property|properties|construction|architecture|architect|mortgage|homes|housing|builders?)\b/i},{key:"consumer",label:"Retail, Consumer & Hospitality",color:"#ff79c6",words:/\b(retail|e-?commerce|shopify|consumer|cpg|fashion|apparel|beauty|cosmetics|food|beverage|restaurant|hospitality|hotel|travel|tourism|coca-cola|nike|store|shop)\b/i},{key:"industry",label:"Manufacturing, Energy & Logistics",color:"#95a5a6",words:/\b(manufacturing|energy|oil|gas|solar|utilities|automotive|tesla|siemens|ge|general electric|honeywell|3m|logistics|supply chain|shipping|freight|fedex|ups|industrial|mining|chemicals?)\b/i},{key:"nonprofit",label:"Nonprofit & Community",color:"#bdc3c7",words:/\b(nonprofit|non-profit|foundation|charity|ngo|church|ministry|volunteer)\b/i}],i={key:"unknown",label:"Unclear",color:"#555c66"},s=Object.fromEntries([...o,i].map(e=>[e.key,e])),a=e=>s[e]||i;function l(e,t){for(let n of[e,t]){if(!n)continue;let e=o.find(e=>e.words.test(n));if(e)return e}return i}let c=(e,t)=>l(e,t).key,d=e=>n(e).level>=4;e.s(["INDUSTRIES",0,o,"UNKNOWN_INDUSTRY",0,i,"buildCompanyIndex",0,function(e=[]){let n=new Map,r=e=>(n.has(e)||n.set(e,(0,t.rolesWithCompanies)(e)),n.get(e)),{industries:o}=(0,t.networkCompanies)(e,{industryOf:c,rolesOf:r}),i=new Map;for(let t of e){let e=t.profile_url||`id:${t.id}`,n=i.get(e);(!n||(t.degree||9)<(n.degree||9))&&i.set(e,t)}let s=new Map;for(let e of i.values()){let t=r(e).find(e=>!e.former)?.company;if(!t)continue;let n=s.get(t);n||(n={name:t,people:[],d1:0,d2:0,d3:0,S:0,A:0,senior:0},s.set(t,n)),n.people.push(e),1===e.degree?n.d1++:2===e.degree?n.d2++:n.d3++,"S"===e.tier&&n.S++,"A"===e.tier&&n.A++,d(e.headline)&&n.senior++}for(let e of s.values())e.industry=a(o.get(e.name));return s},"companyLinks",0,function(e=[],t=[]){let n=new Map;for(let t of e){let e=r(t);e&&n.set(t.id,e)}let o=new Map;for(let e of t){let t=n.get(e.source_connection_id),i=r(e);if(!t||!i||t===i)continue;let[s,a]=t<i?[t,i]:[i,t],l=`${s}\u0000${a}`,c=o.get(l);c||(c={a:s,b:a,weight:0,via:new Set},o.set(l,c)),c.weight++,c.via.add(e.source_connection_id)}return[...o.values()]},"companyOf",0,r,"getSeniority",0,n,"industryByKey",0,a,"industryOf",0,l,"isSenior",0,d,"waysInto",0,function(e,t=[],n=[]){let o=t.filter(t=>r(t)===e),i=new Map;for(let t of n)r(t)===e&&i.set(t.source_connection_id,(i.get(t.source_connection_id)||0)+1);let s=new Map(t.map(e=>[e.id,e]));return{direct:o,bridges:[...i.entries()].map(([e,t])=>({bridge:s.get(e),n:t})).filter(e=>e.bridge).sort((e,t)=>t.n-e.n||(Number(t.bridge.power_score)||0)-(Number(e.bridge.power_score)||0))}}])},19821,e=>{"use strict";async function t(e){let t=e?`/api/network?userId=${encodeURIComponent(e)}`:"/api/network",n=await fetch(t);if(!n.ok)throw Error(`Failed to load network (${n.status})`);let r=await n.json();return{degree1:r.degree1||[],degree2:r.degree2||[],degree3:r.degree3||[],ties:Number(r.ties)||0}}e.s(["loadNetwork",0,t])},36774,e=>{"use strict";let t=/^[A-Za-z0-9_-]+\.(webp|jpg|jpeg|png)$/,n="/avatars/";e.s(["localPhoto",0,function(e){return"string"==typeof e&&e.startsWith(n)&&t.test(e.slice(n.length))?e:null}])},69083,e=>{"use strict";var t=e.i(89154);let n=new Map(t.INDUSTRIES.map(e=>[e.key,e.color])),r=new Map([...t.INDUSTRIES.map(e=>[e.key,Object.freeze({key:e.key,label:e.label,color:e.color,group:e.key,kind:"industry"})]),...Object.entries({software:["Software & SaaS","tech","function"],"ai-data":["AI & Data","tech","function"],cybersecurity:["Cybersecurity","tech","function"],telecom:["Telecom","tech","industry"],fintech:["Fintech & Payments","finance","industry"],banking:["Banking & Lending","finance","industry"],"vc-pe":["Venture Capital & Private Equity","finance","industry"],wealth:["Wealth & Asset Management","finance","industry"],insurance:["Insurance","finance","industry"],accounting:["Accounting & Tax","finance","function"],crypto:["Crypto & Web3","finance","industry"],hospitals:["Hospitals & Clinics","health","industry"],dental:["Dental","health","industry"],"pharma-biotech":["Pharma & Biotech","health","industry"],"medical-devices":["Medical Devices","health","industry"],"mental-health":["Mental Health","health","industry"],"fitness-wellness":["Fitness & Wellness","health","industry"],veterinary:["Veterinary & Animal Care","health","industry"],k12:["K-12 Education","education","industry"],"higher-ed":["Higher Education","education","industry"],"marketing-advertising":["Marketing & Advertising","media","function"],"pr-comms":["PR & Communications","media","function"],"media-publishing":["Media & Publishing","media","industry"],"creator-economy":["Creator Economy","media","industry"],"film-tv-music":["Film, TV & Music","entertainment","industry"],"gaming-esports":["Gaming & Esports","entertainment","industry"],sports:["Sports","entertainment","industry"],"ecommerce-retail":["E-commerce & Retail","consumer","industry"],"consumer-goods":["Consumer Goods","consumer","industry"],restaurants:["Restaurants & Food Service","consumer","industry"],"hospitality-travel":["Hospitality & Travel","consumer","industry"],"beauty-personal-care":["Beauty & Personal Care","consumer","industry"],logistics:["Logistics & Supply Chain","industry","industry"],manufacturing:["Manufacturing","industry","industry"],energy:["Energy & Utilities","industry","industry"],automotive:["Automotive","industry","industry"],agriculture:["Agriculture & Farming","industry","industry"],"aerospace-defense":["Aerospace & Defense","defense","industry"],military:["Military","defense","industry"],government:["Government & Public Sector","defense","industry"],legal:["Legal","consulting","function"],"management-consulting":["Management Consulting","consulting","function"],"hr-recruiting":["HR & Recruiting","consulting","function"],"security-services":["Security Services","consulting","function"],"real-estate":["Real Estate","realestate","industry"],"construction-trades":["Construction & Trades","realestate","industry"],charities:["Nonprofits & Charities","nonprofit","industry"],"social-work":["Social Work & Human Services","nonprofit","industry"],faith:["Faith & Ministry","nonprofit","industry"]}).map(([e,[r,o,i]])=>[e,Object.freeze({key:e,label:r,color:n.get(o)||t.UNKNOWN_INDUSTRY.color,group:o,kind:i})])]);e.s(["sectorByKey",0,function(e){return r.get(e)||{key:e,label:t.UNKNOWN_INDUSTRY.label,color:t.UNKNOWN_INDUSTRY.color,group:null,kind:null}}])},7214,e=>{"use strict";var t=e.i(36774);let n={S:0,A:1,B:2,C:3,D:4};function r(e){let t=parseFloat(e?.power_score);return Number.isFinite(t)?t:0}function o(e){return Math.round(10*r(e))/10}function i(e){return String(e?.profile_url||"").split(/[?#]/)[0].replace(/\/+$/,"")||`id:${e?.id}`}let s=(e,t)=>String(e??"").localeCompare(String(t??""),void 0,{numeric:!0});function a(e,t){return(n[e.tier]??9)-(n[t.tier]??9)||r(t)-r(e)||String(e.name||"").localeCompare(String(t.name||""))||s(e.id,t.id)}function l(e,t){return e.bridge&&t.bridge?a(e.bridge,t.bridge):e.bridge?-1:t.bridge?1:s(e.id,t.id)}function c(e,t){return t.score-e.score||t.waysIn-e.waysIn||l(e.routes[0]||d,t.routes[0]||d)||String(e.person.name||"").localeCompare(String(t.person.name||""))||(e.key<t.key?-1:+(e.key>t.key))}let d={id:null,bridge:null};function u(e){let t=String(e||"").trim().split(/\s+/).filter(Boolean);return t.length<2?t[0]||"":`${t[0]} ${t[t.length-1].charAt(0)}.`}function p(e,t){let n=String(e||"");return t<=1?n?"…":"":n.length>t?`${n.slice(0,t-1)}…`:n}e.s(["TIERS",0,["S","A","B","C","D"],"compareBridges",0,a,"compareWaysIn",0,function(e,t){return t.waysIn-e.waysIn||c(e,t)},"keyFor",0,i,"routeIndex",0,function(e=[]){let t=new Map;for(let n of e||[]){let e=i(n),r=t.get(e);r||(r=new Set,t.set(e,r)),r.add(n.source_connection_id??null)}return t},"routesFor",0,function(e,t,n){return e?[...t?.get(i(e))??(null!=e.source_connection_id?new Set([e.source_connection_id]):new Set)].map(e=>({id:e,bridge:n?.get(e)??null})).sort(l):[]},"score",0,r,"score1",0,o,"separationPeople",0,function(e=[],n=[]){let r=new Map;for(let e of n||[])r.set(e.id,e);let a=new Map,d=new Map;for(let n of e||[]){let e=i(n);d.set(n.id,e);let r=a.get(e);r?function(e,n){let r=o(e)-o(n);if(r)return r>0;let i=!!(0,t.localPhoto)(e.profile_image_url);return!!(0,t.localPhoto)(n.profile_image_url)!==i?i:0>s(e.id,n.id)}(n,r.person)&&(r.person=n):(r={key:e,person:n,rowIds:[],routeIds:new Set},a.set(e,r)),r.rowIds.push(n.id),r.routeIds.add(n.source_connection_id??null)}let u={people:a.size,byTier:{S:0,A:0,B:0,C:0,D:0},multi:0,bridges:0,unresolvedIds:0,peopleOnlyUnresolved:0,onlyUnresolvedVia:0},p=new Set,h=new Set,g=new Set,f=[];for(let e of a.values()){let t=[...e.routeIds].map(e=>({id:e,bridge:r.get(e)??null}));t.sort(l);let n=t.filter(e=>e.bridge);for(let e of t)(e.bridge?p:h).add(e.id);if(!n.length)for(let e of(u.peopleOnlyUnresolved++,t))g.add(e.id);let{person:i}=e,s=i.tier;void 0!==u.byTier[s]&&u.byTier[s]++,t.length>1&&u.multi++,f.push({key:e.key,person:i,score:o(i),tier:s,routes:t,waysIn:t.length,rowIds:e.rowIds,haystack:[i.name,i.headline,i.company,i.role,...n.map(e=>e.bridge.name)].filter(Boolean).join("\n").toLowerCase(),rank:0,tied:!1})}return u.bridges=p.size,u.unresolvedIds=h.size,u.onlyUnresolvedVia=g.size,f.sort(c),function(e){for(let t=0;t<e.length;t++){let n=e[t],r=e[t-1],o=r&&r.score===n.score&&r.waysIn===n.waysIn;n.rank=o?r.rank:t+1,o&&(n.tied=!0,r.tied=!0)}}(f),{people:f,rowToKey:d,summary:u}},"shortName",0,u,"summitLayout",0,function(e=[],t=800,n=!1){let r=n?36:26,o=Math.round(.42*t),i=Math.round(.58*t),s=e.map((e,n)=>{var o;return{key:e.key,p:e,x:i,y:16+n*r,r:(o=e.waysIn)>=4?8.5:3===o?7:2===o?5.5:4,label:p(`#${e.rank}${e.tied?"=":""} ${e.person.name||""}`,Math.floor((t-i-60)/6.2))}}),l=new Map,c="\0unresolved";for(let e of s)for(let t of e.p.routes){let n=t.bridge?t.id:c,r=l.get(n);r||(r={id:t.bridge?t.id:null,bridge:t.bridge,unresolved:!t.bridge,ys:[],count:0},l.set(n,r)),r.count++,r.ys.push(e.y)}let d=[...l.values()].map(e=>({...e,bary:e.ys.reduce((e,t)=>e+t,0)/e.ys.length}));d.sort((e,t)=>e.bary-t.bary||e.unresolved-t.unresolved||(e.bridge&&t.bridge?a(e.bridge,t.bridge):0));let h=s.length?s[s.length-1].y:16,g=d.length>1?Math.max(18,(h-16)/(d.length-1)):0,f=Math.max(4,Math.floor((o-10-42)/6));d.forEach((e,t)=>{if(e.x=o,e.y=1===d.length?(16+h)/2:16+t*g,e.r=5,e.unresolved)e.label=p(`can't be named (${e.count})`,f);else{let t=e.bridge.name||"";e.label=t.length<=f?t:p(u(t),f)}delete e.ys});let y=new Map(d.map(e=>[e.unresolved?c:e.id,e])),m=[];for(let e of s){let t=new Set;e.p.routes.forEach((n,r)=>{let o=n.bridge?n.id:c;if(t.has(o))return;t.add(o);let i=y.get(o);m.push({key:e.key,bridgeId:i.id,primary:0===r&&!i.unresolved,unresolved:i.unresolved,tier:i.bridge?.tier??null,x1:i.x,y1:i.y,x2:e.x,y2:e.y})})}let b=Math.max(h,d.length?d[d.length-1].y:0),x=s.length?Math.ceil(b+16):0,w={x:20,y:s.length?(16+Math.max(h,b))/2:16,r:14},S=d.map(e=>({id:e.id,x1:w.x,y1:w.y,x2:e.x,y2:e.y}));return{width:t,height:x,you:w,people:s,bridges:d,links:m,spokes:S}}])},5258,e=>{"use strict";e.s(["TIER_COLORS",0,{S:"#f6c344",A:"#a78bfa",B:"#60a5fa",C:"#94a3b8",D:"#6b7280"},"TIER_COLORS_CLASSIC",0,{S:"#FFD700",A:"#9B59B6",B:"#3498DB",C:"#95A5A6",D:"#BDC3C7"},"TIER_ORDER",0,["S","A","B","C","D"],"TIER_RING_RADIUS",0,{S:150,A:230,B:310,C:390,D:470},"initialsFor",0,function(e){let t=String(e||"").trim().split(/\s+/).filter(Boolean);return 0===t.length?"?":(t[0].charAt(0)+(t.length>1?t[t.length-1].charAt(0):"")).toUpperCase()}])}]);
@@ -0,0 +1,6 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,68863,e=>{"use strict";var n=e.i(43476),t=e.i(71645),o=e.i(18566),i=e.i(2776),s=e.i(22016),r=e.i(40996);let a={install:"Install",setup:"Set up the scanner"};var l=e.i(64745),d=e.i(48235);let c={daily:50,monthly:250},h="1px solid rgba(255,255,255,0.1)",p={S:"#FFD700",A:"#9B59B6",B:"#3498DB",C:"#95A5A6",D:"#BDC3C7"},u=[25,50,100,200,500],g=[100,250,500,1e3,0],f=[10,25,50,100],x=e=>new Date(e).toLocaleDateString(void 0,{month:"short",day:"numeric"});function y({cooldown:e,onLift:o,disabled:i}){let[s,r]=(0,t.useState)(!1);return e?(0,n.jsxs)("div",{role:"status",style:{padding:"12px 14px",borderRadius:8,fontSize:13,lineHeight:1.6,background:"rgba(255,80,80,0.08)",border:"1px solid rgba(255,80,80,0.35)",color:"#f3c9c9"},children:[(0,n.jsxs)("b",{style:{color:"#ff8080"},children:["Scanning is paused until ",new Date(e.until).toLocaleString(void 0,{weekday:"short",month:"short",day:"numeric",hour:"numeric",minute:"2-digit"}),"."]})," ",e.reason,". Nothing that searches LinkedIn will run until then, so the account can recover.",(0,n.jsx)("div",{style:{marginTop:8,display:"flex",gap:8,alignItems:"center",flexWrap:"wrap"},children:s?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{style:{fontSize:12.5},children:"Only if people search works normally for you on linkedin.com right now."}),(0,n.jsx)("button",{onClick:()=>{r(!1),o()},style:{...v,color:"#ff8080"},children:"Yes, lift it"}),(0,n.jsx)("button",{onClick:()=>r(!1),style:v,children:"Keep it"})]}):(0,n.jsx)("button",{onClick:()=>r(!0),disabled:i,style:v,children:"Lift it early…"})})]}):null}function b({used:e,cap:t}){let o=t?Math.min(100,Math.round(e/t*100)):0;return(0,n.jsx)("div",{style:{height:5,borderRadius:3,background:"rgba(255,255,255,0.07)",overflow:"hidden",marginTop:4},children:(0,n.jsx)("div",{style:{height:"100%",width:`${o}%`,background:o>=100?"#ff6b6b":o>=75?"#FFD700":"#3498DB"}})})}function m({li:e,onSetLimits:t,disabled:o}){if(!e)return null;let{limits:i}=e,s=e.unreadable?"?":e.searchesToday,r=e.unreadable?"?":e.profilesToday,a=e=>t({...i,...e}),l=e=>{let n=function(e={},n={}){return Number(n.daily)>100&&Number(n.daily)>Number(e.daily)?`${n.daily} searches a day is more than LinkedIn has put up with. A real account was restricted after 373 searches in 24 hours, run back to back. The default is ${c.daily} a day.
2
+
3
+ Set ${n.daily} a day anyway?`:0===n.monthly&&0!==e.monthly?`With no monthly cap, only the daily budget stops a scan. A real account was restricted after 373 searches in 24 hours with no monthly cap set.
4
+
5
+ Turn the monthly cap off anyway?`:null}(i,{...i,...e});(!n||window.confirm(n))&&a(e)},d=function({daily:e,monthly:n}={}){if(!(({daily:e,monthly:n}={})=>Number(e)>100||0===n)({daily:e,monthly:n}))return null;let t=["A real account was restricted after 373 searches in 24 hours."];return Number(e)>100&&t.push(`${e} a day can use up a free account's month in a day or two.`),0===n&&t.push("With no monthly cap, nothing but the daily budget stops a long run."),t.join(" ")}(i);return(0,n.jsxs)("div",{style:{padding:"12px 14px",borderRadius:8,border:h,background:"rgba(255,255,255,0.03)",fontSize:12.5,color:"#b8c4c4"},children:[(0,n.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(210px, 1fr))",gap:14},children:[(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("b",{style:{color:"#fff"},children:s})," of ",i.daily||"no limit"," searches in the last 24 hours"]}),(0,n.jsx)(b,{used:e.searchesToday||0,cap:i.daily})]}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("b",{style:{color:"#fff"},children:e.searchesMonth})," of ",i.monthly||"no limit"," this month · resets ",x(e.monthResets)]}),(0,n.jsx)(b,{used:e.searchesMonth,cap:i.monthly})]}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("b",{style:{color:"#fff"},children:r})," of ",i.profiles," profile views today"]}),(0,n.jsx)(b,{used:e.unreadable?i.profiles:e.profilesToday,cap:i.profiles})]})]}),(0,n.jsxs)("div",{style:{display:"flex",gap:8,alignItems:"center",flexWrap:"wrap",marginTop:10},children:[(0,n.jsx)("span",{children:"Budget:"}),(0,n.jsx)("select",{value:i.daily,disabled:o,onChange:e=>l({daily:Number(e.target.value)}),style:k,children:u.map(e=>(0,n.jsxs)("option",{value:e,children:[e," a day"]},e))}),(0,n.jsx)("select",{value:i.monthly,disabled:o,onChange:e=>l({monthly:Number(e.target.value)}),style:k,children:g.map(e=>(0,n.jsx)("option",{value:e,children:e?`${e} a month`:"no monthly cap (Premium)"},e))}),(0,n.jsx)("select",{value:i.profiles,disabled:o,onChange:e=>a({profiles:Number(e.target.value)}),style:k,children:f.map(e=>(0,n.jsxs)("option",{value:e,children:[e," profile views a day"]},e))})]}),(0,n.jsx)("div",{style:{marginTop:8,color:"#778",lineHeight:1.6},children:"Every page of someone’s connections is one search. LinkedIn limits a free account’s people searches by the month (it doesn’t say how many; reports put it around 250–350), resetting on the 1st. When a budget is used, a scan saves what it read and stops; the next one carries on from the same page."}),d&&(0,n.jsxs)("div",{style:{marginTop:8,display:"flex",gap:10,alignItems:"center",flexWrap:"wrap",color:"#FFD700",lineHeight:1.6},children:[(0,n.jsx)("b",{style:{flex:1,minWidth:200},children:d}),(0,n.jsxs)("button",{onClick:()=>a(c),disabled:o,style:{...k,cursor:o?"not-allowed":"pointer",color:"#FFD700",borderColor:"rgba(255,215,0,0.4)"},children:["Back to ",c.daily," a day, ",c.monthly," a month"]})]}),(0,n.jsx)("div",{style:{marginTop:6,color:"#778",lineHeight:1.6},children:"Each circle scan opens the person’s profile once, which is one profile view. Profile views are what LinkedIn restricted an account for, after about 20 in an hour. The scanner opens at most one a minute, and once today’s are used, a scan stops before the next profile and tries that person next time."})]})}function j({paused:e=[],onResume:o,onResumeAll:i,disabled:s}){let[r,a]=(0,t.useState)(!1);if(!e.length)return null;let l=e.filter(e=>e.legacy).length,d=r?e:e.slice(0,8);return(0,n.jsxs)("div",{style:{borderRadius:8,border:h,background:"rgba(255,255,255,0.03)"},children:[(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:10,padding:"10px 14px",borderBottom:h,flexWrap:"wrap"},children:[(0,n.jsxs)("div",{style:{flex:1,minWidth:200},children:[(0,n.jsxs)("b",{style:{fontSize:13.5},children:["Paused — ",e.length," ",1===e.length?"list":"lists"," with more to read"]}),(0,n.jsxs)("div",{style:{fontSize:12,color:"#8b9a9a",marginTop:2},children:["Each carries on from the page it stopped at",l?`; ${l} were read to page 10 before whole lists were read`:"","."]})]}),(0,n.jsx)("button",{onClick:i,disabled:s,style:{...w,opacity:s?.4:1,cursor:s?"not-allowed":"pointer",background:s?"rgba(255,255,255,0.06)":"linear-gradient(135deg, #3498DB, #9B59B6)"},children:"Resume all"})]}),(0,n.jsx)("div",{children:d.map(e=>(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:10,padding:"8px 14px",borderBottom:"1px solid rgba(255,255,255,0.04)"},children:[(0,n.jsx)("span",{style:{width:8,height:8,borderRadius:"50%",background:p[e.tier]||"#667",flexShrink:0}}),(0,n.jsxs)("div",{style:{flex:1,minWidth:0},children:[(0,n.jsx)("div",{style:{fontSize:13,fontWeight:600,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.name}),(0,n.jsxs)("div",{style:{fontSize:11.5,color:"#8b9a9a"},children:["Read to page ",e.pagesRead," · carries on at ",e.nextPage,e.at?` \xb7 ${x(e.at)}`:"",e.unclear>=2?" · came back unclear twice, so it waits at the back of Resume all":""]})]}),(0,n.jsx)("button",{onClick:()=>o(e),disabled:s,style:{...w,padding:"6px 12px",fontSize:12,opacity:s?.4:1,cursor:s?"not-allowed":"pointer"},children:"Resume"})]},e.id))}),e.length>8&&(0,n.jsx)("button",{onClick:()=>a(!r),style:{...v,padding:"10px 14px"},children:r?"Show fewer":`Show all ${e.length}`})]})}let w={padding:"8px 14px",borderRadius:7,fontSize:13,fontWeight:700,cursor:"pointer",border:h,background:"rgba(255,255,255,0.08)",color:"#fff"},v={background:"none",border:"none",color:"#8fb8d6",cursor:"pointer",fontSize:12.5,fontWeight:600,padding:0},k={padding:"6px 8px",borderRadius:6,fontSize:12.5,fontWeight:600,background:"rgba(255,255,255,0.08)",color:"#fff",border:h};var S=e.i(8819),T=e.i(98197);e.i(77170);var C=e.i(69083),I=e.i(56899);let B={color:"#3498DB"};function z({onDone:e}){let[o,i]=(0,t.useState)([]),[s,r]=(0,t.useState)(null),[a,l]=(0,t.useState)(null);async function d(){r("pick"),l(null);let n=await (0,I.saveSettings)({sectorFocus:{sectors:o,strength:"lean"},fieldAsked:!0});n.settings?e(n.settings.sectorFocus.sectors):(l(n.error),r(null))}async function c(){r("skip"),l(null),await (0,I.saveSettings)({fieldAsked:!0}),e([])}return(0,n.jsxs)("section",{"aria-labelledby":"field-question","data-field-question":!0,style:{margin:"8px 0 0",padding:"20px 22px 0",borderRadius:12,border:S.LINE,background:"rgba(255,255,255,0.03)"},children:[(0,n.jsx)("div",{style:{fontSize:12,color:"#788",textTransform:"uppercase",letterSpacing:.6},children:"Before you scan · optional"}),(0,n.jsx)("h2",{id:"field-question",style:{fontSize:18,fontWeight:700,margin:"6px 0 4px"},children:"What field are you in?"}),(0,n.jsx)(S.Body,{style:{marginTop:0,marginBottom:14},children:"Pick up to three. Companies in your field count for more when your network is scored, so the people there rank higher. You can change it anytime on the Scores tab."}),(0,n.jsx)(T.default,{sectors:o,onChange:i,disabled:!!s}),(0,n.jsxs)("div",{style:{position:"sticky",bottom:0,margin:"16px -22px 0",padding:"12px 22px 16px",borderTop:S.LINE,borderRadius:"0 0 11px 11px",background:"#111121"},children:[(0,n.jsxs)("div",{style:{display:"flex",gap:8,flexWrap:"wrap"},children:[(0,n.jsx)(S.Btn,{primary:!0,onClick:d,disabled:!o.length||!!s,children:"pick"===s?"Saving…":"Continue"}),(0,n.jsx)(S.Btn,{onClick:c,disabled:!!s,children:"Skip for now"})]}),a&&(0,n.jsx)(S.Status,{tone:"bad",children:a})]})]})}function R({sectors:e}){return e.length?(0,n.jsxs)(S.Status,{tone:"ok",children:["Your field: ",e.map(e=>(0,C.sectorByKey)(e).label).join(" · "),". Your first scan is scored with it. Change it anytime on ",(0,n.jsx)(s.default,{href:"/scores#sector",style:B,children:"Scores"}),"."]}):(0,n.jsxs)(S.Status,{children:["No field for now. You can pick one anytime on ",(0,n.jsx)(s.default,{href:"/scores#sector",style:B,children:"Scores"}),"."]})}let W="1px solid rgba(255,255,255,0.1)",F={photos:"Saving profile photos to this computer",install:"Installing the scanner",setup:"Setting up the scanner",login:"Waiting for you to sign in",full:"Scanning your whole network",refresh:"Checking for new connections","auto-bridge":"Mapping 2nd-degree connections","auto-bridge-retry":"Mapping 2nd degree, hidden ones included",resume:"Carrying on with one paused list","resume-all":"Carrying on with every paused list"};function D(){let e;(0,t.useEffect)(()=>{"updates"===new URLSearchParams(window.location.search).get("check")&&window.location.replace("/settings?check=updates")},[]);let[i,c]=(0,t.useState)(null),[h,p]=(0,t.useState)(!1),[u,g]=(0,t.useState)(10),[f,x]=(0,t.useState)(["S","A"]),[b,w]=$("six-degrees-bridge-order","newest"),[v,k]=$("six-degrees-bridge-pages-v2",100),[S,T]=$("six-degrees-bridge-finish",!0),[C,I]=$("six-degrees-experimental-auto",!1),[B,D]=(0,t.useState)(null),L=(0,t.useRef)(null),[U,G]=(0,t.useState)(void 0),[Y,K]=(0,t.useState)(null),q=(0,o.useSearchParams)().get("scan"),[X,J]=(0,t.useState)(null);(0,t.useEffect)(()=>{if(!q)return;let e=!0;return(0,r.pickedPerson)(q).then(n=>{e&&J(n?.person?n:null)},()=>{}),()=>{e=!1}},[q]);let V=(0,t.useCallback)(async()=>{try{let e=await fetch("/api/scraper");c(await e.json())}catch{c(e=>e||{ready:!1,checks:{},log:[]})}},[]);async function Q(){D(null),await (0,r.stopScrape)().catch(e=>D(e.message)),V()}async function Z(e,n={}){D(null),p(!0);try{let t=await fetch("/api/scraper",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:e,...n})}),o=await t.json();t.ok||D(o.error||"Could not start.")}catch(e){D(e.message)}finally{p(!1),V()}}(0,t.useEffect)(()=>{V();let e=setInterval(V,1500);return()=>clearInterval(e)},[V]),(0,t.useEffect)(()=>{if(l.IS_DEMO)return;let e=!1;return fetch("/api/settings").then(e=>e.ok?e.json():null).then(n=>{e||G(n?.settings||null)}).catch(()=>{e||G(null)}),()=>{e=!0}},[]),(0,t.useEffect)(()=>{L.current&&(L.current.scrollTop=L.current.scrollHeight)},[i?.log?.length]);let ee=i?.checks||{},en=i?.running,et={...e=function(e){let n=e?.checks||{},t=(n,t,o)=>e?.running&&e.action===n?o:t;if(n.dependencies)return"bundled"===n.pythonSource?{done:!0,text:"Ready. The scanner and its Python come with the app, so there is nothing to install.",button:null}:"custom"===n.pythonSource?{done:!0,text:`Ready, on the Python named in SIX_DEGREES_PYTHON (${n.pythonPath}).`,button:null}:{done:!0,text:"Installed.",button:null};let o=n.ownPython&&"bundled"!==n.ownPython.source?`The Python named in SIX_DEGREES_PYTHON didn't work (${n.ownPython.problem}), so the scanner needs setting up another way. `:"";if(n.installFrom)return{done:!1,text:o+("downloaded"===n.installFrom.source?"Its own Python is already here. One more step, about a minute: it installs the browser-automation packages into it.":"One-time, about a minute. Downloads the browser-automation packages."),button:{action:"install",label:t("install","Install","Installing…")}};if(n.download){let e=Math.round(n.download.size/1048576);return{done:!1,text:`${o}${function(e){if(!e?.version)return"This computer has no Python the scanner can use.";let[n,t]=String(e.version).split(".").map(Number);return 3===n&&t>=10&&t<=14&&!1===e.venv?`This computer's Python ${e.version} can't make the scanner's own environment (on Ubuntu or Debian, python3-venv isn't installed).`:`This computer has Python ${e.version}, and the scanner needs 3.10 to 3.14.`}(n.systemPython)} Set up the scanner downloads its own Python ${n.download.version} (${e} MB, from GitHub) and the scanner's packages (from PyPI) into your data folder. Nothing else on this computer changes. About two minutes.`,button:{action:"setup",label:t("setup","Set up the scanner","Setting up…")}}}return{done:!1,text:`${o}No Python 3.10 to 3.14 was found on this machine. Install one from python.org, then reload.`,button:null}}(i),note:function(e,{done:n,button:t}){if(e?.source!=="bundled")return null;let o=/SIGKILL|code signature|not valid for use in process|quarantine|not permitted/i.test(e.problem||""),i=[`The Python that comes with the app didn't work (${e.problem}).`];return o&&i.push("macOS may have blocked it."),!1===e.retry&&i.push("Six Degrees won't try it again until you restart it."),n?i.push("The scanner uses another Python on this computer instead."):t?i.push(`To scan now, use ${a[t.action]} below: it gives the scanner a Python of its own in your data folder.`):i.push("To scan now, install Python 3.10 to 3.14 from python.org, then reload."),i.join(" ")}(i?.checks?.ownPython,e)};i&&ee.dependencies;let eo=i&&!ee.chrome,ei=i&&!ee.scriptsFound,es=i?.ready&&!en,er=i?.linkedin,ea=!!er?.cooldown,el=es&&!ea,ed=i?.network||{first:0,second:0,third:0},ec=ed.first,eh=!l.IS_DEMO&&!Y&&function(e,n){if(!e)return null;let t=e.network;return!!t&&!t.first&&!t.second&&!t.third&&!e.running&&(void 0===n?null:!!(n&&!n.fieldAsked&&!n.sectorFocus?.sectors?.length))}(i,U),ep=i&&!en&&null!=i.exitCode&&0!==i.exitCode,eu=ep?i.failure?.length?i.failure.join("\n"):[...i.log||[]].reverse().find(e=>!/^Stopped \(exit/.test(e)&&!/Warning|warnings\.warn/.test(e)):null;return(0,n.jsxs)("div",{style:{minHeight:"100vh",background:"#0a0a1a",color:"#fff",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'},children:[(0,n.jsxs)("header",{style:{padding:"16px 24px",borderBottom:W,display:"flex",alignItems:"center",gap:16},children:[(0,n.jsx)(s.default,{href:"/",style:{display:"flex",alignItems:"center",gap:6,color:"#888",textDecoration:"none",fontSize:13,fontWeight:600,padding:"6px 14px",borderRadius:6,background:"rgba(255,255,255,0.06)",border:W},children:"← Back to Map"}),(0,n.jsx)("h1",{style:{fontSize:22,fontWeight:700,margin:0,background:"linear-gradient(135deg, #FFD700, #9B59B6, #3498DB)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"Scan your network"})]}),(0,n.jsxs)("div",{style:{maxWidth:720,margin:"0 auto",padding:"32px 24px 64px"},children:[(0,n.jsxs)("p",{style:{color:"#9aa",fontSize:15,lineHeight:1.6,marginTop:0},children:["This reads your own LinkedIn connections in a real Chrome window on this machine and saves them here. Nothing leaves your computer, and you will never be asked for your password — you sign in yourself, once.",!ec&&(eh?" One optional question, then three steps and your galaxy appears.":" Three steps and your galaxy appears; each one ticks itself off.")]}),null===eh&&(0,n.jsx)("p",{style:{color:"#778",fontSize:13},children:"Checking your setup…"}),eh&&(0,n.jsx)(z,{onDone:function(e){K({sectors:e}),window.scrollTo(0,0)}}),Y&&(0,n.jsx)(R,{sectors:Y.sectors}),!1===eh&&(0,n.jsxs)(n.Fragment,{children:[X?.person.id===q&&(0,n.jsx)(P,{pick:X,pages:v,setPages:k,li:er,running:en,s:i,canSearch:el,busy:h,onUnpick:function(){J(null);try{window.history.replaceState(null,"",window.location.pathname)}catch{}},onStart:()=>Z("bridge",{id:X.person.id,maxPages:v})}),ec>0&&!en&&(0,n.jsx)(H,{children:(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:14,flexWrap:"wrap"},children:[(0,n.jsxs)("div",{style:{flex:1,minWidth:200},children:[(0,n.jsxs)("b",{children:[ec.toLocaleString()," connections"]}),ed.second>0&&(0,n.jsxs)(n.Fragment,{children:[", plus ",ed.second.toLocaleString()," people in their circles"]}),ed.third>0&&(0,n.jsxs)(n.Fragment,{children:[" and ",ed.third.toLocaleString()," from company scans"]}),"."," ",(0,n.jsx)("span",{style:{color:"#9aa"},children:"Your galaxy is ready."})]}),(0,n.jsx)(s.default,{href:"/",style:{padding:"9px 18px",borderRadius:7,fontSize:13.5,fontWeight:700,color:"#0a0a1a",textDecoration:"none",background:"linear-gradient(135deg, #FFD700, #FF6B35)"},children:"See your network →"})]})}),i?.photosWaiting>0&&!en&&(0,n.jsx)(H,{children:(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:14,flexWrap:"wrap"},children:[(0,n.jsxs)("div",{style:{flex:1,minWidth:200},children:[(0,n.jsxs)("b",{children:[i.photosWaiting.toLocaleString()," ",1===i.photosWaiting?"photo isn’t":"photos aren’t"," saved on this computer yet."]})," ",(0,n.jsx)("span",{style:{color:"#9aa"},children:"An older version kept them as links to LinkedIn. The app doesn’t load photos from LinkedIn while you browse, so those people show initials until the photos are saved here: now, or at the end of your next scan. An expired link can’t be saved; that person’s photo comes back when they’re next scanned."}),i&&!ee.dependencies&&(0,n.jsx)("div",{style:{color:"#8b9a9a",fontSize:12.5,marginTop:6},children:"Set up the scanner first (step 1 below): it saves them."})]}),(0,n.jsx)(M,{onClick:()=>Z("photos"),disabled:h||!ee.dependencies,children:"Save photos"})]})}),ep&&(0,n.jsxs)(H,{tone:"bad",children:[(0,n.jsx)("b",{children:"The last run stopped before it finished."}),eu&&(0,n.jsx)("div",{style:{marginTop:6,color:"#e8c4c4",whiteSpace:"pre-wrap",fontFamily:"ui-monospace, SFMono-Regular, Menlo, monospace",fontSize:12.5},children:eu}),(0,n.jsx)("div",{style:{color:"#9aa",marginTop:6},children:"The full log is below."})]}),ei&&(0,n.jsxs)(H,{tone:"bad",children:[(0,n.jsx)("b",{children:"Can’t find the scanner files."}),(0,n.jsx)("br",{}),(0,n.jsxs)("span",{style:{color:"#9aa"},children:["Expected ",(0,n.jsx)("code",{style:N,children:"scripts/scrape.py"})," next to the app. If you downloaded a zip, run the app from inside the project folder."]})]}),eo&&(0,n.jsxs)(H,{tone:"bad",children:[(0,n.jsx)("b",{children:"Google Chrome isn’t installed."}),(0,n.jsx)("br",{}),(0,n.jsxs)("span",{style:{color:"#9aa"},children:["The scanner drives your real Chrome. Install it from"," ",(0,n.jsx)("a",{href:"https://www.google.com/chrome/",target:"_blank",rel:"noreferrer",style:{color:"#3498DB"},children:"google.com/chrome"}),", then reload this page."]})]}),i&&et.note&&(0,n.jsx)(H,{tone:et.done?void 0:"bad",children:et.note}),(0,n.jsx)(A,{n:1,done:et.done,title:"Set up the scanner",body:i?et.text:"",action:i&&et.button&&(0,n.jsx)(M,{onClick:()=>Z(et.button.action),disabled:h||en,children:et.button.label})}),(0,n.jsx)(A,{n:2,done:!!ee.signedIn,title:"Sign into LinkedIn",body:ee.signedIn?"Signed in on this machine. If LinkedIn ever asks for a security check, or a scan says you were signed out, open LinkedIn here and finish it by hand.":"Opens a Chrome window. Sign in with your email and password — “Continue with Google” cannot work here, because Google blocks its sign-in inside automated browsers.",action:ee.dependencies&&(0,n.jsx)(M,{onClick:()=>Z("login"),disabled:h||en,children:en&&"login"===i.action?"Waiting for you…":"Open LinkedIn"})}),(0,n.jsx)(A,{n:3,done:ec>0,title:"1st degree — the people you know",body:"The first scan walks your whole connections list, about a minute and a half for 750 people. After that, Check for new only looks at what has been added since.",action:(0,n.jsxs)("div",{style:{display:"flex",gap:10,flexWrap:"wrap"},children:[(0,n.jsx)(M,{onClick:()=>Z("full"),disabled:!el,primary:!0,children:en&&"full"===i.action?"Scanning…":"Scan my whole network"}),(0,n.jsx)(M,{onClick:()=>Z("refresh"),disabled:!el,children:en&&"refresh"===i.action?"Checking…":"Check for new"})]})}),(0,n.jsx)(A,{n:4,done:!1,title:"2nd degree — the people they know",body:(0,n.jsxs)(n.Fragment,{children:["This is what fills ",(0,n.jsx)("b",{children:"Degrees"})," and ",(0,n.jsx)("b",{children:"Outlink"}),": it opens each of your connections in turn and reads who ",(0,n.jsx)("i",{children:"they"})," know. Most people hide their connections — those are noted and never tried again.",(0,n.jsx)("br",{}),(0,n.jsx)("br",{}),"It is slow on purpose, about two minutes between each person, because this is the part LinkedIn notices. During development a real account was temporarily restricted after roughly ",(0,n.jsx)("b",{children:"19 people in one sitting"}),". Run a batch, leave it for a day, run another — and stop the moment LinkedIn mentions unusual activity. It always picks up where it left off: anyone still without a mapped circle, in the order you choose below — your newest connections first, or highest tier first. Each person’s list is read to the end, saving every 10 pages, and a read that is stopped carries on from the same page next time."]}),action:(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:12},children:[(0,n.jsx)(y,{cooldown:er?.cooldown,disabled:h,onLift:()=>Z("lift-cooldown")}),(0,n.jsx)(m,{li:er,disabled:h,onSetLimits:e=>Z("set-limits",e)}),"score"===b&&(0,n.jsxs)("div",{style:{display:"flex",gap:8,alignItems:"center",flexWrap:"wrap"},children:[(0,n.jsx)("span",{style:{fontSize:12,color:"#8b9a9a"},children:"Work through"}),["S","A","B","C","D"].map(e=>{let t=f.includes(e);return(0,n.jsx)("button",{onClick:()=>x(n=>n.includes(e)?n.filter(n=>n!==e):[...n,e]),disabled:en,style:{width:30,height:28,borderRadius:7,fontSize:12,fontWeight:700,cursor:en?"not-allowed":"pointer",border:W,background:t?"rgba(52,152,219,0.22)":"rgba(255,255,255,0.05)",color:t?"#cfe6f7":"#667"},children:e},e)}),(0,n.jsx)("span",{style:{fontSize:11.5,color:"#667"},children:f.length?"":"pick at least one"})]}),"newest"===b&&(0,n.jsxs)("div",{style:{fontSize:12,color:"#8b9a9a",lineHeight:1.6},children:["Goes by the date you connected, newest first, across every tier. Run"," ",(0,n.jsx)("b",{children:"Check for new"})," first so your latest connections are in the list."]}),(0,n.jsxs)("div",{style:{display:"flex",gap:10,flexWrap:"wrap",alignItems:"center"},children:[(0,n.jsx)("span",{style:{fontSize:12,color:"#8b9a9a"},children:"Start with"}),(0,n.jsxs)("select",{value:b,onChange:e=>w(e.target.value),disabled:en,style:E,children:[(0,n.jsx)("option",{value:"newest",children:"Newest connections first"}),(0,n.jsx)("option",{value:"score",children:"Highest tier first"})]}),(0,n.jsx)("span",{style:{fontSize:12,color:"#8b9a9a"},children:"Read up to"}),(0,n.jsxs)("select",{value:v,onChange:e=>k(Number(e.target.value)),disabled:en,style:E,children:[(0,n.jsx)("option",{value:100,children:"every page, to the end of their list"}),(0,n.jsx)("option",{value:50,children:"50 pages each"}),(0,n.jsx)("option",{value:25,children:"25 pages each"}),(0,n.jsx)("option",{value:10,children:"10 pages (~100 people) each"})]})]}),(0,n.jsxs)("label",{style:{display:"flex",gap:8,alignItems:"center",fontSize:12.5,color:"#cfd8d8",cursor:en?"not-allowed":"pointer"},children:[(0,n.jsx)("input",{type:"checkbox",checked:S,onChange:e=>T(e.target.checked),disabled:en}),"Also finish people already mapped, from the page each one stopped at"]}),(0,n.jsxs)("label",{style:{display:"flex",gap:8,alignItems:"flex-start",fontSize:12.5,color:"#b8c4c4",cursor:en?"default":"pointer"},children:[(0,n.jsx)("input",{type:"checkbox",checked:C,disabled:en,style:{marginTop:3},onChange:e=>{I(e.target.checked),window.dispatchEvent(new Event("six-degrees:experimental"))}}),(0,n.jsxs)("span",{children:[(0,n.jsx)("b",{style:{color:"#FFD700"},children:"Experimental:"})," all-day pacing. Up to 10 pages in a sitting, then a 45-minute rest; searches only from 9:00 to 19:00; at the daily budget it waits for it to free up instead of stopping; and it saves every page. It also reads LinkedIn’s own data beside the page text, to fill gaps and measure how the two compare. It keeps running while the app is open."]})]}),(0,n.jsxs)("div",{style:{fontSize:12,color:"#FFD700",lineHeight:1.6},children:["Every page is a LinkedIn search, so it rests 20 seconds before each one and a minute after every 10, and a long list can take"," ","about ",(0,d.circleScanCost)(v).minutes," minutes a person. LinkedIn shows 100 pages of anyone’s connections at most. Free accounts have a monthly search limit: if LinkedIn says it has been reached, the scan saves what it read and stops, and carries on from that page next time. Keep batches small."]}),(0,n.jsxs)("div",{style:{display:"flex",gap:10,flexWrap:"wrap",alignItems:"center"},children:[(0,n.jsx)(M,{onClick:()=>Z("auto-bridge",{maxBridges:u,tiers:"score"===b?f:[],order:b,maxPages:v,deeper:S,experimental:C}),disabled:!el||"score"===b&&!f.length,primary:!0,children:en&&"auto-bridge"===i.action?"Mapping…":"Map 2nd degree"}),(0,n.jsxs)("select",{value:u,onChange:e=>g(Number(e.target.value)),disabled:en,style:E,children:[(0,n.jsx)("option",{value:5,children:"5 people"}),(0,n.jsx)("option",{value:10,children:"10 people"}),(0,n.jsx)("option",{value:25,children:"25 people"}),(0,n.jsx)("option",{value:0,children:"everyone — not advised"})]}),(0,n.jsx)(M,{onClick:()=>Z("auto-bridge-retry",{maxBridges:u,tiers:"score"===b?f:[],order:b,maxPages:v,deeper:S}),disabled:!el||"score"===b&&!f.length,children:"Retry hidden ones"})]}),(0,n.jsx)(j,{paused:i?.paused||[],disabled:!el,onResume:e=>Z("resume",{id:e.id}),onResumeAll:()=>Z("resume-all",{maxBridges:u})})]})}),en&&(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:12,marginTop:20,padding:"14px 16px",borderRadius:8,background:"rgba(255,255,255,0.05)",border:W},children:[(0,n.jsx)(_,{}),(0,n.jsxs)("div",{style:{flex:1,fontSize:13.5},children:[(0,n.jsx)("b",{children:F[i.action]||"Working"}),i.progress&&(0,n.jsx)(O,{p:i.progress,action:i.action}),(0,n.jsx)("div",{style:{color:"#8b9a9a",fontSize:12.5,marginTop:2},children:"Stopping closes the browser cleanly and keeps everything found so far."})]}),(0,n.jsx)(M,{onClick:Q,tone:"bad",children:"Stop"})]}),B&&(0,n.jsx)(H,{tone:"bad",children:B}),i?.log?.length>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:10,margin:"28px 0 8px",fontSize:12,color:"#788",textTransform:"uppercase",letterSpacing:.6},children:[en&&(0,n.jsx)(_,{}),en?"Working":"Last run"]}),(0,n.jsx)("pre",{ref:L,style:{background:"rgba(0,0,0,0.45)",border:W,borderRadius:8,padding:14,maxHeight:280,overflow:"auto",margin:0,fontSize:12.5,lineHeight:1.7,color:"#b9c6c6",fontFamily:"ui-monospace, SFMono-Regular, Menlo, monospace",whiteSpace:"pre-wrap",wordBreak:"break-word"},children:i.log.join("\n")})]})]}),(0,n.jsxs)("div",{style:{marginTop:32,paddingTop:20,borderTop:W,fontSize:13.5,color:"#8b9a9a"},children:["Checking for updates has moved to"," ",(0,n.jsx)(s.default,{href:"/settings#updates",style:{color:"#3498DB"},children:"Settings →"})]}),(0,n.jsxs)("p",{style:{color:"#667",fontSize:12.5,lineHeight:1.7,marginTop:32},children:["Automating LinkedIn may go against its User Agreement, and accounts have been restricted for it. This runs locally against your own account, at your own risk. LinkedIn’s own CSV export is the supported route and needs none of this —"," ",(0,n.jsx)(s.default,{href:"/import",style:{color:"#3498DB"},children:"import a CSV instead"}),"."]})]}),(0,n.jsx)("style",{children:`@keyframes spin { to { transform: rotate(360deg) } }
6
+ @keyframes slide { 0% { transform: translateX(-100%) } 100% { transform: translateX(300%) } }`})]})}function P({pick:e,pages:t,setPages:o,li:i,running:r,s:a,canSearch:l,busy:c,onStart:h,onUnpick:p}){let{person:u,circle:g}=e,f=String(u.name||"").trim().split(/\s+/)[0]||"them",x=(0,d.circleScanCost)(t),y=r&&a?.target?.id===u.id,b=i?.leftToday!=null&&i.leftToday<x.searches;return(0,n.jsxs)("div",{style:{margin:"16px 0",padding:"16px 18px",borderRadius:10,fontSize:13.5,lineHeight:1.6,background:"rgba(0,255,136,0.05)",border:"1px solid rgba(0,255,136,0.3)"},children:[(0,n.jsx)("div",{style:{fontSize:11,fontWeight:700,color:"#00ff88",letterSpacing:.6,textTransform:"uppercase",marginBottom:4},children:"Scan one circle"}),(0,n.jsxs)("div",{style:{fontSize:16,fontWeight:700},children:[u.name," ",(0,n.jsxs)("span",{style:{fontSize:12,color:L[u.tier]||"#888"},children:[u.tier,"-tier"]})]}),u.unlocked_from_name&&(0,n.jsxs)("div",{style:{fontSize:12.5,color:"#9aa"},children:["Was in ",u.unlocked_from_name,"’s circle"]}),y?(0,n.jsxs)("div",{style:{marginTop:10},children:[(0,n.jsxs)("b",{children:["Scanning ",f,"’s circle."]})," It saves every 10 pages, and"," ",(0,n.jsx)(s.default,{href:`/?chain=${encodeURIComponent(u.id)}`,style:{color:"#00ff88"},children:"Bridge Chains shows it filling in →"})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{style:{color:"#b8c4c4",marginTop:10},children:["It costs ",(0,n.jsxs)("b",{children:[x.profileViews," profile view"]})," to find their list, then ",(0,n.jsx)("b",{children:"one LinkedIn search for every page"})," of it: up to ",x.searches," ",1===x.searches?"page":"pages",", about ",x.minutes," minutes.",i?.leftToday!=null&&(0,n.jsxs)(n.Fragment,{children:[" ",(0,n.jsx)("b",{children:i.leftToday})," of your ",i.limits?.daily," searches a day are left",b?"; the scan stops when they run out, and can carry on from that page later":"","."]})]}),"scanned"===g&&(0,n.jsx)("div",{style:{color:"#FFD700",fontSize:12.5,marginTop:6},children:"Their circle is already scanned. This reads their whole list again from page 1; to carry on from where a read stopped, use Resume on their card or in the Paused list below."}),"hidden"===g&&(0,n.jsx)("div",{style:{color:"#FFD700",fontSize:12.5,marginTop:6},children:"Their list was hidden last time it was tried. Trying again costs a profile view."}),(0,n.jsxs)("div",{style:{display:"flex",gap:10,alignItems:"center",flexWrap:"wrap",marginTop:12},children:[(0,n.jsxs)(M,{onClick:h,disabled:!l||c,primary:!0,children:["Scan ",f,"’s circle"]}),(0,n.jsxs)("select",{value:t,onChange:e=>o(Number(e.target.value)),disabled:r,style:E,"aria-label":"How many pages of their list to read",children:[(0,n.jsx)("option",{value:100,children:"every page, to the end of their list"}),(0,n.jsx)("option",{value:50,children:"up to 50 pages"}),(0,n.jsx)("option",{value:25,children:"up to 25 pages"}),(0,n.jsx)("option",{value:10,children:"up to 10 pages (~100 people)"})]}),(0,n.jsx)(M,{onClick:p,children:"Not now"})]}),!l&&(0,n.jsx)("div",{style:{fontSize:12.5,color:"#8b9a9a",marginTop:8},children:r?"Something else is running. One scan at a time: this one can start when it finishes.":i?.cooldown?"Scanning is paused for now (see below).":"The scanner isn’t ready yet: finish the steps below first."})]})]})}let L={S:"#FFD700",A:"#9B59B6",B:"#3498DB",C:"#95A5A6",D:"#BDC3C7"};function $(e,n){let[o,i]=(0,t.useState)(n);return(0,t.useEffect)(()=>{try{let n=localStorage.getItem(e);null!==n&&i(JSON.parse(n))}catch{}},[e]),[o,n=>{i(n);try{localStorage.setItem(e,JSON.stringify(n))}catch{}}]}let N={background:"rgba(255,255,255,0.08)",padding:"1px 5px",borderRadius:4},E={padding:"9px 10px",borderRadius:7,fontSize:13.5,fontWeight:600,background:"rgba(255,255,255,0.08)",color:"#fff",border:W};function A({n:e,done:t,title:o,body:i,action:s}){return(0,n.jsxs)("div",{style:{display:"flex",gap:16,padding:"20px 0",borderBottom:W,alignItems:"flex-start"},children:[(0,n.jsx)("div",{style:{flexShrink:0,width:28,height:28,borderRadius:"50%",display:"grid",placeItems:"center",fontSize:13,fontWeight:700,background:t?"rgba(0,255,136,0.15)":"rgba(255,255,255,0.08)",color:t?"#00ff88":"#889",border:`1px solid ${t?"rgba(0,255,136,0.4)":"rgba(255,255,255,0.14)"}`},children:t?"✓":e}),(0,n.jsxs)("div",{style:{flex:1,minWidth:0},children:[(0,n.jsx)("div",{style:{fontSize:15.5,fontWeight:650,marginBottom:4},children:o}),(0,n.jsx)("div",{style:{fontSize:13.5,color:"#8b9a9a",lineHeight:1.6,marginBottom:12*!!s},children:i}),s]})]})}function M({children:e,onClick:t,disabled:o,primary:i,tone:s}){return(0,n.jsx)("button",{onClick:t,disabled:o,style:{padding:"9px 18px",borderRadius:7,fontSize:13.5,fontWeight:650,color:o?"#667":"#fff",background:o?"rgba(255,255,255,0.05)":"bad"===s?"rgba(255,80,80,0.15)":i?"linear-gradient(135deg, #9B59B6, #3498DB)":"rgba(255,255,255,0.08)",border:W,cursor:o?"not-allowed":"pointer"},children:e})}function H({children:e,tone:t}){return(0,n.jsx)("div",{style:{margin:"16px 0",padding:"14px 16px",borderRadius:8,fontSize:13.5,lineHeight:1.6,background:"bad"===t?"rgba(255,80,80,0.08)":"rgba(255,255,255,0.05)",border:`1px solid ${"bad"===t?"rgba(255,80,80,0.3)":"rgba(255,255,255,0.12)"}`},children:e})}function O({p:e,action:t}){let o;if("saving"===e.kind)return(0,n.jsxs)("div",{style:{margin:"8px 0 6px"},children:[(0,n.jsx)("div",{role:"progressbar","aria-label":"Saving",style:{height:8,borderRadius:4,overflow:"hidden",background:"rgba(255,255,255,0.08)",marginBottom:6},children:(0,n.jsx)("div",{style:{width:"35%",height:"100%",borderRadius:4,background:"linear-gradient(90deg, #9B59B6, #3498DB)",animation:"slide 1.2s ease-in-out infinite"}})}),(0,n.jsx)("div",{style:{fontSize:12.5,color:"#cfe6f7"},children:"Saving to your network and fetching photos — this can take a minute or two."})]});let i=Math.max(0,Math.min(100,Math.round(e.done/e.total*100)));return o="download"===e.kind?`Downloading Python: ${e.done.toFixed(1)} of ${e.total.toFixed(1)} MB \xb7 ${i}%`:"batch"===e.kind?`Person ${e.current} of ${e.total}`:"refresh"===t?`Looked at ${e.done.toLocaleString()} so far — stops once it reaches people already saved`:`${e.done.toLocaleString()} of ${e.total.toLocaleString()} connections \xb7 ${i}%`,(0,n.jsxs)("div",{style:{margin:"8px 0 6px"},children:["refresh"!==t&&(0,n.jsx)("div",{role:"progressbar","aria-valuemin":0,"aria-valuemax":e.total,"aria-valuenow":e.done,"aria-label":o,style:{height:8,borderRadius:4,overflow:"hidden",background:"rgba(255,255,255,0.08)",marginBottom:6},children:(0,n.jsx)("div",{style:{width:`${i}%`,height:"100%",borderRadius:4,background:"linear-gradient(90deg, #9B59B6, #3498DB)",transition:"width 0.6s ease"}})}),(0,n.jsx)("div",{style:{fontSize:12.5,color:"#cfe6f7"},children:o})]})}function _(){return(0,n.jsx)("span",{style:{width:11,height:11,borderRadius:"50%",display:"inline-block",border:"2px solid rgba(255,255,255,0.2)",borderTopColor:"#3498DB",animation:"spin 0.8s linear infinite"}})}e.s(["default",0,function(){return(0,n.jsx)(i.default,{children:(0,n.jsx)(t.Suspense,{children:(0,n.jsx)(D,{})})})}],68863)}]);