tanstack_start_ts 1.0.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 (336) hide show
  1. package/.wrangler/deploy/config.json +1 -0
  2. package/bunfig.toml +6 -0
  3. package/components.json +22 -0
  4. package/config.json +0 -0
  5. package/dist/client/.assetsignore +2 -0
  6. package/dist/client/assets/ProductCard-DbIkJAE-.js +1 -0
  7. package/dist/client/assets/about-AskxOruL.js +1 -0
  8. package/dist/client/assets/admin-BZVcAQM3.js +1 -0
  9. package/dist/client/assets/admin.functions--RdVcuBx.js +1 -0
  10. package/dist/client/assets/admin.login-QgrF_9Fp.js +1 -0
  11. package/dist/client/assets/affiliate-disclosure-BIAsA-HO.js +1 -0
  12. package/dist/client/assets/categories-D0N418mK.js +1 -0
  13. package/dist/client/assets/category._slug-aCaQm14E.js +1 -0
  14. package/dist/client/assets/contact-PhvO-V15.js +1 -0
  15. package/dist/client/assets/faq-BsiHWPM8.js +1 -0
  16. package/dist/client/assets/hero-bg-BP2eVUIX.jpg +0 -0
  17. package/dist/client/assets/index-BU9rnkF3.js +1 -0
  18. package/dist/client/assets/index-BpJWZkva.js +1 -0
  19. package/dist/client/assets/index-vRX-zAyq.js +1 -0
  20. package/dist/client/assets/login-DteE0ZGp.js +1 -0
  21. package/dist/client/assets/logo-pSNfLJQk.png +0 -0
  22. package/dist/client/assets/privacy-B_Pu7040.js +1 -0
  23. package/dist/client/assets/product-links-BkZ41Gv3.js +1 -0
  24. package/dist/client/assets/product._id-BVUysCW-.js +1 -0
  25. package/dist/client/assets/products.functions-cGzRziKO.js +1 -0
  26. package/dist/client/assets/profile-CveRcKq2.js +1 -0
  27. package/dist/client/assets/reset-password-ySEjItX_.js +1 -0
  28. package/dist/client/assets/saved-CHtdQDJF.js +1 -0
  29. package/dist/client/assets/search-CXWfET1y.js +1 -0
  30. package/dist/client/assets/signup-CEx90iuV.js +1 -0
  31. package/dist/client/assets/styles-DrNJG0BO.css +1 -0
  32. package/dist/client/assets/terms-VqJ9kX9b.js +1 -0
  33. package/dist/client/assets/update-password-C-d0ix5e.js +1 -0
  34. package/dist/client/assets/vendor-aria-hidden-DvXkyWUv.js +1 -0
  35. package/dist/client/assets/vendor-class-variance-authority-5VPnzWs2.js +1 -0
  36. package/dist/client/assets/vendor-clsx-B-dksMZM.js +1 -0
  37. package/dist/client/assets/vendor-cookie-es-CS0aJGDi.js +1 -0
  38. package/dist/client/assets/vendor-detect-node-es-l0sNRNKZ.js +1 -0
  39. package/dist/client/assets/vendor-floating-ui-core-BlUy28sp.js +1 -0
  40. package/dist/client/assets/vendor-floating-ui-dom-BxK0hn2R.js +1 -0
  41. package/dist/client/assets/vendor-floating-ui-react-dom-Bas3975S.js +1 -0
  42. package/dist/client/assets/vendor-floating-ui-utils-BfYUAVcw.js +1 -0
  43. package/dist/client/assets/vendor-framer-motion-BMdL-cuX.js +9 -0
  44. package/dist/client/assets/vendor-get-nonce-C-Z93AgS.js +1 -0
  45. package/dist/client/assets/vendor-iceberg-js-tWD4K6Lg.js +1 -0
  46. package/dist/client/assets/vendor-lovable.dev-cloud-auth-js-VuzqtJVg.js +1 -0
  47. package/dist/client/assets/vendor-lucide-react-b5K2fehp.js +1 -0
  48. package/dist/client/assets/vendor-motion-dom-BETJamZt.js +1 -0
  49. package/dist/client/assets/vendor-motion-utils-BuWewJbj.js +1 -0
  50. package/dist/client/assets/vendor-radix-ui-primitive-Dc_FVRD7.js +1 -0
  51. package/dist/client/assets/vendor-radix-ui-react-accordion-C22Rgxe9.js +1 -0
  52. package/dist/client/assets/vendor-radix-ui-react-arrow-DMHj2mKI.js +1 -0
  53. package/dist/client/assets/vendor-radix-ui-react-avatar-CVPBkFXg.js +1 -0
  54. package/dist/client/assets/vendor-radix-ui-react-collapsible-BvM-4sKX.js +1 -0
  55. package/dist/client/assets/vendor-radix-ui-react-collection-D9KtqmHm.js +1 -0
  56. package/dist/client/assets/vendor-radix-ui-react-compose-refs-Cvq0AS8Z.js +1 -0
  57. package/dist/client/assets/vendor-radix-ui-react-context-CAqqn5Nx.js +1 -0
  58. package/dist/client/assets/vendor-radix-ui-react-dialog-DZ01vOLq.js +5 -0
  59. package/dist/client/assets/vendor-radix-ui-react-direction-DxZwNuei.js +1 -0
  60. package/dist/client/assets/vendor-radix-ui-react-dismissable-layer-Dqgrs55Y.js +1 -0
  61. package/dist/client/assets/vendor-radix-ui-react-dropdown-menu-0uzvrqkn.js +1 -0
  62. package/dist/client/assets/vendor-radix-ui-react-focus-guards-DgWoZ-fP.js +1 -0
  63. package/dist/client/assets/vendor-radix-ui-react-focus-scope-BLIu5QaL.js +1 -0
  64. package/dist/client/assets/vendor-radix-ui-react-id-bpga_rLa.js +1 -0
  65. package/dist/client/assets/vendor-radix-ui-react-menu-D0qf2r6_.js +1 -0
  66. package/dist/client/assets/vendor-radix-ui-react-popper-BafIylxU.js +1 -0
  67. package/dist/client/assets/vendor-radix-ui-react-portal-BnAsfNCS.js +1 -0
  68. package/dist/client/assets/vendor-radix-ui-react-presence-C-f3UKQ2.js +1 -0
  69. package/dist/client/assets/vendor-radix-ui-react-primitive-zTHwXNoz.js +1 -0
  70. package/dist/client/assets/vendor-radix-ui-react-roving-focus-jyJB8K2E.js +1 -0
  71. package/dist/client/assets/vendor-radix-ui-react-slot-6LXHJrHl.js +1 -0
  72. package/dist/client/assets/vendor-radix-ui-react-use-callback-ref-E91aPc6s.js +1 -0
  73. package/dist/client/assets/vendor-radix-ui-react-use-controllable-state-Ca3eMtxa.js +1 -0
  74. package/dist/client/assets/vendor-radix-ui-react-use-effect-event-CPeX4A3c.js +1 -0
  75. package/dist/client/assets/vendor-radix-ui-react-use-escape-keydown-7n3YsXFo.js +1 -0
  76. package/dist/client/assets/vendor-radix-ui-react-use-is-hydrated-C1PY1qNv.js +1 -0
  77. package/dist/client/assets/vendor-radix-ui-react-use-layout-effect-B3AcGWPy.js +1 -0
  78. package/dist/client/assets/vendor-radix-ui-react-use-size-CXS04sct.js +1 -0
  79. package/dist/client/assets/vendor-react-dom-BnNs-kzm.js +9 -0
  80. package/dist/client/assets/vendor-react-gJPiVnX5.js +1 -0
  81. package/dist/client/assets/vendor-react-remove-scroll-DHKl-IMP.js +4 -0
  82. package/dist/client/assets/vendor-react-remove-scroll-bar-CSjdInc2.js +38 -0
  83. package/dist/client/assets/vendor-react-style-singleton-BqHpkgXn.js +1 -0
  84. package/dist/client/assets/vendor-scheduler-7OC5HNn7.js +1 -0
  85. package/dist/client/assets/vendor-seroval-B_Fur-nl.js +3 -0
  86. package/dist/client/assets/vendor-seroval-plugins-CBHnPkZJ.js +1 -0
  87. package/dist/client/assets/vendor-sonner-71-LdGG1.js +1 -0
  88. package/dist/client/assets/vendor-supabase-auth-js-DWrN-bIx.js +18 -0
  89. package/dist/client/assets/vendor-supabase-functions-js-uY_V-TxC.js +1 -0
  90. package/dist/client/assets/vendor-supabase-phoenix-BzEf37Ve.js +2 -0
  91. package/dist/client/assets/vendor-supabase-postgrest-js-C4rBWbCx.js +4 -0
  92. package/dist/client/assets/vendor-supabase-realtime-js-D6BlOYKE.js +23 -0
  93. package/dist/client/assets/vendor-supabase-storage-js-BG98L3Zz.js +1 -0
  94. package/dist/client/assets/vendor-supabase-supabase-js-DCCzdwBJ.js +1 -0
  95. package/dist/client/assets/vendor-tailwind-merge-Ct12j0u0.js +1 -0
  96. package/dist/client/assets/vendor-tanstack-history-C617CaxG.js +1 -0
  97. package/dist/client/assets/vendor-tanstack-query-core-7wuJJ5ZL.js +1 -0
  98. package/dist/client/assets/vendor-tanstack-react-query-HImzo8sX.js +1 -0
  99. package/dist/client/assets/vendor-tanstack-react-router-sIZLK-LU.js +1 -0
  100. package/dist/client/assets/vendor-tanstack-react-start-client-GiYCfWmf.js +1 -0
  101. package/dist/client/assets/vendor-tanstack-react-store-EvTi3ahh.js +1 -0
  102. package/dist/client/assets/vendor-tanstack-router-core-Cr7bYUZv.js +1 -0
  103. package/dist/client/assets/vendor-tanstack-start-client-core-C-00BBOu.js +2 -0
  104. package/dist/client/assets/vendor-tanstack-start-fn-stubs-l0sNRNKZ.js +1 -0
  105. package/dist/client/assets/vendor-tanstack-store-BC7mA7pq.js +1 -0
  106. package/dist/client/assets/vendor-tslib-Du-meQkk.js +1 -0
  107. package/dist/client/assets/vendor-use-callback-ref-C_fIAtot.js +1 -0
  108. package/dist/client/assets/vendor-use-sidecar-Bh0DDN6h.js +1 -0
  109. package/dist/client/assets/vendor-use-sync-external-store-ZvKHXaIn.js +1 -0
  110. package/dist/client/assets/vendor-vercel-analytics-DwPM5BWs.js +1 -0
  111. package/dist/client/assets/vendor-zod-By9teAtI.js +1 -0
  112. package/dist/client/robots.txt +2 -0
  113. package/dist/server/.dev.vars +5 -0
  114. package/dist/server/.vite/manifest.json +2528 -0
  115. package/dist/server/assets/ProductCard-CUPXy5Eo.js +149 -0
  116. package/dist/server/assets/_tanstack-start-manifest_v-do7vTWFD.js +4 -0
  117. package/dist/server/assets/about-TfKQw0Ga.js +28 -0
  118. package/dist/server/assets/admin-DspfJOJk.js +578 -0
  119. package/dist/server/assets/admin.functions-B78ppWLR.js +645 -0
  120. package/dist/server/assets/admin.functions-BWlKBoTL.js +93 -0
  121. package/dist/server/assets/admin.login-CV7QfeA6.js +139 -0
  122. package/dist/server/assets/affiliate-disclosure-B1wI1cDb.js +86 -0
  123. package/dist/server/assets/auth-middleware-Cn49MidW.js +62 -0
  124. package/dist/server/assets/categories-Z7jnAYZP.js +108 -0
  125. package/dist/server/assets/category._slug-D0XY3FGK.js +112 -0
  126. package/dist/server/assets/contact-IzyONsXs.js +104 -0
  127. package/dist/server/assets/faq-aRhB_CR3.js +133 -0
  128. package/dist/server/assets/hero-bg-BP2eVUIX.jpg +0 -0
  129. package/dist/server/assets/index-BTPHbXw9.js +221 -0
  130. package/dist/server/assets/index-ByJkHkrU.js +30 -0
  131. package/dist/server/assets/login-Dvy5Dm0f.js +175 -0
  132. package/dist/server/assets/logo-pSNfLJQk.png +0 -0
  133. package/dist/server/assets/privacy-B6Wiez1P.js +93 -0
  134. package/dist/server/assets/product-links-CGYEPP56.js +16 -0
  135. package/dist/server/assets/product._id-BpRa-1z0.js +231 -0
  136. package/dist/server/assets/products.functions-DSlmibYN.js +209 -0
  137. package/dist/server/assets/products.functions-DlHkRiqi.js +24 -0
  138. package/dist/server/assets/profile-B0NWzVAZ.js +314 -0
  139. package/dist/server/assets/reset-password-CY-rmqMr.js +115 -0
  140. package/dist/server/assets/saved-7FA6Dbom.js +126 -0
  141. package/dist/server/assets/search-Yw5c_fZa.js +329 -0
  142. package/dist/server/assets/signup-UPzgZo4i.js +143 -0
  143. package/dist/server/assets/styles-DrNJG0BO.css +1 -0
  144. package/dist/server/assets/terms-CMnX95bP.js +89 -0
  145. package/dist/server/assets/update-password-Cr94ea8n.js +131 -0
  146. package/dist/server/assets/vendor-aria-hidden-DPa16MWu.js +122 -0
  147. package/dist/server/assets/vendor-class-variance-authority-0YxJPB9Y.js +44 -0
  148. package/dist/server/assets/vendor-cloudflare-unenv-preset-ya0VEFBz.js +250 -0
  149. package/dist/server/assets/vendor-clsx-DgYk2OaC.js +16 -0
  150. package/dist/server/assets/vendor-cookie-es-DAoofYiI.js +44 -0
  151. package/dist/server/assets/vendor-detect-node-es-l0sNRNKZ.js +1 -0
  152. package/dist/server/assets/vendor-floating-ui-core-3tkK0THV.js +726 -0
  153. package/dist/server/assets/vendor-floating-ui-dom-C-cPtgJv.js +626 -0
  154. package/dist/server/assets/vendor-floating-ui-react-dom-CRG6gBpH.js +319 -0
  155. package/dist/server/assets/vendor-floating-ui-utils-DmXANH-E.js +320 -0
  156. package/dist/server/assets/vendor-framer-motion-X4zAkX3J.js +1979 -0
  157. package/dist/server/assets/vendor-get-nonce-DiSj3EHl.js +9 -0
  158. package/dist/server/assets/vendor-h3-v2-CCobnLY5.js +287 -0
  159. package/dist/server/assets/vendor-iceberg-js-bHCkXyJn.js +534 -0
  160. package/dist/server/assets/vendor-isbot-CZ7WjwVs.js +21 -0
  161. package/dist/server/assets/vendor-lovable.dev-cloud-auth-js-BE03njZw.js +180 -0
  162. package/dist/server/assets/vendor-lucide-react-Ddew6HYb.js +458 -0
  163. package/dist/server/assets/vendor-motion-dom-D2MTwGIG.js +5983 -0
  164. package/dist/server/assets/vendor-motion-utils-LJlIFN6m.js +161 -0
  165. package/dist/server/assets/vendor-radix-ui-primitive-B-mNdDrH.js +11 -0
  166. package/dist/server/assets/vendor-radix-ui-react-accordion-1Izf6x00.js +308 -0
  167. package/dist/server/assets/vendor-radix-ui-react-arrow-B882lnFK.js +23 -0
  168. package/dist/server/assets/vendor-radix-ui-react-avatar-BVgZt2Ab.js +209 -0
  169. package/dist/server/assets/vendor-radix-ui-react-collapsible-DCBbMZiS.js +147 -0
  170. package/dist/server/assets/vendor-radix-ui-react-collection-BZ2srfgU.js +150 -0
  171. package/dist/server/assets/vendor-radix-ui-react-compose-refs-D3qsKVk1.js +39 -0
  172. package/dist/server/assets/vendor-radix-ui-react-context-BVoNDLue.js +78 -0
  173. package/dist/server/assets/vendor-radix-ui-react-dialog-DlxMaNYK.js +406 -0
  174. package/dist/server/assets/vendor-radix-ui-react-direction-Dt_WDL1t.js +9 -0
  175. package/dist/server/assets/vendor-radix-ui-react-dismissable-layer-CjsuPohV.js +210 -0
  176. package/dist/server/assets/vendor-radix-ui-react-dropdown-menu-DVxKumY8.js +263 -0
  177. package/dist/server/assets/vendor-radix-ui-react-focus-guards-D_6NoePE.js +29 -0
  178. package/dist/server/assets/vendor-radix-ui-react-focus-scope-DEIhTJJH.js +206 -0
  179. package/dist/server/assets/vendor-radix-ui-react-id-DFFpgh6m.js +14 -0
  180. package/dist/server/assets/vendor-radix-ui-react-menu-CiTMLwjT.js +893 -0
  181. package/dist/server/assets/vendor-radix-ui-react-popper-23Ye2Vyc.js +286 -0
  182. package/dist/server/assets/vendor-radix-ui-react-portal-CZCH5uPk.js +16 -0
  183. package/dist/server/assets/vendor-radix-ui-react-presence-CaAULlDU.js +128 -0
  184. package/dist/server/assets/vendor-radix-ui-react-primitive-BeOk3UYa.js +124 -0
  185. package/dist/server/assets/vendor-radix-ui-react-roving-focus-DES9GR8l.js +224 -0
  186. package/dist/server/assets/vendor-radix-ui-react-slot-DUhZbzoH.js +103 -0
  187. package/dist/server/assets/vendor-radix-ui-react-use-callback-ref-BynBgohw.js +11 -0
  188. package/dist/server/assets/vendor-radix-ui-react-use-controllable-state-C9KpT6DG.js +69 -0
  189. package/dist/server/assets/vendor-radix-ui-react-use-effect-event-gpNY2xjS.js +1 -0
  190. package/dist/server/assets/vendor-radix-ui-react-use-escape-keydown-CcYRQ2pp.js +17 -0
  191. package/dist/server/assets/vendor-radix-ui-react-use-is-hydrated-D_LcBPXY.js +15 -0
  192. package/dist/server/assets/vendor-radix-ui-react-use-layout-effect-1LNLXAjr.js +6 -0
  193. package/dist/server/assets/vendor-radix-ui-react-use-size-D6fiKJQo.js +39 -0
  194. package/dist/server/assets/vendor-react-DvBrY0qp.js +511 -0
  195. package/dist/server/assets/vendor-react-dom-yvMLPM0j.js +10484 -0
  196. package/dist/server/assets/vendor-react-remove-scroll-BNtiEvVN.js +328 -0
  197. package/dist/server/assets/vendor-react-remove-scroll-bar-hLqRASRk.js +82 -0
  198. package/dist/server/assets/vendor-react-style-singleton-BXjcXskB.js +69 -0
  199. package/dist/server/assets/vendor-rou3-3NaGPdI8.js +8 -0
  200. package/dist/server/assets/vendor-seroval-dJyC-Zhz.js +1775 -0
  201. package/dist/server/assets/vendor-seroval-plugins-Pq_U2meB.js +58 -0
  202. package/dist/server/assets/vendor-sonner-CqbjhsRh.js +1086 -0
  203. package/dist/server/assets/vendor-srvx-BA-baEX9.js +6 -0
  204. package/dist/server/assets/vendor-supabase-auth-js-D4xjVprw.js +7602 -0
  205. package/dist/server/assets/vendor-supabase-functions-js-sWy4UYn1.js +322 -0
  206. package/dist/server/assets/vendor-supabase-phoenix-Bw3Uh2Nn.js +1777 -0
  207. package/dist/server/assets/vendor-supabase-postgrest-js-AO-BXa7I.js +4938 -0
  208. package/dist/server/assets/vendor-supabase-realtime-js-BtdNgJbm.js +2111 -0
  209. package/dist/server/assets/vendor-supabase-storage-js-Dk_MrPYO.js +2679 -0
  210. package/dist/server/assets/vendor-supabase-supabase-js-D1EEtG3j.js +697 -0
  211. package/dist/server/assets/vendor-tailwind-merge-BHb_obmC.js +3255 -0
  212. package/dist/server/assets/vendor-tanstack-history-C4pKJmkt.js +204 -0
  213. package/dist/server/assets/vendor-tanstack-query-core-PwwTR5ld.js +2552 -0
  214. package/dist/server/assets/vendor-tanstack-react-query-hhHzXAK1.js +190 -0
  215. package/dist/server/assets/vendor-tanstack-react-router-XzqpA65A.js +1120 -0
  216. package/dist/server/assets/vendor-tanstack-react-start-RvWUpvat.js +37 -0
  217. package/dist/server/assets/vendor-tanstack-react-start-client-gpNY2xjS.js +1 -0
  218. package/dist/server/assets/vendor-tanstack-react-start-server-uj_Y9pEN.js +15 -0
  219. package/dist/server/assets/vendor-tanstack-react-store-gpNY2xjS.js +1 -0
  220. package/dist/server/assets/vendor-tanstack-router-core-6wywV3KN.js +4252 -0
  221. package/dist/server/assets/vendor-tanstack-start-client-core-DoOKV2pA.js +1741 -0
  222. package/dist/server/assets/vendor-tanstack-start-fn-stubs-l0sNRNKZ.js +1 -0
  223. package/dist/server/assets/vendor-tanstack-start-server-core-CsAstXv7.js +1421 -0
  224. package/dist/server/assets/vendor-tanstack-start-storage-context-DgH9hIJT.js +17 -0
  225. package/dist/server/assets/vendor-tanstack-store-l0sNRNKZ.js +1 -0
  226. package/dist/server/assets/vendor-tslib-_8ICaZ64.js +67 -0
  227. package/dist/server/assets/vendor-unenv-DUvF4YIF.js +544 -0
  228. package/dist/server/assets/vendor-use-callback-ref-DMFDRvmi.js +66 -0
  229. package/dist/server/assets/vendor-use-sidecar-DG1tHua4.js +106 -0
  230. package/dist/server/assets/vendor-use-sync-external-store-rZ8vi0It.js +64 -0
  231. package/dist/server/assets/vendor-vercel-analytics-oP8BDp0L.js +168 -0
  232. package/dist/server/assets/vendor-zod-BRyQdbC-.js +3580 -0
  233. package/dist/server/index.js +158 -0
  234. package/dist/server/wrangler.json +1 -0
  235. package/enable-powershell.ps1 +7 -0
  236. package/eslint.config.js +41 -0
  237. package/lint.bat +4 -0
  238. package/package.json +95 -0
  239. package/public/robots.txt +2 -0
  240. package/run-npm-build.cjs +20 -0
  241. package/run-npm-build.js +20 -0
  242. package/src/assets/hero-bg.jpg +0 -0
  243. package/src/assets/logo.png +0 -0
  244. package/src/components/scrollsy/Footer.tsx +68 -0
  245. package/src/components/scrollsy/LiveTicker.tsx +31 -0
  246. package/src/components/scrollsy/Logo.tsx +28 -0
  247. package/src/components/scrollsy/Nav.tsx +255 -0
  248. package/src/components/scrollsy/ProductCard.tsx +190 -0
  249. package/src/components/scrollsy/ProductFilters.tsx +226 -0
  250. package/src/components/scrollsy/SupportWidget.tsx +197 -0
  251. package/src/components/ui/accordion.tsx +51 -0
  252. package/src/components/ui/alert-dialog.tsx +115 -0
  253. package/src/components/ui/alert.tsx +49 -0
  254. package/src/components/ui/aspect-ratio.tsx +5 -0
  255. package/src/components/ui/avatar.tsx +47 -0
  256. package/src/components/ui/badge.tsx +32 -0
  257. package/src/components/ui/breadcrumb.tsx +101 -0
  258. package/src/components/ui/button.tsx +49 -0
  259. package/src/components/ui/calendar.tsx +177 -0
  260. package/src/components/ui/card.tsx +55 -0
  261. package/src/components/ui/carousel.tsx +240 -0
  262. package/src/components/ui/chart.tsx +331 -0
  263. package/src/components/ui/checkbox.tsx +26 -0
  264. package/src/components/ui/collapsible.tsx +11 -0
  265. package/src/components/ui/command.tsx +143 -0
  266. package/src/components/ui/context-menu.tsx +187 -0
  267. package/src/components/ui/dialog.tsx +104 -0
  268. package/src/components/ui/drawer.tsx +98 -0
  269. package/src/components/ui/dropdown-menu.tsx +188 -0
  270. package/src/components/ui/form.tsx +171 -0
  271. package/src/components/ui/hover-card.tsx +27 -0
  272. package/src/components/ui/input-otp.tsx +69 -0
  273. package/src/components/ui/input.tsx +22 -0
  274. package/src/components/ui/label.tsx +21 -0
  275. package/src/components/ui/menubar.tsx +229 -0
  276. package/src/components/ui/navigation-menu.tsx +120 -0
  277. package/src/components/ui/pagination.tsx +98 -0
  278. package/src/components/ui/popover.tsx +31 -0
  279. package/src/components/ui/progress.tsx +25 -0
  280. package/src/components/ui/radio-group.tsx +36 -0
  281. package/src/components/ui/resizable.tsx +37 -0
  282. package/src/components/ui/scroll-area.tsx +44 -0
  283. package/src/components/ui/select.tsx +152 -0
  284. package/src/components/ui/separator.tsx +24 -0
  285. package/src/components/ui/sheet.tsx +122 -0
  286. package/src/components/ui/sidebar.tsx +744 -0
  287. package/src/components/ui/skeleton.tsx +7 -0
  288. package/src/components/ui/slider.tsx +23 -0
  289. package/src/components/ui/sonner.tsx +23 -0
  290. package/src/components/ui/switch.tsx +27 -0
  291. package/src/components/ui/table.tsx +94 -0
  292. package/src/components/ui/tabs.tsx +53 -0
  293. package/src/components/ui/textarea.tsx +21 -0
  294. package/src/components/ui/toggle-group.tsx +57 -0
  295. package/src/components/ui/toggle.tsx +42 -0
  296. package/src/components/ui/tooltip.tsx +32 -0
  297. package/src/hooks/use-auth.ts +26 -0
  298. package/src/hooks/use-mobile.tsx +19 -0
  299. package/src/integrations/lovable/index.ts +41 -0
  300. package/src/lib/admin.functions.ts +564 -0
  301. package/src/lib/error-capture.ts +27 -0
  302. package/src/lib/error-page.ts +30 -0
  303. package/src/lib/product-links.ts +39 -0
  304. package/src/lib/products.functions.ts +101 -0
  305. package/src/lib/utils.ts +6 -0
  306. package/src/routeTree.gen.ts +480 -0
  307. package/src/router.tsx +16 -0
  308. package/src/routes/__root.tsx +177 -0
  309. package/src/routes/about.tsx +66 -0
  310. package/src/routes/admin.login.tsx +95 -0
  311. package/src/routes/admin.tsx +811 -0
  312. package/src/routes/affiliate-disclosure.tsx +35 -0
  313. package/src/routes/categories.tsx +57 -0
  314. package/src/routes/category.$slug.tsx +51 -0
  315. package/src/routes/contact.tsx +69 -0
  316. package/src/routes/faq.tsx +63 -0
  317. package/src/routes/index.tsx +269 -0
  318. package/src/routes/login.tsx +160 -0
  319. package/src/routes/privacy.tsx +39 -0
  320. package/src/routes/product.$id.tsx +212 -0
  321. package/src/routes/profile.tsx +393 -0
  322. package/src/routes/reset-password.tsx +71 -0
  323. package/src/routes/saved.tsx +83 -0
  324. package/src/routes/search.tsx +136 -0
  325. package/src/routes/signup.tsx +108 -0
  326. package/src/routes/sitemap[.]xml.ts +34 -0
  327. package/src/routes/terms.tsx +40 -0
  328. package/src/routes/update-password.tsx +91 -0
  329. package/src/server.ts +80 -0
  330. package/src/start.ts +24 -0
  331. package/src/styles.css +333 -0
  332. package/terminal-test-output.txt +1 -0
  333. package/tsconfig.json +27 -0
  334. package/vercel.json +26 -0
  335. package/vite.config.ts +38 -0
  336. package/wrangler.jsonc +7 -0
