beadscope 0.0.0-stage → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (594) hide show
  1. package/.next/BUILD_ID +1 -0
  2. package/.next/app-path-routes-manifest.json +35 -0
  3. package/.next/build/chunks/[root-of-the-server]__05i36w1t4lzaf._.js +502 -0
  4. package/.next/build/chunks/[root-of-the-server]__05i36w1t4lzaf._.js.map +11 -0
  5. package/.next/build/chunks/[root-of-the-server]__1kki86fknkq7y._.js +191 -0
  6. package/.next/build/chunks/[root-of-the-server]__1kki86fknkq7y._.js.map +8 -0
  7. package/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_1gfkiq9iz8yb8._.js +13 -0
  8. package/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_1gfkiq9iz8yb8._.js.map +5 -0
  9. package/.next/build/chunks/[turbopack]_runtime.js +1056 -0
  10. package/.next/build/chunks/[turbopack]_runtime.js.map +11 -0
  11. package/.next/build/chunks/node_modules_20v-8wlfss9m1._.js +7240 -0
  12. package/.next/build/chunks/node_modules_20v-8wlfss9m1._.js.map +47 -0
  13. package/.next/build/chunks/pool_entry-[turbopack-node]_transforms_postcss_ts_0tp-k2vy8nj6i._.js +6 -0
  14. package/.next/build/chunks/pool_entry-[turbopack-node]_transforms_postcss_ts_0tp-k2vy8nj6i._.js.map +5 -0
  15. package/.next/build/package.json +1 -0
  16. package/.next/build-manifest.json +69 -0
  17. package/.next/export-marker.json +6 -0
  18. package/.next/fallback-build-manifest.json +15 -0
  19. package/.next/images-manifest.json +68 -0
  20. package/.next/next-minimal-server.js.nft.json +1 -0
  21. package/.next/next-server.js.nft.json +1 -0
  22. package/.next/package.json +1 -0
  23. package/.next/prerender-manifest.json +193 -0
  24. package/.next/required-server-files.js +379 -0
  25. package/.next/required-server-files.json +379 -0
  26. package/.next/routes-manifest.json +293 -0
  27. package/.next/server/app/_global-error/page/app-paths-manifest.json +3 -0
  28. package/.next/server/app/_global-error/page/build-manifest.json +22 -0
  29. package/.next/server/app/_global-error/page/next-font-manifest.json +6 -0
  30. package/.next/server/app/_global-error/page/react-loadable-manifest.json +1 -0
  31. package/.next/server/app/_global-error/page/server-reference-manifest.json +4 -0
  32. package/.next/server/app/_global-error/page.js +10 -0
  33. package/.next/server/app/_global-error/page.js.map +5 -0
  34. package/.next/server/app/_global-error/page.js.nft.json +1 -0
  35. package/.next/server/app/_global-error/page_client-reference-manifest.js +3 -0
  36. package/.next/server/app/_global-error.html +1 -0
  37. package/.next/server/app/_global-error.meta +30 -0
  38. package/.next/server/app/_global-error.rsc +19 -0
  39. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +24 -0
  40. package/.next/server/app/_global-error.segments/_full.segment.rsc +19 -0
  41. package/.next/server/app/_global-error.segments/_tree.segment.rsc +2 -0
  42. package/.next/server/app/_not-found/page/app-paths-manifest.json +3 -0
  43. package/.next/server/app/_not-found/page/build-manifest.json +22 -0
  44. package/.next/server/app/_not-found/page/next-font-manifest.json +11 -0
  45. package/.next/server/app/_not-found/page/react-loadable-manifest.json +1 -0
  46. package/.next/server/app/_not-found/page/server-reference-manifest.json +4 -0
  47. package/.next/server/app/_not-found/page.js +13 -0
  48. package/.next/server/app/_not-found/page.js.map +5 -0
  49. package/.next/server/app/_not-found/page.js.nft.json +1 -0
  50. package/.next/server/app/_not-found/page_client-reference-manifest.js +3 -0
  51. package/.next/server/app/_not-found.html +12 -0
  52. package/.next/server/app/_not-found.meta +35 -0
  53. package/.next/server/app/_not-found.rsc +25 -0
  54. package/.next/server/app/_not-found.segments/_full.segment.rsc +25 -0
  55. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +31 -0
  56. package/.next/server/app/_not-found.segments/_tree.segment.rsc +4 -0
  57. package/.next/server/app/api/config/route/app-paths-manifest.json +3 -0
  58. package/.next/server/app/api/config/route/build-manifest.json +12 -0
  59. package/.next/server/app/api/config/route/server-reference-manifest.json +4 -0
  60. package/.next/server/app/api/config/route.js +11 -0
  61. package/.next/server/app/api/config/route.js.map +5 -0
  62. package/.next/server/app/api/config/route.js.nft.json +1 -0
  63. package/.next/server/app/api/config/route_client-reference-manifest.js +3 -0
  64. package/.next/server/app/api/fs/route/app-paths-manifest.json +3 -0
  65. package/.next/server/app/api/fs/route/build-manifest.json +12 -0
  66. package/.next/server/app/api/fs/route/server-reference-manifest.json +4 -0
  67. package/.next/server/app/api/fs/route.js +10 -0
  68. package/.next/server/app/api/fs/route.js.map +5 -0
  69. package/.next/server/app/api/fs/route.js.nft.json +1 -0
  70. package/.next/server/app/api/fs/route_client-reference-manifest.js +3 -0
  71. package/.next/server/app/api/p/[projectId]/activity/route/app-paths-manifest.json +3 -0
  72. package/.next/server/app/api/p/[projectId]/activity/route/build-manifest.json +12 -0
  73. package/.next/server/app/api/p/[projectId]/activity/route/server-reference-manifest.json +4 -0
  74. package/.next/server/app/api/p/[projectId]/activity/route.js +11 -0
  75. package/.next/server/app/api/p/[projectId]/activity/route.js.map +5 -0
  76. package/.next/server/app/api/p/[projectId]/activity/route.js.nft.json +1 -0
  77. package/.next/server/app/api/p/[projectId]/activity/route_client-reference-manifest.js +3 -0
  78. package/.next/server/app/api/p/[projectId]/attachments/[...path]/route/app-paths-manifest.json +3 -0
  79. package/.next/server/app/api/p/[projectId]/attachments/[...path]/route/build-manifest.json +12 -0
  80. package/.next/server/app/api/p/[projectId]/attachments/[...path]/route/server-reference-manifest.json +4 -0
  81. package/.next/server/app/api/p/[projectId]/attachments/[...path]/route.js +10 -0
  82. package/.next/server/app/api/p/[projectId]/attachments/[...path]/route.js.map +5 -0
  83. package/.next/server/app/api/p/[projectId]/attachments/[...path]/route.js.nft.json +1 -0
  84. package/.next/server/app/api/p/[projectId]/attachments/[...path]/route_client-reference-manifest.js +3 -0
  85. package/.next/server/app/api/p/[projectId]/attachments/route/app-paths-manifest.json +3 -0
  86. package/.next/server/app/api/p/[projectId]/attachments/route/build-manifest.json +12 -0
  87. package/.next/server/app/api/p/[projectId]/attachments/route/server-reference-manifest.json +4 -0
  88. package/.next/server/app/api/p/[projectId]/attachments/route.js +10 -0
  89. package/.next/server/app/api/p/[projectId]/attachments/route.js.map +5 -0
  90. package/.next/server/app/api/p/[projectId]/attachments/route.js.nft.json +1 -0
  91. package/.next/server/app/api/p/[projectId]/attachments/route_client-reference-manifest.js +3 -0
  92. package/.next/server/app/api/p/[projectId]/beads/[id]/archive/route/app-paths-manifest.json +3 -0
  93. package/.next/server/app/api/p/[projectId]/beads/[id]/archive/route/build-manifest.json +12 -0
  94. package/.next/server/app/api/p/[projectId]/beads/[id]/archive/route/server-reference-manifest.json +4 -0
  95. package/.next/server/app/api/p/[projectId]/beads/[id]/archive/route.js +11 -0
  96. package/.next/server/app/api/p/[projectId]/beads/[id]/archive/route.js.map +5 -0
  97. package/.next/server/app/api/p/[projectId]/beads/[id]/archive/route.js.nft.json +1 -0
  98. package/.next/server/app/api/p/[projectId]/beads/[id]/archive/route_client-reference-manifest.js +3 -0
  99. package/.next/server/app/api/p/[projectId]/beads/[id]/assist/route/app-paths-manifest.json +3 -0
  100. package/.next/server/app/api/p/[projectId]/beads/[id]/assist/route/build-manifest.json +12 -0
  101. package/.next/server/app/api/p/[projectId]/beads/[id]/assist/route/server-reference-manifest.json +4 -0
  102. package/.next/server/app/api/p/[projectId]/beads/[id]/assist/route.js +11 -0
  103. package/.next/server/app/api/p/[projectId]/beads/[id]/assist/route.js.map +5 -0
  104. package/.next/server/app/api/p/[projectId]/beads/[id]/assist/route.js.nft.json +1 -0
  105. package/.next/server/app/api/p/[projectId]/beads/[id]/assist/route_client-reference-manifest.js +3 -0
  106. package/.next/server/app/api/p/[projectId]/beads/[id]/comments/route/app-paths-manifest.json +3 -0
  107. package/.next/server/app/api/p/[projectId]/beads/[id]/comments/route/build-manifest.json +12 -0
  108. package/.next/server/app/api/p/[projectId]/beads/[id]/comments/route/server-reference-manifest.json +4 -0
  109. package/.next/server/app/api/p/[projectId]/beads/[id]/comments/route.js +11 -0
  110. package/.next/server/app/api/p/[projectId]/beads/[id]/comments/route.js.map +5 -0
  111. package/.next/server/app/api/p/[projectId]/beads/[id]/comments/route.js.nft.json +1 -0
  112. package/.next/server/app/api/p/[projectId]/beads/[id]/comments/route_client-reference-manifest.js +3 -0
  113. package/.next/server/app/api/p/[projectId]/beads/[id]/deps/route/app-paths-manifest.json +3 -0
  114. package/.next/server/app/api/p/[projectId]/beads/[id]/deps/route/build-manifest.json +12 -0
  115. package/.next/server/app/api/p/[projectId]/beads/[id]/deps/route/server-reference-manifest.json +4 -0
  116. package/.next/server/app/api/p/[projectId]/beads/[id]/deps/route.js +11 -0
  117. package/.next/server/app/api/p/[projectId]/beads/[id]/deps/route.js.map +5 -0
  118. package/.next/server/app/api/p/[projectId]/beads/[id]/deps/route.js.nft.json +1 -0
  119. package/.next/server/app/api/p/[projectId]/beads/[id]/deps/route_client-reference-manifest.js +3 -0
  120. package/.next/server/app/api/p/[projectId]/beads/[id]/gate/route/app-paths-manifest.json +3 -0
  121. package/.next/server/app/api/p/[projectId]/beads/[id]/gate/route/build-manifest.json +12 -0
  122. package/.next/server/app/api/p/[projectId]/beads/[id]/gate/route/server-reference-manifest.json +4 -0
  123. package/.next/server/app/api/p/[projectId]/beads/[id]/gate/route.js +11 -0
  124. package/.next/server/app/api/p/[projectId]/beads/[id]/gate/route.js.map +5 -0
  125. package/.next/server/app/api/p/[projectId]/beads/[id]/gate/route.js.nft.json +1 -0
  126. package/.next/server/app/api/p/[projectId]/beads/[id]/gate/route_client-reference-manifest.js +3 -0
  127. package/.next/server/app/api/p/[projectId]/beads/[id]/human/route/app-paths-manifest.json +3 -0
  128. package/.next/server/app/api/p/[projectId]/beads/[id]/human/route/build-manifest.json +12 -0
  129. package/.next/server/app/api/p/[projectId]/beads/[id]/human/route/server-reference-manifest.json +4 -0
  130. package/.next/server/app/api/p/[projectId]/beads/[id]/human/route.js +11 -0
  131. package/.next/server/app/api/p/[projectId]/beads/[id]/human/route.js.map +5 -0
  132. package/.next/server/app/api/p/[projectId]/beads/[id]/human/route.js.nft.json +1 -0
  133. package/.next/server/app/api/p/[projectId]/beads/[id]/human/route_client-reference-manifest.js +3 -0
  134. package/.next/server/app/api/p/[projectId]/beads/[id]/route/app-paths-manifest.json +3 -0
  135. package/.next/server/app/api/p/[projectId]/beads/[id]/route/build-manifest.json +12 -0
  136. package/.next/server/app/api/p/[projectId]/beads/[id]/route/server-reference-manifest.json +4 -0
  137. package/.next/server/app/api/p/[projectId]/beads/[id]/route.js +11 -0
  138. package/.next/server/app/api/p/[projectId]/beads/[id]/route.js.map +5 -0
  139. package/.next/server/app/api/p/[projectId]/beads/[id]/route.js.nft.json +1 -0
  140. package/.next/server/app/api/p/[projectId]/beads/[id]/route_client-reference-manifest.js +3 -0
  141. package/.next/server/app/api/p/[projectId]/beads/[id]/status/route/app-paths-manifest.json +3 -0
  142. package/.next/server/app/api/p/[projectId]/beads/[id]/status/route/build-manifest.json +12 -0
  143. package/.next/server/app/api/p/[projectId]/beads/[id]/status/route/server-reference-manifest.json +4 -0
  144. package/.next/server/app/api/p/[projectId]/beads/[id]/status/route.js +11 -0
  145. package/.next/server/app/api/p/[projectId]/beads/[id]/status/route.js.map +5 -0
  146. package/.next/server/app/api/p/[projectId]/beads/[id]/status/route.js.nft.json +1 -0
  147. package/.next/server/app/api/p/[projectId]/beads/[id]/status/route_client-reference-manifest.js +3 -0
  148. package/.next/server/app/api/p/[projectId]/beads/route/app-paths-manifest.json +3 -0
  149. package/.next/server/app/api/p/[projectId]/beads/route/build-manifest.json +12 -0
  150. package/.next/server/app/api/p/[projectId]/beads/route/server-reference-manifest.json +4 -0
  151. package/.next/server/app/api/p/[projectId]/beads/route.js +11 -0
  152. package/.next/server/app/api/p/[projectId]/beads/route.js.map +5 -0
  153. package/.next/server/app/api/p/[projectId]/beads/route.js.nft.json +1 -0
  154. package/.next/server/app/api/p/[projectId]/beads/route_client-reference-manifest.js +3 -0
  155. package/.next/server/app/api/p/[projectId]/beads/stream/route/app-paths-manifest.json +3 -0
  156. package/.next/server/app/api/p/[projectId]/beads/stream/route/build-manifest.json +12 -0
  157. package/.next/server/app/api/p/[projectId]/beads/stream/route/server-reference-manifest.json +4 -0
  158. package/.next/server/app/api/p/[projectId]/beads/stream/route.js +8 -0
  159. package/.next/server/app/api/p/[projectId]/beads/stream/route.js.map +5 -0
  160. package/.next/server/app/api/p/[projectId]/beads/stream/route.js.nft.json +1 -0
  161. package/.next/server/app/api/p/[projectId]/beads/stream/route_client-reference-manifest.js +3 -0
  162. package/.next/server/app/api/p/[projectId]/doctor/route/app-paths-manifest.json +3 -0
  163. package/.next/server/app/api/p/[projectId]/doctor/route/build-manifest.json +12 -0
  164. package/.next/server/app/api/p/[projectId]/doctor/route/server-reference-manifest.json +4 -0
  165. package/.next/server/app/api/p/[projectId]/doctor/route.js +11 -0
  166. package/.next/server/app/api/p/[projectId]/doctor/route.js.map +5 -0
  167. package/.next/server/app/api/p/[projectId]/doctor/route.js.nft.json +1 -0
  168. package/.next/server/app/api/p/[projectId]/doctor/route_client-reference-manifest.js +3 -0
  169. package/.next/server/app/api/p/[projectId]/gamification/route/app-paths-manifest.json +3 -0
  170. package/.next/server/app/api/p/[projectId]/gamification/route/build-manifest.json +12 -0
  171. package/.next/server/app/api/p/[projectId]/gamification/route/server-reference-manifest.json +4 -0
  172. package/.next/server/app/api/p/[projectId]/gamification/route.js +12 -0
  173. package/.next/server/app/api/p/[projectId]/gamification/route.js.map +5 -0
  174. package/.next/server/app/api/p/[projectId]/gamification/route.js.nft.json +1 -0
  175. package/.next/server/app/api/p/[projectId]/gamification/route_client-reference-manifest.js +3 -0
  176. package/.next/server/app/api/p/[projectId]/insights/route/app-paths-manifest.json +3 -0
  177. package/.next/server/app/api/p/[projectId]/insights/route/build-manifest.json +12 -0
  178. package/.next/server/app/api/p/[projectId]/insights/route/server-reference-manifest.json +4 -0
  179. package/.next/server/app/api/p/[projectId]/insights/route.js +12 -0
  180. package/.next/server/app/api/p/[projectId]/insights/route.js.map +5 -0
  181. package/.next/server/app/api/p/[projectId]/insights/route.js.nft.json +1 -0
  182. package/.next/server/app/api/p/[projectId]/insights/route_client-reference-manifest.js +3 -0
  183. package/.next/server/app/api/p/[projectId]/order/route/app-paths-manifest.json +3 -0
  184. package/.next/server/app/api/p/[projectId]/order/route/build-manifest.json +12 -0
  185. package/.next/server/app/api/p/[projectId]/order/route/server-reference-manifest.json +4 -0
  186. package/.next/server/app/api/p/[projectId]/order/route.js +10 -0
  187. package/.next/server/app/api/p/[projectId]/order/route.js.map +5 -0
  188. package/.next/server/app/api/p/[projectId]/order/route.js.nft.json +1 -0
  189. package/.next/server/app/api/p/[projectId]/order/route_client-reference-manifest.js +3 -0
  190. package/.next/server/app/api/p/[projectId]/publish/route/app-paths-manifest.json +3 -0
  191. package/.next/server/app/api/p/[projectId]/publish/route/build-manifest.json +12 -0
  192. package/.next/server/app/api/p/[projectId]/publish/route/server-reference-manifest.json +4 -0
  193. package/.next/server/app/api/p/[projectId]/publish/route.js +14 -0
  194. package/.next/server/app/api/p/[projectId]/publish/route.js.map +5 -0
  195. package/.next/server/app/api/p/[projectId]/publish/route.js.nft.json +1 -0
  196. package/.next/server/app/api/p/[projectId]/publish/route_client-reference-manifest.js +3 -0
  197. package/.next/server/app/api/projects/[id]/route/app-paths-manifest.json +3 -0
  198. package/.next/server/app/api/projects/[id]/route/build-manifest.json +12 -0
  199. package/.next/server/app/api/projects/[id]/route/server-reference-manifest.json +4 -0
  200. package/.next/server/app/api/projects/[id]/route.js +11 -0
  201. package/.next/server/app/api/projects/[id]/route.js.map +5 -0
  202. package/.next/server/app/api/projects/[id]/route.js.nft.json +1 -0
  203. package/.next/server/app/api/projects/[id]/route_client-reference-manifest.js +3 -0
  204. package/.next/server/app/api/projects/route/app-paths-manifest.json +3 -0
  205. package/.next/server/app/api/projects/route/build-manifest.json +12 -0
  206. package/.next/server/app/api/projects/route/server-reference-manifest.json +4 -0
  207. package/.next/server/app/api/projects/route.js +10 -0
  208. package/.next/server/app/api/projects/route.js.map +5 -0
  209. package/.next/server/app/api/projects/route.js.nft.json +1 -0
  210. package/.next/server/app/api/projects/route_client-reference-manifest.js +3 -0
  211. package/.next/server/app/api/telemetry/route/app-paths-manifest.json +3 -0
  212. package/.next/server/app/api/telemetry/route/build-manifest.json +12 -0
  213. package/.next/server/app/api/telemetry/route/server-reference-manifest.json +4 -0
  214. package/.next/server/app/api/telemetry/route.js +8 -0
  215. package/.next/server/app/api/telemetry/route.js.map +5 -0
  216. package/.next/server/app/api/telemetry/route.js.nft.json +1 -0
  217. package/.next/server/app/api/telemetry/route_client-reference-manifest.js +3 -0
  218. package/.next/server/app/api/update/check/route/app-paths-manifest.json +3 -0
  219. package/.next/server/app/api/update/check/route/build-manifest.json +12 -0
  220. package/.next/server/app/api/update/check/route/server-reference-manifest.json +4 -0
  221. package/.next/server/app/api/update/check/route.js +11 -0
  222. package/.next/server/app/api/update/check/route.js.map +5 -0
  223. package/.next/server/app/api/update/check/route.js.nft.json +1 -0
  224. package/.next/server/app/api/update/check/route_client-reference-manifest.js +3 -0
  225. package/.next/server/app/api/update/run/route/app-paths-manifest.json +3 -0
  226. package/.next/server/app/api/update/run/route/build-manifest.json +12 -0
  227. package/.next/server/app/api/update/run/route/server-reference-manifest.json +4 -0
  228. package/.next/server/app/api/update/run/route.js +11 -0
  229. package/.next/server/app/api/update/run/route.js.map +5 -0
  230. package/.next/server/app/api/update/run/route.js.nft.json +1 -0
  231. package/.next/server/app/api/update/run/route_client-reference-manifest.js +3 -0
  232. package/.next/server/app/api/viewer-mode/route/app-paths-manifest.json +3 -0
  233. package/.next/server/app/api/viewer-mode/route/build-manifest.json +12 -0
  234. package/.next/server/app/api/viewer-mode/route/server-reference-manifest.json +4 -0
  235. package/.next/server/app/api/viewer-mode/route.js +10 -0
  236. package/.next/server/app/api/viewer-mode/route.js.map +5 -0
  237. package/.next/server/app/api/viewer-mode/route.js.nft.json +1 -0
  238. package/.next/server/app/api/viewer-mode/route_client-reference-manifest.js +3 -0
  239. package/.next/server/app/apple-icon.png/route/app-paths-manifest.json +3 -0
  240. package/.next/server/app/apple-icon.png/route/build-manifest.json +12 -0
  241. package/.next/server/app/apple-icon.png/route.js +8 -0
  242. package/.next/server/app/apple-icon.png/route.js.map +5 -0
  243. package/.next/server/app/apple-icon.png/route.js.nft.json +1 -0
  244. package/.next/server/app/apple-icon.png.body +0 -0
  245. package/.next/server/app/apple-icon.png.meta +1 -0
  246. package/.next/server/app/favicon.ico/route/app-paths-manifest.json +3 -0
  247. package/.next/server/app/favicon.ico/route/build-manifest.json +12 -0
  248. package/.next/server/app/favicon.ico/route.js +8 -0
  249. package/.next/server/app/favicon.ico/route.js.map +5 -0
  250. package/.next/server/app/favicon.ico/route.js.nft.json +1 -0
  251. package/.next/server/app/favicon.ico.body +0 -0
  252. package/.next/server/app/favicon.ico.meta +1 -0
  253. package/.next/server/app/icon.svg/route/app-paths-manifest.json +3 -0
  254. package/.next/server/app/icon.svg/route/build-manifest.json +12 -0
  255. package/.next/server/app/icon.svg/route.js +8 -0
  256. package/.next/server/app/icon.svg/route.js.map +5 -0
  257. package/.next/server/app/icon.svg/route.js.nft.json +1 -0
  258. package/.next/server/app/icon.svg.body +1 -0
  259. package/.next/server/app/icon.svg.meta +1 -0
  260. package/.next/server/app/index.html +12 -0
  261. package/.next/server/app/index.meta +29 -0
  262. package/.next/server/app/index.rsc +27 -0
  263. package/.next/server/app/index.segments/__PAGE__.segment.rsc +30 -0
  264. package/.next/server/app/index.segments/_full.segment.rsc +27 -0
  265. package/.next/server/app/index.segments/_tree.segment.rsc +5 -0
  266. package/.next/server/app/p/[projectId]/page/app-paths-manifest.json +3 -0
  267. package/.next/server/app/p/[projectId]/page/build-manifest.json +22 -0
  268. package/.next/server/app/p/[projectId]/page/next-font-manifest.json +11 -0
  269. package/.next/server/app/p/[projectId]/page/react-loadable-manifest.json +1 -0
  270. package/.next/server/app/p/[projectId]/page/server-reference-manifest.json +4 -0
  271. package/.next/server/app/p/[projectId]/page.js +15 -0
  272. package/.next/server/app/p/[projectId]/page.js.map +5 -0
  273. package/.next/server/app/p/[projectId]/page.js.nft.json +1 -0
  274. package/.next/server/app/p/[projectId]/page_client-reference-manifest.js +3 -0
  275. package/.next/server/app/page/app-paths-manifest.json +3 -0
  276. package/.next/server/app/page/build-manifest.json +22 -0
  277. package/.next/server/app/page/next-font-manifest.json +11 -0
  278. package/.next/server/app/page/react-loadable-manifest.json +1 -0
  279. package/.next/server/app/page/server-reference-manifest.json +4 -0
  280. package/.next/server/app/page.js +14 -0
  281. package/.next/server/app/page.js.map +5 -0
  282. package/.next/server/app/page.js.nft.json +1 -0
  283. package/.next/server/app/page_client-reference-manifest.js +3 -0
  284. package/.next/server/app-paths-manifest.json +35 -0
  285. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_attachments_[___path]_route_actions_1040addoe_3v-.js +3 -0
  286. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_attachments_[___path]_route_actions_1040addoe_3v-.js.map +1 -0
  287. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_attachments_route_actions_0xbz9ode02i8m.js +3 -0
  288. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_attachments_route_actions_0xbz9ode02i8m.js.map +1 -0
  289. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_archive_route_actions_11wcutlx3g3z6.js +3 -0
  290. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_archive_route_actions_11wcutlx3g3z6.js.map +1 -0
  291. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_assist_route_actions_20an4chs-trua.js +3 -0
  292. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_assist_route_actions_20an4chs-trua.js.map +1 -0
  293. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_comments_route_actions_1nfem6pen0k0g.js +3 -0
  294. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_comments_route_actions_1nfem6pen0k0g.js.map +1 -0
  295. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_deps_route_actions_18gjapy3mw4wv.js +3 -0
  296. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_deps_route_actions_18gjapy3mw4wv.js.map +1 -0
  297. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_gate_route_actions_187fh3sknhoaj.js +3 -0
  298. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_gate_route_actions_187fh3sknhoaj.js.map +1 -0
  299. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_human_route_actions_07owr7gyh2_8k.js +3 -0
  300. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_human_route_actions_07owr7gyh2_8k.js.map +1 -0
  301. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_route_actions_1etbw4at9d6k4.js +3 -0
  302. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_route_actions_1etbw4at9d6k4.js.map +1 -0
  303. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_status_route_actions_1umhmm3s8juuu.js +3 -0
  304. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_status_route_actions_1umhmm3s8juuu.js.map +1 -0
  305. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_stream_route_actions_175r-6ar5_pmi.js +3 -0
  306. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_stream_route_actions_175r-6ar5_pmi.js.map +1 -0
  307. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_gamification_route_actions_1ogeffkobnbsr.js +3 -0
  308. package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_gamification_route_actions_1ogeffkobnbsr.js.map +1 -0
  309. package/.next/server/chunks/[externals]__0lwlz8xkhksb0._.js +3 -0
  310. package/.next/server/chunks/[externals]__0lwlz8xkhksb0._.js.map +1 -0
  311. package/.next/server/chunks/[externals]__1auxgbs1xf3g3._.js +3 -0
  312. package/.next/server/chunks/[externals]__1auxgbs1xf3g3._.js.map +1 -0
  313. package/.next/server/chunks/[externals]__1h8nsgzt8l8pm._.js +3 -0
  314. package/.next/server/chunks/[externals]__1h8nsgzt8l8pm._.js.map +1 -0
  315. package/.next/server/chunks/[externals]__1p2j9_5g429uh._.js +3 -0
  316. package/.next/server/chunks/[externals]__1p2j9_5g429uh._.js.map +1 -0
  317. package/.next/server/chunks/[externals]__1py9g7vq1lv21._.js +3 -0
  318. package/.next/server/chunks/[externals]__1py9g7vq1lv21._.js.map +1 -0
  319. package/.next/server/chunks/[root-of-the-server]__0190u3x31o2kc._.js +327 -0
  320. package/.next/server/chunks/[root-of-the-server]__0190u3x31o2kc._.js.map +1 -0
  321. package/.next/server/chunks/[root-of-the-server]__035zaj0slqy-4._.js +3 -0
  322. package/.next/server/chunks/[root-of-the-server]__035zaj0slqy-4._.js.map +1 -0
  323. package/.next/server/chunks/[root-of-the-server]__0bzf8xm20iw7a._.js +57 -0
  324. package/.next/server/chunks/[root-of-the-server]__0bzf8xm20iw7a._.js.map +1 -0
  325. package/.next/server/chunks/[root-of-the-server]__0p9qh6g3s0rez._.js +3 -0
  326. package/.next/server/chunks/[root-of-the-server]__0p9qh6g3s0rez._.js.map +1 -0
  327. package/.next/server/chunks/[root-of-the-server]__0v7bhiiq13er3._.js +57 -0
  328. package/.next/server/chunks/[root-of-the-server]__0v7bhiiq13er3._.js.map +1 -0
  329. package/.next/server/chunks/[root-of-the-server]__0yiz2szg7yt42._.js +3 -0
  330. package/.next/server/chunks/[root-of-the-server]__0yiz2szg7yt42._.js.map +1 -0
  331. package/.next/server/chunks/[root-of-the-server]__1-f7qk3-8a266._.js +3 -0
  332. package/.next/server/chunks/[root-of-the-server]__1-f7qk3-8a266._.js.map +1 -0
  333. package/.next/server/chunks/[root-of-the-server]__122sebyef7_fq._.js +57 -0
  334. package/.next/server/chunks/[root-of-the-server]__122sebyef7_fq._.js.map +1 -0
  335. package/.next/server/chunks/[root-of-the-server]__12b8wltp8nh6j._.js +3 -0
  336. package/.next/server/chunks/[root-of-the-server]__12b8wltp8nh6j._.js.map +1 -0
  337. package/.next/server/chunks/[root-of-the-server]__15bjnu5yieigz._.js +5 -0
  338. package/.next/server/chunks/[root-of-the-server]__15bjnu5yieigz._.js.map +1 -0
  339. package/.next/server/chunks/[root-of-the-server]__15y25z0ilm3d6._.js +57 -0
  340. package/.next/server/chunks/[root-of-the-server]__15y25z0ilm3d6._.js.map +1 -0
  341. package/.next/server/chunks/[root-of-the-server]__1egyye6rj7_du._.js +57 -0
  342. package/.next/server/chunks/[root-of-the-server]__1egyye6rj7_du._.js.map +1 -0
  343. package/.next/server/chunks/[root-of-the-server]__1gdvsv3omtde3._.js +3 -0
  344. package/.next/server/chunks/[root-of-the-server]__1gdvsv3omtde3._.js.map +1 -0
  345. package/.next/server/chunks/[root-of-the-server]__1zrubp2jc8bi0._.js +3 -0
  346. package/.next/server/chunks/[root-of-the-server]__1zrubp2jc8bi0._.js.map +1 -0
  347. package/.next/server/chunks/[turbopack]_runtime.js +937 -0
  348. package/.next/server/chunks/[turbopack]_runtime.js.map +10 -0
  349. package/.next/server/chunks/_004qegokrf7fy._.js +3 -0
  350. package/.next/server/chunks/_004qegokrf7fy._.js.map +1 -0
  351. package/.next/server/chunks/_013mswtsyfnoo._.js +3 -0
  352. package/.next/server/chunks/_013mswtsyfnoo._.js.map +1 -0
  353. package/.next/server/chunks/_0gij0z-co_3s4._.js +3 -0
  354. package/.next/server/chunks/_0gij0z-co_3s4._.js.map +1 -0
  355. package/.next/server/chunks/_0gjygs98zpepc._.js +3 -0
  356. package/.next/server/chunks/_0gjygs98zpepc._.js.map +1 -0
  357. package/.next/server/chunks/_0grrkbm3e2o1h._.js +3 -0
  358. package/.next/server/chunks/_0grrkbm3e2o1h._.js.map +1 -0
  359. package/.next/server/chunks/_0j2w6pi0oz3ag._.js +3 -0
  360. package/.next/server/chunks/_0j2w6pi0oz3ag._.js.map +1 -0
  361. package/.next/server/chunks/_0kd1hwufqyhnn._.js +3 -0
  362. package/.next/server/chunks/_0kd1hwufqyhnn._.js.map +1 -0
  363. package/.next/server/chunks/_0sr--n5b--0bk._.js +3 -0
  364. package/.next/server/chunks/_0sr--n5b--0bk._.js.map +1 -0
  365. package/.next/server/chunks/_0tuzzupepjznm._.js +3 -0
  366. package/.next/server/chunks/_0tuzzupepjznm._.js.map +1 -0
  367. package/.next/server/chunks/_0vx1iev9xu_vx._.js +329 -0
  368. package/.next/server/chunks/_0vx1iev9xu_vx._.js.map +1 -0
  369. package/.next/server/chunks/_0wemi40xtpagp._.js +3 -0
  370. package/.next/server/chunks/_0wemi40xtpagp._.js.map +1 -0
  371. package/.next/server/chunks/_0wh8igpovqaep._.js +3 -0
  372. package/.next/server/chunks/_0wh8igpovqaep._.js.map +1 -0
  373. package/.next/server/chunks/_10s9tyeasgb0i._.js +3 -0
  374. package/.next/server/chunks/_10s9tyeasgb0i._.js.map +1 -0
  375. package/.next/server/chunks/_10uu_24l62-_0._.js +3 -0
  376. package/.next/server/chunks/_10uu_24l62-_0._.js.map +1 -0
  377. package/.next/server/chunks/_111ja8xkcaayx._.js +3 -0
  378. package/.next/server/chunks/_111ja8xkcaayx._.js.map +1 -0
  379. package/.next/server/chunks/_146xyuw6iu78n._.js +3 -0
  380. package/.next/server/chunks/_146xyuw6iu78n._.js.map +1 -0
  381. package/.next/server/chunks/_170e1_rlfsf03._.js +3 -0
  382. package/.next/server/chunks/_170e1_rlfsf03._.js.map +1 -0
  383. package/.next/server/chunks/_18ktg21m5ffu5._.js +3 -0
  384. package/.next/server/chunks/_18ktg21m5ffu5._.js.map +1 -0
  385. package/.next/server/chunks/_19tb4jcjqiyom._.js +3 -0
  386. package/.next/server/chunks/_19tb4jcjqiyom._.js.map +1 -0
  387. package/.next/server/chunks/_1ffeeaqyjdqzf._.js +3 -0
  388. package/.next/server/chunks/_1ffeeaqyjdqzf._.js.map +1 -0
  389. package/.next/server/chunks/_1k3na_-a86gbn._.js +3 -0
  390. package/.next/server/chunks/_1k3na_-a86gbn._.js.map +1 -0
  391. package/.next/server/chunks/_1kwx_epvqg4do._.js +3 -0
  392. package/.next/server/chunks/_1kwx_epvqg4do._.js.map +1 -0
  393. package/.next/server/chunks/_1mxn_lbuesj3_._.js +3 -0
  394. package/.next/server/chunks/_1mxn_lbuesj3_._.js.map +1 -0
  395. package/.next/server/chunks/_1n-6yntr59hz-._.js +3 -0
  396. package/.next/server/chunks/_1n-6yntr59hz-._.js.map +1 -0
  397. package/.next/server/chunks/_1o0e0kk3zhmfk._.js +3 -0
  398. package/.next/server/chunks/_1o0e0kk3zhmfk._.js.map +1 -0
  399. package/.next/server/chunks/_1qxheoabqmzqk._.js +3 -0
  400. package/.next/server/chunks/_1qxheoabqmzqk._.js.map +1 -0
  401. package/.next/server/chunks/_1tji4d-rsralm._.js +3 -0
  402. package/.next/server/chunks/_1tji4d-rsralm._.js.map +1 -0
  403. package/.next/server/chunks/_1w6vul60in-n6._.js +3 -0
  404. package/.next/server/chunks/_1w6vul60in-n6._.js.map +1 -0
  405. package/.next/server/chunks/_1yp1pldb73ib4._.js +3 -0
  406. package/.next/server/chunks/_1yp1pldb73ib4._.js.map +1 -0
  407. package/.next/server/chunks/_next-internal_server_app_api_config_route_actions_0ep4_f1yut2mt.js +3 -0
  408. package/.next/server/chunks/_next-internal_server_app_api_config_route_actions_0ep4_f1yut2mt.js.map +1 -0
  409. package/.next/server/chunks/_next-internal_server_app_api_fs_route_actions_0bfrr9ckhntty.js +3 -0
  410. package/.next/server/chunks/_next-internal_server_app_api_fs_route_actions_0bfrr9ckhntty.js.map +1 -0
  411. package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_activity_route_actions_1o0prtv03y3nn.js +3 -0
  412. package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_activity_route_actions_1o0prtv03y3nn.js.map +1 -0
  413. package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_beads_route_actions_073r35dma_j8s.js +3 -0
  414. package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_beads_route_actions_073r35dma_j8s.js.map +1 -0
  415. package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_doctor_route_actions_1rijqoag5taoa.js +3 -0
  416. package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_doctor_route_actions_1rijqoag5taoa.js.map +1 -0
  417. package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_insights_route_actions_0jz8vtlr3le7i.js +3 -0
  418. package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_insights_route_actions_0jz8vtlr3le7i.js.map +1 -0
  419. package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_order_route_actions_02ppmkb6_hzeb.js +3 -0
  420. package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_order_route_actions_02ppmkb6_hzeb.js.map +1 -0
  421. package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_publish_route_actions_09aeeim6yuy6h.js +3 -0
  422. package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_publish_route_actions_09aeeim6yuy6h.js.map +1 -0
  423. package/.next/server/chunks/_next-internal_server_app_api_projects_[id]_route_actions_0xth066-5sa64.js +3 -0
  424. package/.next/server/chunks/_next-internal_server_app_api_projects_[id]_route_actions_0xth066-5sa64.js.map +1 -0
  425. package/.next/server/chunks/_next-internal_server_app_api_projects_route_actions_0h5ne2fr_h1tq.js +3 -0
  426. package/.next/server/chunks/_next-internal_server_app_api_projects_route_actions_0h5ne2fr_h1tq.js.map +1 -0
  427. package/.next/server/chunks/_next-internal_server_app_api_telemetry_route_actions_1w3amzmkajq41.js +3 -0
  428. package/.next/server/chunks/_next-internal_server_app_api_telemetry_route_actions_1w3amzmkajq41.js.map +1 -0
  429. package/.next/server/chunks/_next-internal_server_app_api_update_check_route_actions_1i8_z9m5w7fuz.js +3 -0
  430. package/.next/server/chunks/_next-internal_server_app_api_update_check_route_actions_1i8_z9m5w7fuz.js.map +1 -0
  431. package/.next/server/chunks/_next-internal_server_app_api_update_run_route_actions_0hd7t05lf6pu_.js +3 -0
  432. package/.next/server/chunks/_next-internal_server_app_api_update_run_route_actions_0hd7t05lf6pu_.js.map +1 -0
  433. package/.next/server/chunks/_next-internal_server_app_api_viewer-mode_route_actions_1bxw5uknzqmon.js +3 -0
  434. package/.next/server/chunks/_next-internal_server_app_api_viewer-mode_route_actions_1bxw5uknzqmon.js.map +1 -0
  435. package/.next/server/chunks/_next-internal_server_app_apple-icon_png_route_actions_0jcl8aui56a1m.js +3 -0
  436. package/.next/server/chunks/_next-internal_server_app_apple-icon_png_route_actions_0jcl8aui56a1m.js.map +1 -0
  437. package/.next/server/chunks/_next-internal_server_app_favicon_ico_route_actions_0g2jjlssn1kss.js +3 -0
  438. package/.next/server/chunks/_next-internal_server_app_favicon_ico_route_actions_0g2jjlssn1kss.js.map +1 -0
  439. package/.next/server/chunks/_next-internal_server_app_icon_svg_route_actions_1r2h_ubdhjtcp.js +3 -0
  440. package/.next/server/chunks/_next-internal_server_app_icon_svg_route_actions_1r2h_ubdhjtcp.js.map +1 -0
  441. package/.next/server/chunks/instrumentation-node_ts_157o961d03nbm._.js +3 -0
  442. package/.next/server/chunks/instrumentation-node_ts_157o961d03nbm._.js.map +1 -0
  443. package/.next/server/chunks/lib_beads-view_ts_1fvxcrevh9zu_._.js +3 -0
  444. package/.next/server/chunks/lib_beads-view_ts_1fvxcrevh9zu_._.js.map +1 -0
  445. package/.next/server/chunks/lib_config_ts_0zrjxh_mm8sv8._.js +3 -0
  446. package/.next/server/chunks/lib_config_ts_0zrjxh_mm8sv8._.js.map +1 -0
  447. package/.next/server/chunks/lib_gamification_ts_0ojrlsdva9tsn._.js +3 -0
  448. package/.next/server/chunks/lib_gamification_ts_0ojrlsdva9tsn._.js.map +1 -0
  449. package/.next/server/chunks/lib_self-update_ts_1s_0im4leryko._.js +3 -0
  450. package/.next/server/chunks/lib_self-update_ts_1s_0im4leryko._.js.map +1 -0
  451. package/.next/server/chunks/lib_store_ts_06cg85jmkn83a._.js +5 -0
  452. package/.next/server/chunks/lib_store_ts_06cg85jmkn83a._.js.map +1 -0
  453. package/.next/server/chunks/node_modules_next_0sx6ib_cz483a._.js +320 -0
  454. package/.next/server/chunks/node_modules_next_0sx6ib_cz483a._.js.map +1 -0
  455. package/.next/server/chunks/ssr/[externals]__05zh3njt6xz3h._.js +3 -0
  456. package/.next/server/chunks/ssr/[externals]__05zh3njt6xz3h._.js.map +1 -0
  457. package/.next/server/chunks/ssr/[root-of-the-server]__0_jjlev4jw3sc._.js +3 -0
  458. package/.next/server/chunks/ssr/[root-of-the-server]__0_jjlev4jw3sc._.js.map +1 -0
  459. package/.next/server/chunks/ssr/[root-of-the-server]__0gttu4_51ori6._.js +3 -0
  460. package/.next/server/chunks/ssr/[root-of-the-server]__0gttu4_51ori6._.js.map +1 -0
  461. package/.next/server/chunks/ssr/[root-of-the-server]__0py1t7q9ntzgc._.js +3 -0
  462. package/.next/server/chunks/ssr/[root-of-the-server]__0py1t7q9ntzgc._.js.map +1 -0
  463. package/.next/server/chunks/ssr/[root-of-the-server]__0uzyn00104lyw._.js +3 -0
  464. package/.next/server/chunks/ssr/[root-of-the-server]__0uzyn00104lyw._.js.map +1 -0
  465. package/.next/server/chunks/ssr/[root-of-the-server]__10sjsc4ko7y98._.js +14 -0
  466. package/.next/server/chunks/ssr/[root-of-the-server]__10sjsc4ko7y98._.js.map +1 -0
  467. package/.next/server/chunks/ssr/[root-of-the-server]__10zoxas8t6ikf._.js +3 -0
  468. package/.next/server/chunks/ssr/[root-of-the-server]__10zoxas8t6ikf._.js.map +1 -0
  469. package/.next/server/chunks/ssr/[root-of-the-server]__1_1soca8mkipl._.js +3 -0
  470. package/.next/server/chunks/ssr/[root-of-the-server]__1_1soca8mkipl._.js.map +1 -0
  471. package/.next/server/chunks/ssr/[root-of-the-server]__1cf6qt9agg_9-._.js +14 -0
  472. package/.next/server/chunks/ssr/[root-of-the-server]__1cf6qt9agg_9-._.js.map +1 -0
  473. package/.next/server/chunks/ssr/[root-of-the-server]__1kh1tntqbjk8h._.js +3 -0
  474. package/.next/server/chunks/ssr/[root-of-the-server]__1kh1tntqbjk8h._.js.map +1 -0
  475. package/.next/server/chunks/ssr/[root-of-the-server]__1oibig2utok9d._.js +3 -0
  476. package/.next/server/chunks/ssr/[root-of-the-server]__1oibig2utok9d._.js.map +1 -0
  477. package/.next/server/chunks/ssr/[root-of-the-server]__1xizcyi5hek65._.js +60 -0
  478. package/.next/server/chunks/ssr/[root-of-the-server]__1xizcyi5hek65._.js.map +1 -0
  479. package/.next/server/chunks/ssr/[turbopack]_runtime.js +937 -0
  480. package/.next/server/chunks/ssr/[turbopack]_runtime.js.map +10 -0
  481. package/.next/server/chunks/ssr/_02mwe4ucwaopu._.js +291 -0
  482. package/.next/server/chunks/ssr/_02mwe4ucwaopu._.js.map +1 -0
  483. package/.next/server/chunks/ssr/_0_ky_k50rh6-9._.js +3 -0
  484. package/.next/server/chunks/ssr/_0_ky_k50rh6-9._.js.map +1 -0
  485. package/.next/server/chunks/ssr/_1020o02v8ucmf._.js +3 -0
  486. package/.next/server/chunks/ssr/_1020o02v8ucmf._.js.map +1 -0
  487. package/.next/server/chunks/ssr/_1i_x4qkev3tax._.js +3 -0
  488. package/.next/server/chunks/ssr/_1i_x4qkev3tax._.js.map +1 -0
  489. package/.next/server/chunks/ssr/_1mzldxegsozij._.js +3 -0
  490. package/.next/server/chunks/ssr/_1mzldxegsozij._.js.map +1 -0
  491. package/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0zi5s8-psc_d2.js +3 -0
  492. package/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0zi5s8-psc_d2.js.map +1 -0
  493. package/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0pt47yrisjoev.js +3 -0
  494. package/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0pt47yrisjoev.js.map +1 -0
  495. package/.next/server/chunks/ssr/_next-internal_server_app_p_[projectId]_page_actions_1v83cl8bzuchz.js +3 -0
  496. package/.next/server/chunks/ssr/_next-internal_server_app_p_[projectId]_page_actions_1v83cl8bzuchz.js.map +1 -0
  497. package/.next/server/chunks/ssr/_next-internal_server_app_page_actions_0hhsz1jew5ls7.js +3 -0
  498. package/.next/server/chunks/ssr/_next-internal_server_app_page_actions_0hhsz1jew5ls7.js.map +1 -0
  499. package/.next/server/chunks/ssr/components_launcher_tsx_1i40oht1v6miz._.js +3 -0
  500. package/.next/server/chunks/ssr/components_launcher_tsx_1i40oht1v6miz._.js.map +1 -0
  501. package/.next/server/chunks/ssr/components_providers_tsx_0thx-xfvr_dtx._.js +3 -0
  502. package/.next/server/chunks/ssr/components_providers_tsx_0thx-xfvr_dtx._.js.map +1 -0
  503. package/.next/server/chunks/ssr/node_modules_0gxlxpuufujz9._.js +33 -0
  504. package/.next/server/chunks/ssr/node_modules_0gxlxpuufujz9._.js.map +1 -0
  505. package/.next/server/chunks/ssr/node_modules_0h91jdk0pr40d._.js +33 -0
  506. package/.next/server/chunks/ssr/node_modules_0h91jdk0pr40d._.js.map +1 -0
  507. package/.next/server/chunks/ssr/node_modules_next_dist_0janj0i6dqko7._.js +6 -0
  508. package/.next/server/chunks/ssr/node_modules_next_dist_0janj0i6dqko7._.js.map +1 -0
  509. package/.next/server/chunks/ssr/node_modules_next_dist_1dupwucoqt5qm._.js +3 -0
  510. package/.next/server/chunks/ssr/node_modules_next_dist_1dupwucoqt5qm._.js.map +1 -0
  511. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j32_ibz4._.js +3 -0
  512. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j32_ibz4._.js.map +1 -0
  513. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9mbf-fh.js +3 -0
  514. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9mbf-fh.js.map +1 -0
  515. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0q-w892nagajq.js +3 -0
  516. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0q-w892nagajq.js.map +1 -0
  517. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0xky89qu.js +3 -0
  518. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0xky89qu.js.map +1 -0
  519. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_08w9x0-loejdh.js +3 -0
  520. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_08w9x0-loejdh.js.map +1 -0
  521. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0bpybjk9qyzcp.js +3 -0
  522. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0bpybjk9qyzcp.js.map +1 -0
  523. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0d8m61g-qls74.js +3 -0
  524. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0d8m61g-qls74.js.map +1 -0
  525. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_13q04th-918ib.js +3 -0
  526. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_13q04th-918ib.js.map +1 -0
  527. package/.next/server/edge/chunks/_0o_tvsklgn-yk._.js +3 -0
  528. package/.next/server/edge/chunks/_0o_tvsklgn-yk._.js.map +1 -0
  529. package/.next/server/edge/chunks/node_modules_next_dist_esm_build_templates_edge-wrapper_1oiuqfca5iqka.js.map +1 -0
  530. package/.next/server/edge/chunks/turbopack-node_modules_next_dist_esm_build_templates_edge-wrapper_1oiuqfca5iqka.js +3 -0
  531. package/.next/server/functions-config-manifest.json +19 -0
  532. package/.next/server/instrumentation/middleware-manifest.json +12 -0
  533. package/.next/server/instrumentation.js +4 -0
  534. package/.next/server/instrumentation.js.map +5 -0
  535. package/.next/server/instrumentation.js.nft.json +1 -0
  536. package/.next/server/interception-route-rewrite-manifest.js +1 -0
  537. package/.next/server/middleware/middleware-manifest.json +6 -0
  538. package/.next/server/middleware-build-manifest.js +69 -0
  539. package/.next/server/middleware-manifest.json +6 -0
  540. package/.next/server/middleware.js +5 -0
  541. package/.next/server/middleware.js.map +5 -0
  542. package/.next/server/middleware.js.nft.json +1 -0
  543. package/.next/server/next-font-manifest.js +1 -0
  544. package/.next/server/next-font-manifest.json +19 -0
  545. package/.next/server/pages/404.html +12 -0
  546. package/.next/server/pages/500.html +1 -0
  547. package/.next/server/pages-manifest.json +4 -0
  548. package/.next/server/prefetch-hints.json +34 -0
  549. package/.next/server/preview-props.json +5 -0
  550. package/.next/server/server-reference-manifest.js +1 -0
  551. package/.next/server/server-reference-manifest.json +5 -0
  552. package/.next/static/CNwJGIAhEiVMAkf3ebvok/_buildManifest.js +11 -0
  553. package/.next/static/CNwJGIAhEiVMAkf3ebvok/_clientMiddlewareManifest.js +6 -0
  554. package/.next/static/CNwJGIAhEiVMAkf3ebvok/_ssgManifest.js +1 -0
  555. package/.next/static/chunks/04lvtbsumb9l-.js +22 -0
  556. package/.next/static/chunks/07balm4l-kilq.js +1 -0
  557. package/.next/static/chunks/0cz1d0mv5g_q7.js +1 -0
  558. package/.next/static/chunks/0lf_v5uyq3i9q.js +1 -0
  559. package/.next/static/chunks/1ix59xuhq-q14.css +1 -0
  560. package/.next/static/chunks/1oizlhl9fdqt_.js +1 -0
  561. package/.next/static/chunks/21v6r4y8vgqng.css +3 -0
  562. package/.next/static/chunks/2ca16cvfmb3l3.js +1 -0
  563. package/.next/static/chunks/2k0ht_txv9ool.js +1 -0
  564. package/.next/static/chunks/2x0qc_flzv-la.js +31 -0
  565. package/.next/static/chunks/2xh00k9l33qnb.js +1 -0
  566. package/.next/static/chunks/3-53rbq2namxd.js +1 -0
  567. package/.next/static/chunks/3yk880zca6oid.js +58 -0
  568. package/.next/static/chunks/3yqhmu1hny1_2.js +1 -0
  569. package/.next/static/chunks/turbopack-3-ry682tkyiqk.js +1 -0
  570. package/.next/static/media/4fa387ec64143e14-s.2tuy5pz7dlieh.woff2 +0 -0
  571. package/.next/static/media/53b9e256198e5412-s.390ncx5urfkfu.woff2 +0 -0
  572. package/.next/static/media/5ce348bf30bf5439-s.31988l_ccedte.woff2 +0 -0
  573. package/.next/static/media/6306c77e7c8268e4-s.2dbetqa9o8jxf.woff2 +0 -0
  574. package/.next/static/media/7178b3e590c64307-s.21jp631_3pja2.woff2 +0 -0
  575. package/.next/static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2 +0 -0
  576. package/.next/static/media/7d817b4c03b0c5f1-s.1uyisp29ctx0d.woff2 +0 -0
  577. package/.next/static/media/8a480f0b521d4e75-s.1qq4vpdcun5oj.woff2 +0 -0
  578. package/.next/static/media/apple-icon.3wegq_e2im0r7.png +0 -0
  579. package/.next/static/media/bbc41e54d2fcbd21-s.1rgnod-3esatf.woff2 +0 -0
  580. package/.next/static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2 +0 -0
  581. package/.next/static/media/favicon.2zdrk8nf2w92v.ico +0 -0
  582. package/.next/static/media/fef07dbb0973bf53-s.3p2_lha1f2xer.woff2 +0 -0
  583. package/.next/static/media/icon.20nhmzpyywyzw.svg +1 -0
  584. package/.next/turbopack +0 -0
  585. package/LICENSE +22 -0
  586. package/README.md +439 -2
  587. package/bin/beadscope.mjs +724 -0
  588. package/next.config.ts +43 -0
  589. package/package.json +105 -4
  590. package/public/file.svg +1 -0
  591. package/public/globe.svg +1 -0
  592. package/public/next.svg +1 -0
  593. package/public/vercel.svg +1 -0
  594. package/public/window.svg +1 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../app/p/%5BprojectId%5D/page.tsx","../../../../lib/config.ts","../../../../components/app-shell.tsx/__nextjs-internal-proxy.mjs%20%7B%20server%20%3D%3E%20%22%5Bproject%5D/components/app-shell.tsx%22%20%7D"],"sourcesContent":["import { Suspense } from \"react\";\nimport type { Metadata } from \"next\";\nimport { AppShell } from \"@/components/app-shell\";\nimport { projectTitle } from \"@/lib/app-title\";\nimport { getProject } from \"@/lib/config\";\n\ntype Props = {\n params: Promise<{ projectId: string }>;\n};\n\nexport async function generateMetadata({ params }: Props): Promise<Metadata> {\n const { projectId } = await params;\n const project = getProject(projectId);\n\n return project ? { title: projectTitle(project.name) } : {};\n}\n\nexport default async function ProjectPage({ params }: Props) {\n const { projectId } = await params;\n // A project route owns transient UI state (drawer trails, palettes, and the\n // notification watcher baseline). A distinct key prevents state from one\n // client-side project visit leaking into the next one.\n return <Suspense fallback={<div className=\"p-6 text-sm\">Loading project…</div>}><AppShell key={projectId} projectId={projectId} /></Suspense>;\n}\n","import \"server-only\";\nimport fs from \"node:fs\";\nimport path from \"node:path\";\nimport os from \"node:os\";\nimport { execFileSync } from \"node:child_process\";\n\n/**\n * Local app config (NOT stored in beads). Lives as a small JSON file under the\n * OS config dir. Holds the human actor used to stamp writes, the human allowlist\n * for origin detection, the poll interval, and the registry of beads projects\n * the app knows about.\n *\n * Project identity is per-request (driven by the /p/<projectId> URL), so the\n * \"active\" project is NOT stored here — only the durable list of discovered ones.\n */\nexport interface ProjectEntry {\n id: string;\n name: string;\n path: string;\n /** ISO timestamps. */\n addedAt: string;\n lastOpened: string;\n}\n\nexport interface AppConfig {\n humanActor: string;\n humanAllowlist: string[];\n pollIntervalMs: number;\n projects: ProjectEntry[];\n /**\n * Manual board ordering, kept app-local (NOT in beads): projectId → columnId →\n * ordered bead ids. Lets users drag beads within a column to set work order.\n */\n orders: Record<string, Record<string, string[]>>;\n /** Opt-in: show the gamification XP/level layer (off by default). */\n gamification: boolean;\n /**\n * True once the human actor was saved from Settings. Until then the actor\n * follows the computed default, even if an older version wrote it to disk.\n */\n humanActorChosen?: boolean;\n}\n\n/**\n * The built-in demo dataset, surfaced as an always-available pseudo-project.\n * It has no filesystem path; the store resolver maps it to the in-memory store.\n */\nexport const DEMO_PROJECT = {\n id: \"demo\",\n name: \"Demo\",\n path: null,\n} as const;\nexport type DemoProject = typeof DEMO_PROJECT;\n\nexport class ConfigError extends Error {\n code: string;\n constructor(message: string, code: string) {\n super(message);\n this.name = \"ConfigError\";\n this.code = code;\n }\n}\n\n/**\n * BEADSCOPE_READ_ONLY=1 (or \"true\") supplies the default for new browser sessions.\n * The session cookie overrides that default when the user changes the mode.\n * In the effective read-only mode, project writes are refused server-side and\n * editing controls are disabled. App settings remain available.\n */\nexport const VIEWER_MODE_COOKIE = \"beadscope-viewer-mode\";\n\nexport function isReadOnly(request?: Request): boolean {\n // This is a browser preference, not an authorization boundary. A session\n // cookie lets one browser override the launch default without affecting others.\n const cookie = request?.headers.get(\"cookie\")?.split(\";\").map((v) => v.trim())\n .find((v) => v.startsWith(`${VIEWER_MODE_COOKIE}=`))?.slice(VIEWER_MODE_COOKIE.length + 1);\n if (cookie === \"read-only\") return true;\n if (cookie === \"editing\") return false;\n const v = process.env.BEADSCOPE_READ_ONLY;\n return v === \"1\" || v === \"true\";\n}\n\n/**\n * Focus-view lane chips: BEADSCOPE_LANE_PREFIX names a label prefix (e.g. \"ctx:\")\n * whose values partition work into lanes/teams/areas. When set, the Focus view\n * offers one filter chip per lane label found on the visible beads. Unset →\n * no chips (the feature is invisible).\n */\nexport function lanePrefix(): string | null {\n return process.env.BEADSCOPE_LANE_PREFIX || null;\n}\n\nexport function configDir(): string {\n const base = process.env.XDG_CONFIG_HOME || path.join(os.homedir(), \".config\");\n return path.join(base, \"beadscope\");\n}\nfunction configFile(): string {\n return path.join(configDir(), \"config.json\");\n}\n\nfunction osUserName(): string {\n try {\n return os.userInfo().username || \"you\";\n } catch {\n return \"you\";\n }\n}\n\n/** git's user.name as seen from the launch directory, or null without git or a name. */\nfunction gitUserName(): string | null {\n try {\n const name = execFileSync(\"git\", [\"config\", \"--get\", \"user.name\"], {\n cwd: process.cwd(),\n encoding: \"utf8\",\n timeout: 2000,\n stdio: [\"ignore\", \"pipe\", \"ignore\"],\n }).trim();\n return name || null;\n } catch {\n return null;\n }\n}\n\nfunction defaults(): AppConfig {\n // Same order as bd's own actor (`bd --help`, --actor): BEADS_ACTOR, then git\n // user.name, then the OS user. If Beadscope stamped writes with the OS name\n // while `bd update --claim` used the git name, bd would refuse to let the UI\n // close beads the user claimed from the CLI.\n const humanActor = process.env.BEADS_ACTOR || gitUserName() || osUserName();\n return {\n humanActor,\n humanAllowlist: [humanActor],\n // Fallback refresh interval. The SSE change stream (see lib/beads-watch)\n // drives fast updates; this interval only backstops a dropped stream.\n pollIntervalMs: 30000,\n projects: [],\n orders: {},\n gamification: false,\n };\n}\n\n// ---- helpers -------------------------------------------------------------\n\nfunction hasBeads(p: string): boolean {\n try {\n return fs.existsSync(path.join(p, \".beads\"));\n } catch {\n return false;\n }\n}\nfunction realpathOrSelf(p: string): string {\n try {\n return fs.realpathSync(p);\n } catch {\n return path.resolve(p);\n }\n}\nfunction sameDir(a: string, b: string): boolean {\n return realpathOrSelf(a) === realpathOrSelf(b);\n}\nfunction slug(s: string): string {\n return (\n s\n .toLowerCase()\n .replace(/[^a-z0-9]+/g, \"-\")\n .replace(/^-+|-+$/g, \"\") || \"project\"\n );\n}\nfunction makeId(absPath: string, taken: Set<string>): string {\n const base = slug(path.basename(absPath));\n let id = base;\n while (taken.has(id) || id === DEMO_PROJECT.id) {\n id = `${base}-${Math.random().toString(36).slice(2, 6)}`;\n }\n return id;\n}\nfunction makeEntry(inputPath: string, taken: Set<string>): ProjectEntry {\n const abs = path.resolve(inputPath);\n const now = new Date().toISOString();\n return {\n id: makeId(abs, taken),\n name: path.basename(abs) || abs,\n path: abs,\n addedAt: now,\n lastOpened: now,\n };\n}\n\n/** Drop malformed registry entries so a bad config file never crashes startup. */\nfunction sanitizeProjects(input: unknown): ProjectEntry[] {\n if (!Array.isArray(input)) return [];\n const out: ProjectEntry[] = [];\n const seen = new Set<string>();\n for (const it of input) {\n if (!it || typeof it !== \"object\") continue;\n const e = it as Record<string, unknown>;\n if (typeof e.id !== \"string\" || typeof e.path !== \"string\") continue;\n if (e.id === DEMO_PROJECT.id || seen.has(e.id)) continue;\n seen.add(e.id);\n out.push({\n id: e.id,\n path: e.path,\n name: typeof e.name === \"string\" && e.name ? e.name : path.basename(e.path) || e.path,\n addedAt: typeof e.addedAt === \"string\" ? e.addedAt : new Date().toISOString(),\n lastOpened: typeof e.lastOpened === \"string\" ? e.lastOpened : new Date().toISOString(),\n });\n }\n return out;\n}\n\n// ---- load / persist ------------------------------------------------------\n\nlet cached: AppConfig | null = null;\n\n/**\n * Persist the config, preserving any unknown keys already on disk (e.g. the\n * legacy `repoPath`/`demo` fields) so older app versions can still read them.\n */\nfunction persist(cfg: AppConfig): void {\n cached = cfg;\n try {\n fs.mkdirSync(configDir(), { recursive: true });\n let base: Record<string, unknown> = {};\n try {\n base = JSON.parse(fs.readFileSync(configFile(), \"utf8\")) as Record<string, unknown>;\n } catch {\n base = {};\n }\n const next = { ...base, ...cfg };\n fs.writeFileSync(configFile(), JSON.stringify(next, null, 2), \"utf8\");\n } catch {\n /* best-effort; config still applies for the session */\n }\n}\n\nexport function getConfig(): AppConfig {\n if (cached) return cached;\n const d = defaults();\n\n let onDisk:\n | (Partial<AppConfig> & { repoPath?: string; demo?: boolean })\n | null = null;\n try {\n onDisk = JSON.parse(fs.readFileSync(configFile(), \"utf8\"));\n } catch {\n onDisk = null;\n }\n\n // Before 0.3.1 the computed default (the OS user) was written to disk along\n // with the first project, so an unchosen OS username on disk is a stale\n // default rather than a preference. Replace it, and keep the new actor in the\n // allowlist so the user's own writes still render as human.\n const staleActor =\n !onDisk?.humanActorChosen && onDisk?.humanActor === osUserName() && d.humanActor !== onDisk.humanActor;\n const storedAllowlist = onDisk?.humanAllowlist && onDisk.humanAllowlist.length ? onDisk.humanAllowlist : null;\n const merged: AppConfig = {\n humanActor: staleActor ? d.humanActor : onDisk?.humanActor || d.humanActor,\n humanAllowlist: !storedAllowlist\n ? d.humanAllowlist\n : staleActor && !storedAllowlist.includes(d.humanActor)\n ? [...storedAllowlist, d.humanActor]\n : storedAllowlist,\n pollIntervalMs:\n typeof onDisk?.pollIntervalMs === \"number\" ? onDisk.pollIntervalMs : d.pollIntervalMs,\n projects: sanitizeProjects(onDisk?.projects),\n orders:\n onDisk?.orders && typeof onDisk.orders === \"object\" && !Array.isArray(onDisk.orders)\n ? (onDisk.orders as Record<string, Record<string, string[]>>)\n : {},\n gamification: typeof onDisk?.gamification === \"boolean\" ? onDisk.gamification : d.gamification,\n humanActorChosen: onDisk?.humanActorChosen === true,\n };\n\n // One-time migration: back-fill the registry from the legacy single repoPath\n // (or BEADS_REPO / cwd) when no projects array exists yet.\n let migrated = false;\n if (!onDisk || onDisk.projects === undefined) {\n const legacyPath = onDisk?.repoPath || process.env.BEADS_REPO || process.cwd();\n if (\n legacyPath &&\n hasBeads(legacyPath) &&\n !merged.projects.some((p) => sameDir(p.path, legacyPath))\n ) {\n merged.projects.push(makeEntry(legacyPath, new Set(merged.projects.map((p) => p.id))));\n migrated = true;\n }\n }\n\n cached = merged;\n // Persist the migrated entry so its id is stable across restarts.\n if (migrated) persist(merged);\n return cached;\n}\n\n/**\n * The actor to close a bead as. bd refuses to close a claimed bead as anyone\n * but its assignee. Before 0.3.1 Beadscope wrote as the OS user, so beads people\n * assigned to themselves then still carry that name. It is the same person on\n * this machine, so close those as it rather than failing — #61 in reverse.\n * Every other assignee (a teammate, an agent) keeps bd's protection.\n */\nexport function closeActor(assignee: string | null | undefined): string {\n const { humanActor } = getConfig();\n return assignee && assignee !== humanActor && assignee === osUserName() ? assignee : humanActor;\n}\n\n/** Update global settings (actor / allowlist / poll). Project registry has its own mutators. */\nexport function saveConfig(\n patch: Partial<Pick<AppConfig, \"humanActor\" | \"humanAllowlist\" | \"pollIntervalMs\" | \"gamification\">>,\n): AppConfig {\n const next = { ...getConfig(), ...patch };\n if (patch.humanActor !== undefined) next.humanActorChosen = true;\n persist(next);\n return next;\n}\n\n// ---- project registry ----------------------------------------------------\n\nexport function listProjects(): ProjectEntry[] {\n return getConfig().projects;\n}\n\nexport function getProject(id: string): ProjectEntry | DemoProject | undefined {\n if (id === DEMO_PROJECT.id) return DEMO_PROJECT;\n return getConfig().projects.find((p) => p.id === id);\n}\n\n/** Add (or re-touch) a project by folder path. Validates a `.beads` dir exists. */\nexport function addProject(inputPath: string): ProjectEntry {\n const cfg = getConfig();\n const abs = path.resolve(inputPath);\n if (!hasBeads(abs)) {\n throw new ConfigError(`No .beads directory found in ${abs}`, \"no_beads\");\n }\n const existing = cfg.projects.find((p) => sameDir(p.path, abs));\n if (existing) {\n existing.lastOpened = new Date().toISOString();\n persist(cfg);\n return existing;\n }\n const entry = makeEntry(abs, new Set(cfg.projects.map((p) => p.id)));\n cfg.projects.push(entry);\n persist(cfg);\n return entry;\n}\n\nexport function removeProject(id: string): void {\n const cfg = getConfig();\n cfg.projects = cfg.projects.filter((p) => p.id !== id);\n // Drop any saved board ordering for the removed project so it can't orphan.\n if (cfg.orders[id]) {\n const rest = { ...cfg.orders };\n delete rest[id];\n cfg.orders = rest;\n }\n persist(cfg);\n}\n\nexport function touchProject(id: string): void {\n const cfg = getConfig();\n const p = cfg.projects.find((x) => x.id === id);\n if (p) {\n p.lastOpened = new Date().toISOString();\n persist(cfg);\n }\n}\n\nexport function renameProject(id: string, name: string): ProjectEntry | undefined {\n const cfg = getConfig();\n const p = cfg.projects.find((x) => x.id === id);\n if (!p) return undefined;\n p.name = name;\n persist(cfg);\n return p;\n}\n\n// ---- manual board ordering ------------------------------------------------\n\n/** All saved column orders for a project: columnId → ordered bead ids. */\nexport function getColumnOrders(projectId: string): Record<string, string[]> {\n return getConfig().orders[projectId] ?? {};\n}\n\n/** Replace the saved order for one column of one project. */\nexport function setColumnOrder(\n projectId: string,\n columnId: string,\n ids: string[],\n): Record<string, string[]> {\n const cfg = getConfig();\n const proj = { ...(cfg.orders[projectId] ?? {}) };\n proj[columnId] = ids;\n cfg.orders = { ...cfg.orders, [projectId]: proj };\n persist(cfg);\n return proj;\n}\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport const AppShell = registerClientReference(\n function() { throw new Error(\"Attempted to call AppShell() from the server but AppShell is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/components/app-shell.tsx\",\n \"AppShell\",\n);\n"],"names":["DEMO_PROJECT","id","name","path","ConfigError","Error","code","message","VIEWER_MODE_COOKIE","isReadOnly","request","cookie","headers","get","split","map","v","trim","find","startsWith","slice","length","process","env","BEADSCOPE_READ_ONLY","lanePrefix","BEADSCOPE_LANE_PREFIX","configDir","base","XDG_CONFIG_HOME","join","homedir","configFile","osUserName","userInfo","username","gitUserName","cwd","encoding","timeout","stdio","defaults","humanActor","BEADS_ACTOR","humanAllowlist","pollIntervalMs","projects","orders","gamification","hasBeads","p","existsSync","realpathOrSelf","realpathSync","resolve","sameDir","a","b","slug","s","toLowerCase","replace","makeId","absPath","taken","basename","has","Math","random","toString","makeEntry","inputPath","abs","now","Date","toISOString","addedAt","lastOpened","sanitizeProjects","input","Array","isArray","out","seen","Set","it","e","add","push","cached","persist","cfg","mkdirSync","recursive","JSON","parse","readFileSync","next","writeFileSync","stringify","getConfig","d","onDisk","staleActor","humanActorChosen","storedAllowlist","merged","includes","migrated","undefined","legacyPath","repoPath","BEADS_REPO","some","closeActor","assignee","saveConfig","patch","listProjects","getProject","addProject","existing","entry","removeProject","filter","rest","touchProject","x","renameProject","getColumnOrders","projectId","setColumnOrder","columnId","ids","proj","AppShell"],"mappings":"2CAAA,EAAA,EAAA,CAAA,CAAA,KAEA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,KCFA,EAAA,EAAA,CAAA,CAAA,MACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OA2CO,IAAMA,EAAe,CAC1BC,GAAI,OACJC,KAAM,OACNC,KAAM,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,QAAQ,CAAC5B,IAAI,CAAC,AAACgC,GAAMA,EAAEjD,EAAE,GDxTjB,ECwTsBA,CDtTjD,OAAO,EAAU,CAAE,MAAO,CAAA,EAAA,EAAA,CAAA,AAAY,EAAC,EAAQ,IAAI,CAAE,EAAI,CAAC,CAC5D,CAEe,eAAe,EAAY,QAAE,CAAM,CAAS,EACzD,GAAM,WAAE,CAAS,CAAE,CAAG,MAAM,EAI5B,MAAO,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,QAAQ,CAAA,CAAC,SAAU,CAAA,EAAA,EAAA,GAAA,EAAC,MAAA,CAAI,UAAU,uBAAc,8BAAwB,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,QAAQ,CAAA,CAAiB,UAAW,GAAtB,IACjG,8DErBO,IAAMsI,EAAW,CAAA,EADxB,AACwB,EADxB,CAAA,CAAA,OACwB,uBAAA,AAAuB,EAC3C,WAAa,MAAM,AAAIlI,MAAM,8NAAgO,EAC7P,qCACA","ignoreList":[2]}
