lkd-web-kit 0.0.8 → 0.0.10

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 (361) hide show
  1. package/dist/_virtual/_commonjsHelpers.cjs +1 -0
  2. package/dist/_virtual/_commonjsHelpers.js +6 -1
  3. package/dist/_virtual/_interop_require_default.cjs +1 -0
  4. package/dist/_virtual/_interop_require_default.js +4 -1
  5. package/dist/_virtual/_interop_require_wildcard.cjs +1 -0
  6. package/dist/_virtual/_interop_require_wildcard.js +4 -1
  7. package/dist/_virtual/action-async-storage-instance.cjs +1 -0
  8. package/dist/_virtual/action-async-storage-instance.js +4 -1
  9. package/dist/_virtual/action-async-storage.external.cjs +1 -0
  10. package/dist/_virtual/action-async-storage.external.js +4 -1
  11. package/dist/_virtual/add-base-path.cjs +1 -0
  12. package/dist/_virtual/add-base-path.js +4 -1
  13. package/dist/_virtual/add-locale.cjs +1 -0
  14. package/dist/_virtual/add-locale.js +4 -1
  15. package/dist/_virtual/add-locale2.cjs +1 -0
  16. package/dist/_virtual/add-locale2.js +4 -1
  17. package/dist/_virtual/add-path-prefix.cjs +1 -0
  18. package/dist/_virtual/add-path-prefix.js +4 -1
  19. package/dist/_virtual/app-paths.cjs +1 -0
  20. package/dist/_virtual/app-paths.js +4 -1
  21. package/dist/_virtual/app-router-context.shared-runtime.cjs +1 -0
  22. package/dist/_virtual/app-router-context.shared-runtime.js +4 -1
  23. package/dist/_virtual/app-router-headers.cjs +1 -0
  24. package/dist/_virtual/app-router-headers.js +4 -1
  25. package/dist/_virtual/async-local-storage.cjs +1 -0
  26. package/dist/_virtual/async-local-storage.js +4 -1
  27. package/dist/_virtual/bailout-to-client-rendering.cjs +1 -0
  28. package/dist/_virtual/bailout-to-client-rendering.js +4 -1
  29. package/dist/_virtual/bailout-to-csr.cjs +1 -0
  30. package/dist/_virtual/bailout-to-csr.js +4 -1
  31. package/dist/_virtual/constants.cjs +1 -0
  32. package/dist/_virtual/constants.js +4 -1
  33. package/dist/_virtual/detect-domain-locale.cjs +1 -0
  34. package/dist/_virtual/detect-domain-locale.js +4 -1
  35. package/dist/_virtual/detect-domain-locale2.cjs +1 -0
  36. package/dist/_virtual/detect-domain-locale2.js +4 -1
  37. package/dist/_virtual/dynamic-rendering-utils.cjs +1 -0
  38. package/dist/_virtual/dynamic-rendering-utils.js +4 -1
  39. package/dist/_virtual/dynamic-rendering.cjs +1 -0
  40. package/dist/_virtual/dynamic-rendering.js +4 -1
  41. package/dist/_virtual/ensure-leading-slash.cjs +1 -0
  42. package/dist/_virtual/ensure-leading-slash.js +4 -1
  43. package/dist/_virtual/error-once.cjs +1 -0
  44. package/dist/_virtual/error-once.js +4 -1
  45. package/dist/_virtual/escape-regexp.cjs +1 -0
  46. package/dist/_virtual/escape-regexp.js +4 -1
  47. package/dist/_virtual/forbidden.cjs +1 -0
  48. package/dist/_virtual/forbidden.js +4 -1
  49. package/dist/_virtual/format-url.cjs +1 -0
  50. package/dist/_virtual/format-url.js +4 -1
  51. package/dist/_virtual/get-domain-locale.cjs +1 -0
  52. package/dist/_virtual/get-domain-locale.js +4 -1
  53. package/dist/_virtual/get-segment-value.cjs +1 -0
  54. package/dist/_virtual/get-segment-value.js +4 -1
  55. package/dist/_virtual/has-base-path.cjs +1 -0
  56. package/dist/_virtual/has-base-path.js +4 -1
  57. package/dist/_virtual/hooks-client-context.shared-runtime.cjs +1 -0
  58. package/dist/_virtual/hooks-client-context.shared-runtime.js +4 -1
  59. package/dist/_virtual/hooks-server-context.cjs +1 -0
  60. package/dist/_virtual/hooks-server-context.js +4 -1
  61. package/dist/_virtual/http-access-fallback.cjs +1 -0
  62. package/dist/_virtual/http-access-fallback.js +4 -1
  63. package/dist/_virtual/index.cjs +1 -0
  64. package/dist/_virtual/index.js +4 -1
  65. package/dist/_virtual/interception-routes.cjs +1 -0
  66. package/dist/_virtual/interception-routes.js +4 -1
  67. package/dist/_virtual/interpolate-as.cjs +1 -0
  68. package/dist/_virtual/interpolate-as.js +4 -1
  69. package/dist/_virtual/is-dynamic.cjs +1 -0
  70. package/dist/_virtual/is-dynamic.js +4 -1
  71. package/dist/_virtual/is-local-url.cjs +1 -0
  72. package/dist/_virtual/is-local-url.js +4 -1
  73. package/dist/_virtual/is-next-router-error.cjs +1 -0
  74. package/dist/_virtual/is-next-router-error.js +4 -1
  75. package/dist/_virtual/is-postpone.cjs +1 -0
  76. package/dist/_virtual/is-postpone.js +4 -1
  77. package/dist/_virtual/link.cjs +1 -0
  78. package/dist/_virtual/link.js +7 -1
  79. package/dist/_virtual/link2.cjs +1 -0
  80. package/dist/_virtual/link2.js +4 -1
  81. package/dist/_virtual/metadata-constants.cjs +1 -0
  82. package/dist/_virtual/metadata-constants.js +4 -1
  83. package/dist/_virtual/navigation.cjs +1 -0
  84. package/dist/_virtual/navigation.js +5 -1
  85. package/dist/_virtual/navigation.react-server.cjs +1 -0
  86. package/dist/_virtual/navigation.react-server.js +4 -1
  87. package/dist/_virtual/navigation2.cjs +1 -0
  88. package/dist/_virtual/navigation2.js +4 -1
  89. package/dist/_virtual/normalize-locale-path.cjs +1 -0
  90. package/dist/_virtual/normalize-locale-path.js +4 -1
  91. package/dist/_virtual/normalize-locale-path2.cjs +1 -0
  92. package/dist/_virtual/normalize-locale-path2.js +4 -1
  93. package/dist/_virtual/normalize-trailing-slash.cjs +1 -0
  94. package/dist/_virtual/normalize-trailing-slash.js +4 -1
  95. package/dist/_virtual/not-found.cjs +1 -0
  96. package/dist/_virtual/not-found.js +4 -1
  97. package/dist/_virtual/omit.cjs +1 -0
  98. package/dist/_virtual/omit.js +4 -1
  99. package/dist/_virtual/parse-path.cjs +1 -0
  100. package/dist/_virtual/parse-path.js +4 -1
  101. package/dist/_virtual/path-has-prefix.cjs +1 -0
  102. package/dist/_virtual/path-has-prefix.js +4 -1
  103. package/dist/_virtual/querystring.cjs +1 -0
  104. package/dist/_virtual/querystring.js +4 -1
  105. package/dist/_virtual/redirect-error.cjs +1 -0
  106. package/dist/_virtual/redirect-error.js +4 -1
  107. package/dist/_virtual/redirect-status-code.cjs +1 -0
  108. package/dist/_virtual/redirect-status-code.js +4 -1
  109. package/dist/_virtual/redirect.cjs +1 -0
  110. package/dist/_virtual/redirect.js +4 -1
  111. package/dist/_virtual/remove-trailing-slash.cjs +1 -0
  112. package/dist/_virtual/remove-trailing-slash.js +4 -1
  113. package/dist/_virtual/request-idle-callback.cjs +1 -0
  114. package/dist/_virtual/request-idle-callback.js +4 -1
  115. package/dist/_virtual/resolve-href.cjs +1 -0
  116. package/dist/_virtual/resolve-href.js +4 -1
  117. package/dist/_virtual/route-matcher.cjs +1 -0
  118. package/dist/_virtual/route-matcher.js +4 -1
  119. package/dist/_virtual/route-regex.cjs +1 -0
  120. package/dist/_virtual/route-regex.js +4 -1
  121. package/dist/_virtual/router-context.shared-runtime.cjs +1 -0
  122. package/dist/_virtual/router-context.shared-runtime.js +4 -1
  123. package/dist/_virtual/scheduler.cjs +1 -0
  124. package/dist/_virtual/scheduler.js +4 -1
  125. package/dist/_virtual/segment.cjs +1 -0
  126. package/dist/_virtual/segment.js +4 -1
  127. package/dist/_virtual/server-inserted-html.shared-runtime.cjs +1 -0
  128. package/dist/_virtual/server-inserted-html.shared-runtime.js +4 -1
  129. package/dist/_virtual/sorted-routes.cjs +1 -0
  130. package/dist/_virtual/sorted-routes.js +4 -1
  131. package/dist/_virtual/static-generation-bailout.cjs +1 -0
  132. package/dist/_virtual/static-generation-bailout.js +4 -1
  133. package/dist/_virtual/unauthorized.cjs +1 -0
  134. package/dist/_virtual/unauthorized.js +4 -1
  135. package/dist/_virtual/unstable-rethrow.browser.cjs +1 -0
  136. package/dist/_virtual/unstable-rethrow.browser.js +4 -1
  137. package/dist/_virtual/unstable-rethrow.cjs +1 -0
  138. package/dist/_virtual/unstable-rethrow.js +4 -1
  139. package/dist/_virtual/unstable-rethrow.server.cjs +1 -0
  140. package/dist/_virtual/unstable-rethrow.server.js +4 -1
  141. package/dist/_virtual/use-intersection.cjs +1 -0
  142. package/dist/_virtual/use-intersection.js +4 -1
  143. package/dist/_virtual/use-merged-ref.cjs +1 -0
  144. package/dist/_virtual/use-merged-ref.js +4 -1
  145. package/dist/_virtual/utils.cjs +1 -0
  146. package/dist/_virtual/utils.js +4 -1
  147. package/dist/_virtual/work-async-storage-instance.cjs +1 -0
  148. package/dist/_virtual/work-async-storage-instance.js +4 -1
  149. package/dist/_virtual/work-async-storage.external.cjs +1 -0
  150. package/dist/_virtual/work-async-storage.external.js +4 -1
  151. package/dist/_virtual/work-unit-async-storage-instance.cjs +1 -0
  152. package/dist/_virtual/work-unit-async-storage-instance.js +4 -1
  153. package/dist/_virtual/work-unit-async-storage.external.cjs +1 -0
  154. package/dist/_virtual/work-unit-async-storage.external.js +4 -1
  155. package/dist/components/EmptyState/index.cjs +1 -0
  156. package/dist/components/EmptyState/index.js +36 -1
  157. package/dist/components/Icon.cjs +1 -0
  158. package/dist/components/Icon.js +54 -1
  159. package/dist/components/InfinityLoader/index.cjs +1 -0
  160. package/dist/components/InfinityLoader/index.js +6 -1
  161. package/dist/components/NavItems.cjs +1 -0
  162. package/dist/components/NavItems.js +36 -1
  163. package/dist/components/SelectInfinity/index.cjs +1 -0
  164. package/dist/components/SelectInfinity/index.js +106 -1
  165. package/dist/consts/http-status.cjs +1 -0
  166. package/dist/consts/http-status.js +4 -1
  167. package/dist/consts/revalidate.cjs +1 -0
  168. package/dist/consts/revalidate.js +4 -1
  169. package/dist/contexts/NavigationHistoryContext/index.cjs +1 -0
  170. package/dist/contexts/NavigationHistoryContext/index.js +47 -1
  171. package/dist/contexts/PageDataContext/index.cjs +1 -0
  172. package/dist/contexts/PageDataContext/index.js +15 -1
  173. package/dist/form/Form.cjs +1 -0
  174. package/dist/form/Form.js +21 -1
  175. package/dist/form/FormButtonSubmit.cjs +1 -0
  176. package/dist/form/FormButtonSubmit.js +18 -1
  177. package/dist/form/utils/nullableInput.cjs +1 -0
  178. package/dist/form/utils/nullableInput.js +9 -1
  179. package/dist/form/utils/zodValidator.cjs +1 -0
  180. package/dist/form/utils/zodValidator.js +9 -1
  181. package/dist/hocs/withForm.cjs +1 -0
  182. package/dist/hocs/withForm.js +47 -1
  183. package/dist/hocs/withModalManager.cjs +1 -0
  184. package/dist/hocs/withModalManager.js +28 -1
  185. package/dist/hooks/useFetchNextPageOnScroll.cjs +1 -0
  186. package/dist/hooks/useFetchNextPageOnScroll.js +17 -1
  187. package/dist/hooks/useOnScrollProgress.cjs +1 -0
  188. package/dist/hooks/useOnScrollProgress.js +18 -1
  189. package/dist/index.cjs +1 -0
  190. package/dist/index.js +60 -1
  191. package/dist/mantine/breakpointsWithPx.cjs +1 -0
  192. package/dist/mantine/breakpointsWithPx.js +11 -1
  193. package/dist/mantine/toTailwindColors.cjs +1 -0
  194. package/dist/mantine/toTailwindColors.js +10 -1
  195. package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +1 -0
  196. package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +13 -1
  197. package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +1 -0
  198. package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +30 -1
  199. package/dist/node_modules/next/dist/client/add-base-path.cjs +1 -0
  200. package/dist/node_modules/next/dist/client/add-base-path.js +24 -1
  201. package/dist/node_modules/next/dist/client/add-locale.cjs +1 -0
  202. package/dist/node_modules/next/dist/client/add-locale.js +25 -1
  203. package/dist/node_modules/next/dist/client/components/app-router-headers.cjs +1 -0
  204. package/dist/node_modules/next/dist/client/components/app-router-headers.js +76 -1
  205. package/dist/node_modules/next/dist/client/components/bailout-to-client-rendering.cjs +1 -0
  206. package/dist/node_modules/next/dist/client/components/bailout-to-client-rendering.js +30 -1
  207. package/dist/node_modules/next/dist/client/components/forbidden.cjs +1 -0
  208. package/dist/node_modules/next/dist/client/components/forbidden.js +34 -1
  209. package/dist/node_modules/next/dist/client/components/hooks-server-context.cjs +1 -0
  210. package/dist/node_modules/next/dist/client/components/hooks-server-context.js +36 -1
  211. package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.cjs +1 -0
  212. package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +63 -1
  213. package/dist/node_modules/next/dist/client/components/is-next-router-error.cjs +1 -0
  214. package/dist/node_modules/next/dist/client/components/is-next-router-error.js +24 -1
  215. package/dist/node_modules/next/dist/client/components/navigation.cjs +1 -0
  216. package/dist/node_modules/next/dist/client/components/navigation.js +133 -1
  217. package/dist/node_modules/next/dist/client/components/navigation.react-server.cjs +1 -0
  218. package/dist/node_modules/next/dist/client/components/navigation.react-server.js +75 -1
  219. package/dist/node_modules/next/dist/client/components/not-found.cjs +1 -0
  220. package/dist/node_modules/next/dist/client/components/not-found.js +28 -1
  221. package/dist/node_modules/next/dist/client/components/redirect-error.cjs +1 -0
  222. package/dist/node_modules/next/dist/client/components/redirect-error.js +41 -1
  223. package/dist/node_modules/next/dist/client/components/redirect-status-code.cjs +1 -0
  224. package/dist/node_modules/next/dist/client/components/redirect-status-code.js +21 -1
  225. package/dist/node_modules/next/dist/client/components/redirect.cjs +1 -0
  226. package/dist/node_modules/next/dist/client/components/redirect.js +80 -1
  227. package/dist/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.cjs +1 -0
  228. package/dist/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js +21 -1
  229. package/dist/node_modules/next/dist/client/components/static-generation-bailout.cjs +1 -0
  230. package/dist/node_modules/next/dist/client/components/static-generation-bailout.js +36 -1
  231. package/dist/node_modules/next/dist/client/components/unauthorized.cjs +1 -0
  232. package/dist/node_modules/next/dist/client/components/unauthorized.js +34 -1
  233. package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.cjs +1 -0
  234. package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.js +26 -1
  235. package/dist/node_modules/next/dist/client/components/unstable-rethrow.cjs +1 -0
  236. package/dist/node_modules/next/dist/client/components/unstable-rethrow.js +21 -1
  237. package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.cjs +1 -0
  238. package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.js +30 -1
  239. package/dist/node_modules/next/dist/client/detect-domain-locale.cjs +1 -0
  240. package/dist/node_modules/next/dist/client/detect-domain-locale.js +25 -1
  241. package/dist/node_modules/next/dist/client/get-domain-locale.cjs +1 -0
  242. package/dist/node_modules/next/dist/client/get-domain-locale.js +33 -1
  243. package/dist/node_modules/next/dist/client/has-base-path.cjs +1 -0
  244. package/dist/node_modules/next/dist/client/has-base-path.js +23 -1
  245. package/dist/node_modules/next/dist/client/link.cjs +8 -0
  246. package/dist/node_modules/next/dist/client/link.js +277 -5
  247. package/dist/node_modules/next/dist/client/normalize-locale-path.cjs +1 -0
  248. package/dist/node_modules/next/dist/client/normalize-locale-path.js +23 -1
  249. package/dist/node_modules/next/dist/client/normalize-trailing-slash.cjs +1 -0
  250. package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +26 -1
  251. package/dist/node_modules/next/dist/client/request-idle-callback.cjs +1 -0
  252. package/dist/node_modules/next/dist/client/request-idle-callback.js +40 -1
  253. package/dist/node_modules/next/dist/client/resolve-href.cjs +1 -0
  254. package/dist/node_modules/next/dist/client/resolve-href.js +67 -1
  255. package/dist/node_modules/next/dist/client/use-intersection.cjs +1 -0
  256. package/dist/node_modules/next/dist/client/use-intersection.js +85 -1
  257. package/dist/node_modules/next/dist/client/use-merged-ref.cjs +1 -0
  258. package/dist/node_modules/next/dist/client/use-merged-ref.js +44 -1
  259. package/dist/node_modules/next/dist/lib/constants.cjs +1 -0
  260. package/dist/node_modules/next/dist/lib/constants.js +285 -1
  261. package/dist/node_modules/next/dist/lib/metadata/metadata-constants.cjs +1 -0
  262. package/dist/node_modules/next/dist/lib/metadata/metadata-constants.js +30 -1
  263. package/dist/node_modules/next/dist/lib/scheduler.cjs +1 -0
  264. package/dist/node_modules/next/dist/lib/scheduler.js +45 -1
  265. package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.cjs +1 -0
  266. package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js +19 -1
  267. package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.cjs +1 -0
  268. package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js +19 -1
  269. package/dist/node_modules/next/dist/server/app-render/async-local-storage.cjs +1 -0
  270. package/dist/node_modules/next/dist/server/app-render/async-local-storage.js +65 -1
  271. package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.cjs +4 -0
  272. package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +346 -4
  273. package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.cjs +1 -0
  274. package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js +19 -1
  275. package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.cjs +1 -0
  276. package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js +19 -1
  277. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.cjs +1 -0
  278. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +19 -1
  279. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.cjs +1 -0
  280. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +102 -1
  281. package/dist/node_modules/next/dist/server/dynamic-rendering-utils.cjs +1 -0
  282. package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +62 -1
  283. package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.cjs +1 -0
  284. package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js +21 -1
  285. package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.cjs +1 -0
  286. package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +41 -1
  287. package/dist/node_modules/next/dist/shared/lib/escape-regexp.cjs +1 -0
  288. package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +21 -1
  289. package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.cjs +1 -0
  290. package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +33 -1
  291. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.cjs +1 -0
  292. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +28 -1
  293. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.cjs +1 -0
  294. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +37 -1
  295. package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.cjs +1 -0
  296. package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +35 -1
  297. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.cjs +1 -0
  298. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +20 -1
  299. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.cjs +1 -0
  300. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +25 -1
  301. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.cjs +1 -0
  302. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +25 -1
  303. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.cjs +1 -0
  304. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +39 -1
  305. package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.cjs +1 -0
  306. package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +57 -1
  307. package/dist/node_modules/next/dist/shared/lib/router/utils/index.cjs +1 -0
  308. package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +32 -1
  309. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.cjs +1 -0
  310. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +90 -1
  311. package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.cjs +1 -0
  312. package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +49 -1
  313. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.cjs +1 -0
  314. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +22 -1
  315. package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.cjs +1 -0
  316. package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +29 -1
  317. package/dist/node_modules/next/dist/shared/lib/router/utils/omit.cjs +1 -0
  318. package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +23 -1
  319. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.cjs +1 -0
  320. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +29 -1
  321. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.cjs +1 -0
  322. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +25 -1
  323. package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.cjs +1 -0
  324. package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +64 -1
  325. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.cjs +1 -0
  326. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +20 -1
  327. package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.cjs +1 -0
  328. package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +42 -1
  329. package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.cjs +1 -0
  330. package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +167 -1
  331. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.cjs +1 -0
  332. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +154 -1
  333. package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.cjs +1 -0
  334. package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +21 -1
  335. package/dist/node_modules/next/dist/shared/lib/segment.cjs +1 -0
  336. package/dist/node_modules/next/dist/shared/lib/segment.js +49 -1
  337. package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.cjs +1 -0
  338. package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +34 -1
  339. package/dist/node_modules/next/dist/shared/lib/utils/error-once.cjs +1 -0
  340. package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +25 -1
  341. package/dist/node_modules/next/dist/shared/lib/utils.cjs +1 -0
  342. package/dist/node_modules/next/dist/shared/lib/utils.js +166 -1
  343. package/dist/node_modules/next/link.cjs +1 -0
  344. package/dist/node_modules/next/link.js +8 -1
  345. package/dist/node_modules/next/navigation.cjs +1 -0
  346. package/dist/node_modules/next/navigation.js +8 -1
  347. package/dist/utils/array/groupBy.cjs +1 -0
  348. package/dist/utils/array/groupBy.js +34 -1
  349. package/dist/utils/array/shuffleArray.cjs +1 -0
  350. package/dist/utils/array/shuffleArray.js +13 -1
  351. package/dist/utils/formatBytes.cjs +1 -0
  352. package/dist/utils/formatBytes.js +8 -1
  353. package/dist/utils/isInfinityEmpty.cjs +1 -0
  354. package/dist/utils/isInfinityEmpty.js +4 -1
  355. package/dist/utils/ky/addBodyJsonHook.cjs +1 -0
  356. package/dist/utils/ky/addBodyJsonHook.js +5 -1
  357. package/dist/utils/ky/parseJson.cjs +1 -0
  358. package/dist/utils/ky/parseJson.js +6 -1
  359. package/dist/utils/newHref.cjs +1 -0
  360. package/dist/utils/newHref.js +20 -1
  361. package/package.json +3 -3
