@epic-web/workshop-app 5.1.0 → 5.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2187) hide show
  1. package/build/client/assets/_-CWSCXcBv.js +2 -0
  2. package/build/client/assets/_-CWSCXcBv.js.map +1 -0
  3. package/build/client/assets/_exerciseNumber-DarnXgbX.js +2 -0
  4. package/build/client/assets/_exerciseNumber-DarnXgbX.js.map +1 -0
  5. package/build/client/assets/_exerciseNumber_._stepNumber-BA2Xhzqs.js +2 -0
  6. package/build/client/assets/_exerciseNumber_._stepNumber-BA2Xhzqs.js.map +1 -0
  7. package/build/client/assets/_exerciseNumber_.finished-DEzaS_Ji.js +2 -0
  8. package/build/client/assets/_exerciseNumber_.finished-DEzaS_Ji.js.map +1 -0
  9. package/build/client/assets/_layout-88n0To1b.js +2 -0
  10. package/build/client/assets/_layout-88n0To1b.js.map +1 -0
  11. package/build/client/assets/_layout-BTrPWpBz.js +2 -0
  12. package/build/client/assets/_layout-BTrPWpBz.js.map +1 -0
  13. package/build/client/assets/_layout-T2hZtl0D.js +6 -0
  14. package/build/client/assets/_layout-T2hZtl0D.js.map +1 -0
  15. package/build/client/assets/_layout-gyrNluke.js +2 -0
  16. package/build/client/assets/_layout-gyrNluke.js.map +1 -0
  17. package/build/client/assets/accordion-DC885Li1.js +2 -0
  18. package/build/client/assets/accordion-DC885Li1.js.map +1 -0
  19. package/build/client/assets/account-CPFwPYf1.js +2 -0
  20. package/build/client/assets/account-CPFwPYf1.js.map +1 -0
  21. package/build/client/assets/app-CM8yuYni.js +2 -0
  22. package/build/client/assets/app-CM8yuYni.js.map +1 -0
  23. package/build/client/assets/button-DQ001ob0.js +2 -0
  24. package/build/client/assets/button-DQ001ob0.js.map +1 -0
  25. package/build/client/assets/components-9EGYHTc_.js +158 -0
  26. package/build/client/assets/components-9EGYHTc_.js.map +1 -0
  27. package/build/client/assets/diff-assn_bSK.js +2 -0
  28. package/build/client/assets/diff-assn_bSK.js.map +1 -0
  29. package/build/client/assets/diff-jlCv3hv0.js +2 -0
  30. package/build/client/assets/diff-jlCv3hv0.js.map +1 -0
  31. package/build/client/assets/discord-CHsbqaqM.js +2 -0
  32. package/build/client/assets/discord-CHsbqaqM.js.map +1 -0
  33. package/build/client/assets/discord-DoeazikD.js +2 -0
  34. package/build/client/assets/discord-DoeazikD.js.map +1 -0
  35. package/build/client/assets/entry.client-BTYTUpFV.js +44 -0
  36. package/build/client/assets/entry.client-BTYTUpFV.js.map +1 -0
  37. package/build/client/assets/epic-video-GDpD7_Qt.js +3053 -0
  38. package/build/client/assets/epic-video-GDpD7_Qt.js.map +1 -0
  39. package/build/client/assets/error-boundary-1-dmC941.js +2 -0
  40. package/build/client/assets/error-boundary-1-dmC941.js.map +1 -0
  41. package/build/client/assets/finished-DVV0zwmP.js +2 -0
  42. package/build/client/assets/finished-DVV0zwmP.js.map +1 -0
  43. package/build/client/assets/index-BCxBKsqT.js +2 -0
  44. package/build/client/assets/index-BCxBKsqT.js.map +1 -0
  45. package/build/client/assets/index-BFGhCX_U.js +38 -0
  46. package/build/client/assets/index-BFGhCX_U.js.map +1 -0
  47. package/build/client/assets/index-BuA_RWlU.js +2 -0
  48. package/build/client/assets/index-BuA_RWlU.js.map +1 -0
  49. package/build/client/assets/index-BuoaxPEj.js +42 -0
  50. package/build/client/assets/index-BuoaxPEj.js.map +1 -0
  51. package/build/client/assets/index-DJF1fiZI.js +2 -0
  52. package/build/client/assets/index-DJF1fiZI.js.map +1 -0
  53. package/build/client/assets/index-DRH72MzK.js +3 -0
  54. package/build/client/assets/index-DRH72MzK.js.map +1 -0
  55. package/build/client/assets/index-KgMLc41c.js +2 -0
  56. package/build/client/assets/index-KgMLc41c.js.map +1 -0
  57. package/build/client/assets/index-_J-F_Dnc.js +36 -0
  58. package/build/client/assets/index-_J-F_Dnc.js.map +1 -0
  59. package/build/client/assets/loading-Dk0n07O3.js +2 -0
  60. package/build/client/assets/loading-Dk0n07O3.js.map +1 -0
  61. package/build/client/assets/login-pZYDEC_l.js +2 -0
  62. package/build/client/assets/login-pZYDEC_l.js.map +1 -0
  63. package/build/client/assets/manifest-3338a6ab.js +1 -0
  64. package/build/client/assets/mdx-hW1uYjc1.js +2 -0
  65. package/build/client/assets/mdx-hW1uYjc1.js.map +1 -0
  66. package/build/client/assets/misc-BJtHv_Jh.js +2 -0
  67. package/build/client/assets/misc-BJtHv_Jh.js.map +1 -0
  68. package/build/client/assets/nav-chevrons-CgbSMLeb.js +2 -0
  69. package/build/client/assets/nav-chevrons-CgbSMLeb.js.map +1 -0
  70. package/build/client/assets/onboarding-DCuSqnkZ.js +2 -0
  71. package/build/client/assets/onboarding-DCuSqnkZ.js.map +1 -0
  72. package/build/client/assets/pe-ChIwTk8v.js +2 -0
  73. package/build/client/assets/pe-ChIwTk8v.js.map +1 -0
  74. package/build/client/assets/presence-CdyMdOKk.js +28 -0
  75. package/build/client/assets/presence-CdyMdOKk.js.map +1 -0
  76. package/build/client/assets/preview-CW_12I0i.js +2 -0
  77. package/build/client/assets/preview-CW_12I0i.js.map +1 -0
  78. package/build/client/assets/product-C1ynnrN_.js +2 -0
  79. package/build/client/assets/product-C1ynnrN_.js.map +1 -0
  80. package/build/client/assets/progress-DAB3nDa2.js +2 -0
  81. package/build/client/assets/progress-DAB3nDa2.js.map +1 -0
  82. package/build/client/assets/progress-bar-Cj5R4Zk7.js +2 -0
  83. package/build/client/assets/progress-bar-Cj5R4Zk7.js.map +1 -0
  84. package/build/client/assets/request-info-DCIQLE6H.js +2 -0
  85. package/build/client/assets/request-info-DCIQLE6H.js.map +1 -0
  86. package/build/client/assets/revalidation-ws-DU-PzW-_.js +2 -0
  87. package/build/client/assets/revalidation-ws-DU-PzW-_.js.map +1 -0
  88. package/build/client/assets/root-DojjHZlY.js +11 -0
  89. package/build/client/assets/root-DojjHZlY.js.map +1 -0
  90. package/build/client/assets/set-playground-DgnOJqFN.js +2 -0
  91. package/build/client/assets/set-playground-DgnOJqFN.js.map +1 -0
  92. package/build/client/assets/support-BNS-kEhc.js +2 -0
  93. package/build/client/assets/support-BNS-kEhc.js.map +1 -0
  94. package/build/client/assets/tailwind-B5AAMtGC.css +1 -0
  95. package/build/client/assets/test-DJ7oeeeg.js +2 -0
  96. package/build/client/assets/test-DJ7oeeeg.js.map +1 -0
  97. package/build/client/assets/tests-Bw1rCopV.js +4 -0
  98. package/build/client/assets/tests-Bw1rCopV.js.map +1 -0
  99. package/build/client/assets/tooltip-BgynKV2c.js +2 -0
  100. package/build/client/assets/tooltip-BgynKV2c.js.map +1 -0
  101. package/build/client/assets/use-event-source-x59d4R2Z.js +2 -0
  102. package/build/client/assets/use-event-source-x59d4R2Z.js.map +1 -0
  103. package/build/client/assets/user-BBryXlM_.js +2 -0
  104. package/build/client/assets/user-BBryXlM_.js.map +1 -0
  105. package/build/client/assets/workshop-config-DJY2cXU_.js +2 -0
  106. package/build/client/assets/workshop-config-DJY2cXU_.js.map +1 -0
  107. package/build/server/index.js +110 -2346
  108. package/build/server/index.js.map +1 -1
  109. package/dist/server/index.js +7 -12
  110. package/package.json +68 -95
  111. package/build/client/assets/_-ZHCWB__B.js +0 -2
  112. package/build/client/assets/_-ZHCWB__B.js.map +0 -1
  113. package/build/client/assets/_exerciseNumber-BFTlBdr4.js +0 -2
  114. package/build/client/assets/_exerciseNumber-BFTlBdr4.js.map +0 -1
  115. package/build/client/assets/_exerciseNumber_._stepNumber-_687iGFh.js +0 -2
  116. package/build/client/assets/_exerciseNumber_._stepNumber-_687iGFh.js.map +0 -1
  117. package/build/client/assets/_exerciseNumber_.finished-BEfn-nJi.js +0 -2
  118. package/build/client/assets/_exerciseNumber_.finished-BEfn-nJi.js.map +0 -1
  119. package/build/client/assets/_layout-BLJr2x2F.js +0 -2
  120. package/build/client/assets/_layout-BLJr2x2F.js.map +0 -1
  121. package/build/client/assets/_layout-BriOqd2R.js +0 -2
  122. package/build/client/assets/_layout-BriOqd2R.js.map +0 -1
  123. package/build/client/assets/_layout-Cfbi6StB.js +0 -2
  124. package/build/client/assets/_layout-Cfbi6StB.js.map +0 -1
  125. package/build/client/assets/_layout-frPHZWgR.js +0 -6
  126. package/build/client/assets/_layout-frPHZWgR.js.map +0 -1
  127. package/build/client/assets/accordion-DuE9VejZ.js +0 -2
  128. package/build/client/assets/accordion-DuE9VejZ.js.map +0 -1
  129. package/build/client/assets/account-DDuV9rZX.js +0 -2
  130. package/build/client/assets/account-DDuV9rZX.js.map +0 -1
  131. package/build/client/assets/app-wbMCZEiv.js +0 -2
  132. package/build/client/assets/app-wbMCZEiv.js.map +0 -1
  133. package/build/client/assets/button-CMkJ8p0a.js +0 -2
  134. package/build/client/assets/button-CMkJ8p0a.js.map +0 -1
  135. package/build/client/assets/components-DZ8XIeZ3.js +0 -166
  136. package/build/client/assets/components-DZ8XIeZ3.js.map +0 -1
  137. package/build/client/assets/diff-B6thd_Sf.js +0 -2
  138. package/build/client/assets/diff-B6thd_Sf.js.map +0 -1
  139. package/build/client/assets/diff-BEk79KPK.js +0 -2
  140. package/build/client/assets/diff-BEk79KPK.js.map +0 -1
  141. package/build/client/assets/discord-C9bVfiZ6.js +0 -2
  142. package/build/client/assets/discord-C9bVfiZ6.js.map +0 -1
  143. package/build/client/assets/discord-DYeU0QX6.js +0 -2
  144. package/build/client/assets/discord-DYeU0QX6.js.map +0 -1
  145. package/build/client/assets/entry.client-CW5CUf_W.js +0 -43
  146. package/build/client/assets/entry.client-CW5CUf_W.js.map +0 -1
  147. package/build/client/assets/epic-video-bs7WmhbC.js +0 -2988
  148. package/build/client/assets/epic-video-bs7WmhbC.js.map +0 -1
  149. package/build/client/assets/error-boundary-BcGxKpte.js +0 -2
  150. package/build/client/assets/error-boundary-BcGxKpte.js.map +0 -1
  151. package/build/client/assets/finished-C2dgX1d-.js +0 -2
  152. package/build/client/assets/finished-C2dgX1d-.js.map +0 -1
  153. package/build/client/assets/index-BczhSZ3e.js +0 -2
  154. package/build/client/assets/index-BczhSZ3e.js.map +0 -1
  155. package/build/client/assets/index-BjNhezSK.js +0 -42
  156. package/build/client/assets/index-BjNhezSK.js.map +0 -1
  157. package/build/client/assets/index-BvihEwfB.js +0 -36
  158. package/build/client/assets/index-BvihEwfB.js.map +0 -1
  159. package/build/client/assets/index-C2yr7Uiu.js +0 -2
  160. package/build/client/assets/index-C2yr7Uiu.js.map +0 -1
  161. package/build/client/assets/index-CuV1bRbu.js +0 -2
  162. package/build/client/assets/index-CuV1bRbu.js.map +0 -1
  163. package/build/client/assets/index-DBrRQJxF.js +0 -2
  164. package/build/client/assets/index-DBrRQJxF.js.map +0 -1
  165. package/build/client/assets/index-DF_XBInP.js +0 -37
  166. package/build/client/assets/index-DF_XBInP.js.map +0 -1
  167. package/build/client/assets/index-YtpQLUzj.js +0 -3
  168. package/build/client/assets/index-YtpQLUzj.js.map +0 -1
  169. package/build/client/assets/loading-Br41_Pbf.js +0 -2
  170. package/build/client/assets/loading-Br41_Pbf.js.map +0 -1
  171. package/build/client/assets/login-kjV7hrVt.js +0 -2
  172. package/build/client/assets/login-kjV7hrVt.js.map +0 -1
  173. package/build/client/assets/manifest-77ab30ae.js +0 -1
  174. package/build/client/assets/mdx-CRxPouxB.js +0 -2
  175. package/build/client/assets/mdx-CRxPouxB.js.map +0 -1
  176. package/build/client/assets/misc-BE75ioh8.js +0 -2
  177. package/build/client/assets/misc-BE75ioh8.js.map +0 -1
  178. package/build/client/assets/nav-chevrons-DYiI8EMU.js +0 -2
  179. package/build/client/assets/nav-chevrons-DYiI8EMU.js.map +0 -1
  180. package/build/client/assets/onboarding-B4Z_yevk.js +0 -2
  181. package/build/client/assets/onboarding-B4Z_yevk.js.map +0 -1
  182. package/build/client/assets/pe-CvPIToj6.js +0 -2
  183. package/build/client/assets/pe-CvPIToj6.js.map +0 -1
  184. package/build/client/assets/presence-Dd98AJ_5.js +0 -28
  185. package/build/client/assets/presence-Dd98AJ_5.js.map +0 -1
  186. package/build/client/assets/preview-DZcdG4kw.js +0 -2
  187. package/build/client/assets/preview-DZcdG4kw.js.map +0 -1
  188. package/build/client/assets/product-mjsTrqXs.js +0 -2
  189. package/build/client/assets/product-mjsTrqXs.js.map +0 -1
  190. package/build/client/assets/progress-Co-59mG2.js +0 -2
  191. package/build/client/assets/progress-Co-59mG2.js.map +0 -1
  192. package/build/client/assets/progress-bar-F8_2mvYp.js +0 -2
  193. package/build/client/assets/progress-bar-F8_2mvYp.js.map +0 -1
  194. package/build/client/assets/request-info-DGnmXtfj.js +0 -2
  195. package/build/client/assets/request-info-DGnmXtfj.js.map +0 -1
  196. package/build/client/assets/revalidation-ws-DcvYvzyj.js +0 -2
  197. package/build/client/assets/revalidation-ws-DcvYvzyj.js.map +0 -1
  198. package/build/client/assets/root-Cl86OUog.js +0 -11
  199. package/build/client/assets/root-Cl86OUog.js.map +0 -1
  200. package/build/client/assets/set-playground-pMKmtPtz.js +0 -2
  201. package/build/client/assets/set-playground-pMKmtPtz.js.map +0 -1
  202. package/build/client/assets/support-B0E_F4Zh.js +0 -2
  203. package/build/client/assets/support-B0E_F4Zh.js.map +0 -1
  204. package/build/client/assets/tailwind-B9pSujyx.css +0 -1
  205. package/build/client/assets/test-B6zIK2V6.js +0 -2
  206. package/build/client/assets/test-B6zIK2V6.js.map +0 -1
  207. package/build/client/assets/tests-BeAEgPAw.js +0 -4
  208. package/build/client/assets/tests-BeAEgPAw.js.map +0 -1
  209. package/build/client/assets/tooltip-6-WS-Xux.js +0 -2
  210. package/build/client/assets/tooltip-6-WS-Xux.js.map +0 -1
  211. package/build/client/assets/use-event-source-CCGBLG92.js +0 -2
  212. package/build/client/assets/use-event-source-CCGBLG92.js.map +0 -1
  213. package/build/client/assets/user-Boua6jiU.js +0 -2
  214. package/build/client/assets/user-Boua6jiU.js.map +0 -1
  215. package/build/client/assets/workshop-config-Ce9sSc3I.js +0 -2
  216. package/build/client/assets/workshop-config-Ce9sSc3I.js.map +0 -1
  217. package/node_modules/@babel/runtime/LICENSE +0 -22
  218. package/node_modules/@babel/runtime/README.md +0 -19
  219. package/node_modules/@babel/runtime/helpers/AwaitValue.js +0 -4
  220. package/node_modules/@babel/runtime/helpers/OverloadYield.js +0 -4
  221. package/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +0 -9
  222. package/node_modules/@babel/runtime/helpers/applyDecs.js +0 -236
  223. package/node_modules/@babel/runtime/helpers/applyDecs2203.js +0 -184
  224. package/node_modules/@babel/runtime/helpers/applyDecs2203R.js +0 -191
  225. package/node_modules/@babel/runtime/helpers/applyDecs2301.js +0 -222
  226. package/node_modules/@babel/runtime/helpers/applyDecs2305.js +0 -133
  227. package/node_modules/@babel/runtime/helpers/applyDecs2311.js +0 -124
  228. package/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -6
  229. package/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -4
  230. package/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -5
  231. package/node_modules/@babel/runtime/helpers/assertClassBrand.js +0 -5
  232. package/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -5
  233. package/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +0 -24
  234. package/node_modules/@babel/runtime/helpers/asyncIterator.js +0 -45
  235. package/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -26
  236. package/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +0 -5
  237. package/node_modules/@babel/runtime/helpers/callSuper.js +0 -7
  238. package/node_modules/@babel/runtime/helpers/checkInRHS.js +0 -6
  239. package/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +0 -4
  240. package/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +0 -10
  241. package/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +0 -4
  242. package/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +0 -7
  243. package/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -4
  244. package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +0 -5
  245. package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -4
  246. package/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +0 -5
  247. package/node_modules/@babel/runtime/helpers/classNameTDZError.js +0 -4
  248. package/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +0 -7
  249. package/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +0 -7
  250. package/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +0 -5
  251. package/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +0 -5
  252. package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +0 -5
  253. package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +0 -5
  254. package/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +0 -7
  255. package/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +0 -5
  256. package/node_modules/@babel/runtime/helpers/classPrivateGetter.js +0 -5
  257. package/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +0 -5
  258. package/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +0 -5
  259. package/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +0 -4
  260. package/node_modules/@babel/runtime/helpers/classPrivateSetter.js +0 -5
  261. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +0 -7
  262. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +0 -7
  263. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +0 -7
  264. package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +0 -5
  265. package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +0 -4
  266. package/node_modules/@babel/runtime/helpers/construct.js +0 -10
  267. package/node_modules/@babel/runtime/helpers/createClass.js +0 -13
  268. package/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +0 -50
  269. package/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +0 -19
  270. package/node_modules/@babel/runtime/helpers/createSuper.js +0 -16
  271. package/node_modules/@babel/runtime/helpers/decorate.js +0 -250
  272. package/node_modules/@babel/runtime/helpers/defaults.js +0 -9
  273. package/node_modules/@babel/runtime/helpers/defineAccessor.js +0 -8
  274. package/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +0 -12
  275. package/node_modules/@babel/runtime/helpers/defineProperty.js +0 -10
  276. package/node_modules/@babel/runtime/helpers/dispose.js +0 -28
  277. package/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +0 -4
  278. package/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +0 -4
  279. package/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -9
  280. package/node_modules/@babel/runtime/helpers/esm/applyDecs.js +0 -236
  281. package/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +0 -184
  282. package/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +0 -191
  283. package/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +0 -222
  284. package/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +0 -133
  285. package/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +0 -124
  286. package/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -6
  287. package/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -4
  288. package/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -5
  289. package/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +0 -5
  290. package/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -5
  291. package/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -24
  292. package/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +0 -45
  293. package/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0 -26
  294. package/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +0 -5
  295. package/node_modules/@babel/runtime/helpers/esm/callSuper.js +0 -7
  296. package/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +0 -6
  297. package/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -4
  298. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +0 -10
  299. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +0 -4
  300. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +0 -7
  301. package/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -4
  302. package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +0 -5
  303. package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +0 -4
  304. package/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +0 -5
  305. package/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +0 -4
  306. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +0 -7
  307. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +0 -7
  308. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +0 -5
  309. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -5
  310. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -5
  311. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -5
  312. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +0 -7
  313. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +0 -5
  314. package/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +0 -5
  315. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +0 -5
  316. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -5
  317. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +0 -4
  318. package/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +0 -5
  319. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +0 -7
  320. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +0 -7
  321. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +0 -7
  322. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -5
  323. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +0 -4
  324. package/node_modules/@babel/runtime/helpers/esm/construct.js +0 -10
  325. package/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -13
  326. package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +0 -50
  327. package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -19
  328. package/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -16
  329. package/node_modules/@babel/runtime/helpers/esm/decorate.js +0 -250
  330. package/node_modules/@babel/runtime/helpers/esm/defaults.js +0 -9
  331. package/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +0 -8
  332. package/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +0 -12
  333. package/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -10
  334. package/node_modules/@babel/runtime/helpers/esm/dispose.js +0 -28
  335. package/node_modules/@babel/runtime/helpers/esm/extends.js +0 -10
  336. package/node_modules/@babel/runtime/helpers/esm/get.js +0 -11
  337. package/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -6
  338. package/node_modules/@babel/runtime/helpers/esm/identity.js +0 -4
  339. package/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +0 -27
  340. package/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -14
  341. package/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -5
  342. package/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +0 -9
  343. package/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +0 -4
  344. package/node_modules/@babel/runtime/helpers/esm/instanceof.js +0 -4
  345. package/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +0 -6
  346. package/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +0 -27
  347. package/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +0 -8
  348. package/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -9
  349. package/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -4
  350. package/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -28
  351. package/node_modules/@babel/runtime/helpers/esm/jsx.js +0 -22
  352. package/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +0 -9
  353. package/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +0 -4
  354. package/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -4
  355. package/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -4
  356. package/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +0 -4
  357. package/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +0 -4
  358. package/node_modules/@babel/runtime/helpers/esm/objectSpread.js +0 -14
  359. package/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -23
  360. package/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -13
  361. package/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -10
  362. package/node_modules/@babel/runtime/helpers/esm/package.json +0 -3
  363. package/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -8
  364. package/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +0 -4
  365. package/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +0 -304
  366. package/node_modules/@babel/runtime/helpers/esm/set.js +0 -22
  367. package/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +0 -12
  368. package/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -6
  369. package/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -7
  370. package/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -8
  371. package/node_modules/@babel/runtime/helpers/esm/superPropBase.js +0 -6
  372. package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -8
  373. package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -4
  374. package/node_modules/@babel/runtime/helpers/esm/tdz.js +0 -4
  375. package/node_modules/@babel/runtime/helpers/esm/temporalRef.js +0 -6
  376. package/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +0 -2
  377. package/node_modules/@babel/runtime/helpers/esm/toArray.js +0 -8
  378. package/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -8
  379. package/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -12
  380. package/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -7
  381. package/node_modules/@babel/runtime/helpers/esm/toSetter.js +0 -10
  382. package/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -10
  383. package/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -9
  384. package/node_modules/@babel/runtime/helpers/esm/using.js +0 -12
  385. package/node_modules/@babel/runtime/helpers/esm/usingCtx.js +0 -47
  386. package/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +0 -69
  387. package/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +0 -27
  388. package/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +0 -51
  389. package/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +0 -4
  390. package/node_modules/@babel/runtime/helpers/extends.js +0 -10
  391. package/node_modules/@babel/runtime/helpers/get.js +0 -11
  392. package/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -6
  393. package/node_modules/@babel/runtime/helpers/identity.js +0 -4
  394. package/node_modules/@babel/runtime/helpers/importDeferProxy.js +0 -27
  395. package/node_modules/@babel/runtime/helpers/inherits.js +0 -14
  396. package/node_modules/@babel/runtime/helpers/inheritsLoose.js +0 -5
  397. package/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +0 -9
  398. package/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +0 -4
  399. package/node_modules/@babel/runtime/helpers/instanceof.js +0 -4
  400. package/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -6
  401. package/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +0 -27
  402. package/node_modules/@babel/runtime/helpers/isNativeFunction.js +0 -8
  403. package/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +0 -9
  404. package/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -4
  405. package/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -28
  406. package/node_modules/@babel/runtime/helpers/jsx.js +0 -22
  407. package/node_modules/@babel/runtime/helpers/maybeArrayLike.js +0 -9
  408. package/node_modules/@babel/runtime/helpers/newArrowCheck.js +0 -4
  409. package/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -4
  410. package/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -4
  411. package/node_modules/@babel/runtime/helpers/nullishReceiverError.js +0 -4
  412. package/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +0 -4
  413. package/node_modules/@babel/runtime/helpers/objectSpread.js +0 -14
  414. package/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -23
  415. package/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -13
  416. package/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -10
  417. package/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -8
  418. package/node_modules/@babel/runtime/helpers/readOnlyError.js +0 -4
  419. package/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +0 -304
  420. package/node_modules/@babel/runtime/helpers/set.js +0 -22
  421. package/node_modules/@babel/runtime/helpers/setFunctionName.js +0 -12
  422. package/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -6
  423. package/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +0 -7
  424. package/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -8
  425. package/node_modules/@babel/runtime/helpers/superPropBase.js +0 -6
  426. package/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -8
  427. package/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +0 -4
  428. package/node_modules/@babel/runtime/helpers/tdz.js +0 -4
  429. package/node_modules/@babel/runtime/helpers/temporalRef.js +0 -6
  430. package/node_modules/@babel/runtime/helpers/temporalUndefined.js +0 -2
  431. package/node_modules/@babel/runtime/helpers/toArray.js +0 -8
  432. package/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -8
  433. package/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -12
  434. package/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -7
  435. package/node_modules/@babel/runtime/helpers/toSetter.js +0 -10
  436. package/node_modules/@babel/runtime/helpers/typeof.js +0 -10
  437. package/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -9
  438. package/node_modules/@babel/runtime/helpers/using.js +0 -12
  439. package/node_modules/@babel/runtime/helpers/usingCtx.js +0 -47
  440. package/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +0 -69
  441. package/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +0 -27
  442. package/node_modules/@babel/runtime/helpers/wrapRegExp.js +0 -51
  443. package/node_modules/@babel/runtime/helpers/writeOnlyError.js +0 -4
  444. package/node_modules/@babel/runtime/package.json +0 -1038
  445. package/node_modules/@babel/runtime/regenerator/index.js +0 -15
  446. package/node_modules/@conform-to/dom/LICENSE +0 -21
  447. package/node_modules/@conform-to/dom/README +0 -37
  448. package/node_modules/@conform-to/dom/_virtual/_rollupPluginBabelHelpers.js +0 -58
  449. package/node_modules/@conform-to/dom/_virtual/_rollupPluginBabelHelpers.mjs +0 -51
  450. package/node_modules/@conform-to/dom/dom.d.ts +0 -55
  451. package/node_modules/@conform-to/dom/dom.js +0 -104
  452. package/node_modules/@conform-to/dom/dom.mjs +0 -95
  453. package/node_modules/@conform-to/dom/form.d.ts +0 -246
  454. package/node_modules/@conform-to/dom/form.js +0 -582
  455. package/node_modules/@conform-to/dom/form.mjs +0 -578
  456. package/node_modules/@conform-to/dom/formdata.d.ts +0 -61
  457. package/node_modules/@conform-to/dom/formdata.js +0 -214
  458. package/node_modules/@conform-to/dom/formdata.mjs +0 -200
  459. package/node_modules/@conform-to/dom/index.d.ts +0 -26
  460. package/node_modules/@conform-to/dom/index.js +0 -20
  461. package/node_modules/@conform-to/dom/index.mjs +0 -4
  462. package/node_modules/@conform-to/dom/intent.d.ts +0 -114
  463. package/node_modules/@conform-to/dom/intent.js +0 -136
  464. package/node_modules/@conform-to/dom/intent.mjs +0 -126
  465. package/node_modules/@conform-to/dom/package.json +0 -59
  466. package/node_modules/@conform-to/dom/parse.d.ts +0 -50
  467. package/node_modules/@conform-to/dom/parse.js +0 -43
  468. package/node_modules/@conform-to/dom/parse.mjs +0 -37
  469. package/node_modules/@conform-to/dom/submission.d.ts +0 -135
  470. package/node_modules/@conform-to/dom/submission.js +0 -305
  471. package/node_modules/@conform-to/dom/submission.mjs +0 -288
  472. package/node_modules/@conform-to/dom/types.d.ts +0 -23
  473. package/node_modules/@conform-to/dom/util.d.ts +0 -6
  474. package/node_modules/@conform-to/dom/util.js +0 -19
  475. package/node_modules/@conform-to/dom/util.mjs +0 -13
  476. package/node_modules/@conform-to/react/LICENSE +0 -21
  477. package/node_modules/@conform-to/react/README +0 -37
  478. package/node_modules/@conform-to/react/_virtual/_rollupPluginBabelHelpers.js +0 -87
  479. package/node_modules/@conform-to/react/_virtual/_rollupPluginBabelHelpers.mjs +0 -78
  480. package/node_modules/@conform-to/react/context.d.ts +0 -200
  481. package/node_modules/@conform-to/react/context.js +0 -256
  482. package/node_modules/@conform-to/react/context.mjs +0 -241
  483. package/node_modules/@conform-to/react/experimental.d.ts +0 -0
  484. package/node_modules/@conform-to/react/helpers.d.ts +0 -208
  485. package/node_modules/@conform-to/react/helpers.js +0 -222
  486. package/node_modules/@conform-to/react/helpers.mjs +0 -211
  487. package/node_modules/@conform-to/react/hooks.d.ts +0 -63
  488. package/node_modules/@conform-to/react/hooks.js +0 -88
  489. package/node_modules/@conform-to/react/hooks.mjs +0 -79
  490. package/node_modules/@conform-to/react/index.d.ts +0 -29
  491. package/node_modules/@conform-to/react/index.js +0 -30
  492. package/node_modules/@conform-to/react/index.mjs +0 -5
  493. package/node_modules/@conform-to/react/integrations.d.ts +0 -45
  494. package/node_modules/@conform-to/react/integrations.js +0 -298
  495. package/node_modules/@conform-to/react/integrations.mjs +0 -284
  496. package/node_modules/@conform-to/react/package.json +0 -69
  497. package/node_modules/@conform-to/zod/LICENSE +0 -21
  498. package/node_modules/@conform-to/zod/README +0 -37
  499. package/node_modules/@conform-to/zod/_virtual/_rollupPluginBabelHelpers.js +0 -58
  500. package/node_modules/@conform-to/zod/_virtual/_rollupPluginBabelHelpers.mjs +0 -51
  501. package/node_modules/@conform-to/zod/coercion.d.ts +0 -37
  502. package/node_modules/@conform-to/zod/coercion.js +0 -171
  503. package/node_modules/@conform-to/zod/coercion.mjs +0 -164
  504. package/node_modules/@conform-to/zod/constraint.d.ts +0 -5
  505. package/node_modules/@conform-to/zod/constraint.js +0 -103
  506. package/node_modules/@conform-to/zod/constraint.mjs +0 -99
  507. package/node_modules/@conform-to/zod/index.d.ts +0 -2
  508. package/node_modules/@conform-to/zod/index.js +0 -12
  509. package/node_modules/@conform-to/zod/index.mjs +0 -2
  510. package/node_modules/@conform-to/zod/package.json +0 -61
  511. package/node_modules/@conform-to/zod/parse.d.ts +0 -46
  512. package/node_modules/@conform-to/zod/parse.js +0 -64
  513. package/node_modules/@conform-to/zod/parse.mjs +0 -59
  514. package/node_modules/@epic-web/client-hints/README.md +0 -221
  515. package/node_modules/@epic-web/client-hints/dist/color-scheme.d.ts +0 -12
  516. package/node_modules/@epic-web/client-hints/dist/color-scheme.js +0 -25
  517. package/node_modules/@epic-web/client-hints/dist/index.d.ts +0 -6
  518. package/node_modules/@epic-web/client-hints/dist/index.js +0 -79
  519. package/node_modules/@epic-web/client-hints/dist/reduced-motion.d.ts +0 -12
  520. package/node_modules/@epic-web/client-hints/dist/reduced-motion.js +0 -25
  521. package/node_modules/@epic-web/client-hints/dist/time-zone.d.ts +0 -5
  522. package/node_modules/@epic-web/client-hints/dist/time-zone.js +0 -5
  523. package/node_modules/@epic-web/client-hints/dist/utils.d.ts +0 -9
  524. package/node_modules/@epic-web/client-hints/dist/utils.js +0 -1
  525. package/node_modules/@epic-web/client-hints/package.json +0 -71
  526. package/node_modules/@epic-web/restore-scroll/README.md +0 -108
  527. package/node_modules/@epic-web/restore-scroll/dist/index.d.ts +0 -7
  528. package/node_modules/@epic-web/restore-scroll/dist/index.js +0 -85
  529. package/node_modules/@epic-web/restore-scroll/package.json +0 -64
  530. package/node_modules/@floating-ui/core/LICENSE +0 -20
  531. package/node_modules/@floating-ui/core/README.md +0 -4
  532. package/node_modules/@floating-ui/core/dist/floating-ui.core.browser.min.mjs +0 -1
  533. package/node_modules/@floating-ui/core/dist/floating-ui.core.browser.mjs +0 -1164
  534. package/node_modules/@floating-ui/core/dist/floating-ui.core.d.mts +0 -521
  535. package/node_modules/@floating-ui/core/dist/floating-ui.core.d.ts +0 -521
  536. package/node_modules/@floating-ui/core/dist/floating-ui.core.esm.js +0 -1036
  537. package/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +0 -1036
  538. package/node_modules/@floating-ui/core/dist/floating-ui.core.umd.js +0 -1183
  539. package/node_modules/@floating-ui/core/dist/floating-ui.core.umd.min.js +0 -1
  540. package/node_modules/@floating-ui/core/package.json +0 -63
  541. package/node_modules/@floating-ui/dom/LICENSE +0 -20
  542. package/node_modules/@floating-ui/dom/README.md +0 -4
  543. package/node_modules/@floating-ui/dom/dist/floating-ui.dom.browser.min.mjs +0 -1
  544. package/node_modules/@floating-ui/dom/dist/floating-ui.dom.browser.mjs +0 -853
  545. package/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.mts +0 -356
  546. package/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts +0 -356
  547. package/node_modules/@floating-ui/dom/dist/floating-ui.dom.esm.js +0 -704
  548. package/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +0 -704
  549. package/node_modules/@floating-ui/dom/dist/floating-ui.dom.umd.js +0 -872
  550. package/node_modules/@floating-ui/dom/dist/floating-ui.dom.umd.min.js +0 -1
  551. package/node_modules/@floating-ui/dom/package.json +0 -71
  552. package/node_modules/@floating-ui/react-dom/LICENSE +0 -20
  553. package/node_modules/@floating-ui/react-dom/README.md +0 -3
  554. package/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.d.mts +0 -307
  555. package/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.d.ts +0 -307
  556. package/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.esm.js +0 -363
  557. package/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs +0 -363
  558. package/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.umd.js +0 -414
  559. package/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.umd.min.js +0 -1
  560. package/node_modules/@floating-ui/react-dom/package.json +0 -77
  561. package/node_modules/@floating-ui/utils/LICENSE +0 -20
  562. package/node_modules/@floating-ui/utils/README.md +0 -4
  563. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.mts +0 -103
  564. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.ts +0 -103
  565. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.mts +0 -45
  566. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.ts +0 -45
  567. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.esm.js +0 -139
  568. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +0 -139
  569. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.umd.js +0 -165
  570. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.umd.min.js +0 -1
  571. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.esm.js +0 -138
  572. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +0 -138
  573. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.umd.js +0 -169
  574. package/node_modules/@floating-ui/utils/dist/floating-ui.utils.umd.min.js +0 -1
  575. package/node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.d.ts +0 -45
  576. package/node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.esm.js +0 -139
  577. package/node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.umd.js +0 -165
  578. package/node_modules/@floating-ui/utils/dom/package.json +0 -6
  579. package/node_modules/@floating-ui/utils/package.json +0 -70
  580. package/node_modules/@radix-ui/number/README.md +0 -13
  581. package/node_modules/@radix-ui/number/dist/index.d.mts +0 -3
  582. package/node_modules/@radix-ui/number/dist/index.d.ts +0 -3
  583. package/node_modules/@radix-ui/number/dist/index.js +0 -31
  584. package/node_modules/@radix-ui/number/dist/index.js.map +0 -7
  585. package/node_modules/@radix-ui/number/dist/index.mjs +0 -8
  586. package/node_modules/@radix-ui/number/dist/index.mjs.map +0 -7
  587. package/node_modules/@radix-ui/number/package.json +0 -38
  588. package/node_modules/@radix-ui/primitive/README.md +0 -13
  589. package/node_modules/@radix-ui/primitive/dist/index.d.mts +0 -5
  590. package/node_modules/@radix-ui/primitive/dist/index.d.ts +0 -5
  591. package/node_modules/@radix-ui/primitive/dist/index.js +0 -36
  592. package/node_modules/@radix-ui/primitive/dist/index.js.map +0 -7
  593. package/node_modules/@radix-ui/primitive/dist/index.mjs +0 -13
  594. package/node_modules/@radix-ui/primitive/dist/index.mjs.map +0 -7
  595. package/node_modules/@radix-ui/primitive/package.json +0 -38
  596. package/node_modules/@radix-ui/react-accordion/README.md +0 -13
  597. package/node_modules/@radix-ui/react-accordion/dist/index.d.mts +0 -125
  598. package/node_modules/@radix-ui/react-accordion/dist/index.d.ts +0 -125
  599. package/node_modules/@radix-ui/react-accordion/dist/index.js +0 -350
  600. package/node_modules/@radix-ui/react-accordion/dist/index.js.map +0 -7
  601. package/node_modules/@radix-ui/react-accordion/dist/index.mjs +0 -318
  602. package/node_modules/@radix-ui/react-accordion/dist/index.mjs.map +0 -7
  603. package/node_modules/@radix-ui/react-accordion/package.json +0 -63
  604. package/node_modules/@radix-ui/react-arrow/README.md +0 -13
  605. package/node_modules/@radix-ui/react-arrow/dist/index.d.mts +0 -10
  606. package/node_modules/@radix-ui/react-arrow/dist/index.d.ts +0 -10
  607. package/node_modules/@radix-ui/react-arrow/dist/index.js +0 -60
  608. package/node_modules/@radix-ui/react-arrow/dist/index.js.map +0 -7
  609. package/node_modules/@radix-ui/react-arrow/dist/index.mjs +0 -27
  610. package/node_modules/@radix-ui/react-arrow/dist/index.mjs.map +0 -7
  611. package/node_modules/@radix-ui/react-arrow/package.json +0 -55
  612. package/node_modules/@radix-ui/react-collapsible/README.md +0 -13
  613. package/node_modules/@radix-ui/react-collapsible/dist/index.d.mts +0 -43
  614. package/node_modules/@radix-ui/react-collapsible/dist/index.d.ts +0 -43
  615. package/node_modules/@radix-ui/react-collapsible/dist/index.js +0 -186
  616. package/node_modules/@radix-ui/react-collapsible/dist/index.js.map +0 -7
  617. package/node_modules/@radix-ui/react-collapsible/dist/index.mjs +0 -154
  618. package/node_modules/@radix-ui/react-collapsible/dist/index.mjs.map +0 -7
  619. package/node_modules/@radix-ui/react-collapsible/package.json +0 -62
  620. package/node_modules/@radix-ui/react-collection/README.md +0 -13
  621. package/node_modules/@radix-ui/react-collection/dist/index.d.mts +0 -34
  622. package/node_modules/@radix-ui/react-collection/dist/index.d.ts +0 -34
  623. package/node_modules/@radix-ui/react-collection/dist/index.js +0 -104
  624. package/node_modules/@radix-ui/react-collection/dist/index.js.map +0 -7
  625. package/node_modules/@radix-ui/react-collection/dist/index.mjs +0 -72
  626. package/node_modules/@radix-ui/react-collection/dist/index.mjs.map +0 -7
  627. package/node_modules/@radix-ui/react-collection/package.json +0 -58
  628. package/node_modules/@radix-ui/react-compose-refs/README.md +0 -13
  629. package/node_modules/@radix-ui/react-compose-refs/dist/index.d.mts +0 -15
  630. package/node_modules/@radix-ui/react-compose-refs/dist/index.d.ts +0 -15
  631. package/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -53
  632. package/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +0 -7
  633. package/node_modules/@radix-ui/react-compose-refs/dist/index.mjs +0 -20
  634. package/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.map +0 -7
  635. package/node_modules/@radix-ui/react-compose-refs/package.json +0 -47
  636. package/node_modules/@radix-ui/react-context/README.md +0 -13
  637. package/node_modules/@radix-ui/react-context/dist/index.d.mts +0 -28
  638. package/node_modules/@radix-ui/react-context/dist/index.d.ts +0 -28
  639. package/node_modules/@radix-ui/react-context/dist/index.js +0 -114
  640. package/node_modules/@radix-ui/react-context/dist/index.js.map +0 -7
  641. package/node_modules/@radix-ui/react-context/dist/index.mjs +0 -81
  642. package/node_modules/@radix-ui/react-context/dist/index.mjs.map +0 -7
  643. package/node_modules/@radix-ui/react-context/package.json +0 -47
  644. package/node_modules/@radix-ui/react-direction/README.md +0 -13
  645. package/node_modules/@radix-ui/react-direction/dist/index.d.mts +0 -12
  646. package/node_modules/@radix-ui/react-direction/dist/index.d.ts +0 -12
  647. package/node_modules/@radix-ui/react-direction/dist/index.js +0 -52
  648. package/node_modules/@radix-ui/react-direction/dist/index.js.map +0 -7
  649. package/node_modules/@radix-ui/react-direction/dist/index.mjs +0 -19
  650. package/node_modules/@radix-ui/react-direction/dist/index.mjs.map +0 -7
  651. package/node_modules/@radix-ui/react-direction/package.json +0 -47
  652. package/node_modules/@radix-ui/react-dismissable-layer/README.md +0 -13
  653. package/node_modules/@radix-ui/react-dismissable-layer/dist/index.d.mts +0 -51
  654. package/node_modules/@radix-ui/react-dismissable-layer/dist/index.d.ts +0 -51
  655. package/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -253
  656. package/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +0 -7
  657. package/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs +0 -221
  658. package/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs.map +0 -7
  659. package/node_modules/@radix-ui/react-dismissable-layer/package.json +0 -62
  660. package/node_modules/@radix-ui/react-focus-guards/README.md +0 -13
  661. package/node_modules/@radix-ui/react-focus-guards/dist/index.d.mts +0 -9
  662. package/node_modules/@radix-ui/react-focus-guards/dist/index.d.ts +0 -9
  663. package/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -69
  664. package/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +0 -7
  665. package/node_modules/@radix-ui/react-focus-guards/dist/index.mjs +0 -37
  666. package/node_modules/@radix-ui/react-focus-guards/dist/index.mjs.map +0 -7
  667. package/node_modules/@radix-ui/react-focus-guards/package.json +0 -47
  668. package/node_modules/@radix-ui/react-focus-scope/README.md +0 -13
  669. package/node_modules/@radix-ui/react-focus-scope/dist/index.d.mts +0 -32
  670. package/node_modules/@radix-ui/react-focus-scope/dist/index.d.ts +0 -32
  671. package/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -246
  672. package/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +0 -7
  673. package/node_modules/@radix-ui/react-focus-scope/dist/index.mjs +0 -214
  674. package/node_modules/@radix-ui/react-focus-scope/dist/index.mjs.map +0 -7
  675. package/node_modules/@radix-ui/react-focus-scope/package.json +0 -57
  676. package/node_modules/@radix-ui/react-id/README.md +0 -13
  677. package/node_modules/@radix-ui/react-id/dist/index.d.mts +0 -3
  678. package/node_modules/@radix-ui/react-id/dist/index.d.ts +0 -3
  679. package/node_modules/@radix-ui/react-id/dist/index.js +0 -49
  680. package/node_modules/@radix-ui/react-id/dist/index.js.map +0 -7
  681. package/node_modules/@radix-ui/react-id/dist/index.mjs +0 -16
  682. package/node_modules/@radix-ui/react-id/dist/index.mjs.map +0 -7
  683. package/node_modules/@radix-ui/react-id/package.json +0 -50
  684. package/node_modules/@radix-ui/react-popover/README.md +0 -13
  685. package/node_modules/@radix-ui/react-popover/dist/index.d.mts +0 -95
  686. package/node_modules/@radix-ui/react-popover/dist/index.d.ts +0 -95
  687. package/node_modules/@radix-ui/react-popover/dist/index.js +0 -350
  688. package/node_modules/@radix-ui/react-popover/dist/index.js.map +0 -7
  689. package/node_modules/@radix-ui/react-popover/dist/index.mjs +0 -318
  690. package/node_modules/@radix-ui/react-popover/dist/index.mjs.map +0 -7
  691. package/node_modules/@radix-ui/react-popover/package.json +0 -69
  692. package/node_modules/@radix-ui/react-popper/README.md +0 -13
  693. package/node_modules/@radix-ui/react-popper/dist/index.d.mts +0 -56
  694. package/node_modules/@radix-ui/react-popper/dist/index.d.ts +0 -56
  695. package/node_modules/@radix-ui/react-popper/dist/index.js +0 -325
  696. package/node_modules/@radix-ui/react-popper/dist/index.js.map +0 -7
  697. package/node_modules/@radix-ui/react-popper/dist/index.mjs +0 -303
  698. package/node_modules/@radix-ui/react-popper/dist/index.mjs.map +0 -7
  699. package/node_modules/@radix-ui/react-popper/package.json +0 -64
  700. package/node_modules/@radix-ui/react-portal/README.md +0 -13
  701. package/node_modules/@radix-ui/react-portal/dist/index.d.mts +0 -14
  702. package/node_modules/@radix-ui/react-portal/dist/index.d.ts +0 -14
  703. package/node_modules/@radix-ui/react-portal/dist/index.js +0 -55
  704. package/node_modules/@radix-ui/react-portal/dist/index.js.map +0 -7
  705. package/node_modules/@radix-ui/react-portal/dist/index.mjs +0 -23
  706. package/node_modules/@radix-ui/react-portal/dist/index.mjs.map +0 -7
  707. package/node_modules/@radix-ui/react-portal/package.json +0 -56
  708. package/node_modules/@radix-ui/react-presence/README.md +0 -13
  709. package/node_modules/@radix-ui/react-presence/dist/index.d.mts +0 -11
  710. package/node_modules/@radix-ui/react-presence/dist/index.d.ts +0 -11
  711. package/node_modules/@radix-ui/react-presence/dist/index.js +0 -158
  712. package/node_modules/@radix-ui/react-presence/dist/index.js.map +0 -7
  713. package/node_modules/@radix-ui/react-presence/dist/index.mjs +0 -126
  714. package/node_modules/@radix-ui/react-presence/dist/index.mjs.map +0 -7
  715. package/node_modules/@radix-ui/react-presence/package.json +0 -56
  716. package/node_modules/@radix-ui/react-primitive/README.md +0 -13
  717. package/node_modules/@radix-ui/react-primitive/dist/index.d.mts +0 -52
  718. package/node_modules/@radix-ui/react-primitive/dist/index.d.ts +0 -52
  719. package/node_modules/@radix-ui/react-primitive/dist/index.js +0 -78
  720. package/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -7
  721. package/node_modules/@radix-ui/react-primitive/dist/index.mjs +0 -45
  722. package/node_modules/@radix-ui/react-primitive/dist/index.mjs.map +0 -7
  723. package/node_modules/@radix-ui/react-primitive/package.json +0 -58
  724. package/node_modules/@radix-ui/react-roving-focus/README.md +0 -13
  725. package/node_modules/@radix-ui/react-roving-focus/dist/index.d.mts +0 -55
  726. package/node_modules/@radix-ui/react-roving-focus/dist/index.d.ts +0 -55
  727. package/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -260
  728. package/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +0 -7
  729. package/node_modules/@radix-ui/react-roving-focus/dist/index.mjs +0 -228
  730. package/node_modules/@radix-ui/react-roving-focus/dist/index.mjs.map +0 -7
  731. package/node_modules/@radix-ui/react-roving-focus/package.json +0 -63
  732. package/node_modules/@radix-ui/react-select/README.md +0 -13
  733. package/node_modules/@radix-ui/react-select/dist/index.d.mts +0 -144
  734. package/node_modules/@radix-ui/react-select/dist/index.d.ts +0 -144
  735. package/node_modules/@radix-ui/react-select/dist/index.js +0 -1182
  736. package/node_modules/@radix-ui/react-select/dist/index.js.map +0 -7
  737. package/node_modules/@radix-ui/react-select/dist/index.mjs +0 -1150
  738. package/node_modules/@radix-ui/react-select/dist/index.mjs.map +0 -7
  739. package/node_modules/@radix-ui/react-select/package.json +0 -75
  740. package/node_modules/@radix-ui/react-slot/README.md +0 -13
  741. package/node_modules/@radix-ui/react-slot/dist/index.d.mts +0 -13
  742. package/node_modules/@radix-ui/react-slot/dist/index.d.ts +0 -13
  743. package/node_modules/@radix-ui/react-slot/dist/index.js +0 -118
  744. package/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -7
  745. package/node_modules/@radix-ui/react-slot/dist/index.mjs +0 -85
  746. package/node_modules/@radix-ui/react-slot/dist/index.mjs.map +0 -7
  747. package/node_modules/@radix-ui/react-slot/package.json +0 -50
  748. package/node_modules/@radix-ui/react-tabs/README.md +0 -13
  749. package/node_modules/@radix-ui/react-tabs/dist/index.d.mts +0 -66
  750. package/node_modules/@radix-ui/react-tabs/dist/index.d.ts +0 -66
  751. package/node_modules/@radix-ui/react-tabs/dist/index.js +0 -231
  752. package/node_modules/@radix-ui/react-tabs/dist/index.js.map +0 -7
  753. package/node_modules/@radix-ui/react-tabs/dist/index.mjs +0 -199
  754. package/node_modules/@radix-ui/react-tabs/dist/index.mjs.map +0 -7
  755. package/node_modules/@radix-ui/react-tabs/package.json +0 -62
  756. package/node_modules/@radix-ui/react-toast/README.md +0 -13
  757. package/node_modules/@radix-ui/react-toast/dist/index.d.mts +0 -130
  758. package/node_modules/@radix-ui/react-toast/dist/index.d.ts +0 -130
  759. package/node_modules/@radix-ui/react-toast/dist/index.js +0 -681
  760. package/node_modules/@radix-ui/react-toast/dist/index.js.map +0 -7
  761. package/node_modules/@radix-ui/react-toast/dist/index.mjs +0 -649
  762. package/node_modules/@radix-ui/react-toast/dist/index.mjs.map +0 -7
  763. package/node_modules/@radix-ui/react-toast/package.json +0 -66
  764. package/node_modules/@radix-ui/react-use-callback-ref/README.md +0 -13
  765. package/node_modules/@radix-ui/react-use-callback-ref/dist/index.d.mts +0 -7
  766. package/node_modules/@radix-ui/react-use-callback-ref/dist/index.d.ts +0 -7
  767. package/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -46
  768. package/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +0 -7
  769. package/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs +0 -13
  770. package/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs.map +0 -7
  771. package/node_modules/@radix-ui/react-use-callback-ref/package.json +0 -47
  772. package/node_modules/@radix-ui/react-use-controllable-state/README.md +0 -13
  773. package/node_modules/@radix-ui/react-use-controllable-state/dist/index.d.mts +0 -10
  774. package/node_modules/@radix-ui/react-use-controllable-state/dist/index.d.ts +0 -10
  775. package/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -80
  776. package/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +0 -7
  777. package/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs +0 -47
  778. package/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs.map +0 -7
  779. package/node_modules/@radix-ui/react-use-controllable-state/package.json +0 -50
  780. package/node_modules/@radix-ui/react-use-escape-keydown/README.md +0 -13
  781. package/node_modules/@radix-ui/react-use-escape-keydown/dist/index.d.mts +0 -6
  782. package/node_modules/@radix-ui/react-use-escape-keydown/dist/index.d.ts +0 -6
  783. package/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -52
  784. package/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +0 -7
  785. package/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs +0 -19
  786. package/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs.map +0 -7
  787. package/node_modules/@radix-ui/react-use-escape-keydown/package.json +0 -50
  788. package/node_modules/@radix-ui/react-use-layout-effect/README.md +0 -13
  789. package/node_modules/@radix-ui/react-use-layout-effect/dist/index.d.mts +0 -12
  790. package/node_modules/@radix-ui/react-use-layout-effect/dist/index.d.ts +0 -12
  791. package/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -41
  792. package/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +0 -7
  793. package/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs +0 -8
  794. package/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs.map +0 -7
  795. package/node_modules/@radix-ui/react-use-layout-effect/package.json +0 -47
  796. package/node_modules/@radix-ui/react-use-previous/README.md +0 -13
  797. package/node_modules/@radix-ui/react-use-previous/dist/index.d.mts +0 -3
  798. package/node_modules/@radix-ui/react-use-previous/dist/index.d.ts +0 -3
  799. package/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -49
  800. package/node_modules/@radix-ui/react-use-previous/dist/index.js.map +0 -7
  801. package/node_modules/@radix-ui/react-use-previous/dist/index.mjs +0 -16
  802. package/node_modules/@radix-ui/react-use-previous/dist/index.mjs.map +0 -7
  803. package/node_modules/@radix-ui/react-use-previous/package.json +0 -47
  804. package/node_modules/@radix-ui/react-use-rect/README.md +0 -13
  805. package/node_modules/@radix-ui/react-use-rect/dist/index.d.mts +0 -9
  806. package/node_modules/@radix-ui/react-use-rect/dist/index.d.ts +0 -9
  807. package/node_modules/@radix-ui/react-use-rect/dist/index.js +0 -54
  808. package/node_modules/@radix-ui/react-use-rect/dist/index.js.map +0 -7
  809. package/node_modules/@radix-ui/react-use-rect/dist/index.mjs +0 -21
  810. package/node_modules/@radix-ui/react-use-rect/dist/index.mjs.map +0 -7
  811. package/node_modules/@radix-ui/react-use-rect/package.json +0 -50
  812. package/node_modules/@radix-ui/react-use-size/README.md +0 -13
  813. package/node_modules/@radix-ui/react-use-size/dist/index.d.mts +0 -6
  814. package/node_modules/@radix-ui/react-use-size/dist/index.d.ts +0 -6
  815. package/node_modules/@radix-ui/react-use-size/dist/index.js +0 -74
  816. package/node_modules/@radix-ui/react-use-size/dist/index.js.map +0 -7
  817. package/node_modules/@radix-ui/react-use-size/dist/index.mjs +0 -41
  818. package/node_modules/@radix-ui/react-use-size/dist/index.mjs.map +0 -7
  819. package/node_modules/@radix-ui/react-use-size/package.json +0 -53
  820. package/node_modules/@radix-ui/react-visually-hidden/README.md +0 -13
  821. package/node_modules/@radix-ui/react-visually-hidden/dist/index.d.mts +0 -10
  822. package/node_modules/@radix-ui/react-visually-hidden/dist/index.d.ts +0 -10
  823. package/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -70
  824. package/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +0 -7
  825. package/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs +0 -37
  826. package/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs.map +0 -7
  827. package/node_modules/@radix-ui/react-visually-hidden/package.json +0 -55
  828. package/node_modules/@radix-ui/rect/README.md +0 -13
  829. package/node_modules/@radix-ui/rect/dist/index.d.mts +0 -16
  830. package/node_modules/@radix-ui/rect/dist/index.d.ts +0 -16
  831. package/node_modules/@radix-ui/rect/dist/index.js +0 -73
  832. package/node_modules/@radix-ui/rect/dist/index.js.map +0 -7
  833. package/node_modules/@radix-ui/rect/dist/index.mjs +0 -50
  834. package/node_modules/@radix-ui/rect/dist/index.mjs.map +0 -7
  835. package/node_modules/@radix-ui/rect/package.json +0 -38
  836. package/node_modules/@remix-run/react/CHANGELOG.md +0 -964
  837. package/node_modules/@remix-run/react/LICENSE.md +0 -22
  838. package/node_modules/@remix-run/react/README.md +0 -13
  839. package/node_modules/@remix-run/react/dist/_virtual/_rollupPluginBabelHelpers.js +0 -30
  840. package/node_modules/@remix-run/react/dist/browser.d.ts +0 -37
  841. package/node_modules/@remix-run/react/dist/browser.js +0 -268
  842. package/node_modules/@remix-run/react/dist/components.d.ts +0 -137
  843. package/node_modules/@remix-run/react/dist/components.js +0 -911
  844. package/node_modules/@remix-run/react/dist/data.d.ts +0 -15
  845. package/node_modules/@remix-run/react/dist/data.js +0 -280
  846. package/node_modules/@remix-run/react/dist/entry.d.ts +0 -51
  847. package/node_modules/@remix-run/react/dist/errorBoundaries.d.ts +0 -36
  848. package/node_modules/@remix-run/react/dist/errorBoundaries.js +0 -186
  849. package/node_modules/@remix-run/react/dist/errors.d.ts +0 -2
  850. package/node_modules/@remix-run/react/dist/errors.js +0 -53
  851. package/node_modules/@remix-run/react/dist/esm/_virtual/_rollupPluginBabelHelpers.js +0 -26
  852. package/node_modules/@remix-run/react/dist/esm/browser.js +0 -308
  853. package/node_modules/@remix-run/react/dist/esm/components.js +0 -878
  854. package/node_modules/@remix-run/react/dist/esm/data.js +0 -267
  855. package/node_modules/@remix-run/react/dist/esm/errorBoundaries.js +0 -160
  856. package/node_modules/@remix-run/react/dist/esm/errors.js +0 -49
  857. package/node_modules/@remix-run/react/dist/esm/fallback.js +0 -35
  858. package/node_modules/@remix-run/react/dist/esm/fog-of-war.js +0 -226
  859. package/node_modules/@remix-run/react/dist/esm/index.js +0 -17
  860. package/node_modules/@remix-run/react/dist/esm/invariant.js +0 -17
  861. package/node_modules/@remix-run/react/dist/esm/links.js +0 -258
  862. package/node_modules/@remix-run/react/dist/esm/markup.js +0 -34
  863. package/node_modules/@remix-run/react/dist/esm/routeModules.js +0 -89
  864. package/node_modules/@remix-run/react/dist/esm/routes.js +0 -411
  865. package/node_modules/@remix-run/react/dist/esm/scroll-restoration.js +0 -84
  866. package/node_modules/@remix-run/react/dist/esm/server.js +0 -93
  867. package/node_modules/@remix-run/react/dist/esm/single-fetch.js +0 -309
  868. package/node_modules/@remix-run/react/dist/fallback.d.ts +0 -2
  869. package/node_modules/@remix-run/react/dist/fallback.js +0 -59
  870. package/node_modules/@remix-run/react/dist/fog-of-war.d.ts +0 -37
  871. package/node_modules/@remix-run/react/dist/fog-of-war.js +0 -254
  872. package/node_modules/@remix-run/react/dist/index.d.ts +0 -16
  873. package/node_modules/@remix-run/react/dist/index.js +0 -227
  874. package/node_modules/@remix-run/react/dist/invariant.d.ts +0 -2
  875. package/node_modules/@remix-run/react/dist/invariant.js +0 -19
  876. package/node_modules/@remix-run/react/dist/links.d.ts +0 -128
  877. package/node_modules/@remix-run/react/dist/links.js +0 -268
  878. package/node_modules/@remix-run/react/dist/markup.d.ts +0 -5
  879. package/node_modules/@remix-run/react/dist/markup.js +0 -39
  880. package/node_modules/@remix-run/react/dist/routeModules.d.ts +0 -132
  881. package/node_modules/@remix-run/react/dist/routeModules.js +0 -111
  882. package/node_modules/@remix-run/react/dist/routes.d.ts +0 -32
  883. package/node_modules/@remix-run/react/dist/routes.js +0 -438
  884. package/node_modules/@remix-run/react/dist/scroll-restoration.d.ts +0 -12
  885. package/node_modules/@remix-run/react/dist/scroll-restoration.js +0 -108
  886. package/node_modules/@remix-run/react/dist/server.d.ts +0 -14
  887. package/node_modules/@remix-run/react/dist/server.js +0 -117
  888. package/node_modules/@remix-run/react/dist/single-fetch.d.ts +0 -34
  889. package/node_modules/@remix-run/react/dist/single-fetch.js +0 -339
  890. package/node_modules/@remix-run/react/dist/warnings.d.ts +0 -1
  891. package/node_modules/@remix-run/react/future/single-fetch.d.ts +0 -73
  892. package/node_modules/@remix-run/react/package.json +0 -59
  893. package/node_modules/@remix-run/router/CHANGELOG.md +0 -747
  894. package/node_modules/@remix-run/router/LICENSE.md +0 -23
  895. package/node_modules/@remix-run/router/README.md +0 -135
  896. package/node_modules/@remix-run/router/dist/history.d.ts +0 -250
  897. package/node_modules/@remix-run/router/dist/index.d.ts +0 -9
  898. package/node_modules/@remix-run/router/dist/router.cjs.js +0 -5407
  899. package/node_modules/@remix-run/router/dist/router.cjs.js.map +0 -1
  900. package/node_modules/@remix-run/router/dist/router.d.ts +0 -523
  901. package/node_modules/@remix-run/router/dist/router.js +0 -4856
  902. package/node_modules/@remix-run/router/dist/router.js.map +0 -1
  903. package/node_modules/@remix-run/router/dist/router.umd.js +0 -5413
  904. package/node_modules/@remix-run/router/dist/router.umd.js.map +0 -1
  905. package/node_modules/@remix-run/router/dist/router.umd.min.js +0 -12
  906. package/node_modules/@remix-run/router/dist/router.umd.min.js.map +0 -1
  907. package/node_modules/@remix-run/router/dist/utils.d.ts +0 -528
  908. package/node_modules/@remix-run/router/history.ts +0 -746
  909. package/node_modules/@remix-run/router/index.ts +0 -101
  910. package/node_modules/@remix-run/router/package.json +0 -33
  911. package/node_modules/@remix-run/router/router.ts +0 -5760
  912. package/node_modules/@remix-run/router/utils.ts +0 -1673
  913. package/node_modules/@remix-run/server-runtime/CHANGELOG.md +0 -1023
  914. package/node_modules/@remix-run/server-runtime/LICENSE.md +0 -22
  915. package/node_modules/@remix-run/server-runtime/README.md +0 -26
  916. package/node_modules/@remix-run/server-runtime/dist/build.d.ts +0 -39
  917. package/node_modules/@remix-run/server-runtime/dist/cookies.d.ts +0 -69
  918. package/node_modules/@remix-run/server-runtime/dist/cookies.js +0 -173
  919. package/node_modules/@remix-run/server-runtime/dist/crypto.d.ts +0 -2
  920. package/node_modules/@remix-run/server-runtime/dist/data.d.ts +0 -33
  921. package/node_modules/@remix-run/server-runtime/dist/data.js +0 -138
  922. package/node_modules/@remix-run/server-runtime/dist/deprecations.d.ts +0 -1
  923. package/node_modules/@remix-run/server-runtime/dist/deprecations.js +0 -19
  924. package/node_modules/@remix-run/server-runtime/dist/dev.d.ts +0 -10
  925. package/node_modules/@remix-run/server-runtime/dist/dev.js +0 -53
  926. package/node_modules/@remix-run/server-runtime/dist/entry.d.ts +0 -43
  927. package/node_modules/@remix-run/server-runtime/dist/entry.js +0 -22
  928. package/node_modules/@remix-run/server-runtime/dist/errors.d.ts +0 -51
  929. package/node_modules/@remix-run/server-runtime/dist/errors.js +0 -122
  930. package/node_modules/@remix-run/server-runtime/dist/esm/cookies.js +0 -168
  931. package/node_modules/@remix-run/server-runtime/dist/esm/data.js +0 -133
  932. package/node_modules/@remix-run/server-runtime/dist/esm/deprecations.js +0 -15
  933. package/node_modules/@remix-run/server-runtime/dist/esm/dev.js +0 -46
  934. package/node_modules/@remix-run/server-runtime/dist/esm/entry.js +0 -18
  935. package/node_modules/@remix-run/server-runtime/dist/esm/errors.js +0 -115
  936. package/node_modules/@remix-run/server-runtime/dist/esm/formData.js +0 -55
  937. package/node_modules/@remix-run/server-runtime/dist/esm/headers.js +0 -90
  938. package/node_modules/@remix-run/server-runtime/dist/esm/index.js +0 -21
  939. package/node_modules/@remix-run/server-runtime/dist/esm/invariant.js +0 -18
  940. package/node_modules/@remix-run/server-runtime/dist/esm/markup.js +0 -29
  941. package/node_modules/@remix-run/server-runtime/dist/esm/mode.js +0 -24
  942. package/node_modules/@remix-run/server-runtime/dist/esm/responses.js +0 -123
  943. package/node_modules/@remix-run/server-runtime/dist/esm/routeMatching.js +0 -23
  944. package/node_modules/@remix-run/server-runtime/dist/esm/routes.js +0 -81
  945. package/node_modules/@remix-run/server-runtime/dist/esm/server.js +0 -524
  946. package/node_modules/@remix-run/server-runtime/dist/esm/serverHandoff.js +0 -20
  947. package/node_modules/@remix-run/server-runtime/dist/esm/sessions/cookieStorage.js +0 -51
  948. package/node_modules/@remix-run/server-runtime/dist/esm/sessions/memoryStorage.js +0 -61
  949. package/node_modules/@remix-run/server-runtime/dist/esm/sessions.js +0 -145
  950. package/node_modules/@remix-run/server-runtime/dist/esm/single-fetch.js +0 -450
  951. package/node_modules/@remix-run/server-runtime/dist/esm/upload/errors.js +0 -19
  952. package/node_modules/@remix-run/server-runtime/dist/esm/upload/memoryUploadHandler.js +0 -50
  953. package/node_modules/@remix-run/server-runtime/dist/esm/warnings.js +0 -19
  954. package/node_modules/@remix-run/server-runtime/dist/formData.d.ts +0 -15
  955. package/node_modules/@remix-run/server-runtime/dist/formData.js +0 -60
  956. package/node_modules/@remix-run/server-runtime/dist/headers.d.ts +0 -3
  957. package/node_modules/@remix-run/server-runtime/dist/headers.js +0 -94
  958. package/node_modules/@remix-run/server-runtime/dist/index.d.ts +0 -14
  959. package/node_modules/@remix-run/server-runtime/dist/index.js +0 -50
  960. package/node_modules/@remix-run/server-runtime/dist/interface.d.ts +0 -6
  961. package/node_modules/@remix-run/server-runtime/dist/invariant.d.ts +0 -2
  962. package/node_modules/@remix-run/server-runtime/dist/invariant.js +0 -22
  963. package/node_modules/@remix-run/server-runtime/dist/jsonify.d.ts +0 -33
  964. package/node_modules/@remix-run/server-runtime/dist/links.d.ts +0 -104
  965. package/node_modules/@remix-run/server-runtime/dist/markup.d.ts +0 -1
  966. package/node_modules/@remix-run/server-runtime/dist/markup.js +0 -33
  967. package/node_modules/@remix-run/server-runtime/dist/mode.d.ts +0 -9
  968. package/node_modules/@remix-run/server-runtime/dist/mode.js +0 -29
  969. package/node_modules/@remix-run/server-runtime/dist/reexport.d.ts +0 -14
  970. package/node_modules/@remix-run/server-runtime/dist/responses.d.ts +0 -47
  971. package/node_modules/@remix-run/server-runtime/dist/responses.js +0 -135
  972. package/node_modules/@remix-run/server-runtime/dist/routeMatching.d.ts +0 -8
  973. package/node_modules/@remix-run/server-runtime/dist/routeMatching.js +0 -27
  974. package/node_modules/@remix-run/server-runtime/dist/routeModules.d.ts +0 -214
  975. package/node_modules/@remix-run/server-runtime/dist/routes.d.ts +0 -31
  976. package/node_modules/@remix-run/server-runtime/dist/routes.js +0 -86
  977. package/node_modules/@remix-run/server-runtime/dist/serialize.d.ts +0 -25
  978. package/node_modules/@remix-run/server-runtime/dist/server.d.ts +0 -5
  979. package/node_modules/@remix-run/server-runtime/dist/server.js +0 -528
  980. package/node_modules/@remix-run/server-runtime/dist/serverHandoff.d.ts +0 -12
  981. package/node_modules/@remix-run/server-runtime/dist/serverHandoff.js +0 -24
  982. package/node_modules/@remix-run/server-runtime/dist/sessions/cookieStorage.d.ts +0 -23
  983. package/node_modules/@remix-run/server-runtime/dist/sessions/cookieStorage.js +0 -55
  984. package/node_modules/@remix-run/server-runtime/dist/sessions/memoryStorage.d.ts +0 -20
  985. package/node_modules/@remix-run/server-runtime/dist/sessions/memoryStorage.js +0 -65
  986. package/node_modules/@remix-run/server-runtime/dist/sessions.d.ts +0 -143
  987. package/node_modules/@remix-run/server-runtime/dist/sessions.js +0 -152
  988. package/node_modules/@remix-run/server-runtime/dist/single-fetch.d.ts +0 -90
  989. package/node_modules/@remix-run/server-runtime/dist/single-fetch.js +0 -468
  990. package/node_modules/@remix-run/server-runtime/dist/typecheck.d.ts +0 -4
  991. package/node_modules/@remix-run/server-runtime/dist/upload/errors.d.ts +0 -5
  992. package/node_modules/@remix-run/server-runtime/dist/upload/errors.js +0 -23
  993. package/node_modules/@remix-run/server-runtime/dist/upload/memoryUploadHandler.d.ts +0 -21
  994. package/node_modules/@remix-run/server-runtime/dist/upload/memoryUploadHandler.js +0 -54
  995. package/node_modules/@remix-run/server-runtime/dist/warnings.d.ts +0 -1
  996. package/node_modules/@remix-run/server-runtime/dist/warnings.js +0 -23
  997. package/node_modules/@remix-run/server-runtime/package.json +0 -51
  998. package/node_modules/@types/cookie/LICENSE +0 -21
  999. package/node_modules/@types/cookie/README.md +0 -15
  1000. package/node_modules/@types/cookie/index.d.ts +0 -154
  1001. package/node_modules/@types/cookie/package.json +0 -30
  1002. package/node_modules/@web3-storage/multipart-parser/README.md +0 -37
  1003. package/node_modules/@web3-storage/multipart-parser/cjs/src/index.js +0 -218
  1004. package/node_modules/@web3-storage/multipart-parser/cjs/src/search.js +0 -269
  1005. package/node_modules/@web3-storage/multipart-parser/cjs/src/utils.js +0 -37
  1006. package/node_modules/@web3-storage/multipart-parser/esm/package.json +0 -4
  1007. package/node_modules/@web3-storage/multipart-parser/esm/src/index.js +0 -219
  1008. package/node_modules/@web3-storage/multipart-parser/esm/src/search.js +0 -269
  1009. package/node_modules/@web3-storage/multipart-parser/esm/src/utils.js +0 -28
  1010. package/node_modules/@web3-storage/multipart-parser/index.js +0 -1
  1011. package/node_modules/@web3-storage/multipart-parser/package.json +0 -44
  1012. package/node_modules/@web3-storage/multipart-parser/src/index.js +0 -257
  1013. package/node_modules/@web3-storage/multipart-parser/src/search.js +0 -329
  1014. package/node_modules/@web3-storage/multipart-parser/src/utils.js +0 -43
  1015. package/node_modules/@web3-storage/multipart-parser/test/test.spec.js +0 -65
  1016. package/node_modules/@web3-storage/multipart-parser/tsconfig.json +0 -41
  1017. package/node_modules/@web3-storage/multipart-parser/types/index.d.ts +0 -15
  1018. package/node_modules/@web3-storage/multipart-parser/types/index.d.ts.map +0 -1
  1019. package/node_modules/@web3-storage/multipart-parser/types/search.d.ts +0 -36
  1020. package/node_modules/@web3-storage/multipart-parser/types/search.d.ts.map +0 -1
  1021. package/node_modules/@web3-storage/multipart-parser/types/utils.d.ts +0 -18
  1022. package/node_modules/@web3-storage/multipart-parser/types/utils.d.ts.map +0 -1
  1023. package/node_modules/aria-hidden/LICENSE +0 -21
  1024. package/node_modules/aria-hidden/README.md +0 -99
  1025. package/node_modules/aria-hidden/dist/es2015/index.d.ts +0 -29
  1026. package/node_modules/aria-hidden/dist/es2015/index.js +0 -166
  1027. package/node_modules/aria-hidden/dist/es2019/index.d.ts +0 -29
  1028. package/node_modules/aria-hidden/dist/es2019/index.js +0 -155
  1029. package/node_modules/aria-hidden/dist/es5/index.d.ts +0 -29
  1030. package/node_modules/aria-hidden/dist/es5/index.js +0 -173
  1031. package/node_modules/aria-hidden/package.json +0 -70
  1032. package/node_modules/assertion-error/LICENSE +0 -21
  1033. package/node_modules/assertion-error/README.md +0 -68
  1034. package/node_modules/assertion-error/index.d.ts +0 -27
  1035. package/node_modules/assertion-error/index.js +0 -60
  1036. package/node_modules/assertion-error/package.json +0 -32
  1037. package/node_modules/chai/CODEOWNERS +0 -1
  1038. package/node_modules/chai/CODE_OF_CONDUCT.md +0 -58
  1039. package/node_modules/chai/CONTRIBUTING.md +0 -218
  1040. package/node_modules/chai/History.md +0 -1059
  1041. package/node_modules/chai/LICENSE +0 -21
  1042. package/node_modules/chai/README.md +0 -154
  1043. package/node_modules/chai/ReleaseNotes.md +0 -737
  1044. package/node_modules/chai/chai.js +0 -4018
  1045. package/node_modules/chai/eslint.config.js +0 -12
  1046. package/node_modules/chai/index.js +0 -1
  1047. package/node_modules/chai/lib/chai/assertion.js +0 -164
  1048. package/node_modules/chai/lib/chai/config.js +0 -114
  1049. package/node_modules/chai/lib/chai/core/assertions.js +0 -3933
  1050. package/node_modules/chai/lib/chai/interface/assert.js +0 -3012
  1051. package/node_modules/chai/lib/chai/interface/expect.js +0 -55
  1052. package/node_modules/chai/lib/chai/interface/should.js +0 -221
  1053. package/node_modules/chai/lib/chai/utils/addChainableMethod.js +0 -147
  1054. package/node_modules/chai/lib/chai/utils/addLengthGuard.js +0 -60
  1055. package/node_modules/chai/lib/chai/utils/addMethod.js +0 -67
  1056. package/node_modules/chai/lib/chai/utils/addProperty.js +0 -71
  1057. package/node_modules/chai/lib/chai/utils/compareByInspect.js +0 -26
  1058. package/node_modules/chai/lib/chai/utils/expectTypes.js +0 -50
  1059. package/node_modules/chai/lib/chai/utils/flag.js +0 -33
  1060. package/node_modules/chai/lib/chai/utils/getActual.js +0 -20
  1061. package/node_modules/chai/lib/chai/utils/getEnumerableProperties.js +0 -25
  1062. package/node_modules/chai/lib/chai/utils/getMessage.js +0 -46
  1063. package/node_modules/chai/lib/chai/utils/getOperator.js +0 -58
  1064. package/node_modules/chai/lib/chai/utils/getOwnEnumerableProperties.js +0 -24
  1065. package/node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js +0 -26
  1066. package/node_modules/chai/lib/chai/utils/getProperties.js +0 -38
  1067. package/node_modules/chai/lib/chai/utils/index.js +0 -107
  1068. package/node_modules/chai/lib/chai/utils/inspect.js +0 -31
  1069. package/node_modules/chai/lib/chai/utils/isNaN.js +0 -26
  1070. package/node_modules/chai/lib/chai/utils/isProxyEnabled.js +0 -24
  1071. package/node_modules/chai/lib/chai/utils/objDisplay.js +0 -46
  1072. package/node_modules/chai/lib/chai/utils/overwriteChainableMethod.js +0 -68
  1073. package/node_modules/chai/lib/chai/utils/overwriteMethod.js +0 -91
  1074. package/node_modules/chai/lib/chai/utils/overwriteProperty.js +0 -90
  1075. package/node_modules/chai/lib/chai/utils/proxify.js +0 -147
  1076. package/node_modules/chai/lib/chai/utils/test.js +0 -24
  1077. package/node_modules/chai/lib/chai/utils/transferFlags.js +0 -43
  1078. package/node_modules/chai/lib/chai/utils/type-detect.js +0 -20
  1079. package/node_modules/chai/lib/chai.js +0 -65
  1080. package/node_modules/chai/package.json +0 -61
  1081. package/node_modules/chai/register-assert.cjs +0 -3
  1082. package/node_modules/chai/register-assert.js +0 -3
  1083. package/node_modules/chai/register-expect.cjs +0 -3
  1084. package/node_modules/chai/register-expect.js +0 -3
  1085. package/node_modules/chai/register-should.cjs +0 -3
  1086. package/node_modules/chai/register-should.js +0 -3
  1087. package/node_modules/chai/web-test-runner.config.js +0 -20
  1088. package/node_modules/chai-dom/.eslintrc +0 -22
  1089. package/node_modules/chai-dom/.travis.yml +0 -15
  1090. package/node_modules/chai-dom/LICENSE +0 -24
  1091. package/node_modules/chai-dom/README.md +0 -267
  1092. package/node_modules/chai-dom/bower.json +0 -31
  1093. package/node_modules/chai-dom/chai-dom.js +0 -429
  1094. package/node_modules/chai-dom/package.json +0 -44
  1095. package/node_modules/chai-dom/test/.eslintrc +0 -12
  1096. package/node_modules/chai-dom/test/index.html +0 -27
  1097. package/node_modules/chai-dom/test/tests.js +0 -1124
  1098. package/node_modules/chai-dom/testem.js +0 -31
  1099. package/node_modules/check-error/LICENSE +0 -19
  1100. package/node_modules/check-error/README.md +0 -144
  1101. package/node_modules/check-error/index.js +0 -135
  1102. package/node_modules/check-error/package.json +0 -66
  1103. package/node_modules/clsx/clsx.d.mts +0 -6
  1104. package/node_modules/clsx/clsx.d.ts +0 -10
  1105. package/node_modules/clsx/dist/clsx.js +0 -1
  1106. package/node_modules/clsx/dist/clsx.min.js +0 -1
  1107. package/node_modules/clsx/dist/clsx.mjs +0 -1
  1108. package/node_modules/clsx/dist/lite.js +0 -1
  1109. package/node_modules/clsx/dist/lite.mjs +0 -1
  1110. package/node_modules/clsx/license +0 -9
  1111. package/node_modules/clsx/package.json +0 -60
  1112. package/node_modules/clsx/readme.md +0 -154
  1113. package/node_modules/cookie/HISTORY.md +0 -147
  1114. package/node_modules/cookie/LICENSE +0 -24
  1115. package/node_modules/cookie/README.md +0 -317
  1116. package/node_modules/cookie/SECURITY.md +0 -25
  1117. package/node_modules/cookie/index.js +0 -274
  1118. package/node_modules/cookie/package.json +0 -44
  1119. package/node_modules/deep-eql/LICENSE +0 -19
  1120. package/node_modules/deep-eql/README.md +0 -93
  1121. package/node_modules/deep-eql/index.js +0 -513
  1122. package/node_modules/deep-eql/package.json +0 -73
  1123. package/node_modules/detect-node-es/LICENSE +0 -21
  1124. package/node_modules/detect-node-es/Readme.md +0 -39
  1125. package/node_modules/detect-node-es/es5/browser.js +0 -2
  1126. package/node_modules/detect-node-es/es5/node.d.ts +0 -4
  1127. package/node_modules/detect-node-es/es5/node.js +0 -2
  1128. package/node_modules/detect-node-es/esm/browser.js +0 -2
  1129. package/node_modules/detect-node-es/esm/node.js +0 -2
  1130. package/node_modules/detect-node-es/package.json +0 -29
  1131. package/node_modules/framer-motion/LICENSE.md +0 -21
  1132. package/node_modules/framer-motion/README.md +0 -105
  1133. package/node_modules/framer-motion/dist/cjs/dom-entry-GDJJhIpT.js +0 -5959
  1134. package/node_modules/framer-motion/dist/cjs/dom-entry.js +0 -53
  1135. package/node_modules/framer-motion/dist/cjs/index.js +0 -6566
  1136. package/node_modules/framer-motion/dist/dom-entry.d.ts +0 -964
  1137. package/node_modules/framer-motion/dist/dom.js +0 -1
  1138. package/node_modules/framer-motion/dist/es/animation/GroupPlaybackControls.mjs +0 -80
  1139. package/node_modules/framer-motion/dist/es/animation/animate.mjs +0 -83
  1140. package/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.mjs +0 -295
  1141. package/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.mjs +0 -84
  1142. package/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.mjs +0 -382
  1143. package/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.mjs +0 -17
  1144. package/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.mjs +0 -40
  1145. package/node_modules/framer-motion/dist/es/animation/animators/waapi/easing.mjs +0 -40
  1146. package/node_modules/framer-motion/dist/es/animation/animators/waapi/index.mjs +0 -23
  1147. package/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs +0 -12
  1148. package/node_modules/framer-motion/dist/es/animation/generators/inertia.mjs +0 -87
  1149. package/node_modules/framer-motion/dist/es/animation/generators/keyframes.mjs +0 -51
  1150. package/node_modules/framer-motion/dist/es/animation/generators/spring/find.mjs +0 -89
  1151. package/node_modules/framer-motion/dist/es/animation/generators/spring/index.mjs +0 -131
  1152. package/node_modules/framer-motion/dist/es/animation/generators/utils/calc-duration.mjs +0 -17
  1153. package/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.mjs +0 -9
  1154. package/node_modules/framer-motion/dist/es/animation/hooks/animation-controls.mjs +0 -80
  1155. package/node_modules/framer-motion/dist/es/animation/hooks/use-animate.mjs +0 -17
  1156. package/node_modules/framer-motion/dist/es/animation/hooks/use-animated-state.mjs +0 -62
  1157. package/node_modules/framer-motion/dist/es/animation/hooks/use-animation.mjs +0 -41
  1158. package/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.mjs +0 -112
  1159. package/node_modules/framer-motion/dist/es/animation/interfaces/single-value.mjs +0 -11
  1160. package/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs +0 -80
  1161. package/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.mjs +0 -66
  1162. package/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.mjs +0 -29
  1163. package/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.mjs +0 -6
  1164. package/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs +0 -7
  1165. package/node_modules/framer-motion/dist/es/animation/optimized-appear/handoff.mjs +0 -83
  1166. package/node_modules/framer-motion/dist/es/animation/optimized-appear/start.mjs +0 -80
  1167. package/node_modules/framer-motion/dist/es/animation/optimized-appear/store-id.mjs +0 -3
  1168. package/node_modules/framer-motion/dist/es/animation/optimized-appear/store.mjs +0 -3
  1169. package/node_modules/framer-motion/dist/es/animation/sequence/create.mjs +0 -230
  1170. package/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs +0 -21
  1171. package/node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs +0 -31
  1172. package/node_modules/framer-motion/dist/es/animation/sequence/utils/sort.mjs +0 -14
  1173. package/node_modules/framer-motion/dist/es/animation/utils/create-visual-element.mjs +0 -32
  1174. package/node_modules/framer-motion/dist/es/animation/utils/default-transitions.mjs +0 -40
  1175. package/node_modules/framer-motion/dist/es/animation/utils/is-animatable.mjs +0 -30
  1176. package/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.mjs +0 -7
  1177. package/node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs +0 -5
  1178. package/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs +0 -5
  1179. package/node_modules/framer-motion/dist/es/animation/utils/is-none.mjs +0 -15
  1180. package/node_modules/framer-motion/dist/es/animation/utils/stagger.mjs +0 -26
  1181. package/node_modules/framer-motion/dist/es/animation/utils/transitions.mjs +0 -15
  1182. package/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs +0 -76
  1183. package/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs +0 -57
  1184. package/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs +0 -169
  1185. package/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs +0 -66
  1186. package/node_modules/framer-motion/dist/es/components/AnimateSharedLayout.mjs +0 -15
  1187. package/node_modules/framer-motion/dist/es/components/LayoutGroup/index.mjs +0 -31
  1188. package/node_modules/framer-motion/dist/es/components/LazyMotion/index.mjs +0 -67
  1189. package/node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs +0 -43
  1190. package/node_modules/framer-motion/dist/es/components/Reorder/Group.mjs +0 -52
  1191. package/node_modules/framer-motion/dist/es/components/Reorder/Item.mjs +0 -33
  1192. package/node_modules/framer-motion/dist/es/components/Reorder/index.mjs +0 -9
  1193. package/node_modules/framer-motion/dist/es/components/Reorder/utils/check-reorder.mjs +0 -24
  1194. package/node_modules/framer-motion/dist/es/context/DeprecatedLayoutGroupContext.mjs +0 -10
  1195. package/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs +0 -5
  1196. package/node_modules/framer-motion/dist/es/context/LazyContext.mjs +0 -5
  1197. package/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs +0 -12
  1198. package/node_modules/framer-motion/dist/es/context/MotionContext/create.mjs +0 -13
  1199. package/node_modules/framer-motion/dist/es/context/MotionContext/index.mjs +0 -5
  1200. package/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs +0 -17
  1201. package/node_modules/framer-motion/dist/es/context/PresenceContext.mjs +0 -8
  1202. package/node_modules/framer-motion/dist/es/context/ReorderContext.mjs +0 -5
  1203. package/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs +0 -8
  1204. package/node_modules/framer-motion/dist/es/debug/record.mjs +0 -7
  1205. package/node_modules/framer-motion/dist/es/dom-entry.mjs +0 -25
  1206. package/node_modules/framer-motion/dist/es/easing/anticipate.mjs +0 -5
  1207. package/node_modules/framer-motion/dist/es/easing/back.mjs +0 -9
  1208. package/node_modules/framer-motion/dist/es/easing/circ.mjs +0 -8
  1209. package/node_modules/framer-motion/dist/es/easing/cubic-bezier.mjs +0 -51
  1210. package/node_modules/framer-motion/dist/es/easing/ease.mjs +0 -7
  1211. package/node_modules/framer-motion/dist/es/easing/modifiers/mirror.mjs +0 -5
  1212. package/node_modules/framer-motion/dist/es/easing/modifiers/reverse.mjs +0 -5
  1213. package/node_modules/framer-motion/dist/es/easing/utils/create-generator-easing.mjs +0 -18
  1214. package/node_modules/framer-motion/dist/es/easing/utils/get-easing-for-segment.mjs +0 -8
  1215. package/node_modules/framer-motion/dist/es/easing/utils/is-bezier-definition.mjs +0 -3
  1216. package/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.mjs +0 -5
  1217. package/node_modules/framer-motion/dist/es/easing/utils/map.mjs +0 -37
  1218. package/node_modules/framer-motion/dist/es/events/add-dom-event.mjs +0 -6
  1219. package/node_modules/framer-motion/dist/es/events/add-pointer-event.mjs +0 -8
  1220. package/node_modules/framer-motion/dist/es/events/event-info.mjs +0 -15
  1221. package/node_modules/framer-motion/dist/es/events/use-dom-event.mjs +0 -34
  1222. package/node_modules/framer-motion/dist/es/events/utils/is-primary-pointer.mjs +0 -18
  1223. package/node_modules/framer-motion/dist/es/frameloop/batcher.mjs +0 -65
  1224. package/node_modules/framer-motion/dist/es/frameloop/frame.mjs +0 -6
  1225. package/node_modules/framer-motion/dist/es/frameloop/index-legacy.mjs +0 -20
  1226. package/node_modules/framer-motion/dist/es/frameloop/microtask.mjs +0 -5
  1227. package/node_modules/framer-motion/dist/es/frameloop/render-step.mjs +0 -104
  1228. package/node_modules/framer-motion/dist/es/frameloop/sync-time.mjs +0 -31
  1229. package/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs +0 -484
  1230. package/node_modules/framer-motion/dist/es/gestures/drag/index.mjs +0 -27
  1231. package/node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.mjs +0 -88
  1232. package/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs +0 -129
  1233. package/node_modules/framer-motion/dist/es/gestures/drag/utils/lock.mjs +0 -53
  1234. package/node_modules/framer-motion/dist/es/gestures/focus.mjs +0 -41
  1235. package/node_modules/framer-motion/dist/es/gestures/hover.mjs +0 -33
  1236. package/node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs +0 -156
  1237. package/node_modules/framer-motion/dist/es/gestures/pan/index.mjs +0 -50
  1238. package/node_modules/framer-motion/dist/es/gestures/press.mjs +0 -130
  1239. package/node_modules/framer-motion/dist/es/gestures/utils/is-node-or-child.mjs +0 -20
  1240. package/node_modules/framer-motion/dist/es/index.mjs +0 -101
  1241. package/node_modules/framer-motion/dist/es/motion/features/Feature.mjs +0 -9
  1242. package/node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs +0 -31
  1243. package/node_modules/framer-motion/dist/es/motion/features/animation/index.mjs +0 -41
  1244. package/node_modules/framer-motion/dist/es/motion/features/animations.mjs +0 -13
  1245. package/node_modules/framer-motion/dist/es/motion/features/definitions.mjs +0 -28
  1246. package/node_modules/framer-motion/dist/es/motion/features/drag.mjs +0 -17
  1247. package/node_modules/framer-motion/dist/es/motion/features/gestures.mjs +0 -21
  1248. package/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs +0 -133
  1249. package/node_modules/framer-motion/dist/es/motion/features/layout.mjs +0 -11
  1250. package/node_modules/framer-motion/dist/es/motion/features/load-features.mjs +0 -12
  1251. package/node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs +0 -72
  1252. package/node_modules/framer-motion/dist/es/motion/features/viewport/observers.mjs +0 -49
  1253. package/node_modules/framer-motion/dist/es/motion/index.mjs +0 -97
  1254. package/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs +0 -11
  1255. package/node_modules/framer-motion/dist/es/motion/utils/is-motion-component.mjs +0 -12
  1256. package/node_modules/framer-motion/dist/es/motion/utils/symbol.mjs +0 -3
  1257. package/node_modules/framer-motion/dist/es/motion/utils/unwrap-motion-component.mjs +0 -17
  1258. package/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs +0 -36
  1259. package/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs +0 -127
  1260. package/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs +0 -81
  1261. package/node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs +0 -57
  1262. package/node_modules/framer-motion/dist/es/projection/animation/mix-values.mjs +0 -93
  1263. package/node_modules/framer-motion/dist/es/projection/geometry/conversion.mjs +0 -33
  1264. package/node_modules/framer-motion/dist/es/projection/geometry/copy.mjs +0 -20
  1265. package/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs +0 -122
  1266. package/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.mjs +0 -41
  1267. package/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.mjs +0 -54
  1268. package/node_modules/framer-motion/dist/es/projection/geometry/models.mjs +0 -17
  1269. package/node_modules/framer-motion/dist/es/projection/geometry/utils.mjs +0 -25
  1270. package/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs +0 -13
  1271. package/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs +0 -27
  1272. package/node_modules/framer-motion/dist/es/projection/node/create-projection-node.mjs +0 -1562
  1273. package/node_modules/framer-motion/dist/es/projection/node/group.mjs +0 -24
  1274. package/node_modules/framer-motion/dist/es/projection/node/state.mjs +0 -19
  1275. package/node_modules/framer-motion/dist/es/projection/shared/stack.mjs +0 -112
  1276. package/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.mjs +0 -41
  1277. package/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs +0 -35
  1278. package/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs +0 -6
  1279. package/node_modules/framer-motion/dist/es/projection/styles/transform.mjs +0 -49
  1280. package/node_modules/framer-motion/dist/es/projection/use-instant-layout-transition.mjs +0 -14
  1281. package/node_modules/framer-motion/dist/es/projection/use-reset-projection.mjs +0 -14
  1282. package/node_modules/framer-motion/dist/es/projection/utils/each-axis.mjs +0 -5
  1283. package/node_modules/framer-motion/dist/es/projection/utils/has-transform.mjs +0 -26
  1284. package/node_modules/framer-motion/dist/es/projection/utils/measure.mjs +0 -17
  1285. package/node_modules/framer-motion/dist/es/projection-entry.mjs +0 -11
  1286. package/node_modules/framer-motion/dist/es/render/VisualElement.mjs +0 -496
  1287. package/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.mjs +0 -130
  1288. package/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.mjs +0 -28
  1289. package/node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs +0 -15
  1290. package/node_modules/framer-motion/dist/es/render/dom/features-animation.mjs +0 -14
  1291. package/node_modules/framer-motion/dist/es/render/dom/features-max.mjs +0 -14
  1292. package/node_modules/framer-motion/dist/es/render/dom/motion-minimal.mjs +0 -9
  1293. package/node_modules/framer-motion/dist/es/render/dom/motion-proxy.mjs +0 -47
  1294. package/node_modules/framer-motion/dist/es/render/dom/motion.mjs +0 -42
  1295. package/node_modules/framer-motion/dist/es/render/dom/resize/handle-element.mjs +0 -64
  1296. package/node_modules/framer-motion/dist/es/render/dom/resize/handle-window.mjs +0 -30
  1297. package/node_modules/framer-motion/dist/es/render/dom/resize/index.mjs +0 -8
  1298. package/node_modules/framer-motion/dist/es/render/dom/scroll/index.mjs +0 -36
  1299. package/node_modules/framer-motion/dist/es/render/dom/scroll/info.mjs +0 -56
  1300. package/node_modules/framer-motion/dist/es/render/dom/scroll/observe.mjs +0 -18
  1301. package/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/edge.mjs +0 -45
  1302. package/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/index.mjs +0 -59
  1303. package/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/inset.mjs +0 -45
  1304. package/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/offset.mjs +0 -35
  1305. package/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/presets.mjs +0 -20
  1306. package/node_modules/framer-motion/dist/es/render/dom/scroll/on-scroll-handler.mjs +0 -48
  1307. package/node_modules/framer-motion/dist/es/render/dom/scroll/supports.mjs +0 -5
  1308. package/node_modules/framer-motion/dist/es/render/dom/scroll/track.mjs +0 -84
  1309. package/node_modules/framer-motion/dist/es/render/dom/use-render.mjs +0 -33
  1310. package/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs +0 -6
  1311. package/node_modules/framer-motion/dist/es/render/dom/utils/create-config.mjs +0 -19
  1312. package/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.mjs +0 -42
  1313. package/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs +0 -59
  1314. package/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.mjs +0 -13
  1315. package/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs +0 -30
  1316. package/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs +0 -5
  1317. package/node_modules/framer-motion/dist/es/render/dom/utils/resolve-element.mjs +0 -28
  1318. package/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.mjs +0 -65
  1319. package/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.mjs +0 -15
  1320. package/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.mjs +0 -30
  1321. package/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.mjs +0 -15
  1322. package/node_modules/framer-motion/dist/es/render/dom/value-types/find.mjs +0 -15
  1323. package/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.mjs +0 -10
  1324. package/node_modules/framer-motion/dist/es/render/dom/value-types/number.mjs +0 -74
  1325. package/node_modules/framer-motion/dist/es/render/dom/value-types/test.mjs +0 -6
  1326. package/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.mjs +0 -9
  1327. package/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.mjs +0 -8
  1328. package/node_modules/framer-motion/dist/es/render/dom/viewport/index.mjs +0 -43
  1329. package/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.mjs +0 -59
  1330. package/node_modules/framer-motion/dist/es/render/html/config-motion.mjs +0 -12
  1331. package/node_modules/framer-motion/dist/es/render/html/use-props.mjs +0 -57
  1332. package/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs +0 -74
  1333. package/node_modules/framer-motion/dist/es/render/html/utils/build-transform.mjs +0 -45
  1334. package/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs +0 -8
  1335. package/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.mjs +0 -30
  1336. package/node_modules/framer-motion/dist/es/render/html/utils/render.mjs +0 -9
  1337. package/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs +0 -20
  1338. package/node_modules/framer-motion/dist/es/render/html/utils/transform.mjs +0 -28
  1339. package/node_modules/framer-motion/dist/es/render/store.mjs +0 -3
  1340. package/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.mjs +0 -47
  1341. package/node_modules/framer-motion/dist/es/render/svg/config-motion.mjs +0 -40
  1342. package/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs +0 -33
  1343. package/node_modules/framer-motion/dist/es/render/svg/use-props.mjs +0 -24
  1344. package/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs +0 -52
  1345. package/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs +0 -30
  1346. package/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs +0 -8
  1347. package/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs +0 -3
  1348. package/node_modules/framer-motion/dist/es/render/svg/utils/path.mjs +0 -32
  1349. package/node_modules/framer-motion/dist/es/render/svg/utils/render.mjs +0 -12
  1350. package/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs +0 -19
  1351. package/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.mjs +0 -18
  1352. package/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.mjs +0 -164
  1353. package/node_modules/framer-motion/dist/es/render/utils/animation-state.mjs +0 -328
  1354. package/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.mjs +0 -3
  1355. package/node_modules/framer-motion/dist/es/render/utils/flat-tree.mjs +0 -24
  1356. package/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs +0 -13
  1357. package/node_modules/framer-motion/dist/es/render/utils/is-variant-label.mjs +0 -8
  1358. package/node_modules/framer-motion/dist/es/render/utils/motion-values.mjs +0 -67
  1359. package/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs +0 -8
  1360. package/node_modules/framer-motion/dist/es/render/utils/resolve-variants.mjs +0 -36
  1361. package/node_modules/framer-motion/dist/es/render/utils/setters.mjs +0 -27
  1362. package/node_modules/framer-motion/dist/es/render/utils/variant-props.mjs +0 -12
  1363. package/node_modules/framer-motion/dist/es/utils/GlobalConfig.mjs +0 -6
  1364. package/node_modules/framer-motion/dist/es/utils/array.mjs +0 -21
  1365. package/node_modules/framer-motion/dist/es/utils/clamp.mjs +0 -9
  1366. package/node_modules/framer-motion/dist/es/utils/delay.mjs +0 -20
  1367. package/node_modules/framer-motion/dist/es/utils/distance.mjs +0 -9
  1368. package/node_modules/framer-motion/dist/es/utils/errors.mjs +0 -18
  1369. package/node_modules/framer-motion/dist/es/utils/get-context-window.mjs +0 -6
  1370. package/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.mjs +0 -42
  1371. package/node_modules/framer-motion/dist/es/utils/interpolate.mjs +0 -75
  1372. package/node_modules/framer-motion/dist/es/utils/is-browser.mjs +0 -3
  1373. package/node_modules/framer-motion/dist/es/utils/is-numerical-string.mjs +0 -6
  1374. package/node_modules/framer-motion/dist/es/utils/is-ref-object.mjs +0 -7
  1375. package/node_modules/framer-motion/dist/es/utils/is-zero-value-string.mjs +0 -6
  1376. package/node_modules/framer-motion/dist/es/utils/memo.mjs +0 -10
  1377. package/node_modules/framer-motion/dist/es/utils/mix/color.mjs +0 -47
  1378. package/node_modules/framer-motion/dist/es/utils/mix/complex.mjs +0 -94
  1379. package/node_modules/framer-motion/dist/es/utils/mix/immediate.mjs +0 -5
  1380. package/node_modules/framer-motion/dist/es/utils/mix/index.mjs +0 -14
  1381. package/node_modules/framer-motion/dist/es/utils/mix/number.mjs +0 -26
  1382. package/node_modules/framer-motion/dist/es/utils/mix/visibility.mjs +0 -16
  1383. package/node_modules/framer-motion/dist/es/utils/noop.mjs +0 -3
  1384. package/node_modules/framer-motion/dist/es/utils/offsets/default.mjs +0 -9
  1385. package/node_modules/framer-motion/dist/es/utils/offsets/fill.mjs +0 -12
  1386. package/node_modules/framer-motion/dist/es/utils/offsets/time.mjs +0 -5
  1387. package/node_modules/framer-motion/dist/es/utils/pipe.mjs +0 -11
  1388. package/node_modules/framer-motion/dist/es/utils/progress.mjs +0 -18
  1389. package/node_modules/framer-motion/dist/es/utils/reduced-motion/index.mjs +0 -19
  1390. package/node_modules/framer-motion/dist/es/utils/reduced-motion/state.mjs +0 -5
  1391. package/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion-config.mjs +0 -19
  1392. package/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs +0 -47
  1393. package/node_modules/framer-motion/dist/es/utils/resolve-value.mjs +0 -11
  1394. package/node_modules/framer-motion/dist/es/utils/shallow-compare.mjs +0 -14
  1395. package/node_modules/framer-motion/dist/es/utils/subscription-manager.mjs +0 -40
  1396. package/node_modules/framer-motion/dist/es/utils/time-conversion.mjs +0 -10
  1397. package/node_modules/framer-motion/dist/es/utils/transform.mjs +0 -21
  1398. package/node_modules/framer-motion/dist/es/utils/use-animation-frame.mjs +0 -21
  1399. package/node_modules/framer-motion/dist/es/utils/use-constant.mjs +0 -18
  1400. package/node_modules/framer-motion/dist/es/utils/use-cycle.mjs +0 -47
  1401. package/node_modules/framer-motion/dist/es/utils/use-force-update.mjs +0 -19
  1402. package/node_modules/framer-motion/dist/es/utils/use-in-view.mjs +0 -23
  1403. package/node_modules/framer-motion/dist/es/utils/use-instant-transition-state.mjs +0 -5
  1404. package/node_modules/framer-motion/dist/es/utils/use-instant-transition.mjs +0 -41
  1405. package/node_modules/framer-motion/dist/es/utils/use-is-mounted.mjs +0 -15
  1406. package/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs +0 -6
  1407. package/node_modules/framer-motion/dist/es/utils/use-motion-value-event.mjs +0 -13
  1408. package/node_modules/framer-motion/dist/es/utils/use-unmount-effect.mjs +0 -7
  1409. package/node_modules/framer-motion/dist/es/utils/velocity-per-second.mjs +0 -11
  1410. package/node_modules/framer-motion/dist/es/utils/warn-once.mjs +0 -11
  1411. package/node_modules/framer-motion/dist/es/utils/wrap.mjs +0 -6
  1412. package/node_modules/framer-motion/dist/es/value/index.mjs +0 -319
  1413. package/node_modules/framer-motion/dist/es/value/scroll/use-element-scroll.mjs +0 -14
  1414. package/node_modules/framer-motion/dist/es/value/scroll/use-viewport-scroll.mjs +0 -14
  1415. package/node_modules/framer-motion/dist/es/value/types/color/hex.mjs +0 -40
  1416. package/node_modules/framer-motion/dist/es/value/types/color/hsla.mjs +0 -22
  1417. package/node_modules/framer-motion/dist/es/value/types/color/index.mjs +0 -28
  1418. package/node_modules/framer-motion/dist/es/value/types/color/rgba.mjs +0 -25
  1419. package/node_modules/framer-motion/dist/es/value/types/color/utils.mjs +0 -23
  1420. package/node_modules/framer-motion/dist/es/value/types/complex/filter.mjs +0 -30
  1421. package/node_modules/framer-motion/dist/es/value/types/complex/index.mjs +0 -90
  1422. package/node_modules/framer-motion/dist/es/value/types/numbers/index.mjs +0 -17
  1423. package/node_modules/framer-motion/dist/es/value/types/numbers/units.mjs +0 -19
  1424. package/node_modules/framer-motion/dist/es/value/types/utils.mjs +0 -15
  1425. package/node_modules/framer-motion/dist/es/value/use-combine-values.mjs +0 -37
  1426. package/node_modules/framer-motion/dist/es/value/use-computed.mjs +0 -19
  1427. package/node_modules/framer-motion/dist/es/value/use-inverted-scale.mjs +0 -52
  1428. package/node_modules/framer-motion/dist/es/value/use-motion-template.mjs +0 -45
  1429. package/node_modules/framer-motion/dist/es/value/use-motion-value.mjs +0 -38
  1430. package/node_modules/framer-motion/dist/es/value/use-scroll.mjs +0 -39
  1431. package/node_modules/framer-motion/dist/es/value/use-spring.mjs +0 -80
  1432. package/node_modules/framer-motion/dist/es/value/use-time.mjs +0 -10
  1433. package/node_modules/framer-motion/dist/es/value/use-transform.mjs +0 -29
  1434. package/node_modules/framer-motion/dist/es/value/use-velocity.mjs +0 -35
  1435. package/node_modules/framer-motion/dist/es/value/use-will-change/index.mjs +0 -50
  1436. package/node_modules/framer-motion/dist/es/value/use-will-change/is.mjs +0 -7
  1437. package/node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs +0 -3
  1438. package/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.mjs +0 -16
  1439. package/node_modules/framer-motion/dist/framer-motion.dev.js +0 -12433
  1440. package/node_modules/framer-motion/dist/framer-motion.js +0 -1
  1441. package/node_modules/framer-motion/dist/index.d.ts +0 -5278
  1442. package/node_modules/framer-motion/dist/three-entry.d.ts +0 -2954
  1443. package/node_modules/framer-motion/dom/README.md +0 -1
  1444. package/node_modules/framer-motion/dom/package.json +0 -6
  1445. package/node_modules/framer-motion/package.json +0 -108
  1446. package/node_modules/get-func-name/LICENSE +0 -19
  1447. package/node_modules/get-func-name/README.md +0 -123
  1448. package/node_modules/get-func-name/get-func-name.js +0 -1
  1449. package/node_modules/get-func-name/index.js +0 -52
  1450. package/node_modules/get-func-name/package.json +0 -85
  1451. package/node_modules/get-nonce/LICENSE +0 -21
  1452. package/node_modules/get-nonce/README.md +0 -54
  1453. package/node_modules/get-nonce/dist/es2015/index.d.ts +0 -2
  1454. package/node_modules/get-nonce/dist/es2015/index.js +0 -13
  1455. package/node_modules/get-nonce/dist/es5/index.d.ts +0 -2
  1456. package/node_modules/get-nonce/dist/es5/index.js +0 -15
  1457. package/node_modules/get-nonce/package.json +0 -68
  1458. package/node_modules/invariant/LICENSE +0 -21
  1459. package/node_modules/invariant/README.md +0 -37
  1460. package/node_modules/invariant/browser.js +0 -49
  1461. package/node_modules/invariant/invariant.js +0 -51
  1462. package/node_modules/invariant/invariant.js.flow +0 -7
  1463. package/node_modules/invariant/package.json +0 -35
  1464. package/node_modules/js-tokens/LICENSE +0 -21
  1465. package/node_modules/js-tokens/README.md +0 -240
  1466. package/node_modules/js-tokens/index.js +0 -23
  1467. package/node_modules/js-tokens/package.json +0 -30
  1468. package/node_modules/loose-envify/LICENSE +0 -21
  1469. package/node_modules/loose-envify/README.md +0 -45
  1470. package/node_modules/loose-envify/cli.js +0 -16
  1471. package/node_modules/loose-envify/custom.js +0 -4
  1472. package/node_modules/loose-envify/index.js +0 -3
  1473. package/node_modules/loose-envify/loose-envify.js +0 -36
  1474. package/node_modules/loose-envify/package.json +0 -36
  1475. package/node_modules/loose-envify/replace.js +0 -65
  1476. package/node_modules/loupe/LICENSE +0 -9
  1477. package/node_modules/loupe/README.md +0 -63
  1478. package/node_modules/loupe/lib/arguments.d.ts +0 -3
  1479. package/node_modules/loupe/lib/arguments.d.ts.map +0 -1
  1480. package/node_modules/loupe/lib/arguments.js +0 -7
  1481. package/node_modules/loupe/lib/array.d.ts +0 -3
  1482. package/node_modules/loupe/lib/array.d.ts.map +0 -1
  1483. package/node_modules/loupe/lib/array.js +0 -16
  1484. package/node_modules/loupe/lib/bigint.d.ts +0 -3
  1485. package/node_modules/loupe/lib/bigint.d.ts.map +0 -1
  1486. package/node_modules/loupe/lib/bigint.js +0 -7
  1487. package/node_modules/loupe/lib/class.d.ts +0 -5
  1488. package/node_modules/loupe/lib/class.d.ts.map +0 -1
  1489. package/node_modules/loupe/lib/class.js +0 -15
  1490. package/node_modules/loupe/lib/date.d.ts +0 -3
  1491. package/node_modules/loupe/lib/date.d.ts.map +0 -1
  1492. package/node_modules/loupe/lib/date.js +0 -11
  1493. package/node_modules/loupe/lib/error.d.ts +0 -3
  1494. package/node_modules/loupe/lib/error.d.ts.map +0 -1
  1495. package/node_modules/loupe/lib/error.js +0 -29
  1496. package/node_modules/loupe/lib/function.d.ts +0 -7
  1497. package/node_modules/loupe/lib/function.d.ts.map +0 -1
  1498. package/node_modules/loupe/lib/function.js +0 -9
  1499. package/node_modules/loupe/lib/helpers.d.ts +0 -7
  1500. package/node_modules/loupe/lib/helpers.d.ts.map +0 -1
  1501. package/node_modules/loupe/lib/helpers.js +0 -159
  1502. package/node_modules/loupe/lib/html.d.ts +0 -5
  1503. package/node_modules/loupe/lib/html.d.ts.map +0 -1
  1504. package/node_modules/loupe/lib/html.js +0 -34
  1505. package/node_modules/loupe/lib/index.d.ts +0 -7
  1506. package/node_modules/loupe/lib/index.d.ts.map +0 -1
  1507. package/node_modules/loupe/lib/index.js +0 -161
  1508. package/node_modules/loupe/lib/map.d.ts +0 -3
  1509. package/node_modules/loupe/lib/map.d.ts.map +0 -1
  1510. package/node_modules/loupe/lib/map.js +0 -24
  1511. package/node_modules/loupe/lib/number.d.ts +0 -3
  1512. package/node_modules/loupe/lib/number.d.ts.map +0 -1
  1513. package/node_modules/loupe/lib/number.js +0 -17
  1514. package/node_modules/loupe/lib/object.d.ts +0 -3
  1515. package/node_modules/loupe/lib/object.d.ts.map +0 -1
  1516. package/node_modules/loupe/lib/object.js +0 -22
  1517. package/node_modules/loupe/lib/promise.d.ts +0 -5
  1518. package/node_modules/loupe/lib/promise.d.ts.map +0 -1
  1519. package/node_modules/loupe/lib/promise.js +0 -18
  1520. package/node_modules/loupe/lib/regexp.d.ts +0 -3
  1521. package/node_modules/loupe/lib/regexp.d.ts.map +0 -1
  1522. package/node_modules/loupe/lib/regexp.js +0 -7
  1523. package/node_modules/loupe/lib/set.d.ts +0 -3
  1524. package/node_modules/loupe/lib/set.d.ts.map +0 -1
  1525. package/node_modules/loupe/lib/set.js +0 -15
  1526. package/node_modules/loupe/lib/string.d.ts +0 -3
  1527. package/node_modules/loupe/lib/string.d.ts.map +0 -1
  1528. package/node_modules/loupe/lib/string.js +0 -24
  1529. package/node_modules/loupe/lib/symbol.d.ts +0 -2
  1530. package/node_modules/loupe/lib/symbol.d.ts.map +0 -1
  1531. package/node_modules/loupe/lib/symbol.js +0 -6
  1532. package/node_modules/loupe/lib/typedarray.d.ts +0 -5
  1533. package/node_modules/loupe/lib/typedarray.d.ts.map +0 -1
  1534. package/node_modules/loupe/lib/typedarray.js +0 -38
  1535. package/node_modules/loupe/lib/types.d.ts +0 -15
  1536. package/node_modules/loupe/lib/types.d.ts.map +0 -1
  1537. package/node_modules/loupe/lib/types.js +0 -1
  1538. package/node_modules/loupe/loupe.js +0 -644
  1539. package/node_modules/loupe/package.json +0 -126
  1540. package/node_modules/pathval/LICENSE +0 -16
  1541. package/node_modules/pathval/README.md +0 -147
  1542. package/node_modules/pathval/index.js +0 -292
  1543. package/node_modules/pathval/package.json +0 -73
  1544. package/node_modules/pathval/pathval.js +0 -1
  1545. package/node_modules/react-remove-scroll/LICENSE +0 -21
  1546. package/node_modules/react-remove-scroll/README.md +0 -152
  1547. package/node_modules/react-remove-scroll/UI/UI.d.ts +0 -1
  1548. package/node_modules/react-remove-scroll/UI/package.json +0 -8
  1549. package/node_modules/react-remove-scroll/dist/es2015/Combination.d.ts +0 -3
  1550. package/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -7
  1551. package/node_modules/react-remove-scroll/dist/es2015/SideEffect.d.ts +0 -5
  1552. package/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -157
  1553. package/node_modules/react-remove-scroll/dist/es2015/UI.d.ts +0 -7
  1554. package/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -36
  1555. package/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.d.ts +0 -3
  1556. package/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -19
  1557. package/node_modules/react-remove-scroll/dist/es2015/handleScroll.d.ts +0 -3
  1558. package/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -104
  1559. package/node_modules/react-remove-scroll/dist/es2015/index.d.ts +0 -2
  1560. package/node_modules/react-remove-scroll/dist/es2015/index.js +0 -2
  1561. package/node_modules/react-remove-scroll/dist/es2015/medium.d.ts +0 -2
  1562. package/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -2
  1563. package/node_modules/react-remove-scroll/dist/es2015/pinchAndZoom.d.ts +0 -8
  1564. package/node_modules/react-remove-scroll/dist/es2015/pinchAndZoom.js +0 -33
  1565. package/node_modules/react-remove-scroll/dist/es2015/sidecar.d.ts +0 -2
  1566. package/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -4
  1567. package/node_modules/react-remove-scroll/dist/es2015/types.d.ts +0 -98
  1568. package/node_modules/react-remove-scroll/dist/es2015/types.js +0 -1
  1569. package/node_modules/react-remove-scroll/dist/es2019/Combination.d.ts +0 -3
  1570. package/node_modules/react-remove-scroll/dist/es2019/Combination.js +0 -6
  1571. package/node_modules/react-remove-scroll/dist/es2019/SideEffect.d.ts +0 -5
  1572. package/node_modules/react-remove-scroll/dist/es2019/SideEffect.js +0 -155
  1573. package/node_modules/react-remove-scroll/dist/es2019/UI.d.ts +0 -7
  1574. package/node_modules/react-remove-scroll/dist/es2019/UI.js +0 -41
  1575. package/node_modules/react-remove-scroll/dist/es2019/aggresiveCapture.d.ts +0 -3
  1576. package/node_modules/react-remove-scroll/dist/es2019/aggresiveCapture.js +0 -19
  1577. package/node_modules/react-remove-scroll/dist/es2019/handleScroll.d.ts +0 -3
  1578. package/node_modules/react-remove-scroll/dist/es2019/handleScroll.js +0 -92
  1579. package/node_modules/react-remove-scroll/dist/es2019/index.d.ts +0 -2
  1580. package/node_modules/react-remove-scroll/dist/es2019/index.js +0 -2
  1581. package/node_modules/react-remove-scroll/dist/es2019/medium.d.ts +0 -2
  1582. package/node_modules/react-remove-scroll/dist/es2019/medium.js +0 -2
  1583. package/node_modules/react-remove-scroll/dist/es2019/pinchAndZoom.d.ts +0 -8
  1584. package/node_modules/react-remove-scroll/dist/es2019/pinchAndZoom.js +0 -33
  1585. package/node_modules/react-remove-scroll/dist/es2019/sidecar.d.ts +0 -2
  1586. package/node_modules/react-remove-scroll/dist/es2019/sidecar.js +0 -4
  1587. package/node_modules/react-remove-scroll/dist/es2019/types.d.ts +0 -98
  1588. package/node_modules/react-remove-scroll/dist/es2019/types.js +0 -1
  1589. package/node_modules/react-remove-scroll/dist/es5/Combination.d.ts +0 -3
  1590. package/node_modules/react-remove-scroll/dist/es5/Combination.js +0 -9
  1591. package/node_modules/react-remove-scroll/dist/es5/SideEffect.d.ts +0 -5
  1592. package/node_modules/react-remove-scroll/dist/es5/SideEffect.js +0 -163
  1593. package/node_modules/react-remove-scroll/dist/es5/UI.d.ts +0 -7
  1594. package/node_modules/react-remove-scroll/dist/es5/UI.js +0 -39
  1595. package/node_modules/react-remove-scroll/dist/es5/aggresiveCapture.d.ts +0 -3
  1596. package/node_modules/react-remove-scroll/dist/es5/aggresiveCapture.js +0 -22
  1597. package/node_modules/react-remove-scroll/dist/es5/handleScroll.d.ts +0 -3
  1598. package/node_modules/react-remove-scroll/dist/es5/handleScroll.js +0 -109
  1599. package/node_modules/react-remove-scroll/dist/es5/index.d.ts +0 -2
  1600. package/node_modules/react-remove-scroll/dist/es5/index.js +0 -6
  1601. package/node_modules/react-remove-scroll/dist/es5/medium.d.ts +0 -2
  1602. package/node_modules/react-remove-scroll/dist/es5/medium.js +0 -5
  1603. package/node_modules/react-remove-scroll/dist/es5/pinchAndZoom.d.ts +0 -8
  1604. package/node_modules/react-remove-scroll/dist/es5/pinchAndZoom.js +0 -37
  1605. package/node_modules/react-remove-scroll/dist/es5/sidecar.d.ts +0 -2
  1606. package/node_modules/react-remove-scroll/dist/es5/sidecar.js +0 -6
  1607. package/node_modules/react-remove-scroll/dist/es5/types.d.ts +0 -98
  1608. package/node_modules/react-remove-scroll/dist/es5/types.js +0 -2
  1609. package/node_modules/react-remove-scroll/dist/index.js +0 -93
  1610. package/node_modules/react-remove-scroll/package.json +0 -97
  1611. package/node_modules/react-remove-scroll/sidecar/package.json +0 -7
  1612. package/node_modules/react-remove-scroll/sidecar/sidecar.d.ts +0 -5
  1613. package/node_modules/react-remove-scroll-bar/README.md +0 -52
  1614. package/node_modules/react-remove-scroll-bar/constants/package.json +0 -8
  1615. package/node_modules/react-remove-scroll-bar/dist/es2015/component.d.ts +0 -13
  1616. package/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -53
  1617. package/node_modules/react-remove-scroll-bar/dist/es2015/constants.d.ts +0 -8
  1618. package/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -8
  1619. package/node_modules/react-remove-scroll-bar/dist/es2015/index.d.ts +0 -4
  1620. package/node_modules/react-remove-scroll-bar/dist/es2015/index.js +0 -4
  1621. package/node_modules/react-remove-scroll-bar/dist/es2015/utils.d.ts +0 -14
  1622. package/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -29
  1623. package/node_modules/react-remove-scroll-bar/dist/es2019/component.d.ts +0 -13
  1624. package/node_modules/react-remove-scroll-bar/dist/es2019/component.js +0 -85
  1625. package/node_modules/react-remove-scroll-bar/dist/es2019/constants.d.ts +0 -8
  1626. package/node_modules/react-remove-scroll-bar/dist/es2019/constants.js +0 -8
  1627. package/node_modules/react-remove-scroll-bar/dist/es2019/index.d.ts +0 -4
  1628. package/node_modules/react-remove-scroll-bar/dist/es2019/index.js +0 -4
  1629. package/node_modules/react-remove-scroll-bar/dist/es2019/utils.d.ts +0 -14
  1630. package/node_modules/react-remove-scroll-bar/dist/es2019/utils.js +0 -28
  1631. package/node_modules/react-remove-scroll-bar/dist/es5/component.d.ts +0 -13
  1632. package/node_modules/react-remove-scroll-bar/dist/es5/component.js +0 -59
  1633. package/node_modules/react-remove-scroll-bar/dist/es5/constants.d.ts +0 -8
  1634. package/node_modules/react-remove-scroll-bar/dist/es5/constants.js +0 -11
  1635. package/node_modules/react-remove-scroll-bar/dist/es5/index.d.ts +0 -4
  1636. package/node_modules/react-remove-scroll-bar/dist/es5/index.js +0 -12
  1637. package/node_modules/react-remove-scroll-bar/dist/es5/utils.d.ts +0 -14
  1638. package/node_modules/react-remove-scroll-bar/dist/es5/utils.js +0 -33
  1639. package/node_modules/react-remove-scroll-bar/package.json +0 -85
  1640. package/node_modules/react-router/CHANGELOG.md +0 -723
  1641. package/node_modules/react-router/LICENSE.md +0 -23
  1642. package/node_modules/react-router/README.md +0 -16
  1643. package/node_modules/react-router/dist/index.d.ts +0 -29
  1644. package/node_modules/react-router/dist/index.js +0 -1456
  1645. package/node_modules/react-router/dist/index.js.map +0 -1
  1646. package/node_modules/react-router/dist/lib/components.d.ts +0 -157
  1647. package/node_modules/react-router/dist/lib/context.d.ts +0 -102
  1648. package/node_modules/react-router/dist/lib/hooks.d.ts +0 -181
  1649. package/node_modules/react-router/dist/main.js +0 -19
  1650. package/node_modules/react-router/dist/react-router.development.js +0 -1352
  1651. package/node_modules/react-router/dist/react-router.development.js.map +0 -1
  1652. package/node_modules/react-router/dist/react-router.production.min.js +0 -12
  1653. package/node_modules/react-router/dist/react-router.production.min.js.map +0 -1
  1654. package/node_modules/react-router/dist/umd/react-router.development.js +0 -1574
  1655. package/node_modules/react-router/dist/umd/react-router.development.js.map +0 -1
  1656. package/node_modules/react-router/dist/umd/react-router.production.min.js +0 -12
  1657. package/node_modules/react-router/dist/umd/react-router.production.min.js.map +0 -1
  1658. package/node_modules/react-router/package.json +0 -44
  1659. package/node_modules/react-router-dom/CHANGELOG.md +0 -866
  1660. package/node_modules/react-router-dom/LICENSE.md +0 -23
  1661. package/node_modules/react-router-dom/README.md +0 -5
  1662. package/node_modules/react-router-dom/dist/dom.d.ts +0 -117
  1663. package/node_modules/react-router-dom/dist/index.d.ts +0 -331
  1664. package/node_modules/react-router-dom/dist/index.js +0 -1447
  1665. package/node_modules/react-router-dom/dist/index.js.map +0 -1
  1666. package/node_modules/react-router-dom/dist/main.js +0 -19
  1667. package/node_modules/react-router-dom/dist/react-router-dom.development.js +0 -1514
  1668. package/node_modules/react-router-dom/dist/react-router-dom.development.js.map +0 -1
  1669. package/node_modules/react-router-dom/dist/react-router-dom.production.min.js +0 -12
  1670. package/node_modules/react-router-dom/dist/react-router-dom.production.min.js.map +0 -1
  1671. package/node_modules/react-router-dom/dist/server.d.ts +0 -31
  1672. package/node_modules/react-router-dom/dist/server.js +0 -322
  1673. package/node_modules/react-router-dom/dist/server.mjs +0 -297
  1674. package/node_modules/react-router-dom/dist/umd/react-router-dom.development.js +0 -1813
  1675. package/node_modules/react-router-dom/dist/umd/react-router-dom.development.js.map +0 -1
  1676. package/node_modules/react-router-dom/dist/umd/react-router-dom.production.min.js +0 -12
  1677. package/node_modules/react-router-dom/dist/umd/react-router-dom.production.min.js.map +0 -1
  1678. package/node_modules/react-router-dom/package.json +0 -49
  1679. package/node_modules/react-router-dom/server.d.ts +0 -31
  1680. package/node_modules/react-router-dom/server.js +0 -322
  1681. package/node_modules/react-router-dom/server.mjs +0 -297
  1682. package/node_modules/react-style-singleton/README.md +0 -41
  1683. package/node_modules/react-style-singleton/dist/es2015/component.d.ts +0 -21
  1684. package/node_modules/react-style-singleton/dist/es2015/component.js +0 -16
  1685. package/node_modules/react-style-singleton/dist/es2015/hook.d.ts +0 -23
  1686. package/node_modules/react-style-singleton/dist/es2015/hook.js +0 -22
  1687. package/node_modules/react-style-singleton/dist/es2015/index.d.ts +0 -3
  1688. package/node_modules/react-style-singleton/dist/es2015/index.js +0 -3
  1689. package/node_modules/react-style-singleton/dist/es2015/singleton.d.ts +0 -4
  1690. package/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -48
  1691. package/node_modules/react-style-singleton/dist/es2019/component.d.ts +0 -21
  1692. package/node_modules/react-style-singleton/dist/es2019/component.js +0 -15
  1693. package/node_modules/react-style-singleton/dist/es2019/hook.d.ts +0 -23
  1694. package/node_modules/react-style-singleton/dist/es2019/hook.js +0 -22
  1695. package/node_modules/react-style-singleton/dist/es2019/index.d.ts +0 -3
  1696. package/node_modules/react-style-singleton/dist/es2019/index.js +0 -3
  1697. package/node_modules/react-style-singleton/dist/es2019/singleton.d.ts +0 -4
  1698. package/node_modules/react-style-singleton/dist/es2019/singleton.js +0 -48
  1699. package/node_modules/react-style-singleton/dist/es5/component.d.ts +0 -21
  1700. package/node_modules/react-style-singleton/dist/es5/component.js +0 -20
  1701. package/node_modules/react-style-singleton/dist/es5/hook.d.ts +0 -23
  1702. package/node_modules/react-style-singleton/dist/es5/hook.js +0 -27
  1703. package/node_modules/react-style-singleton/dist/es5/index.d.ts +0 -3
  1704. package/node_modules/react-style-singleton/dist/es5/index.js +0 -9
  1705. package/node_modules/react-style-singleton/dist/es5/singleton.d.ts +0 -4
  1706. package/node_modules/react-style-singleton/dist/es5/singleton.js +0 -52
  1707. package/node_modules/react-style-singleton/dist/index.js +0 -1
  1708. package/node_modules/react-style-singleton/package.json +0 -87
  1709. package/node_modules/regenerator-runtime/LICENSE +0 -21
  1710. package/node_modules/regenerator-runtime/README.md +0 -31
  1711. package/node_modules/regenerator-runtime/package.json +0 -19
  1712. package/node_modules/regenerator-runtime/path.js +0 -11
  1713. package/node_modules/regenerator-runtime/runtime.js +0 -761
  1714. package/node_modules/remix-utils/.eslintrc.cjs +0 -54
  1715. package/node_modules/remix-utils/LICENSE +0 -21
  1716. package/node_modules/remix-utils/README.md +0 -2149
  1717. package/node_modules/remix-utils/build/client/cache-assets.d.ts +0 -22
  1718. package/node_modules/remix-utils/build/client/cache-assets.js +0 -66
  1719. package/node_modules/remix-utils/build/common/promise.d.ts +0 -87
  1720. package/node_modules/remix-utils/build/common/promise.js +0 -112
  1721. package/node_modules/remix-utils/build/common/timers.d.ts +0 -27
  1722. package/node_modules/remix-utils/build/common/timers.js +0 -47
  1723. package/node_modules/remix-utils/build/react/authenticity-token.d.ts +0 -50
  1724. package/node_modules/remix-utils/build/react/authenticity-token.js +0 -54
  1725. package/node_modules/remix-utils/build/react/client-only.d.ts +0 -27
  1726. package/node_modules/remix-utils/build/react/client-only.js +0 -20
  1727. package/node_modules/remix-utils/build/react/existing-search-params.d.ts +0 -34
  1728. package/node_modules/remix-utils/build/react/existing-search-params.js +0 -32
  1729. package/node_modules/remix-utils/build/react/external-scripts.d.ts +0 -91
  1730. package/node_modules/remix-utils/build/react/external-scripts.js +0 -106
  1731. package/node_modules/remix-utils/build/react/fetcher-type.d.ts +0 -31
  1732. package/node_modules/remix-utils/build/react/fetcher-type.js +0 -53
  1733. package/node_modules/remix-utils/build/react/handle-conventions.d.ts +0 -10
  1734. package/node_modules/remix-utils/build/react/handle-conventions.js +0 -1
  1735. package/node_modules/remix-utils/build/react/honeypot.d.ts +0 -11
  1736. package/node_modules/remix-utils/build/react/honeypot.js +0 -16
  1737. package/node_modules/remix-utils/build/react/server-only.d.ts +0 -25
  1738. package/node_modules/remix-utils/build/react/server-only.js +0 -18
  1739. package/node_modules/remix-utils/build/react/use-debounce-fetcher.d.ts +0 -28
  1740. package/node_modules/remix-utils/build/react/use-debounce-fetcher.js +0 -27
  1741. package/node_modules/remix-utils/build/react/use-debounce-submit.d.ts +0 -7
  1742. package/node_modules/remix-utils/build/react/use-debounce-submit.js +0 -41
  1743. package/node_modules/remix-utils/build/react/use-delegated-anchors.d.ts +0 -6
  1744. package/node_modules/remix-utils/build/react/use-delegated-anchors.js +0 -69
  1745. package/node_modules/remix-utils/build/react/use-event-source.d.ts +0 -17
  1746. package/node_modules/remix-utils/build/react/use-event-source.js +0 -37
  1747. package/node_modules/remix-utils/build/react/use-global-navigation-state.d.ts +0 -33
  1748. package/node_modules/remix-utils/build/react/use-global-navigation-state.js +0 -67
  1749. package/node_modules/remix-utils/build/react/use-hydrated.d.ts +0 -18
  1750. package/node_modules/remix-utils/build/react/use-hydrated.js +0 -24
  1751. package/node_modules/remix-utils/build/react/use-locales.d.ts +0 -24
  1752. package/node_modules/remix-utils/build/react/use-locales.js +0 -56
  1753. package/node_modules/remix-utils/build/react/use-should-hydrate.d.ts +0 -21
  1754. package/node_modules/remix-utils/build/react/use-should-hydrate.js +0 -44
  1755. package/node_modules/remix-utils/build/server/cors.d.ts +0 -101
  1756. package/node_modules/remix-utils/build/server/cors.js +0 -179
  1757. package/node_modules/remix-utils/build/server/csrf.d.ts +0 -85
  1758. package/node_modules/remix-utils/build/server/csrf.js +0 -121
  1759. package/node_modules/remix-utils/build/server/event-stream.d.ts +0 -27
  1760. package/node_modules/remix-utils/build/server/event-stream.js +0 -44
  1761. package/node_modules/remix-utils/build/server/get-client-ip-address.d.ts +0 -29
  1762. package/node_modules/remix-utils/build/server/get-client-ip-address.js +0 -51
  1763. package/node_modules/remix-utils/build/server/get-client-locales.d.ts +0 -18
  1764. package/node_modules/remix-utils/build/server/get-client-locales.js +0 -18
  1765. package/node_modules/remix-utils/build/server/get-headers.d.ts +0 -6
  1766. package/node_modules/remix-utils/build/server/get-headers.js +0 -11
  1767. package/node_modules/remix-utils/build/server/honeypot.d.ts +0 -32
  1768. package/node_modules/remix-utils/build/server/honeypot.js +0 -96
  1769. package/node_modules/remix-utils/build/server/is-prefetch.d.ts +0 -16
  1770. package/node_modules/remix-utils/build/server/is-prefetch.js +0 -11
  1771. package/node_modules/remix-utils/build/server/json-hash.d.ts +0 -6
  1772. package/node_modules/remix-utils/build/server/json-hash.js +0 -16
  1773. package/node_modules/remix-utils/build/server/named-action.d.ts +0 -19
  1774. package/node_modules/remix-utils/build/server/named-action.js +0 -62
  1775. package/node_modules/remix-utils/build/server/parse-accept-header.d.ts +0 -12
  1776. package/node_modules/remix-utils/build/server/parse-accept-header.js +0 -17
  1777. package/node_modules/remix-utils/build/server/preload-route-assets.d.ts +0 -80
  1778. package/node_modules/remix-utils/build/server/preload-route-assets.js +0 -120
  1779. package/node_modules/remix-utils/build/server/redirect-back.d.ts +0 -18
  1780. package/node_modules/remix-utils/build/server/redirect-back.js +0 -29
  1781. package/node_modules/remix-utils/build/server/respond-to.d.ts +0 -40
  1782. package/node_modules/remix-utils/build/server/respond-to.js +0 -22
  1783. package/node_modules/remix-utils/build/server/responses.d.ts +0 -100
  1784. package/node_modules/remix-utils/build/server/responses.js +0 -167
  1785. package/node_modules/remix-utils/build/server/rolling-cookie.d.ts +0 -4
  1786. package/node_modules/remix-utils/build/server/rolling-cookie.js +0 -9
  1787. package/node_modules/remix-utils/build/server/safe-redirect.d.ts +0 -10
  1788. package/node_modules/remix-utils/build/server/safe-redirect.js +0 -22
  1789. package/node_modules/remix-utils/build/server/sec-fetch.d.ts +0 -43
  1790. package/node_modules/remix-utils/build/server/sec-fetch.js +0 -67
  1791. package/node_modules/remix-utils/build/server/typed-cookie.d.ts +0 -17
  1792. package/node_modules/remix-utils/build/server/typed-cookie.js +0 -58
  1793. package/node_modules/remix-utils/build/server/typed-session.d.ts +0 -59
  1794. package/node_modules/remix-utils/build/server/typed-session.js +0 -88
  1795. package/node_modules/remix-utils/package.json +0 -182
  1796. package/node_modules/remix-utils/scripts/check-pkg-exports.ts +0 -61
  1797. package/node_modules/set-cookie-parser/LICENSE +0 -21
  1798. package/node_modules/set-cookie-parser/README.md +0 -199
  1799. package/node_modules/set-cookie-parser/lib/set-cookie.js +0 -226
  1800. package/node_modules/set-cookie-parser/package.json +0 -43
  1801. package/node_modules/source-map/LICENSE +0 -28
  1802. package/node_modules/source-map/README.md +0 -742
  1803. package/node_modules/source-map/dist/source-map.debug.js +0 -3234
  1804. package/node_modules/source-map/dist/source-map.js +0 -3233
  1805. package/node_modules/source-map/dist/source-map.min.js +0 -2
  1806. package/node_modules/source-map/dist/source-map.min.js.map +0 -1
  1807. package/node_modules/source-map/lib/array-set.js +0 -121
  1808. package/node_modules/source-map/lib/base64-vlq.js +0 -140
  1809. package/node_modules/source-map/lib/base64.js +0 -67
  1810. package/node_modules/source-map/lib/binary-search.js +0 -111
  1811. package/node_modules/source-map/lib/mapping-list.js +0 -79
  1812. package/node_modules/source-map/lib/mappings.wasm +0 -0
  1813. package/node_modules/source-map/lib/quick-sort.js +0 -114
  1814. package/node_modules/source-map/lib/read-wasm.js +0 -49
  1815. package/node_modules/source-map/lib/source-map-consumer.js +0 -1145
  1816. package/node_modules/source-map/lib/source-map-generator.js +0 -425
  1817. package/node_modules/source-map/lib/source-node.js +0 -413
  1818. package/node_modules/source-map/lib/util.js +0 -488
  1819. package/node_modules/source-map/lib/wasm.js +0 -107
  1820. package/node_modules/source-map/package.json +0 -73
  1821. package/node_modules/source-map/source-map.d.ts +0 -98
  1822. package/node_modules/source-map/source-map.js +0 -8
  1823. package/node_modules/tailwind-merge/LICENSE.md +0 -21
  1824. package/node_modules/tailwind-merge/README.md +0 -38
  1825. package/node_modules/tailwind-merge/dist/bundle-cjs.js +0 -2595
  1826. package/node_modules/tailwind-merge/dist/bundle-cjs.js.map +0 -1
  1827. package/node_modules/tailwind-merge/dist/bundle-mjs.mjs +0 -2583
  1828. package/node_modules/tailwind-merge/dist/bundle-mjs.mjs.map +0 -1
  1829. package/node_modules/tailwind-merge/dist/es5/bundle-cjs.js +0 -2645
  1830. package/node_modules/tailwind-merge/dist/es5/bundle-cjs.js.map +0 -1
  1831. package/node_modules/tailwind-merge/dist/es5/bundle-mjs.mjs +0 -2633
  1832. package/node_modules/tailwind-merge/dist/es5/bundle-mjs.mjs.map +0 -1
  1833. package/node_modules/tailwind-merge/dist/types.d.ts +0 -2143
  1834. package/node_modules/tailwind-merge/package.json +0 -95
  1835. package/node_modules/tailwind-merge/src/index.ts +0 -14
  1836. package/node_modules/tailwind-merge/src/lib/class-utils.ts +0 -215
  1837. package/node_modules/tailwind-merge/src/lib/config-utils.ts +0 -14
  1838. package/node_modules/tailwind-merge/src/lib/create-tailwind-merge.ts +0 -50
  1839. package/node_modules/tailwind-merge/src/lib/default-config.ts +0 -1865
  1840. package/node_modules/tailwind-merge/src/lib/extend-tailwind-merge.ts +0 -26
  1841. package/node_modules/tailwind-merge/src/lib/from-theme.ts +0 -13
  1842. package/node_modules/tailwind-merge/src/lib/lru-cache.ts +0 -52
  1843. package/node_modules/tailwind-merge/src/lib/merge-classlist.ts +0 -99
  1844. package/node_modules/tailwind-merge/src/lib/merge-configs.ts +0 -72
  1845. package/node_modules/tailwind-merge/src/lib/modifier-utils.ts +0 -95
  1846. package/node_modules/tailwind-merge/src/lib/tw-join.ts +0 -50
  1847. package/node_modules/tailwind-merge/src/lib/tw-merge.ts +0 -4
  1848. package/node_modules/tailwind-merge/src/lib/types.ts +0 -412
  1849. package/node_modules/tailwind-merge/src/lib/validators.ts +0 -104
  1850. package/node_modules/tslib/CopyrightNotice.txt +0 -15
  1851. package/node_modules/tslib/LICENSE.txt +0 -12
  1852. package/node_modules/tslib/README.md +0 -164
  1853. package/node_modules/tslib/SECURITY.md +0 -41
  1854. package/node_modules/tslib/modules/index.d.ts +0 -37
  1855. package/node_modules/tslib/modules/index.js +0 -68
  1856. package/node_modules/tslib/modules/package.json +0 -3
  1857. package/node_modules/tslib/package.json +0 -47
  1858. package/node_modules/tslib/tslib.d.ts +0 -453
  1859. package/node_modules/tslib/tslib.es6.html +0 -1
  1860. package/node_modules/tslib/tslib.es6.js +0 -374
  1861. package/node_modules/tslib/tslib.es6.mjs +0 -373
  1862. package/node_modules/tslib/tslib.html +0 -1
  1863. package/node_modules/tslib/tslib.js +0 -424
  1864. package/node_modules/turbo-stream/LICENSE +0 -7
  1865. package/node_modules/turbo-stream/README.md +0 -31
  1866. package/node_modules/turbo-stream/dist/flatten.d.ts +0 -2
  1867. package/node_modules/turbo-stream/dist/flatten.js +0 -172
  1868. package/node_modules/turbo-stream/dist/turbo-stream.d.ts +0 -12
  1869. package/node_modules/turbo-stream/dist/turbo-stream.js +0 -202
  1870. package/node_modules/turbo-stream/dist/turbo-stream.mjs +0 -530
  1871. package/node_modules/turbo-stream/dist/unflatten.d.ts +0 -2
  1872. package/node_modules/turbo-stream/dist/unflatten.js +0 -127
  1873. package/node_modules/turbo-stream/dist/utils.d.ts +0 -43
  1874. package/node_modules/turbo-stream/dist/utils.js +0 -55
  1875. package/node_modules/turbo-stream/package.json +0 -50
  1876. package/node_modules/type-fest/index.d.ts +0 -160
  1877. package/node_modules/type-fest/package.json +0 -72
  1878. package/node_modules/type-fest/readme.md +0 -992
  1879. package/node_modules/type-fest/source/and.d.ts +0 -25
  1880. package/node_modules/type-fest/source/array-indices.d.ts +0 -23
  1881. package/node_modules/type-fest/source/array-slice.d.ts +0 -107
  1882. package/node_modules/type-fest/source/array-splice.d.ts +0 -97
  1883. package/node_modules/type-fest/source/array-values.d.ts +0 -22
  1884. package/node_modules/type-fest/source/async-return-type.d.ts +0 -23
  1885. package/node_modules/type-fest/source/asyncify.d.ts +0 -32
  1886. package/node_modules/type-fest/source/basic.d.ts +0 -68
  1887. package/node_modules/type-fest/source/camel-case.d.ts +0 -80
  1888. package/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +0 -87
  1889. package/node_modules/type-fest/source/camel-cased-properties.d.ts +0 -36
  1890. package/node_modules/type-fest/source/conditional-except.d.ts +0 -45
  1891. package/node_modules/type-fest/source/conditional-keys.d.ts +0 -47
  1892. package/node_modules/type-fest/source/conditional-pick-deep.d.ts +0 -104
  1893. package/node_modules/type-fest/source/conditional-pick.d.ts +0 -44
  1894. package/node_modules/type-fest/source/conditional-simplify.d.ts +0 -32
  1895. package/node_modules/type-fest/source/delimiter-case.d.ts +0 -99
  1896. package/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +0 -84
  1897. package/node_modules/type-fest/source/delimiter-cased-properties.d.ts +0 -37
  1898. package/node_modules/type-fest/source/distributed-omit.d.ts +0 -89
  1899. package/node_modules/type-fest/source/distributed-pick.d.ts +0 -85
  1900. package/node_modules/type-fest/source/empty-object.d.ts +0 -46
  1901. package/node_modules/type-fest/source/enforce-optional.d.ts +0 -47
  1902. package/node_modules/type-fest/source/entries.d.ts +0 -62
  1903. package/node_modules/type-fest/source/entry.d.ts +0 -65
  1904. package/node_modules/type-fest/source/exact.d.ts +0 -63
  1905. package/node_modules/type-fest/source/except.d.ts +0 -80
  1906. package/node_modules/type-fest/source/fixed-length-array.d.ts +0 -43
  1907. package/node_modules/type-fest/source/get.d.ts +0 -191
  1908. package/node_modules/type-fest/source/global-this.d.ts +0 -21
  1909. package/node_modules/type-fest/source/greater-than-or-equal.d.ts +0 -22
  1910. package/node_modules/type-fest/source/greater-than.d.ts +0 -51
  1911. package/node_modules/type-fest/source/has-optional-keys.d.ts +0 -21
  1912. package/node_modules/type-fest/source/has-readonly-keys.d.ts +0 -21
  1913. package/node_modules/type-fest/source/has-required-keys.d.ts +0 -59
  1914. package/node_modules/type-fest/source/has-writable-keys.d.ts +0 -21
  1915. package/node_modules/type-fest/source/if-any.d.ts +0 -24
  1916. package/node_modules/type-fest/source/if-empty-object.d.ts +0 -26
  1917. package/node_modules/type-fest/source/if-never.d.ts +0 -24
  1918. package/node_modules/type-fest/source/if-null.d.ts +0 -24
  1919. package/node_modules/type-fest/source/if-unknown.d.ts +0 -24
  1920. package/node_modules/type-fest/source/includes.d.ts +0 -22
  1921. package/node_modules/type-fest/source/int-range.d.ts +0 -53
  1922. package/node_modules/type-fest/source/internal.d.ts +0 -783
  1923. package/node_modules/type-fest/source/invariant-of.d.ts +0 -78
  1924. package/node_modules/type-fest/source/is-any.d.ts +0 -29
  1925. package/node_modules/type-fest/source/is-equal.d.ts +0 -31
  1926. package/node_modules/type-fest/source/is-float.d.ts +0 -33
  1927. package/node_modules/type-fest/source/is-integer.d.ts +0 -48
  1928. package/node_modules/type-fest/source/is-literal.d.ts +0 -258
  1929. package/node_modules/type-fest/source/is-never.d.ts +0 -42
  1930. package/node_modules/type-fest/source/is-null.d.ts +0 -20
  1931. package/node_modules/type-fest/source/is-unknown.d.ts +0 -52
  1932. package/node_modules/type-fest/source/iterable-element.d.ts +0 -54
  1933. package/node_modules/type-fest/source/join.d.ts +0 -68
  1934. package/node_modules/type-fest/source/jsonifiable.d.ts +0 -37
  1935. package/node_modules/type-fest/source/jsonify.d.ts +0 -121
  1936. package/node_modules/type-fest/source/kebab-case.d.ts +0 -38
  1937. package/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +0 -47
  1938. package/node_modules/type-fest/source/kebab-cased-properties.d.ts +0 -30
  1939. package/node_modules/type-fest/source/keys-of-union.d.ts +0 -40
  1940. package/node_modules/type-fest/source/last-array-element.d.ts +0 -38
  1941. package/node_modules/type-fest/source/less-than-or-equal.d.ts +0 -22
  1942. package/node_modules/type-fest/source/less-than.d.ts +0 -22
  1943. package/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +0 -36
  1944. package/node_modules/type-fest/source/literal-to-primitive.d.ts +0 -36
  1945. package/node_modules/type-fest/source/literal-union.d.ts +0 -35
  1946. package/node_modules/type-fest/source/merge-deep.d.ts +0 -486
  1947. package/node_modules/type-fest/source/merge-exclusive.d.ts +0 -41
  1948. package/node_modules/type-fest/source/merge.d.ts +0 -48
  1949. package/node_modules/type-fest/source/multidimensional-array.d.ts +0 -44
  1950. package/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +0 -48
  1951. package/node_modules/type-fest/source/non-empty-object.d.ts +0 -35
  1952. package/node_modules/type-fest/source/numeric.d.ts +0 -222
  1953. package/node_modules/type-fest/source/observable-like.d.ts +0 -63
  1954. package/node_modules/type-fest/source/omit-deep.d.ts +0 -140
  1955. package/node_modules/type-fest/source/omit-index-signature.d.ts +0 -107
  1956. package/node_modules/type-fest/source/opaque.d.ts +0 -252
  1957. package/node_modules/type-fest/source/optional-keys-of.d.ts +0 -38
  1958. package/node_modules/type-fest/source/or.d.ts +0 -25
  1959. package/node_modules/type-fest/source/override-properties.d.ts +0 -36
  1960. package/node_modules/type-fest/source/package-json.d.ts +0 -676
  1961. package/node_modules/type-fest/source/partial-deep.d.ts +0 -109
  1962. package/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +0 -71
  1963. package/node_modules/type-fest/source/pascal-case.d.ts +0 -38
  1964. package/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +0 -55
  1965. package/node_modules/type-fest/source/pascal-cased-properties.d.ts +0 -35
  1966. package/node_modules/type-fest/source/paths.d.ts +0 -85
  1967. package/node_modules/type-fest/source/pick-deep.d.ts +0 -149
  1968. package/node_modules/type-fest/source/pick-index-signature.d.ts +0 -102
  1969. package/node_modules/type-fest/source/primitive.d.ts +0 -13
  1970. package/node_modules/type-fest/source/promisable.d.ts +0 -25
  1971. package/node_modules/type-fest/source/readonly-deep.d.ts +0 -81
  1972. package/node_modules/type-fest/source/readonly-keys-of.d.ts +0 -29
  1973. package/node_modules/type-fest/source/readonly-tuple.d.ts +0 -41
  1974. package/node_modules/type-fest/source/replace.d.ts +0 -67
  1975. package/node_modules/type-fest/source/require-all-or-none.d.ts +0 -42
  1976. package/node_modules/type-fest/source/require-at-least-one.d.ts +0 -34
  1977. package/node_modules/type-fest/source/require-exactly-one.d.ts +0 -34
  1978. package/node_modules/type-fest/source/require-one-or-none.d.ts +0 -37
  1979. package/node_modules/type-fest/source/required-deep.d.ts +0 -78
  1980. package/node_modules/type-fest/source/required-keys-of.d.ts +0 -29
  1981. package/node_modules/type-fest/source/schema.d.ts +0 -71
  1982. package/node_modules/type-fest/source/screaming-snake-case.d.ts +0 -33
  1983. package/node_modules/type-fest/source/set-field-type.d.ts +0 -37
  1984. package/node_modules/type-fest/source/set-non-nullable.d.ts +0 -39
  1985. package/node_modules/type-fest/source/set-optional.d.ts +0 -35
  1986. package/node_modules/type-fest/source/set-parameter-type.d.ts +0 -117
  1987. package/node_modules/type-fest/source/set-readonly.d.ts +0 -38
  1988. package/node_modules/type-fest/source/set-required.d.ts +0 -40
  1989. package/node_modules/type-fest/source/set-return-type.d.ts +0 -29
  1990. package/node_modules/type-fest/source/shared-union-fields-deep.d.ts +0 -168
  1991. package/node_modules/type-fest/source/simplify-deep.d.ts +0 -115
  1992. package/node_modules/type-fest/source/simplify.d.ts +0 -58
  1993. package/node_modules/type-fest/source/single-key-object.d.ts +0 -29
  1994. package/node_modules/type-fest/source/snake-case.d.ts +0 -38
  1995. package/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +0 -47
  1996. package/node_modules/type-fest/source/snake-cased-properties.d.ts +0 -30
  1997. package/node_modules/type-fest/source/split-words.d.ts +0 -57
  1998. package/node_modules/type-fest/source/split.d.ts +0 -29
  1999. package/node_modules/type-fest/source/spread.d.ts +0 -85
  2000. package/node_modules/type-fest/source/string-key-of.d.ts +0 -25
  2001. package/node_modules/type-fest/source/string-slice.d.ts +0 -37
  2002. package/node_modules/type-fest/source/stringified.d.ts +0 -23
  2003. package/node_modules/type-fest/source/subtract.d.ts +0 -70
  2004. package/node_modules/type-fest/source/sum.d.ts +0 -70
  2005. package/node_modules/type-fest/source/tagged-union.d.ts +0 -51
  2006. package/node_modules/type-fest/source/trim.d.ts +0 -27
  2007. package/node_modules/type-fest/source/tsconfig-json.d.ts +0 -1198
  2008. package/node_modules/type-fest/source/tuple-to-union.d.ts +0 -51
  2009. package/node_modules/type-fest/source/typed-array.d.ts +0 -17
  2010. package/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +0 -81
  2011. package/node_modules/type-fest/source/union-to-intersection.d.ts +0 -61
  2012. package/node_modules/type-fest/source/unknown-array.d.ts +0 -25
  2013. package/node_modules/type-fest/source/unknown-record.d.ts +0 -31
  2014. package/node_modules/type-fest/source/value-of.d.ts +0 -42
  2015. package/node_modules/type-fest/source/writable-deep.d.ts +0 -83
  2016. package/node_modules/type-fest/source/writable-keys-of.d.ts +0 -30
  2017. package/node_modules/type-fest/source/writable.d.ts +0 -68
  2018. package/node_modules/use-callback-ref/LICENSE +0 -21
  2019. package/node_modules/use-callback-ref/README.md +0 -170
  2020. package/node_modules/use-callback-ref/dist/es2015/assignRef.d.ts +0 -15
  2021. package/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -22
  2022. package/node_modules/use-callback-ref/dist/es2015/createRef.d.ts +0 -10
  2023. package/node_modules/use-callback-ref/dist/es2015/createRef.js +0 -23
  2024. package/node_modules/use-callback-ref/dist/es2015/index.d.ts +0 -8
  2025. package/node_modules/use-callback-ref/dist/es2015/index.js +0 -12
  2026. package/node_modules/use-callback-ref/dist/es2015/mergeRef.d.ts +0 -16
  2027. package/node_modules/use-callback-ref/dist/es2015/mergeRef.js +0 -18
  2028. package/node_modules/use-callback-ref/dist/es2015/refToCallback.d.ts +0 -24
  2029. package/node_modules/use-callback-ref/dist/es2015/refToCallback.js +0 -48
  2030. package/node_modules/use-callback-ref/dist/es2015/transformRef.d.ts +0 -11
  2031. package/node_modules/use-callback-ref/dist/es2015/transformRef.js +0 -14
  2032. package/node_modules/use-callback-ref/dist/es2015/types.d.ts +0 -5
  2033. package/node_modules/use-callback-ref/dist/es2015/types.js +0 -1
  2034. package/node_modules/use-callback-ref/dist/es2015/useMergeRef.d.ts +0 -17
  2035. package/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -45
  2036. package/node_modules/use-callback-ref/dist/es2015/useRef.d.ts +0 -16
  2037. package/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -39
  2038. package/node_modules/use-callback-ref/dist/es2015/useTransformRef.d.ts +0 -15
  2039. package/node_modules/use-callback-ref/dist/es2015/useTransformRef.js +0 -18
  2040. package/node_modules/use-callback-ref/dist/es2019/assignRef.d.ts +0 -15
  2041. package/node_modules/use-callback-ref/dist/es2019/assignRef.js +0 -22
  2042. package/node_modules/use-callback-ref/dist/es2019/createRef.d.ts +0 -10
  2043. package/node_modules/use-callback-ref/dist/es2019/createRef.js +0 -23
  2044. package/node_modules/use-callback-ref/dist/es2019/index.d.ts +0 -8
  2045. package/node_modules/use-callback-ref/dist/es2019/index.js +0 -12
  2046. package/node_modules/use-callback-ref/dist/es2019/mergeRef.d.ts +0 -16
  2047. package/node_modules/use-callback-ref/dist/es2019/mergeRef.js +0 -18
  2048. package/node_modules/use-callback-ref/dist/es2019/refToCallback.d.ts +0 -24
  2049. package/node_modules/use-callback-ref/dist/es2019/refToCallback.js +0 -48
  2050. package/node_modules/use-callback-ref/dist/es2019/transformRef.d.ts +0 -11
  2051. package/node_modules/use-callback-ref/dist/es2019/transformRef.js +0 -14
  2052. package/node_modules/use-callback-ref/dist/es2019/types.d.ts +0 -5
  2053. package/node_modules/use-callback-ref/dist/es2019/types.js +0 -1
  2054. package/node_modules/use-callback-ref/dist/es2019/useMergeRef.d.ts +0 -17
  2055. package/node_modules/use-callback-ref/dist/es2019/useMergeRef.js +0 -43
  2056. package/node_modules/use-callback-ref/dist/es2019/useRef.d.ts +0 -16
  2057. package/node_modules/use-callback-ref/dist/es2019/useRef.js +0 -39
  2058. package/node_modules/use-callback-ref/dist/es2019/useTransformRef.d.ts +0 -15
  2059. package/node_modules/use-callback-ref/dist/es2019/useTransformRef.js +0 -18
  2060. package/node_modules/use-callback-ref/dist/es5/assignRef.d.ts +0 -15
  2061. package/node_modules/use-callback-ref/dist/es5/assignRef.js +0 -26
  2062. package/node_modules/use-callback-ref/dist/es5/createRef.d.ts +0 -10
  2063. package/node_modules/use-callback-ref/dist/es5/createRef.js +0 -27
  2064. package/node_modules/use-callback-ref/dist/es5/index.d.ts +0 -8
  2065. package/node_modules/use-callback-ref/dist/es5/index.js +0 -24
  2066. package/node_modules/use-callback-ref/dist/es5/mergeRef.d.ts +0 -16
  2067. package/node_modules/use-callback-ref/dist/es5/mergeRef.js +0 -22
  2068. package/node_modules/use-callback-ref/dist/es5/refToCallback.d.ts +0 -24
  2069. package/node_modules/use-callback-ref/dist/es5/refToCallback.js +0 -53
  2070. package/node_modules/use-callback-ref/dist/es5/transformRef.d.ts +0 -11
  2071. package/node_modules/use-callback-ref/dist/es5/transformRef.js +0 -18
  2072. package/node_modules/use-callback-ref/dist/es5/types.d.ts +0 -5
  2073. package/node_modules/use-callback-ref/dist/es5/types.js +0 -2
  2074. package/node_modules/use-callback-ref/dist/es5/useMergeRef.d.ts +0 -17
  2075. package/node_modules/use-callback-ref/dist/es5/useMergeRef.js +0 -50
  2076. package/node_modules/use-callback-ref/dist/es5/useRef.d.ts +0 -16
  2077. package/node_modules/use-callback-ref/dist/es5/useRef.js +0 -43
  2078. package/node_modules/use-callback-ref/dist/es5/useTransformRef.d.ts +0 -15
  2079. package/node_modules/use-callback-ref/dist/es5/useTransformRef.js +0 -22
  2080. package/node_modules/use-callback-ref/package.json +0 -84
  2081. package/node_modules/use-sidecar/LICENSE +0 -21
  2082. package/node_modules/use-sidecar/README.md +0 -349
  2083. package/node_modules/use-sidecar/dist/es2015/config.d.ts +0 -5
  2084. package/node_modules/use-sidecar/dist/es2015/config.js +0 -6
  2085. package/node_modules/use-sidecar/dist/es2015/env.d.ts +0 -4
  2086. package/node_modules/use-sidecar/dist/es2015/env.js +0 -5
  2087. package/node_modules/use-sidecar/dist/es2015/exports.d.ts +0 -3
  2088. package/node_modules/use-sidecar/dist/es2015/exports.js +0 -18
  2089. package/node_modules/use-sidecar/dist/es2015/hoc.d.ts +0 -3
  2090. package/node_modules/use-sidecar/dist/es2015/hoc.js +0 -15
  2091. package/node_modules/use-sidecar/dist/es2015/hook.d.ts +0 -2
  2092. package/node_modules/use-sidecar/dist/es2015/hook.js +0 -41
  2093. package/node_modules/use-sidecar/dist/es2015/index.d.ts +0 -7
  2094. package/node_modules/use-sidecar/dist/es2015/index.js +0 -6
  2095. package/node_modules/use-sidecar/dist/es2015/medium.d.ts +0 -3
  2096. package/node_modules/use-sidecar/dist/es2015/medium.js +0 -78
  2097. package/node_modules/use-sidecar/dist/es2015/renderProp.d.ts +0 -8
  2098. package/node_modules/use-sidecar/dist/es2015/renderProp.js +0 -35
  2099. package/node_modules/use-sidecar/dist/es2015/types.d.ts +0 -47
  2100. package/node_modules/use-sidecar/dist/es2015/types.js +0 -1
  2101. package/node_modules/use-sidecar/dist/es2019/config.d.ts +0 -5
  2102. package/node_modules/use-sidecar/dist/es2019/config.js +0 -6
  2103. package/node_modules/use-sidecar/dist/es2019/env.d.ts +0 -4
  2104. package/node_modules/use-sidecar/dist/es2019/env.js +0 -5
  2105. package/node_modules/use-sidecar/dist/es2019/exports.d.ts +0 -3
  2106. package/node_modules/use-sidecar/dist/es2019/exports.js +0 -16
  2107. package/node_modules/use-sidecar/dist/es2019/hoc.d.ts +0 -3
  2108. package/node_modules/use-sidecar/dist/es2019/hoc.js +0 -14
  2109. package/node_modules/use-sidecar/dist/es2019/hook.d.ts +0 -2
  2110. package/node_modules/use-sidecar/dist/es2019/hook.js +0 -41
  2111. package/node_modules/use-sidecar/dist/es2019/index.d.ts +0 -7
  2112. package/node_modules/use-sidecar/dist/es2019/index.js +0 -6
  2113. package/node_modules/use-sidecar/dist/es2019/medium.d.ts +0 -3
  2114. package/node_modules/use-sidecar/dist/es2019/medium.js +0 -78
  2115. package/node_modules/use-sidecar/dist/es2019/renderProp.d.ts +0 -8
  2116. package/node_modules/use-sidecar/dist/es2019/renderProp.js +0 -28
  2117. package/node_modules/use-sidecar/dist/es2019/types.d.ts +0 -47
  2118. package/node_modules/use-sidecar/dist/es2019/types.js +0 -1
  2119. package/node_modules/use-sidecar/dist/es5/config.d.ts +0 -5
  2120. package/node_modules/use-sidecar/dist/es5/config.js +0 -10
  2121. package/node_modules/use-sidecar/dist/es5/env.d.ts +0 -4
  2122. package/node_modules/use-sidecar/dist/es5/env.js +0 -8
  2123. package/node_modules/use-sidecar/dist/es5/exports.d.ts +0 -3
  2124. package/node_modules/use-sidecar/dist/es5/exports.js +0 -22
  2125. package/node_modules/use-sidecar/dist/es5/hoc.d.ts +0 -3
  2126. package/node_modules/use-sidecar/dist/es5/hoc.js +0 -19
  2127. package/node_modules/use-sidecar/dist/es5/hook.d.ts +0 -2
  2128. package/node_modules/use-sidecar/dist/es5/hook.js +0 -45
  2129. package/node_modules/use-sidecar/dist/es5/index.d.ts +0 -7
  2130. package/node_modules/use-sidecar/dist/es5/index.js +0 -16
  2131. package/node_modules/use-sidecar/dist/es5/medium.d.ts +0 -3
  2132. package/node_modules/use-sidecar/dist/es5/medium.js +0 -83
  2133. package/node_modules/use-sidecar/dist/es5/renderProp.d.ts +0 -8
  2134. package/node_modules/use-sidecar/dist/es5/renderProp.js +0 -39
  2135. package/node_modules/use-sidecar/dist/es5/types.d.ts +0 -47
  2136. package/node_modules/use-sidecar/dist/es5/types.js +0 -2
  2137. package/node_modules/use-sidecar/package.json +0 -89
  2138. package/node_modules/zod/LICENSE +0 -21
  2139. package/node_modules/zod/README.md +0 -2876
  2140. package/node_modules/zod/index.d.ts +0 -2
  2141. package/node_modules/zod/lib/ZodError.d.ts +0 -164
  2142. package/node_modules/zod/lib/ZodError.js +0 -137
  2143. package/node_modules/zod/lib/__tests__/Mocker.d.ts +0 -17
  2144. package/node_modules/zod/lib/__tests__/Mocker.js +0 -57
  2145. package/node_modules/zod/lib/benchmarks/datetime.d.ts +0 -5
  2146. package/node_modules/zod/lib/benchmarks/datetime.js +0 -54
  2147. package/node_modules/zod/lib/benchmarks/discriminatedUnion.d.ts +0 -5
  2148. package/node_modules/zod/lib/benchmarks/discriminatedUnion.js +0 -79
  2149. package/node_modules/zod/lib/benchmarks/index.d.ts +0 -1
  2150. package/node_modules/zod/lib/benchmarks/index.js +0 -59
  2151. package/node_modules/zod/lib/benchmarks/ipv4.d.ts +0 -5
  2152. package/node_modules/zod/lib/benchmarks/ipv4.js +0 -54
  2153. package/node_modules/zod/lib/benchmarks/object.d.ts +0 -5
  2154. package/node_modules/zod/lib/benchmarks/object.js +0 -70
  2155. package/node_modules/zod/lib/benchmarks/primitives.d.ts +0 -5
  2156. package/node_modules/zod/lib/benchmarks/primitives.js +0 -170
  2157. package/node_modules/zod/lib/benchmarks/realworld.d.ts +0 -5
  2158. package/node_modules/zod/lib/benchmarks/realworld.js +0 -56
  2159. package/node_modules/zod/lib/benchmarks/string.d.ts +0 -5
  2160. package/node_modules/zod/lib/benchmarks/string.js +0 -55
  2161. package/node_modules/zod/lib/benchmarks/union.d.ts +0 -5
  2162. package/node_modules/zod/lib/benchmarks/union.js +0 -79
  2163. package/node_modules/zod/lib/errors.d.ts +0 -5
  2164. package/node_modules/zod/lib/errors.js +0 -17
  2165. package/node_modules/zod/lib/external.d.ts +0 -6
  2166. package/node_modules/zod/lib/external.js +0 -18
  2167. package/node_modules/zod/lib/helpers/enumUtil.d.ts +0 -8
  2168. package/node_modules/zod/lib/helpers/enumUtil.js +0 -2
  2169. package/node_modules/zod/lib/helpers/errorUtil.d.ts +0 -9
  2170. package/node_modules/zod/lib/helpers/errorUtil.js +0 -8
  2171. package/node_modules/zod/lib/helpers/parseUtil.d.ts +0 -78
  2172. package/node_modules/zod/lib/helpers/parseUtil.js +0 -125
  2173. package/node_modules/zod/lib/helpers/partialUtil.d.ts +0 -8
  2174. package/node_modules/zod/lib/helpers/partialUtil.js +0 -2
  2175. package/node_modules/zod/lib/helpers/typeAliases.d.ts +0 -2
  2176. package/node_modules/zod/lib/helpers/typeAliases.js +0 -2
  2177. package/node_modules/zod/lib/helpers/util.d.ts +0 -82
  2178. package/node_modules/zod/lib/helpers/util.js +0 -142
  2179. package/node_modules/zod/lib/index.d.ts +0 -4
  2180. package/node_modules/zod/lib/index.js +0 -29
  2181. package/node_modules/zod/lib/index.mjs +0 -4236
  2182. package/node_modules/zod/lib/index.umd.js +0 -4351
  2183. package/node_modules/zod/lib/locales/en.d.ts +0 -3
  2184. package/node_modules/zod/lib/locales/en.js +0 -129
  2185. package/node_modules/zod/lib/types.d.ts +0 -1127
  2186. package/node_modules/zod/lib/types.js +0 -3677
  2187. package/node_modules/zod/package.json +0 -119