@@ -0,0 +1,3 @@
1
+ module.exports=[51033,(a,b,c)=>{}];
2
+
3
+ //# sourceMappingURL=_next-internal_server_app__global-error_page_actions_0zi5s8-psc_d2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ module.exports=[57665,(a,b,c)=>{}];
2
+
3
+ //# sourceMappingURL=_next-internal_server_app__not-found_page_actions_0pt47yrisjoev.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ module.exports=[56857,(a,b,c)=>{}];
2
+
3
+ //# sourceMappingURL=_next-internal_server_app_p_%5BprojectId%5D_page_actions_1v83cl8bzuchz.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ module.exports=[49901,(a,b,c)=>{}];
2
+
3
+ //# sourceMappingURL=_next-internal_server_app_page_actions_0hhsz1jew5ls7.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ module.exports=[73837,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(50944),e=a.i(70025),f=a.i(37927),g=a.i(23292),h=a.i(3512),i=a.i(64831);let j=(0,i.f)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]),k=(0,i.f)("flask-conical",[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]]),l=(0,i.f)("folder-git-2",[["path",{d:"M18 19a5 5 0 0 1-5-5v8",key:"sz5oeg"}],["path",{d:"M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5",key:"1w6njk"}],["circle",{cx:"13",cy:"12",r:"2",key:"1j92g6"}],["circle",{cx:"20",cy:"19",r:"2",key:"1obnsp"}]]);var m=a.i(75160),n=a.i(35985),o=a.i(4365),p=a.i(6113),q=a.i(32123),r=a.i(71630);function s({onClick:a,children:c}){return(0,b.jsx)("div",{role:"button",tabIndex:0,onClick:a,onKeyDown:b=>{("Enter"===b.key||" "===b.key)&&a()},className:"group relative flex min-h-[112px] cursor-pointer flex-col gap-[10px] rounded-[13px] border border-border bg-[var(--surface)] p-[16px_18px] transition-colors hover:border-[var(--brand)] hover:bg-[var(--surface-2)]",children:c})}function t(){let a=(0,d.useRouter)();return(0,b.jsxs)(s,{onClick:()=>a.push("/p/demo"),children:[(0,b.jsxs)("div",{className:"flex items-center gap-[10px]",children:[(0,b.jsx)("div",{className:"flex h-[30px] w-[30px] items-center justify-center rounded-[9px] bg-[#d9770618] text-[#d97706]",children:(0,b.jsx)(k,{size:16})}),(0,b.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,b.jsx)("div",{className:"truncate text-[14px] font-[620]",children:"Demo"}),(0,b.jsx)("div",{className:"text-[11px] text-[var(--text-3)]",children:"built-in"})]})]}),(0,b.jsx)("div",{className:"text-[12px] text-[var(--text-3)]",children:"Seeded sample data — explore every view without bd installed."})]})}function u({project:a}){let c=(0,d.useRouter)(),h=(0,f.d)(),i=(0,e.f)({mutationFn:()=>r.k.projects.remove(a.id),onSuccess:()=>{h.invalidateQueries({queryKey:["projects"]}),g.c.success(`Removed ${a.name}`)},onError:a=>g.c.error(a.message)});return(0,b.jsxs)(s,{onClick:()=>c.push(`/p/${a.id}`),children:[(0,b.jsxs)("div",{className:"flex items-center gap-[10px]",children:[(0,b.jsx)("div",{className:"flex h-[30px] w-[30px] items-center justify-center rounded-[9px] bg-[var(--brand-weak)] text-[var(--brand)]",children:(0,b.jsx)(l,{size:16})}),(0,b.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,b.jsx)("div",{className:"truncate text-[14px] font-[620]",children:a.name}),(0,b.jsxs)("div",{className:"flex items-center gap-1.5 text-[11px] text-[var(--text-3)]",children:[(0,b.jsx)("span",{className:"h-[6px] w-[6px] rounded-full",style:{background:a.hasBeads?"#22c55e":"#ef4444"}}),a.hasBeads?"bd repo":"no .beads found"]})]}),(0,b.jsx)("button",{title:"Remove from list",onClick:b=>{b.stopPropagation(),confirm(`Remove "${a.name}" from the list? This does not delete any files.`)&&i.mutate()},className:"flex h-[26px] w-[26px] flex-shrink-0 items-center justify-center rounded-lg text-[var(--text-3)] opacity-0 transition-opacity hover:bg-[var(--surface-3)] hover:text-[#ef4444] group-hover:opacity-100",children:(0,b.jsx)(j,{size:14})})]}),(0,b.jsx)("div",{className:"truncate font-mono text-[11px] text-[var(--text-3)]",dir:"rtl",title:a.path??"",children:a.path})]})}a.s(["Launcher",0,function(){let{data:a,isLoading:d}=(0,p.f)(),[e,f]=c.useState(!1),{mode:g,toggle:i}=(0,o.i)(),j=a?.projects??[],k=j.find(a=>"demo"===a.id),l=j.filter(a=>"demo"!==a.id);return(0,b.jsxs)("div",{className:"flex h-full flex-col overflow-y-auto bg-background text-foreground",children:[(0,b.jsxs)("header",{className:"flex items-center gap-[12px] border-b border-border p-[20px_28px]",children:[(0,b.jsx)("div",{className:"flex h-[34px] w-[34px] items-center justify-center rounded-[10px] text-white",style:{background:"var(--brand)",boxShadow:"0 2px 8px -2px var(--brand)"},children:(0,b.jsx)(n.W,{name:"logo",size:19})}),(0,b.jsxs)("div",{className:"flex-1 leading-[1.15]",children:[(0,b.jsx)("div",{className:"text-[16px] font-[680] tracking-[-.01em]",children:"Beadscope"}),(0,b.jsx)("div",{className:"text-[12px] text-[var(--text-3)]",children:"Choose a beads project to view and manage"})]}),(0,b.jsx)("button",{onClick:i,title:"Toggle theme",className:"flex h-[34px] w-[34px] items-center justify-center rounded-lg border border-border bg-[var(--surface)] text-[var(--text-2)] hover:bg-[var(--surface-2)]",children:(0,b.jsx)(n.W,{name:"dark"===g?"sun":"moon",size:15})})]}),(0,b.jsxs)("div",{className:"mx-auto w-full max-w-[860px] flex-1 p-[28px]",children:[(0,b.jsxs)("div",{className:"mb-[14px] flex items-center justify-between",children:[(0,b.jsx)("h2",{className:"text-[13px] font-[650] uppercase tracking-[.03em] text-[var(--text-3)]",children:"Projects"}),(0,b.jsxs)("button",{onClick:()=>f(!0),className:"flex h-[36px] items-center gap-[7px] rounded-[9px] px-[14px] text-[13px] font-semibold text-white",style:{background:"var(--brand)",boxShadow:"0 2px 8px -2px var(--brand)"},children:[(0,b.jsx)(h.f,{size:15}),"Add project"]})]}),d?(0,b.jsx)("div",{className:"flex h-[200px] items-center justify-center text-[var(--text-3)]",children:(0,b.jsx)(m.f,{size:20,className:"animate-spin"})}):(0,b.jsxs)("div",{className:"grid grid-cols-[repeat(auto-fill,minmax(248px,1fr))] gap-[14px]",children:[k&&(0,b.jsx)(t,{}),l.map(a=>(0,b.jsx)(u,{project:a},a.id)),0===l.length&&(0,b.jsxs)("button",{onClick:()=>f(!0),className:"flex min-h-[112px] flex-col items-center justify-center gap-2 rounded-[13px] border border-dashed border-[var(--border-strong)] p-5 text-[var(--text-3)] hover:border-[var(--brand)] hover:text-[var(--brand)]",children:[(0,b.jsx)(h.f,{size:20}),(0,b.jsx)("span",{className:"text-[12.5px] font-[550]",children:"Add your first project"})]})]})]}),(0,b.jsx)(q.f,{open:e,onOpenChange:f})]})}],73837)}];
2
+
3
+ //# sourceMappingURL=components_launcher_tsx_1i40oht1v6miz._.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../components/launcher.tsx","../../../../node_modules/lucide-react/src/icons/folder-git-2.ts","../../../../node_modules/lucide-react/src/icons/trash-2.ts","../../../../node_modules/lucide-react/src/icons/flask-conical.ts"],"sourcesContent":["\"use client\";\nimport * as React from \"react\";\nimport { useRouter } from \"next/navigation\";\nimport { useMutation, useQueryClient } from \"@tanstack/react-query\";\nimport { toast } from \"sonner\";\nimport { Plus, Trash2, FlaskConical, FolderGit2, Loader2 } from \"lucide-react\";\nimport { Icon } from \"@/components/icons\";\nimport { useTheme } from \"@/components/theme-provider\";\nimport { useProjects } from \"@/hooks/use-projects\";\nimport { FolderBrowserModal } from \"@/components/folder-browser-modal\";\nimport { api, type ProjectInfo } from \"@/lib/api-client\";\n\nexport function Launcher() {\n const { data, isLoading } = useProjects();\n const [addOpen, setAddOpen] = React.useState(false);\n const { mode, toggle } = useTheme();\n\n const projects = data?.projects ?? [];\n const demo = projects.find((p) => p.id === \"demo\");\n const real = projects.filter((p) => p.id !== \"demo\");\n\n return (\n <div className=\"flex h-full flex-col overflow-y-auto bg-background text-foreground\">\n <header className=\"flex items-center gap-[12px] border-b border-border p-[20px_28px]\">\n <div\n className=\"flex h-[34px] w-[34px] items-center justify-center rounded-[10px] text-white\"\n style={{ background: \"var(--brand)\", boxShadow: \"0 2px 8px -2px var(--brand)\" }}\n >\n <Icon name=\"logo\" size={19} />\n </div>\n <div className=\"flex-1 leading-[1.15]\">\n <div className=\"text-[16px] font-[680] tracking-[-.01em]\">Beadscope</div>\n <div className=\"text-[12px] text-[var(--text-3)]\">\n Choose a beads project to view and manage\n </div>\n </div>\n <button\n onClick={toggle}\n title=\"Toggle theme\"\n className=\"flex h-[34px] w-[34px] items-center justify-center rounded-lg border border-border bg-[var(--surface)] text-[var(--text-2)] hover:bg-[var(--surface-2)]\"\n >\n <Icon name={mode === \"dark\" ? \"sun\" : \"moon\"} size={15} />\n </button>\n </header>\n\n <div className=\"mx-auto w-full max-w-[860px] flex-1 p-[28px]\">\n <div className=\"mb-[14px] flex items-center justify-between\">\n <h2 className=\"text-[13px] font-[650] uppercase tracking-[.03em] text-[var(--text-3)]\">\n Projects\n </h2>\n <button\n onClick={() => setAddOpen(true)}\n className=\"flex h-[36px] items-center gap-[7px] rounded-[9px] px-[14px] text-[13px] font-semibold text-white\"\n style={{ background: \"var(--brand)\", boxShadow: \"0 2px 8px -2px var(--brand)\" }}\n >\n <Plus size={15} />\n Add project\n </button>\n </div>\n\n {isLoading ? (\n <div className=\"flex h-[200px] items-center justify-center text-[var(--text-3)]\">\n <Loader2 size={20} className=\"animate-spin\" />\n </div>\n ) : (\n <div className=\"grid grid-cols-[repeat(auto-fill,minmax(248px,1fr))] gap-[14px]\">\n {demo && <DemoCard />}\n {real.map((p) => (\n <ProjectCard key={p.id} project={p} />\n ))}\n {real.length === 0 && (\n <button\n onClick={() => setAddOpen(true)}\n className=\"flex min-h-[112px] flex-col items-center justify-center gap-2 rounded-[13px] border border-dashed border-[var(--border-strong)] p-5 text-[var(--text-3)] hover:border-[var(--brand)] hover:text-[var(--brand)]\"\n >\n <Plus size={20} />\n <span className=\"text-[12.5px] font-[550]\">Add your first project</span>\n </button>\n )}\n </div>\n )}\n </div>\n\n <FolderBrowserModal open={addOpen} onOpenChange={setAddOpen} />\n </div>\n );\n}\n\nfunction CardShell({\n onClick,\n children,\n}: {\n onClick: () => void;\n children: React.ReactNode;\n}) {\n return (\n <div\n role=\"button\"\n tabIndex={0}\n onClick={onClick}\n onKeyDown={(e) => {\n if (e.key === \"Enter\" || e.key === \" \") onClick();\n }}\n className=\"group relative flex min-h-[112px] cursor-pointer flex-col gap-[10px] rounded-[13px] border border-border bg-[var(--surface)] p-[16px_18px] transition-colors hover:border-[var(--brand)] hover:bg-[var(--surface-2)]\"\n >\n {children}\n </div>\n );\n}\n\nfunction DemoCard() {\n const router = useRouter();\n return (\n <CardShell onClick={() => router.push(\"/p/demo\")}>\n <div className=\"flex items-center gap-[10px]\">\n <div className=\"flex h-[30px] w-[30px] items-center justify-center rounded-[9px] bg-[#d9770618] text-[#d97706]\">\n <FlaskConical size={16} />\n </div>\n <div className=\"min-w-0 flex-1\">\n <div className=\"truncate text-[14px] font-[620]\">Demo</div>\n <div className=\"text-[11px] text-[var(--text-3)]\">built-in</div>\n </div>\n </div>\n <div className=\"text-[12px] text-[var(--text-3)]\">\n Seeded sample data — explore every view without bd installed.\n </div>\n </CardShell>\n );\n}\n\nfunction ProjectCard({ project }: { project: ProjectInfo }) {\n const router = useRouter();\n const qc = useQueryClient();\n const remove = useMutation({\n mutationFn: () => api.projects.remove(project.id),\n onSuccess: () => {\n qc.invalidateQueries({ queryKey: [\"projects\"] });\n toast.success(`Removed ${project.name}`);\n },\n onError: (e) => toast.error((e as Error).message),\n });\n\n return (\n <CardShell onClick={() => router.push(`/p/${project.id}`)}>\n <div className=\"flex items-center gap-[10px]\">\n <div className=\"flex h-[30px] w-[30px] items-center justify-center rounded-[9px] bg-[var(--brand-weak)] text-[var(--brand)]\">\n <FolderGit2 size={16} />\n </div>\n <div className=\"min-w-0 flex-1\">\n <div className=\"truncate text-[14px] font-[620]\">{project.name}</div>\n <div className=\"flex items-center gap-1.5 text-[11px] text-[var(--text-3)]\">\n <span\n className=\"h-[6px] w-[6px] rounded-full\"\n style={{ background: project.hasBeads ? \"#22c55e\" : \"#ef4444\" }}\n />\n {project.hasBeads ? \"bd repo\" : \"no .beads found\"}\n </div>\n </div>\n <button\n title=\"Remove from list\"\n onClick={(e) => {\n e.stopPropagation();\n if (confirm(`Remove \"${project.name}\" from the list? This does not delete any files.`)) {\n remove.mutate();\n }\n }}\n className=\"flex h-[26px] w-[26px] flex-shrink-0 items-center justify-center rounded-lg text-[var(--text-3)] opacity-0 transition-opacity hover:bg-[var(--surface-3)] hover:text-[#ef4444] group-hover:opacity-100\"\n >\n <Trash2 size={14} />\n </button>\n </div>\n <div className=\"truncate font-mono text-[11px] text-[var(--text-3)]\" dir=\"rtl\" title={project.path ?? \"\"}>\n {project.path}\n </div>\n </CardShell>\n );\n}\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M18 19a5 5 0 0 1-5-5v8', key: 'sz5oeg' }],\n [\n 'path',\n {\n d: 'M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5',\n key: '1w6njk',\n },\n ],\n ['circle', { cx: '13', cy: '12', r: '2', key: '1j92g6' }],\n ['circle', { cx: '20', cy: '19', r: '2', key: '1obnsp' }],\n];\n\n/**\n * @component @name FolderGit2\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTggMTlhNSA1IDAgMCAxLTUtNXY4IiAvPgogIDxwYXRoIGQ9Ik05IDIwSDRhMiAyIDAgMCAxLTItMlY1YTIgMiAwIDAgMSAyLTJoMy45YTIgMiAwIDAgMSAxLjY5LjlsLjgxIDEuMmEyIDIgMCAwIDAgMS42Ny45SDIwYTIgMiAwIDAgMSAyIDJ2NSIgLz4KICA8Y2lyY2xlIGN4PSIxMyIgY3k9IjEyIiByPSIyIiAvPgogIDxjaXJjbGUgY3g9IjIwIiBjeT0iMTkiIHI9IjIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/folder-git-2\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst FolderGit2 = createLucideIcon('folder-git-2', __iconNode);\n\nexport default FolderGit2;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M10 11v6', key: 'nco0om' }],\n ['path', { d: 'M14 11v6', key: 'outv1u' }],\n ['path', { d: 'M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6', key: 'miytrc' }],\n ['path', { d: 'M3 6h18', key: 'd0wm0j' }],\n ['path', { d: 'M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2', key: 'e791ji' }],\n];\n\n/**\n * @component @name Trash2\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTAgMTF2NiIgLz4KICA8cGF0aCBkPSJNMTQgMTF2NiIgLz4KICA8cGF0aCBkPSJNMTkgNnYxNGEyIDIgMCAwIDEtMiAySDdhMiAyIDAgMCAxLTItMlY2IiAvPgogIDxwYXRoIGQ9Ik0zIDZoMTgiIC8+CiAgPHBhdGggZD0iTTggNlY0YTIgMiAwIDAgMSAyLTJoNGEyIDIgMCAwIDEgMiAydjIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/trash-2\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Trash2 = createLucideIcon('trash-2', __iconNode);\n\nexport default Trash2;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2',\n key: '18mbvz',\n },\n ],\n ['path', { d: 'M6.453 15h11.094', key: '3shlmq' }],\n ['path', { d: 'M8.5 2h7', key: 'csnxdl' }],\n];\n\n/**\n * @component @name FlaskConical\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTQgMnY2YTIgMiAwIDAgMCAuMjQ1Ljk2bDUuNTEgMTAuMDhBMiAyIDAgMCAxIDE4IDIySDZhMiAyIDAgMCAxLTEuNzU1LTIuOTZsNS41MS0xMC4wOEEyIDIgMCAwIDAgMTAgOFYyIiAvPgogIDxwYXRoIGQ9Ik02LjQ1MyAxNWgxMS4wOTQiIC8+CiAgPHBhdGggZD0iTTguNSAyaDciIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/flask-conical\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst FlaskConical = createLucideIcon('flask-conical', __iconNode);\n\nexport default FlaskConical;\n"],"names":[],"mappings":"wDACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,uBEiBM,EAAS,CAAA,CAAA,CAAA,CAAA,AAAT,CAAS,AAAT,CAAS,AAAT,AAAS,CAAA,CAAiB,AAAjB,CAAiB,AAAjB,CAAiB,AAAjB,CAAiB,AAAjB,CAAA,AAAiB,CAAjB,AAAiB,CAAjB,AAAiB,CAAA,CAAA,CAAA,EAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA,kCAjB1C,CAA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A,CAAuB,QAAS,GAAf,EAAE,EAAE,GAEP,IAAhB,EAAK,MAAM,EACV,CAAA,EAAA,EAAA,IAAA,EAAC,SAAA,CACC,QAAS,IAAM,GAAW,GAC1B,UAAU,2NAEV,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,CAAI,CAAA,CAAC,KAAM,KACZ,CAAA,EAAA,EAAA,GAAA,EAAC,OAAA,CAAK,UAAU,oCAA2B,oCAOrD,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,CAAkB,CAAA,CAAC,KAAM,EAAS,aAAc,MAGvD","ignoreList":[1,2,3]}
@@ -0,0 +1,3 @@
1
+ module.exports=[31168,a=>{"use strict";var b,c=a.i(87924),d=a.i(72131),e=a.i(42871),f=a.i(76644),g=a.i(18544),h=a.i(33791),i=class extends h.f{constructor(a={}){super(),this.config=a,this.#a=new Map}#a;build(a,b,c){let d=b.queryKey,g=b.queryHash??(0,e.J)(d,b),h=this.get(g);return h||(h=new f.X({client:a,queryKey:d,queryHash:g,options:a.defaultQueryOptions(b),state:c,defaultOptions:a.getQueryDefaults(d)}),this.add(h)),h}add(a){this.#a.has(a.queryHash)||(this.#a.set(a.queryHash,a),this.notify({type:"added",query:a}))}remove(a){let b=this.#a.get(a.queryHash);b&&(a.destroy(),b===a&&this.#a.delete(a.queryHash),this.notify({type:"removed",query:a}))}clear(){g.f.batch(()=>{this.getAll().forEach(a=>{this.remove(a)})})}get(a){return this.#a.get(a)}getAll(){return[...this.#a.values()]}find(a){let b={exact:!0,...a};return this.getAll().find(a=>(0,e.N)(b,a))}findAll(a={}){let b=this.getAll();return Object.keys(a).length>0?b.filter(b=>(0,e.N)(a,b)):b}notify(a){g.f.batch(()=>{this.listeners.forEach(b=>{b(a)})})}onFocus(){g.f.batch(()=>{this.getAll().forEach(a=>{a.onFocus()})})}onOnline(){g.f.batch(()=>{this.getAll().forEach(a=>{a.onOnline()})})}},j=a.i(12794),k=h,l=class extends k.f{constructor(a={}){super(),this.config=a,this.#b=new Set,this.#c=new Map,this.#d=0}#b;#c;#d;build(a,b,c){let d=new j.I({client:a,mutationCache:this,mutationId:++this.#d,options:a.defaultMutationOptions(b),state:c});return this.add(d),d}add(a){this.#b.add(a);let b=m(a);if("string"==typeof b){let c=this.#c.get(b);c?c.push(a):this.#c.set(b,[a])}this.notify({type:"added",mutation:a})}remove(a){if(this.#b.delete(a)){let b=m(a);if("string"==typeof b){let c=this.#c.get(b);if(c)if(c.length>1){let b=c.indexOf(a);-1!==b&&c.splice(b,1)}else c[0]===a&&this.#c.delete(b)}}this.notify({type:"removed",mutation:a})}canRun(a){let b=m(a);if("string"!=typeof b)return!0;{let c=this.#c.get(b),d=c?.find(a=>"pending"===a.state.status);return!d||d===a}}runNext(a){let b=m(a);if("string"!=typeof b)return Promise.resolve();{let c=this.#c.get(b)?.find(b=>b!==a&&b.state.isPaused);return c?.continue()??Promise.resolve()}}clear(){g.f.batch(()=>{this.#b.forEach(a=>{this.notify({type:"removed",mutation:a})}),this.#b.clear(),this.#c.clear()})}getAll(){return Array.from(this.#b)}find(a){let b={exact:!0,...a};return this.getAll().find(a=>(0,e.L)(b,a))}findAll(a={}){return this.getAll().filter(b=>(0,e.L)(a,b))}notify(a){g.f.batch(()=>{this.listeners.forEach(b=>{b(a)})})}resumePausedMutations(){let a=this.getAll().filter(a=>a.state.isPaused);return g.f.batch(()=>Promise.all(a.map(a=>a.continue().catch(e.z))))}};function m(a){return a.options.scope?.id}var n=a.i(99745),o=a.i(12552),p=class{#e;#f;#g;#h;#i;#j;#k;#l;constructor(a={}){this.#e=a.queryCache||new i,this.#f=a.mutationCache||new l,this.#g=a.defaultOptions||{},this.#h=new Map,this.#i=new Map,this.#j=0}mount(){this.#j++,1===this.#j&&(this.#k=n.f.subscribe(async a=>{a&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#l=o.f.subscribe(async a=>{a&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#j--,0===this.#j&&(this.#k?.(),this.#k=void 0,this.#l?.(),this.#l=void 0)}isFetching(a){return this.#e.findAll({...a,fetchStatus:"fetching"}).length}isMutating(a){return this.#f.findAll({...a,status:"pending"}).length}getQueryData(a){let b=this.defaultQueryOptions({queryKey:a});return this.#e.get(b.queryHash)?.state.data}ensureQueryData(a){let b=this.defaultQueryOptions(a),c=this.#e.build(this,b),d=c.state.data;return void 0===d?this.fetchQuery(a):(a.revalidateIfStale&&c.isStaleByTime((0,e.H)(b.staleTime,c))&&this.prefetchQuery(b),Promise.resolve(d))}getQueriesData(a){return this.#e.findAll(a).map(({queryKey:a,state:b})=>[a,b.data])}setQueryData(a,b,c){let d=this.defaultQueryOptions({queryKey:a}),f=this.#e.get(d.queryHash),g=f?.state.data,h=(0,e.b)(b,g);if(void 0!==h)return this.#e.build(this,d).setData(h,{...c,manual:!0})}setQueriesData(a,b,c){return g.f.batch(()=>this.#e.findAll(a).map(({queryKey:a})=>[a,this.setQueryData(a,b,c)]))}getQueryState(a){let b=this.defaultQueryOptions({queryKey:a});return this.#e.get(b.queryHash)?.state}removeQueries(a){let b=this.#e;g.f.batch(()=>{b.findAll(a).forEach(a=>{b.remove(a)})})}resetQueries(a,b){let c=this.#e;return g.f.batch(()=>(c.findAll(a).forEach(a=>{a.reset()}),this.refetchQueries({type:"active",...a},b)))}cancelQueries(a,b={}){let c={revert:!0,...b};return Promise.all(g.f.batch(()=>this.#e.findAll(a).map(a=>a.cancel(c)))).then(e.z).catch(e.z)}invalidateQueries(a,b={}){return g.f.batch(()=>(this.#e.findAll(a).forEach(a=>{a.invalidate()}),a?.refetchType==="none")?Promise.resolve():this.refetchQueries({...a,type:a?.refetchType??a?.type??"active"},b))}refetchQueries(a,b={}){let c={...b,cancelRefetch:b.cancelRefetch??!0};return Promise.all(g.f.batch(()=>this.#e.findAll(a).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let b=a.fetch(void 0,c);return c.throwOnError||(b=b.catch(e.z)),"paused"===a.state.fetchStatus?Promise.resolve():b}))).then(e.z)}fetchQuery(a){let b=this.defaultQueryOptions(a);void 0===b.retry&&(b.retry=!1);let c=this.#e.build(this,b);return c.isStaleByTime((0,e.H)(b.staleTime,c))?c.fetch(b):Promise.resolve(c.state.data)}prefetchQuery(a){return this.fetchQuery(a).then(e.z).catch(e.z)}fetchInfiniteQuery(a){return a._type="infinite",this.fetchQuery(a)}prefetchInfiniteQuery(a){return this.fetchInfiniteQuery(a).then(e.z).catch(e.z)}ensureInfiniteQueryData(a){return a._type="infinite",this.ensureQueryData(a)}resumePausedMutations(){return o.f.isOnline()?this.#f.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#f}getDefaultOptions(){return this.#g}setDefaultOptions(a){this.#g=a}setQueryDefaults(a,b){this.#h.set((0,e.q)(a),{queryKey:a,defaultOptions:b})}getQueryDefaults(a){let b=[...this.#h.values()],c={};return b.forEach(b=>{(0,e.P)(a,b.queryKey)&&Object.assign(c,b.defaultOptions)}),c}setMutationDefaults(a,b){this.#i.set((0,e.q)(a),{mutationKey:a,defaultOptions:b})}getMutationDefaults(a){let b=[...this.#i.values()],c={};return b.forEach(b=>{(0,e.P)(a,b.mutationKey)&&Object.assign(c,b.defaultOptions)}),c}defaultQueryOptions(a){if(a._defaulted)return a;let b={...this.#g.queries,...this.getQueryDefaults(a.queryKey),...a,_defaulted:!0};return b.queryHash||(b.queryHash=(0,e.J)(b.queryKey,b)),void 0===b.refetchOnReconnect&&(b.refetchOnReconnect="always"!==b.networkMode),void 0===b.throwOnError&&(b.throwOnError=!!b.suspense),!b.networkMode&&b.persister&&(b.networkMode="offlineFirst"),b.queryFn===e.V&&(b.enabled=!1),b}defaultMutationOptions(a){return a?._defaulted?a:{...this.#g.mutations,...a?.mutationKey&&this.getMutationDefaults(a.mutationKey),...a,_defaulted:!0}}clear(){this.#e.clear(),this.#f.clear()}},q=a.i(37927),r=a.i(22050),s=a.i(57738),t=a.i(54662);let u=d.createContext(void 0);function v(a){let b=d.useContext(u);if(void 0===b&&!a)throw Error((0,t.f)(72));return b}var w=a.i(68536),x=a.i(54401),y=a.i(26476),z=a.i(40014),A=a.i(14209);function B(a){return null!=a&&null!=a.clientX}var C=a.i(38939),D=a.i(94552),E=a.i(84204),F=a.i(76459),G=a.i(64074),H=a.i(17498),I=a.i(39802),J=a.i(17017),K=a.i(51943);let L={...J.j,disabled:(0,G.f)(a=>a.disabled),instantType:(0,G.f)(a=>a.instantType),isInstantPhase:(0,G.f)(a=>a.isInstantPhase),trackCursorAxis:(0,G.f)(a=>a.trackCursorAxis),disableHoverablePopup:(0,G.f)(a=>a.disableHoverablePopup),lastOpenChangeReason:(0,G.f)(a=>a.openChangeReason),closeOnClick:(0,G.f)(a=>a.closeOnClick),closeDelay:(0,G.f)(a=>a.closeDelay),hasViewport:(0,G.f)(a=>a.hasViewport)};class M extends H.f{constructor(a,b,c=!1){let e=new K.f,f={...{...(0,J.i)(),disabled:!1,instantType:void 0,isInstantPhase:!1,trackCursorAxis:"none",disableHoverablePopup:!1,openChangeReason:null,closeOnClick:!0,closeDelay:0,hasViewport:!1},...a};f.floatingRootContext=(0,J.c)(e,b,c),super(f,{popupRef:d.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:e},L)}setOpen=(a,b)=>{(0,E.c)(this,a,b,{extraState:{openChangeReason:b.reason}})};cancelPendingOpen(a){this.state.floatingRootContext.dispatchOpenChange(!1,(0,D.f)(I.f.triggerPress,a))}static useStore(a,b){return(0,E.k)(a,(a,c)=>new M(b,a,c)).store}}var N=a.i(62600),N=N,O=a.i(29433),P=a.i(47462);let Q=(0,r.U)(function(a){let{disabled:b=!1,defaultOpen:e=!1,open:f,disableHoverablePopup:g=!1,trackCursorAxis:h="none",actionsRef:i,onOpenChange:j,onOpenChangeComplete:k,handle:l,triggerId:m,defaultTriggerId:n=null,children:o}=a,p=M.useStore(l?.store,{open:e,openProp:f,activeTriggerId:n,triggerIdProp:m});(0,E.T)(p,f,e,n),p.useControlledProp("openProp",f),p.useControlledProp("triggerIdProp",m),p.useContextCallback("onOpenChange",j),p.useContextCallback("onOpenChangeComplete",k);let q=p.useState("open"),r=!b&&q,t=p.useState("activeTriggerId"),v=p.useState("mounted"),w=p.useState("payload");p.useSyncedValues({trackCursorAxis:h,disableHoverablePopup:g}),p.useSyncedValue("disabled",b),(0,E.z)(p,{closeOnActiveTriggerUnmount:!0});let{forceUnmount:x,transitionStatus:y}=(0,E.L)(r,p),z=p.useState("isInstantPhase"),A=p.useState("instantType"),B=p.useState("lastOpenChangeReason"),C=d.useRef(null);(0,s.f)(()=>{q&&b&&p.setOpen(!1,(0,D.f)(N.disabled))},[q,b,p]),(0,s.f)(()=>{"ending"===y&&B===O.f.none||"ending"!==y&&z?("delay"!==A&&(C.current=A),p.set("instantType","delay")):null!==C.current&&(p.set("instantType",C.current),C.current=null)},[y,z,B,A,p]),(0,s.f)(()=>{r&&null==t&&p.set("payload",void 0)},[p,t,r]);let F=d.useCallback(()=>{p.setOpen(!1,(0,D.f)(P.f.imperativeAction))},[p]);d.useImperativeHandle(i,()=>({unmount:x,close:F}),[x,F]);let G=r||v||!b&&"none"!==h;return(0,c.jsxs)(u.Provider,{value:p,children:[G&&(0,c.jsx)(R,{store:p,disabled:b,trackCursorAxis:h}),"function"==typeof o?o({payload:w}):o]})});function R({store:a,disabled:b,trackCursorAxis:c}){let e=a.useState("floatingRootContext"),f=(0,C.f)(e,{enabled:!b,referencePress:()=>a.select("closeOnClick")}),g=function(a,b={}){let{enabled:c=!0,axis:e="both"}=b,f="rootStore"in a?a.rootStore:a,g=f.useState("open"),h=f.useState("floatingElement"),i=f.useState("domReferenceElement"),j=f.context.dataRef,k=d.useRef(!1),l=d.useRef(null),[m,n]=d.useState(),[o,p]=d.useState([]),q=(0,x.f)(a=>{f.set("positionReference",a)}),r=(0,x.f)((a,b,c)=>{if(!k.current&&(!j.current.openEvent||B(j.current.openEvent))){var d,g;let h,k,l;f.set("positionReference",(d=c??i,g={x:a,y:b,axis:e,dataRef:j,pointerType:m},h=null,k=null,l=!1,{contextElement:d||void 0,getBoundingClientRect(){let a=d?.getBoundingClientRect()||{width:0,height:0,x:0,y:0},b="x"===g.axis||"both"===g.axis,c="y"===g.axis||"both"===g.axis,e=["mouseenter","mousemove"].includes(g.dataRef.current.openEvent?.type||"")&&"touch"!==g.pointerType,f=a.width,i=a.height,j=a.x,m=a.y;return null==h&&g.x&&b&&(h=a.x-g.x),null==k&&g.y&&c&&(k=a.y-g.y),j-=h||0,m-=k||0,f=0,i=0,!l||e?(f="y"===g.axis?a.width:0,i="x"===g.axis?a.height:0,j=b&&null!=g.x?g.x:j,m=c&&null!=g.y?g.y:m):l&&!e&&(i="x"===g.axis?a.height:i,f="y"===g.axis?a.width:f),l=!0,{width:f,height:i,x:j,y:m,top:m,right:j+f,bottom:m+i,left:j}}}))}}),s=(0,x.f)(a=>{g?l.current||(r(a.clientX,a.clientY,a.currentTarget),p([])):r(a.clientX,a.clientY,a.currentTarget)}),t=(0,A.J)(m)?h:g;d.useEffect(()=>{if(!c)return void q(i);if(!t)return;function a(){l.current?.(),l.current=null}let b=(0,y.K)(h);return!j.current.openEvent||B(j.current.openEvent)?l.current=(0,w.f)(b,"mousemove",function(b){let c=(0,z.Z)(b);(0,z.I)(h,c)?a():r(b.clientX,b.clientY)}):q(i),a},[t,c,h,j,i,f,r,q,o]),d.useEffect(()=>()=>{f.set("positionReference",null)},[f]),d.useEffect(()=>{c&&!h&&(k.current=!1)},[c,h]),d.useEffect(()=>{!c&&g&&(k.current=!0)},[c,g]);let u=d.useMemo(()=>{function a(a){n(a.pointerType)}return{onPointerDown:a,onPointerEnter:a,onMouseMove:s,onMouseEnter:s}},[s]);return d.useMemo(()=>c?{reference:u,trigger:u}:{},[c,u])}(e,{enabled:!b&&"none"!==c,axis:"none"===c?void 0:c}),h=d.useMemo(()=>(0,F.w)(g.reference,f.reference),[g.reference,f.reference]),i=d.useMemo(()=>(0,F.w)(g.trigger,f.trigger),[g.trigger,f.trigger]),j=d.useMemo(()=>(0,F.w)(E.X,g.floating,f.floating),[g.floating,f.floating]);return(0,E.y)(a,{activeTriggerProps:h,inactiveTriggerProps:i,popupProps:j}),null}var S=a.i(36069),T=a.i(89862),U=a.i(75633),V=a.i(26184),W=a.i(557);let X=d.createContext(void 0);var Y=a.i(25003),Z=a.i(85252);let $=d.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new S.U,currentIdRef:{current:null},currentContextRef:{current:null}});function _(a){let{children:b,delay:e,timeoutMs:f=0}=a,g=d.useRef(e),h=d.useRef(e),i=d.useRef(null),j=d.useRef(null),k=(0,S.e)();return(0,s.f)(()=>{if(h.current=e,!i.current){g.current=e;return}g.current={open:(0,Z.c)(g.current,"open"),close:(0,Z.c)(e,"close")}},[e,i,g,h]),(0,c.jsx)($.Provider,{value:d.useMemo(()=>({hasProvider:!0,delayRef:g,initialDelayRef:h,currentIdRef:i,timeoutMs:f,currentContextRef:j,timeout:k}),[f,k]),children:b})}var aa=a.i(84842),ab=a.i(5735),ac=a.i(33123);let ad=((b={})[b.popupOpen=U.Y.popupOpen]="popupOpen",b.triggerDisabled="data-trigger-disabled",b);var ae=a.i(72077);let af="data-base-ui-tooltip-trigger";function ag(a){if("composedPath"in a){let b=a.composedPath();for(let a=0;a<b.length;a+=1){let c=b[a];if((0,y.m)(c))return c}}let b=a.target;return(0,y.m)(b)?b:null}let ah=(0,r.u)(function(a,b){let{render:c,className:e,style:f,handle:g,payload:h,disabled:i,delay:j,closeOnClick:k=!0,closeDelay:l,id:m,...n}=a,o=v(!0),p=g?.store??o;if(!p)throw Error((0,t.f)(82));let q=(0,W.f)(m),r=p.useState("isTriggerActive",q),u=p.useState("isOpenedByTrigger",q),w=p.useState("floatingRootContext"),x=d.useRef(null),B=j??600,C=l??0,{registerTrigger:F,isMountedByThisTrigger:G}=(0,E.F)(q,x,p,{payload:h,closeOnClick:k,closeDelay:C}),H=d.useContext(X),{delayRef:I,isInstantPhase:J,hasProvider:K}=function(a,b={open:!1}){let{open:c}=b,e="rootStore"in a?a.rootStore:a,f=e.useState("floatingId"),{currentIdRef:g,delayRef:h,timeoutMs:i,initialDelayRef:j,currentContextRef:k,hasProvider:l,timeout:m}=d.useContext($),[n,o]=d.useState(!1),p=d.useRef(c),q=d.useRef(!1);return(0,s.f)(()=>{p.current=c},[c]),(0,s.f)(()=>()=>{q.current=!0},[]),(0,s.f)(()=>{function a(){q.current||o(!1),k.current?.setIsInstantPhase(!1),g.current=null,k.current=null,h.current=j.current,m.clear()}if(g.current&&!c&&g.current===f){if(o(!1),i)return m.start(i,()=>{e.select("open")||g.current&&g.current!==f||a()}),()=>{(p.current||g.current!==f)&&m.clear()};a()}},[c,f,g,h,i,j,k,m,e]),(0,s.f)(()=>{if(!c)return;let a=k.current,b=g.current;m.clear(),k.current={onOpenChange:e.setOpen,setIsInstantPhase:o},g.current=f,h.current={open:0,close:(0,Z.c)(j.current,"close")},null!==b&&b!==f?(o(!0),a?.setIsInstantPhase(!0),a?.onOpenChange(!1,(0,D.f)(O.f.none))):(o(!1),a?.setIsInstantPhase(!1))},[c,f,e,g,h,j,k,m]),(0,s.f)(()=>()=>{g.current===f&&(k.current=null,p.current)&&(g.current=null,h.current=j.current,m.clear())},[k,g,h,f,j,m]),d.useMemo(()=>({hasProvider:l,delayRef:h,isInstantPhase:n}),[l,h,n])}(w,{open:u}),L=(0,ae.s)(w);p.useSyncedValue("isInstantPhase",J);let M=p.useState("disabled"),N=i??M,P=(0,T.f)(N),Q=p.useState("trackCursorAxis"),R=p.useState("disableHoverablePopup"),_=d.useRef(!1),ah=(0,S.e)(),ai=d.useRef(void 0);function aj(){let a=H?.delay,b="object"==typeof I.current?I.current.open:void 0,c=B;return K&&(c=0!==b?j??a??B:0),c}function ak(a){let b=x.current;if(!b||!a)return!1;let c=function(a){let b=a;for(;b;){if(b.hasAttribute(af))return b;let a=b.parentElement;if(a){b=a;continue}let c=b.getRootNode();b="host"in c&&(0,y.m)(c.host)?c.host:null}return null}(a);return null!==c&&c!==b&&(0,z.I)(b,c)}let al=(0,ab.f)(w,{enabled:!N,mouseOnly:!0,move:!1,handleClose:R||"both"===Q?null:(0,Y.f)(),restMs:aj,delay(){let a="object"==typeof I.current?I.current.close:void 0,b=C;return null==l&&K&&(b=a),{close:b}},triggerElementRef:x,isActiveTrigger:r,isClosing:()=>"ending"===p.select("transitionStatus"),shouldOpen:()=>!_.current}),am=(0,aa.f)(w,{enabled:!N}).reference,an=p.useState("triggerProps",G),ao=G||"none"!==Q;return(0,V.f)("button",a,{state:{open:u},ref:[b,F,x],props:[al,am,ao?an:void 0,{onMouseOver(a){(a=>{let b,c=_.current,d=ag(a),e=(_.current=b=ak(d),b&&(L.openChangeTimeout.clear(),L.restTimeout.clear(),L.restTimeoutPending=!1,ah.clear()),b),f=x.current,g=f&&d&&(0,z.I)(f,d);if(e&&p.select("open")&&p.select("lastOpenChangeReason")===ac.f.triggerHover)return p.setOpen(!1,(0,D.f)(ac.f.triggerHover,a));if(c&&!e&&g&&!P.current&&!p.select("open")&&f&&(0,A.J)(ai.current)){let b=()=>{_.current||P.current||p.select("open")||p.setOpen(!0,(0,D.f)(ac.f.triggerHover,a,f))},c=aj();0===c?(ah.clear(),b()):ah.start(c,b)}})(a.nativeEvent)},onFocus(a){ak(ag(a.nativeEvent))&&a.preventBaseUIHandler()},onMouseLeave(){_.current=!1,ah.clear(),ai.current=void 0},onPointerEnter(a){ai.current=a.pointerType},onPointerDown(a){ai.current=a.pointerType,p.set("closeOnClick",k),k&&!p.select("open")&&p.cancelPendingOpen(a.nativeEvent)},onClick(a){k&&!p.select("open")&&p.cancelPendingOpen(a.nativeEvent)},id:q,[ad.triggerDisabled]:N?"":void 0,[af]:N?void 0:""},n],stateAttributesMapping:U.J})}),ai=d.createContext(void 0);var aj=a.i(35112),ak=a.i(54098);let al=d.forwardRef(function(a,b){let{children:e,container:f,className:g,render:h,style:i,...j}=a,{portalNode:k,portalSubtree:l}=(0,ak.o)({container:f,ref:b,componentProps:a,elementProps:j});return l||k?(0,c.jsxs)(d.Fragment,{children:[l,k&&aj.createPortal(e,k)]}):null}),am=d.forwardRef(function(a,b){let{keepMounted:d=!1,...e}=a;return v().useState("mounted")||d?(0,c.jsx)(ai.Provider,{value:d,children:(0,c.jsx)(al,{ref:b,...e})}):null}),an=d.createContext(void 0);function ao(){let a=d.useContext(an);if(void 0===a)throw Error((0,t.f)(71));return a}var ap=a.i(15356),aq=a.i(82204),ar=a.i(60605),as=a.i(56011);let at=d.forwardRef(function(a,b){let{render:e,className:f,anchor:g,positionMethod:h="absolute",side:i="top",align:j="center",sideOffset:k=0,alignOffset:l=0,collisionBoundary:m="clipping-ancestors",collisionPadding:n=5,arrowPadding:o=5,sticky:p=!1,disableAnchorTracking:q=!1,collisionAvoidance:r=aq.n,style:s,...u}=a,w=v(),x=function(){let a=d.useContext(ai);if(void 0===a)throw Error((0,t.f)(70));return a}(),y=w.useState("open"),z=w.useState("mounted"),A=w.useState("trackCursorAxis"),B=w.useState("disableHoverablePopup"),C=w.useState("floatingRootContext"),D=w.useState("instantType"),E=w.useState("transitionStatus"),F=w.useState("hasViewport"),G=(0,ap.f)({anchor:g,positionMethod:h,floatingRootContext:C,mounted:z,side:i,sideOffset:k,align:j,alignOffset:l,collisionBoundary:m,collisionPadding:n,sticky:p,arrowPadding:o,disableAnchorTracking:q,keepMounted:x,collisionAvoidance:r,adaptiveOrigin:F?ar.e:void 0}),H=d.useMemo(()=>({open:y,side:G.side,align:G.align,anchorHidden:G.anchorHidden,instant:"none"!==A?"tracking-cursor":D}),[y,G.side,G.align,G.anchorHidden,A,D]),I=(0,as.f)(a,H,{styles:G.positionerStyles,transitionStatus:E,props:u,refs:[b,w.useStateSetter("positionerElement")],hidden:!z,inert:!y||"both"===A||B});return(0,c.jsx)(an.Provider,{value:G,children:I})});var au=a.i(81735),av=a.i(5687),aw=a.i(23701),ax=a.i(81673);let ay={...U.E,...au.T},az=d.forwardRef(function(a,b){let{render:c,className:d,style:e,...f}=a,g=v(),{side:h,align:i}=ao(),j=g.useState("open"),k=g.useState("instantType"),l=g.useState("transitionStatus"),m=g.useState("popupProps"),n=g.useState("floatingRootContext"),o=g.useState("disabled"),p=g.useState("closeDelay");(0,av.f)({open:j,ref:g.context.popupRef,onComplete(){j&&g.context.onOpenChangeComplete?.(!0)}}),(0,ax.f)(n,{enabled:!o,closeDelay:p});let q=g.useStateSetter("popupElement");return(0,V.f)("div",a,{state:{open:j,side:h,align:i,instant:k,transitionStatus:l},ref:[b,g.context.popupRef,q],props:[m,(0,aw.f)(l),f],stateAttributesMapping:ay})}),aA=d.forwardRef(function(a,b){let{render:c,className:d,style:e,...f}=a,g=v(),{arrowRef:h,side:i,align:j,arrowUncentered:k,arrowStyles:l}=ao(),m=g.useState("open"),n=g.useState("instantType");return(0,V.f)("div",a,{state:{open:m,side:i,align:j,uncentered:k,instant:n},ref:[b,h],props:[{style:l,"aria-hidden":!0},f],stateAttributesMapping:U.E})});a.s(["Arrow",0,aA,"Popup",0,az,"Portal",0,am,"Positioner",0,at,"Provider",0,function(a){let{delay:b,closeDelay:e,timeout:f=400}=a,g=d.useMemo(()=>({delay:b,closeDelay:e}),[b,e]),h=d.useMemo(()=>({open:b,close:e}),[b,e]);return(0,c.jsx)(X.Provider,{value:g,children:(0,c.jsx)(_,{delay:h,timeoutMs:f,children:a.children})})},"Root",0,Q,"Trigger",0,ah],3191);var aB=a.i(3191),aB=aB;function aC({delay:a=0,...b}){return(0,c.jsx)(aB.Provider,{"data-slot":"tooltip-provider",delay:a,...b})}a.i(97895);var aD=a.i(4365),aE=a.i(23292),aF=a.i(64831);let aG=(0,aF.f)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]),aH=(0,aF.f)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);var aI=a.i(23577),aI=aI;let aJ=(0,aF.f)("octagon-x",[["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);var aK=a.i(2918),aK=aK;let aL=({...a})=>{let{mode:b}=(0,aD.i)();return(0,c.jsx)(aE.K,{theme:b,className:"toaster group",icons:{success:(0,c.jsx)(aG,{className:"size-4"}),info:(0,c.jsx)(aH,{className:"size-4"}),warning:(0,c.jsx)(aI.f,{className:"size-4"}),error:(0,c.jsx)(aJ,{className:"size-4"}),loading:(0,c.jsx)(aK.f,{className:"size-4 animate-spin"})},style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)","--border-radius":"var(--radius)"},toastOptions:{classNames:{toast:"cn-toast"}},...a})};var aM=a.i(75515);a.s(["Providers",0,function({children:a}){let[b]=d.useState(()=>new p({defaultOptions:{queries:{refetchOnWindowFocus:!0,staleTime:2e3}}}));return(0,c.jsx)(q.P,{client:b,children:(0,c.jsxs)(aD.J,{children:[(0,c.jsx)(aM.h,{}),(0,c.jsx)(aC,{children:a}),(0,c.jsx)(aL,{position:"bottom-center"})]})})}],31168)}];
2
+
3
+ //# sourceMappingURL=components_providers_tsx_0thx-xfvr_dtx._.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../components/providers.tsx","../../../../node_modules/%40base-ui/react/tooltip/root/TooltipRootContext.mjs","../../../../node_modules/%40base-ui/react/floating-ui-react/hooks/useClientPoint.mjs","../../../../node_modules/%40base-ui/react/tooltip/root/TooltipRoot.mjs","../../../../node_modules/%40base-ui/react/tooltip/provider/TooltipProviderContext.mjs","../../../../node_modules/%40base-ui/react/floating-ui-react/components/FloatingDelayGroup.mjs","../../../../node_modules/%40base-ui/react/tooltip/trigger/TooltipTrigger.mjs","../../../../node_modules/%40base-ui/react/tooltip/portal/TooltipPortalContext.mjs","../../../../node_modules/%40base-ui/react/utils/FloatingPortalLite.mjs","../../../../node_modules/%40tanstack/query-core/build/modern/queryClient.js","../../../../node_modules/%40base-ui/react/tooltip/portal/TooltipPortal.mjs","../../../../node_modules/%40base-ui/react/tooltip/positioner/TooltipPositionerContext.mjs","../../../../node_modules/%40base-ui/react/tooltip/positioner/TooltipPositioner.mjs","../../../../node_modules/%40base-ui/react/tooltip/popup/TooltipPopup.mjs","../../../../node_modules/%40base-ui/react/tooltip/arrow/TooltipArrow.mjs","../../../../node_modules/%40base-ui/react/tooltip/provider/TooltipProvider.mjs","../../../../components/ui/tooltip.tsx","../../../../components/ui/sonner.tsx","../../../../node_modules/%40base-ui/react/tooltip/utils/constants.mjs","../../../../node_modules/%40base-ui/react/tooltip/store/TooltipStore.mjs","../../../../node_modules/%40base-ui/react/tooltip/trigger/TooltipTriggerDataAttributes.mjs","../../../../node_modules/%40tanstack/query-core/build/modern/mutationCache.js","../../../../node_modules/%40tanstack/query-core/build/modern/queryCache.js","../../../../node_modules/lucide-react/src/icons/octagon-x.ts","../../../../node_modules/lucide-react/src/icons/circle-check.ts","../../../../node_modules/lucide-react/src/icons/info.ts"],"sourcesContent":["\"use client\";\nimport * as React from \"react\";\nimport { QueryClient, QueryClientProvider } from \"@tanstack/react-query\";\nimport { TooltipProvider } from \"@/components/ui/tooltip\";\nimport { Toaster } from \"@/components/ui/sonner\";\nimport { ThemeProvider } from \"@/components/theme-provider\";\n\nimport { UsageActivity } from \"@/components/usage-statistics\";\n\nexport function Providers({ children }: { children: React.ReactNode }) {\n const [client] = React.useState(\n () =>\n new QueryClient({\n defaultOptions: {\n queries: { refetchOnWindowFocus: true, staleTime: 2000 },\n },\n }),\n );\n return (\n <QueryClientProvider client={client}>\n <ThemeProvider>\n <UsageActivity />\n <TooltipProvider>{children}</TooltipProvider>\n <Toaster position=\"bottom-center\" />\n </ThemeProvider>\n </QueryClientProvider>\n );\n}\n","'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const TooltipRootContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") TooltipRootContext.displayName = \"TooltipRootContext\";\nexport function useTooltipRootContext(optional) {\n const context = React.useContext(TooltipRootContext);\n if (context === undefined && !optional) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: TooltipRootContext is missing. Tooltip parts must be placed within <Tooltip.Root>.' : _formatErrorMessage(72));\n }\n return context;\n}","'use client';\n\nimport * as React from 'react';\nimport { addEventListener } from '@base-ui/utils/addEventListener';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { getWindow } from '@floating-ui/utils/dom';\nimport { contains, getTarget } from \"../utils/element.mjs\";\nimport { isMouseLikePointerType } from \"../utils/event.mjs\";\nfunction createVirtualElement(domElement, data) {\n let offsetX = null;\n let offsetY = null;\n let isAutoUpdateEvent = false;\n return {\n contextElement: domElement || undefined,\n getBoundingClientRect() {\n const domRect = domElement?.getBoundingClientRect() || {\n width: 0,\n height: 0,\n x: 0,\n y: 0\n };\n const isXAxis = data.axis === 'x' || data.axis === 'both';\n const isYAxis = data.axis === 'y' || data.axis === 'both';\n const canTrackCursorOnAutoUpdate = ['mouseenter', 'mousemove'].includes(data.dataRef.current.openEvent?.type || '') && data.pointerType !== 'touch';\n let width = domRect.width;\n let height = domRect.height;\n let x = domRect.x;\n let y = domRect.y;\n if (offsetX == null && data.x && isXAxis) {\n offsetX = domRect.x - data.x;\n }\n if (offsetY == null && data.y && isYAxis) {\n offsetY = domRect.y - data.y;\n }\n x -= offsetX || 0;\n y -= offsetY || 0;\n width = 0;\n height = 0;\n if (!isAutoUpdateEvent || canTrackCursorOnAutoUpdate) {\n width = data.axis === 'y' ? domRect.width : 0;\n height = data.axis === 'x' ? domRect.height : 0;\n x = isXAxis && data.x != null ? data.x : x;\n y = isYAxis && data.y != null ? data.y : y;\n } else if (isAutoUpdateEvent && !canTrackCursorOnAutoUpdate) {\n height = data.axis === 'x' ? domRect.height : height;\n width = data.axis === 'y' ? domRect.width : width;\n }\n isAutoUpdateEvent = true;\n return {\n width,\n height,\n x,\n y,\n top: y,\n right: x + width,\n bottom: y + height,\n left: x\n };\n }\n };\n}\nfunction isMouseBasedEvent(event) {\n return event != null && event.clientX != null;\n}\n/**\n * Positions the floating element relative to a client point (in the viewport),\n * such as the mouse position. By default, it follows the mouse cursor.\n * @see https://floating-ui.com/docs/useClientPoint\n */\nexport function useClientPoint(context, props = {}) {\n const {\n enabled = true,\n axis = 'both'\n } = props;\n const store = 'rootStore' in context ? context.rootStore : context;\n const open = store.useState('open');\n const floating = store.useState('floatingElement');\n const domReference = store.useState('domReferenceElement');\n const dataRef = store.context.dataRef;\n const initialRef = React.useRef(false);\n const cleanupListenerRef = React.useRef(null);\n const [pointerType, setPointerType] = React.useState();\n const [reactive, setReactive] = React.useState([]);\n const resetReference = useStableCallback(reference => {\n store.set('positionReference', reference);\n });\n const setReference = useStableCallback((newX, newY, referenceElement) => {\n if (initialRef.current) {\n return;\n }\n\n // Prevent setting if the open event was not a mouse-like one\n // (e.g. focus to open, then hover over the reference element).\n // Only apply if the event exists.\n if (dataRef.current.openEvent && !isMouseBasedEvent(dataRef.current.openEvent)) {\n return;\n }\n store.set('positionReference', createVirtualElement(referenceElement ?? domReference, {\n x: newX,\n y: newY,\n axis,\n dataRef,\n pointerType\n }));\n });\n const handleReferenceEnterOrMove = useStableCallback(event => {\n if (!open) {\n setReference(event.clientX, event.clientY, event.currentTarget);\n } else if (!cleanupListenerRef.current) {\n // If there's no cleanup, there's no listener, but we want to ensure\n // we add the listener if the cursor landed on the floating element and\n // then back on the reference (i.e. it's interactive).\n setReference(event.clientX, event.clientY, event.currentTarget);\n setReactive([]);\n }\n });\n\n // If the pointer is a mouse-like pointer, we want to continue following the\n // mouse even if the floating element is transitioning out. On touch\n // devices, this is undesirable because the floating element will move to\n // the dismissal touch point.\n const openCheck = isMouseLikePointerType(pointerType) ? floating : open;\n React.useEffect(() => {\n if (!enabled) {\n resetReference(domReference);\n return undefined;\n }\n if (!openCheck) {\n return undefined;\n }\n function cleanupListener() {\n cleanupListenerRef.current?.();\n cleanupListenerRef.current = null;\n }\n const win = getWindow(floating);\n function handleMouseMove(event) {\n const target = getTarget(event);\n if (!contains(floating, target)) {\n setReference(event.clientX, event.clientY);\n } else {\n cleanupListener();\n }\n }\n if (!dataRef.current.openEvent || isMouseBasedEvent(dataRef.current.openEvent)) {\n cleanupListenerRef.current = addEventListener(win, 'mousemove', handleMouseMove);\n } else {\n resetReference(domReference);\n }\n return cleanupListener;\n }, [openCheck, enabled, floating, dataRef, domReference, store, setReference, resetReference, reactive]);\n\n // Clear virtual cursor references when the hook unmounts. Enabled flips are handled above.\n React.useEffect(() => () => {\n store.set('positionReference', null);\n }, [store]);\n React.useEffect(() => {\n if (enabled && !floating) {\n initialRef.current = false;\n }\n }, [enabled, floating]);\n React.useEffect(() => {\n if (!enabled && open) {\n initialRef.current = true;\n }\n }, [enabled, open]);\n const reference = React.useMemo(() => {\n function setPointerTypeRef(event) {\n setPointerType(event.pointerType);\n }\n return {\n onPointerDown: setPointerTypeRef,\n onPointerEnter: setPointerTypeRef,\n onMouseMove: handleReferenceEnterOrMove,\n onMouseEnter: handleReferenceEnterOrMove\n };\n }, [handleReferenceEnterOrMove]);\n return React.useMemo(() => enabled ? {\n reference,\n trigger: reference\n } : {}, [enabled, reference]);\n}","'use client';\n\nimport * as React from 'react';\nimport { fastComponent } from '@base-ui/utils/fastHooks';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { TooltipRootContext } from \"./TooltipRootContext.mjs\";\nimport { useClientPoint, useDismiss } from \"../../floating-ui-react/index.mjs\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.mjs\";\nimport { FOCUSABLE_POPUP_PROPS, useImplicitActiveTrigger, useInitialOpenSync, useOpenStateTransitions, usePopupInteractionProps } from \"../../utils/popups/index.mjs\";\nimport { mergeProps } from \"../../merge-props/index.mjs\";\nimport { TooltipStore } from \"../store/TooltipStore.mjs\";\nimport { REASONS } from \"../../internals/reasons.mjs\";\n\n/**\n * Groups all parts of the tooltip.\n * Doesn't render its own HTML element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport const TooltipRoot = fastComponent(function TooltipRoot(props) {\n const {\n disabled = false,\n defaultOpen = false,\n open: openProp,\n disableHoverablePopup = false,\n trackCursorAxis = 'none',\n actionsRef,\n onOpenChange,\n onOpenChangeComplete,\n handle,\n triggerId: triggerIdProp,\n defaultTriggerId: defaultTriggerIdProp = null,\n children\n } = props;\n const store = TooltipStore.useStore(handle?.store, {\n open: defaultOpen,\n openProp,\n activeTriggerId: defaultTriggerIdProp,\n triggerIdProp\n });\n useInitialOpenSync(store, openProp, defaultOpen, defaultTriggerIdProp);\n store.useControlledProp('openProp', openProp);\n store.useControlledProp('triggerIdProp', triggerIdProp);\n store.useContextCallback('onOpenChange', onOpenChange);\n store.useContextCallback('onOpenChangeComplete', onOpenChangeComplete);\n const openState = store.useState('open');\n const open = !disabled && openState;\n const activeTriggerId = store.useState('activeTriggerId');\n const mounted = store.useState('mounted');\n const payload = store.useState('payload');\n store.useSyncedValues({\n trackCursorAxis,\n disableHoverablePopup\n });\n store.useSyncedValue('disabled', disabled);\n useImplicitActiveTrigger(store, {\n closeOnActiveTriggerUnmount: true\n });\n const {\n forceUnmount,\n transitionStatus\n } = useOpenStateTransitions(open, store);\n const isInstantPhase = store.useState('isInstantPhase');\n const instantType = store.useState('instantType');\n const lastOpenChangeReason = store.useState('lastOpenChangeReason');\n\n // Animations should be instant in two cases:\n // 1) Opening during the provider's instant phase (adjacent tooltip opens instantly)\n // 2) Closing because another tooltip opened (reason === 'none')\n // Otherwise, allow the animation to play. In particular, do not disable animations\n // during the 'ending' phase unless it's due to a sibling opening.\n const previousInstantTypeRef = React.useRef(null);\n useIsoLayoutEffect(() => {\n if (openState && disabled) {\n store.setOpen(false, createChangeEventDetails(REASONS.disabled));\n }\n }, [openState, disabled, store]);\n useIsoLayoutEffect(() => {\n if (transitionStatus === 'ending' && lastOpenChangeReason === REASONS.none || transitionStatus !== 'ending' && isInstantPhase) {\n // Capture the current instant type so we can restore it later\n // and set to 'delay' to disable animations while moving from one trigger to another\n // within a delay group.\n if (instantType !== 'delay') {\n previousInstantTypeRef.current = instantType;\n }\n store.set('instantType', 'delay');\n } else if (previousInstantTypeRef.current !== null) {\n store.set('instantType', previousInstantTypeRef.current);\n previousInstantTypeRef.current = null;\n }\n }, [transitionStatus, isInstantPhase, lastOpenChangeReason, instantType, store]);\n useIsoLayoutEffect(() => {\n if (open) {\n if (activeTriggerId == null) {\n store.set('payload', undefined);\n }\n }\n }, [store, activeTriggerId, open]);\n const handleImperativeClose = React.useCallback(() => {\n store.setOpen(false, createChangeEventDetails(REASONS.imperativeAction));\n }, [store]);\n React.useImperativeHandle(actionsRef, () => ({\n unmount: forceUnmount,\n close: handleImperativeClose\n }), [forceUnmount, handleImperativeClose]);\n const shouldRenderInteractions = open || mounted || !disabled && trackCursorAxis !== 'none';\n return /*#__PURE__*/_jsxs(TooltipRootContext.Provider, {\n value: store,\n children: [shouldRenderInteractions && /*#__PURE__*/_jsx(TooltipInteractions, {\n store: store,\n disabled: disabled,\n trackCursorAxis: trackCursorAxis\n }), typeof children === 'function' ? children({\n payload\n }) : children]\n });\n});\nif (process.env.NODE_ENV !== \"production\") TooltipRoot.displayName = \"TooltipRoot\";\nfunction TooltipInteractions({\n store,\n disabled,\n trackCursorAxis\n}) {\n const floatingRootContext = store.useState('floatingRootContext');\n const dismiss = useDismiss(floatingRootContext, {\n enabled: !disabled,\n referencePress: () => store.select('closeOnClick')\n });\n const clientPoint = useClientPoint(floatingRootContext, {\n enabled: !disabled && trackCursorAxis !== 'none',\n axis: trackCursorAxis === 'none' ? undefined : trackCursorAxis\n });\n const activeTriggerProps = React.useMemo(() => mergeProps(clientPoint.reference, dismiss.reference), [clientPoint.reference, dismiss.reference]);\n const inactiveTriggerProps = React.useMemo(() => mergeProps(clientPoint.trigger, dismiss.trigger), [clientPoint.trigger, dismiss.trigger]);\n const popupProps = React.useMemo(() => mergeProps(FOCUSABLE_POPUP_PROPS, clientPoint.floating, dismiss.floating), [clientPoint.floating, dismiss.floating]);\n usePopupInteractionProps(store, {\n activeTriggerProps,\n inactiveTriggerProps,\n popupProps\n });\n return null;\n}","'use client';\n\nimport * as React from 'react';\nexport const TooltipProviderContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") TooltipProviderContext.displayName = \"TooltipProviderContext\";\nexport function useTooltipProviderContext() {\n return React.useContext(TooltipProviderContext);\n}","'use client';\n\nimport * as React from 'react';\nimport { useTimeout, Timeout } from '@base-ui/utils/useTimeout';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { getDelay } from \"../hooks/useHoverShared.mjs\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.mjs\";\nimport { REASONS } from \"../../internals/reasons.mjs\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst FloatingDelayGroupContext = /*#__PURE__*/React.createContext({\n hasProvider: false,\n timeoutMs: 0,\n delayRef: {\n current: 0\n },\n initialDelayRef: {\n current: 0\n },\n timeout: new Timeout(),\n currentIdRef: {\n current: null\n },\n currentContextRef: {\n current: null\n }\n});\nif (process.env.NODE_ENV !== \"production\") FloatingDelayGroupContext.displayName = \"FloatingDelayGroupContext\";\nfunction resetDelayRef(delayRef, initialDelayRef) {\n delayRef.current = initialDelayRef.current;\n}\n/**\n * Experimental next version of `FloatingDelayGroup` to become the default\n * in the future. This component is not yet stable.\n * Provides context for a group of floating elements that should share a\n * `delay`. Unlike `FloatingDelayGroup`, `useDelayGroup` with this\n * component does not cause a re-render of unrelated consumers of the\n * context when the delay changes.\n * @see https://floating-ui.com/docs/FloatingDelayGroup\n * @internal\n */\nexport function FloatingDelayGroup(props) {\n const {\n children,\n delay,\n timeoutMs = 0\n } = props;\n const delayRef = React.useRef(delay);\n const initialDelayRef = React.useRef(delay);\n const currentIdRef = React.useRef(null);\n const currentContextRef = React.useRef(null);\n const timeout = useTimeout();\n useIsoLayoutEffect(() => {\n initialDelayRef.current = delay;\n if (!currentIdRef.current) {\n delayRef.current = delay;\n return;\n }\n delayRef.current = {\n open: getDelay(delayRef.current, 'open'),\n close: getDelay(delay, 'close')\n };\n }, [delay, currentIdRef, delayRef, initialDelayRef]);\n return /*#__PURE__*/_jsx(FloatingDelayGroupContext.Provider, {\n value: React.useMemo(() => ({\n hasProvider: true,\n delayRef,\n initialDelayRef,\n currentIdRef,\n timeoutMs,\n currentContextRef,\n timeout\n }), [timeoutMs, timeout]),\n children: children\n });\n}\n/**\n * Enables grouping when called inside a component that's a child of a\n * `FloatingDelayGroup`.\n * @see https://floating-ui.com/docs/FloatingDelayGroup\n * @internal\n */\nexport function useDelayGroup(context, options = {\n open: false\n}) {\n const {\n open\n } = options;\n const store = 'rootStore' in context ? context.rootStore : context;\n const floatingId = store.useState('floatingId');\n const groupContext = React.useContext(FloatingDelayGroupContext);\n const {\n currentIdRef,\n delayRef,\n timeoutMs,\n initialDelayRef,\n currentContextRef,\n hasProvider,\n timeout\n } = groupContext;\n const [isInstantPhase, setIsInstantPhase] = React.useState(false);\n const openRef = React.useRef(open);\n const isUnmountedRef = React.useRef(false);\n useIsoLayoutEffect(() => {\n openRef.current = open;\n }, [open]);\n useIsoLayoutEffect(() => {\n return () => {\n isUnmountedRef.current = true;\n };\n }, []);\n useIsoLayoutEffect(() => {\n function unset() {\n if (!isUnmountedRef.current) {\n setIsInstantPhase(false);\n }\n currentContextRef.current?.setIsInstantPhase(false);\n currentIdRef.current = null;\n currentContextRef.current = null;\n delayRef.current = initialDelayRef.current;\n timeout.clear();\n }\n if (!currentIdRef.current) {\n return undefined;\n }\n if (!open && currentIdRef.current === floatingId) {\n setIsInstantPhase(false);\n if (timeoutMs) {\n const closingId = floatingId;\n timeout.start(timeoutMs, () => {\n // If another tooltip has taken over the group, skip resetting.\n if (store.select('open') || currentIdRef.current && currentIdRef.current !== closingId) {\n return;\n }\n unset();\n });\n return () => {\n if (openRef.current || currentIdRef.current !== closingId) {\n timeout.clear();\n }\n };\n }\n unset();\n }\n return undefined;\n }, [open, floatingId, currentIdRef, delayRef, timeoutMs, initialDelayRef, currentContextRef, timeout, store]);\n useIsoLayoutEffect(() => {\n if (!open) {\n return;\n }\n const prevContext = currentContextRef.current;\n const prevId = currentIdRef.current;\n\n // A new tooltip is opening, so cancel any pending timeout that would reset\n // the group's delay back to the initial value.\n timeout.clear();\n currentContextRef.current = {\n onOpenChange: store.setOpen,\n setIsInstantPhase\n };\n currentIdRef.current = floatingId;\n delayRef.current = {\n open: 0,\n close: getDelay(initialDelayRef.current, 'close')\n };\n if (prevId !== null && prevId !== floatingId) {\n setIsInstantPhase(true);\n prevContext?.setIsInstantPhase(true);\n prevContext?.onOpenChange(false, createChangeEventDetails(REASONS.none));\n } else {\n setIsInstantPhase(false);\n prevContext?.setIsInstantPhase(false);\n }\n }, [open, floatingId, store, currentIdRef, delayRef, initialDelayRef, currentContextRef, timeout]);\n useIsoLayoutEffect(() => {\n return () => {\n if (currentIdRef.current === floatingId) {\n currentContextRef.current = null;\n if (!openRef.current) {\n return;\n }\n currentIdRef.current = null;\n resetDelayRef(delayRef, initialDelayRef);\n timeout.clear();\n }\n };\n }, [currentContextRef, currentIdRef, delayRef, floatingId, initialDelayRef, timeout]);\n return React.useMemo(() => ({\n hasProvider,\n delayRef,\n isInstantPhase\n }), [hasProvider, delayRef, isInstantPhase]);\n}","'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nimport { isElement } from '@floating-ui/utils/dom';\nimport { fastComponentRef } from '@base-ui/utils/fastHooks';\nimport { useTimeout } from '@base-ui/utils/useTimeout';\nimport { useValueAsRef } from '@base-ui/utils/useValueAsRef';\nimport { useTooltipRootContext } from \"../root/TooltipRootContext.mjs\";\nimport { triggerOpenStateMapping } from \"../../utils/popupStateMapping.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\nimport { useTriggerDataForwarding } from \"../../utils/popups/index.mjs\";\nimport { useBaseUiId } from \"../../internals/useBaseUiId.mjs\";\nimport { useTooltipProviderContext } from \"../provider/TooltipProviderContext.mjs\";\nimport { safePolygon, useDelayGroup, useFocus, useHoverReferenceInteraction } from \"../../floating-ui-react/index.mjs\";\nimport { contains } from \"../../floating-ui-react/utils/element.mjs\";\nimport { isMouseLikePointerType } from \"../../floating-ui-react/utils/event.mjs\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.mjs\";\nimport { REASONS } from \"../../internals/reasons.mjs\";\nimport { TooltipTriggerDataAttributes } from \"./TooltipTriggerDataAttributes.mjs\";\nimport { useHoverInteractionSharedState } from \"../../floating-ui-react/hooks/useHoverInteractionSharedState.mjs\";\nimport { OPEN_DELAY } from \"../utils/constants.mjs\";\nconst TOOLTIP_TRIGGER_IDENTIFIER = 'data-base-ui-tooltip-trigger';\nfunction getTargetElement(event) {\n if ('composedPath' in event) {\n const path = event.composedPath();\n for (let i = 0; i < path.length; i += 1) {\n const element = path[i];\n if (isElement(element)) {\n return element;\n }\n }\n }\n const target = event.target;\n if (isElement(target)) {\n return target;\n }\n return null;\n}\nfunction closestEnabledTooltipTrigger(element) {\n let current = element;\n while (current) {\n if (current.hasAttribute(TOOLTIP_TRIGGER_IDENTIFIER)) {\n return current;\n }\n const parentElement = current.parentElement;\n if (parentElement) {\n current = parentElement;\n continue;\n }\n const root = current.getRootNode();\n current = 'host' in root && isElement(root.host) ? root.host : null;\n }\n return null;\n}\n\n/**\n * An element to attach the tooltip to.\n * Renders a `<button>` element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nexport const TooltipTrigger = fastComponentRef(function TooltipTrigger(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n handle,\n payload,\n disabled: disabledProp,\n delay,\n closeOnClick = true,\n closeDelay,\n id: idProp,\n ...elementProps\n } = componentProps;\n const rootContext = useTooltipRootContext(true);\n const store = handle?.store ?? rootContext;\n if (!store) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: <Tooltip.Trigger> must be either used within a <Tooltip.Root> component or provided with a handle.' : _formatErrorMessage(82));\n }\n const thisTriggerId = useBaseUiId(idProp);\n const isTriggerActive = store.useState('isTriggerActive', thisTriggerId);\n const isOpenedByThisTrigger = store.useState('isOpenedByTrigger', thisTriggerId);\n const floatingRootContext = store.useState('floatingRootContext');\n const triggerElementRef = React.useRef(null);\n const delayWithDefault = delay ?? OPEN_DELAY;\n const closeDelayWithDefault = closeDelay ?? 0;\n const {\n registerTrigger,\n isMountedByThisTrigger\n } = useTriggerDataForwarding(thisTriggerId, triggerElementRef, store, {\n payload,\n closeOnClick,\n closeDelay: closeDelayWithDefault\n });\n const providerContext = useTooltipProviderContext();\n const {\n delayRef,\n isInstantPhase,\n hasProvider\n } = useDelayGroup(floatingRootContext, {\n open: isOpenedByThisTrigger\n });\n const hoverInteraction = useHoverInteractionSharedState(floatingRootContext);\n store.useSyncedValue('isInstantPhase', isInstantPhase);\n const rootDisabled = store.useState('disabled');\n const disabled = disabledProp ?? rootDisabled;\n const disabledRef = useValueAsRef(disabled);\n const trackCursorAxis = store.useState('trackCursorAxis');\n const disableHoverablePopup = store.useState('disableHoverablePopup');\n const isNestedTriggerHoveredRef = React.useRef(false);\n const nestedTriggerOpenTimeout = useTimeout();\n // Local copy so it can be cleared on mouseLeave without resetting the hover hook's own pointerType.\n const pointerTypeRef = React.useRef(undefined);\n function getOpenDelay() {\n const providerDelay = providerContext?.delay;\n const groupOpenValue = typeof delayRef.current === 'object' ? delayRef.current.open : undefined;\n let computedOpenDelay = delayWithDefault;\n if (hasProvider) {\n if (groupOpenValue !== 0) {\n computedOpenDelay = delay ?? providerDelay ?? delayWithDefault;\n } else {\n computedOpenDelay = 0;\n }\n }\n return computedOpenDelay;\n }\n function isEnabledNestedTriggerTarget(target) {\n const triggerEl = triggerElementRef.current;\n if (!triggerEl || !target) {\n return false;\n }\n const nearestTrigger = closestEnabledTooltipTrigger(target);\n return nearestTrigger !== null && nearestTrigger !== triggerEl && contains(triggerEl, nearestTrigger);\n }\n function detectNestedTriggerHover(target) {\n const nestedTriggerHovered = isEnabledNestedTriggerTarget(target);\n isNestedTriggerHoveredRef.current = nestedTriggerHovered;\n if (nestedTriggerHovered) {\n hoverInteraction.openChangeTimeout.clear();\n hoverInteraction.restTimeout.clear();\n hoverInteraction.restTimeoutPending = false;\n nestedTriggerOpenTimeout.clear();\n }\n return nestedTriggerHovered;\n }\n const hoverProps = useHoverReferenceInteraction(floatingRootContext, {\n enabled: !disabled,\n mouseOnly: true,\n move: false,\n handleClose: !disableHoverablePopup && trackCursorAxis !== 'both' ? safePolygon() : null,\n restMs: getOpenDelay,\n delay() {\n const closeValue = typeof delayRef.current === 'object' ? delayRef.current.close : undefined;\n let computedCloseDelay = closeDelayWithDefault;\n if (closeDelay == null && hasProvider) {\n computedCloseDelay = closeValue;\n }\n return {\n close: computedCloseDelay\n };\n },\n triggerElementRef,\n isActiveTrigger: isTriggerActive,\n isClosing: () => store.select('transitionStatus') === 'ending',\n shouldOpen() {\n return !isNestedTriggerHoveredRef.current;\n }\n });\n const focusProps = useFocus(floatingRootContext, {\n enabled: !disabled\n }).reference;\n const handleNestedTriggerHover = event => {\n const wasNestedTriggerHovered = isNestedTriggerHoveredRef.current;\n const target = getTargetElement(event);\n const nestedTriggerHovered = detectNestedTriggerHover(target);\n const triggerEl = triggerElementRef.current;\n const targetInsideTrigger = triggerEl && target && contains(triggerEl, target);\n\n // Only close hover-opened parents. Focus/click-like opens remain owned by\n // their original interaction and should not be clobbered by nested hover.\n if (nestedTriggerHovered && store.select('open') && store.select('lastOpenChangeReason') === REASONS.triggerHover) {\n store.setOpen(false, createChangeEventDetails(REASONS.triggerHover, event));\n return;\n }\n if (wasNestedTriggerHovered && !nestedTriggerHovered && targetInsideTrigger && !disabledRef.current && !store.select('open') && triggerEl &&\n // Match the hover hook's non-strict mouse fallback for mouse-only event sequences.\n isMouseLikePointerType(pointerTypeRef.current)) {\n const open = () => {\n if (!isNestedTriggerHoveredRef.current && !disabledRef.current && !store.select('open')) {\n store.setOpen(true, createChangeEventDetails(REASONS.triggerHover, event, triggerEl));\n }\n };\n const openDelay = getOpenDelay();\n\n // With `move: false`, the hover hook only listens to mouseenter/mouseleave\n // on the parent trigger. Leaving a nested child for the parent area fires\n // no event the hook can react to, so reopen locally.\n if (openDelay === 0) {\n nestedTriggerOpenTimeout.clear();\n open();\n } else {\n nestedTriggerOpenTimeout.start(openDelay, open);\n }\n }\n };\n const rootTriggerProps = store.useState('triggerProps', isMountedByThisTrigger);\n const shouldApplyRootTriggerProps = isMountedByThisTrigger || trackCursorAxis !== 'none';\n const state = {\n open: isOpenedByThisTrigger\n };\n const element = useRenderElement('button', componentProps, {\n state,\n ref: [forwardedRef, registerTrigger, triggerElementRef],\n props: [hoverProps, focusProps, shouldApplyRootTriggerProps ? rootTriggerProps : undefined, {\n onMouseOver(event) {\n handleNestedTriggerHover(event.nativeEvent);\n },\n onFocus(event) {\n if (isEnabledNestedTriggerTarget(getTargetElement(event.nativeEvent))) {\n event.preventBaseUIHandler();\n }\n },\n onMouseLeave() {\n isNestedTriggerHoveredRef.current = false;\n nestedTriggerOpenTimeout.clear();\n pointerTypeRef.current = undefined;\n },\n onPointerEnter(event) {\n pointerTypeRef.current = event.pointerType;\n },\n onPointerDown(event) {\n pointerTypeRef.current = event.pointerType;\n store.set('closeOnClick', closeOnClick);\n if (closeOnClick && !store.select('open')) {\n store.cancelPendingOpen(event.nativeEvent);\n }\n },\n onClick(event) {\n if (closeOnClick && !store.select('open')) {\n store.cancelPendingOpen(event.nativeEvent);\n }\n },\n id: thisTriggerId,\n [TooltipTriggerDataAttributes.triggerDisabled]: disabled ? '' : undefined,\n [TOOLTIP_TRIGGER_IDENTIFIER]: disabled ? undefined : ''\n }, elementProps],\n stateAttributesMapping: triggerOpenStateMapping\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") TooltipTrigger.displayName = \"TooltipTrigger\";","'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const TooltipPortalContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") TooltipPortalContext.displayName = \"TooltipPortalContext\";\nexport function useTooltipPortalContext() {\n const value = React.useContext(TooltipPortalContext);\n if (value === undefined) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: <Tooltip.Portal> is missing.' : _formatErrorMessage(70));\n }\n return value;\n}","'use client';\n\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { useFloatingPortalNode } from \"../floating-ui-react/index.mjs\";\n\n/**\n * `FloatingPortal` includes tabbable logic handling for focus management.\n * For components that don't need tabbable logic, use `FloatingPortalLite`.\n * @internal\n */\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nexport const FloatingPortalLite = /*#__PURE__*/React.forwardRef(function FloatingPortalLite(componentProps, forwardedRef) {\n const {\n children,\n container,\n className,\n render,\n style,\n ...elementProps\n } = componentProps;\n const {\n portalNode,\n portalSubtree\n } = useFloatingPortalNode({\n container,\n ref: forwardedRef,\n componentProps,\n elementProps\n });\n if (!portalSubtree && !portalNode) {\n return null;\n }\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [portalSubtree, portalNode && /*#__PURE__*/ReactDOM.createPortal(children, portalNode)]\n });\n});\nif (process.env.NODE_ENV !== \"production\") FloatingPortalLite.displayName = \"FloatingPortalLite\";","// src/queryClient.ts\nimport {\n functionalUpdate,\n hashKey,\n hashQueryKeyByOptions,\n noop,\n partialMatchKey,\n resolveStaleTime,\n skipToken\n} from \"./utils.js\";\nimport { QueryCache } from \"./queryCache.js\";\nimport { MutationCache } from \"./mutationCache.js\";\nimport { focusManager } from \"./focusManager.js\";\nimport { onlineManager } from \"./onlineManager.js\";\nimport { notifyManager } from \"./notifyManager.js\";\nvar QueryClient = class {\n #queryCache;\n #mutationCache;\n #defaultOptions;\n #queryDefaults;\n #mutationDefaults;\n #mountCount;\n #unsubscribeFocus;\n #unsubscribeOnline;\n constructor(config = {}) {\n this.#queryCache = config.queryCache || new QueryCache();\n this.#mutationCache = config.mutationCache || new MutationCache();\n this.#defaultOptions = config.defaultOptions || {};\n this.#queryDefaults = /* @__PURE__ */ new Map();\n this.#mutationDefaults = /* @__PURE__ */ new Map();\n this.#mountCount = 0;\n }\n mount() {\n this.#mountCount++;\n if (this.#mountCount !== 1) return;\n this.#unsubscribeFocus = focusManager.subscribe(async (focused) => {\n if (focused) {\n await this.resumePausedMutations();\n this.#queryCache.onFocus();\n }\n });\n this.#unsubscribeOnline = onlineManager.subscribe(async (online) => {\n if (online) {\n await this.resumePausedMutations();\n this.#queryCache.onOnline();\n }\n });\n }\n unmount() {\n this.#mountCount--;\n if (this.#mountCount !== 0) return;\n this.#unsubscribeFocus?.();\n this.#unsubscribeFocus = void 0;\n this.#unsubscribeOnline?.();\n this.#unsubscribeOnline = void 0;\n }\n isFetching(filters) {\n return this.#queryCache.findAll({ ...filters, fetchStatus: \"fetching\" }).length;\n }\n isMutating(filters) {\n return this.#mutationCache.findAll({ ...filters, status: \"pending\" }).length;\n }\n /**\n * Imperative (non-reactive) way to retrieve data for a QueryKey.\n * Should only be used in callbacks or functions where reading the latest data is necessary, e.g. for optimistic updates.\n *\n * Hint: Do not use this function inside a component, because it won't receive updates.\n * Use `useQuery` to create a `QueryObserver` that subscribes to changes.\n */\n getQueryData(queryKey) {\n const options = this.defaultQueryOptions({ queryKey });\n return this.#queryCache.get(options.queryHash)?.state.data;\n }\n ensureQueryData(options) {\n const defaultedOptions = this.defaultQueryOptions(options);\n const query = this.#queryCache.build(this, defaultedOptions);\n const cachedData = query.state.data;\n if (cachedData === void 0) {\n return this.fetchQuery(options);\n }\n if (options.revalidateIfStale && query.isStaleByTime(resolveStaleTime(defaultedOptions.staleTime, query))) {\n void this.prefetchQuery(defaultedOptions);\n }\n return Promise.resolve(cachedData);\n }\n getQueriesData(filters) {\n return this.#queryCache.findAll(filters).map(({ queryKey, state }) => {\n const data = state.data;\n return [queryKey, data];\n });\n }\n setQueryData(queryKey, updater, options) {\n const defaultedOptions = this.defaultQueryOptions({ queryKey });\n const query = this.#queryCache.get(\n defaultedOptions.queryHash\n );\n const prevData = query?.state.data;\n const data = functionalUpdate(updater, prevData);\n if (data === void 0) {\n return void 0;\n }\n return this.#queryCache.build(this, defaultedOptions).setData(data, { ...options, manual: true });\n }\n setQueriesData(filters, updater, options) {\n return notifyManager.batch(\n () => this.#queryCache.findAll(filters).map(({ queryKey }) => [\n queryKey,\n this.setQueryData(queryKey, updater, options)\n ])\n );\n }\n getQueryState(queryKey) {\n const options = this.defaultQueryOptions({ queryKey });\n return this.#queryCache.get(\n options.queryHash\n )?.state;\n }\n removeQueries(filters) {\n const queryCache = this.#queryCache;\n notifyManager.batch(() => {\n queryCache.findAll(filters).forEach((query) => {\n queryCache.remove(query);\n });\n });\n }\n resetQueries(filters, options) {\n const queryCache = this.#queryCache;\n return notifyManager.batch(() => {\n queryCache.findAll(filters).forEach((query) => {\n query.reset();\n });\n return this.refetchQueries(\n {\n type: \"active\",\n ...filters\n },\n options\n );\n });\n }\n cancelQueries(filters, cancelOptions = {}) {\n const defaultedCancelOptions = { revert: true, ...cancelOptions };\n const promises = notifyManager.batch(\n () => this.#queryCache.findAll(filters).map((query) => query.cancel(defaultedCancelOptions))\n );\n return Promise.all(promises).then(noop).catch(noop);\n }\n invalidateQueries(filters, options = {}) {\n return notifyManager.batch(() => {\n this.#queryCache.findAll(filters).forEach((query) => {\n query.invalidate();\n });\n if (filters?.refetchType === \"none\") {\n return Promise.resolve();\n }\n return this.refetchQueries(\n {\n ...filters,\n type: filters?.refetchType ?? filters?.type ?? \"active\"\n },\n options\n );\n });\n }\n refetchQueries(filters, options = {}) {\n const fetchOptions = {\n ...options,\n cancelRefetch: options.cancelRefetch ?? true\n };\n const promises = notifyManager.batch(\n () => this.#queryCache.findAll(filters).filter((query) => !query.isDisabled() && !query.isStatic()).map((query) => {\n let promise = query.fetch(void 0, fetchOptions);\n if (!fetchOptions.throwOnError) {\n promise = promise.catch(noop);\n }\n return query.state.fetchStatus === \"paused\" ? Promise.resolve() : promise;\n })\n );\n return Promise.all(promises).then(noop);\n }\n fetchQuery(options) {\n const defaultedOptions = this.defaultQueryOptions(options);\n if (defaultedOptions.retry === void 0) {\n defaultedOptions.retry = false;\n }\n const query = this.#queryCache.build(this, defaultedOptions);\n return query.isStaleByTime(\n resolveStaleTime(defaultedOptions.staleTime, query)\n ) ? query.fetch(defaultedOptions) : Promise.resolve(query.state.data);\n }\n prefetchQuery(options) {\n return this.fetchQuery(options).then(noop).catch(noop);\n }\n fetchInfiniteQuery(options) {\n options._type = \"infinite\";\n return this.fetchQuery(options);\n }\n prefetchInfiniteQuery(options) {\n return this.fetchInfiniteQuery(options).then(noop).catch(noop);\n }\n ensureInfiniteQueryData(options) {\n options._type = \"infinite\";\n return this.ensureQueryData(options);\n }\n resumePausedMutations() {\n if (onlineManager.isOnline()) {\n return this.#mutationCache.resumePausedMutations();\n }\n return Promise.resolve();\n }\n getQueryCache() {\n return this.#queryCache;\n }\n getMutationCache() {\n return this.#mutationCache;\n }\n getDefaultOptions() {\n return this.#defaultOptions;\n }\n setDefaultOptions(options) {\n this.#defaultOptions = options;\n }\n setQueryDefaults(queryKey, options) {\n this.#queryDefaults.set(hashKey(queryKey), {\n queryKey,\n defaultOptions: options\n });\n }\n getQueryDefaults(queryKey) {\n const defaults = [...this.#queryDefaults.values()];\n const result = {};\n defaults.forEach((queryDefault) => {\n if (partialMatchKey(queryKey, queryDefault.queryKey)) {\n Object.assign(result, queryDefault.defaultOptions);\n }\n });\n return result;\n }\n setMutationDefaults(mutationKey, options) {\n this.#mutationDefaults.set(hashKey(mutationKey), {\n mutationKey,\n defaultOptions: options\n });\n }\n getMutationDefaults(mutationKey) {\n const defaults = [...this.#mutationDefaults.values()];\n const result = {};\n defaults.forEach((queryDefault) => {\n if (partialMatchKey(mutationKey, queryDefault.mutationKey)) {\n Object.assign(result, queryDefault.defaultOptions);\n }\n });\n return result;\n }\n defaultQueryOptions(options) {\n if (options._defaulted) {\n return options;\n }\n const defaultedOptions = {\n ...this.#defaultOptions.queries,\n ...this.getQueryDefaults(options.queryKey),\n ...options,\n _defaulted: true\n };\n if (!defaultedOptions.queryHash) {\n defaultedOptions.queryHash = hashQueryKeyByOptions(\n defaultedOptions.queryKey,\n defaultedOptions\n );\n }\n if (defaultedOptions.refetchOnReconnect === void 0) {\n defaultedOptions.refetchOnReconnect = defaultedOptions.networkMode !== \"always\";\n }\n if (defaultedOptions.throwOnError === void 0) {\n defaultedOptions.throwOnError = !!defaultedOptions.suspense;\n }\n if (!defaultedOptions.networkMode && defaultedOptions.persister) {\n defaultedOptions.networkMode = \"offlineFirst\";\n }\n if (defaultedOptions.queryFn === skipToken) {\n defaultedOptions.enabled = false;\n }\n return defaultedOptions;\n }\n defaultMutationOptions(options) {\n if (options?._defaulted) {\n return options;\n }\n return {\n ...this.#defaultOptions.mutations,\n ...options?.mutationKey && this.getMutationDefaults(options.mutationKey),\n ...options,\n _defaulted: true\n };\n }\n clear() {\n this.#queryCache.clear();\n this.#mutationCache.clear();\n }\n};\nexport {\n QueryClient\n};\n//# sourceMappingURL=queryClient.js.map","'use client';\n\nimport * as React from 'react';\nimport { useTooltipRootContext } from \"../root/TooltipRootContext.mjs\";\nimport { TooltipPortalContext } from \"./TooltipPortalContext.mjs\";\nimport { FloatingPortalLite } from \"../../utils/FloatingPortalLite.mjs\";\n\n/**\n * A portal element that moves the popup to a different part of the DOM.\n * By default, the portal element is appended to `<body>`.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const TooltipPortal = /*#__PURE__*/React.forwardRef(function TooltipPortal(props, forwardedRef) {\n const {\n keepMounted = false,\n ...portalProps\n } = props;\n const store = useTooltipRootContext();\n const mounted = store.useState('mounted');\n const shouldRender = mounted || keepMounted;\n if (!shouldRender) {\n return null;\n }\n return /*#__PURE__*/_jsx(TooltipPortalContext.Provider, {\n value: keepMounted,\n children: /*#__PURE__*/_jsx(FloatingPortalLite, {\n ref: forwardedRef,\n ...portalProps\n })\n });\n});\nif (process.env.NODE_ENV !== \"production\") TooltipPortal.displayName = \"TooltipPortal\";","'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const TooltipPositionerContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") TooltipPositionerContext.displayName = \"TooltipPositionerContext\";\nexport function useTooltipPositionerContext() {\n const context = React.useContext(TooltipPositionerContext);\n if (context === undefined) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: TooltipPositionerContext is missing. TooltipPositioner parts must be placed within <Tooltip.Positioner>.' : _formatErrorMessage(71));\n }\n return context;\n}","'use client';\n\nimport * as React from 'react';\nimport { useTooltipRootContext } from \"../root/TooltipRootContext.mjs\";\nimport { TooltipPositionerContext } from \"./TooltipPositionerContext.mjs\";\nimport { useAnchorPositioning } from \"../../utils/useAnchorPositioning.mjs\";\nimport { useTooltipPortalContext } from \"../portal/TooltipPortalContext.mjs\";\nimport { POPUP_COLLISION_AVOIDANCE } from \"../../internals/constants.mjs\";\nimport { adaptiveOrigin } from \"../../utils/adaptiveOriginMiddleware.mjs\";\nimport { usePositioner } from \"../../utils/usePositioner.mjs\";\n\n/**\n * Positions the tooltip against the trigger.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const TooltipPositioner = /*#__PURE__*/React.forwardRef(function TooltipPositioner(componentProps, forwardedRef) {\n const {\n render,\n className,\n anchor,\n positionMethod = 'absolute',\n side = 'top',\n align = 'center',\n sideOffset = 0,\n alignOffset = 0,\n collisionBoundary = 'clipping-ancestors',\n collisionPadding = 5,\n arrowPadding = 5,\n sticky = false,\n disableAnchorTracking = false,\n collisionAvoidance = POPUP_COLLISION_AVOIDANCE,\n style,\n ...elementProps\n } = componentProps;\n const store = useTooltipRootContext();\n const keepMounted = useTooltipPortalContext();\n const open = store.useState('open');\n const mounted = store.useState('mounted');\n const trackCursorAxis = store.useState('trackCursorAxis');\n const disableHoverablePopup = store.useState('disableHoverablePopup');\n const floatingRootContext = store.useState('floatingRootContext');\n const instantType = store.useState('instantType');\n const transitionStatus = store.useState('transitionStatus');\n const hasViewport = store.useState('hasViewport');\n const positioning = useAnchorPositioning({\n anchor,\n positionMethod,\n floatingRootContext,\n mounted,\n side,\n sideOffset,\n align,\n alignOffset,\n collisionBoundary,\n collisionPadding,\n sticky,\n arrowPadding,\n disableAnchorTracking,\n keepMounted,\n collisionAvoidance,\n adaptiveOrigin: hasViewport ? adaptiveOrigin : undefined\n });\n const state = React.useMemo(() => ({\n open,\n side: positioning.side,\n align: positioning.align,\n anchorHidden: positioning.anchorHidden,\n instant: trackCursorAxis !== 'none' ? 'tracking-cursor' : instantType\n }), [open, positioning.side, positioning.align, positioning.anchorHidden, trackCursorAxis, instantType]);\n const element = usePositioner(componentProps, state, {\n styles: positioning.positionerStyles,\n transitionStatus,\n props: elementProps,\n refs: [forwardedRef, store.useStateSetter('positionerElement')],\n hidden: !mounted,\n inert: !open || trackCursorAxis === 'both' || disableHoverablePopup\n });\n return /*#__PURE__*/_jsx(TooltipPositionerContext.Provider, {\n value: positioning,\n children: element\n });\n});\nif (process.env.NODE_ENV !== \"production\") TooltipPositioner.displayName = \"TooltipPositioner\";","'use client';\n\nimport * as React from 'react';\nimport { useTooltipRootContext } from \"../root/TooltipRootContext.mjs\";\nimport { useTooltipPositionerContext } from \"../positioner/TooltipPositionerContext.mjs\";\nimport { popupStateMapping as baseMapping } from \"../../utils/popupStateMapping.mjs\";\nimport { transitionStatusMapping } from \"../../internals/stateAttributesMapping.mjs\";\nimport { useOpenChangeComplete } from \"../../internals/useOpenChangeComplete.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\nimport { getDisabledMountTransitionStyles } from \"../../utils/getDisabledMountTransitionStyles.mjs\";\nimport { useHoverFloatingInteraction } from \"../../floating-ui-react/index.mjs\";\nconst stateAttributesMapping = {\n ...baseMapping,\n ...transitionStatusMapping\n};\n\n/**\n * A container for the tooltip contents.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nexport const TooltipPopup = /*#__PURE__*/React.forwardRef(function TooltipPopup(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n ...elementProps\n } = componentProps;\n const store = useTooltipRootContext();\n const {\n side,\n align\n } = useTooltipPositionerContext();\n const open = store.useState('open');\n const instantType = store.useState('instantType');\n const transitionStatus = store.useState('transitionStatus');\n const popupProps = store.useState('popupProps');\n const floatingContext = store.useState('floatingRootContext');\n const disabled = store.useState('disabled');\n const closeDelay = store.useState('closeDelay');\n useOpenChangeComplete({\n open,\n ref: store.context.popupRef,\n onComplete() {\n if (open) {\n store.context.onOpenChangeComplete?.(true);\n }\n }\n });\n useHoverFloatingInteraction(floatingContext, {\n enabled: !disabled,\n closeDelay\n });\n const setPopupElement = store.useStateSetter('popupElement');\n const state = {\n open,\n side,\n align,\n instant: instantType,\n transitionStatus\n };\n const element = useRenderElement('div', componentProps, {\n state,\n ref: [forwardedRef, store.context.popupRef, setPopupElement],\n props: [popupProps, getDisabledMountTransitionStyles(transitionStatus), elementProps],\n stateAttributesMapping\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") TooltipPopup.displayName = \"TooltipPopup\";","'use client';\n\nimport * as React from 'react';\nimport { useTooltipPositionerContext } from \"../positioner/TooltipPositionerContext.mjs\";\nimport { popupStateMapping } from \"../../utils/popupStateMapping.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\nimport { useTooltipRootContext } from \"../root/TooltipRootContext.mjs\";\n\n/**\n * Displays an element positioned against the tooltip anchor.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nexport const TooltipArrow = /*#__PURE__*/React.forwardRef(function TooltipArrow(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n ...elementProps\n } = componentProps;\n const store = useTooltipRootContext();\n const {\n arrowRef,\n side,\n align,\n arrowUncentered,\n arrowStyles\n } = useTooltipPositionerContext();\n const open = store.useState('open');\n const instantType = store.useState('instantType');\n const state = {\n open,\n side,\n align,\n uncentered: arrowUncentered,\n instant: instantType\n };\n const element = useRenderElement('div', componentProps, {\n state,\n ref: [forwardedRef, arrowRef],\n props: [{\n style: arrowStyles,\n 'aria-hidden': true\n }, elementProps],\n stateAttributesMapping: popupStateMapping\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") TooltipArrow.displayName = \"TooltipArrow\";","'use client';\n\nimport * as React from 'react';\nimport { FloatingDelayGroup } from \"../../floating-ui-react/index.mjs\";\nimport { TooltipProviderContext } from \"./TooltipProviderContext.mjs\";\n\n/**\n * Provides a shared delay for multiple tooltips. The grouping logic ensures that\n * once a tooltip becomes visible, the adjacent tooltips will be shown instantly.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const TooltipProvider = function TooltipProvider(props) {\n const {\n delay,\n closeDelay,\n timeout = 400\n } = props;\n const contextValue = React.useMemo(() => ({\n delay,\n closeDelay\n }), [delay, closeDelay]);\n const delayValue = React.useMemo(() => ({\n open: delay,\n close: closeDelay\n }), [delay, closeDelay]);\n return /*#__PURE__*/_jsx(TooltipProviderContext.Provider, {\n value: contextValue,\n children: /*#__PURE__*/_jsx(FloatingDelayGroup, {\n delay: delayValue,\n timeoutMs: timeout,\n children: props.children\n })\n });\n};\nif (process.env.NODE_ENV !== \"production\") TooltipProvider.displayName = \"TooltipProvider\";","\"use client\"\n\nimport { Tooltip as TooltipPrimitive } from \"@base-ui/react/tooltip\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction TooltipProvider({\n delay = 0,\n ...props\n}: TooltipPrimitive.Provider.Props) {\n return (\n <TooltipPrimitive.Provider\n data-slot=\"tooltip-provider\"\n delay={delay}\n {...props}\n />\n )\n}\n\nfunction Tooltip({ ...props }: TooltipPrimitive.Root.Props) {\n return <TooltipPrimitive.Root data-slot=\"tooltip\" {...props} />\n}\n\nfunction TooltipTrigger({ ...props }: TooltipPrimitive.Trigger.Props) {\n return <TooltipPrimitive.Trigger data-slot=\"tooltip-trigger\" {...props} />\n}\n\nfunction TooltipContent({\n className,\n side = \"top\",\n sideOffset = 4,\n align = \"center\",\n alignOffset = 0,\n children,\n ...props\n}: TooltipPrimitive.Popup.Props &\n Pick<\n TooltipPrimitive.Positioner.Props,\n \"align\" | \"alignOffset\" | \"side\" | \"sideOffset\"\n >) {\n return (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Positioner\n align={align}\n alignOffset={alignOffset}\n side={side}\n sideOffset={sideOffset}\n className=\"isolate z-50\"\n >\n <TooltipPrimitive.Popup\n data-slot=\"tooltip-content\"\n className={cn(\n \"z-50 inline-flex w-fit max-w-xs origin-(--transform-origin) items-center gap-1.5 rounded-md bg-foreground px-3 py-1.5 text-xs text-background has-data-[slot=kbd]:pr-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95\",\n className\n )}\n {...props}\n >\n {children}\n <TooltipPrimitive.Arrow className=\"z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=bottom]:top-1 data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5\" />\n </TooltipPrimitive.Popup>\n </TooltipPrimitive.Positioner>\n </TooltipPrimitive.Portal>\n )\n}\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider }\n","\"use client\"\n\nimport { useTheme } from \"@/components/theme-provider\"\nimport { Toaster as Sonner, type ToasterProps } from \"sonner\"\nimport { CircleCheckIcon, InfoIcon, TriangleAlertIcon, OctagonXIcon, Loader2Icon } from \"lucide-react\"\n\nconst Toaster = ({ ...props }: ToasterProps) => {\n const { mode } = useTheme()\n\n return (\n <Sonner\n theme={mode}\n className=\"toaster group\"\n icons={{\n success: (\n <CircleCheckIcon className=\"size-4\" />\n ),\n info: (\n <InfoIcon className=\"size-4\" />\n ),\n warning: (\n <TriangleAlertIcon className=\"size-4\" />\n ),\n error: (\n <OctagonXIcon className=\"size-4\" />\n ),\n loading: (\n <Loader2Icon className=\"size-4 animate-spin\" />\n ),\n }}\n style={\n {\n \"--normal-bg\": \"var(--popover)\",\n \"--normal-text\": \"var(--popover-foreground)\",\n \"--normal-border\": \"var(--border)\",\n \"--border-radius\": \"var(--radius)\",\n } as React.CSSProperties\n }\n toastOptions={{\n classNames: {\n toast: \"cn-toast\",\n },\n }}\n {...props}\n />\n )\n}\n\nexport { Toaster }\n","export const OPEN_DELAY = 600;","import * as React from 'react';\nimport { createSelector, ReactStore } from '@base-ui/utils/store';\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.mjs\";\nimport { REASONS } from \"../../internals/reasons.mjs\";\nimport { applyPopupOpenChange, createPopupFloatingRootContext, createInitialPopupStoreState, popupStoreSelectors, PopupTriggerMap, usePopupStore } from \"../../utils/popups/index.mjs\";\nconst selectors = {\n ...popupStoreSelectors,\n disabled: createSelector(state => state.disabled),\n instantType: createSelector(state => state.instantType),\n isInstantPhase: createSelector(state => state.isInstantPhase),\n trackCursorAxis: createSelector(state => state.trackCursorAxis),\n disableHoverablePopup: createSelector(state => state.disableHoverablePopup),\n lastOpenChangeReason: createSelector(state => state.openChangeReason),\n closeOnClick: createSelector(state => state.closeOnClick),\n closeDelay: createSelector(state => state.closeDelay),\n hasViewport: createSelector(state => state.hasViewport)\n};\nexport class TooltipStore extends ReactStore {\n constructor(initialState, floatingId, nested = false) {\n const triggerElements = new PopupTriggerMap();\n const state = {\n ...createInitialState(),\n ...initialState\n };\n state.floatingRootContext = createPopupFloatingRootContext(triggerElements, floatingId, nested);\n super(state, {\n popupRef: /*#__PURE__*/React.createRef(),\n onOpenChange: undefined,\n onOpenChangeComplete: undefined,\n triggerElements\n }, selectors);\n }\n setOpen = (nextOpen, eventDetails) => {\n applyPopupOpenChange(this, nextOpen, eventDetails, {\n extraState: {\n openChangeReason: eventDetails.reason\n }\n });\n };\n\n // Used by trigger clicks to clear a delayed hover open without reporting a public open-state change.\n cancelPendingOpen(event) {\n this.state.floatingRootContext.dispatchOpenChange(false, createChangeEventDetails(REASONS.triggerPress, event));\n }\n static useStore(externalStore, initialState) {\n /* eslint-disable react-hooks/rules-of-hooks */\n const store = usePopupStore(externalStore, (floatingId, nested) => new TooltipStore(initialState, floatingId, nested)).store;\n /* eslint-enable react-hooks/rules-of-hooks */\n\n return store;\n }\n}\nfunction createInitialState() {\n return {\n ...createInitialPopupStoreState(),\n disabled: false,\n instantType: undefined,\n isInstantPhase: false,\n trackCursorAxis: 'none',\n disableHoverablePopup: false,\n openChangeReason: null,\n closeOnClick: true,\n closeDelay: 0,\n hasViewport: false\n };\n}","import { CommonTriggerDataAttributes } from \"../../utils/popupStateMapping.mjs\";\nexport let TooltipTriggerDataAttributes = function (TooltipTriggerDataAttributes) {\n /**\n * Present when the corresponding tooltip is open.\n */\n TooltipTriggerDataAttributes[TooltipTriggerDataAttributes[\"popupOpen\"] = CommonTriggerDataAttributes.popupOpen] = \"popupOpen\";\n /**\n * Present when the trigger is disabled, either by the `disabled` prop or by a parent `<Tooltip.Root>` component.\n */\n TooltipTriggerDataAttributes[\"triggerDisabled\"] = \"data-trigger-disabled\";\n return TooltipTriggerDataAttributes;\n}({});","// src/mutationCache.ts\nimport { notifyManager } from \"./notifyManager.js\";\nimport { Mutation } from \"./mutation.js\";\nimport { matchMutation, noop } from \"./utils.js\";\nimport { Subscribable } from \"./subscribable.js\";\nvar MutationCache = class extends Subscribable {\n constructor(config = {}) {\n super();\n this.config = config;\n this.#mutations = /* @__PURE__ */ new Set();\n this.#scopes = /* @__PURE__ */ new Map();\n this.#mutationId = 0;\n }\n #mutations;\n #scopes;\n #mutationId;\n build(client, options, state) {\n const mutation = new Mutation({\n client,\n mutationCache: this,\n mutationId: ++this.#mutationId,\n options: client.defaultMutationOptions(options),\n state\n });\n this.add(mutation);\n return mutation;\n }\n add(mutation) {\n this.#mutations.add(mutation);\n const scope = scopeFor(mutation);\n if (typeof scope === \"string\") {\n const scopedMutations = this.#scopes.get(scope);\n if (scopedMutations) {\n scopedMutations.push(mutation);\n } else {\n this.#scopes.set(scope, [mutation]);\n }\n }\n this.notify({ type: \"added\", mutation });\n }\n remove(mutation) {\n if (this.#mutations.delete(mutation)) {\n const scope = scopeFor(mutation);\n if (typeof scope === \"string\") {\n const scopedMutations = this.#scopes.get(scope);\n if (scopedMutations) {\n if (scopedMutations.length > 1) {\n const index = scopedMutations.indexOf(mutation);\n if (index !== -1) {\n scopedMutations.splice(index, 1);\n }\n } else if (scopedMutations[0] === mutation) {\n this.#scopes.delete(scope);\n }\n }\n }\n }\n this.notify({ type: \"removed\", mutation });\n }\n canRun(mutation) {\n const scope = scopeFor(mutation);\n if (typeof scope === \"string\") {\n const mutationsWithSameScope = this.#scopes.get(scope);\n const firstPendingMutation = mutationsWithSameScope?.find(\n (m) => m.state.status === \"pending\"\n );\n return !firstPendingMutation || firstPendingMutation === mutation;\n } else {\n return true;\n }\n }\n runNext(mutation) {\n const scope = scopeFor(mutation);\n if (typeof scope === \"string\") {\n const foundMutation = this.#scopes.get(scope)?.find((m) => m !== mutation && m.state.isPaused);\n return foundMutation?.continue() ?? Promise.resolve();\n } else {\n return Promise.resolve();\n }\n }\n clear() {\n notifyManager.batch(() => {\n this.#mutations.forEach((mutation) => {\n this.notify({ type: \"removed\", mutation });\n });\n this.#mutations.clear();\n this.#scopes.clear();\n });\n }\n getAll() {\n return Array.from(this.#mutations);\n }\n find(filters) {\n const defaultedFilters = { exact: true, ...filters };\n return this.getAll().find(\n (mutation) => matchMutation(defaultedFilters, mutation)\n );\n }\n findAll(filters = {}) {\n return this.getAll().filter((mutation) => matchMutation(filters, mutation));\n }\n notify(event) {\n notifyManager.batch(() => {\n this.listeners.forEach((listener) => {\n listener(event);\n });\n });\n }\n resumePausedMutations() {\n const pausedMutations = this.getAll().filter((x) => x.state.isPaused);\n return notifyManager.batch(\n () => Promise.all(\n pausedMutations.map((mutation) => mutation.continue().catch(noop))\n )\n );\n }\n};\nfunction scopeFor(mutation) {\n return mutation.options.scope?.id;\n}\nexport {\n MutationCache\n};\n//# sourceMappingURL=mutationCache.js.map","// src/queryCache.ts\nimport { hashQueryKeyByOptions, matchQuery } from \"./utils.js\";\nimport { Query } from \"./query.js\";\nimport { notifyManager } from \"./notifyManager.js\";\nimport { Subscribable } from \"./subscribable.js\";\nvar QueryCache = class extends Subscribable {\n constructor(config = {}) {\n super();\n this.config = config;\n this.#queries = /* @__PURE__ */ new Map();\n }\n #queries;\n build(client, options, state) {\n const queryKey = options.queryKey;\n const queryHash = options.queryHash ?? hashQueryKeyByOptions(queryKey, options);\n let query = this.get(queryHash);\n if (!query) {\n query = new Query({\n client,\n queryKey,\n queryHash,\n options: client.defaultQueryOptions(options),\n state,\n defaultOptions: client.getQueryDefaults(queryKey)\n });\n this.add(query);\n }\n return query;\n }\n add(query) {\n if (!this.#queries.has(query.queryHash)) {\n this.#queries.set(query.queryHash, query);\n this.notify({\n type: \"added\",\n query\n });\n }\n }\n remove(query) {\n const queryInMap = this.#queries.get(query.queryHash);\n if (queryInMap) {\n query.destroy();\n if (queryInMap === query) {\n this.#queries.delete(query.queryHash);\n }\n this.notify({ type: \"removed\", query });\n }\n }\n clear() {\n notifyManager.batch(() => {\n this.getAll().forEach((query) => {\n this.remove(query);\n });\n });\n }\n get(queryHash) {\n return this.#queries.get(queryHash);\n }\n getAll() {\n return [...this.#queries.values()];\n }\n find(filters) {\n const defaultedFilters = { exact: true, ...filters };\n return this.getAll().find(\n (query) => matchQuery(defaultedFilters, query)\n );\n }\n findAll(filters = {}) {\n const queries = this.getAll();\n return Object.keys(filters).length > 0 ? queries.filter((query) => matchQuery(filters, query)) : queries;\n }\n notify(event) {\n notifyManager.batch(() => {\n this.listeners.forEach((listener) => {\n listener(event);\n });\n });\n }\n onFocus() {\n notifyManager.batch(() => {\n this.getAll().forEach((query) => {\n query.onFocus();\n });\n });\n }\n onOnline() {\n notifyManager.batch(() => {\n this.getAll().forEach((query) => {\n query.onOnline();\n });\n });\n }\n};\nexport {\n QueryCache\n};\n//# sourceMappingURL=queryCache.js.map","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm15 9-6 6', key: '1uzhvr' }],\n [\n 'path',\n {\n d: 'M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z',\n key: '2d38gg',\n },\n ],\n ['path', { d: 'm9 9 6 6', key: 'z0biqf' }],\n];\n\n/**\n * @component @name OctagonX\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMTUgOS02IDYiIC8+CiAgPHBhdGggZD0iTTIuNTg2IDE2LjcyNkEyIDIgMCAwIDEgMiAxNS4zMTJWOC42ODhhMiAyIDAgMCAxIC41ODYtMS40MTRsNC42ODgtNC42ODhBMiAyIDAgMCAxIDguNjg4IDJoNi42MjRhMiAyIDAgMCAxIDEuNDE0LjU4Nmw0LjY4OCA0LjY4OEEyIDIgMCAwIDEgMjIgOC42ODh2Ni42MjRhMiAyIDAgMCAxLS41ODYgMS40MTRsLTQuNjg4IDQuNjg4YTIgMiAwIDAgMS0xLjQxNC41ODZIOC42ODhhMiAyIDAgMCAxLTEuNDE0LS41ODZ6IiAvPgogIDxwYXRoIGQ9Im05IDkgNiA2IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/octagon-x\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst OctagonX = createLucideIcon('octagon-x', __iconNode);\n\nexport default OctagonX;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['path', { d: 'm9 12 2 2 4-4', key: 'dzmm74' }],\n];\n\n/**\n * @component @name CircleCheck\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8cGF0aCBkPSJtOSAxMiAyIDIgNC00IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/circle-check\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CircleCheck = createLucideIcon('circle-check', __iconNode);\n\nexport default CircleCheck;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['path', { d: 'M12 16v-4', key: '1dtifu' }],\n ['path', { d: 'M12 8h.01', key: 'e9boi3' }],\n];\n\n/**\n * @component @name Info\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8cGF0aCBkPSJNMTIgMTZ2LTQiIC8+CiAgPHBhdGggZD0iTTEyIDhoLjAxIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/info\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Info = createLucideIcon('info', __iconNode);\n\nexport default Info;\n"],"names":["QueryCache","config","Map","queryKey","queryHash","client","query","options","build","state","notify","get","queryInMap","defaultQueryOptions","defaultOptions","getQueryDefaults","set","add","remove","defaultedFilters","has","delete","type","queries","batch","getAll","clear","destroy","find","exact","filters","findAll","listener","Object","event","forEach","onFocus","filter","values","keys","onOnline","length","listeners"],"mappings":"2CoBCoD,epBApD,EAAA,EAAA,CAAA,CAAA,OSAA,AWAgF,EXAhF,EAAA,CAAA,CAAA,OaCA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACIA,EAAa,cAA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A,EAAC,GAAA,CAAgB,UAAU,WAE7B,KACE,CAAA,EAAA,EAAA,GAAA,EAAC,GAAA,CAAS,UAAU,WAEtB,QACE,CAAA,EAAA,EAAA,GAAA,EAACF,GAAAA,CAAiB,CAAA,CAAC,UAAU,WAE/B,MACE,CAAA,EAAA,EAAA,GAAA,EAAC,GAAA,CAAa,UAAU,WAE1BS,QACE,CAAA,EAAA,EAAA,GAAA,EAAC,GAAA,CAAW,CAAA,CAAC,UAAU,uBAE3B,EACA,MACE,CACE,cAAe,iBACfI,gBAAiB,4BACjB,kBAAmB,gBACnB,kBAAmB,eACrB,EAEF,aAAc,CACZ,WAAY,CACV,MAAO,UACT,CACF,EACC,GAAG,CAAK,EAGf,EjBvCA,IAAA,GAAA,EAAA,CAAA,CAAA,0BAEO,SAAS,AAAU,UAAE,CAAQ,CAAiC,EACnE,GAAM,CAAC,EAAOd,CAAG,EAAA,QAAc,CAC7B,IACE,IAAIC,EAAYG,CACd,eAAgB,CACd,QAAS,CAAE,sBAAsBD,EAAM,UAAWF,GAAK,CACzD,CACF,IAEJE,MACE,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,CAAmB,CAAA,CAAC,OAAQ,WAC3B,CAAA,EAAA,EAAA,IAAA,EAAC,GAAA,CAAa,CAAA,WACZC,CAAAA,EAAAA,EAAAA,GAAAA,EAAC,GAAA,CAAa,CAAA,CAAA,GACd,CAAA,EAAA,EAAA,GAAA,EAAC,GAAA,UAAiB,IAClB,CAAA,EAAA,EAAA,GAAA,EAAC,GAAA,CAAQ,SAAS,sBAI1B","ignoreList":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,18,19,20,21,22,23,24,25]}
@@ -0,0 +1,33 @@
1
+ module.exports=[[71029,(a,b,c)=>{c._=function(a){return a&&a.__esModule?a:{default:a}}},25556,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return f}}),a.r(71029);let d=a.r(7997);a.r(717);let e=a.r(98860),f=function(){return(0,d.jsxs)("html",{id:"__next_error__",children:[(0,d.jsxs)("head",{children:[(0,d.jsx)("title",{children:"500: This page couldn’t load"}),(0,d.jsx)("style",{dangerouslySetInnerHTML:{__html:e.errorThemeCss}})]}),(0,d.jsx)("body",{children:(0,d.jsx)("div",{style:e.errorStyles.container,children:(0,d.jsxs)("div",{style:e.errorStyles.card,children:[(0,d.jsx)(e.WarningIcon,{}),(0,d.jsx)("h1",{style:e.errorStyles.title,children:"This page couldn’t load"}),(0,d.jsx)("p",{style:e.errorStyles.message,children:"A server error occurred. Reload to try again."}),(0,d.jsx)("form",{style:e.errorStyles.form,children:(0,d.jsx)("button",{type:"submit",style:e.errorStyles.button,children:"Reload"})})]})})})]})};("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},98860,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0});var d={WarningIcon:function(){return i},errorStyles:function(){return g},errorThemeCss:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});a.r(71029);let f=a.r(7997);a.r(717);let g={container:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",display:"flex",alignItems:"center",justifyContent:"center"},card:{marginTop:"-32px",maxWidth:"325px",padding:"32px 28px",textAlign:"left"},icon:{marginBottom:"24px"},title:{fontSize:"24px",fontWeight:500,letterSpacing:"-0.02em",lineHeight:"32px",margin:"0 0 12px 0",color:"var(--next-error-title)"},message:{fontSize:"14px",fontWeight:400,lineHeight:"21px",margin:"0 0 20px 0",color:"var(--next-error-message)"},form:{margin:0},buttonGroup:{display:"flex",gap:"8px",alignItems:"center"},button:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-text)",background:"var(--next-error-btn-bg)",border:"var(--next-error-btn-border)"},buttonSecondary:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-secondary-text)",background:"var(--next-error-btn-secondary-bg)",border:"var(--next-error-btn-secondary-border)"},digestFooter:{position:"fixed",bottom:"32px",left:"0",right:"0",textAlign:"center",fontFamily:'ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace',fontSize:"12px",lineHeight:"18px",fontWeight:400,margin:"0",color:"var(--next-error-digest)"}},h=`
2
+ :root {
3
+ --next-error-bg: #fff;
4
+ --next-error-text: #171717;
5
+ --next-error-title: #171717;
6
+ --next-error-message: #171717;
7
+ --next-error-digest: #666666;
8
+ --next-error-btn-text: #fff;
9
+ --next-error-btn-bg: #171717;
10
+ --next-error-btn-border: none;
11
+ --next-error-btn-secondary-text: #171717;
12
+ --next-error-btn-secondary-bg: transparent;
13
+ --next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);
14
+ }
15
+ @media (prefers-color-scheme: dark) {
16
+ :root {
17
+ --next-error-bg: #0a0a0a;
18
+ --next-error-text: #ededed;
19
+ --next-error-title: #ededed;
20
+ --next-error-message: #ededed;
21
+ --next-error-digest: #a0a0a0;
22
+ --next-error-btn-text: #0a0a0a;
23
+ --next-error-btn-bg: #ededed;
24
+ --next-error-btn-border: none;
25
+ --next-error-btn-secondary-text: #ededed;
26
+ --next-error-btn-secondary-bg: transparent;
27
+ --next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);
28
+ }
29
+ }
30
+ body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }
31
+ `.replace(/\n\s*/g,"");function i(){return(0,f.jsx)("svg",{width:"32",height:"32",viewBox:"-0.2 -1.5 32 32",fill:"none",style:g.icon,children:(0,f.jsx)("path",{d:"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z",fill:"var(--next-error-title)"})})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)}],79835,function(a){a.n(a.i(25556))}];
32
+
33
+ //# sourceMappingURL=node_modules_0gxlxpuufujz9._.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../node_modules/%40swc/helpers/cjs/_interop_require_default.cjs","../../../../node_modules/next/src/client/components/builtin/app-error.tsx","../../../../node_modules/next/src/client/components/builtin/error-styles.tsx"],"sourcesContent":["\"use strict\";\n\nfunction _interop_require_default(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\nexports._ = _interop_require_default;\n","import React from 'react'\nimport { errorStyles, errorThemeCss, WarningIcon } from './error-styles'\n\n// This is the static 500.html page for App Router apps.\n// Always a server error, rendered at build time.\nfunction AppError() {\n return (\n <html id=\"__next_error__\">\n <head>\n <title>500: This page couldn&#x2019;t load</title>\n <style dangerouslySetInnerHTML={{ __html: errorThemeCss }} />\n </head>\n <body>\n <div style={errorStyles.container}>\n <div style={errorStyles.card}>\n <WarningIcon />\n <h1 style={errorStyles.title}>This page couldn&#x2019;t load</h1>\n <p style={errorStyles.message}>\n A server error occurred. Reload to try again.\n </p>\n <form style={errorStyles.form}>\n <button type=\"submit\" style={errorStyles.button}>\n Reload\n </button>\n </form>\n </div>\n </div>\n </body>\n </html>\n )\n}\n\nexport default AppError\n","import React from 'react'\n\nexport const errorStyles = {\n container: {\n fontFamily:\n 'system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"',\n height: '100vh',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n },\n card: {\n marginTop: '-32px',\n maxWidth: '325px',\n padding: '32px 28px',\n textAlign: 'left' as const,\n },\n icon: {\n marginBottom: '24px',\n },\n title: {\n fontSize: '24px',\n fontWeight: 500,\n letterSpacing: '-0.02em',\n lineHeight: '32px',\n margin: '0 0 12px 0',\n color: 'var(--next-error-title)',\n },\n message: {\n fontSize: '14px',\n fontWeight: 400,\n lineHeight: '21px',\n margin: '0 0 20px 0',\n color: 'var(--next-error-message)',\n },\n form: {\n margin: 0,\n },\n buttonGroup: {\n display: 'flex',\n gap: '8px',\n alignItems: 'center',\n },\n button: {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n height: '32px',\n padding: '0 12px',\n fontSize: '14px',\n fontWeight: 500,\n lineHeight: '20px',\n borderRadius: '6px',\n cursor: 'pointer',\n color: 'var(--next-error-btn-text)',\n background: 'var(--next-error-btn-bg)',\n border: 'var(--next-error-btn-border)',\n },\n buttonSecondary: {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n height: '32px',\n padding: '0 12px',\n fontSize: '14px',\n fontWeight: 500,\n lineHeight: '20px',\n borderRadius: '6px',\n cursor: 'pointer',\n color: 'var(--next-error-btn-secondary-text)',\n background: 'var(--next-error-btn-secondary-bg)',\n border: 'var(--next-error-btn-secondary-border)',\n },\n digestFooter: {\n position: 'fixed' as const,\n bottom: '32px',\n left: '0',\n right: '0',\n textAlign: 'center' as const,\n fontFamily:\n 'ui-monospace,SFMono-Regular,\"SF Mono\",Menlo,Consolas,monospace',\n fontSize: '12px',\n lineHeight: '18px',\n fontWeight: 400,\n margin: '0',\n color: 'var(--next-error-digest)',\n },\n} as const\n\nexport const errorThemeCss = `\n:root {\n --next-error-bg: #fff;\n --next-error-text: #171717;\n --next-error-title: #171717;\n --next-error-message: #171717;\n --next-error-digest: #666666;\n --next-error-btn-text: #fff;\n --next-error-btn-bg: #171717;\n --next-error-btn-border: none;\n --next-error-btn-secondary-text: #171717;\n --next-error-btn-secondary-bg: transparent;\n --next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);\n}\n@media (prefers-color-scheme: dark) {\n :root {\n --next-error-bg: #0a0a0a;\n --next-error-text: #ededed;\n --next-error-title: #ededed;\n --next-error-message: #ededed;\n --next-error-digest: #a0a0a0;\n --next-error-btn-text: #0a0a0a;\n --next-error-btn-bg: #ededed;\n --next-error-btn-border: none;\n --next-error-btn-secondary-text: #ededed;\n --next-error-btn-secondary-bg: transparent;\n --next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);\n }\n}\nbody { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\n`.replace(/\\n\\s*/g, '')\n\nexport function WarningIcon() {\n return (\n <svg\n width=\"32\"\n height=\"32\"\n viewBox=\"-0.2 -1.5 32 32\"\n fill=\"none\"\n style={errorStyles.icon}\n >\n <path\n d=\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\"\n fill=\"var(--next-error-title)\"\n />\n </svg>\n )\n}\n"],"names":["_interop_require_default","obj","__esModule","default","exports","_","AppError","html","id","head","title","style","dangerouslySetInnerHTML","__html","errorThemeCss","body","div","errorStyles","container","card","WarningIcon","h1","p","message","form","button","type","fontFamily","height","display","alignItems","justifyContent","marginTop","maxWidth","padding","textAlign","icon","marginBottom","fontSize","fontWeight","letterSpacing","lineHeight","margin","color","buttonGroup","gap","borderRadius","cursor","background","border","buttonSecondary","digestFooter","position","bottom","left","right","replace","svg","width","viewBox","fill","path","d"],"mappings":"iCAKAI,EAAQC,CAAC,CAHT,EAGYL,OAHsBC,AAAzBD,CAA4B,EACjC,OAAOC,GAAOA,EAAIC,UAAU,CAAGD,EAAM,CAAEE,QAASF,CAAI,CACxD,4FC4BA,UAAA,qCAAA,kCAhCkB,CAAA,CAAA,IAAA,SACsC,CAAA,CAAA,IAAA,GA+BxD,EA3BA,SAASK,AA2BMA,EA1Bb,MACE,CADF,AACE,EAAA,EAAA,IAAA,EAACC,CADH,MACGA,CAAKC,GAAG,2BACP,CAAA,EAAA,EAAA,IAAA,EAACC,OAAAA,WACC,CAAA,EAAA,EAAA,GAAA,EAACC,QAAAA,UAAM,iCACP,CAAA,EAAA,EAAA,GAAA,EAACC,QAAAA,CAAMC,wBAAyB,CAAEC,OAAQC,EAAAA,aAAa,AAAC,OAE1D,CAAA,EAAA,EAAA,GAAA,EAACC,OAAAA,UACC,CAAA,EAAA,EAAA,GAAA,EAACC,EAAD,IAACA,CAAIL,MAAOM,EAAAA,WAAW,CAACC,SAAS,UAC/B,CAAA,EAAA,EAAA,IAAA,EAACF,CAAD,KAACA,CAAIL,MAAOM,EAAAA,WAAW,CAACE,IAAI,WAC1B,CAAA,EAAA,EAAA,GAAA,EAACC,EAAAA,WAAW,CAAA,CAAA,GACZ,CAAA,EAAA,EAAA,GAAA,EAACC,KAAAA,CAAGV,MAAOM,EAAAA,WAAW,CAACP,KAAK,UAAE,4BAC9B,CAAA,EAAA,EAAA,GAAA,EAACY,IAAAA,CAAEX,MAAOM,EAAAA,WAAW,CAACM,OAAO,UAAE,kDAG/B,CAAA,EAA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