@kne-components/components-core 0.1.30 → 0.1.32

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 (201) hide show
  1. package/build/asset-manifest.json +136 -136
  2. package/build/index.html +1 -1
  3. package/build/remoteEntry.js +1 -1
  4. package/build/remoteEntry.js.map +1 -1
  5. package/build/static/css/1151.ab6992cd.chunk.css +2 -0
  6. package/build/static/css/{1151.bd10c3ca.chunk.css.map → 1151.ab6992cd.chunk.css.map} +1 -1
  7. package/build/static/css/1153.4f001d07.chunk.css +2 -0
  8. package/build/static/css/{1153.639b0d45.chunk.css.map → 1153.4f001d07.chunk.css.map} +1 -1
  9. package/build/static/css/1454.b8eb920b.chunk.css +2 -0
  10. package/build/static/css/{1454.469e67bf.chunk.css.map → 1454.b8eb920b.chunk.css.map} +1 -1
  11. package/build/static/css/1554.2927210b.chunk.css +2 -0
  12. package/build/static/css/{1554.5a92ca0c.chunk.css.map → 1554.2927210b.chunk.css.map} +1 -1
  13. package/build/static/css/{1932.eb7d37ce.chunk.css → 1932.3daac7e0.chunk.css} +2 -2
  14. package/build/static/css/{1932.eb7d37ce.chunk.css.map → 1932.3daac7e0.chunk.css.map} +1 -1
  15. package/build/static/css/{2503.e3653e08.chunk.css → 2503.b2dd1fa8.chunk.css} +2 -2
  16. package/build/static/css/{2503.e3653e08.chunk.css.map → 2503.b2dd1fa8.chunk.css.map} +1 -1
  17. package/build/static/css/{2517.fd394302.chunk.css → 2517.23cc26d4.chunk.css} +2 -2
  18. package/build/static/css/{2517.fd394302.chunk.css.map → 2517.23cc26d4.chunk.css.map} +1 -1
  19. package/build/static/css/2526.aae21617.chunk.css +2 -0
  20. package/build/static/css/{2526.47fe4350.chunk.css.map → 2526.aae21617.chunk.css.map} +1 -1
  21. package/build/static/css/2716.4df4d58a.chunk.css +2 -0
  22. package/build/static/css/{2716.da9de48b.chunk.css.map → 2716.4df4d58a.chunk.css.map} +1 -1
  23. package/build/static/css/{2730.6a5344e1.chunk.css → 2730.fd5c2ca4.chunk.css} +2 -2
  24. package/build/static/css/{2730.6a5344e1.chunk.css.map → 2730.fd5c2ca4.chunk.css.map} +1 -1
  25. package/build/static/css/{289.ac523952.chunk.css → 289.0f09c5ca.chunk.css} +2 -2
  26. package/build/static/css/{289.ac523952.chunk.css.map → 289.0f09c5ca.chunk.css.map} +1 -1
  27. package/build/static/css/2999.e2f8235e.chunk.css +2 -0
  28. package/build/static/css/{2999.a991e399.chunk.css.map → 2999.e2f8235e.chunk.css.map} +1 -1
  29. package/build/static/css/3333.2e7cdf5e.chunk.css +2 -0
  30. package/build/static/css/{3333.48afd4b7.chunk.css.map → 3333.2e7cdf5e.chunk.css.map} +1 -1
  31. package/build/static/css/{3843.0faaa633.chunk.css → 3843.e9054fab.chunk.css} +2 -2
  32. package/build/static/css/{3843.0faaa633.chunk.css.map → 3843.e9054fab.chunk.css.map} +1 -1
  33. package/build/static/css/4666.9b1ec02c.chunk.css +2 -0
  34. package/build/static/css/{4666.bd2faf1c.chunk.css.map → 4666.9b1ec02c.chunk.css.map} +1 -1
  35. package/build/static/css/5600.779ce1fd.chunk.css +2 -0
  36. package/build/static/css/{5600.43b61d90.chunk.css.map → 5600.779ce1fd.chunk.css.map} +1 -1
  37. package/build/static/css/{5654.33c45676.chunk.css → 5654.a2314208.chunk.css} +2 -2
  38. package/build/static/css/{5654.33c45676.chunk.css.map → 5654.a2314208.chunk.css.map} +1 -1
  39. package/build/static/css/5846.99abab6a.chunk.css +2 -0
  40. package/build/static/css/{5846.974451af.chunk.css.map → 5846.99abab6a.chunk.css.map} +1 -1
  41. package/build/static/css/5868.b68ce564.chunk.css +2 -0
  42. package/build/static/css/{5868.db813410.chunk.css.map → 5868.b68ce564.chunk.css.map} +1 -1
  43. package/build/static/css/{5996.136387c3.chunk.css → 5996.3946a90d.chunk.css} +2 -2
  44. package/build/static/css/{5996.136387c3.chunk.css.map → 5996.3946a90d.chunk.css.map} +1 -1
  45. package/build/static/css/6779.412f9731.chunk.css +2 -0
  46. package/build/static/css/{6779.ddc9fce4.chunk.css.map → 6779.412f9731.chunk.css.map} +1 -1
  47. package/build/static/css/7227.50adb526.chunk.css +2 -0
  48. package/build/static/css/{7227.683f0469.chunk.css.map → 7227.50adb526.chunk.css.map} +1 -1
  49. package/build/static/css/8072.e3b9d52c.chunk.css +2 -0
  50. package/build/static/css/{8072.0777933b.chunk.css.map → 8072.e3b9d52c.chunk.css.map} +1 -1
  51. package/build/static/css/8148.8bdb3811.chunk.css +2 -0
  52. package/build/static/css/{8148.2358eb61.chunk.css.map → 8148.8bdb3811.chunk.css.map} +1 -1
  53. package/build/static/css/{8725.c7dc3077.chunk.css → 8725.6781ba6f.chunk.css} +2 -2
  54. package/build/static/css/{8725.c7dc3077.chunk.css.map → 8725.6781ba6f.chunk.css.map} +1 -1
  55. package/build/static/css/9053.83b5ff18.chunk.css +2 -0
  56. package/build/static/css/{9053.8177e759.chunk.css.map → 9053.83b5ff18.chunk.css.map} +1 -1
  57. package/build/static/css/931.585dee2e.chunk.css +2 -0
  58. package/build/static/css/{931.125364d5.chunk.css.map → 931.585dee2e.chunk.css.map} +1 -1
  59. package/build/static/css/9390.2a0a4152.chunk.css +2 -0
  60. package/build/static/css/{9390.fd86f74e.chunk.css.map → 9390.2a0a4152.chunk.css.map} +1 -1
  61. package/build/static/css/{9449.955731fe.chunk.css → 9449.38345e64.chunk.css} +2 -2
  62. package/build/static/css/{9449.955731fe.chunk.css.map → 9449.38345e64.chunk.css.map} +1 -1
  63. package/build/static/css/9689.b80a42e3.chunk.css +2 -0
  64. package/build/static/css/{9689.6489954b.chunk.css.map → 9689.b80a42e3.chunk.css.map} +1 -1
  65. package/build/static/js/1153.fec10582.chunk.js +3 -0
  66. package/build/static/js/{1153.1e294c6f.chunk.js.map → 1153.fec10582.chunk.js.map} +1 -1
  67. package/build/static/js/1454.ff6a7df0.chunk.js +3 -0
  68. package/build/static/js/{1454.96dac641.chunk.js.map → 1454.ff6a7df0.chunk.js.map} +1 -1
  69. package/build/static/js/1554.a7d55780.chunk.js +3 -0
  70. package/build/static/js/{1554.9fb89be7.chunk.js.map → 1554.a7d55780.chunk.js.map} +1 -1
  71. package/build/static/js/{1664.28c4f183.chunk.js → 1664.f58c905d.chunk.js} +2 -2
  72. package/build/static/js/{1664.28c4f183.chunk.js.map → 1664.f58c905d.chunk.js.map} +1 -1
  73. package/build/static/js/{1932.122e5fc4.chunk.js → 1932.8a243cc1.chunk.js} +2 -2
  74. package/build/static/js/{1932.122e5fc4.chunk.js.map → 1932.8a243cc1.chunk.js.map} +1 -1
  75. package/build/static/js/2503.c208aee6.chunk.js +2 -0
  76. package/build/static/js/{2503.25af0179.chunk.js.map → 2503.c208aee6.chunk.js.map} +1 -1
  77. package/build/static/js/2517.321222da.chunk.js +2 -0
  78. package/build/static/js/2517.321222da.chunk.js.map +1 -0
  79. package/build/static/js/2526.850fe49f.chunk.js +2 -0
  80. package/build/static/js/{2526.1ea062a6.chunk.js.map → 2526.850fe49f.chunk.js.map} +1 -1
  81. package/build/static/js/2716.4208891f.chunk.js +3 -0
  82. package/build/static/js/{2716.00d7f505.chunk.js.map → 2716.4208891f.chunk.js.map} +1 -1
  83. package/build/static/js/2730.128da5e6.chunk.js +2 -0
  84. package/build/static/js/2730.128da5e6.chunk.js.map +1 -0
  85. package/build/static/js/{289.3c6ac64b.chunk.js → 289.a1ba5837.chunk.js} +2 -2
  86. package/build/static/js/{289.3c6ac64b.chunk.js.map → 289.a1ba5837.chunk.js.map} +1 -1
  87. package/build/static/js/2979.c28d3993.chunk.js +2 -0
  88. package/build/static/js/2979.c28d3993.chunk.js.map +1 -0
  89. package/build/static/js/2999.f2a64689.chunk.js +2 -0
  90. package/build/static/js/{2999.08c9a11c.chunk.js.map → 2999.f2a64689.chunk.js.map} +1 -1
  91. package/build/static/js/3245.dbe5ca27.chunk.js +3 -0
  92. package/build/static/js/{3245.b24a8d90.chunk.js.LICENSE.txt → 3245.dbe5ca27.chunk.js.LICENSE.txt} +3 -3
  93. package/build/static/js/3245.dbe5ca27.chunk.js.map +1 -0
  94. package/build/static/js/{3333.0f92a777.chunk.js → 3333.5d04b469.chunk.js} +2 -2
  95. package/build/static/js/{3333.0f92a777.chunk.js.map → 3333.5d04b469.chunk.js.map} +1 -1
  96. package/build/static/js/36.51b6e483.chunk.js +2 -0
  97. package/build/static/js/36.51b6e483.chunk.js.map +1 -0
  98. package/build/static/js/{3843.21a931ed.chunk.js → 3843.6cc7d88e.chunk.js} +2 -2
  99. package/build/static/js/{3843.21a931ed.chunk.js.map → 3843.6cc7d88e.chunk.js.map} +1 -1
  100. package/build/static/js/4666.409b3e93.chunk.js +2 -0
  101. package/build/static/js/{4666.f39bd7f4.chunk.js.map → 4666.409b3e93.chunk.js.map} +1 -1
  102. package/build/static/js/5600.1f59f0c0.chunk.js +2 -0
  103. package/build/static/js/5600.1f59f0c0.chunk.js.map +1 -0
  104. package/build/static/js/5654.06baa21f.chunk.js +2 -0
  105. package/build/static/js/{5654.1aee8d09.chunk.js.map → 5654.06baa21f.chunk.js.map} +1 -1
  106. package/build/static/js/{5846.70d359de.chunk.js → 5846.73eed906.chunk.js} +2 -2
  107. package/build/static/js/5846.73eed906.chunk.js.map +1 -0
  108. package/build/static/js/{5868.d759c924.chunk.js → 5868.d52598dc.chunk.js} +2 -2
  109. package/build/static/js/{5868.d759c924.chunk.js.map → 5868.d52598dc.chunk.js.map} +1 -1
  110. package/build/static/js/{5996.458224aa.chunk.js → 5996.5c429d63.chunk.js} +2 -2
  111. package/build/static/js/{5996.458224aa.chunk.js.map → 5996.5c429d63.chunk.js.map} +1 -1
  112. package/build/static/js/6779.24c278bd.chunk.js +2 -0
  113. package/build/static/js/6779.24c278bd.chunk.js.map +1 -0
  114. package/build/static/js/6900.01cb1520.chunk.js +2 -0
  115. package/build/static/js/6900.01cb1520.chunk.js.map +1 -0
  116. package/build/static/js/7227.7bdad1f6.chunk.js +3 -0
  117. package/build/static/js/{7227.5fd68198.chunk.js.map → 7227.7bdad1f6.chunk.js.map} +1 -1
  118. package/build/static/js/7777.133ac9f7.chunk.js +2 -0
  119. package/build/static/js/{7777.d5944693.chunk.js.map → 7777.133ac9f7.chunk.js.map} +1 -1
  120. package/build/static/js/{7967.b4c329b5.chunk.js → 7967.63d2cbf1.chunk.js} +2 -2
  121. package/build/static/js/{7967.b4c329b5.chunk.js.map → 7967.63d2cbf1.chunk.js.map} +1 -1
  122. package/build/static/js/8072.92c54f3e.chunk.js +2 -0
  123. package/build/static/js/8072.92c54f3e.chunk.js.map +1 -0
  124. package/build/static/js/{8148.4a8ea2d5.chunk.js → 8148.7546a8ac.chunk.js} +3 -3
  125. package/build/static/js/{8148.4a8ea2d5.chunk.js.map → 8148.7546a8ac.chunk.js.map} +1 -1
  126. package/build/static/js/{8151.f9ccaa56.chunk.js → 8151.4bd94f10.chunk.js} +2 -2
  127. package/build/static/js/{8151.f9ccaa56.chunk.js.map → 8151.4bd94f10.chunk.js.map} +1 -1
  128. package/build/static/js/8235.6e46d016.chunk.js.map +1 -1
  129. package/build/static/js/8481.b7834ddd.chunk.js.map +1 -1
  130. package/build/static/js/8725.c742a5f3.chunk.js +2 -0
  131. package/build/static/js/8725.c742a5f3.chunk.js.map +1 -0
  132. package/build/static/js/{9053.518b5434.chunk.js → 9053.8e682b8b.chunk.js} +3 -3
  133. package/build/static/js/{9053.518b5434.chunk.js.map → 9053.8e682b8b.chunk.js.map} +1 -1
  134. package/build/static/js/{931.6431cc6d.chunk.js → 931.71d34afc.chunk.js} +2 -2
  135. package/build/static/js/{931.6431cc6d.chunk.js.map → 931.71d34afc.chunk.js.map} +1 -1
  136. package/build/static/js/{9390.fd4f695a.chunk.js → 9390.81b55f81.chunk.js} +2 -2
  137. package/build/static/js/{9390.fd4f695a.chunk.js.map → 9390.81b55f81.chunk.js.map} +1 -1
  138. package/build/static/js/{9449.7bf5c8fa.chunk.js → 9449.4557a293.chunk.js} +2 -2
  139. package/build/static/js/{9449.7bf5c8fa.chunk.js.map → 9449.4557a293.chunk.js.map} +1 -1
  140. package/build/static/js/{main.2ce69e0f.js → main.9cbc9f88.js} +2 -2
  141. package/build/static/js/{main.2ce69e0f.js.map → main.9cbc9f88.js.map} +1 -1
  142. package/package.json +1 -1
  143. package/build/static/css/1151.bd10c3ca.chunk.css +0 -2
  144. package/build/static/css/1153.639b0d45.chunk.css +0 -2
  145. package/build/static/css/1454.469e67bf.chunk.css +0 -2
  146. package/build/static/css/1554.5a92ca0c.chunk.css +0 -2
  147. package/build/static/css/2526.47fe4350.chunk.css +0 -2
  148. package/build/static/css/2716.da9de48b.chunk.css +0 -2
  149. package/build/static/css/2999.a991e399.chunk.css +0 -2
  150. package/build/static/css/3333.48afd4b7.chunk.css +0 -2
  151. package/build/static/css/4666.bd2faf1c.chunk.css +0 -2
  152. package/build/static/css/5600.43b61d90.chunk.css +0 -2
  153. package/build/static/css/5846.974451af.chunk.css +0 -2
  154. package/build/static/css/5868.db813410.chunk.css +0 -2
  155. package/build/static/css/6779.ddc9fce4.chunk.css +0 -2
  156. package/build/static/css/7227.683f0469.chunk.css +0 -2
  157. package/build/static/css/8072.0777933b.chunk.css +0 -2
  158. package/build/static/css/8148.2358eb61.chunk.css +0 -2
  159. package/build/static/css/9053.8177e759.chunk.css +0 -2
  160. package/build/static/css/931.125364d5.chunk.css +0 -2
  161. package/build/static/css/9390.fd86f74e.chunk.css +0 -2
  162. package/build/static/css/9689.6489954b.chunk.css +0 -2
  163. package/build/static/js/1153.1e294c6f.chunk.js +0 -3
  164. package/build/static/js/1454.96dac641.chunk.js +0 -3
  165. package/build/static/js/1554.9fb89be7.chunk.js +0 -3
  166. package/build/static/js/2503.25af0179.chunk.js +0 -2
  167. package/build/static/js/2517.0ab6d5d9.chunk.js +0 -2
  168. package/build/static/js/2517.0ab6d5d9.chunk.js.map +0 -1
  169. package/build/static/js/2526.1ea062a6.chunk.js +0 -2
  170. package/build/static/js/2716.00d7f505.chunk.js +0 -3
  171. package/build/static/js/2730.62e785d8.chunk.js +0 -2
  172. package/build/static/js/2730.62e785d8.chunk.js.map +0 -1
  173. package/build/static/js/2979.ff40d210.chunk.js +0 -2
  174. package/build/static/js/2979.ff40d210.chunk.js.map +0 -1
  175. package/build/static/js/2999.08c9a11c.chunk.js +0 -2
  176. package/build/static/js/3245.b24a8d90.chunk.js +0 -3
  177. package/build/static/js/3245.b24a8d90.chunk.js.map +0 -1
  178. package/build/static/js/36.6f9b4aff.chunk.js +0 -2
  179. package/build/static/js/36.6f9b4aff.chunk.js.map +0 -1
  180. package/build/static/js/4666.f39bd7f4.chunk.js +0 -2
  181. package/build/static/js/5600.3448c607.chunk.js +0 -2
  182. package/build/static/js/5600.3448c607.chunk.js.map +0 -1
  183. package/build/static/js/5654.1aee8d09.chunk.js +0 -2
  184. package/build/static/js/5846.70d359de.chunk.js.map +0 -1
  185. package/build/static/js/6779.73638208.chunk.js +0 -2
  186. package/build/static/js/6779.73638208.chunk.js.map +0 -1
  187. package/build/static/js/6900.323f1e7c.chunk.js +0 -2
  188. package/build/static/js/6900.323f1e7c.chunk.js.map +0 -1
  189. package/build/static/js/7227.5fd68198.chunk.js +0 -3
  190. package/build/static/js/7777.d5944693.chunk.js +0 -2
  191. package/build/static/js/8072.0cb02897.chunk.js +0 -2
  192. package/build/static/js/8072.0cb02897.chunk.js.map +0 -1
  193. package/build/static/js/8725.bafc6a47.chunk.js +0 -2
  194. package/build/static/js/8725.bafc6a47.chunk.js.map +0 -1
  195. /package/build/static/js/{1153.1e294c6f.chunk.js.LICENSE.txt → 1153.fec10582.chunk.js.LICENSE.txt} +0 -0
  196. /package/build/static/js/{1454.96dac641.chunk.js.LICENSE.txt → 1454.ff6a7df0.chunk.js.LICENSE.txt} +0 -0
  197. /package/build/static/js/{1554.9fb89be7.chunk.js.LICENSE.txt → 1554.a7d55780.chunk.js.LICENSE.txt} +0 -0
  198. /package/build/static/js/{2716.00d7f505.chunk.js.LICENSE.txt → 2716.4208891f.chunk.js.LICENSE.txt} +0 -0
  199. /package/build/static/js/{7227.5fd68198.chunk.js.LICENSE.txt → 7227.7bdad1f6.chunk.js.LICENSE.txt} +0 -0
  200. /package/build/static/js/{8148.4a8ea2d5.chunk.js.LICENSE.txt → 8148.7546a8ac.chunk.js.LICENSE.txt} +0 -0
  201. /package/build/static/js/{9053.518b5434.chunk.js.LICENSE.txt → 9053.8e682b8b.chunk.js.LICENSE.txt} +0 -0