@@ -1,4 +1,346 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("../../../../../_virtual/dynamic-rendering.js"),ae=require("react"),ce=require("../../client/components/hooks-server-context.js"),se=require("../../client/components/static-generation-bailout.js"),oe=require("./work-unit-async-storage.external.js"),ie=require("./work-async-storage.external.js"),ue=require("../dynamic-rendering-utils.js"),de=require("../../lib/metadata/metadata-constants.js"),le=require("../../lib/scheduler.js");var O;function fe(){return O||(O=1,function(m){Object.defineProperty(m,"__esModule",{value:!0});function S(n,e){for(var t in e)Object.defineProperty(n,t,{enumerable:!0,get:e[t]})}S(m,{Postpone:function(){return B},abortAndThrowOnSynchronousRequestDataAccess:function(){return M},abortOnSynchronousPlatformIOAccess:function(){return W},accessedDynamicData:function(){return F},annotateDynamicAccess:function(){return J},consumeDynamicAccess:function(){return V},createDynamicTrackingState:function(){return q},createDynamicValidationState:function(){return I},createHangingInputAbortSignal:function(){return z},createPostponedAbortSignal:function(){return Y},formatDynamicAPIAccesses:function(){return H},getFirstDynamicReason:function(){return N},isDynamicPostpone:function(){return G},isPrerenderInterruptedError:function(){return L},markCurrentScopeAsDynamic:function(){return $},postponeWithTracking:function(){return i},throwIfDisallowedDynamic:function(){return re},throwToInterruptStaticGeneration:function(){return g},trackAllowedDynamicAccess:function(){return ne},trackDynamicDataInDynamicRender:function(){return C},trackFallbackParamAccessed:function(){return j},trackSynchronousPlatformIOAccessInDev:function(){return D},trackSynchronousRequestDataAccessInDev:function(){return X},useDynamicRouteParams:function(){return K}});const u=v(ae),p=ce.__require(),s=se.__require(),d=oe.__require(),k=ie.__require(),P=ue.__require(),l=de.__require(),T=le.__require();function v(n){return n&&n.__esModule?n:{default:n}}const x=typeof u.default.unstable_postpone=="function";function q(n){return{isDebugDynamicAccesses:n,dynamicAccesses:[],syncDynamicExpression:void 0,syncDynamicErrorWithStack:null}}function I(){return{hasSuspendedDynamic:!1,hasDynamicMetadata:!1,hasDynamicViewport:!1,hasSyncDynamicErrors:!1,dynamicErrors:[]}}function N(n){var e;return(e=n.dynamicAccesses[0])==null?void 0:e.expression}function $(n,e,t){if(!(e&&(e.type==="cache"||e.type==="unstable-cache"))&&!(n.forceDynamic||n.forceStatic)){if(n.dynamicShouldError)throw Object.defineProperty(new s.StaticGenBailoutError(`Route ${n.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${t}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(e)if(e.type==="prerender-ppr")i(n.route,t,e.dynamicTracking);else if(e.type==="prerender-legacy"){e.revalidate=0;const r=Object.defineProperty(new p.DynamicServerError(`Route ${n.route} couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E550",enumerable:!1,configurable:!0});throw n.dynamicUsageDescription=t,n.dynamicUsageStack=r.stack,r}else process.env.NODE_ENV==="development"&&e&&e.type==="request"&&(e.usedDynamic=!0)}}function j(n,e){const t=d.workUnitAsyncStorage.getStore();!t||t.type!=="prerender-ppr"||i(n.route,e,t.dynamicTracking)}function g(n,e,t){const r=Object.defineProperty(new p.DynamicServerError(`Route ${e.route} couldn't be rendered statically because it used \`${n}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw t.revalidate=0,e.dynamicUsageDescription=n,e.dynamicUsageStack=r.stack,r}function C(n,e){if(e){if(e.type==="cache"||e.type==="unstable-cache")return;(e.type==="prerender"||e.type==="prerender-legacy")&&(e.revalidate=0),process.env.NODE_ENV==="development"&&e.type==="request"&&(e.usedDynamic=!0)}}function E(n,e,t){const r=`Route ${n} needs to bail out of prerendering at this point because it used ${e}.`,a=w(r);t.controller.abort(a);const c=t.dynamicTracking;c&&c.dynamicAccesses.push({stack:c.isDebugDynamicAccesses?new Error().stack:void 0,expression:e})}function W(n,e,t,r){const a=r.dynamicTracking;a&&a.syncDynamicErrorWithStack===null&&(a.syncDynamicExpression=e,a.syncDynamicErrorWithStack=t),E(n,e,r)}function D(n){n.prerenderPhase=!1}function M(n,e,t,r){if(r.controller.signal.aborted===!1){const c=r.dynamicTracking;c&&c.syncDynamicErrorWithStack===null&&(c.syncDynamicExpression=e,c.syncDynamicErrorWithStack=t,r.validating===!0&&(c.syncDynamicLogged=!0)),E(n,e,r)}throw w(`Route ${n} needs to bail out of prerendering at this point because it used ${e}.`)}const X=D;function B({reason:n,route:e}){const t=d.workUnitAsyncStorage.getStore(),r=t&&t.type==="prerender-ppr"?t.dynamicTracking:null;i(e,n,r)}function i(n,e,t){A(),t&&t.dynamicAccesses.push({stack:t.isDebugDynamicAccesses?new Error().stack:void 0,expression:e}),u.default.unstable_postpone(_(n,e))}function _(n,e){return`Route ${n} needs to bail out of prerendering at this point because it used ${e}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}function G(n){return typeof n=="object"&&n!==null&&typeof n.message=="string"?b(n.message):!1}function b(n){return n.includes("needs to bail out of prerendering at this point because it used")&&n.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}if(b(_("%%%","^^^"))===!1)throw Object.defineProperty(new Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E296",enumerable:!1,configurable:!0});const R="NEXT_PRERENDER_INTERRUPTED";function w(n){const e=Object.defineProperty(new Error(n),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return e.digest=R,e}function L(n){return typeof n=="object"&&n!==null&&n.digest===R&&"name"in n&&"message"in n&&n instanceof Error}function F(n){return n.length>0}function V(n,e){return n.dynamicAccesses.push(...e.dynamicAccesses),n.dynamicAccesses}function H(n){return n.filter(e=>typeof e.stack=="string"&&e.stack.length>0).map(({expression:e,stack:t})=>(t=t.split(`
2
- `).slice(4).filter(r=>!(r.includes("node_modules/next/")||r.includes(" (<anonymous>)")||r.includes(" (node:"))).join(`
3
- `),`Dynamic API Usage Debug - ${e}:
4
- ${t}`))}function A(){if(!x)throw Object.defineProperty(new Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E224",enumerable:!1,configurable:!0})}function Y(n){A();const e=new AbortController;try{u.default.unstable_postpone(n)}catch(t){e.abort(t)}return e.signal}function z(n){const e=new AbortController;return n.cacheSignal?n.cacheSignal.inputReady().then(()=>{e.abort()}):(0,T.scheduleOnNextTick)(()=>e.abort()),e.signal}function J(n,e){const t=e.dynamicTracking;t&&t.dynamicAccesses.push({stack:t.isDebugDynamicAccesses?new Error().stack:void 0,expression:n})}function K(n){const e=k.workAsyncStorage.getStore();if(e&&e.isStaticGeneration&&e.fallbackRouteParams&&e.fallbackRouteParams.size>0){const t=d.workUnitAsyncStorage.getStore();t&&(t.type==="prerender"?u.default.use((0,P.makeHangingPromise)(t.renderSignal,n)):t.type==="prerender-ppr"?i(e.route,n,t.dynamicTracking):t.type==="prerender-legacy"&&g(n,e,t))}}const Q=/\n\s+at Suspense \(<anonymous>\)/,Z=new RegExp(`\\n\\s+at ${l.METADATA_BOUNDARY_NAME}[\\n\\s]`),U=new RegExp(`\\n\\s+at ${l.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`),ee=new RegExp(`\\n\\s+at ${l.OUTLET_BOUNDARY_NAME}[\\n\\s]`);function ne(n,e,t,r,a){if(!ee.test(e))if(Z.test(e)){t.hasDynamicMetadata=!0;return}else if(U.test(e)){t.hasDynamicViewport=!0;return}else if(Q.test(e)){t.hasSuspendedDynamic=!0;return}else if(r.syncDynamicErrorWithStack||a.syncDynamicErrorWithStack){t.hasSyncDynamicErrors=!0;return}else{const c=`Route "${n}": A component accessed data, headers, params, searchParams, or a short-lived cache without a Suspense boundary nor a "use cache" above it. We don't have the exact line number added to error messages yet but you can see which component in the stack below. See more info: https://nextjs.org/docs/messages/next-prerender-missing-suspense`,o=te(c,e);t.dynamicErrors.push(o);return}}function te(n,e){const t=Object.defineProperty(new Error(n),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t.stack="Error: "+n+e,t}function re(n,e,t,r){let a,c,o;if(t.syncDynamicErrorWithStack?(a=t.syncDynamicErrorWithStack,c=t.syncDynamicExpression,o=t.syncDynamicLogged===!0):r.syncDynamicErrorWithStack?(a=r.syncDynamicErrorWithStack,c=r.syncDynamicExpression,o=r.syncDynamicLogged===!0):(a=null,c=void 0,o=!1),e.hasSyncDynamicErrors&&a)throw o||console.error(a),new s.StaticGenBailoutError;const f=e.dynamicErrors;if(f.length){for(let y=0;y<f.length;y++)console.error(f[y]);throw new s.StaticGenBailoutError}if(!e.hasSuspendedDynamic){if(e.hasDynamicMetadata)throw a?(console.error(a),Object.defineProperty(new s.StaticGenBailoutError(`Route "${n}" has a \`generateMetadata\` that could not finish rendering before ${c} was used. Follow the instructions in the error for this expression to resolve.`),"__NEXT_ERROR_CODE",{value:"E608",enumerable:!1,configurable:!0})):Object.defineProperty(new s.StaticGenBailoutError(`Route "${n}" has a \`generateMetadata\` that depends on Request data (\`cookies()\`, etc...) or external data (\`fetch(...)\`, etc...) but the rest of the route was static or only used cached data (\`"use cache"\`). If you expected this route to be prerenderable update your \`generateMetadata\` to not use Request data and only use cached external data. Otherwise, add \`await connection()\` somewhere within this route to indicate explicitly it should not be prerendered.`),"__NEXT_ERROR_CODE",{value:"E534",enumerable:!1,configurable:!0});if(e.hasDynamicViewport)throw a?(console.error(a),Object.defineProperty(new s.StaticGenBailoutError(`Route "${n}" has a \`generateViewport\` that could not finish rendering before ${c} was used. Follow the instructions in the error for this expression to resolve.`),"__NEXT_ERROR_CODE",{value:"E573",enumerable:!1,configurable:!0})):Object.defineProperty(new s.StaticGenBailoutError(`Route "${n}" has a \`generateViewport\` that depends on Request data (\`cookies()\`, etc...) or external data (\`fetch(...)\`, etc...) but the rest of the route was static or only used cached data (\`"use cache"\`). If you expected this route to be prerenderable update your \`generateViewport\` to not use Request data and only use cached external data. Otherwise, add \`await connection()\` somewhere within this route to indicate explicitly it should not be prerendered.`),"__NEXT_ERROR_CODE",{value:"E590",enumerable:!1,configurable:!0})}}}(h.__exports)),h.__exports}exports.__require=fe;
1
+ import { __exports as m } from "../../../../../_virtual/dynamic-rendering.js";
2
+ import ae from "react";
3
+ import { __require as ce } from "../../client/components/hooks-server-context.js";
4
+ import { __require as se } from "../../client/components/static-generation-bailout.js";
5
+ import { __require as oe } from "./work-unit-async-storage.external.js";
6
+ import { __require as ie } from "./work-async-storage.external.js";
7
+ import { __require as ue } from "../dynamic-rendering-utils.js";
8
+ import { __require as de } from "../../lib/metadata/metadata-constants.js";
9
+ import { __require as le } from "../../lib/scheduler.js";
10
+ var S;
11
+ function _e() {
12
+ return S ? m : (S = 1, function(p) {
13
+ Object.defineProperty(p, "__esModule", {
14
+ value: !0
15
+ });
16
+ function O(n, e) {
17
+ for (var t in e) Object.defineProperty(n, t, {
18
+ enumerable: !0,
19
+ get: e[t]
20
+ });
21
+ }
22
+ O(p, {
23
+ Postpone: function() {
24
+ return B;
25
+ },
26
+ abortAndThrowOnSynchronousRequestDataAccess: function() {
27
+ return M;
28
+ },
29
+ abortOnSynchronousPlatformIOAccess: function() {
30
+ return W;
31
+ },
32
+ accessedDynamicData: function() {
33
+ return F;
34
+ },
35
+ annotateDynamicAccess: function() {
36
+ return J;
37
+ },
38
+ consumeDynamicAccess: function() {
39
+ return H;
40
+ },
41
+ createDynamicTrackingState: function() {
42
+ return I;
43
+ },
44
+ createDynamicValidationState: function() {
45
+ return N;
46
+ },
47
+ createHangingInputAbortSignal: function() {
48
+ return z;
49
+ },
50
+ createPostponedAbortSignal: function() {
51
+ return Y;
52
+ },
53
+ formatDynamicAPIAccesses: function() {
54
+ return V;
55
+ },
56
+ getFirstDynamicReason: function() {
57
+ return q;
58
+ },
59
+ isDynamicPostpone: function() {
60
+ return G;
61
+ },
62
+ isPrerenderInterruptedError: function() {
63
+ return L;
64
+ },
65
+ markCurrentScopeAsDynamic: function() {
66
+ return $;
67
+ },
68
+ postponeWithTracking: function() {
69
+ return i;
70
+ },
71
+ throwIfDisallowedDynamic: function() {
72
+ return re;
73
+ },
74
+ throwToInterruptStaticGeneration: function() {
75
+ return g;
76
+ },
77
+ trackAllowedDynamicAccess: function() {
78
+ return ne;
79
+ },
80
+ trackDynamicDataInDynamicRender: function() {
81
+ return C;
82
+ },
83
+ trackFallbackParamAccessed: function() {
84
+ return j;
85
+ },
86
+ trackSynchronousPlatformIOAccessInDev: function() {
87
+ return D;
88
+ },
89
+ trackSynchronousRequestDataAccessInDev: function() {
90
+ return X;
91
+ },
92
+ useDynamicRouteParams: function() {
93
+ return K;
94
+ }
95
+ });
96
+ const u = /* @__PURE__ */ v(ae), h = ce(), s = se(), d = oe(), k = ie(), P = ue(), l = de(), T = le();
97
+ function v(n) {
98
+ return n && n.__esModule ? n : {
99
+ default: n
100
+ };
101
+ }
102
+ const x = typeof u.default.unstable_postpone == "function";
103
+ function I(n) {
104
+ return {
105
+ isDebugDynamicAccesses: n,
106
+ dynamicAccesses: [],
107
+ syncDynamicExpression: void 0,
108
+ syncDynamicErrorWithStack: null
109
+ };
110
+ }
111
+ function N() {
112
+ return {
113
+ hasSuspendedDynamic: !1,
114
+ hasDynamicMetadata: !1,
115
+ hasDynamicViewport: !1,
116
+ hasSyncDynamicErrors: !1,
117
+ dynamicErrors: []
118
+ };
119
+ }
120
+ function q(n) {
121
+ var e;
122
+ return (e = n.dynamicAccesses[0]) == null ? void 0 : e.expression;
123
+ }
124
+ function $(n, e, t) {
125
+ if (!(e && (e.type === "cache" || e.type === "unstable-cache")) && !(n.forceDynamic || n.forceStatic)) {
126
+ if (n.dynamicShouldError)
127
+ throw Object.defineProperty(new s.StaticGenBailoutError(`Route ${n.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${t}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), "__NEXT_ERROR_CODE", {
128
+ value: "E553",
129
+ enumerable: !1,
130
+ configurable: !0
131
+ });
132
+ if (e)
133
+ if (e.type === "prerender-ppr")
134
+ i(n.route, t, e.dynamicTracking);
135
+ else if (e.type === "prerender-legacy") {
136
+ e.revalidate = 0;
137
+ const r = Object.defineProperty(new h.DynamicServerError(`Route ${n.route} couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`), "__NEXT_ERROR_CODE", {
138
+ value: "E550",
139
+ enumerable: !1,
140
+ configurable: !0
141
+ });
142
+ throw n.dynamicUsageDescription = t, n.dynamicUsageStack = r.stack, r;
143
+ } else process.env.NODE_ENV === "development" && e && e.type === "request" && (e.usedDynamic = !0);
144
+ }
145
+ }
146
+ function j(n, e) {
147
+ const t = d.workUnitAsyncStorage.getStore();
148
+ !t || t.type !== "prerender-ppr" || i(n.route, e, t.dynamicTracking);
149
+ }
150
+ function g(n, e, t) {
151
+ const r = Object.defineProperty(new h.DynamicServerError(`Route ${e.route} couldn't be rendered statically because it used \`${n}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`), "__NEXT_ERROR_CODE", {
152
+ value: "E558",
153
+ enumerable: !1,
154
+ configurable: !0
155
+ });
156
+ throw t.revalidate = 0, e.dynamicUsageDescription = n, e.dynamicUsageStack = r.stack, r;
157
+ }
158
+ function C(n, e) {
159
+ if (e) {
160
+ if (e.type === "cache" || e.type === "unstable-cache")
161
+ return;
162
+ (e.type === "prerender" || e.type === "prerender-legacy") && (e.revalidate = 0), process.env.NODE_ENV === "development" && e.type === "request" && (e.usedDynamic = !0);
163
+ }
164
+ }
165
+ function E(n, e, t) {
166
+ const r = `Route ${n} needs to bail out of prerendering at this point because it used ${e}.`, a = w(r);
167
+ t.controller.abort(a);
168
+ const c = t.dynamicTracking;
169
+ c && c.dynamicAccesses.push({
170
+ // When we aren't debugging, we don't need to create another error for the
171
+ // stack trace.
172
+ stack: c.isDebugDynamicAccesses ? new Error().stack : void 0,
173
+ expression: e
174
+ });
175
+ }
176
+ function W(n, e, t, r) {
177
+ const a = r.dynamicTracking;
178
+ a && a.syncDynamicErrorWithStack === null && (a.syncDynamicExpression = e, a.syncDynamicErrorWithStack = t), E(n, e, r);
179
+ }
180
+ function D(n) {
181
+ n.prerenderPhase = !1;
182
+ }
183
+ function M(n, e, t, r) {
184
+ if (r.controller.signal.aborted === !1) {
185
+ const c = r.dynamicTracking;
186
+ c && c.syncDynamicErrorWithStack === null && (c.syncDynamicExpression = e, c.syncDynamicErrorWithStack = t, r.validating === !0 && (c.syncDynamicLogged = !0)), E(n, e, r);
187
+ }
188
+ throw w(`Route ${n} needs to bail out of prerendering at this point because it used ${e}.`);
189
+ }
190
+ const X = D;
191
+ function B({ reason: n, route: e }) {
192
+ const t = d.workUnitAsyncStorage.getStore(), r = t && t.type === "prerender-ppr" ? t.dynamicTracking : null;
193
+ i(e, n, r);
194
+ }
195
+ function i(n, e, t) {
196
+ A(), t && t.dynamicAccesses.push({
197
+ // When we aren't debugging, we don't need to create another error for the
198
+ // stack trace.
199
+ stack: t.isDebugDynamicAccesses ? new Error().stack : void 0,
200
+ expression: e
201
+ }), u.default.unstable_postpone(b(n, e));
202
+ }
203
+ function b(n, e) {
204
+ return `Route ${n} needs to bail out of prerendering at this point because it used ${e}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`;
205
+ }
206
+ function G(n) {
207
+ return typeof n == "object" && n !== null && typeof n.message == "string" ? _(n.message) : !1;
208
+ }
209
+ function _(n) {
210
+ return n.includes("needs to bail out of prerendering at this point because it used") && n.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error");
211
+ }
212
+ if (_(b("%%%", "^^^")) === !1)
213
+ throw Object.defineProperty(new Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"), "__NEXT_ERROR_CODE", {
214
+ value: "E296",
215
+ enumerable: !1,
216
+ configurable: !0
217
+ });
218
+ const R = "NEXT_PRERENDER_INTERRUPTED";
219
+ function w(n) {
220
+ const e = Object.defineProperty(new Error(n), "__NEXT_ERROR_CODE", {
221
+ value: "E394",
222
+ enumerable: !1,
223
+ configurable: !0
224
+ });
225
+ return e.digest = R, e;
226
+ }
227
+ function L(n) {
228
+ return typeof n == "object" && n !== null && n.digest === R && "name" in n && "message" in n && n instanceof Error;
229
+ }
230
+ function F(n) {
231
+ return n.length > 0;
232
+ }
233
+ function H(n, e) {
234
+ return n.dynamicAccesses.push(...e.dynamicAccesses), n.dynamicAccesses;
235
+ }
236
+ function V(n) {
237
+ return n.filter((e) => typeof e.stack == "string" && e.stack.length > 0).map(({ expression: e, stack: t }) => (t = t.split(`
238
+ `).slice(4).filter((r) => !(r.includes("node_modules/next/") || r.includes(" (<anonymous>)") || r.includes(" (node:"))).join(`
239
+ `), `Dynamic API Usage Debug - ${e}:
240
+ ${t}`));
241
+ }
242
+ function A() {
243
+ if (!x)
244
+ throw Object.defineProperty(new Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"), "__NEXT_ERROR_CODE", {
245
+ value: "E224",
246
+ enumerable: !1,
247
+ configurable: !0
248
+ });
249
+ }
250
+ function Y(n) {
251
+ A();
252
+ const e = new AbortController();
253
+ try {
254
+ u.default.unstable_postpone(n);
255
+ } catch (t) {
256
+ e.abort(t);
257
+ }
258
+ return e.signal;
259
+ }
260
+ function z(n) {
261
+ const e = new AbortController();
262
+ return n.cacheSignal ? n.cacheSignal.inputReady().then(() => {
263
+ e.abort();
264
+ }) : (0, T.scheduleOnNextTick)(() => e.abort()), e.signal;
265
+ }
266
+ function J(n, e) {
267
+ const t = e.dynamicTracking;
268
+ t && t.dynamicAccesses.push({
269
+ stack: t.isDebugDynamicAccesses ? new Error().stack : void 0,
270
+ expression: n
271
+ });
272
+ }
273
+ function K(n) {
274
+ const e = k.workAsyncStorage.getStore();
275
+ if (e && e.isStaticGeneration && e.fallbackRouteParams && e.fallbackRouteParams.size > 0) {
276
+ const t = d.workUnitAsyncStorage.getStore();
277
+ t && (t.type === "prerender" ? u.default.use((0, P.makeHangingPromise)(t.renderSignal, n)) : t.type === "prerender-ppr" ? i(e.route, n, t.dynamicTracking) : t.type === "prerender-legacy" && g(n, e, t));
278
+ }
279
+ }
280
+ const Q = /\n\s+at Suspense \(<anonymous>\)/, Z = new RegExp(`\\n\\s+at ${l.METADATA_BOUNDARY_NAME}[\\n\\s]`), U = new RegExp(`\\n\\s+at ${l.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`), ee = new RegExp(`\\n\\s+at ${l.OUTLET_BOUNDARY_NAME}[\\n\\s]`);
281
+ function ne(n, e, t, r, a) {
282
+ if (!ee.test(e))
283
+ if (Z.test(e)) {
284
+ t.hasDynamicMetadata = !0;
285
+ return;
286
+ } else if (U.test(e)) {
287
+ t.hasDynamicViewport = !0;
288
+ return;
289
+ } else if (Q.test(e)) {
290
+ t.hasSuspendedDynamic = !0;
291
+ return;
292
+ } else if (r.syncDynamicErrorWithStack || a.syncDynamicErrorWithStack) {
293
+ t.hasSyncDynamicErrors = !0;
294
+ return;
295
+ } else {
296
+ const c = `Route "${n}": A component accessed data, headers, params, searchParams, or a short-lived cache without a Suspense boundary nor a "use cache" above it. We don't have the exact line number added to error messages yet but you can see which component in the stack below. See more info: https://nextjs.org/docs/messages/next-prerender-missing-suspense`, o = te(c, e);
297
+ t.dynamicErrors.push(o);
298
+ return;
299
+ }
300
+ }
301
+ function te(n, e) {
302
+ const t = Object.defineProperty(new Error(n), "__NEXT_ERROR_CODE", {
303
+ value: "E394",
304
+ enumerable: !1,
305
+ configurable: !0
306
+ });
307
+ return t.stack = "Error: " + n + e, t;
308
+ }
309
+ function re(n, e, t, r) {
310
+ let a, c, o;
311
+ if (t.syncDynamicErrorWithStack ? (a = t.syncDynamicErrorWithStack, c = t.syncDynamicExpression, o = t.syncDynamicLogged === !0) : r.syncDynamicErrorWithStack ? (a = r.syncDynamicErrorWithStack, c = r.syncDynamicExpression, o = r.syncDynamicLogged === !0) : (a = null, c = void 0, o = !1), e.hasSyncDynamicErrors && a)
312
+ throw o || console.error(a), new s.StaticGenBailoutError();
313
+ const f = e.dynamicErrors;
314
+ if (f.length) {
315
+ for (let y = 0; y < f.length; y++)
316
+ console.error(f[y]);
317
+ throw new s.StaticGenBailoutError();
318
+ }
319
+ if (!e.hasSuspendedDynamic) {
320
+ if (e.hasDynamicMetadata)
321
+ throw a ? (console.error(a), Object.defineProperty(new s.StaticGenBailoutError(`Route "${n}" has a \`generateMetadata\` that could not finish rendering before ${c} was used. Follow the instructions in the error for this expression to resolve.`), "__NEXT_ERROR_CODE", {
322
+ value: "E608",
323
+ enumerable: !1,
324
+ configurable: !0
325
+ })) : Object.defineProperty(new s.StaticGenBailoutError(`Route "${n}" has a \`generateMetadata\` that depends on Request data (\`cookies()\`, etc...) or external data (\`fetch(...)\`, etc...) but the rest of the route was static or only used cached data (\`"use cache"\`). If you expected this route to be prerenderable update your \`generateMetadata\` to not use Request data and only use cached external data. Otherwise, add \`await connection()\` somewhere within this route to indicate explicitly it should not be prerendered.`), "__NEXT_ERROR_CODE", {
326
+ value: "E534",
327
+ enumerable: !1,
328
+ configurable: !0
329
+ });
330
+ if (e.hasDynamicViewport)
331
+ throw a ? (console.error(a), Object.defineProperty(new s.StaticGenBailoutError(`Route "${n}" has a \`generateViewport\` that could not finish rendering before ${c} was used. Follow the instructions in the error for this expression to resolve.`), "__NEXT_ERROR_CODE", {
332
+ value: "E573",
333
+ enumerable: !1,
334
+ configurable: !0
335
+ })) : Object.defineProperty(new s.StaticGenBailoutError(`Route "${n}" has a \`generateViewport\` that depends on Request data (\`cookies()\`, etc...) or external data (\`fetch(...)\`, etc...) but the rest of the route was static or only used cached data (\`"use cache"\`). If you expected this route to be prerenderable update your \`generateViewport\` to not use Request data and only use cached external data. Otherwise, add \`await connection()\` somewhere within this route to indicate explicitly it should not be prerendered.`), "__NEXT_ERROR_CODE", {
336
+ value: "E590",
337
+ enumerable: !1,
338
+ configurable: !0
339
+ });
340
+ }
341
+ }
342
+ }(m), m);
343
+ }
344
+ export {
345
+ _e as __require
346
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../../_virtual/work-async-storage-instance.cjs"),o=require("./async-local-storage.cjs");var t;function c(){return t||(t=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorageInstance",{enumerable:!0,get:function(){return n}});const n=(0,o.__require().createAsyncLocalStorage)()}(e.__exports)),e.__exports}exports.__require=c;
@@ -1 +1,19 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../../_virtual/work-async-storage-instance.js"),o=require("./async-local-storage.js");var t;function c(){return t||(t=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorageInstance",{enumerable:!0,get:function(){return n}});const n=(0,o.__require().createAsyncLocalStorage)()}(e.__exports)),e.__exports}exports.__require=c;
1
+ import { __exports as e } from "../../../../../_virtual/work-async-storage-instance.js";
2
+ import { __require as o } from "./async-local-storage.js";
3
+ var n;
4
+ function u() {
5
+ return n ? e : (n = 1, function(r) {
6
+ Object.defineProperty(r, "__esModule", {
7
+ value: !0
8
+ }), Object.defineProperty(r, "workAsyncStorageInstance", {
9
+ enumerable: !0,
10
+ get: function() {
11
+ return t;
12
+ }
13
+ });
14
+ const t = (0, o().createAsyncLocalStorage)();
15
+ }(e), e);
16
+ }
17
+ export {
18
+ u as __require
19
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../../_virtual/work-async-storage.external.cjs"),o=require("./work-async-storage-instance.cjs");var t;function a(){return t||(t=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorage",{enumerable:!0,get:function(){return n.workAsyncStorageInstance}});const n=o.__require()}(e.__exports)),e.__exports}exports.__require=a;
@@ -1 +1,19 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../../_virtual/work-async-storage.external.js"),o=require("./work-async-storage-instance.js");var t;function a(){return t||(t=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorage",{enumerable:!0,get:function(){return n.workAsyncStorageInstance}});const n=o.__require()}(e.__exports)),e.__exports}exports.__require=a;
1
+ import { __exports as e } from "../../../../../_virtual/work-async-storage.external.js";
2
+ import { __require as o } from "./work-async-storage-instance.js";
3
+ var t;
4
+ function c() {
5
+ return t ? e : (t = 1, function(r) {
6
+ Object.defineProperty(r, "__esModule", {
7
+ value: !0
8
+ }), Object.defineProperty(r, "workAsyncStorage", {
9
+ enumerable: !0,
10
+ get: function() {
11
+ return n.workAsyncStorageInstance;
12
+ }
13
+ });
14
+ const n = o();
15
+ }(e), e);
16
+ }
17
+ export {
18
+ c as __require
19
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../../_virtual/work-unit-async-storage-instance.cjs"),o=require("./async-local-storage.cjs");var t;function c(){return t||(t=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workUnitAsyncStorageInstance",{enumerable:!0,get:function(){return n}});const n=(0,o.__require().createAsyncLocalStorage)()}(e.__exports)),e.__exports}exports.__require=c;
@@ -1 +1,19 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../../_virtual/work-unit-async-storage-instance.js"),o=require("./async-local-storage.js");var t;function c(){return t||(t=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workUnitAsyncStorageInstance",{enumerable:!0,get:function(){return n}});const n=(0,o.__require().createAsyncLocalStorage)()}(e.__exports)),e.__exports}exports.__require=c;
1
+ import { __exports as e } from "../../../../../_virtual/work-unit-async-storage-instance.js";
2
+ import { __require as o } from "./async-local-storage.js";
3
+ var n;
4
+ function i() {
5
+ return n ? e : (n = 1, function(r) {
6
+ Object.defineProperty(r, "__esModule", {
7
+ value: !0
8
+ }), Object.defineProperty(r, "workUnitAsyncStorageInstance", {
9
+ enumerable: !0,
10
+ get: function() {
11
+ return t;
12
+ }
13
+ });
14
+ const t = (0, o().createAsyncLocalStorage)();
15
+ }(e), e);
16
+ }
17
+ export {
18
+ i as __require
19
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../../../../_virtual/work-unit-async-storage.external.cjs"),l=require("./work-unit-async-storage-instance.cjs"),g=require("../../client/components/app-router-headers.cjs");var s;function R(){return s||(s=1,function(a){Object.defineProperty(a,"__esModule",{value:!0});function o(e,r){for(var t in r)Object.defineProperty(e,t,{enumerable:!0,get:r[t]})}o(a,{getDraftModeProviderForCacheScope:function(){return h},getExpectedRequestStore:function(){return d},getHmrRefreshHash:function(){return _},getPrerenderResumeDataCache:function(){return f},getRenderResumeDataCache:function(){return p},throwForMissingRequestStore:function(){return c},workUnitAsyncStorage:function(){return u.workUnitAsyncStorageInstance}});const u=l.__require(),i=g.__require();function d(e){const r=u.workUnitAsyncStorageInstance.getStore();switch(r||c(e),r.type){case"request":return r;case"prerender":case"prerender-ppr":case"prerender-legacy":throw Object.defineProperty(new Error(`\`${e}\` cannot be called inside a prerender. This is a bug in Next.js.`),"__NEXT_ERROR_CODE",{value:"E401",enumerable:!1,configurable:!0});case"cache":throw Object.defineProperty(new Error(`\`${e}\` cannot be called inside "use cache". Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E37",enumerable:!1,configurable:!0});case"unstable-cache":throw Object.defineProperty(new Error(`\`${e}\` cannot be called inside unstable_cache. Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E69",enumerable:!1,configurable:!0});default:return r}}function c(e){throw Object.defineProperty(new Error(`\`${e}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E251",enumerable:!1,configurable:!0})}function f(e){return e.type==="prerender"||e.type==="prerender-ppr"?e.prerenderResumeDataCache:null}function p(e){return e.type!=="prerender-legacy"&&e.type!=="cache"&&e.type!=="unstable-cache"?e.type==="request"?e.renderResumeDataCache:e.prerenderResumeDataCache:null}function _(e,r){var t;if(e.dev)return r.type==="cache"||r.type==="prerender"?r.hmrRefreshHash:r.type==="request"?(t=r.cookies.get(i.NEXT_HMR_REFRESH_HASH_COOKIE))==null?void 0:t.value:void 0}function h(e,r){if(e.isDraftMode)switch(r.type){case"cache":case"unstable-cache":case"request":return r.draftMode;default:return}}}(n.__exports)),n.__exports}exports.__require=R;
@@ -1 +1,102 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../../../../_virtual/work-unit-async-storage.external.js"),l=require("./work-unit-async-storage-instance.js"),g=require("../../client/components/app-router-headers.js");var s;function R(){return s||(s=1,function(a){Object.defineProperty(a,"__esModule",{value:!0});function o(e,r){for(var t in r)Object.defineProperty(e,t,{enumerable:!0,get:r[t]})}o(a,{getDraftModeProviderForCacheScope:function(){return h},getExpectedRequestStore:function(){return d},getHmrRefreshHash:function(){return _},getPrerenderResumeDataCache:function(){return f},getRenderResumeDataCache:function(){return p},throwForMissingRequestStore:function(){return c},workUnitAsyncStorage:function(){return u.workUnitAsyncStorageInstance}});const u=l.__require(),i=g.__require();function d(e){const r=u.workUnitAsyncStorageInstance.getStore();switch(r||c(e),r.type){case"request":return r;case"prerender":case"prerender-ppr":case"prerender-legacy":throw Object.defineProperty(new Error(`\`${e}\` cannot be called inside a prerender. This is a bug in Next.js.`),"__NEXT_ERROR_CODE",{value:"E401",enumerable:!1,configurable:!0});case"cache":throw Object.defineProperty(new Error(`\`${e}\` cannot be called inside "use cache". Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E37",enumerable:!1,configurable:!0});case"unstable-cache":throw Object.defineProperty(new Error(`\`${e}\` cannot be called inside unstable_cache. Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E69",enumerable:!1,configurable:!0});default:return r}}function c(e){throw Object.defineProperty(new Error(`\`${e}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E251",enumerable:!1,configurable:!0})}function f(e){return e.type==="prerender"||e.type==="prerender-ppr"?e.prerenderResumeDataCache:null}function p(e){return e.type!=="prerender-legacy"&&e.type!=="cache"&&e.type!=="unstable-cache"?e.type==="request"?e.renderResumeDataCache:e.prerenderResumeDataCache:null}function _(e,r){var t;if(e.dev)return r.type==="cache"||r.type==="prerender"?r.hmrRefreshHash:r.type==="request"?(t=r.cookies.get(i.NEXT_HMR_REFRESH_HASH_COOKIE))==null?void 0:t.value:void 0}function h(e,r){if(e.isDraftMode)switch(r.type){case"cache":case"unstable-cache":case"request":return r.draftMode;default:return}}}(n.__exports)),n.__exports}exports.__require=R;
1
+ import { __exports as n } from "../../../../../_virtual/work-unit-async-storage.external.js";
2
+ import { __require as l } from "./work-unit-async-storage-instance.js";
3
+ import { __require as g } from "../../client/components/app-router-headers.js";
4
+ var s;
5
+ function b() {
6
+ return s ? n : (s = 1, function(a) {
7
+ Object.defineProperty(a, "__esModule", {
8
+ value: !0
9
+ });
10
+ function o(e, r) {
11
+ for (var t in r) Object.defineProperty(e, t, {
12
+ enumerable: !0,
13
+ get: r[t]
14
+ });
15
+ }
16
+ o(a, {
17
+ getDraftModeProviderForCacheScope: function() {
18
+ return _;
19
+ },
20
+ getExpectedRequestStore: function() {
21
+ return d;
22
+ },
23
+ getHmrRefreshHash: function() {
24
+ return h;
25
+ },
26
+ getPrerenderResumeDataCache: function() {
27
+ return f;
28
+ },
29
+ getRenderResumeDataCache: function() {
30
+ return p;
31
+ },
32
+ throwForMissingRequestStore: function() {
33
+ return c;
34
+ },
35
+ workUnitAsyncStorage: function() {
36
+ return u.workUnitAsyncStorageInstance;
37
+ }
38
+ });
39
+ const u = l(), i = g();
40
+ function d(e) {
41
+ const r = u.workUnitAsyncStorageInstance.getStore();
42
+ switch (r || c(e), r.type) {
43
+ case "request":
44
+ return r;
45
+ case "prerender":
46
+ case "prerender-ppr":
47
+ case "prerender-legacy":
48
+ throw Object.defineProperty(new Error(`\`${e}\` cannot be called inside a prerender. This is a bug in Next.js.`), "__NEXT_ERROR_CODE", {
49
+ value: "E401",
50
+ enumerable: !1,
51
+ configurable: !0
52
+ });
53
+ case "cache":
54
+ throw Object.defineProperty(new Error(`\`${e}\` cannot be called inside "use cache". Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/messages/next-request-in-use-cache`), "__NEXT_ERROR_CODE", {
55
+ value: "E37",
56
+ enumerable: !1,
57
+ configurable: !0
58
+ });
59
+ case "unstable-cache":
60
+ throw Object.defineProperty(new Error(`\`${e}\` cannot be called inside unstable_cache. Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`), "__NEXT_ERROR_CODE", {
61
+ value: "E69",
62
+ enumerable: !1,
63
+ configurable: !0
64
+ });
65
+ default:
66
+ return r;
67
+ }
68
+ }
69
+ function c(e) {
70
+ throw Object.defineProperty(new Error(`\`${e}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`), "__NEXT_ERROR_CODE", {
71
+ value: "E251",
72
+ enumerable: !1,
73
+ configurable: !0
74
+ });
75
+ }
76
+ function f(e) {
77
+ return e.type === "prerender" || e.type === "prerender-ppr" ? e.prerenderResumeDataCache : null;
78
+ }
79
+ function p(e) {
80
+ return e.type !== "prerender-legacy" && e.type !== "cache" && e.type !== "unstable-cache" ? e.type === "request" ? e.renderResumeDataCache : e.prerenderResumeDataCache : null;
81
+ }
82
+ function h(e, r) {
83
+ var t;
84
+ if (e.dev)
85
+ return r.type === "cache" || r.type === "prerender" ? r.hmrRefreshHash : r.type === "request" ? (t = r.cookies.get(i.NEXT_HMR_REFRESH_HASH_COOKIE)) == null ? void 0 : t.value : void 0;
86
+ }
87
+ function _(e, r) {
88
+ if (e.isDraftMode)
89
+ switch (r.type) {
90
+ case "cache":
91
+ case "unstable-cache":
92
+ case "request":
93
+ return r.draftMode;
94
+ default:
95
+ return;
96
+ }
97
+ }
98
+ }(n), n);
99
+ }
100
+ export {
101
+ b as __require
102
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../../../_virtual/dynamic-rendering-utils.cjs");var f;function h(){return f||(f=1,function(s){Object.defineProperty(s,"__esModule",{value:!0});function l(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}l(s,{isHangingPromiseRejectionError:function(){return m},makeHangingPromise:function(){return y}});function m(e){return typeof e!="object"||e===null||!("digest"in e)?!1:e.digest===u}const u="HANGING_PROMISE_REJECTION";class c extends Error{constructor(t){super(`During prerendering, ${t} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${t} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context.`),this.expression=t,this.digest=u}}const a=new WeakMap;function y(e,t){if(e.aborted)return Promise.reject(new c(t));{const n=new Promise((R,b)=>{const d=b.bind(null,new c(t));let g=a.get(e);if(g)g.push(d);else{const r=[d];a.set(e,r),e.addEventListener("abort",()=>{for(let i=0;i<r.length;i++)r[i]()},{once:!0})}});return n.catch(_),n}}function _(){}}(o.__exports)),o.__exports}exports.__require=h;
@@ -1 +1,62 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../../../_virtual/dynamic-rendering-utils.js");var f;function h(){return f||(f=1,function(s){Object.defineProperty(s,"__esModule",{value:!0});function l(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}l(s,{isHangingPromiseRejectionError:function(){return m},makeHangingPromise:function(){return y}});function m(e){return typeof e!="object"||e===null||!("digest"in e)?!1:e.digest===u}const u="HANGING_PROMISE_REJECTION";class c extends Error{constructor(t){super(`During prerendering, ${t} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${t} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context.`),this.expression=t,this.digest=u}}const a=new WeakMap;function y(e,t){if(e.aborted)return Promise.reject(new c(t));{const n=new Promise((R,b)=>{const d=b.bind(null,new c(t));let g=a.get(e);if(g)g.push(d);else{const r=[d];a.set(e,r),e.addEventListener("abort",()=>{for(let i=0;i<r.length;i++)r[i]()},{once:!0})}});return n.catch(_),n}}function _(){}}(o.__exports)),o.__exports}exports.__require=h;
1
+ import { __exports as o } from "../../../../_virtual/dynamic-rendering-utils.js";
2
+ var g;
3
+ function _() {
4
+ return g ? o : (g = 1, function(s) {
5
+ Object.defineProperty(s, "__esModule", {
6
+ value: !0
7
+ });
8
+ function l(e, n) {
9
+ for (var r in n) Object.defineProperty(e, r, {
10
+ enumerable: !0,
11
+ get: n[r]
12
+ });
13
+ }
14
+ l(s, {
15
+ isHangingPromiseRejectionError: function() {
16
+ return m;
17
+ },
18
+ makeHangingPromise: function() {
19
+ return h;
20
+ }
21
+ });
22
+ function m(e) {
23
+ return typeof e != "object" || e === null || !("digest" in e) ? !1 : e.digest === u;
24
+ }
25
+ const u = "HANGING_PROMISE_REJECTION";
26
+ class c extends Error {
27
+ constructor(n) {
28
+ super(`During prerendering, ${n} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${n} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context.`), this.expression = n, this.digest = u;
29
+ }
30
+ }
31
+ const a = /* @__PURE__ */ new WeakMap();
32
+ function h(e, n) {
33
+ if (e.aborted)
34
+ return Promise.reject(new c(n));
35
+ {
36
+ const r = new Promise((b, R) => {
37
+ const d = R.bind(null, new c(n));
38
+ let f = a.get(e);
39
+ if (f)
40
+ f.push(d);
41
+ else {
42
+ const t = [
43
+ d
44
+ ];
45
+ a.set(e, t), e.addEventListener("abort", () => {
46
+ for (let i = 0; i < t.length; i++)
47
+ t[i]();
48
+ }, {
49
+ once: !0
50
+ });
51
+ }
52
+ });
53
+ return r.catch(y), r;
54
+ }
55
+ }
56
+ function y() {
57
+ }
58
+ }(o), o);
59
+ }
60
+ export {
61
+ _ as __require
62
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../../../../_virtual/is-postpone.cjs");var n;function s(){return n||(n=1,function(o){Object.defineProperty(o,"__esModule",{value:!0}),Object.defineProperty(o,"isPostpone",{enumerable:!0,get:function(){return u}});const r=Symbol.for("react.postpone");function u(e){return typeof e=="object"&&e!==null&&e.$$typeof===r}}(t.__exports)),t.__exports}exports.__require=s;