@@ -1,2149 +0,0 @@
1
- # Remix Utils
2
-
3
- This package contains simple utility functions to use with [Remix.run](https://remix.run).
4
-
5
- ## Installation
6
-
7
- ```bash
8
- npm install remix-utils
9
- ```
10
-
11
- Additional optional dependencies may be needed, all optional dependencies are:
12
-
13
- - `@remix-run/react` (also `@remix-run/router` but you should be using the React one)
14
- - `@remix-run/node` or `@remix-run/cloudflare` or `@remix-run/deno` (actually it's `@remix-run/server-runtime` but you should use one of the others)
15
- - `crypto-js`
16
- - `is-ip`
17
- - `intl-parse-accept-language`
18
- - `react`
19
- - `zod`
20
-
21
- The utils that require an extra optional dependency mention it in their documentation.
22
-
23
- If you want to install them all run:
24
-
25
- ```sh
26
- npm add crypto-js is-ip intl-parse-accept-language zod
27
- ```
28
-
29
- React and the `@remix-run/*` packages should be already installed in your project.
30
-
31
- ## Upgrade from Remix Utils v6
32
-
33
- If you used Remix Utils before, you will notice some changes.
34
-
35
- 1. The package is published as ESM only
36
- 2. Every util now has a specific path in the package, so you need to import them from `remix-utils/<util-name>`.
37
- 3. All dependencies are now optional, so you need to install them yourself.
38
-
39
- #### Usage with CJS
40
-
41
- Since v7 of Remix Utils the package is published as ESM-only (plus type definitions). This means if you're using Remix with CJS you need to configure it to bundle Remix Utils.
42
-
43
- In your `remix.config.js` file, add this:
44
-
45
- ```js
46
- module.exports = {
47
- serverDependenciesToBundle: [
48
- /^remix-utils.*/,
49
- // If you installed is-ip optional dependency you will need these too
50
- "is-ip",
51
- "ip-regex",
52
- "super-regex",
53
- "clone-regexp",
54
- "function-timeout",
55
- "time-span",
56
- "convert-hrtime",
57
- "is-regexp",
58
- ],
59
- };
60
- ```
61
-
62
- If you're not sure if your app uses ESM or CJS, check if you have `serverModuleFormat` in your `remix.config.js` file to know.
63
-
64
- In case you don't have one, if you're using Remix v1 it will be CJS and if you're using Remix v2 it will be ESM.
65
-
66
- If you're using Vite, but still building to CJS, you will need to [add this package to `noExternal`](https://remix.run/docs/en/main/future/vite#esm--cjs), so it's bundled with your server code. Therefore, add the following to `defineConfig()` in `vite.config.ts`:
67
-
68
- ```js
69
- ssr: {
70
- noExternal: ["remix-utils"],
71
- },
72
- ```
73
-
74
- > **Note**
75
- > Some of the optional dependencies in Remix Utils may still be published as CJS, so you may need to add them to `serverDependenciesToBundle` too.
76
-
77
- Another thing to consider if you did the upgrade from Remix v1 to Remix v2 is that in your `tsconfig.json` you will need to set `"moduleResolution": "Bundler"`, otherwise TS will not resolve the new import paths.
78
-
79
- #### Updated Import Paths
80
-
81
- You will need to change your imports to use the correct one. So instead of doing:
82
-
83
- ```ts
84
- import { eventStream, useEventSource } from "remix-utils";
85
- ```
86
-
87
- You need to change it to:
88
-
89
- ```ts
90
- import { eventStream } from "remix-utils/sse/server";
91
- import { useEventSource } from "remix-utils/sse/react";
92
- ```
93
-
94
- This adds more lines but enables the next change.
95
-
96
- #### Optional Dependencies
97
-
98
- Before, Remix Utils installed some dependencies like Zod that you may never used.
99
-
100
- Current version marks every dependency as optional, so you need to install them yourself.
101
-
102
- While this is more works it means the package can keep using more dependencies as needed without increasing the bundle size for everyone. Only if you use the dependency that depends on Zod you will install and include Zod in your bundle.
103
-
104
- Every util mentions what dependencies it requires and the [Installation](#installation) section mentions the whole list in case you want to install them all upfront.
105
-
106
- ## API Reference
107
-
108
- ### promiseHash
109
-
110
- The `promiseHash` function is not directly related to Remix but it's a useful function when working with loaders and actions.
111
-
112
- This function is an object version of `Promise.all` which lets you pass an object with promises and get an object with the same keys with the resolved values.
113
-
114
- ```ts
115
- import { promiseHash } from "remix-utils/promise";
116
-
117
- export async function loader({ request }: LoaderFunctionArgs) {
118
- return json(
119
- await promiseHash({
120
- user: getUser(request),
121
- posts: getPosts(request),
122
- }),
123
- );
124
- }
125
- ```
126
-
127
- You can use nested `promiseHash` to get a nested object with resolved values.
128
-
129
- ```ts
130
- import { promiseHash } from "remix-utils/promise";
131
-
132
- export async function loader({ request }: LoaderFunctionArgs) {
133
- return json(
134
- await promiseHash({
135
- user: getUser(request),
136
- posts: promiseHash({
137
- list: getPosts(request),
138
- comments: promiseHash({
139
- list: getComments(request),
140
- likes: getLikes(request),
141
- }),
142
- }),
143
- }),
144
- );
145
- }
146
- ```
147
-
148
- ### timeout
149
-
150
- The `timeout` function lets you attach a timeout to any promise, if the promise doesn't resolve or reject before the timeout, it will reject with a `TimeoutError`.
151
-
152
- ```ts
153
- import { timeout } from "remix-utils/promise";
154
-
155
- try {
156
- let result = await timeout(fetch("https://example.com"), { ms: 100 });
157
- } catch (error) {
158
- if (error instanceof TimeoutError) {
159
- // Handle timeout
160
- }
161
- }
162
- ```
163
-
164
- Here the fetch needs to happen in less than 100ms, otherwise it will throw a `TimeoutError`.
165
-
166
- If the promise is cancellable with an AbortSignal you can pass the AbortController to the `timeout` function.
167
-
168
- ```ts
169
- import { timeout } from "remix-utils/promise";
170
-
171
- try {
172
- let controller = new AbortController();
173
- let result = await timeout(
174
- fetch("https://example.com", { signal: controller.signal }),
175
- { ms: 100, controller },
176
- );
177
- } catch (error) {
178
- if (error instanceof TimeoutError) {
179
- // Handle timeout
180
- }
181
- }
182
- ```
183
-
184
- Here after 100ms, `timeout` will call `controller.abort()` which will mark the `controller.signal` as aborted.
185
-
186
- ### cacheAssets
187
-
188
- > **Note**
189
- > This can only be run inside `entry.client`.
190
-
191
- This function lets you easily cache inside the [browser's Cache Storage](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage) every JS file built by Remix.
192
-
193
- To use it, open your `entry.client` file and add this:
194
-
195
- ```ts
196
- import { cacheAssets } from "remix-utils/cache-assets";
197
-
198
- cacheAssets().catch((error) => {
199
- // do something with the error, or not
200
- });
201
- ```
202
-
203
- The function receives an optional options object with two options:
204
-
205
- - `cacheName` is the name of the [Cache object](https://developer.mozilla.org/en-US/docs/Web/API/Cache) to use, the default value is `assets`.
206
- - `buildPath` is the pathname prefix for all Remix built assets, the default value is `/build/` which is the default build path of Remix itself.
207
-
208
- It's important that if you changed your build path in `remix.config.js` you pass the same value to `cacheAssets` or it will not find your JS files.
209
-
210
- The `cacheName` can be left as is unless you're adding a Service Worker to your app and want to share the cache.
211
-
212
- ```ts
213
- import { cacheAssets } from "remix-utils/cache-assets";
214
-
215
- cacheAssests({ cacheName: "assets", buildPath: "/build/" }).catch((error) => {
216
- // do something with the error, or not
217
- });
218
- ```
219
-
220
- ### ClientOnly
221
-
222
- > **Note**
223
- > This depends on `react`.
224
-
225
- The ClientOnly component lets you render the children element only on the client-side, avoiding rendering it the server-side.
226
-
227
- You can provide a fallback component to be used on SSR, and while optional, it's highly recommended to provide one to avoid content layout shift issues.
228
-
229
- ```tsx
230
- import { ClientOnly } from "remix-utils/client-only";
231
-
232
- export default function Component() {
233
- return (
234
- <ClientOnly fallback={<SimplerStaticVersion />}>
235
- {() => <ComplexComponentNeedingBrowserEnvironment />}
236
- </ClientOnly>
237
- );
238
- }
239
- ```
240
-
241
- This component is handy when you have some complex component that needs a browser environment to work, like a chart or a map. This way, you can avoid rendering it server-side and instead use a simpler static version like an SVG or even a loading UI.
242
-
243
- The rendering flow will be:
244
-
245
- - SSR: Always render the fallback.
246
- - CSR First Render: Always render the fallback.
247
- - CSR Update: Update to render the actual component.
248
- - CSR Future Renders: Always render the actual component, don't bother to render the fallback.
249
-
250
- This component uses the `useHydrated` hook internally.
251
-
252
- ### ServerOnly
253
-
254
- > **Note**
255
- > This depends on `react`.
256
-
257
- The ServerOnly component is the opposite of the ClientOnly component, it lets you render the children element only on the server-side, avoiding rendering it the client-side.
258
-
259
- You can provide a fallback component to be used on CSR, and while optional, it's highly recommended to provide one to avoid content layout shift issues, unless you only render visually hidden elements.
260
-
261
- ```tsx
262
- import { ServerOnly } from "remix-utils/server-only";
263
-
264
- export default function Component() {
265
- return (
266
- <ServerOnly fallback={<ComplexComponentNeedingBrowserEnvironment />}>
267
- {() => <SimplerStaticVersion />}
268
- </ServerOnly>
269
- );
270
- }
271
- ```
272
-
273
- This component is handy to render some content only on the server-side, like a hidden input you can later use to know if JS has loaded.
274
-
275
- Consider it like the `<noscript>` HTML tag but it can work even if JS failed to load but it's enabled on the browser.
276
-
277
- The rendering flow will be:
278
-
279
- - SSR: Always render the children.
280
- - CSR First Render: Always render the children.
281
- - CSR Update: Update to render the fallback component (if defined).
282
- - CSR Future Renders: Always render the fallback component, don't bother to render the children.
283
-
284
- This component uses the `useHydrated` hook internally.
285
-
286
- ### CORS
287
-
288
- The CORS function let you implement CORS headers on your loaders and actions so you can use them as an API for other client-side applications.
289
-
290
- There are two main ways to use the `cors` function.
291
-
292
- 1. Use it on each loader/action where you want to enable it.
293
- 2. Use it globally on entry.server handleRequest and handleDataRequest export.
294
-
295
- If you want to use it on every loader/action, you can do it like this:
296
-
297
- ```ts
298
- import { cors } from "remix-utils/cors";
299
-
300
- export async function loader({ request }: LoaderFunctionArgs) {
301
- let data = await getData(request);
302
- let response = json<LoaderData>(data);
303
- return await cors(request, response);
304
- }
305
- ```
306
-
307
- You could also do the `json` and `cors` call in one line.
308
-
309
- ```ts
310
- import { cors } from "remix-utils/cors";
311
-
312
- export async function loader({ request }: LoaderFunctionArgs) {
313
- let data = await getData(request);
314
- return await cors(request, json<LoaderData>(data));
315
- }
316
- ```
317
-
318
- And because `cors` mutates the response, you can also call it and later return.
319
-
320
- ```ts
321
- import { cors } from "remix-utils/cors";
322
-
323
- export async function loader({ request }: LoaderFunctionArgs) {
324
- let data = await getData(request);
325
- let response = json<LoaderData>(data);
326
- await cors(request, response); // this mutates the Response object
327
- return response; // so you can return it here
328
- }
329
- ```
330
-
331
- If you want to setup it globally once, you can do it like this in `entry.server`
332
-
333
- ```tsx
334
- import { cors } from "remix-utils/cors";
335
-
336
- const ABORT_DELAY = 5000;
337
-
338
- export default function handleRequest(
339
- request: Request,
340
- responseStatusCode: number,
341
- responseHeaders: Headers,
342
- remixContext: EntryContext,
343
- ) {
344
- let callbackName = isbot(request.headers.get("user-agent"))
345
- ? "onAllReady"
346
- : "onShellReady";
347
-
348
- return new Promise((resolve, reject) => {
349
- let didError = false;
350
-
351
- let { pipe, abort } = renderToPipeableStream(
352
- <RemixServer context={remixContext} url={request.url} />,
353
- {
354
- [callbackName]: () => {
355
- let body = new PassThrough();
356
-
357
- responseHeaders.set("Content-Type", "text/html");
358
-
359
- cors(
360
- request,
361
- new Response(body, {
362
- headers: responseHeaders,
363
- status: didError ? 500 : responseStatusCode,
364
- }),
365
- ).then((response) => {
366
- resolve(response);
367
- });
368
-
369
- pipe(body);
370
- },
371
- onShellError: (err: unknown) => {
372
- reject(err);
373
- },
374
- onError: (error: unknown) => {
375
- didError = true;
376
-
377
- console.error(error);
378
- },
379
- },
380
- );
381
-
382
- setTimeout(abort, ABORT_DELAY);
383
- });
384
- }
385
-
386
- export let handleDataRequest: HandleDataRequestFunction = async (
387
- response,
388
- { request },
389
- ) => {
390
- return await cors(request, response);
391
- };
392
- ```
393
-
394
- #### Options
395
-
396
- Additionally, the `cors` function accepts a `options` object as a third optional argument. These are the options.
397
-
398
- - `origin`: Configures the **Access-Control-Allow-Origin** CORS header.
399
- Possible values are:
400
- - `true`: Enable CORS for any origin (same as "\*")
401
- - `false`: Don't setup CORS
402
- - `string`: Set to a specific origin, if set to "\*" it will allow any origin
403
- - `RegExp`: Set to a RegExp to match against the origin
404
- - `Array<string | RegExp>`: Set to an array of origins to match against the
405
- string or RegExp
406
- - `Function`: Set to a function that will be called with the request origin
407
- and should return a boolean indicating if the origin is allowed or not.
408
- The default value is `true`.
409
- - `methods`: Configures the **Access-Control-Allow-Methods** CORS header.
410
- The default value is `["GET", "HEAD", "PUT", "PATCH", "POST", "DELETE"]`.
411
- - `allowedHeaders`: Configures the **Access-Control-Allow-Headers** CORS header.
412
- - `exposedHeaders`: Configures the **Access-Control-Expose-Headers** CORS header.
413
- - `credentials`: Configures the **Access-Control-Allow-Credentials** CORS header.
414
- - `maxAge`: Configures the **Access-Control-Max-Age** CORS header.
415
-
416
- ### CSRF
417
-
418
- > **Note**
419
- > This depends on `react`, `crypto-js`, and a Remix server runtime.
420
-
421
- The CSRF related functions let you implement CSRF protection on your application.
422
-
423
- This part of Remix Utils needs React and server-side code.
424
-
425
- First create a new CSRF instance.
426
-
427
- ```ts
428
- // app/utils/csrf.server.ts
429
- import { CSRF } from "remix-utils/csrf/server";
430
- import { createCookie } from "@remix-run/node"; // or cloudflare/deno
431
-
432
- export const cookie = createCookie("csrf", {
433
- path: "/",
434
- httpOnly: true,
435
- secure: process.env.NODE_ENV === "production",
436
- sameSite: "lax",
437
- secrets: ["s3cr3t"],
438
- });
439
-
440
- export const csrf = new CSRF({
441
- cookie,
442
- // what key in FormData objects will be used for the token, defaults to `csrf`
443
- formDataKey: "csrf",
444
- // an optional secret used to sign the token, recommended for extra safety
445
- secret: "s3cr3t",
446
- });
447
- ```
448
-
449
- Then you can use `csrf` to generate a new token.
450
-
451
- ```ts
452
- import { csrf } from "~/utils/csrf.server";
453
-
454
- export async function loader({ request }: LoaderFunctionArgs) {
455
- let token = csrf.generate();
456
- }
457
- ```
458
-
459
- You can customize the token size by passing the byte size, the default one is 32 bytes which will give you a string with a length of 43 after encoding.
460
-
461
- ```ts
462
- let token = csrf.generate(64); // customize token length
463
- ```
464
-
465
- You will need to save this token in a cookie and also return it from the loader. For convenience, you can use the `CSRF#commitToken` helper.
466
-
467
- ```ts
468
- import { csrf } from "~/utils/csrf.server";
469
-
470
- export async function loader({ request }: LoaderFunctionArgs) {
471
- let [token, cookieHeader] = await csrf.commitToken();
472
- return json({ token }, { headers: { "set-cookie": cookieHeader } });
473
- }
474
- ```
475
-
476
- > **Note**
477
- > You could do this on any route, but I recommend you to do it on the `root` loader.
478
-
479
- Now that you returned the token and set it in a cookie, you can use the `AuthenticityTokenProvider` component to provide the token to your React components.
480
-
481
- ```tsx
482
- import { AuthenticityTokenProvider } from "remix-utils/csrf/react";
483
-
484
- let { csrf } = useLoaderData<LoaderData>();
485
- return (
486
- <AuthenticityTokenProvider token={csrf}>
487
- <Outlet />
488
- </AuthenticityTokenProvider>
489
- );
490
- ```
491
-
492
- Render it in your `root` component and wrap the `Outlet` with it.
493
-
494
- When you create a form in some route, you can use the `AuthenticityTokenInput` component to add the authenticity token to the form.
495
-
496
- ```tsx
497
- import { Form } from "@remix-run/react";
498
- import { AuthenticityTokenInput } from "remix-utils/csrf/react";
499
-
500
- export default function Component() {
501
- return (
502
- <Form method="post">
503
- <AuthenticityTokenInput />
504
- <input type="text" name="something" />
505
- </Form>
506
- );
507
- }
508
- ```
509
-
510
- Note that the authenticity token is only really needed for a form that mutates the data somehow. If you have a search form making a GET request, you don't need to add the authenticity token there.
511
-
512
- This `AuthenticityTokenInput` will get the authenticity token from the `AuthenticityTokenProvider` component and add it to the form as the value of a hidden input with the name `csrf`. You can customize the field name using the `name` prop.
513
-
514
- ```tsx
515
- <AuthenticityTokenInput name="customName" />
516
- ```
517
-
518
- You should only customize the name if you also changed it on `createAuthenticityToken`.
519
-
520
- If you need to use `useFetcher` (or `useSubmit`) instead of `Form` you can also get the authenticity token with the `useAuthenticityToken` hook.
521
-
522
- ```tsx
523
- import { useFetcher } from "@remix-run/react";
524
- import { useAuthenticityToken } from "remix-utils/csrf/react";
525
-
526
- export function useMarkAsRead() {
527
- let fetcher = useFetcher();
528
- let csrf = useAuthenticityToken();
529
- return function submit(data) {
530
- fetcher.submit(
531
- { csrf, ...data },
532
- { action: "/api/mark-as-read", method: "post" },
533
- );
534
- };
535
- }
536
- ```
537
-
538
- Finally, you need to validate the authenticity token in the action that received the request.
539
-
540
- ```ts
541
- import { CSRFError } from "remix-utils/csrf/server";
542
- import { redirectBack } from "remix-utils/redirect-back";
543
- import { csrf } from "~/utils/csrf.server";
544
-
545
- export async function action({ request }: ActionFunctionArgs) {
546
- try {
547
- await csrf.validate(request);
548
- } catch (error) {
549
- if (error instanceof CSRFError) {
550
- // handle CSRF errors
551
- }
552
- // handle other possible errors
553
- }
554
-
555
- // here you know the request is valid
556
- return redirectBack(request, { fallback: "/fallback" });
557
- }
558
- ```
559
-
560
- If you need to parse the body as FormData yourself (e.g. to support file uploads) you can also call `CSRF#validate` with the FormData and Headers objects.
561
-
562
- ```ts
563
- let formData = await parseMultiPartFormData(request);
564
- try {
565
- await csrf.validate(formData, request.headers);
566
- } catch (error) {
567
- // handle errors
568
- }
569
- ```
570
-
571
- > **Warning**
572
- > If you call `CSRF#validate` with the request instance, but you already read its body, it will throw an error.
573
-
574
- In case the CSRF validation fails, it will throw a `CSRFError` which can be used to correctly identify it against other possible errors that may get thrown.
575
-
576
- The list of possible error messages are:
577
-
578
- - `missing_token_in_cookie`: The request is missing the CSRF token in the cookie.
579
- - `invalid_token_in_cookie`: The CSRF token is not valid (is not a string).
580
- - `tampered_token_in_cookie`: The CSRF token doesn't match the signature.
581
- - `missing_token_in_body`: The request is missing the CSRF token in the body (FormData).
582
- - `mismatched_token`: The CSRF token in the cookie and the body don't match.
583
-
584
- You can use `error.code` to check one of the error codes above, and `error.message` to get a human friendly description.
585
-
586
- > **Warning**
587
- > Don't send those error messages to the end-user, they are meant to be used for debugging purposes only.
588
-
589
- ### Existing Search Params
590
-
591
- ```ts
592
- import { ExistingSearchParams } from "remix-utils/existing-search-params";
593
- ```
594
-
595
- > **Note**
596
- > This depends on `react` and `@remix-run/react`
597
-
598
- When you submit a GET form, the browser will replace all of the search params in the URL with your form data. This component copies existing search params into hidden inputs so they will not be overwritten.
599
-
600
- The `exclude` prop accepts an array of search params to exclude from the hidden inputs
601
-
602
- - add params handled by this form to this list
603
- - add params from other forms you want to clear on submit
604
-
605
- For example, imagine a table of data with separate form components for pagination and filtering and searching. Changing the page number should not affect the search or filter params.
606
-
607
- ```tsx
608
- <Form>
609
- <ExistingSearchParams exclude={["page"]} />
610
- <button type="submit" name="page" value="1">
611
- 1
612
- </button>
613
- <button type="submit" name="page" value="2">
614
- 2
615
- </button>
616
- <button type="submit" name="page" value="3">
617
- 3
618
- </button>
619
- </Form>
620
- ```
621
-
622
- By excluding the `page` param, from the search form, the user will return to the first page of search result.
623
-
624
- ```tsx
625
- <Form>
626
- <ExistingSearchParams exclude={["q", "page"]} />
627
- <input type="search" name="q" />
628
- <button type="submit">Search</button>
629
- </Form>
630
- ```
631
-
632
- ### External Scripts
633
-
634
- > **Note**
635
- > This depends on `react`, `@remix-run/react`, and a Remix server runtime.
636
-
637
- If you need to load different external scripts on certain routes, you can use the `ExternalScripts` component together with the `ExternalScriptsFunction` and `ScriptDescriptor` types.
638
-
639
- In the route you want to load the script add a `handle` export with a `scripts` method, type the `handle` to be `ExternalScriptsHandle`. This interface is let's you define `scripts` as either a function or an array.
640
-
641
- If you want to define what scripts to load based on the loader data, you can use `scripts` as a function:
642
-
643
- ```ts
644
- import { ExternalScriptsHandle } from "remix-utils/external-scripts";
645
-
646
- type LoaderData = SerializeFrom<typeof loader>;
647
-
648
- export let handle: ExternalScriptsHandle<LoaderData> = {
649
- scripts({ id, data, params, matches, location, parentsData }) {
650
- return [
651
- {
652
- src: "https://unpkg.com/htmx.org@1.9.6",
653
- integrity: "sha384-FhXw7b6AlE/jyjlZH5iHa/tTe9EpJ1Y55RjcgPbjeWMskSxZt1v9qkxLJWNJaGni",
654
- crossOrigin: 'anonymous"
655
- }
656
- ];
657
- },
658
- };
659
- ```
660
-
661
- If the list of scripts to load is static you can define `scripts` as an array directly.
662
-
663
- ```ts
664
- import { ExternalScriptsHandle } from "remix-utils/external-scripts";
665
-
666
- export let handle: ExternalScriptsHandle = {
667
- scripts: [
668
- {
669
- src: "https://unpkg.com/htmx.org@1.9.6",
670
- integrity: "sha384-FhXw7b6AlE/jyjlZH5iHa/tTe9EpJ1Y55RjcgPbjeWMskSxZt1v9qkxLJWNJaGni",
671
- crossOrigin: 'anonymous",
672
- preload: true, // use it to render a <link rel="preload"> for this script
673
- }
674
- ],
675
- };
676
- ```
677
-
678
- You can also import `ExternalScriptsFunction` and `ScriptDescriptor` interfaces yourself to build a custom handle type.
679
-
680
- ```ts
681
- import {
682
- ExternalScriptsFunction,
683
- ScriptDescriptor,
684
- } from "remix-utils/external-scripts";
685
-
686
- interface AppHandle<LoaderData = unknown> {
687
- scripts?: ExternalScriptsFunction<LoaderData> | ScriptDescriptor[];
688
- }
689
-
690
- export let handle: AppHandle<LoaderData> = {
691
- scripts, // define scripts as a function or array here
692
- };
693
- ```
694
-
695
- Or you can extend the `ExternalScriptsHandle` interface.
696
-
697
- ```ts
698
- import { ExternalScriptsHandle } from "remix-utils/external-scripts";
699
-
700
- interface AppHandle<LoaderData = unknown>
701
- extends ExternalScriptsHandle<LoaderData> {
702
- // more handle properties here
703
- }
704
-
705
- export let handle: AppHandle<LoaderData> = {
706
- scripts, // define scripts as a function or array here
707
- };
708
- ```
709
-
710
- ---
711
-
712
- Then, in the root route, add the `ExternalScripts` component somewhere, usually you want to load it either inside `<head>` or at the bottom of `<body>`, either before or after the Remix's `<Scripts>` component.
713
-
714
- Where exactly to place `<ExternalScripts />` will depend on your app, but a safe place is at the end of `<body>`.
715
-
716
- ```tsx
717
- import { Links, LiveReload, Meta, Scripts, ScrollRestoration } from "remix";
718
- import { ExternalScripts } from "remix-utils/external-scripts";
719
-
720
- type Props = { children: React.ReactNode; title?: string };
721
-
722
- export function Document({ children, title }: Props) {
723
- return (
724
- <html lang="en">
725
- <head>
726
- <meta charSet="utf-8" />
727
- <meta name="viewport" content="width=device-width,initial-scale=1" />
728
- {title ? <title>{title}</title> : null}
729
- <Meta />
730
- <Links />
731
- </head>
732
- <body>
733
- {children}
734
- <ScrollRestoration />
735
- <ExternalScripts />
736
- <Scripts />
737
- <LiveReload />
738
- </body>
739
- </html>
740
- );
741
- }
742
- ```
743
-
744
- Now, any script you defined in the ScriptsFunction will be added to the HTML.
745
-
746
- You could use this util together with `useShouldHydrate` to disable Remix scripts in certain routes but still load scripts for analytics or small features that need JS but don't need the full app JS to be enabled.
747
-
748
- ```tsx
749
- let shouldHydrate = useShouldHydrate();
750
-
751
- return (
752
- <html lang="en">
753
- <head>
754
- <meta charSet="utf-8" />
755
- <meta name="viewport" content="width=device-width,initial-scale=1" />
756
- {title ? <title>{title}</title> : null}
757
- <Meta />
758
- <Links />
759
- </head>
760
- <body>
761
- {children}
762
- <ScrollRestoration />
763
- {shouldHydrate ? <Scripts /> : <ExternalScripts />}
764
- <LiveReload />
765
- </body>
766
- </html>
767
- );
768
- ```
769
-
770
- ### useGlobalNavigationState
771
-
772
- > **Note**
773
- > This depends on `react`, and `@remix-run/react`.
774
-
775
- This hook allows you to read the value of `transition.state`, every `fetcher.state` in the app, and `revalidator.state`.
776
-
777
- ```ts
778
- import { useGlobalNavigationState } from "remix-utils/use-global-navigation-state";
779
-
780
- export function GlobalPendingUI() {
781
- let states = useGlobalNavigationState();
782
-
783
- if (state.includes("loading")) {
784
- // The app is loading.
785
- }
786
-
787
- if (state.includes("submitting")) {
788
- // The app is submitting.
789
- }
790
-
791
- // The app is idle
792
- }
793
- ```
794
-
795
- The return value of `useGlobalNavigationState` can be `"idle"`, `"loading"` or `"submitting"`
796
-
797
- > **Note**
798
- > This is used by the hooks below to determine if the app is loading, submitting or both (pending).
799
-
800
- ### useGlobalPendingState
801
-
802
- > **Note**
803
- > This depends on `react`, and `@remix-run/react`.
804
-
805
- This hook lets you know if the global navigation, if one of any active fetchers is either loading or submitting, or if the revalidator is running.
806
-
807
- ```ts
808
- import { useGlobalPendingState } from "remix-utils/use-global-navigation-state";
809
-
810
- export function GlobalPendingUI() {
811
- let globalState = useGlobalPendingState();
812
-
813
- if (globalState === "idle") return null;
814
- return <Spinner />;
815
- }
816
- ```
817
-
818
- The return value of `useGlobalPendingState` is either `"idle"` or `"pending"`.
819
-
820
- > **Note**: This hook combines the `useGlobalSubmittingState` and `useGlobalLoadingState` hooks to determine if the app is pending.
821
-
822
- > **Note**: The `pending` state is a combination of the `loading` and `submitting` states introduced by this hook.
823
-
824
- ### useGlobalSubmittingState
825
-
826
- > **Note**
827
- > This depends on `react`, and `@remix-run/react`.
828
-
829
- This hook lets you know if the global transition or if one of any active fetchers is submitting.
830
-
831
- ```ts
832
- import { useGlobalSubmittingState } from "remix-utils/use-global-navigation-state";
833
-
834
- export function GlobalPendingUI() {
835
- let globalState = useGlobalSubmittingState();
836
-
837
- if (globalState === "idle") return null;
838
- return <Spinner />;
839
- }
840
- ```
841
-
842
- The return value of `useGlobalSubmittingState` is either `"idle"` or `"submitting"`.
843
-
844
- ### useGlobalLoadingState
845
-
846
- > **Note**
847
- > This depends on `react`, and `@remix-run/react`.
848
-
849
- This hook lets you know if the global transition, if one of any active fetchers is loading, or if the revalidator is running
850
-
851
- ```ts
852
- import { useGlobalLoadingState } from "remix-utils/use-global-navigation-state";
853
-
854
- export function GlobalPendingUI() {
855
- let globalState = useGlobalLoadingState();
856
-
857
- if (globalState === "idle") return null;
858
- return <Spinner />;
859
- }
860
- ```
861
-
862
- The return value of `useGlobalLoadingState` is either `"idle"` or `"loading"`.
863
-
864
- ### useHydrated
865
-
866
- > **Note**
867
- > This depends on `react`.
868
-
869
- This hook lets you detect if your component is already hydrated. This means the JS for the element loaded client-side and React is running.
870
-
871
- With useHydrated, you can render different things on the server and client while ensuring the hydration will not have a mismatched HTML.
872
-
873
- ```ts
874
- import { useHydrated } from "remix-utils/use-hydrated";
875
-
876
- export function Component() {
877
- let isHydrated = useHydrated();
878
-
879
- if (isHydrated) {
880
- return <ClientOnlyComponent />;
881
- }
882
-
883
- return <ServerFallback />;
884
- }
885
- ```
886
-
887
- When doing SSR, the value of `isHydrated` will always be `false`. The first client-side render `isHydrated` will still be false, and then it will change to `true`.
888
-
889
- After the first client-side render, future components rendered calling this hook will receive `true` as the value of `isHydrated`. This way, your server fallback UI will never be rendered on a route transition.
890
-
891
- ### useLocales
892
-
893
- > **Note**
894
- > This depends on `react`.
895
-
896
- This hook lets you get the locales returned by the root loader. It follows a simple convention, your root loader return value should be an objet with the key `locales`.
897
-
898
- You can combine it with `getClientLocal` to get the locales on the root loader and return that. The return value of `useLocales` is a `Locales` type which is `string | string[] | undefined`.
899
-
900
- ```ts
901
- import { useLocales } from "remix-utils/locales/react";
902
- import { getClientLocales } from "remix-utils/locales/server";
903
-
904
- // in the root loader
905
- export async function loader({ request }: LoaderFunctionArgs) {
906
- let locales = getClientLocales(request);
907
- return json({ locales });
908
- }
909
-
910
- // in any route (including root!)
911
- export default function Component() {
912
- let locales = useLocales();
913
- let date = new Date();
914
- let dateTime = date.toISOString;
915
- let formattedDate = date.toLocaleDateString(locales, options);
916
- return <time dateTime={dateTime}>{formattedDate}</time>;
917
- }
918
- ```
919
-
920
- The return type of `useLocales` is ready to be used with the Intl API.
921
-
922
- ### useShouldHydrate
923
-
924
- > **Note**
925
- > This depends on `@remix-run/react` and `react`.
926
-
927
- If you are building a Remix application where most routes are static, and you want to avoid loading client-side JS, you can use this hook, plus some conventions, to detect if one or more active routes needs JS and only render the Scripts component in that case.
928
-
929
- In your document component, you can call this hook to dynamically render the Scripts component if needed.
930
-
931
- ```tsx
932
- import type { ReactNode } from "react";
933
- import { Links, LiveReload, Meta, Scripts } from "@remix-run/react";
934
- import { useShouldHydrate } from "remix-utils/use-should-hydrate";
935
-
936
- interface DocumentProps {
937
- children: ReactNode;
938
- title?: string;
939
- }
940
-
941
- export function Document({ children, title }: DocumentProps) {
942
- let shouldHydrate = useShouldHydrate();
943
- return (
944
- <html lang="en">
945
- <head>
946
- <meta charSet="utf-8" />
947
- <link rel="icon" href="/favicon.png" type="image/png" />
948
- {title ? <title>{title}</title> : null}
949
- <Meta />
950
- <Links />
951
- </head>
952
- <body>
953
- {children}
954
- {shouldHydrate && <Scripts />}
955
- <LiveReload />
956
- </body>
957
- </html>
958
- );
959
- }
960
- ```
961
-
962
- Now, you can export a `handle` object with the `hydrate` property as `true` in any route module.
963
-
964
- ```ts
965
- export let handle = { hydrate: true };
966
- ```
967
-
968
- This will mark the route as requiring JS hydration.
969
-
970
- In some cases, a route may need JS based on the data the loader returned. For example, if you have a component to purchase a product, but only authenticated users can see it, you don't need JS until the user is authenticated. In that case, you can make `hydrate` be a function receiving your loader data.
971
-
972
- ```ts
973
- export let handle = {
974
- hydrate(data: LoaderData) {
975
- return data.user.isAuthenticated;
976
- },
977
- };
978
- ```
979
-
980
- The `useShouldHydrate` hook will detect `hydrate` as a function and call it using the route data.
981
-
982
- ### getClientIPAddress
983
-
984
- > **Note**
985
- > This depends on `is-ip`.
986
-
987
- This function receives a Request or Headers objects and will try to get the IP address of the client (the user) who originated the request.
988
-
989
- ```ts
990
- import { getClientIPAddress } from "remix-utils/get-client-ip-address";
991
-
992
- export async function loader({ request }: LoaderFunctionArgs) {
993
- // using the request
994
- let ipAddress = getClientIPAddress(request);
995
- // or using the headers
996
- let ipAddress = getClientIPAddress(request.headers);
997
- }
998
- ```
999
-
1000
- If it can't find he IP address the return value will be `null`. Remember to check if it was able to find it before using it.
1001
-
1002
- The function uses the following list of headers, in order of preference:
1003
-
1004
- - X-Client-IP
1005
- - X-Forwarded-For
1006
- - HTTP-X-Forwarded-For
1007
- - Fly-Client-IP
1008
- - CF-Connecting-IP
1009
- - Fastly-Client-Ip
1010
- - True-Client-Ip
1011
- - X-Real-IP
1012
- - X-Cluster-Client-IP
1013
- - X-Forwarded
1014
- - Forwarded-For
1015
- - Forwarded
1016
- - DO-Connecting-IP
1017
- - oxygen-buyer-ip
1018
-
1019
- When a header is found that contains a valid IP address, it will return without checking the other headers.
1020
-
1021
- > **Warning**
1022
- > On local development the function is most likely to return `null`. This is because the browser doesn't send any of the above headers, if you want to simulate those headers you will need to either add it to the request Remix receives in your HTTP server or run a reverse proxy like NGINX that can add them for you.
1023
-
1024
- ### getClientLocales
1025
-
1026
- > **Note**
1027
- > This depends on `intl-parse-accept-language`.
1028
-
1029
- This function let you get the locales of the client (the user) who originated the request.
1030
-
1031
- ```ts
1032
- import { getClientLocales } from "remix-utils/locales/server";
1033
-
1034
- export async function loader({ request }: LoaderFunctionArgs) {
1035
- // using the request
1036
- let locales = getClientLocales(request);
1037
- // or using the headers
1038
- let locales = getClientLocales(request.headers);
1039
- }
1040
- ```
1041
-
1042
- The return value is a Locales type, which is `string | string[] | undefined`.
1043
-
1044
- The returned locales can be directly used on the Intl API when formatting dates, numbers, etc.
1045
-
1046
- ```ts
1047
- import { getClientLocales } from "remix-utils/locales/server";
1048
- export async function loader({ request }: LoaderFunctionArgs) {
1049
- let locales = getClientLocales(request);
1050
- let nowDate = new Date();
1051
- let formatter = new Intl.DateTimeFormat(locales, {
1052
- year: "numeric",
1053
- month: "long",
1054
- day: "numeric",
1055
- });
1056
- return json({ now: formatter.format(nowDate) });
1057
- }
1058
- ```
1059
-
1060
- The value could also be returned by the loader and used on the UI to ensure the user's locales is used on both server and client formatted dates.
1061
-
1062
- ### isPrefetch
1063
-
1064
- This function let you identify if a request was created because of a prefetch triggered by using `<Link prefetch="intent">` or `<Link prefetch="render">`.
1065
-
1066
- This will let you implement a short cache only for prefetch requests so you [avoid the double data request](https://sergiodxa.com/articles/fix-double-data-request-when-prefetching-in-remix).
1067
-
1068
- ```ts
1069
- import { isPrefetch } from "remix-utils/is-prefetch";
1070
-
1071
- export async function loader({ request }: LoaderFunctionArgs) {
1072
- let data = await getData(request);
1073
- let headers = new Headers();
1074
-
1075
- if (isPrefetch(request)) {
1076
- headers.set("Cache-Control", "private, max-age=5, smax-age=0");
1077
- }
1078
-
1079
- return json(data, { headers });
1080
- }
1081
- ```
1082
-
1083
- ### Responses
1084
-
1085
- #### Redirect Back
1086
-
1087
- This function is a wrapper of the `redirect` helper from Remix. Unlike Remix's version, this one receives the whole request object as the first value and an object with the response init and a fallback URL.
1088
-
1089
- The response created with this function will have the `Location` header pointing to the `Referer` header from the request, or if not available, the fallback URL provided in the second argument.
1090
-
1091
- ```ts
1092
- import { redirectBack } from "remix-utils/redirect-back";
1093
-
1094
- export async function action({ request }: ActionFunctionArgs) {
1095
- throw redirectBack(request, { fallback: "/" });
1096
- }
1097
- ```
1098
-
1099
- This helper is most useful when used in a generic action to send the user to the same URL it was before.
1100
-
1101
- #### Not Modified
1102
-
1103
- Helper function to create a Not Modified (304) response without a body and any header.
1104
-
1105
- ```ts
1106
- import { notModified } from "remix-utils/responses";
1107
-
1108
- export async function loader({ request }: LoaderFunctionArgs) {
1109
- return notModified();
1110
- }
1111
- ```
1112
-
1113
- #### JavaScript
1114
-
1115
- Helper function to create a JavaScript file response with any header.
1116
-
1117
- This is useful to create JS files based on data inside a Resource Route.
1118
-
1119
- ```ts
1120
- import { javascript } from "remix-utils/responses";
1121
-
1122
- export async function loader({ request }: LoaderFunctionArgs) {
1123
- return javascript("console.log('Hello World')");
1124
- }
1125
- ```
1126
-
1127
- #### Stylesheet
1128
-
1129
- Helper function to create a CSS file response with any header.
1130
-
1131
- This is useful to create CSS files based on data inside a Resource Route.
1132
-
1133
- ```ts
1134
- import { stylesheet } from "remix-utils/responses";
1135
-
1136
- export async function loader({ request }: LoaderFunctionArgs) {
1137
- return stylesheet("body { color: red; }");
1138
- }
1139
- ```
1140
-
1141
- #### PDF
1142
-
1143
- Helper function to create a PDF file response with any header.
1144
-
1145
- This is useful to create PDF files based on data inside a Resource Route.
1146
-
1147
- ```ts
1148
- import { pdf } from "remix-utils/responses";
1149
-
1150
- export async function loader({ request }: LoaderFunctionArgs) {
1151
- return pdf(await generatePDF(request.formData()));
1152
- }
1153
- ```
1154
-
1155
- #### HTML
1156
-
1157
- Helper function to create a HTML file response with any header.
1158
-
1159
- This is useful to create HTML files based on data inside a Resource Route.
1160
-
1161
- ```ts
1162
- import { html } from "remix-utils/responses";
1163
-
1164
- export async function loader({ request }: LoaderFunctionArgs) {
1165
- return html("<h1>Hello World</h1>");
1166
- }
1167
- ```
1168
-
1169
- #### XML
1170
-
1171
- Helper function to create a XML file response with any header.
1172
-
1173
- This is useful to create XML files based on data inside a Resource Route.
1174
-
1175
- ```ts
1176
- import { xml } from "remix-utils/responses";
1177
-
1178
- export async function loader({ request }: LoaderFunctionArgs) {
1179
- return xml("<?xml version='1.0'?><catalog></catalog>");
1180
- }
1181
- ```
1182
-
1183
- #### Plain Text
1184
-
1185
- Helper function to create a TXT file response with any header.
1186
-
1187
- This is useful to create TXT files based on data inside a Resource Route.
1188
-
1189
- ```ts
1190
- import { txt } from "remix-utils/responses";
1191
-
1192
- export async function loader({ request }: LoaderFunctionArgs) {
1193
- return txt(`
1194
- User-agent: *
1195
- Allow: /
1196
- `);
1197
- }
1198
- ```
1199
-
1200
- ### Typed Cookies
1201
-
1202
- > **Note**
1203
- > This depends on `zod`, and a Remix server runtime.
1204
-
1205
- Cookie objects in Remix allows any type, the typed cookies from Remix Utils lets you use Zod to parse the cookie values and ensure they conform to a schema.
1206
-
1207
- ```ts
1208
- import { createCookie } from "@remix-run/node";
1209
- import { createTypedCookie } from "remix-utils/typed-cookie";
1210
- import { z } from "zod";
1211
-
1212
- let cookie = createCookie("returnTo", cookieOptions);
1213
- // I recommend you to always add `nullable` to your schema, if a cookie didn't
1214
- // come with the request Cookie header Remix will return null, and it can be
1215
- // useful to remove it later when clearing the cookie
1216
- let schema = z.string().url().nullable();
1217
-
1218
- // pass the cookie and the schema
1219
- let typedCookie = createTypedCookie({ cookie, schema });
1220
-
1221
- // this will be a string and also a URL
1222
- let returnTo = await typedCookie.parse(request.headers.get("Cookie"));
1223
-
1224
- // this will not pass the schema validation and throw a ZodError
1225
- await typedCookie.serialize("a random string that's not a URL");
1226
- // this will make TS yell because it's not a string, if you ignore it it will
1227
- // throw a ZodError
1228
- await typedCookie.serialize(123);
1229
- ```
1230
-
1231
- You could also use typed cookies with any sessionStorage mechanism from Remix.
1232
-
1233
- ```ts
1234
- let cookie = createCookie("session", cookieOptions);
1235
- let schema = z.object({ token: z.string() }).nullable();
1236
-
1237
- let sessionStorage = createCookieSessionStorage({
1238
- cookie: createTypedCookie({ cookie, schema }),
1239
- });
1240
-
1241
- // if this works then the correct data is stored in the session
1242
- let session = sessionStorage.getSession(request.headers.get("Cookie"));
1243
-
1244
- session.unset("token"); // remove a required key from the session
1245
-
1246
- // this will throw a ZodError because the session is missing the required key
1247
- await sessionStorage.commitSession(session);
1248
- ```
1249
-
1250
- Now Zod will ensure the data you try to save to the session is valid removing any extra field and throwing if you don't set the correct data in the session.
1251
-
1252
- > **Note**
1253
- > The session object is not really typed so doing session.get will not return the correct type, you can do `schema.parse(session.data)` to get the typed version of the session data.
1254
-
1255
- You can also use async refinements in your schemas because typed cookies uses parseAsync method from Zod.
1256
-
1257
- ```ts
1258
- let cookie = createCookie("session", cookieOptions);
1259
-
1260
- let schema = z
1261
- .object({
1262
- token: z.string().refine(async (token) => {
1263
- let user = await getUserByToken(token);
1264
- return user !== null;
1265
- }, "INVALID_TOKEN"),
1266
- })
1267
- .nullable();
1268
-
1269
- let sessionTypedCookie = createTypedCookie({ cookie, schema });
1270
-
1271
- // this will throw if the token stored in the cookie is not valid anymore
1272
- sessionTypedCookie.parse(request.headers.get("Cookie"));
1273
- ```
1274
-
1275
- Finally, to be able to delete a cookie, you can add `.nullable()` to your schema and serialize it with `null` as value.
1276
-
1277
- ```ts
1278
- // Set the value as null and expires as current date - 1 second so the browser expires the cookie
1279
- await typedCookie.serialize(null, { expires: new Date(Date.now() - 1) });
1280
- ```
1281
-
1282
- If you didn't add `.nullable()` to your schema, you will need to provide a mock value and set the expires date to the past.
1283
-
1284
- ```ts
1285
- let cookie = createCookie("returnTo", cookieOptions);
1286
- let schema = z.string().url().nullable();
1287
-
1288
- let typedCookie = createTypedCookie({ cookie, schema });
1289
-
1290
- await typedCookie.serialize("some fake url to pass schema validation", {
1291
- expires: new Date(Date.now() - 1),
1292
- });
1293
- ```
1294
-
1295
- ### Typed Sessions
1296
-
1297
- > **Note**
1298
- > This depends on `zod`, and a Remix server runtime.
1299
-
1300
- Session objects in Remix allows any type, the typed sessions from Remix Utils lets you use Zod to parse the session data and ensure they conform to a schema.
1301
-
1302
- ```ts
1303
- import { createCookieSessionStorage } from "@remix-run/node";
1304
- import { createTypedSessionStorage } from "remix-utils/typed-session";
1305
- import { z } from "zod";
1306
-
1307
- let schema = z.object({
1308
- token: z.string().optional(),
1309
- count: z.number().default(1),
1310
- });
1311
-
1312
- // you can use a Remix's Cookie container or a Remix Utils' Typed Cookie container
1313
- let sessionStorage = createCookieSessionStorage({ cookie });
1314
-
1315
- // pass the session storage and the schema
1316
- let typedSessionStorage = createTypedSessionStorage({ sessionStorage, schema });
1317
- ```
1318
-
1319
- Now you can use typedSessionStorage as a drop-in replacement for your normal sessionStorage.
1320
-
1321
- ```ts
1322
- let session = typedSessionStorage.getSession(request.headers.get("Cookie"));
1323
-
1324
- session.get("token"); // this will be a string or undefined
1325
- session.get("count"); // this will be a number
1326
- session.get("random"); // this will make TS yell because it's not in the schema
1327
-
1328
- session.has("token"); // this will be a boolean
1329
- session.has("count"); // this will be a boolean
1330
-
1331
- // this will make TS yell because it's not a string, if you ignore it it will
1332
- // throw a ZodError
1333
- session.set("token", 123);
1334
- ```
1335
-
1336
- Now Zod will ensure the data you try to save to the session is valid by not allowing you to get, set or unset data.
1337
-
1338
- > **Note**
1339
- > Remember that you either need to mark fields as optional or set a default value in the schema, otherwise it will be impossible to call getSession to get a new session object.
1340
-
1341
- You can also use async refinements in your schemas because typed sesions uses parseAsync method from Zod.
1342
-
1343
- ```ts
1344
- let schema = z.object({
1345
- token: z
1346
- .string()
1347
- .optional()
1348
- .refine(async (token) => {
1349
- if (!token) return true; // handle optionallity
1350
- let user = await getUserByToken(token);
1351
- return user !== null;
1352
- }, "INVALID_TOKEN"),
1353
- });
1354
-
1355
- let typedSessionStorage = createTypedSessionStorage({ sessionStorage, schema });
1356
-
1357
- // this will throw if the token stored in the session is not valid anymore
1358
- typedSessionStorage.getSession(request.headers.get("Cookie"));
1359
- ```
1360
-
1361
- ### Server-Sent Events
1362
-
1363
- > **Note**
1364
- > This depends on `react`.
1365
-
1366
- Server-Sent Events are a way to send data from the server to the client without the need for the client to request it. This is useful for things like chat applications, live updates, and more.
1367
-
1368
- There are two utils provided to help with the usage inside Remix:
1369
-
1370
- - `eventStream`
1371
- - `useEventSource`
1372
-
1373
- The `eventStream` function is used to create a new event stream response needed to send events to the client. This must live in a [Resource Route](https://remix.run/docs/en/1.18.1/guides/resource-routes).
1374
-
1375
- ```ts
1376
- // app/routes/sse.time.ts
1377
- import { eventStream } from "remix-utils/sse/server";
1378
- import { interval } from "remix-utils/timers";
1379
-
1380
- export async function loader({ request }: LoaderFunctionArgs) {
1381
- return eventStream(request.signal, function setup(send) {
1382
- async function run() {
1383
- for await (let _ of interval(1000, { signal: request.signal })) {
1384
- send({ event: "time", data: new Date().toISOString() });
1385
- }
1386
- }
1387
-
1388
- run();
1389
- });
1390
- }
1391
- ```
1392
-
1393
- Then, inside any component, you can use the `useEventSource` hook to connect to the event stream.
1394
-
1395
- ```tsx
1396
- // app/components/counter.ts
1397
- import { useEventSource } from "remix-utils/sse/react";
1398
-
1399
- function Counter() {
1400
- // Here `/sse/time` is the resource route returning an eventStream response
1401
- let time = useEventSource("/sse/time", { event: "time" });
1402
-
1403
- if (!time) return null;
1404
-
1405
- return (
1406
- <time dateTime={time}>
1407
- {new Date(time).toLocaleTimeString("en", {
1408
- minute: "2-digit",
1409
- second: "2-digit",
1410
- hour: "2-digit",
1411
- })}
1412
- </time>
1413
- );
1414
- }
1415
- ```
1416
-
1417
- The `event` name in both the event stream and the hook is optional, in which case it will default to `message`, if defined you must use the same event name in both sides, this also allows you to emit different events from the same event stream.
1418
-
1419
- For Server-Sent Events to work, your server must support HTTP streaming. If you don't get SSE to work check if your deployment platform has support for it.
1420
-
1421
- Because SSE count towards the limit of HTTP connections per domain, the `useEventSource` hook keeps a global map of connections based on the provided URL and options. As long as they are the same, the hook will open a single SSE connection and share it between instances of the hook.
1422
-
1423
- Once there are no more instances of the hook re-using a connection, it will be closed and removed from the map.
1424
-
1425
- You can use the `<EventSourceProvider />` component to control the map.
1426
-
1427
- ```tsx
1428
- let map: EventSourceMap = new Map();
1429
- return (
1430
- <EventSourceProvider value={map}>
1431
- <YourAppOrPartOfIt />
1432
- </EventSourceProvider>
1433
- );
1434
- ```
1435
-
1436
- This way, you can overwrite the map with a new one for a specific part of your app. Note that this provider is optional and a default map will be used if you don't provide one.
1437
-
1438
- ### Rolling Cookies
1439
-
1440
- > **Note**
1441
- > This depends on `zod`, and a Remix server runtime.
1442
-
1443
- Rolling cookies allows you to prolong the expiration of a cookie by updating the expiration date of every cookie.
1444
-
1445
- The `rollingCookie` function is prepared to be used in `entry.server` exported function to update the expiration date of a cookie if no loader set it.
1446
-
1447
- For document request you can use it on the `handleRequest` function:
1448
-
1449
- ```ts
1450
- import { rollingCookie } from "remix-utils/rolling-cookie";
1451
-
1452
- import { sessionCookie } from "~/session.server";
1453
-
1454
- export default function handleRequest(
1455
- request: Request,
1456
- responseStatusCode: number,
1457
- responseHeaders: Headers,
1458
- remixContext: EntryContext,
1459
- ) {
1460
- await rollingCookie(sessionCookie, request, responseHeaders);
1461
-
1462
- return isbot(request.headers.get("user-agent"))
1463
- ? handleBotRequest(
1464
- request,
1465
- responseStatusCode,
1466
- responseHeaders,
1467
- remixContext,
1468
- )
1469
- : handleBrowserRequest(
1470
- request,
1471
- responseStatusCode,
1472
- responseHeaders,
1473
- remixContext,
1474
- );
1475
- }
1476
- ```
1477
-
1478
- And for data request you can do it on the `handleDataRequest` function:
1479
-
1480
- ```ts
1481
- import { rollingCookie } from "remix-utils/rolling-cookie";
1482
-
1483
- export let handleDataRequest: HandleDataRequestFunction = async (
1484
- response: Response,
1485
- { request },
1486
- ) => {
1487
- let cookieValue = await sessionCookie.parse(
1488
- responseHeaders.get("set-cookie"),
1489
- );
1490
- if (!cookieValue) {
1491
- cookieValue = await sessionCookie.parse(request.headers.get("cookie"));
1492
- responseHeaders.append(
1493
- "Set-Cookie",
1494
- await sessionCookie.serialize(cookieValue),
1495
- );
1496
- }
1497
-
1498
- return response;
1499
- };
1500
- ```
1501
-
1502
- > **Note** > [Read more about rolling cookies in Remix](https://sergiodxa.com/articles/add-rolling-sessions-to-remix).
1503
-
1504
- ### Named actions
1505
-
1506
- > **Note**
1507
- > This depends on a Remix server runtime.
1508
-
1509
- It's common to need to handle more than one action in the same route, there are many options here like [sending the form to a resource route](https://sergiodxa.com/articles/multiple-forms-per-route-in-remix#using-resource-routes) or using an [action reducer](https://sergiodxa.com/articles/multiple-forms-per-route-in-remix#the-action-reducer-pattern), the `namedAction` function uses some conventions to implement the action reducer pattern.
1510
-
1511
- ```tsx
1512
- import { namedAction } from "remix-utils/named-action";
1513
-
1514
- export async function action({ request }: ActionFunctionArgs) {
1515
- return namedAction(request, {
1516
- async create() {
1517
- // do create
1518
- },
1519
- async update() {
1520
- // do update
1521
- },
1522
- async delete() {
1523
- // do delete
1524
- },
1525
- });
1526
- }
1527
-
1528
- export default function Component() {
1529
- return (
1530
- <>
1531
- <Form method="post" action="?/create">
1532
- ...
1533
- </Form>
1534
-
1535
- <Form method="post" action="?/update">
1536
- ...
1537
- </Form>
1538
-
1539
- <Form method="post" action="?/delete">
1540
- ...
1541
- </Form>
1542
- </>
1543
- );
1544
- }
1545
- ```
1546
-
1547
- This function can follow many conventions
1548
-
1549
- You can pass a FormData object to the `namedAction`, then it will try to
1550
-
1551
- - Find a field named `/something` and use it as the action name removing the `/`
1552
- - Find a field named `intent` and use the value as the action name
1553
- - Find a field named `action` and use the value as the action name
1554
- - Find a field named `_action` and use the value as the action name
1555
-
1556
- You can pass an URLSearchParams object to the `namedAction`, then it will try to
1557
-
1558
- - Find a query parameter named `/something` and use it as the action name removing the `/`
1559
- - Find a query parameter named `intent` and use the value as the action name
1560
- - Find a query parameter named `action` and use the value as the action name
1561
- - Find a query parameter named `_action` and use the value as the action name
1562
-
1563
- You can pass an URL object to the `namedAction`, it will behave as with a URLSearchParams object.
1564
-
1565
- You can pass a Request object to the `namedAction`, then it will try to
1566
-
1567
- - Call `new URL(request.url)` and use it as the URL object
1568
- - Call `request.formData()` and use it as the FormData object
1569
-
1570
- If, in any case, the action name is not found, the `actionName` then the library will try to call an action named `default`, similar to a `switch` in JavaScript.
1571
-
1572
- If the `default` is not defined it will throw a ReferenceError with the message `Action "${name}" not found`.
1573
-
1574
- If the library couldn't found the name at all, it will throw a ReferenceError with the message `Action name not found`
1575
-
1576
- ### Preload Route Assets
1577
-
1578
- The `Link` header allows responses to push to the browser assets that are needed for the document, this is useful to improve the performance of the application by sending those assets earlier.
1579
-
1580
- Once Early Hints is supported this will also allows you to send the assets even before the document is ready, but for now you can benefit to send assets to preload before the browser parse the HTML.
1581
-
1582
- You can do this with the functions `preloadRouteAssets`, `preloadLinkedAssets` and `preloadModuleAssets`.
1583
-
1584
- All functions follows the same signature:
1585
-
1586
- ```ts
1587
- import { preloadRouteAssets, preloadLinkedAssets, preloadModuleAssets } from "remix-utils/preload-route-assets";
1588
-
1589
- // entry.server.tsx
1590
- export default function handleRequest(
1591
- request: Request,
1592
- statusCode: number,
1593
- headers: Headers,
1594
- context: EntryContext,
1595
- ) {
1596
- let markup = renderToString(
1597
- <RemixServer context={context} url={request.url} />,
1598
- );
1599
- headers.set("Content-Type", "text/html");
1600
-
1601
- preloadRouteAssets(context, headers); // add this line
1602
- // preloadLinkedAssets(context, headers);
1603
- // preloadModuleAssets(context, headers);
1604
-
1605
- return new Response("<!DOCTYPE html>" + markup, {
1606
- status: statusCode,
1607
- headers: headers,
1608
- });
1609
- }
1610
- ```
1611
-
1612
- The `preloadRouteAssets` is a combination of both `preloadLinkedAssets` and `preloadModuleAssets` so you can use it to preload all assets for a route, if you use this one you don't need the other two
1613
-
1614
- The `preloadLinkedAssets` function will preload any link with `rel: "preload"` added with the Remix's `LinkFunction`, so you can configure assets to preload in your route and send them in the headers automatically. It will additionally preload any linked stylesheet file (with `rel: "stylesheet"`) even if not preloaded so it will load faster.
1615
-
1616
- The `preloadModuleAssets` function will preload all the JS files Remix adds to the page when hydrating it, Remix already renders a `<link rel="modulepreload">` for each now before the `<script type="module">` used to start the application, this will use Link headers to preload those assets.
1617
-
1618
- ### Safe Redirects
1619
-
1620
- When performing a redirect, if the URL is user provided we can't trust it, if you do you're opening a vulnerability to phishing scam by allowing bad actors to redirect the user to malicious websites.
1621
-
1622
- ```
1623
- https://remix.utills/?redirectTo=https://malicious.app
1624
- ```
1625
-
1626
- To help you prevent this Remix Utils gives you a `safeRedirect` function which can be used to check if the URL is "safe".
1627
-
1628
- > **Note**
1629
- > In this context, safe means the URL starts with `/` but not `//`, this means the URL is a pathname inside the same app and not an external link.
1630
-
1631
- ```ts
1632
- import { safeRedirect } from "remix-utils/safe-redirect";
1633
-
1634
- export async function loader({ request }: LoaderFunctionArgs) {
1635
- let { searchParams } = new URL(request.url);
1636
- let redirectTo = searchParams.get("redirectTo");
1637
- return redirect(safeRedirect(redirectTo, "/home"));
1638
- }
1639
- ```
1640
-
1641
- The second argumento of `safeRedirect` is the default redirect which by when not configured is `/`, this lets you tell `safeRedirect` where to redirect the user if the value is not safe.
1642
-
1643
- ### JSON Hash Response
1644
-
1645
- When returning a `json` from a `loader` function, you may need to get data from different DB queries or API requests, typically you would something like this
1646
-
1647
- ```ts
1648
- export async function loader({ params }: LoaderData) {
1649
- let postId = z.string().parse(params.postId);
1650
- let [post, comments] = await Promise.all([getPost(), getComments()]);
1651
- return json({ post, comments });
1652
-
1653
- async function getPost() {
1654
- /* … */
1655
- }
1656
- async function getComments() {
1657
- /* … */
1658
- }
1659
- }
1660
- ```
1661
-
1662
- The `jsonHash` function lets you define those functions directly in the `json`, reducing the need to create extra functions and variables.
1663
-
1664
- ```ts
1665
- import { jsonHash } from "remix-utils/json-hash";
1666
-
1667
- export async function loader({ params }: LoaderData) {
1668
- let postId = z.string().parse(params.postId);
1669
- return jsonHash({
1670
- async post() {
1671
- // Implement me
1672
- },
1673
- async comments() {
1674
- // Implement me
1675
- },
1676
- });
1677
- }
1678
- ```
1679
-
1680
- It also calls your functions using `Promise.all` so you can be sure the data is retrieved in parallel.
1681
-
1682
- Additionally, you can pass non-async functions, values and promises.
1683
-
1684
- ```ts
1685
- import { jsonHash } from "remix-utils/json-hash";
1686
-
1687
- export async function loader({ params }: LoaderData) {
1688
- let postId = z.string().parse(params.postId);
1689
- return jsonHash({
1690
- postId, // value
1691
- comments: getComments(), // Promise
1692
- slug() {
1693
- // Non-async function
1694
- return postId.split("-").at(1); // get slug from postId param
1695
- },
1696
- async post() {
1697
- // Async function
1698
- return await getPost(postId);
1699
- },
1700
- });
1701
-
1702
- async function getComments() {
1703
- /* … */
1704
- }
1705
- }
1706
- ```
1707
-
1708
- The result of `jsonHash` is a `TypedResponse` and it's correctly typed so using it with `typeof loader` works flawlessly.
1709
-
1710
- ```ts
1711
- export default function Component() {
1712
- // all correctly typed
1713
- let { postId, comments, slug, post } = useLoaderData<typeof loader>();
1714
-
1715
- // more code…
1716
- }
1717
- ```
1718
-
1719
- ### Delegate Anchors to Remix
1720
-
1721
- When using Remix, you can use the `<Link>` component to navigate between pages. However, if you have a `<a href>` that links to a page in your app, it will cause a full page refresh. This can be what you want, but sometimes you want to use client-side navigation here instead.
1722
-
1723
- The `useDelegatedAnchors` hook lets you add client-side navigation to anchor tags in a portion of your app. This can be specially useful when working with dynamic content like HTML or Markdown from a CMS.
1724
-
1725
- ```tsx
1726
- import { useDelegatedAnchors } from "remix-utils/use-delegated-anchors";
1727
-
1728
- export async function loader() {
1729
- let content = await fetchContentFromCMS();
1730
- return json({ content });
1731
- }
1732
-
1733
- export default function Component() {
1734
- let { content } = useLoaderData<typeof loader>();
1735
-
1736
- let ref = useRef<HTMLDivElement>(null);
1737
- useDelegatedAnchors(ref);
1738
-
1739
- return <article ref={ref} dangerouslySetInnerHTML={{ __html: content }} />;
1740
- }
1741
- ```
1742
-
1743
- ### Prefetch Anchors
1744
-
1745
- If additionally you want to be able to prefetch your anchors you can use the `PrefetchPageAnchors` components.
1746
-
1747
- This components wraps your content with anchors inside, it detects any hovered anchor to prefetch it, and it delegates them to Remix.
1748
-
1749
- ```tsx
1750
- import { PrefetchPageAnchors } from "remix-utils/use-delegated-anchors";
1751
-
1752
- export async function loader() {
1753
- let content = await fetchContentFromCMS();
1754
- return json({ content });
1755
- }
1756
-
1757
- export default function Component() {
1758
- let { content } = useLoaderData<typeof loader>();
1759
-
1760
- return (
1761
- <PrefetchPageAnchors>
1762
- <article ref={ref} dangerouslySetInnerHTML={{ __html: content }} />
1763
- </PrefetchPageAnchors>
1764
- );
1765
- }
1766
- ```
1767
-
1768
- Now you can see in your DevTools that when the user hovers an anchor it will prefetch it, and when the user clicks it will do a client-side navigation.
1769
-
1770
- ### Debounced Fetcher and Submit
1771
-
1772
- > **Note**
1773
- > This depends on `react`, and `@remix-run/react`.
1774
-
1775
- `useDebounceFetcher` and `useDebounceSubmit` are wrappers of `useFetcher` and `useSubmit` that add debounce support.
1776
-
1777
- These hooks are based on [@JacobParis](https://github.com/JacobParis)' [article](https://www.jacobparis.com/content/use-debounce-fetcher).
1778
-
1779
- ```tsx
1780
- import { useDebounceFetcher } from "remix-utils/use-debounce-fetcher";
1781
-
1782
- export function Component({ data }) {
1783
- let fetcher = useDebounceFetcher<Type>();
1784
-
1785
- function handleClick() {
1786
- fetcher.submit(data, { debounceTimeout: 1000 });
1787
- }
1788
-
1789
- return (
1790
- <button type="button" onClick={handleClick}>
1791
- Do Something
1792
- </button>
1793
- );
1794
- }
1795
- ```
1796
-
1797
- Usage with `useDebounceSubmit` is similar.
1798
-
1799
- ```tsx
1800
- import { useDebounceSubmit } from "remix-utils/use-debounce-submit";
1801
-
1802
- export function Component({ name }) {
1803
- let submit = useDebounceSubmit();
1804
-
1805
- return (
1806
- <input
1807
- name={name}
1808
- type="text"
1809
- onChange={(event) => {
1810
- submit(event.target.form, {
1811
- navigate: false, // use a fetcher instead of a page navigation
1812
- fetcherKey: name, // cancel any previous fetcher with the same key
1813
- debounceTimeout: 1000,
1814
- });
1815
- }}
1816
- onBlur={() => {
1817
- submit(event.target.form, {
1818
- navigate: false,
1819
- fetcherKey: name,
1820
- debounceTimeout: 0, // submit immediately, canceling any pending fetcher
1821
- });
1822
- }}
1823
- />
1824
- );
1825
- }
1826
- ```
1827
-
1828
- ### Derive Fetcher Type
1829
-
1830
- > **Note**
1831
- > This depends on `@remix-route/react`.
1832
-
1833
- Derive the value of the deprecated `fetcher.type` from the fetcher and navigation data.
1834
-
1835
- ```ts
1836
- import { getFetcherType } from "remix-utils/fetcher-type";
1837
-
1838
- function Component() {
1839
- let fetcher = useFetcher();
1840
- let navigation = useNavigation();
1841
- let fetcherType = getFetcherType(fetcher, navigation);
1842
- useEffect(() => {
1843
- if (fetcherType === "done") {
1844
- // do something once the fetcher is done submitting the data
1845
- }
1846
- }, [fetcherType]);
1847
- }
1848
- ```
1849
-
1850
- You can also use the React Hook API which let's you avoid calling `useNavigation`.
1851
-
1852
- ```ts
1853
- import { useFetcherType } from "remix-utils/fetcher-type";
1854
-
1855
- function Component() {
1856
- let fetcher = useFetcher();
1857
- let fetcherType = useFetcherType(fetcher);
1858
- useEffect(() => {
1859
- if (fetcherType === "done") {
1860
- // do something once the fetcher is done submitting the data
1861
- }
1862
- }, [fetcherType]);
1863
- }
1864
- ```
1865
-
1866
- If you need to pass the fetcher type around, you can also import `FetcherType` type.
1867
-
1868
- ```ts
1869
- import { type FetcherType } from "remix-utils/fetcher-type";
1870
-
1871
- function useCallbackOnDone(type: FetcherType, cb) {
1872
- useEffect(() => {
1873
- if (type === "done") cb();
1874
- }, [type, cb]);
1875
- }
1876
- ```
1877
-
1878
- ### respondTo for Content Negotiation
1879
-
1880
- If you're building a resource route and wants to send a different response based on what content type the client requested (e.g. send the same data as PDF or XML or JSON), you will need to implement content negotiation, this can be done with the `respondTo` header.
1881
-
1882
- ```ts
1883
- import { respondTo } from "remix-utils/respond-to";
1884
-
1885
- export async function loader({ request }: LoaderFunctionArgs) {
1886
- // do any work independent of the response type before respondTo
1887
- let data = await getData(request);
1888
-
1889
- let headers = new Headers({ vary: "accept" });
1890
-
1891
- // Here we will decide how to respond to different content types
1892
- return respondTo(request, {
1893
- // The handler can be a subtype handler, in `text/html` html is the subtype
1894
- html() {
1895
- // We can call any function only really need to respond to this
1896
- // content-type
1897
- let body = ReactDOMServer.renderToString(<UI {...data} />);
1898
- headers.append("content-type", "text/html");
1899
- return new Response(body, { headers });
1900
- },
1901
- // It can also be a highly specific type
1902
- async "application/rss+xml"() {
1903
- // we can do more async work inside this code if needed
1904
- let body = await generateRSSFeed(data);
1905
- headers.append("content-type", "application/rss+xml");
1906
- return new Response(body, { headers });
1907
- },
1908
- // Or a generic type
1909
- async text() {
1910
- // To respond to any text type, e.g. text/plain, text/csv, etc.
1911
- let body = generatePlain(data);
1912
- headers.append("content-type", "text/plain");
1913
- return new Response(body, { headers });
1914
- },
1915
- // The default will be used if the accept header doesn't match any of the
1916
- // other handlers
1917
- default() {
1918
- // Here we could have a default type of response, e.g. use json by
1919
- // default, or we can return a 406 which means the server can't respond
1920
- // with any of the requested content types
1921
- return new Response("Not Acceptable", { status: 406 });
1922
- },
1923
- });
1924
- }
1925
- ```
1926
-
1927
- Now, the `respondTo` function will check the `Accept` header and call the correct handler, to know which one to call it will use the `parseAcceptHeader` function also exported from Remix Utils
1928
-
1929
- ```ts
1930
- import { parseAcceptHeader } from "remix-utils/parse-accept-header";
1931
-
1932
- let parsed = parseAcceptHeader(
1933
- "text/html, application/xhtml+xml, application/xml;q=0.9, image/webp, image/*, */*;q=0.8",
1934
- );
1935
- ```
1936
-
1937
- The result is an array with the type, subtype and extra params (e.g. the `q` value). The order will be the same encountered in the header, in the example aabove `text/html` will be the first, followed by `application/xhtml+xml`.
1938
-
1939
- This means that the `respondTo` helper will prioritize any handler that match `text/html`, in our example above, that will be the `html` handler, but if we remove it then the `text` handler will be called instead.67
1940
-
1941
- ### Form Honeypot
1942
-
1943
- > **Note**
1944
- > This depends on `react` and `crypto-js`.
1945
-
1946
- Honeypot is a simple technique to prevent spam bots from submitting forms. It works by adding a hidden field to the form that bots will fill, but humans won't.
1947
-
1948
- There's a pair of utils in Remix Utils to help you implement this.
1949
-
1950
- First, create a `honeypot.server.ts` where you will instantiate and configure your Honeypot.
1951
-
1952
- ```tsx
1953
- import { Honeypot } from "remix-utils/honeypot/server";
1954
-
1955
- // Create a new Honeypot instance, the values here are the defaults, you can
1956
- // customize them
1957
- export const honeypot = new Honeypot({
1958
- randomizeNameFieldName: false,
1959
- nameFieldName: "name__confirm",
1960
- validFromFieldName: "from__confirm", // null to disable it
1961
- encryptionSeed: undefined, // Ideally it should be unique even between processes
1962
- });
1963
- ```
1964
-
1965
- Then, in your `app/root` loader, call `honeypot.getInputProps()` and return it.
1966
-
1967
- ```ts
1968
- // app/root.tsx
1969
- import { honeypot } from "~/honeypot.server";
1970
-
1971
- export async function loader() {
1972
- // more code here
1973
- return json({ honeypotInputProps: honeypot.getInputProps() });
1974
- }
1975
- ```
1976
-
1977
- And in the `app/root` component render the `HoneypotProvider` component wrapping the rest of the UI.
1978
-
1979
- ```tsx
1980
- import { HoneypotProvider } from "remix-utils/honeypot/react";
1981
-
1982
- export default function Component() {
1983
- // more code here
1984
- return (
1985
- // some JSX
1986
- <HoneypotProvider {...honeypotInputProps}>
1987
- <Outlet />
1988
- </HoneypotProvider>
1989
- // end that JSX
1990
- );
1991
- }
1992
- ```
1993
-
1994
- Now, in every public form you want protect against spam (like a login form), render the `HoneypotInputs` component.
1995
-
1996
- ```tsx
1997
- import { HoneypotInputs } from "remix-utils/honeypot/react";
1998
-
1999
- function SomePublicForm() {
2000
- return (
2001
- <Form method="post">
2002
- <HoneypotInputs label="Please leave this field blank" />
2003
- {/* more inputs and some buttons */}
2004
- </Form>
2005
- );
2006
- }
2007
- ```
2008
-
2009
- > **Note**
2010
- > The label value above is the default one, use it to allow the label to be localized, or remove it if you don't want to change it.
2011
-
2012
- Finally, in the action the form submits to, you can call `honeypot.check`.
2013
-
2014
- ```ts
2015
- import { SpamError } from "remix-utils/honeypot/server";
2016
- import { honeypot } from "~/honeypot.server";
2017
-
2018
- export async function action({ request }) {
2019
- let formData = await request.formData();
2020
- try {
2021
- honeypot.check(formData);
2022
- } catch (error) {
2023
- if (error instanceof SpamError) {
2024
- // handle spam requests here
2025
- }
2026
- // handle any other possible error here, e.g. re-throw since nothing else
2027
- // should be thrown
2028
- }
2029
- // the rest of your action
2030
- }
2031
- ```
2032
-
2033
- ### Sec-Fetch Parsers
2034
-
2035
- > **Note**
2036
- > This depends on `zod`.
2037
-
2038
- The `Sec-Fetch` headers include information about the request, e.g. where is the data going to be used, or if it was initiated by the user.
2039
-
2040
- You can use the `remix-utils/sec-fetch` utils to parse those headers and get the information you need.
2041
-
2042
- ```ts
2043
- import {
2044
- fetchDest,
2045
- fetchMode,
2046
- fetchSite,
2047
- isUserInitiated,
2048
- } from "remix-utils/sec-fetch";
2049
- ```
2050
-
2051
- #### Sec-Fetch-Dest
2052
-
2053
- The `Sec-Fetch-Dest` header indicates the destination of the request, e.g. `document`, `image`, `script`, etc.
2054
-
2055
- If the value is `empty` it means it will be used by a `fetch` call, this means you can differentiate between a request made with and without JS by checking if it's `document` (no JS) or `empty` (JS enabled).
2056
-
2057
- ```ts
2058
- import { fetchDest } from "remix-utils/sec-fetch";
2059
-
2060
- export async function action({ request }: ActionFunctionArgs) {
2061
- let data = await getDataSomehow();
2062
-
2063
- // if the request was made with JS, we can just return json
2064
- if (fetchDest(request) === "empty") return json(data);
2065
- // otherwise we redirect to avoid a reload to trigger a new submission
2066
- return redirect(destination);
2067
- }
2068
- ```
2069
-
2070
- #### Sec-Fetch-Mode
2071
-
2072
- The `Sec-Fetch-Mode` header indicates how the request was initiated, e.g. if the value is `navigate` it was triggered by the user loading the page, if the value is `no-cors` it could be an image being loaded.
2073
-
2074
- ```ts
2075
- import { fetchMode } from "remix-utils/sec-fetch";
2076
-
2077
- export async function loader({ request }: LoaderFunctionArgs) {
2078
- let mode = fetchMode(request);
2079
- // do something based on the mode value
2080
- }
2081
- ```
2082
-
2083
- #### Sec-Fetch-Site
2084
-
2085
- The `Sec-Fetch-Site` header indicates where the request is being made, e.g. `same-origin` means the request is being made to the same domain, `cross-site` means the request is being made to a different domain.
2086
-
2087
- ```ts
2088
- import { fetchSite } from "remix-utils/sec-fetch";
2089
-
2090
- export async function loader({ request }: LoaderFunctionArgs) {
2091
- let site = fetchSite(request);
2092
- // do something based on the site value
2093
- }
2094
- ```
2095
-
2096
- #### Sec-Fetch-User
2097
-
2098
- The `Sec-Fetch-User` header indicates if the request was initiated by the user, this can be used to differentiate between a request made by the user and a request made by the browser, e.g. a request made by the browser to load an image.
2099
-
2100
- ```ts
2101
- import { isUserInitiated } from "remix-utils/sec-fetch";
2102
-
2103
- export async function loader({ request }: LoaderFunctionArgs) {
2104
- let userInitiated = isUserInitiated(request);
2105
- // do something based on the userInitiated value
2106
- }
2107
- ```
2108
-
2109
- ### Timers
2110
-
2111
- The timers utils gives you a way to wait a certain amount of time before doing something or to run some code every certain amount of time.
2112
-
2113
- Using the `wait` combined with an AbortSignal we can cancel a timeout if the user navigates away from the page.
2114
-
2115
- ```ts
2116
- import { wait } from "remix-utils/timers";
2117
-
2118
- export async function loader({ request }: LoaderFunctionArgs) {
2119
- await wait(1000, { signal: request.signal });
2120
- // do something after 1 second
2121
- }
2122
- ```
2123
-
2124
- Using the `interval` combined with `eventStream` we could send a value to the client every certain amount of time. And ensure the interval is cancelled if the connection is closed.
2125
-
2126
- ```ts
2127
- import { eventStream } from "remix-utils/sse/server";
2128
- import { interval } from "remix-utils/timers";
2129
-
2130
- export async function loader({ request }: LoaderFunctionArgs) {
2131
- return eventStream(request.signal, function setup(send) {
2132
- async function run() {
2133
- for await (let _ of interval(1000, { signal: request.signal })) {
2134
- send({ event: "time", data: new Date().toISOString() });
2135
- }
2136
- }
2137
-
2138
- run();
2139
- });
2140
- }
2141
- ```
2142
-
2143
- ## Author
2144
-
2145
- - [Sergio Xalambrí](https://sergiodxa.com)
2146
-
2147
- ## License
2148
-
2149
- - MIT License