@@ -0,0 +1,3 @@
1
+ /*! For license information please see 3245.dbe5ca27.chunk.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[3245],{53245:(e,t,r)=>{r.r(t),r.d(t,{AbortedDeferredError:()=>Y,Await:()=>Gt,BrowserRouter:()=>Ar,Form:()=>Br,HashRouter:()=>Ur,Link:()=>Fr,MemoryRouter:()=>$t,NavLink:()=>Nr,Navigate:()=>Jt,NavigationType:()=>n,Outlet:()=>Vt,Route:()=>Yt,Router:()=>qt,RouterProvider:()=>kr,Routes:()=>Xt,ScrollRestoration:()=>Ir,UNSAFE_DataRouterContext:()=>tt,UNSAFE_DataRouterStateContext:()=>rt,UNSAFE_ErrorResponseImpl:()=>ee,UNSAFE_FetchersContext:()=>xr,UNSAFE_LocationContext:()=>ot,UNSAFE_NavigationContext:()=>at,UNSAFE_RouteContext:()=>it,UNSAFE_ViewTransitionContext:()=>Rr,UNSAFE_useRouteId:()=>Tt,UNSAFE_useScrollRestoration:()=>tn,createBrowserRouter:()=>br,createHashRouter:()=>wr,createMemoryRouter:()=>or,createPath:()=>m,createRoutesFromChildren:()=>rr,createRoutesFromElements:()=>rr,createSearchParams:()=>dr,defer:()=>G,generatePath:()=>M,isRouteErrorResponse:()=>te,json:()=>V,matchPath:()=>j,matchRoutes:()=>E,parsePath:()=>v,redirect:()=>Q,redirectDocument:()=>Z,renderMatches:()=>nr,resolvePath:()=>N,unstable_HistoryRouter:()=>Mr,unstable_usePrompt:()=>nn,unstable_useViewTransitionState:()=>an,useActionData:()=>Ft,useAsyncError:()=>It,useAsyncValue:()=>Bt,useBeforeUnload:()=>rn,useBlocker:()=>Ht,useFetcher:()=>Gr,useFetchers:()=>Qr,useFormAction:()=>Xr,useHref:()=>lt,useInRouterContext:()=>ut,useLinkClickHandler:()=>$r,useLoaderData:()=>jt,useLocation:()=>ct,useMatch:()=>ht,useMatches:()=>Mt,useNavigate:()=>pt,useNavigation:()=>At,useNavigationType:()=>dt,useOutlet:()=>yt,useOutletContext:()=>vt,useParams:()=>gt,useResolvedPath:()=>bt,useRevalidator:()=>Ut,useRouteError:()=>Nt,useRouteLoaderData:()=>Ot,useRoutes:()=>wt,useSearchParams:()=>Jr,useSubmit:()=>qr});var n,a=r(73884),o=r(10486);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(n||(n={}));const s="popstate";function l(e){void 0===e&&(e={});let t,{initialEntries:r=["/"],initialIndex:a,v5Compat:o=!1}=e;t=r.map(((e,t)=>d(e,"string"===typeof e?null:e.state,0===t?"default":void 0)));let i=u(null==a?t.length-1:a),s=n.Pop,l=null;function u(e){return Math.min(Math.max(e,0),t.length-1)}function c(){return t[i]}function d(e,r,n){void 0===r&&(r=null);let a=p(t?c().pathname:"/",e,r,n);return h("/"===a.pathname.charAt(0),"relative pathnames are not supported in memory history: "+JSON.stringify(e)),a}function f(e){return"string"===typeof e?e:m(e)}return{get index(){return i},get action(){return s},get location(){return c()},createHref:f,createURL:e=>new URL(f(e),"http://localhost"),encodeLocation(e){let t="string"===typeof e?v(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,r){s=n.Push;let a=d(e,r);i+=1,t.splice(i,t.length,a),o&&l&&l({action:s,location:a,delta:1})},replace(e,r){s=n.Replace;let a=d(e,r);t[i]=a,o&&l&&l({action:s,location:a,delta:0})},go(e){s=n.Pop;let r=u(i+e),a=t[r];i=r,l&&l({action:s,location:a,delta:e})},listen:e=>(l=e,()=>{l=null})}}function u(e){return void 0===e&&(e={}),y((function(e,t){let{pathname:r,search:n,hash:a}=e.location;return p("",{pathname:r,search:n,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:m(t)}),null,e)}function c(e){return void 0===e&&(e={}),y((function(e,t){let{pathname:r="/",search:n="",hash:a=""}=v(e.location.hash.substr(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),p("",{pathname:r,search:n,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let r=e.document.querySelector("base"),n="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");n=-1===r?t:t.slice(0,r)}return n+"#"+("string"===typeof t?t:m(t))}),(function(e,t){h("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),e)}function d(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function h(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(r){}}}function f(e,t){return{usr:e.state,key:e.key,idx:t}}function p(e,t,r,n){return void 0===r&&(r=null),i({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?v(t):t,{state:r,key:t&&t.key||n||Math.random().toString(36).substr(2,8)})}function m(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(t+="#"===n.charAt(0)?n:"#"+n),t}function v(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function y(e,t,r,a){void 0===a&&(a={});let{window:o=document.defaultView,v5Compat:l=!1}=a,u=o.history,c=n.Pop,h=null,v=y();function y(){return(u.state||{idx:null}).idx}function g(){c=n.Pop;let e=y(),t=null==e?null:e-v;v=e,h&&h({action:c,location:w.location,delta:t})}function b(e){let t="null"!==o.location.origin?o.location.origin:o.location.href,r="string"===typeof e?e:m(e);return r=r.replace(/ $/,"%20"),d(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==v&&(v=0,u.replaceState(i({},u.state,{idx:v}),""));let w={get action(){return c},get location(){return e(o,u)},listen(e){if(h)throw new Error("A history only accepts one active listener");return o.addEventListener(s,g),h=e,()=>{o.removeEventListener(s,g),h=null}},createHref:e=>t(o,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){c=n.Push;let a=p(w.location,e,t);r&&r(a,e),v=y()+1;let i=f(a,v),s=w.createHref(a);try{u.pushState(i,"",s)}catch(d){if(d instanceof DOMException&&"DataCloneError"===d.name)throw d;o.location.assign(s)}l&&h&&h({action:c,location:w.location,delta:1})},replace:function(e,t){c=n.Replace;let a=p(w.location,e,t);r&&r(a,e),v=y();let o=f(a,v),i=w.createHref(a);u.replaceState(o,"",i),l&&h&&h({action:c,location:w.location,delta:0})},go:e=>u.go(e)};return w}var g;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(g||(g={}));const b=new Set(["lazy","caseSensitive","path","id","index","children"]);function w(e,t,r,n){return void 0===r&&(r=[]),void 0===n&&(n={}),e.map(((e,a)=>{let o=[...r,a],s="string"===typeof e.id?e.id:o.join("-");if(d(!0!==e.index||!e.children,"Cannot specify children on an index route"),d(!n[s],'Found a route id collision on id "'+s+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let r=i({},e,t(e),{id:s});return n[s]=r,r}{let r=i({},e,t(e),{id:s,children:void 0});return n[s]=r,e.children&&(r.children=w(e.children,t,o,n)),r}}))}function E(e,t,r){void 0===r&&(r="/");let n=F(("string"===typeof t?v(t):t).pathname||"/",r);if(null==n)return null;let a=R(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let r=e.length===t.length&&e.slice(0,-1).every(((e,r)=>e===t[r]));return r?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(a);let o=null;for(let i=0;null==o&&i<a.length;++i){let e=O(n);o=U(a[i],e)}return o}function S(e,t){let{route:r,pathname:n,params:a}=e;return{id:r.id,pathname:n,params:a,data:t[r.id],handle:r.handle}}function R(e,t,r,n){void 0===t&&(t=[]),void 0===r&&(r=[]),void 0===n&&(n="");let a=(e,a,o)=>{let i={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};i.relativePath.startsWith("/")&&(d(i.relativePath.startsWith(n),'Absolute route path "'+i.relativePath+'" nested under path "'+n+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),i.relativePath=i.relativePath.slice(n.length));let s=W([n,i.relativePath]),l=r.concat(i);e.children&&e.children.length>0&&(d(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),R(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:A(s,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let n of x(e.path))a(e,t,n);else a(e,t)})),t}function x(e){let t=e.split("/");if(0===t.length)return[];let[r,...n]=t,a=r.endsWith("?"),o=r.replace(/\?$/,"");if(0===n.length)return a?[o,""]:[o];let i=x(n.join("/")),s=[];return s.push(...i.map((e=>""===e?o:[o,e].join("/")))),a&&s.push(...i),s.map((t=>e.startsWith("/")&&""===t?"/":t))}const D=/^:[\w-]+$/,C=3,L=2,P=1,_=10,k=-2,T=e=>"*"===e;function A(e,t){let r=e.split("/"),n=r.length;return r.some(T)&&(n+=k),t&&(n+=L),r.filter((e=>!T(e))).reduce(((e,t)=>e+(D.test(t)?C:""===t?P:_)),n)}function U(e,t){let{routesMeta:r}=e,n={},a="/",o=[];for(let i=0;i<r.length;++i){let e=r[i],s=i===r.length-1,l="/"===a?t:t.slice(a.length)||"/",u=j({path:e.relativePath,caseSensitive:e.caseSensitive,end:s},l);if(!u)return null;Object.assign(n,u.params);let c=e.route;o.push({params:n,pathname:W([a,u.pathname]),pathnameBase:K(W([a,u.pathnameBase])),route:c}),"/"!==u.pathnameBase&&(a=W([a,u.pathnameBase]))}return o}function M(e,t){void 0===t&&(t={});let r=e;r.endsWith("*")&&"*"!==r&&!r.endsWith("/*")&&(h(!1,'Route path "'+r+'" will be treated as if it were "'+r.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+r.replace(/\*$/,"/*")+'".'),r=r.replace(/\*$/,"/*"));const n=r.startsWith("/")?"/":"",a=e=>null==e?"":"string"===typeof e?e:String(e);return n+r.split(/\/+/).map(((e,r,n)=>{if(r===n.length-1&&"*"===e){return a(t["*"])}const o=e.match(/^:([\w-]+)(\??)$/);if(o){const[,e,r]=o;let n=t[e];return d("?"===r||null!=n,'Missing ":'+e+'" param'),a(n)}return e.replace(/\?$/g,"")})).filter((e=>!!e)).join("/")}function j(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=function(e,t,r){void 0===t&&(t=!1);void 0===r&&(r=!0);h("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let n=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,r)=>(n.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(n.push({paramName:"*"}),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))");let o=new RegExp(a,t?void 0:"i");return[o,n]}(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let o=a[0],i=o.replace(/(.)\/+$/,"$1"),s=a.slice(1);return{params:n.reduce(((e,t,r)=>{let{paramName:n,isOptional:a}=t;if("*"===n){let e=s[r]||"";i=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[r];return e[n]=a&&!l?void 0:(l||"").replace(/%2F/g,"/"),e}),{}),pathname:o,pathnameBase:i,pattern:e}}function O(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return h(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function F(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}function N(e,t){void 0===t&&(t="/");let{pathname:r,search:n="",hash:a=""}="string"===typeof e?v(e):e,o=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:o,search:$(n),hash:J(a)}}function B(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function I(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function z(e,t){let r=I(e);return t?r.map(((t,r)=>r===e.length-1?t.pathname:t.pathnameBase)):r.map((e=>e.pathnameBase))}function H(e,t,r,n){let a;void 0===n&&(n=!1),"string"===typeof e?a=v(e):(a=i({},e),d(!a.pathname||!a.pathname.includes("?"),B("?","pathname","search",a)),d(!a.pathname||!a.pathname.includes("#"),B("#","pathname","hash",a)),d(!a.search||!a.search.includes("#"),B("#","search","hash",a)));let o,s=""===e||""===a.pathname,l=s?"/":a.pathname;if(null==l)o=r;else{let e=t.length-1;if(!n&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}o=e>=0?t[e]:"/"}let u=N(a,o),c=l&&"/"!==l&&l.endsWith("/"),h=(s||"."===l)&&r.endsWith("/");return u.pathname.endsWith("/")||!c&&!h||(u.pathname+="/"),u}const W=e=>e.join("/").replace(/\/\/+/g,"/"),K=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),$=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",J=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",V=function(e,t){void 0===t&&(t={});let r="number"===typeof t?{status:t}:t,n=new Headers(r.headers);return n.has("Content-Type")||n.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(e),i({},r,{headers:n}))};class Y extends Error{}class q{constructor(e,t){let r;this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],d(e&&"object"===typeof e&&!Array.isArray(e),"defer() only accepts plain objects"),this.abortPromise=new Promise(((e,t)=>r=t)),this.controller=new AbortController;let n=()=>r(new Y("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",n),this.controller.signal.addEventListener("abort",n),this.data=Object.entries(e).reduce(((e,t)=>{let[r,n]=t;return Object.assign(e,{[r]:this.trackPromise(r,n)})}),{}),this.done&&this.unlistenAbortSignal(),this.init=t}trackPromise(e,t){if(!(t instanceof Promise))return t;this.deferredKeys.push(e),this.pendingKeysSet.add(e);let r=Promise.race([t,this.abortPromise]).then((t=>this.onSettle(r,e,void 0,t)),(t=>this.onSettle(r,e,t)));return r.catch((()=>{})),Object.defineProperty(r,"_tracked",{get:()=>!0}),r}onSettle(e,t,r,n){if(this.controller.signal.aborted&&r instanceof Y)return this.unlistenAbortSignal(),Object.defineProperty(e,"_error",{get:()=>r}),Promise.reject(r);if(this.pendingKeysSet.delete(t),this.done&&this.unlistenAbortSignal(),void 0===r&&void 0===n){let r=new Error('Deferred data for key "'+t+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(e,"_error",{get:()=>r}),this.emit(!1,t),Promise.reject(r)}return void 0===n?(Object.defineProperty(e,"_error",{get:()=>r}),this.emit(!1,t),Promise.reject(r)):(Object.defineProperty(e,"_data",{get:()=>n}),this.emit(!1,t),n)}emit(e,t){this.subscribers.forEach((r=>r(e,t)))}subscribe(e){return this.subscribers.add(e),()=>this.subscribers.delete(e)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach(((e,t)=>this.pendingKeysSet.delete(t))),this.emit(!0)}async resolveData(e){let t=!1;if(!this.done){let r=()=>this.cancel();e.addEventListener("abort",r),t=await new Promise((t=>{this.subscribe((n=>{e.removeEventListener("abort",r),(n||this.done)&&t(n)}))}))}return t}get done(){return 0===this.pendingKeysSet.size}get unwrappedData(){return d(null!==this.data&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce(((e,t)=>{let[r,n]=t;return Object.assign(e,{[r]:X(n)})}),{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}function X(e){if(!function(e){return e instanceof Promise&&!0===e._tracked}(e))return e;if(e._error)throw e._error;return e._data}const G=function(e,t){return void 0===t&&(t={}),new q(e,"number"===typeof t?{status:t}:t)},Q=function(e,t){void 0===t&&(t=302);let r=t;"number"===typeof r?r={status:r}:"undefined"===typeof r.status&&(r.status=302);let n=new Headers(r.headers);return n.set("Location",e),new Response(null,i({},r,{headers:n}))},Z=(e,t)=>{let r=Q(e,t);return r.headers.set("X-Remix-Reload-Document","true"),r};class ee{constructor(e,t,r,n){void 0===n&&(n=!1),this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function te(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}const re=["post","put","patch","delete"],ne=new Set(re),ae=["get",...re],oe=new Set(ae),ie=new Set([301,302,303,307,308]),se=new Set([307,308]),le={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ue={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ce={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},de=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,he=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)}),fe="remix-router-transitions";function pe(e){const t=e.window?e.window:"undefined"!==typeof window?window:void 0,r="undefined"!==typeof t&&"undefined"!==typeof t.document&&"undefined"!==typeof t.document.createElement,a=!r;let o;if(d(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)o=e.mapRouteProperties;else if(e.detectErrorBoundary){let t=e.detectErrorBoundary;o=e=>({hasErrorBoundary:t(e)})}else o=he;let s,l,u={},c=w(e.routes,o,void 0,u),f=e.basename||"/",m=e.unstable_dataStrategy||Se,v=i({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,unstable_skipActionErrorRevalidation:!1},e.future),y=null,b=new Set,R=null,x=null,D=null,C=null!=e.hydrationData,L=E(c,e.history.location,f),P=null;if(null==L){let t=Oe(404,{pathname:e.history.location.pathname}),{matches:r,route:n}=je(c);L=r,P={[n.id]:t}}let _,k=L.some((e=>e.route.lazy)),T=L.some((e=>e.route.loader));if(k)l=!1;else if(T)if(v.v7_partialHydration){let t=e.hydrationData?e.hydrationData.loaderData:null,r=e.hydrationData?e.hydrationData.errors:null,n=e=>!e.route.loader||("function"!==typeof e.route.loader||!0!==e.route.loader.hydrate)&&(t&&void 0!==t[e.route.id]||r&&void 0!==r[e.route.id]);if(r){let e=L.findIndex((e=>void 0!==r[e.route.id]));l=L.slice(0,e+1).every(n)}else l=L.every(n)}else l=null!=e.hydrationData;else l=!0;let A,U={historyAction:e.history.action,location:e.history.location,matches:L,initialized:l,navigation:le,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||P,fetchers:new Map,blockers:new Map},M=n.Pop,j=!1,O=!1,N=new Map,B=null,I=!1,z=!1,H=[],W=[],K=new Map,$=0,J=-1,V=new Map,Y=new Set,q=new Map,X=new Map,G=new Set,Q=new Map,Z=new Map,ee=!1;function te(e,t){void 0===t&&(t={}),U=i({},U,e);let r=[],n=[];v.v7_fetcherPersist&&U.fetchers.forEach(((e,t)=>{"idle"===e.state&&(G.has(t)?n.push(t):r.push(t))})),[...b].forEach((e=>e(U,{deletedFetchers:n,unstable_viewTransitionOpts:t.viewTransitionOpts,unstable_flushSync:!0===t.flushSync}))),v.v7_fetcherPersist&&(r.forEach((e=>U.fetchers.delete(e))),n.forEach((e=>Ee(e))))}function re(t,r,a){var o,l;let u,{flushSync:d}=void 0===a?{}:a,h=null!=U.actionData&&null!=U.navigation.formMethod&&$e(U.navigation.formMethod)&&"loading"===U.navigation.state&&!0!==(null==(o=t.state)?void 0:o._isRedirect);u=r.actionData?Object.keys(r.actionData).length>0?r.actionData:null:h?U.actionData:null;let f=r.loaderData?Ae(U.loaderData,r.loaderData,r.matches||[],r.errors):U.loaderData,p=U.blockers;p.size>0&&(p=new Map(p),p.forEach(((e,t)=>p.set(t,ce))));let m,v=!0===j||null!=U.navigation.formMethod&&$e(U.navigation.formMethod)&&!0!==(null==(l=t.state)?void 0:l._isRedirect);if(s&&(c=s,s=void 0),I||M===n.Pop||(M===n.Push?e.history.push(t,t.state):M===n.Replace&&e.history.replace(t,t.state)),M===n.Pop){let e=N.get(U.location.pathname);e&&e.has(t.pathname)?m={currentLocation:U.location,nextLocation:t}:N.has(t.pathname)&&(m={currentLocation:t,nextLocation:U.location})}else if(O){let e=N.get(U.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),N.set(U.location.pathname,e)),m={currentLocation:U.location,nextLocation:t}}te(i({},r,{actionData:u,loaderData:f,historyAction:M,location:t,initialized:!0,navigation:le,revalidation:"idle",restoreScrollPosition:rt(t,r.matches||U.matches),preventScrollReset:v,blockers:p}),{viewTransitionOpts:m,flushSync:!0===d}),M=n.Pop,j=!1,O=!1,I=!1,z=!1,H=[],W=[]}async function ne(t,r,a){A&&A.abort(),A=null,M=t,I=!0===(a&&a.startUninterruptedRevalidation),function(e,t){if(R&&D){let r=tt(e,t);R[r]=D()}}(U.location,U.matches),j=!0===(a&&a.preventScrollReset),O=!0===(a&&a.enableViewTransition);let o=s||c,l=a&&a.overrideNavigation,u=E(o,r,f),d=!0===(a&&a.flushSync);if(!u){let e=Oe(404,{pathname:r.pathname}),{matches:t,route:n}=je(o);return et(),void re(r,{matches:t,loaderData:{},errors:{[n.id]:e}},{flushSync:d})}if(U.initialized&&!z&&function(e,t){if(e.pathname!==t.pathname||e.search!==t.search)return!1;if(""===e.hash)return""!==t.hash;if(e.hash===t.hash)return!0;if(""!==t.hash)return!0;return!1}(U.location,r)&&!(a&&a.submission&&$e(a.submission.formMethod)))return void re(r,{matches:u},{flushSync:d});A=new AbortController;let h,p=Le(e.history,r,A.signal,a&&a.submission);if(a&&a.pendingError)h=[Me(u).route.id,{type:g.error,error:a.pendingError}];else if(a&&a.submission&&$e(a.submission.formMethod)){let t=await async function(e,t,r,a,o){void 0===o&&(o={});pe();let i,s=function(e,t){let r={state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text};return r}(t,r);te({navigation:s},{flushSync:!0===o.flushSync});let l=qe(a,t);if(l.route.action||l.route.lazy){if(i=(await oe("action",e,[l],a))[0],e.signal.aborted)return{shortCircuited:!0}}else i={type:g.error,error:Oe(405,{method:e.method,pathname:t.pathname,routeId:l.route.id})};if(He(i)){let t;if(o&&null!=o.replace)t=o.replace;else{t=Ce(i.response.headers.get("Location"),new URL(e.url),f)===U.location.pathname+U.location.search}return await ae(e,i,{submission:r,replace:t}),{shortCircuited:!0}}if(Ie(i))throw Oe(400,{type:"defer-action"});if(ze(i)){let e=Me(a,l.route.id);return!0!==(o&&o.replace)&&(M=n.Push),{pendingActionResult:[e.route.id,i]}}return{pendingActionResult:[l.route.id,i]}}(p,r,a.submission,u,{replace:a.replace,flushSync:d});if(t.shortCircuited)return;h=t.pendingActionResult,l=Ge(r,a.submission),d=!1,p=Le(e.history,p.url,p.signal)}let{shortCircuited:m,loaderData:y,errors:b}=await async function(t,r,n,a,o,l,u,d,h,p){let m=a||Ge(r,o),y=o||l||Xe(m),g=s||c,[b,w]=ge(e.history,U,n,y,r,v.v7_partialHydration&&!0===d,v.unstable_skipActionErrorRevalidation,z,H,W,G,q,Y,g,f,p);if(et((e=>!(n&&n.some((t=>t.route.id===e)))||b&&b.some((t=>t.route.id===e)))),J=++$,0===b.length&&0===w.length){let e=ke();return re(r,i({matches:n,loaderData:{},errors:p&&ze(p[1])?{[p[0]]:p[1].error}:null},Ue(p),e?{fetchers:new Map(U.fetchers)}:{}),{flushSync:h}),{shortCircuited:!0}}if(!I&&(!v.v7_partialHydration||!d)){let e;w.forEach((e=>{let t=U.fetchers.get(e.key),r=Qe(void 0,t?t.data:void 0);U.fetchers.set(e.key,r)})),p&&!ze(p[1])?e={[p[0]]:p[1].data}:U.actionData&&(e=0===Object.keys(U.actionData).length?null:U.actionData),te(i({navigation:m},void 0!==e?{actionData:e}:{},w.length>0?{fetchers:new Map(U.fetchers)}:{}),{flushSync:h})}w.forEach((e=>{K.has(e.key)&&Pe(e.key),e.controller&&K.set(e.key,e.controller)}));let E=()=>w.forEach((e=>Pe(e.key)));A&&A.signal.addEventListener("abort",E);let{loaderResults:S,fetcherResults:R}=await ie(U.matches,n,b,w,t);if(t.signal.aborted)return{shortCircuited:!0};A&&A.signal.removeEventListener("abort",E);w.forEach((e=>K.delete(e.key)));let x=Fe([...S,...R]);if(x){if(x.idx>=b.length){let e=w[x.idx-b.length].key;Y.add(e)}return await ae(t,x.result,{replace:u}),{shortCircuited:!0}}let{loaderData:D,errors:C}=Te(U,n,b,S,p,w,R,Q);Q.forEach(((e,t)=>{e.subscribe((r=>{(r||e.done)&&Q.delete(t)}))})),v.v7_partialHydration&&d&&U.errors&&Object.entries(U.errors).filter((e=>{let[t]=e;return!b.some((e=>e.route.id===t))})).forEach((e=>{let[t,r]=e;C=Object.assign(C||{},{[t]:r})}));let L=ke(),P=Ne(J),_=L||P||w.length>0;return i({loaderData:D,errors:C},_?{fetchers:new Map(U.fetchers)}:{})}(p,r,u,l,a&&a.submission,a&&a.fetcherSubmission,a&&a.replace,a&&!0===a.initialHydration,d,h);m||(A=null,re(r,i({matches:u},Ue(h),{loaderData:y,errors:b})))}async function ae(a,o,s){let{submission:l,fetcherSubmission:u,replace:c}=void 0===s?{}:s;o.response.headers.has("X-Remix-Revalidate")&&(z=!0);let h=o.response.headers.get("Location");d(h,"Expected a Location header on the redirect Response"),h=Ce(h,new URL(a.url),f);let m=p(U.location,h,{_isRedirect:!0});if(r){let r=!1;if(o.response.headers.has("X-Remix-Reload-Document"))r=!0;else if(de.test(h)){const n=e.history.createURL(h);r=n.origin!==t.location.origin||null==F(n.pathname,f)}if(r)return void(c?t.location.replace(h):t.location.assign(h))}A=null;let v=!0===c?n.Replace:n.Push,{formMethod:y,formAction:g,formEncType:b}=U.navigation;!l&&!u&&y&&g&&b&&(l=Xe(U.navigation));let w=l||u;if(se.has(o.response.status)&&w&&$e(w.formMethod))await ne(v,m,{submission:i({},w,{formAction:h}),preventScrollReset:j});else{let e=Ge(m,l);await ne(v,m,{overrideNavigation:e,fetcherSubmission:u,preventScrollReset:j})}}async function oe(e,t,r,n){try{let a=await Re(m,e,t,r,n,u,o);return await Promise.all(a.map(((e,a)=>{if(Be(e)){let o=e.result;return{type:g.redirect,response:De(o,t,r[a].route.id,n,f,v.v7_relativeSplatPath)}}return xe(e)})))}catch(a){return r.map((()=>({type:g.error,error:a})))}}async function ie(t,r,n,a,o){let[i,...s]=await Promise.all([n.length?oe("loader",o,n,r):[],...a.map((t=>{if(t.matches&&t.match&&t.controller){return oe("loader",Le(e.history,t.path,t.controller.signal),[t.match],t.matches).then((e=>e[0]))}return Promise.resolve({type:g.error,error:Oe(404,{pathname:t.path})})}))]);return await Promise.all([Je(t,n,i,i.map((()=>o.signal)),!1,U.loaderData),Je(t,a.map((e=>e.match)),s,a.map((e=>e.controller?e.controller.signal:null)),!0)]),{loaderResults:i,fetcherResults:s}}function pe(){z=!0,H.push(...et()),q.forEach(((e,t)=>{K.has(t)&&(W.push(t),Pe(t))}))}function ye(e,t,r){void 0===r&&(r={}),U.fetchers.set(e,t),te({fetchers:new Map(U.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function be(e,t,r,n){void 0===n&&(n={});let a=Me(U.matches,t);Ee(e),te({errors:{[a.route.id]:r},fetchers:new Map(U.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function we(e){return v.v7_fetcherPersist&&(X.set(e,(X.get(e)||0)+1),G.has(e)&&G.delete(e)),U.fetchers.get(e)||ue}function Ee(e){let t=U.fetchers.get(e);!K.has(e)||t&&"loading"===t.state&&V.has(e)||Pe(e),q.delete(e),V.delete(e),Y.delete(e),G.delete(e),U.fetchers.delete(e)}function Pe(e){let t=K.get(e);d(t,"Expected fetch controller: "+e),t.abort(),K.delete(e)}function _e(e){for(let t of e){let e=Ze(we(t).data);U.fetchers.set(t,e)}}function ke(){let e=[],t=!1;for(let r of Y){let n=U.fetchers.get(r);d(n,"Expected fetcher: "+r),"loading"===n.state&&(Y.delete(r),e.push(r),t=!0)}return _e(e),t}function Ne(e){let t=[];for(let[r,n]of V)if(n<e){let e=U.fetchers.get(r);d(e,"Expected fetcher: "+r),"loading"===e.state&&(Pe(r),V.delete(r),t.push(r))}return _e(t),t.length>0}function We(e){U.blockers.delete(e),Z.delete(e)}function Ke(e,t){let r=U.blockers.get(e)||ce;d("unblocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"proceeding"===t.state||"blocked"===r.state&&"unblocked"===t.state||"proceeding"===r.state&&"unblocked"===t.state,"Invalid blocker state transition: "+r.state+" -> "+t.state);let n=new Map(U.blockers);n.set(e,t),te({blockers:n})}function Ye(e){let{currentLocation:t,nextLocation:r,historyAction:n}=e;if(0===Z.size)return;Z.size>1&&h(!1,"A router only supports one blocker at a time");let a=Array.from(Z.entries()),[o,i]=a[a.length-1],s=U.blockers.get(o);return s&&"proceeding"===s.state?void 0:i({currentLocation:t,nextLocation:r,historyAction:n})?o:void 0}function et(e){let t=[];return Q.forEach(((r,n)=>{e&&!e(n)||(r.cancel(),t.push(n),Q.delete(n))})),t}function tt(e,t){if(x){return x(e,t.map((e=>S(e,U.loaderData))))||e.key}return e.key}function rt(e,t){if(R){let r=tt(e,t),n=R[r];if("number"===typeof n)return n}return null}return _={get basename(){return f},get future(){return v},get state(){return U},get routes(){return c},get window(){return t},initialize:function(){if(y=e.history.listen((t=>{let{action:r,location:n,delta:a}=t;if(ee)return void(ee=!1);h(0===Z.size||null!=a,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let o=Ye({currentLocation:U.location,nextLocation:n,historyAction:r});return o&&null!=a?(ee=!0,e.history.go(-1*a),void Ke(o,{state:"blocked",location:n,proceed(){Ke(o,{state:"proceeding",proceed:void 0,reset:void 0,location:n}),e.history.go(a)},reset(){let e=new Map(U.blockers);e.set(o,ce),te({blockers:e})}})):ne(r,n)})),r){!function(e,t){try{let r=e.sessionStorage.getItem(fe);if(r){let e=JSON.parse(r);for(let[r,n]of Object.entries(e||{}))n&&Array.isArray(n)&&t.set(r,new Set(n||[]))}}catch(r){}}(t,N);let e=()=>function(e,t){if(t.size>0){let n={};for(let[e,r]of t)n[e]=[...r];try{e.sessionStorage.setItem(fe,JSON.stringify(n))}catch(r){h(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}(t,N);t.addEventListener("pagehide",e),B=()=>t.removeEventListener("pagehide",e)}return U.initialized||ne(n.Pop,U.location,{initialHydration:!0}),_},subscribe:function(e){return b.add(e),()=>b.delete(e)},enableScrollRestoration:function(e,t,r){if(R=e,D=t,x=r||null,!C&&U.navigation===le){C=!0;let e=rt(U.location,U.matches);null!=e&&te({restoreScrollPosition:e})}return()=>{R=null,D=null,x=null}},navigate:async function t(r,a){if("number"===typeof r)return void e.history.go(r);let o=me(U.location,U.matches,f,v.v7_prependBasename,r,v.v7_relativeSplatPath,null==a?void 0:a.fromRouteId,null==a?void 0:a.relative),{path:s,submission:l,error:u}=ve(v.v7_normalizeFormMethod,!1,o,a),c=U.location,d=p(U.location,s,a&&a.state);d=i({},d,e.history.encodeLocation(d));let h=a&&null!=a.replace?a.replace:void 0,m=n.Push;!0===h?m=n.Replace:!1===h||null!=l&&$e(l.formMethod)&&l.formAction===U.location.pathname+U.location.search&&(m=n.Replace);let y=a&&"preventScrollReset"in a?!0===a.preventScrollReset:void 0,g=!0===(a&&a.unstable_flushSync),b=Ye({currentLocation:c,nextLocation:d,historyAction:m});if(!b)return await ne(m,d,{submission:l,pendingError:u,preventScrollReset:y,replace:a&&a.replace,enableViewTransition:a&&a.unstable_viewTransition,flushSync:g});Ke(b,{state:"blocked",location:d,proceed(){Ke(b,{state:"proceeding",proceed:void 0,reset:void 0,location:d}),t(r,a)},reset(){let e=new Map(U.blockers);e.set(b,ce),te({blockers:e})}})},fetch:function(t,r,n,o){if(a)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");K.has(t)&&Pe(t);let i=!0===(o&&o.unstable_flushSync),l=s||c,u=me(U.location,U.matches,f,v.v7_prependBasename,n,v.v7_relativeSplatPath,r,null==o?void 0:o.relative),h=E(l,u,f);if(!h)return void be(t,r,Oe(404,{pathname:u}),{flushSync:i});let{path:p,submission:m,error:y}=ve(v.v7_normalizeFormMethod,!0,u,o);if(y)return void be(t,r,y,{flushSync:i});let g=qe(h,p);j=!0===(o&&o.preventScrollReset),m&&$e(m.formMethod)?async function(t,r,n,a,o,i,l){if(pe(),q.delete(t),!a.route.action&&!a.route.lazy){let e=Oe(405,{method:l.formMethod,pathname:n,routeId:r});return void be(t,r,e,{flushSync:i})}let u=U.fetchers.get(t);ye(t,function(e,t){let r={state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0};return r}(l,u),{flushSync:i});let h=new AbortController,p=Le(e.history,n,h.signal,l);K.set(t,h);let m=$,y=await oe("action",p,[a],o),g=y[0];if(p.signal.aborted)return void(K.get(t)===h&&K.delete(t));if(v.v7_fetcherPersist&&G.has(t)){if(He(g)||ze(g))return void ye(t,Ze(void 0))}else{if(He(g))return K.delete(t),J>m?void ye(t,Ze(void 0)):(Y.add(t),ye(t,Qe(l)),ae(p,g,{fetcherSubmission:l}));if(ze(g))return void be(t,r,g.error)}if(Ie(g))throw Oe(400,{type:"defer-action"});let b=U.navigation.location||U.location,w=Le(e.history,b,h.signal),S=s||c,R="idle"!==U.navigation.state?E(S,U.navigation.location,f):U.matches;d(R,"Didn't find any matches after fetcher action");let x=++$;V.set(t,x);let D=Qe(l,g.data);U.fetchers.set(t,D);let[C,L]=ge(e.history,U,R,l,b,!1,v.unstable_skipActionErrorRevalidation,z,H,W,G,q,Y,S,f,[a.route.id,g]);L.filter((e=>e.key!==t)).forEach((e=>{let t=e.key,r=U.fetchers.get(t),n=Qe(void 0,r?r.data:void 0);U.fetchers.set(t,n),K.has(t)&&Pe(t),e.controller&&K.set(t,e.controller)})),te({fetchers:new Map(U.fetchers)});let P=()=>L.forEach((e=>Pe(e.key)));h.signal.addEventListener("abort",P);let{loaderResults:_,fetcherResults:k}=await ie(U.matches,R,C,L,w);if(h.signal.aborted)return;h.signal.removeEventListener("abort",P),V.delete(t),K.delete(t),L.forEach((e=>K.delete(e.key)));let T=Fe([..._,...k]);if(T){if(T.idx>=C.length){let e=L[T.idx-C.length].key;Y.add(e)}return ae(w,T.result)}let{loaderData:j,errors:O}=Te(U,U.matches,C,_,void 0,L,k,Q);if(U.fetchers.has(t)){let e=Ze(g.data);U.fetchers.set(t,e)}Ne(x),"loading"===U.navigation.state&&x>J?(d(M,"Expected pending action"),A&&A.abort(),re(U.navigation.location,{matches:R,loaderData:j,errors:O,fetchers:new Map(U.fetchers)})):(te({errors:O,loaderData:Ae(U.loaderData,j,R,O),fetchers:new Map(U.fetchers)}),z=!1)}(t,r,p,g,h,i,m):(q.set(t,{routeId:r,path:p}),async function(t,r,n,a,o,i,s){let l=U.fetchers.get(t);ye(t,Qe(s,l?l.data:void 0),{flushSync:i});let u=new AbortController,c=Le(e.history,n,u.signal);K.set(t,u);let h=$,f=await oe("loader",c,[a],o),p=f[0];Ie(p)&&(p=await Ve(p,c.signal,!0)||p);K.get(t)===u&&K.delete(t);if(c.signal.aborted)return;if(G.has(t))return void ye(t,Ze(void 0));if(He(p))return J>h?void ye(t,Ze(void 0)):(Y.add(t),void await ae(c,p));if(ze(p))return void be(t,r,p.error);d(!Ie(p),"Unhandled fetcher deferred data"),ye(t,Ze(p.data))}(t,r,p,g,h,i,m))},revalidate:function(){pe(),te({revalidation:"loading"}),"submitting"!==U.navigation.state&&("idle"!==U.navigation.state?ne(M||U.historyAction,U.navigation.location,{overrideNavigation:U.navigation}):ne(U.historyAction,U.location,{startUninterruptedRevalidation:!0}))},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:we,deleteFetcher:function(e){if(v.v7_fetcherPersist){let t=(X.get(e)||0)-1;t<=0?(X.delete(e),G.add(e)):X.set(e,t)}else Ee(e);te({fetchers:new Map(U.fetchers)})},dispose:function(){y&&y(),B&&B(),b.clear(),A&&A.abort(),U.fetchers.forEach(((e,t)=>Ee(t))),U.blockers.forEach(((e,t)=>We(t)))},getBlocker:function(e,t){let r=U.blockers.get(e)||ce;return Z.get(e)!==t&&Z.set(e,t),r},deleteBlocker:We,_internalFetchControllers:K,_internalActiveDeferreds:Q,_internalSetRoutes:function(e){u={},s=w(e,o,void 0,u)}},_}Symbol("deferred");function me(e,t,r,n,a,o,i,s){let l,u;if(i){l=[];for(let e of t)if(l.push(e),e.route.id===i){u=e;break}}else l=t,u=t[t.length-1];let c=H(a||".",z(l,o),F(e.pathname,r)||e.pathname,"path"===s);return null==a&&(c.search=e.search,c.hash=e.hash),null!=a&&""!==a&&"."!==a||!u||!u.route.index||Ye(c.search)||(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),n&&"/"!==r&&(c.pathname="/"===c.pathname?r:W([r,c.pathname])),m(c)}function ve(e,t,r,n){if(!n||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(n))return{path:r};if(n.formMethod&&!Ke(n.formMethod))return{path:r,error:Oe(405,{method:n.formMethod})};let a,o,i=()=>({path:r,error:Oe(400,{type:"invalid-body"})}),s=n.formMethod||"get",l=e?s.toUpperCase():s.toLowerCase(),u=Ne(r);if(void 0!==n.body){if("text/plain"===n.formEncType){if(!$e(l))return i();let e="string"===typeof n.body?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce(((e,t)=>{let[r,n]=t;return""+e+r+"="+n+"\n"}),""):String(n.body);return{path:r,submission:{formMethod:l,formAction:u,formEncType:n.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===n.formEncType){if(!$e(l))return i();try{let e="string"===typeof n.body?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:l,formAction:u,formEncType:n.formEncType,formData:void 0,json:e,text:void 0}}}catch(f){return i()}}}if(d("function"===typeof FormData,"FormData is not available in this environment"),n.formData)a=Pe(n.formData),o=n.formData;else if(n.body instanceof FormData)a=Pe(n.body),o=n.body;else if(n.body instanceof URLSearchParams)a=n.body,o=_e(a);else if(null==n.body)a=new URLSearchParams,o=new FormData;else try{a=new URLSearchParams(n.body),o=_e(a)}catch(f){return i()}let c={formMethod:l,formAction:u,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:o,json:void 0,text:void 0};if($e(c.formMethod))return{path:r,submission:c};let h=v(r);return t&&h.search&&Ye(h.search)&&a.append("index",""),h.search="?"+a,{path:m(h),submission:c}}function ye(e,t){let r=e;if(t){let n=e.findIndex((e=>e.route.id===t));n>=0&&(r=e.slice(0,n))}return r}function ge(e,t,r,n,a,o,s,l,u,c,d,h,f,p,m,v){let y=v?ze(v[1])?v[1].error:v[1].data:void 0,g=e.createURL(t.location),b=e.createURL(a),w=v&&ze(v[1])?v[0]:void 0,S=w?ye(r,w):r,R=v?v[1].statusCode:void 0,x=s&&R&&R>=400,D=S.filter(((e,r)=>{let{route:a}=e;if(a.lazy)return!0;if(null==a.loader)return!1;if(o)return!("function"===typeof a.loader&&!a.loader.hydrate)||void 0===t.loaderData[a.id]&&(!t.errors||void 0===t.errors[a.id]);if(function(e,t,r){let n=!t||r.route.id!==t.route.id,a=void 0===e[r.route.id];return n||a}(t.loaderData,t.matches[r],e)||u.some((t=>t===e.route.id)))return!0;let s=t.matches[r],c=e;return we(e,i({currentUrl:g,currentParams:s.params,nextUrl:b,nextParams:c.params},n,{actionResult:y,unstable_actionStatus:R,defaultShouldRevalidate:!x&&(l||g.pathname+g.search===b.pathname+b.search||g.search!==b.search||be(s,c))}))})),C=[];return h.forEach(((e,a)=>{if(o||!r.some((t=>t.route.id===e.routeId))||d.has(a))return;let s=E(p,e.path,m);if(!s)return void C.push({key:a,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let u=t.fetchers.get(a),h=qe(s,e.path),v=!1;v=!f.has(a)&&(!!c.includes(a)||(u&&"idle"!==u.state&&void 0===u.data?l:we(h,i({currentUrl:g,currentParams:t.matches[t.matches.length-1].params,nextUrl:b,nextParams:r[r.length-1].params},n,{actionResult:y,unstable_actionStatus:R,defaultShouldRevalidate:!x&&l})))),v&&C.push({key:a,routeId:e.routeId,path:e.path,matches:s,match:h,controller:new AbortController})})),[D,C]}function be(e,t){let r=e.route.path;return e.pathname!==t.pathname||null!=r&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function we(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if("boolean"===typeof r)return r}return t.defaultShouldRevalidate}async function Ee(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let a=r[e.id];d(a,"No route found in manifest");let o={};for(let i in n){let e=void 0!==a[i]&&"hasErrorBoundary"!==i;h(!e,'Route "'+a.id+'" has a static property "'+i+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+i+'" will be ignored.'),e||b.has(i)||(o[i]=n[i])}Object.assign(a,o),Object.assign(a,i({},t(a),{lazy:void 0}))}function Se(e){return Promise.all(e.matches.map((e=>e.resolve())))}async function Re(e,t,r,n,a,o,s,l){let u=n.reduce(((e,t)=>e.add(t.route.id)),new Set),c=new Set,h=await e({matches:a.map((e=>{let n=u.has(e.route.id);return i({},e,{shouldLoad:n,resolve:a=>(c.add(e.route.id),n?async function(e,t,r,n,a,o,i){let s,l,u=n=>{let a,s=new Promise(((e,t)=>a=t));l=()=>a(),t.signal.addEventListener("abort",l);let u,c=a=>"function"!==typeof n?Promise.reject(new Error('You cannot call the handler for a route which defines a boolean "'+e+'" [routeId: '+r.route.id+"]")):n({request:t,params:r.params,context:i},...void 0!==a?[a]:[]);return u=o?o((e=>c(e))):(async()=>{try{return{type:"data",result:await c()}}catch(e){return{type:"error",result:e}}})(),Promise.race([u,s])};try{let o=r.route[e];if(r.route.lazy)if(o){let e,[t]=await Promise.all([u(o).catch((t=>{e=t})),Ee(r.route,a,n)]);if(void 0!==e)throw e;s=t}else{if(await Ee(r.route,a,n),o=r.route[e],!o){if("action"===e){let e=new URL(t.url),n=e.pathname+e.search;throw Oe(405,{method:t.method,pathname:n,routeId:r.route.id})}return{type:g.data,result:void 0}}s=await u(o)}else{if(!o){let e=new URL(t.url);throw Oe(404,{pathname:e.pathname+e.search})}s=await u(o)}d(void 0!==s.result,"You defined "+("action"===e?"an action":"a loader")+' for route "'+r.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`.")}catch(c){return{type:g.error,result:c}}finally{l&&t.signal.removeEventListener("abort",l)}return s}(t,r,e,o,s,a,l):Promise.resolve({type:g.data,result:void 0}))})})),request:r,params:a[0].params,context:l});return a.forEach((e=>d(c.has(e.route.id),'`match.resolve()` was not called for route id "'+e.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.'))),h.filter(((e,t)=>u.has(a[t].route.id)))}async function xe(e){let{result:t,type:r,status:n}=e;if(We(t)){let e;try{let r=t.headers.get("Content-Type");e=r&&/\bapplication\/json\b/.test(r)?null==t.body?null:await t.json():await t.text()}catch(i){return{type:g.error,error:i}}return r===g.error?{type:g.error,error:new ee(t.status,t.statusText,e),statusCode:t.status,headers:t.headers}:{type:g.data,data:e,statusCode:t.status,headers:t.headers}}return r===g.error?{type:g.error,error:t,statusCode:te(t)?t.status:n}:function(e){let t=e;return t&&"object"===typeof t&&"object"===typeof t.data&&"function"===typeof t.subscribe&&"function"===typeof t.cancel&&"function"===typeof t.resolveData}(t)?{type:g.deferred,deferredData:t,statusCode:null==(a=t.init)?void 0:a.status,headers:(null==(o=t.init)?void 0:o.headers)&&new Headers(t.init.headers)}:{type:g.data,data:t,statusCode:n};var a,o}function De(e,t,r,n,a,o){let i=e.headers.get("Location");if(d(i,"Redirects returned/thrown from loaders/actions must have a Location header"),!de.test(i)){let s=n.slice(0,n.findIndex((e=>e.route.id===r))+1);i=me(new URL(t.url),s,a,!0,i,o),e.headers.set("Location",i)}return e}function Ce(e,t,r){if(de.test(e)){let n=e,a=n.startsWith("//")?new URL(t.protocol+n):new URL(n),o=null!=F(a.pathname,r);if(a.origin===t.origin&&o)return a.pathname+a.search+a.hash}return e}function Le(e,t,r,n){let a=e.createURL(Ne(t)).toString(),o={signal:r};if(n&&$e(n.formMethod)){let{formMethod:e,formEncType:t}=n;o.method=e.toUpperCase(),"application/json"===t?(o.headers=new Headers({"Content-Type":t}),o.body=JSON.stringify(n.json)):"text/plain"===t?o.body=n.text:"application/x-www-form-urlencoded"===t&&n.formData?o.body=Pe(n.formData):o.body=n.formData}return new Request(a,o)}function Pe(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,"string"===typeof n?n:n.name);return t}function _e(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function ke(e,t,r,n,a,o){let i,s={},l=null,u=!1,c={},h=n&&ze(n[1])?n[1].error:void 0;return r.forEach(((r,n)=>{let f=t[n].route.id;if(d(!He(r),"Cannot handle redirect results in processLoaderData"),ze(r)){let t=r.error;if(void 0!==h&&(t=h,h=void 0),l=l||{},o)l[f]=t;else{let r=Me(e,f);null==l[r.route.id]&&(l[r.route.id]=t)}s[f]=void 0,u||(u=!0,i=te(r.error)?r.error.status:500),r.headers&&(c[f]=r.headers)}else Ie(r)?(a.set(f,r.deferredData),s[f]=r.deferredData.data,null==r.statusCode||200===r.statusCode||u||(i=r.statusCode),r.headers&&(c[f]=r.headers)):(s[f]=r.data,r.statusCode&&200!==r.statusCode&&!u&&(i=r.statusCode),r.headers&&(c[f]=r.headers))})),void 0!==h&&n&&(l={[n[0]]:h},s[n[0]]=void 0),{loaderData:s,errors:l,statusCode:i||200,loaderHeaders:c}}function Te(e,t,r,n,a,o,s,l){let{loaderData:u,errors:c}=ke(t,r,n,a,l,!1);for(let h=0;h<o.length;h++){let{key:t,match:r,controller:n}=o[h];d(void 0!==s&&void 0!==s[h],"Did not find corresponding fetcher result");let a=s[h];if(!n||!n.signal.aborted)if(ze(a)){let n=Me(e.matches,null==r?void 0:r.route.id);c&&c[n.route.id]||(c=i({},c,{[n.route.id]:a.error})),e.fetchers.delete(t)}else if(He(a))d(!1,"Unhandled fetcher revalidation redirect");else if(Ie(a))d(!1,"Unhandled fetcher deferred data");else{let r=Ze(a.data);e.fetchers.set(t,r)}}return{loaderData:u,errors:c}}function Ae(e,t,r,n){let a=i({},t);for(let o of r){let r=o.route.id;if(t.hasOwnProperty(r)?void 0!==t[r]&&(a[r]=t[r]):void 0!==e[r]&&o.route.loader&&(a[r]=e[r]),n&&n.hasOwnProperty(r))break}return a}function Ue(e){return e?ze(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function Me(e,t){return(t?e.slice(0,e.findIndex((e=>e.route.id===t))+1):[...e]).reverse().find((e=>!0===e.route.hasErrorBoundary))||e[0]}function je(e){let t=1===e.length?e[0]:e.find((e=>e.index||!e.path||"/"===e.path))||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Oe(e,t){let{pathname:r,routeId:n,method:a,type:o}=void 0===t?{}:t,i="Unknown Server Error",s="Unknown @remix-run/router error";return 400===e?(i="Bad Request",a&&r&&n?s="You made a "+a+' request to "'+r+'" but did not provide a `loader` for route "'+n+'", so there is no way to handle the request.':"defer-action"===o?s="defer() is not supported in actions":"invalid-body"===o&&(s="Unable to encode submission body")):403===e?(i="Forbidden",s='Route "'+n+'" does not match URL "'+r+'"'):404===e?(i="Not Found",s='No route matches URL "'+r+'"'):405===e&&(i="Method Not Allowed",a&&r&&n?s="You made a "+a.toUpperCase()+' request to "'+r+'" but did not provide an `action` for route "'+n+'", so there is no way to handle the request.':a&&(s='Invalid request method "'+a.toUpperCase()+'"')),new ee(e||500,i,new Error(s),!0)}function Fe(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(He(r))return{result:r,idx:t}}}function Ne(e){return m(i({},"string"===typeof e?v(e):e,{hash:""}))}function Be(e){return We(e.result)&&ie.has(e.result.status)}function Ie(e){return e.type===g.deferred}function ze(e){return e.type===g.error}function He(e){return(e&&e.type)===g.redirect}function We(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"object"===typeof e.headers&&"undefined"!==typeof e.body}function Ke(e){return oe.has(e.toLowerCase())}function $e(e){return ne.has(e.toLowerCase())}async function Je(e,t,r,n,a,o){for(let i=0;i<r.length;i++){let s=r[i],l=t[i];if(!l)continue;let u=e.find((e=>e.route.id===l.route.id)),c=null!=u&&!be(u,l)&&void 0!==(o&&o[l.route.id]);if(Ie(s)&&(a||c)){let e=n[i];d(e,"Expected an AbortSignal for revalidating fetcher deferred result"),await Ve(s,e,a).then((e=>{e&&(r[i]=e||r[i])}))}}}async function Ve(e,t,r){if(void 0===r&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:g.data,data:e.deferredData.unwrappedData}}catch(n){return{type:g.error,error:n}}return{type:g.data,data:e.deferredData.data}}}function Ye(e){return new URLSearchParams(e).getAll("index").some((e=>""===e))}function qe(e,t){let r="string"===typeof t?v(t).search:t.search;if(e[e.length-1].route.index&&Ye(r||""))return e[e.length-1];let n=I(e);return n[n.length-1]}function Xe(e){let{formMethod:t,formAction:r,formEncType:n,text:a,formData:o,json:i}=e;if(t&&r&&n)return null!=a?{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:a}:null!=o?{formMethod:t,formAction:r,formEncType:n,formData:o,json:void 0,text:void 0}:void 0!==i?{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:i,text:void 0}:void 0}function Ge(e,t){if(t){return{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}return{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Qe(e,t){if(e){return{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}}return{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function Ze(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function et(){return et=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},et.apply(this,arguments)}const tt=a.createContext(null);const rt=a.createContext(null);const nt=a.createContext(null);const at=a.createContext(null);const ot=a.createContext(null);const it=a.createContext({outlet:null,matches:[],isDataRoute:!1});const st=a.createContext(null);function lt(e,t){let{relative:r}=void 0===t?{}:t;ut()||d(!1);let{basename:n,navigator:o}=a.useContext(at),{hash:i,pathname:s,search:l}=bt(e,{relative:r}),u=s;return"/"!==n&&(u="/"===s?n:W([n,s])),o.createHref({pathname:u,search:l,hash:i})}function ut(){return null!=a.useContext(ot)}function ct(){return ut()||d(!1),a.useContext(ot).location}function dt(){return a.useContext(ot).navigationType}function ht(e){ut()||d(!1);let{pathname:t}=ct();return a.useMemo((()=>j(e,t)),[t,e])}function ft(e){a.useContext(at).static||a.useLayoutEffect(e)}function pt(){let{isDataRoute:e}=a.useContext(it);return e?function(){let{router:e}=Pt(Ct.UseNavigateStable),t=kt(Lt.UseNavigateStable),r=a.useRef(!1);return ft((()=>{r.current=!0})),a.useCallback((function(n,a){void 0===a&&(a={}),r.current&&("number"===typeof n?e.navigate(n):e.navigate(n,et({fromRouteId:t},a)))}),[e,t])}():function(){ut()||d(!1);let e=a.useContext(tt),{basename:t,future:r,navigator:n}=a.useContext(at),{matches:o}=a.useContext(it),{pathname:i}=ct(),s=JSON.stringify(z(o,r.v7_relativeSplatPath)),l=a.useRef(!1);return ft((()=>{l.current=!0})),a.useCallback((function(r,a){if(void 0===a&&(a={}),!l.current)return;if("number"===typeof r)return void n.go(r);let o=H(r,JSON.parse(s),i,"path"===a.relative);null==e&&"/"!==t&&(o.pathname="/"===o.pathname?t:W([t,o.pathname])),(a.replace?n.replace:n.push)(o,a.state,a)}),[t,n,s,i,e])}()}const mt=a.createContext(null);function vt(){return a.useContext(mt)}function yt(e){let t=a.useContext(it).outlet;return t?a.createElement(mt.Provider,{value:e},t):t}function gt(){let{matches:e}=a.useContext(it),t=e[e.length-1];return t?t.params:{}}function bt(e,t){let{relative:r}=void 0===t?{}:t,{future:n}=a.useContext(at),{matches:o}=a.useContext(it),{pathname:i}=ct(),s=JSON.stringify(z(o,n.v7_relativeSplatPath));return a.useMemo((()=>H(e,JSON.parse(s),i,"path"===r)),[e,s,i,r])}function wt(e,t){return Et(e,t)}function Et(e,t,r,o){ut()||d(!1);let{navigator:i}=a.useContext(at),{matches:s}=a.useContext(it),l=s[s.length-1],u=l?l.params:{},c=(l&&l.pathname,l?l.pathnameBase:"/");l&&l.route;let h,f=ct();if(t){var p;let e="string"===typeof t?v(t):t;"/"===c||(null==(p=e.pathname)?void 0:p.startsWith(c))||d(!1),h=e}else h=f;let m=h.pathname||"/",y=m;if("/"!==c){let e=c.replace(/^\//,"").split("/");y="/"+m.replace(/^\//,"").split("/").slice(e.length).join("/")}let g=E(e,{pathname:y});let b=Dt(g&&g.map((e=>Object.assign({},e,{params:Object.assign({},u,e.params),pathname:W([c,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?c:W([c,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),s,r,o);return t&&b?a.createElement(ot.Provider,{value:{location:et({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:n.Pop}},b):b}const St=a.createElement((function(){let e=Nt(),t=te(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:n};return a.createElement(a.Fragment,null,a.createElement("h2",null,"Unexpected Application Error!"),a.createElement("h3",{style:{fontStyle:"italic"}},t),r?a.createElement("pre",{style:o},r):null,null)}),null);class Rt extends a.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?a.createElement(it.Provider,{value:this.props.routeContext},a.createElement(st.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function xt(e){let{routeContext:t,match:r,children:n}=e,o=a.useContext(tt);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),a.createElement(it.Provider,{value:t},n)}function Dt(e,t,r,n){var o;if(void 0===t&&(t=[]),void 0===r&&(r=null),void 0===n&&(n=null),null==e){var i;if(null==(i=r)||!i.errors)return null;e=r.matches}let s=e,l=null==(o=r)?void 0:o.errors;if(null!=l){let e=s.findIndex((e=>e.route.id&&void 0!==(null==l?void 0:l[e.route.id])));e>=0||d(!1),s=s.slice(0,Math.min(s.length,e+1))}let u=!1,c=-1;if(r&&n&&n.v7_partialHydration)for(let a=0;a<s.length;a++){let e=s[a];if((e.route.HydrateFallback||e.route.hydrateFallbackElement)&&(c=a),e.route.id){let{loaderData:t,errors:n}=r,a=e.route.loader&&void 0===t[e.route.id]&&(!n||void 0===n[e.route.id]);if(e.route.lazy||a){u=!0,s=c>=0?s.slice(0,c+1):[s[0]];break}}}return s.reduceRight(((e,n,o)=>{let i,d=!1,h=null,f=null;var p;r&&(i=l&&n.route.id?l[n.route.id]:void 0,h=n.route.errorElement||St,u&&(c<0&&0===o?(p="route-fallback",!1||Wt[p]||(Wt[p]=!0),d=!0,f=null):c===o&&(d=!0,f=n.route.hydrateFallbackElement||null)));let m=t.concat(s.slice(0,o+1)),v=()=>{let t;return t=i?h:d?f:n.route.Component?a.createElement(n.route.Component,null):n.route.element?n.route.element:e,a.createElement(xt,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===o)?a.createElement(Rt,{location:r.location,revalidation:r.revalidation,component:h,error:i,children:v(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):v()}),null)}var Ct=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Ct||{}),Lt=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Lt||{});function Pt(e){let t=a.useContext(tt);return t||d(!1),t}function _t(e){let t=a.useContext(rt);return t||d(!1),t}function kt(e){let t=function(e){let t=a.useContext(it);return t||d(!1),t}(),r=t.matches[t.matches.length-1];return r.route.id||d(!1),r.route.id}function Tt(){return kt(Lt.UseRouteId)}function At(){return _t(Lt.UseNavigation).navigation}function Ut(){let e=Pt(Ct.UseRevalidator),t=_t(Lt.UseRevalidator);return a.useMemo((()=>({revalidate:e.router.revalidate,state:t.revalidation})),[e.router.revalidate,t.revalidation])}function Mt(){let{matches:e,loaderData:t}=_t(Lt.UseMatches);return a.useMemo((()=>e.map((e=>S(e,t)))),[e,t])}function jt(){let e=_t(Lt.UseLoaderData),t=kt(Lt.UseLoaderData);if(!e.errors||null==e.errors[t])return e.loaderData[t];console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")")}function Ot(e){return _t(Lt.UseRouteLoaderData).loaderData[e]}function Ft(){let e=_t(Lt.UseActionData),t=kt(Lt.UseLoaderData);return e.actionData?e.actionData[t]:void 0}function Nt(){var e;let t=a.useContext(st),r=_t(Lt.UseRouteError),n=kt(Lt.UseRouteError);return void 0!==t?t:null==(e=r.errors)?void 0:e[n]}function Bt(){let e=a.useContext(nt);return null==e?void 0:e._data}function It(){let e=a.useContext(nt);return null==e?void 0:e._error}let zt=0;function Ht(e){let{router:t,basename:r}=Pt(Ct.UseBlocker),n=_t(Lt.UseBlocker),[o,i]=a.useState(""),s=a.useCallback((t=>{if("function"!==typeof e)return!!e;if("/"===r)return e(t);let{currentLocation:n,nextLocation:a,historyAction:o}=t;return e({currentLocation:et({},n,{pathname:F(n.pathname,r)||n.pathname}),nextLocation:et({},a,{pathname:F(a.pathname,r)||a.pathname}),historyAction:o})}),[r,e]);return a.useEffect((()=>{let e=String(++zt);return i(e),()=>t.deleteBlocker(e)}),[t]),a.useEffect((()=>{""!==o&&t.getBlocker(o,s)}),[t,o,s]),o&&n.blockers.has(o)?n.blockers.get(o):ce}const Wt={};const Kt=a.startTransition;function $t(e){let{basename:t,children:r,initialEntries:n,initialIndex:o,future:i}=e,s=a.useRef();null==s.current&&(s.current=l({initialEntries:n,initialIndex:o,v5Compat:!0}));let u=s.current,[c,d]=a.useState({action:u.action,location:u.location}),{v7_startTransition:h}=i||{},f=a.useCallback((e=>{h&&Kt?Kt((()=>d(e))):d(e)}),[d,h]);return a.useLayoutEffect((()=>u.listen(f)),[u,f]),a.createElement(qt,{basename:t,children:r,location:c.location,navigationType:c.action,navigator:u,future:i})}function Jt(e){let{to:t,replace:r,state:n,relative:o}=e;ut()||d(!1);let{future:i,static:s}=a.useContext(at),{matches:l}=a.useContext(it),{pathname:u}=ct(),c=pt(),h=H(t,z(l,i.v7_relativeSplatPath),u,"path"===o),f=JSON.stringify(h);return a.useEffect((()=>c(JSON.parse(f),{replace:r,state:n,relative:o})),[c,f,o,r,n]),null}function Vt(e){return yt(e.context)}function Yt(e){d(!1)}function qt(e){let{basename:t="/",children:r=null,location:o,navigationType:i=n.Pop,navigator:s,static:l=!1,future:u}=e;ut()&&d(!1);let c=t.replace(/^\/*/,"/"),h=a.useMemo((()=>({basename:c,navigator:s,static:l,future:et({v7_relativeSplatPath:!1},u)})),[c,u,s,l]);"string"===typeof o&&(o=v(o));let{pathname:f="/",search:p="",hash:m="",state:y=null,key:g="default"}=o,b=a.useMemo((()=>{let e=F(f,c);return null==e?null:{location:{pathname:e,search:p,hash:m,state:y,key:g},navigationType:i}}),[c,f,p,m,y,g,i]);return null==b?null:a.createElement(at.Provider,{value:h},a.createElement(ot.Provider,{children:r,value:b}))}function Xt(e){let{children:t,location:r}=e;return wt(rr(t),r)}function Gt(e){let{children:t,errorElement:r,resolve:n}=e;return a.createElement(er,{resolve:n,errorElement:r},a.createElement(tr,null,t))}var Qt=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}(Qt||{});const Zt=new Promise((()=>{}));class er extends a.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error("<Await> caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:r}=this.props,n=null,o=Qt.pending;if(r instanceof Promise)if(this.state.error){o=Qt.error;let e=this.state.error;n=Promise.reject().catch((()=>{})),Object.defineProperty(n,"_tracked",{get:()=>!0}),Object.defineProperty(n,"_error",{get:()=>e})}else r._tracked?(n=r,o=void 0!==n._error?Qt.error:void 0!==n._data?Qt.success:Qt.pending):(o=Qt.pending,Object.defineProperty(r,"_tracked",{get:()=>!0}),n=r.then((e=>Object.defineProperty(r,"_data",{get:()=>e})),(e=>Object.defineProperty(r,"_error",{get:()=>e}))));else o=Qt.success,n=Promise.resolve(),Object.defineProperty(n,"_tracked",{get:()=>!0}),Object.defineProperty(n,"_data",{get:()=>r});if(o===Qt.error&&n._error instanceof Y)throw Zt;if(o===Qt.error&&!t)throw n._error;if(o===Qt.error)return a.createElement(nt.Provider,{value:n,children:t});if(o===Qt.success)return a.createElement(nt.Provider,{value:n,children:e});throw n}}function tr(e){let{children:t}=e,r=Bt(),n="function"===typeof t?t(r):t;return a.createElement(a.Fragment,null,n)}function rr(e,t){void 0===t&&(t=[]);let r=[];return a.Children.forEach(e,((e,n)=>{if(!a.isValidElement(e))return;let o=[...t,n];if(e.type===a.Fragment)return void r.push.apply(r,rr(e.props.children,o));e.type!==Yt&&d(!1),e.props.index&&e.props.children&&d(!1);let i={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=rr(e.props.children,o)),r.push(i)})),r}function nr(e){return Dt(e)}function ar(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:a.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:a.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:a.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}function or(e,t){return pe({basename:null==t?void 0:t.basename,future:et({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:l({initialEntries:null==t?void 0:t.initialEntries,initialIndex:null==t?void 0:t.initialIndex}),hydrationData:null==t?void 0:t.hydrationData,routes:e,mapRouteProperties:ar,unstable_dataStrategy:null==t?void 0:t.unstable_dataStrategy}).initialize()}function ir(){return ir=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ir.apply(this,arguments)}function sr(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}const lr="get",ur="application/x-www-form-urlencoded";function cr(e){return null!=e&&"string"===typeof e.tagName}function dr(e){return void 0===e&&(e=""),new URLSearchParams("string"===typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map((e=>[r,e])):[[r,n]])}),[]))}let hr=null;const fr=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function pr(e){return null==e||fr.has(e)?e:null}function mr(e,t){let r,n,a,o,i;if(cr(s=e)&&"form"===s.tagName.toLowerCase()){let i=e.getAttribute("action");n=i?F(i,t):null,r=e.getAttribute("method")||lr,a=pr(e.getAttribute("enctype"))||ur,o=new FormData(e)}else if(function(e){return cr(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return cr(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let s=e.getAttribute("formaction")||i.getAttribute("action");if(n=s?F(s,t):null,r=e.getAttribute("formmethod")||i.getAttribute("method")||lr,a=pr(e.getAttribute("formenctype"))||pr(i.getAttribute("enctype"))||ur,o=new FormData(i,e),!function(){if(null===hr)try{new FormData(document.createElement("form"),0),hr=!1}catch(e){hr=!0}return hr}()){let{name:t,type:r,value:n}=e;if("image"===r){let e=t?t+".":"";o.append(e+"x","0"),o.append(e+"y","0")}else t&&o.append(t,n)}}else{if(cr(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=lr,n=null,a=ur,i=e}var s;return o&&"text/plain"===a&&(i=o,o=void 0),{action:n,method:r.toLowerCase(),encType:a,formData:o,body:i}}const vr=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],yr=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],gr=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","unstable_viewTransition"];try{window.__reactRouterVersion="6"}catch(on){}function br(e,t){return pe({basename:null==t?void 0:t.basename,future:ir({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:u({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||Er(),routes:e,mapRouteProperties:ar,unstable_dataStrategy:null==t?void 0:t.unstable_dataStrategy,window:null==t?void 0:t.window}).initialize()}function wr(e,t){return pe({basename:null==t?void 0:t.basename,future:ir({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:c({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||Er(),routes:e,mapRouteProperties:ar,unstable_dataStrategy:null==t?void 0:t.unstable_dataStrategy,window:null==t?void 0:t.window}).initialize()}function Er(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=ir({},t,{errors:Sr(t.errors)})),t}function Sr(e){if(!e)return null;let t=Object.entries(e),r={};for(let[n,a]of t)if(a&&"RouteErrorResponse"===a.__type)r[n]=new ee(a.status,a.statusText,a.data,!0===a.internal);else if(a&&"Error"===a.__type){if(a.__subType){let e=window[a.__subType];if("function"===typeof e)try{let t=new e(a.message);t.stack="",r[n]=t}catch(on){}}if(null==r[n]){let e=new Error(a.message);e.stack="",r[n]=e}}else r[n]=a;return r}const Rr=a.createContext({isTransitioning:!1});const xr=a.createContext(new Map);const Dr=a.startTransition,Cr=o.flushSync,Lr=a.useId;function Pr(e){Cr?Cr(e):e()}class _r{constructor(){this.status="pending",this.promise=new Promise(((e,t)=>{this.resolve=t=>{"pending"===this.status&&(this.status="resolved",e(t))},this.reject=e=>{"pending"===this.status&&(this.status="rejected",t(e))}}))}}function kr(e){let{fallbackElement:t,router:r,future:n}=e,[o,i]=a.useState(r.state),[s,l]=a.useState(),[u,c]=a.useState({isTransitioning:!1}),[d,h]=a.useState(),[f,p]=a.useState(),[m,v]=a.useState(),y=a.useRef(new Map),{v7_startTransition:g}=n||{},b=a.useCallback((e=>{g?function(e){Dr?Dr(e):e()}(e):e()}),[g]),w=a.useCallback(((e,t)=>{let{deletedFetchers:n,unstable_flushSync:a,unstable_viewTransitionOpts:o}=t;n.forEach((e=>y.current.delete(e))),e.fetchers.forEach(((e,t)=>{void 0!==e.data&&y.current.set(t,e.data)}));let s=null==r.window||"function"!==typeof r.window.document.startViewTransition;if(o&&!s){if(a){Pr((()=>{f&&(d&&d.resolve(),f.skipTransition()),c({isTransitioning:!0,flushSync:!0,currentLocation:o.currentLocation,nextLocation:o.nextLocation})}));let t=r.window.document.startViewTransition((()=>{Pr((()=>i(e)))}));return t.finished.finally((()=>{Pr((()=>{h(void 0),p(void 0),l(void 0),c({isTransitioning:!1})}))})),void Pr((()=>p(t)))}f?(d&&d.resolve(),f.skipTransition(),v({state:e,currentLocation:o.currentLocation,nextLocation:o.nextLocation})):(l(e),c({isTransitioning:!0,flushSync:!1,currentLocation:o.currentLocation,nextLocation:o.nextLocation}))}else a?Pr((()=>i(e))):b((()=>i(e)))}),[r.window,f,d,y,b]);a.useLayoutEffect((()=>r.subscribe(w)),[r,w]),a.useEffect((()=>{u.isTransitioning&&!u.flushSync&&h(new _r)}),[u]),a.useEffect((()=>{if(d&&s&&r.window){let e=s,t=d.promise,n=r.window.document.startViewTransition((async()=>{b((()=>i(e))),await t}));n.finished.finally((()=>{h(void 0),p(void 0),l(void 0),c({isTransitioning:!1})})),p(n)}}),[b,s,d,r.window]),a.useEffect((()=>{d&&s&&o.location.key===s.location.key&&d.resolve()}),[d,f,o.location,s]),a.useEffect((()=>{!u.isTransitioning&&m&&(l(m.state),c({isTransitioning:!0,flushSync:!1,currentLocation:m.currentLocation,nextLocation:m.nextLocation}),v(void 0))}),[u.isTransitioning,m]),a.useEffect((()=>{}),[]);let E=a.useMemo((()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:e=>r.navigate(e),push:(e,t,n)=>r.navigate(e,{state:t,preventScrollReset:null==n?void 0:n.preventScrollReset}),replace:(e,t,n)=>r.navigate(e,{replace:!0,state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})})),[r]),S=r.basename||"/",R=a.useMemo((()=>({router:r,navigator:E,static:!1,basename:S})),[r,E,S]);return a.createElement(a.Fragment,null,a.createElement(tt.Provider,{value:R},a.createElement(rt.Provider,{value:o},a.createElement(xr.Provider,{value:y.current},a.createElement(Rr.Provider,{value:u},a.createElement(qt,{basename:S,location:o.location,navigationType:o.historyAction,navigator:E,future:{v7_relativeSplatPath:r.future.v7_relativeSplatPath}},o.initialized||r.future.v7_partialHydration?a.createElement(Tr,{routes:r.routes,future:r.future,state:o}):t))))),null)}function Tr(e){let{routes:t,future:r,state:n}=e;return Et(t,void 0,n,r)}function Ar(e){let{basename:t,children:r,future:n,window:o}=e,i=a.useRef();null==i.current&&(i.current=u({window:o,v5Compat:!0}));let s=i.current,[l,c]=a.useState({action:s.action,location:s.location}),{v7_startTransition:d}=n||{},h=a.useCallback((e=>{d&&Dr?Dr((()=>c(e))):c(e)}),[c,d]);return a.useLayoutEffect((()=>s.listen(h)),[s,h]),a.createElement(qt,{basename:t,children:r,location:l.location,navigationType:l.action,navigator:s,future:n})}function Ur(e){let{basename:t,children:r,future:n,window:o}=e,i=a.useRef();null==i.current&&(i.current=c({window:o,v5Compat:!0}));let s=i.current,[l,u]=a.useState({action:s.action,location:s.location}),{v7_startTransition:d}=n||{},h=a.useCallback((e=>{d&&Dr?Dr((()=>u(e))):u(e)}),[u,d]);return a.useLayoutEffect((()=>s.listen(h)),[s,h]),a.createElement(qt,{basename:t,children:r,location:l.location,navigationType:l.action,navigator:s,future:n})}function Mr(e){let{basename:t,children:r,future:n,history:o}=e,[i,s]=a.useState({action:o.action,location:o.location}),{v7_startTransition:l}=n||{},u=a.useCallback((e=>{l&&Dr?Dr((()=>s(e))):s(e)}),[s,l]);return a.useLayoutEffect((()=>o.listen(u)),[o,u]),a.createElement(qt,{basename:t,children:r,location:i.location,navigationType:i.action,navigator:o,future:n})}const jr="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,Or=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Fr=a.forwardRef((function(e,t){let r,{onClick:n,relative:o,reloadDocument:i,replace:s,state:l,target:u,to:c,preventScrollReset:d,unstable_viewTransition:h}=e,f=sr(e,vr),{basename:p}=a.useContext(at),m=!1;if("string"===typeof c&&Or.test(c)&&(r=c,jr))try{let e=new URL(window.location.href),t=c.startsWith("//")?new URL(e.protocol+c):new URL(c),r=F(t.pathname,p);t.origin===e.origin&&null!=r?c=r+t.search+t.hash:m=!0}catch(on){}let v=lt(c,{relative:o}),y=$r(c,{replace:s,state:l,target:u,preventScrollReset:d,relative:o,unstable_viewTransition:h});return a.createElement("a",ir({},f,{href:r||v,onClick:m||i?n:function(e){n&&n(e),e.defaultPrevented||y(e)},ref:t,target:u}))}));const Nr=a.forwardRef((function(e,t){let{"aria-current":r="page",caseSensitive:n=!1,className:o="",end:i=!1,style:s,to:l,unstable_viewTransition:u,children:c}=e,d=sr(e,yr),h=bt(l,{relative:d.relative}),f=ct(),p=a.useContext(rt),{navigator:m,basename:v}=a.useContext(at),y=null!=p&&an(h)&&!0===u,g=m.encodeLocation?m.encodeLocation(h).pathname:h.pathname,b=f.pathname,w=p&&p.navigation&&p.navigation.location?p.navigation.location.pathname:null;n||(b=b.toLowerCase(),w=w?w.toLowerCase():null,g=g.toLowerCase()),w&&v&&(w=F(w,v)||w);const E="/"!==g&&g.endsWith("/")?g.length-1:g.length;let S,R=b===g||!i&&b.startsWith(g)&&"/"===b.charAt(E),x=null!=w&&(w===g||!i&&w.startsWith(g)&&"/"===w.charAt(g.length)),D={isActive:R,isPending:x,isTransitioning:y},C=R?r:void 0;S="function"===typeof o?o(D):[o,R?"active":null,x?"pending":null,y?"transitioning":null].filter(Boolean).join(" ");let L="function"===typeof s?s(D):s;return a.createElement(Fr,ir({},d,{"aria-current":C,className:S,ref:t,style:L,to:l,unstable_viewTransition:u}),"function"===typeof c?c(D):c)}));const Br=a.forwardRef(((e,t)=>{let{fetcherKey:r,navigate:n,reloadDocument:o,replace:i,state:s,method:l=lr,action:u,onSubmit:c,relative:d,preventScrollReset:h,unstable_viewTransition:f}=e,p=sr(e,gr),m=qr(),v=Xr(u,{relative:d}),y="get"===l.toLowerCase()?"get":"post";return a.createElement("form",ir({ref:t,method:y,action:v,onSubmit:o?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let t=e.nativeEvent.submitter,a=(null==t?void 0:t.getAttribute("formmethod"))||l;m(t||e.currentTarget,{fetcherKey:r,method:a,navigate:n,replace:i,state:s,relative:d,preventScrollReset:h,unstable_viewTransition:f})}},p))}));function Ir(e){let{getKey:t,storageKey:r}=e;return tn({getKey:t,storageKey:r}),null}var zr,Hr;function Wr(e){let t=a.useContext(tt);return t||d(!1),t}function Kr(e){let t=a.useContext(rt);return t||d(!1),t}function $r(e,t){let{target:r,replace:n,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:l}=void 0===t?{}:t,u=pt(),c=ct(),d=bt(e,{relative:s});return a.useCallback((t=>{if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,r)){t.preventDefault();let r=void 0!==n?n:m(c)===m(d);u(e,{replace:r,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:l})}}),[c,u,d,n,o,r,e,i,s,l])}function Jr(e){let t=a.useRef(dr(e)),r=a.useRef(!1),n=ct(),o=a.useMemo((()=>function(e,t){let r=dr(e);return t&&t.forEach(((e,n)=>{r.has(n)||t.getAll(n).forEach((e=>{r.append(n,e)}))})),r}(n.search,r.current?null:t.current)),[n.search]),i=pt(),s=a.useCallback(((e,t)=>{const n=dr("function"===typeof e?e(o):e);r.current=!0,i("?"+n,t)}),[i,o]);return[o,s]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(zr||(zr={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Hr||(Hr={}));let Vr=0,Yr=()=>"__"+String(++Vr)+"__";function qr(){let{router:e}=Wr(zr.UseSubmit),{basename:t}=a.useContext(at),r=Tt();return a.useCallback((function(n,a){void 0===a&&(a={}),function(){if("undefined"===typeof document)throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}();let{action:o,method:i,encType:s,formData:l,body:u}=mr(n,t);if(!1===a.navigate){let t=a.fetcherKey||Yr();e.fetch(t,r,a.action||o,{preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||i,formEncType:a.encType||s,unstable_flushSync:a.unstable_flushSync})}else e.navigate(a.action||o,{preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||i,formEncType:a.encType||s,replace:a.replace,state:a.state,fromRouteId:r,unstable_flushSync:a.unstable_flushSync,unstable_viewTransition:a.unstable_viewTransition})}),[e,t,r])}function Xr(e,t){let{relative:r}=void 0===t?{}:t,{basename:n}=a.useContext(at),o=a.useContext(it);o||d(!1);let[i]=o.matches.slice(-1),s=ir({},bt(e||".",{relative:r})),l=ct();if(null==e){s.search=l.search;let e=new URLSearchParams(s.search);e.has("index")&&""===e.get("index")&&(e.delete("index"),s.search=e.toString()?"?"+e.toString():"")}return e&&"."!==e||!i.route.index||(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),"/"!==n&&(s.pathname="/"===s.pathname?n:W([n,s.pathname])),m(s)}function Gr(e){var t;let{key:r}=void 0===e?{}:e,{router:n}=Wr(zr.UseFetcher),o=Kr(Hr.UseFetcher),i=a.useContext(xr),s=a.useContext(it),l=null==(t=s.matches[s.matches.length-1])?void 0:t.route.id;i||d(!1),s||d(!1),null==l&&d(!1);let u=Lr?Lr():"",[c,h]=a.useState(r||u);r&&r!==c?h(r):c||h(Yr()),a.useEffect((()=>(n.getFetcher(c),()=>{n.deleteFetcher(c)})),[n,c]);let f=a.useCallback(((e,t)=>{l||d(!1),n.fetch(c,l,e,t)}),[c,l,n]),p=qr(),m=a.useCallback(((e,t)=>{p(e,ir({},t,{navigate:!1,fetcherKey:c}))}),[c,p]),v=a.useMemo((()=>a.forwardRef(((e,t)=>a.createElement(Br,ir({},e,{navigate:!1,fetcherKey:c,ref:t}))))),[c]),y=o.fetchers.get(c)||ue,g=i.get(c);return a.useMemo((()=>ir({Form:v,submit:m,load:f},y,{data:g})),[v,m,f,y,g])}function Qr(){let e=Kr(Hr.UseFetchers);return Array.from(e.fetchers.entries()).map((e=>{let[t,r]=e;return ir({},r,{key:t})}))}const Zr="react-router-scroll-positions";let en={};function tn(e){let{getKey:t,storageKey:r}=void 0===e?{}:e,{router:n}=Wr(zr.UseScrollRestoration),{restoreScrollPosition:o,preventScrollReset:i}=Kr(Hr.UseScrollRestoration),{basename:s}=a.useContext(at),l=ct(),u=Mt(),c=At();a.useEffect((()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"})),[]),function(e,t){let{capture:r}=t||{};a.useEffect((()=>{let t=null!=r?{capture:r}:void 0;return window.addEventListener("pagehide",e,t),()=>{window.removeEventListener("pagehide",e,t)}}),[e,r])}(a.useCallback((()=>{if("idle"===c.state){let e=(t?t(l,u):null)||l.key;en[e]=window.scrollY}try{sessionStorage.setItem(r||Zr,JSON.stringify(en))}catch(e){}window.history.scrollRestoration="auto"}),[r,t,c.state,l,u])),"undefined"!==typeof document&&(a.useLayoutEffect((()=>{try{let e=sessionStorage.getItem(r||Zr);e&&(en=JSON.parse(e))}catch(on){}}),[r]),a.useLayoutEffect((()=>{let e=t&&"/"!==s?(e,r)=>t(ir({},e,{pathname:F(e.pathname,s)||e.pathname}),r):t,r=null==n?void 0:n.enableScrollRestoration(en,(()=>window.scrollY),e);return()=>r&&r()}),[n,s,t]),a.useLayoutEffect((()=>{if(!1!==o)if("number"!==typeof o){if(l.hash){let e=document.getElementById(decodeURIComponent(l.hash.slice(1)));if(e)return void e.scrollIntoView()}!0!==i&&window.scrollTo(0,0)}else window.scrollTo(0,o)}),[l,o,i]))}function rn(e,t){let{capture:r}=t||{};a.useEffect((()=>{let t=null!=r?{capture:r}:void 0;return window.addEventListener("beforeunload",e,t),()=>{window.removeEventListener("beforeunload",e,t)}}),[e,r])}function nn(e){let{when:t,message:r}=e,n=Ht(t);a.useEffect((()=>{if("blocked"===n.state){window.confirm(r)?setTimeout(n.proceed,0):n.reset()}}),[n,r]),a.useEffect((()=>{"blocked"!==n.state||t||n.reset()}),[n,t])}function an(e,t){void 0===t&&(t={});let r=a.useContext(Rr);null==r&&d(!1);let{basename:n}=Wr(zr.useViewTransitionState),o=bt(e,{relative:t.relative});if(!r.isTransitioning)return!1;let i=F(r.currentLocation.pathname,n)||r.currentLocation.pathname,s=F(r.nextLocation.pathname,n)||r.nextLocation.pathname;return null!=j(o.pathname,s)||null!=j(o.pathname,i)}}}]);
3
+ //# sourceMappingURL=3245.dbe5ca27.chunk.js.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/router v1.15.3
2
+ * @remix-run/router v1.16.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -10,7 +10,7 @@
10
10
  */
11
11
 
12
12
  /**
13
- * React Router DOM v6.22.3
13
+ * React Router DOM v6.23.0
14
14
  *
15
15
  * Copyright (c) Remix Software Inc.
16
16
  *
@@ -21,7 +21,7 @@
21
21
  */
22
22
 
23
23
  /**
24
- * React Router v6.22.3
24
+ * React Router v6.23.0
25
25
  *
26
26
  * Copyright (c) Remix Software Inc.
27
27
  *