@@ -0,0 +1,17 @@
1
+ import { AsyncLocalStorage } from "node:async_hooks";
2
+ var GLOBAL_STORAGE_KEY = /* @__PURE__ */ Symbol.for("tanstack-start:start-storage-context");
3
+ var globalObj = globalThis;
4
+ if (!globalObj[GLOBAL_STORAGE_KEY]) globalObj[GLOBAL_STORAGE_KEY] = new AsyncLocalStorage();
5
+ var startStorage = globalObj[GLOBAL_STORAGE_KEY];
6
+ async function runWithStartContext(context, fn) {
7
+ return startStorage.run(context, fn);
8
+ }
9
+ function getStartContext(opts) {
10
+ const context = startStorage.getStore();
11
+ if (!context && opts?.throwIfNotFound !== false) throw new Error(`No Start context found in AsyncLocalStorage. Make sure you are using the function within the server runtime.`);
12
+ return context;
13
+ }
14
+ export {
15
+ getStartContext as g,
16
+ runWithStartContext as r
17
+ };
@@ -0,0 +1,67 @@
1
+ var __assign = function() {
2
+ __assign = Object.assign || function __assign2(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
6
+ }
7
+ return t;
8
+ };
9
+ return __assign.apply(this, arguments);
10
+ };
11
+ function __rest(s, e) {
12
+ var t = {};
13
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
14
+ t[p] = s[p];
15
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
16
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
17
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
18
+ t[p[i]] = s[p[i]];
19
+ }
20
+ return t;
21
+ }
22
+ function __awaiter(thisArg, _arguments, P, generator) {
23
+ function adopt(value) {
24
+ return value instanceof P ? value : new P(function(resolve) {
25
+ resolve(value);
26
+ });
27
+ }
28
+ return new (P || (P = Promise))(function(resolve, reject) {
29
+ function fulfilled(value) {
30
+ try {
31
+ step(generator.next(value));
32
+ } catch (e) {
33
+ reject(e);
34
+ }
35
+ }
36
+ function rejected(value) {
37
+ try {
38
+ step(generator["throw"](value));
39
+ } catch (e) {
40
+ reject(e);
41
+ }
42
+ }
43
+ function step(result) {
44
+ result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
45
+ }
46
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
47
+ });
48
+ }
49
+ function __spreadArray(to, from, pack) {
50
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
51
+ if (ar || !(i in from)) {
52
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
53
+ ar[i] = from[i];
54
+ }
55
+ }
56
+ return to.concat(ar || Array.prototype.slice.call(from));
57
+ }
58
+ typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
59
+ var e = new Error(message);
60
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
61
+ };
62
+ export {
63
+ __assign as _,
64
+ __awaiter as a,
65
+ __rest as b,
66
+ __spreadArray as c
67
+ };
@@ -0,0 +1,544 @@
1
+ import { EventEmitter } from "node:events";
2
+ const hrtime = /* @__PURE__ */ Object.assign(function hrtime2(startTime) {
3
+ const now = Date.now();
4
+ const seconds = Math.trunc(now / 1e3);
5
+ const nanos = now % 1e3 * 1e6;
6
+ if (startTime) {
7
+ let diffSeconds = seconds - startTime[0];
8
+ let diffNanos = nanos - startTime[0];
9
+ if (diffNanos < 0) {
10
+ diffSeconds = diffSeconds - 1;
11
+ diffNanos = 1e9 + diffNanos;
12
+ }
13
+ return [diffSeconds, diffNanos];
14
+ }
15
+ return [seconds, nanos];
16
+ }, { bigint: function bigint() {
17
+ return BigInt(Date.now() * 1e6);
18
+ } });
19
+ class ReadStream {
20
+ fd;
21
+ isRaw = false;
22
+ isTTY = false;
23
+ constructor(fd) {
24
+ this.fd = fd;
25
+ }
26
+ setRawMode(mode) {
27
+ this.isRaw = mode;
28
+ return this;
29
+ }
30
+ }
31
+ class WriteStream {
32
+ fd;
33
+ columns = 80;
34
+ rows = 24;
35
+ isTTY = false;
36
+ constructor(fd) {
37
+ this.fd = fd;
38
+ }
39
+ clearLine(dir, callback) {
40
+ callback && callback();
41
+ return false;
42
+ }
43
+ clearScreenDown(callback) {
44
+ callback && callback();
45
+ return false;
46
+ }
47
+ cursorTo(x, y, callback) {
48
+ callback && typeof callback === "function" && callback();
49
+ return false;
50
+ }
51
+ moveCursor(dx, dy, callback) {
52
+ callback && callback();
53
+ return false;
54
+ }
55
+ getColorDepth(env) {
56
+ return 1;
57
+ }
58
+ hasColors(count, env) {
59
+ return false;
60
+ }
61
+ getWindowSize() {
62
+ return [this.columns, this.rows];
63
+ }
64
+ write(str, encoding, cb) {
65
+ if (str instanceof Uint8Array) {
66
+ str = new TextDecoder().decode(str);
67
+ }
68
+ try {
69
+ console.log(str);
70
+ } catch {
71
+ }
72
+ cb && typeof cb === "function" && cb();
73
+ return false;
74
+ }
75
+ }
76
+ // @__NO_SIDE_EFFECTS__
77
+ function createNotImplementedError(name) {
78
+ return new Error(`[unenv] ${name} is not implemented yet!`);
79
+ }
80
+ // @__NO_SIDE_EFFECTS__
81
+ function notImplemented(name) {
82
+ const fn = () => {
83
+ throw /* @__PURE__ */ createNotImplementedError(name);
84
+ };
85
+ return Object.assign(fn, { __unenv__: true });
86
+ }
87
+ const NODE_VERSION = "22.14.0";
88
+ class Process extends EventEmitter {
89
+ env;
90
+ hrtime;
91
+ nextTick;
92
+ constructor(impl) {
93
+ super();
94
+ this.env = impl.env;
95
+ this.hrtime = impl.hrtime;
96
+ this.nextTick = impl.nextTick;
97
+ for (const prop of [...Object.getOwnPropertyNames(Process.prototype), ...Object.getOwnPropertyNames(EventEmitter.prototype)]) {
98
+ const value = this[prop];
99
+ if (typeof value === "function") {
100
+ this[prop] = value.bind(this);
101
+ }
102
+ }
103
+ }
104
+ // --- event emitter ---
105
+ emitWarning(warning, type, code) {
106
+ console.warn(`${code ? `[${code}] ` : ""}${type ? `${type}: ` : ""}${warning}`);
107
+ }
108
+ emit(...args) {
109
+ return super.emit(...args);
110
+ }
111
+ listeners(eventName) {
112
+ return super.listeners(eventName);
113
+ }
114
+ // --- stdio (lazy initializers) ---
115
+ #stdin;
116
+ #stdout;
117
+ #stderr;
118
+ get stdin() {
119
+ return this.#stdin ??= new ReadStream(0);
120
+ }
121
+ get stdout() {
122
+ return this.#stdout ??= new WriteStream(1);
123
+ }
124
+ get stderr() {
125
+ return this.#stderr ??= new WriteStream(2);
126
+ }
127
+ // --- cwd ---
128
+ #cwd = "/";
129
+ chdir(cwd) {
130
+ this.#cwd = cwd;
131
+ }
132
+ cwd() {
133
+ return this.#cwd;
134
+ }
135
+ // --- dummy props and getters ---
136
+ arch = "";
137
+ platform = "";
138
+ argv = [];
139
+ argv0 = "";
140
+ execArgv = [];
141
+ execPath = "";
142
+ title = "";
143
+ pid = 200;
144
+ ppid = 100;
145
+ get version() {
146
+ return `v${NODE_VERSION}`;
147
+ }
148
+ get versions() {
149
+ return { node: NODE_VERSION };
150
+ }
151
+ get allowedNodeEnvironmentFlags() {
152
+ return /* @__PURE__ */ new Set();
153
+ }
154
+ get sourceMapsEnabled() {
155
+ return false;
156
+ }
157
+ get debugPort() {
158
+ return 0;
159
+ }
160
+ get throwDeprecation() {
161
+ return false;
162
+ }
163
+ get traceDeprecation() {
164
+ return false;
165
+ }
166
+ get features() {
167
+ return {};
168
+ }
169
+ get release() {
170
+ return {};
171
+ }
172
+ get connected() {
173
+ return false;
174
+ }
175
+ get config() {
176
+ return {};
177
+ }
178
+ get moduleLoadList() {
179
+ return [];
180
+ }
181
+ constrainedMemory() {
182
+ return 0;
183
+ }
184
+ availableMemory() {
185
+ return 0;
186
+ }
187
+ uptime() {
188
+ return 0;
189
+ }
190
+ resourceUsage() {
191
+ return {};
192
+ }
193
+ // --- noop methods ---
194
+ ref() {
195
+ }
196
+ unref() {
197
+ }
198
+ // --- unimplemented methods ---
199
+ umask() {
200
+ throw /* @__PURE__ */ createNotImplementedError("process.umask");
201
+ }
202
+ getBuiltinModule() {
203
+ return void 0;
204
+ }
205
+ getActiveResourcesInfo() {
206
+ throw /* @__PURE__ */ createNotImplementedError("process.getActiveResourcesInfo");
207
+ }
208
+ exit() {
209
+ throw /* @__PURE__ */ createNotImplementedError("process.exit");
210
+ }
211
+ reallyExit() {
212
+ throw /* @__PURE__ */ createNotImplementedError("process.reallyExit");
213
+ }
214
+ kill() {
215
+ throw /* @__PURE__ */ createNotImplementedError("process.kill");
216
+ }
217
+ abort() {
218
+ throw /* @__PURE__ */ createNotImplementedError("process.abort");
219
+ }
220
+ dlopen() {
221
+ throw /* @__PURE__ */ createNotImplementedError("process.dlopen");
222
+ }
223
+ setSourceMapsEnabled() {
224
+ throw /* @__PURE__ */ createNotImplementedError("process.setSourceMapsEnabled");
225
+ }
226
+ loadEnvFile() {
227
+ throw /* @__PURE__ */ createNotImplementedError("process.loadEnvFile");
228
+ }
229
+ disconnect() {
230
+ throw /* @__PURE__ */ createNotImplementedError("process.disconnect");
231
+ }
232
+ cpuUsage() {
233
+ throw /* @__PURE__ */ createNotImplementedError("process.cpuUsage");
234
+ }
235
+ setUncaughtExceptionCaptureCallback() {
236
+ throw /* @__PURE__ */ createNotImplementedError("process.setUncaughtExceptionCaptureCallback");
237
+ }
238
+ hasUncaughtExceptionCaptureCallback() {
239
+ throw /* @__PURE__ */ createNotImplementedError("process.hasUncaughtExceptionCaptureCallback");
240
+ }
241
+ initgroups() {
242
+ throw /* @__PURE__ */ createNotImplementedError("process.initgroups");
243
+ }
244
+ openStdin() {
245
+ throw /* @__PURE__ */ createNotImplementedError("process.openStdin");
246
+ }
247
+ assert() {
248
+ throw /* @__PURE__ */ createNotImplementedError("process.assert");
249
+ }
250
+ binding() {
251
+ throw /* @__PURE__ */ createNotImplementedError("process.binding");
252
+ }
253
+ // --- attached interfaces ---
254
+ permission = { has: /* @__PURE__ */ notImplemented("process.permission.has") };
255
+ report = {
256
+ directory: "",
257
+ filename: "",
258
+ signal: "SIGUSR2",
259
+ compact: false,
260
+ reportOnFatalError: false,
261
+ reportOnSignal: false,
262
+ reportOnUncaughtException: false,
263
+ getReport: /* @__PURE__ */ notImplemented("process.report.getReport"),
264
+ writeReport: /* @__PURE__ */ notImplemented("process.report.writeReport")
265
+ };
266
+ finalization = {
267
+ register: /* @__PURE__ */ notImplemented("process.finalization.register"),
268
+ unregister: /* @__PURE__ */ notImplemented("process.finalization.unregister"),
269
+ registerBeforeExit: /* @__PURE__ */ notImplemented("process.finalization.registerBeforeExit")
270
+ };
271
+ memoryUsage = Object.assign(() => ({
272
+ arrayBuffers: 0,
273
+ rss: 0,
274
+ external: 0,
275
+ heapTotal: 0,
276
+ heapUsed: 0
277
+ }), { rss: () => 0 });
278
+ // --- undefined props ---
279
+ mainModule = void 0;
280
+ domain = void 0;
281
+ // optional
282
+ send = void 0;
283
+ exitCode = void 0;
284
+ channel = void 0;
285
+ getegid = void 0;
286
+ geteuid = void 0;
287
+ getgid = void 0;
288
+ getgroups = void 0;
289
+ getuid = void 0;
290
+ setegid = void 0;
291
+ seteuid = void 0;
292
+ setgid = void 0;
293
+ setgroups = void 0;
294
+ setuid = void 0;
295
+ // internals
296
+ _events = void 0;
297
+ _eventsCount = void 0;
298
+ _exiting = void 0;
299
+ _maxListeners = void 0;
300
+ _debugEnd = void 0;
301
+ _debugProcess = void 0;
302
+ _fatalException = void 0;
303
+ _getActiveHandles = void 0;
304
+ _getActiveRequests = void 0;
305
+ _kill = void 0;
306
+ _preload_modules = void 0;
307
+ _rawDebug = void 0;
308
+ _startProfilerIdleNotifier = void 0;
309
+ _stopProfilerIdleNotifier = void 0;
310
+ _tickCallback = void 0;
311
+ _disconnect = void 0;
312
+ _handleQueue = void 0;
313
+ _pendingMessage = void 0;
314
+ _channel = void 0;
315
+ _send = void 0;
316
+ _linkedBinding = void 0;
317
+ }
318
+ const _timeOrigin = globalThis.performance?.timeOrigin ?? Date.now();
319
+ const _performanceNow = globalThis.performance?.now ? globalThis.performance.now.bind(globalThis.performance) : () => Date.now() - _timeOrigin;
320
+ const nodeTiming = {
321
+ name: "node",
322
+ entryType: "node",
323
+ startTime: 0,
324
+ duration: 0,
325
+ nodeStart: 0,
326
+ v8Start: 0,
327
+ bootstrapComplete: 0,
328
+ environment: 0,
329
+ loopStart: 0,
330
+ loopExit: 0,
331
+ idleTime: 0,
332
+ uvMetricsInfo: {
333
+ loopCount: 0,
334
+ events: 0,
335
+ eventsWaiting: 0
336
+ },
337
+ detail: void 0,
338
+ toJSON() {
339
+ return this;
340
+ }
341
+ };
342
+ class PerformanceEntry {
343
+ __unenv__ = true;
344
+ detail;
345
+ entryType = "event";
346
+ name;
347
+ startTime;
348
+ constructor(name, options) {
349
+ this.name = name;
350
+ this.startTime = options?.startTime || _performanceNow();
351
+ this.detail = options?.detail;
352
+ }
353
+ get duration() {
354
+ return _performanceNow() - this.startTime;
355
+ }
356
+ toJSON() {
357
+ return {
358
+ name: this.name,
359
+ entryType: this.entryType,
360
+ startTime: this.startTime,
361
+ duration: this.duration,
362
+ detail: this.detail
363
+ };
364
+ }
365
+ }
366
+ const PerformanceMark = class PerformanceMark2 extends PerformanceEntry {
367
+ entryType = "mark";
368
+ constructor() {
369
+ super(...arguments);
370
+ }
371
+ get duration() {
372
+ return 0;
373
+ }
374
+ };
375
+ class PerformanceMeasure extends PerformanceEntry {
376
+ entryType = "measure";
377
+ }
378
+ class PerformanceResourceTiming extends PerformanceEntry {
379
+ entryType = "resource";
380
+ serverTiming = [];
381
+ connectEnd = 0;
382
+ connectStart = 0;
383
+ decodedBodySize = 0;
384
+ domainLookupEnd = 0;
385
+ domainLookupStart = 0;
386
+ encodedBodySize = 0;
387
+ fetchStart = 0;
388
+ initiatorType = "";
389
+ name = "";
390
+ nextHopProtocol = "";
391
+ redirectEnd = 0;
392
+ redirectStart = 0;
393
+ requestStart = 0;
394
+ responseEnd = 0;
395
+ responseStart = 0;
396
+ secureConnectionStart = 0;
397
+ startTime = 0;
398
+ transferSize = 0;
399
+ workerStart = 0;
400
+ responseStatus = 0;
401
+ }
402
+ class PerformanceObserverEntryList {
403
+ __unenv__ = true;
404
+ getEntries() {
405
+ return [];
406
+ }
407
+ getEntriesByName(_name, _type) {
408
+ return [];
409
+ }
410
+ getEntriesByType(type) {
411
+ return [];
412
+ }
413
+ }
414
+ class Performance {
415
+ __unenv__ = true;
416
+ timeOrigin = _timeOrigin;
417
+ eventCounts = /* @__PURE__ */ new Map();
418
+ _entries = [];
419
+ _resourceTimingBufferSize = 0;
420
+ navigation = void 0;
421
+ timing = void 0;
422
+ timerify(_fn, _options) {
423
+ throw /* @__PURE__ */ createNotImplementedError("Performance.timerify");
424
+ }
425
+ get nodeTiming() {
426
+ return nodeTiming;
427
+ }
428
+ eventLoopUtilization() {
429
+ return {};
430
+ }
431
+ markResourceTiming() {
432
+ return new PerformanceResourceTiming("");
433
+ }
434
+ onresourcetimingbufferfull = null;
435
+ now() {
436
+ if (this.timeOrigin === _timeOrigin) {
437
+ return _performanceNow();
438
+ }
439
+ return Date.now() - this.timeOrigin;
440
+ }
441
+ clearMarks(markName) {
442
+ this._entries = markName ? this._entries.filter((e) => e.name !== markName) : this._entries.filter((e) => e.entryType !== "mark");
443
+ }
444
+ clearMeasures(measureName) {
445
+ this._entries = measureName ? this._entries.filter((e) => e.name !== measureName) : this._entries.filter((e) => e.entryType !== "measure");
446
+ }
447
+ clearResourceTimings() {
448
+ this._entries = this._entries.filter((e) => e.entryType !== "resource" || e.entryType !== "navigation");
449
+ }
450
+ getEntries() {
451
+ return this._entries;
452
+ }
453
+ getEntriesByName(name, type) {
454
+ return this._entries.filter((e) => e.name === name && (!type || e.entryType === type));
455
+ }
456
+ getEntriesByType(type) {
457
+ return this._entries.filter((e) => e.entryType === type);
458
+ }
459
+ mark(name, options) {
460
+ const entry = new PerformanceMark(name, options);
461
+ this._entries.push(entry);
462
+ return entry;
463
+ }
464
+ measure(measureName, startOrMeasureOptions, endMark) {
465
+ let start;
466
+ let end;
467
+ if (typeof startOrMeasureOptions === "string") {
468
+ start = this.getEntriesByName(startOrMeasureOptions, "mark")[0]?.startTime;
469
+ end = this.getEntriesByName(endMark, "mark")[0]?.startTime;
470
+ } else {
471
+ start = Number.parseFloat(startOrMeasureOptions?.start) || this.now();
472
+ end = Number.parseFloat(startOrMeasureOptions?.end) || this.now();
473
+ }
474
+ const entry = new PerformanceMeasure(measureName, {
475
+ startTime: start,
476
+ detail: {
477
+ start,
478
+ end
479
+ }
480
+ });
481
+ this._entries.push(entry);
482
+ return entry;
483
+ }
484
+ setResourceTimingBufferSize(maxSize) {
485
+ this._resourceTimingBufferSize = maxSize;
486
+ }
487
+ addEventListener(type, listener, options) {
488
+ throw /* @__PURE__ */ createNotImplementedError("Performance.addEventListener");
489
+ }
490
+ removeEventListener(type, listener, options) {
491
+ throw /* @__PURE__ */ createNotImplementedError("Performance.removeEventListener");
492
+ }
493
+ dispatchEvent(event) {
494
+ throw /* @__PURE__ */ createNotImplementedError("Performance.dispatchEvent");
495
+ }
496
+ toJSON() {
497
+ return this;
498
+ }
499
+ }
500
+ class PerformanceObserver {
501
+ __unenv__ = true;
502
+ static supportedEntryTypes = [];
503
+ _callback = null;
504
+ constructor(callback) {
505
+ this._callback = callback;
506
+ }
507
+ takeRecords() {
508
+ return [];
509
+ }
510
+ disconnect() {
511
+ throw /* @__PURE__ */ createNotImplementedError("PerformanceObserver.disconnect");
512
+ }
513
+ observe(options) {
514
+ throw /* @__PURE__ */ createNotImplementedError("PerformanceObserver.observe");
515
+ }
516
+ bind(fn) {
517
+ return fn;
518
+ }
519
+ runInAsyncScope(fn, thisArg, ...args) {
520
+ return fn.call(thisArg, ...args);
521
+ }
522
+ asyncId() {
523
+ return 0;
524
+ }
525
+ triggerAsyncId() {
526
+ return 0;
527
+ }
528
+ emitDestroy() {
529
+ return this;
530
+ }
531
+ }
532
+ const performance = globalThis.performance && "addEventListener" in globalThis.performance ? globalThis.performance : new Performance();
533
+ export {
534
+ Performance as P,
535
+ PerformanceEntry as a,
536
+ PerformanceMark as b,
537
+ PerformanceMeasure as c,
538
+ PerformanceObserver as d,
539
+ PerformanceObserverEntryList as e,
540
+ PerformanceResourceTiming as f,
541
+ Process as g,
542
+ hrtime as h,
543
+ performance as p
544
+ };
@@ -0,0 +1,66 @@
1
+ import { r as reactExports } from "./vendor-react-DvBrY0qp.js";
2
+ function assignRef(ref, value) {
3
+ if (typeof ref === "function") {
4
+ ref(value);
5
+ } else if (ref) {
6
+ ref.current = value;
7
+ }
8
+ return ref;
9
+ }
10
+ function useCallbackRef(initialValue, callback) {
11
+ var ref = reactExports.useState(function() {
12
+ return {
13
+ // value
14
+ value: initialValue,
15
+ // last callback
16
+ callback,
17
+ // "memoized" public interface
18
+ facade: {
19
+ get current() {
20
+ return ref.value;
21
+ },
22
+ set current(value) {
23
+ var last = ref.value;
24
+ if (last !== value) {
25
+ ref.value = value;
26
+ ref.callback(value, last);
27
+ }
28
+ }
29
+ }
30
+ };
31
+ })[0];
32
+ ref.callback = callback;
33
+ return ref.facade;
34
+ }
35
+ var useIsomorphicLayoutEffect = typeof window !== "undefined" ? reactExports.useLayoutEffect : reactExports.useEffect;
36
+ var currentValues = /* @__PURE__ */ new WeakMap();
37
+ function useMergeRefs(refs, defaultValue) {
38
+ var callbackRef = useCallbackRef(null, function(newValue) {
39
+ return refs.forEach(function(ref) {
40
+ return assignRef(ref, newValue);
41
+ });
42
+ });
43
+ useIsomorphicLayoutEffect(function() {
44
+ var oldValue = currentValues.get(callbackRef);
45
+ if (oldValue) {
46
+ var prevRefs_1 = new Set(oldValue);
47
+ var nextRefs_1 = new Set(refs);
48
+ var current_1 = callbackRef.current;
49
+ prevRefs_1.forEach(function(ref) {
50
+ if (!nextRefs_1.has(ref)) {
51
+ assignRef(ref, null);
52
+ }
53
+ });
54
+ nextRefs_1.forEach(function(ref) {
55
+ if (!prevRefs_1.has(ref)) {
56
+ assignRef(ref, current_1);
57
+ }
58
+ });
59
+ }
60
+ currentValues.set(callbackRef, refs);
61
+ }, [refs]);
62
+ return callbackRef;
63
+ }
64
+ export {
65
+ useMergeRefs as u
66
+ };