@betterinternship/components 2.4.1 → 2.4.3

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 (542) hide show
  1. package/dist/components/ui/accordion.js +5 -5
  2. package/dist/components/ui/accordion.js.map +1 -1
  3. package/dist/components/ui/app-header.d.ts +8 -1
  4. package/dist/components/ui/app-header.js +18 -18
  5. package/dist/components/ui/app-header.js.map +1 -1
  6. package/dist/components/ui/avatar.js +4 -4
  7. package/dist/components/ui/avatar.js.map +1 -1
  8. package/dist/components/ui/badge.js +3 -3
  9. package/dist/components/ui/badge.js.map +1 -1
  10. package/dist/components/ui/button.js +2 -2
  11. package/dist/components/ui/button.js.map +1 -1
  12. package/dist/components/ui/card.js +8 -8
  13. package/dist/components/ui/card.js.map +1 -1
  14. package/dist/components/ui/checkbox.js +2 -2
  15. package/dist/components/ui/checkbox.js.map +1 -1
  16. package/dist/components/ui/dialog.js +12 -12
  17. package/dist/components/ui/dialog.js.map +1 -1
  18. package/dist/components/ui/dropdown-menu.js +16 -16
  19. package/dist/components/ui/dropdown-menu.js.map +1 -1
  20. package/dist/components/ui/icons.js +12 -12
  21. package/dist/components/ui/icons.js.map +1 -1
  22. package/dist/components/ui/input.js +3 -3
  23. package/dist/components/ui/input.js.map +1 -1
  24. package/dist/components/ui/label.js +2 -2
  25. package/dist/components/ui/label.js.map +1 -1
  26. package/dist/components/ui/page-header.d.ts +2 -1
  27. package/dist/components/ui/page-header.js +5 -5
  28. package/dist/components/ui/page-header.js.map +1 -1
  29. package/dist/components/ui/popover.js +5 -5
  30. package/dist/components/ui/popover.js.map +1 -1
  31. package/dist/components/ui/separator.js +2 -2
  32. package/dist/components/ui/separator.js.map +1 -1
  33. package/dist/components/ui/skeleton.js +2 -2
  34. package/dist/components/ui/skeleton.js.map +1 -1
  35. package/dist/components/ui/status-notice.js +4 -4
  36. package/dist/components/ui/status-notice.js.map +1 -1
  37. package/dist/components/ui/switch.js +2 -2
  38. package/dist/components/ui/switch.js.map +1 -1
  39. package/dist/components/ui/table.js +9 -9
  40. package/dist/components/ui/table.js.map +1 -1
  41. package/dist/components/ui/textarea.js +2 -2
  42. package/dist/components/ui/textarea.js.map +1 -1
  43. package/dist/components/ui/tooltip.js +5 -5
  44. package/dist/components/ui/tooltip.js.map +1 -1
  45. package/dist/hooks/useClientProcess.js +2 -2
  46. package/dist/index.d.ts +4 -4
  47. package/dist/index.js +4 -4
  48. package/package.json +2 -2
  49. package/dist/_virtual/_commonjsHelpers.js +0 -6
  50. package/dist/_virtual/_commonjsHelpers.js.map +0 -1
  51. package/dist/_virtual/_interop_require_default.js +0 -4
  52. package/dist/_virtual/_interop_require_default.js.map +0 -1
  53. package/dist/_virtual/_interop_require_wildcard.js +0 -4
  54. package/dist/_virtual/_interop_require_wildcard.js.map +0 -1
  55. package/dist/_virtual/action-async-storage-instance.js +0 -4
  56. package/dist/_virtual/action-async-storage-instance.js.map +0 -1
  57. package/dist/_virtual/action-async-storage.external.js +0 -4
  58. package/dist/_virtual/action-async-storage.external.js.map +0 -1
  59. package/dist/_virtual/action-revalidation-kind.js +0 -4
  60. package/dist/_virtual/action-revalidation-kind.js.map +0 -1
  61. package/dist/_virtual/add-base-path.js +0 -4
  62. package/dist/_virtual/add-base-path.js.map +0 -1
  63. package/dist/_virtual/add-locale.js +0 -4
  64. package/dist/_virtual/add-locale.js.map +0 -1
  65. package/dist/_virtual/add-locale2.js +0 -4
  66. package/dist/_virtual/add-locale2.js.map +0 -1
  67. package/dist/_virtual/add-path-prefix.js +0 -4
  68. package/dist/_virtual/add-path-prefix.js.map +0 -1
  69. package/dist/_virtual/app-paths.js +0 -4
  70. package/dist/_virtual/app-paths.js.map +0 -1
  71. package/dist/_virtual/app-router-context.shared-runtime.js +0 -4
  72. package/dist/_virtual/app-router-context.shared-runtime.js.map +0 -1
  73. package/dist/_virtual/app.js +0 -4
  74. package/dist/_virtual/app.js.map +0 -1
  75. package/dist/_virtual/async-local-storage.js +0 -4
  76. package/dist/_virtual/async-local-storage.js.map +0 -1
  77. package/dist/_virtual/bailout-to-csr.js +0 -4
  78. package/dist/_virtual/bailout-to-csr.js.map +0 -1
  79. package/dist/_virtual/blocking-route-messages.js +0 -4
  80. package/dist/_virtual/blocking-route-messages.js.map +0 -1
  81. package/dist/_virtual/boundary-constants.js +0 -4
  82. package/dist/_virtual/boundary-constants.js.map +0 -1
  83. package/dist/_virtual/boundary-constants2.js +0 -4
  84. package/dist/_virtual/boundary-constants2.js.map +0 -1
  85. package/dist/_virtual/boundary-tracking.js +0 -4
  86. package/dist/_virtual/boundary-tracking.js.map +0 -1
  87. package/dist/_virtual/constants.js +0 -4
  88. package/dist/_virtual/constants.js.map +0 -1
  89. package/dist/_virtual/cookies.js +0 -4
  90. package/dist/_virtual/cookies.js.map +0 -1
  91. package/dist/_virtual/deployment-id.js +0 -4
  92. package/dist/_virtual/deployment-id.js.map +0 -1
  93. package/dist/_virtual/detect-domain-locale.js +0 -4
  94. package/dist/_virtual/detect-domain-locale.js.map +0 -1
  95. package/dist/_virtual/detect-domain-locale2.js +0 -4
  96. package/dist/_virtual/detect-domain-locale2.js.map +0 -1
  97. package/dist/_virtual/dynamic-rendering-utils.js +0 -4
  98. package/dist/_virtual/dynamic-rendering-utils.js.map +0 -1
  99. package/dist/_virtual/dynamic-rendering.js +0 -4
  100. package/dist/_virtual/dynamic-rendering.js.map +0 -1
  101. package/dist/_virtual/ensure-leading-slash.js +0 -4
  102. package/dist/_virtual/ensure-leading-slash.js.map +0 -1
  103. package/dist/_virtual/error-once.js +0 -4
  104. package/dist/_virtual/error-once.js.map +0 -1
  105. package/dist/_virtual/escape-regexp.js +0 -4
  106. package/dist/_virtual/escape-regexp.js.map +0 -1
  107. package/dist/_virtual/find-closest-quality.js +0 -4
  108. package/dist/_virtual/find-closest-quality.js.map +0 -1
  109. package/dist/_virtual/forbidden.js +0 -4
  110. package/dist/_virtual/forbidden.js.map +0 -1
  111. package/dist/_virtual/format-url.js +0 -4
  112. package/dist/_virtual/format-url.js.map +0 -1
  113. package/dist/_virtual/get-domain-locale.js +0 -4
  114. package/dist/_virtual/get-domain-locale.js.map +0 -1
  115. package/dist/_virtual/get-dynamic-param.js +0 -4
  116. package/dist/_virtual/get-dynamic-param.js.map +0 -1
  117. package/dist/_virtual/get-img-props.js +0 -4
  118. package/dist/_virtual/get-img-props.js.map +0 -1
  119. package/dist/_virtual/get-segment-param.js +0 -4
  120. package/dist/_virtual/get-segment-param.js.map +0 -1
  121. package/dist/_virtual/has-base-path.js +0 -4
  122. package/dist/_virtual/has-base-path.js.map +0 -1
  123. package/dist/_virtual/head-manager-context.shared-runtime.js +0 -4
  124. package/dist/_virtual/head-manager-context.shared-runtime.js.map +0 -1
  125. package/dist/_virtual/head.js +0 -4
  126. package/dist/_virtual/head.js.map +0 -1
  127. package/dist/_virtual/headers.js +0 -4
  128. package/dist/_virtual/headers.js.map +0 -1
  129. package/dist/_virtual/hooks-client-context.shared-runtime.js +0 -4
  130. package/dist/_virtual/hooks-client-context.shared-runtime.js.map +0 -1
  131. package/dist/_virtual/hooks-server-context.js +0 -4
  132. package/dist/_virtual/hooks-server-context.js.map +0 -1
  133. package/dist/_virtual/http-access-fallback.js +0 -4
  134. package/dist/_virtual/http-access-fallback.js.map +0 -1
  135. package/dist/_virtual/image-blur-svg.js +0 -4
  136. package/dist/_virtual/image-blur-svg.js.map +0 -1
  137. package/dist/_virtual/image-component.js +0 -4
  138. package/dist/_virtual/image-component.js.map +0 -1
  139. package/dist/_virtual/image-config-context.shared-runtime.js +0 -4
  140. package/dist/_virtual/image-config-context.shared-runtime.js.map +0 -1
  141. package/dist/_virtual/image-config.js +0 -4
  142. package/dist/_virtual/image-config.js.map +0 -1
  143. package/dist/_virtual/image-external.js +0 -4
  144. package/dist/_virtual/image-external.js.map +0 -1
  145. package/dist/_virtual/image-loader.js +0 -4
  146. package/dist/_virtual/image-loader.js.map +0 -1
  147. package/dist/_virtual/image.js +0 -8
  148. package/dist/_virtual/image.js.map +0 -1
  149. package/dist/_virtual/index.js +0 -4
  150. package/dist/_virtual/index.js.map +0 -1
  151. package/dist/_virtual/index2.js +0 -4
  152. package/dist/_virtual/index2.js.map +0 -1
  153. package/dist/_virtual/index3.js +0 -4
  154. package/dist/_virtual/index3.js.map +0 -1
  155. package/dist/_virtual/instant-messages.js +0 -4
  156. package/dist/_virtual/instant-messages.js.map +0 -1
  157. package/dist/_virtual/instant-samples.js +0 -4
  158. package/dist/_virtual/instant-samples.js.map +0 -1
  159. package/dist/_virtual/instant-samples2.js +0 -4
  160. package/dist/_virtual/instant-samples2.js.map +0 -1
  161. package/dist/_virtual/instant-validation-error.js +0 -4
  162. package/dist/_virtual/instant-validation-error.js.map +0 -1
  163. package/dist/_virtual/interception-prefix-from-param-type.js +0 -4
  164. package/dist/_virtual/interception-prefix-from-param-type.js.map +0 -1
  165. package/dist/_virtual/interception-routes.js +0 -4
  166. package/dist/_virtual/interception-routes.js.map +0 -1
  167. package/dist/_virtual/interpolate-as.js +0 -4
  168. package/dist/_virtual/interpolate-as.js.map +0 -1
  169. package/dist/_virtual/invariant-error.js +0 -4
  170. package/dist/_virtual/invariant-error.js.map +0 -1
  171. package/dist/_virtual/is-dynamic.js +0 -4
  172. package/dist/_virtual/is-dynamic.js.map +0 -1
  173. package/dist/_virtual/is-local-url.js +0 -4
  174. package/dist/_virtual/is-local-url.js.map +0 -1
  175. package/dist/_virtual/is-next-router-error.js +0 -4
  176. package/dist/_virtual/is-next-router-error.js.map +0 -1
  177. package/dist/_virtual/is-postpone.js +0 -4
  178. package/dist/_virtual/is-postpone.js.map +0 -1
  179. package/dist/_virtual/jsx-runtime.js +0 -6
  180. package/dist/_virtual/jsx-runtime.js.map +0 -1
  181. package/dist/_virtual/jsx-runtime2.js +0 -4
  182. package/dist/_virtual/jsx-runtime2.js.map +0 -1
  183. package/dist/_virtual/link.js +0 -8
  184. package/dist/_virtual/link.js.map +0 -1
  185. package/dist/_virtual/link2.js +0 -4
  186. package/dist/_virtual/link2.js.map +0 -1
  187. package/dist/_virtual/match-local-pattern.js +0 -4
  188. package/dist/_virtual/match-local-pattern.js.map +0 -1
  189. package/dist/_virtual/match-remote-pattern.js +0 -4
  190. package/dist/_virtual/match-remote-pattern.js.map +0 -1
  191. package/dist/_virtual/navigation-dynamic-rendering.js +0 -4
  192. package/dist/_virtual/navigation-dynamic-rendering.js.map +0 -1
  193. package/dist/_virtual/navigation.js +0 -6
  194. package/dist/_virtual/navigation.js.map +0 -1
  195. package/dist/_virtual/navigation.react-server.js +0 -4
  196. package/dist/_virtual/navigation.react-server.js.map +0 -1
  197. package/dist/_virtual/navigation2.js +0 -4
  198. package/dist/_virtual/navigation2.js.map +0 -1
  199. package/dist/_virtual/normalize-locale-path.js +0 -4
  200. package/dist/_virtual/normalize-locale-path.js.map +0 -1
  201. package/dist/_virtual/normalize-locale-path2.js +0 -4
  202. package/dist/_virtual/normalize-locale-path2.js.map +0 -1
  203. package/dist/_virtual/normalize-trailing-slash.js +0 -4
  204. package/dist/_virtual/normalize-trailing-slash.js.map +0 -1
  205. package/dist/_virtual/not-found.js +0 -4
  206. package/dist/_virtual/not-found.js.map +0 -1
  207. package/dist/_virtual/omit.js +0 -4
  208. package/dist/_virtual/omit.js.map +0 -1
  209. package/dist/_virtual/parse-loader-tree.js +0 -4
  210. package/dist/_virtual/parse-loader-tree.js.map +0 -1
  211. package/dist/_virtual/parse-path.js +0 -4
  212. package/dist/_virtual/parse-path.js.map +0 -1
  213. package/dist/_virtual/parse-relative-url.js +0 -4
  214. package/dist/_virtual/parse-relative-url.js.map +0 -1
  215. package/dist/_virtual/path-has-prefix.js +0 -4
  216. package/dist/_virtual/path-has-prefix.js.map +0 -1
  217. package/dist/_virtual/promise-with-resolvers.js +0 -4
  218. package/dist/_virtual/promise-with-resolvers.js.map +0 -1
  219. package/dist/_virtual/querystring.js +0 -4
  220. package/dist/_virtual/querystring.js.map +0 -1
  221. package/dist/_virtual/react-jsx-runtime.development.js +0 -4
  222. package/dist/_virtual/react-jsx-runtime.development.js.map +0 -1
  223. package/dist/_virtual/react-jsx-runtime.production.js +0 -4
  224. package/dist/_virtual/react-jsx-runtime.production.js.map +0 -1
  225. package/dist/_virtual/readonly-url-search-params.js +0 -4
  226. package/dist/_virtual/readonly-url-search-params.js.map +0 -1
  227. package/dist/_virtual/redirect-error.js +0 -4
  228. package/dist/_virtual/redirect-error.js.map +0 -1
  229. package/dist/_virtual/redirect-status-code.js +0 -4
  230. package/dist/_virtual/redirect-status-code.js.map +0 -1
  231. package/dist/_virtual/redirect.js +0 -4
  232. package/dist/_virtual/redirect.js.map +0 -1
  233. package/dist/_virtual/reflect-utils.js +0 -4
  234. package/dist/_virtual/reflect-utils.js.map +0 -1
  235. package/dist/_virtual/reflect.js +0 -4
  236. package/dist/_virtual/reflect.js.map +0 -1
  237. package/dist/_virtual/remove-trailing-slash.js +0 -4
  238. package/dist/_virtual/remove-trailing-slash.js.map +0 -1
  239. package/dist/_virtual/request-cookies.js +0 -4
  240. package/dist/_virtual/request-cookies.js.map +0 -1
  241. package/dist/_virtual/request-idle-callback.js +0 -4
  242. package/dist/_virtual/request-idle-callback.js.map +0 -1
  243. package/dist/_virtual/resolve-href.js +0 -4
  244. package/dist/_virtual/resolve-href.js.map +0 -1
  245. package/dist/_virtual/resolve-param-value.js +0 -4
  246. package/dist/_virtual/resolve-param-value.js.map +0 -1
  247. package/dist/_virtual/route-match-utils.js +0 -4
  248. package/dist/_virtual/route-match-utils.js.map +0 -1
  249. package/dist/_virtual/route-matcher.js +0 -4
  250. package/dist/_virtual/route-matcher.js.map +0 -1
  251. package/dist/_virtual/route-pattern-normalizer.js +0 -4
  252. package/dist/_virtual/route-pattern-normalizer.js.map +0 -1
  253. package/dist/_virtual/route-regex.js +0 -4
  254. package/dist/_virtual/route-regex.js.map +0 -1
  255. package/dist/_virtual/router-context.shared-runtime.js +0 -4
  256. package/dist/_virtual/router-context.shared-runtime.js.map +0 -1
  257. package/dist/_virtual/runtime-reacts.external.js +0 -4
  258. package/dist/_virtual/runtime-reacts.external.js.map +0 -1
  259. package/dist/_virtual/scheduler.js +0 -4
  260. package/dist/_virtual/scheduler.js.map +0 -1
  261. package/dist/_virtual/segment.js +0 -4
  262. package/dist/_virtual/segment.js.map +0 -1
  263. package/dist/_virtual/server-async-storage.js +0 -4
  264. package/dist/_virtual/server-async-storage.js.map +0 -1
  265. package/dist/_virtual/server-inserted-html.shared-runtime.js +0 -4
  266. package/dist/_virtual/server-inserted-html.shared-runtime.js.map +0 -1
  267. package/dist/_virtual/side-effect.js +0 -4
  268. package/dist/_virtual/side-effect.js.map +0 -1
  269. package/dist/_virtual/sorted-routes.js +0 -4
  270. package/dist/_virtual/sorted-routes.js.map +0 -1
  271. package/dist/_virtual/staged-rendering.js +0 -4
  272. package/dist/_virtual/staged-rendering.js.map +0 -1
  273. package/dist/_virtual/static-generation-bailout.js +0 -4
  274. package/dist/_virtual/static-generation-bailout.js.map +0 -1
  275. package/dist/_virtual/unauthorized.js +0 -4
  276. package/dist/_virtual/unauthorized.js.map +0 -1
  277. package/dist/_virtual/unrecognized-action-error.js +0 -4
  278. package/dist/_virtual/unrecognized-action-error.js.map +0 -1
  279. package/dist/_virtual/unstable-rethrow.js +0 -4
  280. package/dist/_virtual/unstable-rethrow.js.map +0 -1
  281. package/dist/_virtual/use-intersection.js +0 -4
  282. package/dist/_virtual/use-intersection.js.map +0 -1
  283. package/dist/_virtual/use-merged-ref.js +0 -4
  284. package/dist/_virtual/use-merged-ref.js.map +0 -1
  285. package/dist/_virtual/utils.js +0 -4
  286. package/dist/_virtual/utils.js.map +0 -1
  287. package/dist/_virtual/warn-once.js +0 -4
  288. package/dist/_virtual/warn-once.js.map +0 -1
  289. package/dist/_virtual/work-async-storage-instance.js +0 -4
  290. package/dist/_virtual/work-async-storage-instance.js.map +0 -1
  291. package/dist/_virtual/work-async-storage.external.js +0 -4
  292. package/dist/_virtual/work-async-storage.external.js.map +0 -1
  293. package/dist/_virtual/work-unit-async-storage-instance.js +0 -4
  294. package/dist/_virtual/work-unit-async-storage-instance.js.map +0 -1
  295. package/dist/_virtual/work-unit-async-storage.external.js +0 -4
  296. package/dist/_virtual/work-unit-async-storage.external.js.map +0 -1
  297. package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +0 -17
  298. package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js.map +0 -1
  299. package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +0 -49
  300. package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js.map +0 -1
  301. package/dist/node_modules/next/dist/client/add-base-path.js +0 -39
  302. package/dist/node_modules/next/dist/client/add-base-path.js.map +0 -1
  303. package/dist/node_modules/next/dist/client/add-locale.js +0 -40
  304. package/dist/node_modules/next/dist/client/add-locale.js.map +0 -1
  305. package/dist/node_modules/next/dist/client/components/forbidden.js +0 -62
  306. package/dist/node_modules/next/dist/client/components/forbidden.js.map +0 -1
  307. package/dist/node_modules/next/dist/client/components/hooks-server-context.js +0 -51
  308. package/dist/node_modules/next/dist/client/components/hooks-server-context.js.map +0 -1
  309. package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +0 -78
  310. package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js.map +0 -1
  311. package/dist/node_modules/next/dist/client/components/instant-samples.js +0 -107
  312. package/dist/node_modules/next/dist/client/components/instant-samples.js.map +0 -1
  313. package/dist/node_modules/next/dist/client/components/is-next-router-error.js +0 -38
  314. package/dist/node_modules/next/dist/client/components/is-next-router-error.js.map +0 -1
  315. package/dist/node_modules/next/dist/client/components/navigation-dynamic-rendering.js +0 -41
  316. package/dist/node_modules/next/dist/client/components/navigation-dynamic-rendering.js.map +0 -1
  317. package/dist/node_modules/next/dist/client/components/navigation.js +0 -250
  318. package/dist/node_modules/next/dist/client/components/navigation.js.map +0 -1
  319. package/dist/node_modules/next/dist/client/components/navigation.react-server.js +0 -83
  320. package/dist/node_modules/next/dist/client/components/navigation.react-server.js.map +0 -1
  321. package/dist/node_modules/next/dist/client/components/not-found.js +0 -56
  322. package/dist/node_modules/next/dist/client/components/not-found.js.map +0 -1
  323. package/dist/node_modules/next/dist/client/components/readonly-url-search-params.js +0 -61
  324. package/dist/node_modules/next/dist/client/components/readonly-url-search-params.js.map +0 -1
  325. package/dist/node_modules/next/dist/client/components/redirect-error.js +0 -53
  326. package/dist/node_modules/next/dist/client/components/redirect-error.js.map +0 -1
  327. package/dist/node_modules/next/dist/client/components/redirect-status-code.js +0 -37
  328. package/dist/node_modules/next/dist/client/components/redirect-status-code.js.map +0 -1
  329. package/dist/node_modules/next/dist/client/components/redirect.js +0 -99
  330. package/dist/node_modules/next/dist/client/components/redirect.js.map +0 -1
  331. package/dist/node_modules/next/dist/client/components/server-async-storage.js +0 -48
  332. package/dist/node_modules/next/dist/client/components/server-async-storage.js.map +0 -1
  333. package/dist/node_modules/next/dist/client/components/static-generation-bailout.js +0 -51
  334. package/dist/node_modules/next/dist/client/components/static-generation-bailout.js.map +0 -1
  335. package/dist/node_modules/next/dist/client/components/unauthorized.js +0 -63
  336. package/dist/node_modules/next/dist/client/components/unauthorized.js.map +0 -1
  337. package/dist/node_modules/next/dist/client/components/unrecognized-action-error.js +0 -48
  338. package/dist/node_modules/next/dist/client/components/unrecognized-action-error.js.map +0 -1
  339. package/dist/node_modules/next/dist/client/components/unstable-rethrow.js +0 -51
  340. package/dist/node_modules/next/dist/client/components/unstable-rethrow.js.map +0 -1
  341. package/dist/node_modules/next/dist/client/detect-domain-locale.js +0 -37
  342. package/dist/node_modules/next/dist/client/detect-domain-locale.js.map +0 -1
  343. package/dist/node_modules/next/dist/client/get-domain-locale.js +0 -52
  344. package/dist/node_modules/next/dist/client/get-domain-locale.js.map +0 -1
  345. package/dist/node_modules/next/dist/client/has-base-path.js +0 -37
  346. package/dist/node_modules/next/dist/client/has-base-path.js.map +0 -1
  347. package/dist/node_modules/next/dist/client/image-component.js +0 -351
  348. package/dist/node_modules/next/dist/client/image-component.js.map +0 -1
  349. package/dist/node_modules/next/dist/client/link.js +0 -471
  350. package/dist/node_modules/next/dist/client/link.js.map +0 -1
  351. package/dist/node_modules/next/dist/client/normalize-locale-path.js +0 -41
  352. package/dist/node_modules/next/dist/client/normalize-locale-path.js.map +0 -1
  353. package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +0 -52
  354. package/dist/node_modules/next/dist/client/normalize-trailing-slash.js.map +0 -1
  355. package/dist/node_modules/next/dist/client/request-idle-callback.js +0 -53
  356. package/dist/node_modules/next/dist/client/request-idle-callback.js.map +0 -1
  357. package/dist/node_modules/next/dist/client/resolve-href.js +0 -129
  358. package/dist/node_modules/next/dist/client/resolve-href.js.map +0 -1
  359. package/dist/node_modules/next/dist/client/use-intersection.js +0 -129
  360. package/dist/node_modules/next/dist/client/use-intersection.js.map +0 -1
  361. package/dist/node_modules/next/dist/client/use-merged-ref.js +0 -83
  362. package/dist/node_modules/next/dist/client/use-merged-ref.js.map +0 -1
  363. package/dist/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js +0 -341
  364. package/dist/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js.map +0 -1
  365. package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js +0 -13
  366. package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js.map +0 -1
  367. package/dist/node_modules/next/dist/compiled/picomatch/index.js +0 -13
  368. package/dist/node_modules/next/dist/compiled/picomatch/index.js.map +0 -1
  369. package/dist/node_modules/next/dist/lib/constants.js +0 -370
  370. package/dist/node_modules/next/dist/lib/constants.js.map +0 -1
  371. package/dist/node_modules/next/dist/lib/framework/boundary-constants.js +0 -43
  372. package/dist/node_modules/next/dist/lib/framework/boundary-constants.js.map +0 -1
  373. package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js +0 -112
  374. package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js.map +0 -1
  375. package/dist/node_modules/next/dist/lib/scheduler.js +0 -71
  376. package/dist/node_modules/next/dist/lib/scheduler.js.map +0 -1
  377. package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js +0 -28
  378. package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js.map +0 -1
  379. package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js +0 -27
  380. package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js.map +0 -1
  381. package/dist/node_modules/next/dist/server/app-render/async-local-storage.js +0 -84
  382. package/dist/node_modules/next/dist/server/app-render/async-local-storage.js.map +0 -1
  383. package/dist/node_modules/next/dist/server/app-render/blocking-route-messages.js +0 -177
  384. package/dist/node_modules/next/dist/server/app-render/blocking-route-messages.js.map +0 -1
  385. package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +0 -1168
  386. package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js.map +0 -1
  387. package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js +0 -39
  388. package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js.map +0 -1
  389. package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js +0 -47
  390. package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js.map +0 -1
  391. package/dist/node_modules/next/dist/server/app-render/instant-validation/instant-samples.js +0 -427
  392. package/dist/node_modules/next/dist/server/app-render/instant-validation/instant-samples.js.map +0 -1
  393. package/dist/node_modules/next/dist/server/app-render/instant-validation/instant-validation-error.js +0 -42
  394. package/dist/node_modules/next/dist/server/app-render/instant-validation/instant-validation-error.js.map +0 -1
  395. package/dist/node_modules/next/dist/server/app-render/staged-rendering.js +0 -331
  396. package/dist/node_modules/next/dist/server/app-render/staged-rendering.js.map +0 -1
  397. package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js +0 -28
  398. package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js.map +0 -1
  399. package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js +0 -27
  400. package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js.map +0 -1
  401. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +0 -28
  402. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js.map +0 -1
  403. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +0 -211
  404. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js.map +0 -1
  405. package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +0 -269
  406. package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js.map +0 -1
  407. package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js +0 -29
  408. package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js.map +0 -1
  409. package/dist/node_modules/next/dist/server/runtime-reacts.external.js +0 -53
  410. package/dist/node_modules/next/dist/server/runtime-reacts.external.js.map +0 -1
  411. package/dist/node_modules/next/dist/server/web/spec-extension/adapters/headers.js +0 -303
  412. package/dist/node_modules/next/dist/server/web/spec-extension/adapters/headers.js.map +0 -1
  413. package/dist/node_modules/next/dist/server/web/spec-extension/adapters/reflect.js +0 -43
  414. package/dist/node_modules/next/dist/server/web/spec-extension/adapters/reflect.js.map +0 -1
  415. package/dist/node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.js +0 -233
  416. package/dist/node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.js.map +0 -1
  417. package/dist/node_modules/next/dist/server/web/spec-extension/cookies.js +0 -38
  418. package/dist/node_modules/next/dist/server/web/spec-extension/cookies.js.map +0 -1
  419. package/dist/node_modules/next/dist/shared/lib/action-revalidation-kind.js +0 -39
  420. package/dist/node_modules/next/dist/shared/lib/action-revalidation-kind.js.map +0 -1
  421. package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +0 -58
  422. package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js.map +0 -1
  423. package/dist/node_modules/next/dist/shared/lib/deployment-id.js +0 -70
  424. package/dist/node_modules/next/dist/shared/lib/deployment-id.js.map +0 -1
  425. package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +0 -34
  426. package/dist/node_modules/next/dist/shared/lib/escape-regexp.js.map +0 -1
  427. package/dist/node_modules/next/dist/shared/lib/find-closest-quality.js +0 -32
  428. package/dist/node_modules/next/dist/shared/lib/find-closest-quality.js.map +0 -1
  429. package/dist/node_modules/next/dist/shared/lib/get-img-props.js +0 -614
  430. package/dist/node_modules/next/dist/shared/lib/get-img-props.js.map +0 -1
  431. package/dist/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js +0 -33
  432. package/dist/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js.map +0 -1
  433. package/dist/node_modules/next/dist/shared/lib/head.js +0 -178
  434. package/dist/node_modules/next/dist/shared/lib/head.js.map +0 -1
  435. package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +0 -67
  436. package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js.map +0 -1
  437. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +0 -38
  438. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js.map +0 -1
  439. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +0 -67
  440. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js.map +0 -1
  441. package/dist/node_modules/next/dist/shared/lib/image-blur-svg.js +0 -37
  442. package/dist/node_modules/next/dist/shared/lib/image-blur-svg.js.map +0 -1
  443. package/dist/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js +0 -35
  444. package/dist/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js.map +0 -1
  445. package/dist/node_modules/next/dist/shared/lib/image-config.js +0 -86
  446. package/dist/node_modules/next/dist/shared/lib/image-config.js.map +0 -1
  447. package/dist/node_modules/next/dist/shared/lib/image-external.js +0 -60
  448. package/dist/node_modules/next/dist/shared/lib/image-external.js.map +0 -1
  449. package/dist/node_modules/next/dist/shared/lib/image-loader.js +0 -135
  450. package/dist/node_modules/next/dist/shared/lib/image-loader.js.map +0 -1
  451. package/dist/node_modules/next/dist/shared/lib/instant-messages.js +0 -52
  452. package/dist/node_modules/next/dist/shared/lib/instant-messages.js.map +0 -1
  453. package/dist/node_modules/next/dist/shared/lib/invariant-error.js +0 -36
  454. package/dist/node_modules/next/dist/shared/lib/invariant-error.js.map +0 -1
  455. package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +0 -45
  456. package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js.map +0 -1
  457. package/dist/node_modules/next/dist/shared/lib/match-local-pattern.js +0 -56
  458. package/dist/node_modules/next/dist/shared/lib/match-local-pattern.js.map +0 -1
  459. package/dist/node_modules/next/dist/shared/lib/match-remote-pattern.js +0 -73
  460. package/dist/node_modules/next/dist/shared/lib/match-remote-pattern.js.map +0 -1
  461. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +0 -33
  462. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js.map +0 -1
  463. package/dist/node_modules/next/dist/shared/lib/promise-with-resolvers.js +0 -39
  464. package/dist/node_modules/next/dist/shared/lib/promise-with-resolvers.js.map +0 -1
  465. package/dist/node_modules/next/dist/shared/lib/router/routes/app.js +0 -167
  466. package/dist/node_modules/next/dist/shared/lib/router/routes/app.js.map +0 -1
  467. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +0 -43
  468. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js.map +0 -1
  469. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +0 -34
  470. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js.map +0 -1
  471. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +0 -72
  472. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js.map +0 -1
  473. package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +0 -100
  474. package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js.map +0 -1
  475. package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +0 -184
  476. package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js.map +0 -1
  477. package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +0 -91
  478. package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js.map +0 -1
  479. package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +0 -40
  480. package/dist/node_modules/next/dist/shared/lib/router/utils/index.js.map +0 -1
  481. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-prefix-from-param-type.js +0 -46
  482. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-prefix-from-param-type.js.map +0 -1
  483. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +0 -116
  484. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js.map +0 -1
  485. package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +0 -68
  486. package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js.map +0 -1
  487. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +0 -40
  488. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js.map +0 -1
  489. package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +0 -41
  490. package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js.map +0 -1
  491. package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +0 -34
  492. package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js.map +0 -1
  493. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +0 -44
  494. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js.map +0 -1
  495. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +0 -48
  496. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js.map +0 -1
  497. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js +0 -58
  498. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js.map +0 -1
  499. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +0 -34
  500. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js.map +0 -1
  501. package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +0 -87
  502. package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js.map +0 -1
  503. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +0 -37
  504. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js.map +0 -1
  505. package/dist/node_modules/next/dist/shared/lib/router/utils/resolve-param-value.js +0 -129
  506. package/dist/node_modules/next/dist/shared/lib/router/utils/resolve-param-value.js.map +0 -1
  507. package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +0 -124
  508. package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js.map +0 -1
  509. package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +0 -60
  510. package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js.map +0 -1
  511. package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +0 -269
  512. package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js.map +0 -1
  513. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +0 -253
  514. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js.map +0 -1
  515. package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +0 -33
  516. package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js.map +0 -1
  517. package/dist/node_modules/next/dist/shared/lib/segment.js +0 -104
  518. package/dist/node_modules/next/dist/shared/lib/segment.js.map +0 -1
  519. package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +0 -46
  520. package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js.map +0 -1
  521. package/dist/node_modules/next/dist/shared/lib/side-effect.js +0 -77
  522. package/dist/node_modules/next/dist/shared/lib/side-effect.js.map +0 -1
  523. package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +0 -35
  524. package/dist/node_modules/next/dist/shared/lib/utils/error-once.js.map +0 -1
  525. package/dist/node_modules/next/dist/shared/lib/utils/reflect-utils.js +0 -72
  526. package/dist/node_modules/next/dist/shared/lib/utils/reflect-utils.js.map +0 -1
  527. package/dist/node_modules/next/dist/shared/lib/utils/warn-once.js +0 -35
  528. package/dist/node_modules/next/dist/shared/lib/utils/warn-once.js.map +0 -1
  529. package/dist/node_modules/next/dist/shared/lib/utils.js +0 -210
  530. package/dist/node_modules/next/dist/shared/lib/utils.js.map +0 -1
  531. package/dist/node_modules/next/image.js +0 -14
  532. package/dist/node_modules/next/image.js.map +0 -1
  533. package/dist/node_modules/next/link.js +0 -14
  534. package/dist/node_modules/next/link.js.map +0 -1
  535. package/dist/node_modules/next/navigation.js +0 -14
  536. package/dist/node_modules/next/navigation.js.map +0 -1
  537. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -364
  538. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +0 -1
  539. package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -45
  540. package/dist/node_modules/react/cjs/react-jsx-runtime.production.js.map +0 -1
  541. package/dist/node_modules/react/jsx-runtime.js +0 -20
  542. package/dist/node_modules/react/jsx-runtime.js.map +0 -1
@@ -1,40 +0,0 @@
1
- import { __exports as isDynamic } from '../../../../../../../_virtual/is-dynamic.js';
2
- import { __require as requireInterceptionRoutes } from './interception-routes.js';
3
-
4
- var hasRequiredIsDynamic;
5
-
6
- function requireIsDynamic () {
7
- if (hasRequiredIsDynamic) return isDynamic;
8
- hasRequiredIsDynamic = 1;
9
- (function (exports$1) {
10
- Object.defineProperty(exports$1, "__esModule", {
11
- value: true
12
- });
13
- Object.defineProperty(exports$1, "isDynamicRoute", {
14
- enumerable: true,
15
- get: function() {
16
- return isDynamicRoute;
17
- }
18
- });
19
- const _interceptionroutes = requireInterceptionRoutes();
20
- // Identify /.*[param].*/ in route string
21
- const TEST_ROUTE = /\/[^/]*\[[^/]+\][^/]*(?=\/|$)/;
22
- // Identify /[param]/ in route string
23
- const TEST_STRICT_ROUTE = /\/\[[^/]+\](?=\/|$)/;
24
- function isDynamicRoute(route, strict = true) {
25
- if ((0, _interceptionroutes.isInterceptionRouteAppPath)(route)) {
26
- route = (0, _interceptionroutes.extractInterceptionRouteInformation)(route).interceptedRoute;
27
- }
28
- if (strict) {
29
- return TEST_STRICT_ROUTE.test(route);
30
- }
31
- return TEST_ROUTE.test(route);
32
- }
33
-
34
-
35
- } (isDynamic));
36
- return isDynamic;
37
- }
38
-
39
- export { requireIsDynamic as __require };
40
- //# sourceMappingURL=is-dynamic.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-dynamic.js","sources":["../../../../../../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"isDynamicRoute\", {\n enumerable: true,\n get: function() {\n return isDynamicRoute;\n }\n});\nconst _interceptionroutes = require(\"./interception-routes\");\n// Identify /.*[param].*/ in route string\nconst TEST_ROUTE = /\\/[^/]*\\[[^/]+\\][^/]*(?=\\/|$)/;\n// Identify /[param]/ in route string\nconst TEST_STRICT_ROUTE = /\\/\\[[^/]+\\](?=\\/|$)/;\nfunction isDynamicRoute(route, strict = true) {\n if ((0, _interceptionroutes.isInterceptionRouteAppPath)(route)) {\n route = (0, _interceptionroutes.extractInterceptionRouteInformation)(route).interceptedRoute;\n }\n if (strict) {\n return TEST_STRICT_ROUTE.test(route);\n }\n return TEST_ROUTE.test(route);\n}\n\n//# sourceMappingURL=is-dynamic.js.map"],"names":["exports","require$$0"],"mappings":";;;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AACF,EAAA,MAAM,CAAC,cAAc,CAACA,SAAO,EAAE,gBAAgB,EAAE;MAC7C,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,cAAc;AAC7B,MAAA;AACA,GAAC,CAAC;EACF,MAAM,mBAAmB,GAAGC,yBAAA,EAAgC;AAC5D;EACA,MAAM,UAAU,GAAG,+BAA+B;AAClD;EACA,MAAM,iBAAiB,GAAG,qBAAqB;AAC/C,EAAA,SAAS,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAAE;MAC1C,IAAI,IAAI,mBAAmB,CAAC,0BAA0B,EAAE,KAAK,CAAC,EAAE;AACpE,UAAQ,KAAK,GAAG,IAAI,mBAAmB,CAAC,mCAAmC,EAAE,KAAK,CAAC,CAAC,gBAAgB;AACpG,MAAA;MACI,IAAI,MAAM,EAAE;AAChB,UAAQ,OAAO,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC;AAC5C,MAAA;AACA,MAAI,OAAO,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC;AACjC,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
@@ -1,41 +0,0 @@
1
- import { __exports as isLocalUrl } from '../../../../../../../_virtual/is-local-url.js';
2
- import { __require as requireUtils } from '../../utils.js';
3
- import { __require as requireHasBasePath } from '../../../../client/has-base-path.js';
4
-
5
- var hasRequiredIsLocalUrl;
6
-
7
- function requireIsLocalUrl () {
8
- if (hasRequiredIsLocalUrl) return isLocalUrl;
9
- hasRequiredIsLocalUrl = 1;
10
- (function (exports$1) {
11
- Object.defineProperty(exports$1, "__esModule", {
12
- value: true
13
- });
14
- Object.defineProperty(exports$1, "isLocalURL", {
15
- enumerable: true,
16
- get: function() {
17
- return isLocalURL;
18
- }
19
- });
20
- const _utils = requireUtils();
21
- const _hasbasepath = requireHasBasePath();
22
- function isLocalURL(url) {
23
- // prevent a hydration mismatch on href for url with anchor refs
24
- if (!(0, _utils.isAbsoluteUrl)(url)) return true;
25
- try {
26
- // absolute urls can be local if they are on the same origin
27
- const locationOrigin = (0, _utils.getLocationOrigin)();
28
- const resolved = new URL(url, locationOrigin);
29
- return resolved.origin === locationOrigin && (0, _hasbasepath.hasBasePath)(resolved.pathname);
30
- } catch (_) {
31
- return false;
32
- }
33
- }
34
-
35
-
36
- } (isLocalUrl));
37
- return isLocalUrl;
38
- }
39
-
40
- export { requireIsLocalUrl as __require };
41
- //# sourceMappingURL=is-local-url.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-local-url.js","sources":["../../../../../../../../node_modules/next/dist/shared/lib/router/utils/is-local-url.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"isLocalURL\", {\n enumerable: true,\n get: function() {\n return isLocalURL;\n }\n});\nconst _utils = require(\"../../utils\");\nconst _hasbasepath = require(\"../../../../client/has-base-path\");\nfunction isLocalURL(url) {\n // prevent a hydration mismatch on href for url with anchor refs\n if (!(0, _utils.isAbsoluteUrl)(url)) return true;\n try {\n // absolute urls can be local if they are on the same origin\n const locationOrigin = (0, _utils.getLocationOrigin)();\n const resolved = new URL(url, locationOrigin);\n return resolved.origin === locationOrigin && (0, _hasbasepath.hasBasePath)(resolved.pathname);\n } catch (_) {\n return false;\n }\n}\n\n//# sourceMappingURL=is-local-url.js.map"],"names":["exports","require$$0","require$$1"],"mappings":";;;;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AACF,EAAA,MAAM,CAAC,cAAc,CAACA,SAAO,EAAE,YAAY,EAAE;MACzC,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,UAAU;AACzB,MAAA;AACA,GAAC,CAAC;EACF,MAAM,MAAM,GAAGC,YAAA,EAAsB;EACrC,MAAM,YAAY,GAAGC,kBAAA,EAA2C;EAChE,SAAS,UAAU,CAAC,GAAG,EAAE;AACzB;AACA,MAAI,IAAI,CAAC,IAAI,MAAM,CAAC,aAAa,EAAE,GAAG,CAAC,EAAE,OAAO,IAAI;AACpD,MAAI,IAAI;AACR;UACQ,MAAM,cAAc,GAAG,CAAC,CAAC,EAAE,MAAM,CAAC,iBAAiB,GAAG;UACtD,MAAM,QAAQ,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,cAAc,CAAC;AACrD,UAAQ,OAAO,QAAQ,CAAC,MAAM,KAAK,cAAc,IAAI,CAAC,CAAC,EAAE,YAAY,CAAC,WAAW,EAAE,QAAQ,CAAC,QAAQ,CAAC;MACrG,CAAK,CAAC,OAAO,CAAC,EAAE;AAChB,UAAQ,OAAO,KAAK;AACpB,MAAA;AACA,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
@@ -1,34 +0,0 @@
1
- import { __exports as omit } from '../../../../../../../_virtual/omit.js';
2
-
3
- var hasRequiredOmit;
4
-
5
- function requireOmit () {
6
- if (hasRequiredOmit) return omit;
7
- hasRequiredOmit = 1;
8
- (function (exports$1) {
9
- Object.defineProperty(exports$1, "__esModule", {
10
- value: true
11
- });
12
- Object.defineProperty(exports$1, "omit", {
13
- enumerable: true,
14
- get: function() {
15
- return omit;
16
- }
17
- });
18
- function omit(object, keys) {
19
- const omitted = {};
20
- Object.keys(object).forEach((key)=>{
21
- if (!keys.includes(key)) {
22
- omitted[key] = object[key];
23
- }
24
- });
25
- return omitted;
26
- }
27
-
28
-
29
- } (omit));
30
- return omit;
31
- }
32
-
33
- export { requireOmit as __require };
34
- //# sourceMappingURL=omit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"omit.js","sources":["../../../../../../../../node_modules/next/dist/shared/lib/router/utils/omit.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"omit\", {\n enumerable: true,\n get: function() {\n return omit;\n }\n});\nfunction omit(object, keys) {\n const omitted = {};\n Object.keys(object).forEach((key)=>{\n if (!keys.includes(key)) {\n omitted[key] = object[key];\n }\n });\n return omitted;\n}\n\n//# sourceMappingURL=omit.js.map"],"names":["exports"],"mappings":";;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AACF,EAAA,MAAM,CAAC,cAAc,CAACA,SAAO,EAAE,MAAM,EAAE;MACnC,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,IAAI;AACnB,MAAA;AACA,GAAC,CAAC;AACF,EAAA,SAAS,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE;MACxB,MAAM,OAAO,GAAG,EAAE;MAClB,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,GAAG;UAC/B,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;cACrB,OAAO,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC;AACtC,UAAA;AACA,MAAA,CAAK,CAAC;AACN,MAAI,OAAO,OAAO;AAClB,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
@@ -1,44 +0,0 @@
1
- import { __exports as parseLoaderTree } from '../../../../../../../_virtual/parse-loader-tree.js';
2
- import { __require as requireSegment } from '../../segment.js';
3
-
4
- var hasRequiredParseLoaderTree;
5
-
6
- function requireParseLoaderTree () {
7
- if (hasRequiredParseLoaderTree) return parseLoaderTree;
8
- hasRequiredParseLoaderTree = 1;
9
- (function (exports$1) {
10
- Object.defineProperty(exports$1, "__esModule", {
11
- value: true
12
- });
13
- Object.defineProperty(exports$1, "parseLoaderTree", {
14
- enumerable: true,
15
- get: function() {
16
- return parseLoaderTree;
17
- }
18
- });
19
- const _segment = requireSegment();
20
- function parseLoaderTree(tree) {
21
- const [segment, parallelRoutes, modules, staticSiblings] = tree;
22
- const { layout, template } = modules;
23
- let { page } = modules;
24
- // a __DEFAULT__ segment means that this route didn't match any of the
25
- // segments in the route, so we should use the default page
26
- page = segment === _segment.DEFAULT_SEGMENT_KEY ? modules.defaultPage : page;
27
- const conventionPath = layout?.[1] || template?.[1] || page?.[1];
28
- return {
29
- page,
30
- segment,
31
- modules,
32
- /* it can be either layout / template / page */ conventionPath,
33
- parallelRoutes,
34
- staticSiblings
35
- };
36
- }
37
-
38
-
39
- } (parseLoaderTree));
40
- return parseLoaderTree;
41
- }
42
-
43
- export { requireParseLoaderTree as __require };
44
- //# sourceMappingURL=parse-loader-tree.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parse-loader-tree.js","sources":["../../../../../../../../node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"parseLoaderTree\", {\n enumerable: true,\n get: function() {\n return parseLoaderTree;\n }\n});\nconst _segment = require(\"../../segment\");\nfunction parseLoaderTree(tree) {\n const [segment, parallelRoutes, modules, staticSiblings] = tree;\n const { layout, template } = modules;\n let { page } = modules;\n // a __DEFAULT__ segment means that this route didn't match any of the\n // segments in the route, so we should use the default page\n page = segment === _segment.DEFAULT_SEGMENT_KEY ? modules.defaultPage : page;\n const conventionPath = layout?.[1] || template?.[1] || page?.[1];\n return {\n page,\n segment,\n modules,\n /* it can be either layout / template / page */ conventionPath,\n parallelRoutes,\n staticSiblings\n };\n}\n\n//# sourceMappingURL=parse-loader-tree.js.map"],"names":["exports","require$$0"],"mappings":";;;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AACF,EAAA,MAAM,CAAC,cAAc,CAACA,SAAO,EAAE,iBAAiB,EAAE;MAC9C,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,eAAe;AAC9B,MAAA;AACA,GAAC,CAAC;EACF,MAAM,QAAQ,GAAGC,cAAA,EAAwB;EACzC,SAAS,eAAe,CAAC,IAAI,EAAE;MAC3B,MAAM,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,cAAc,CAAC,GAAG,IAAI;AACnE,MAAI,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,OAAO;AACxC,MAAI,IAAI,EAAE,IAAI,EAAE,GAAG,OAAO;AAC1B;AACA;AACA,MAAI,IAAI,GAAG,OAAO,KAAK,QAAQ,CAAC,mBAAmB,GAAG,OAAO,CAAC,WAAW,GAAG,IAAI;AAChF,MAAI,MAAM,cAAc,GAAG,MAAM,GAAG,CAAC,CAAC,IAAI,QAAQ,GAAG,CAAC,CAAC,IAAI,IAAI,GAAG,CAAC,CAAC;AACpE,MAAI,OAAO;AACX,UAAQ,IAAI;AACZ,UAAQ,OAAO;AACf,UAAQ,OAAO;AACf,0DAAwD,cAAc;AACtE,UAAQ,cAAc;UACd;OACH;AACL,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
@@ -1,48 +0,0 @@
1
- import { __exports as parsePath } from '../../../../../../../_virtual/parse-path.js';
2
-
3
- /**
4
- * Given a path this function will find the pathname, query and hash and return
5
- * them. This is useful to parse full paths on the client side.
6
- * @param path A path to parse e.g. /foo/bar?id=1#hash
7
- */
8
-
9
- var hasRequiredParsePath;
10
-
11
- function requireParsePath () {
12
- if (hasRequiredParsePath) return parsePath;
13
- hasRequiredParsePath = 1;
14
- (function (exports$1) {
15
- Object.defineProperty(exports$1, "__esModule", {
16
- value: true
17
- });
18
- Object.defineProperty(exports$1, "parsePath", {
19
- enumerable: true,
20
- get: function() {
21
- return parsePath;
22
- }
23
- });
24
- function parsePath(path) {
25
- const hashIndex = path.indexOf('#');
26
- const queryIndex = path.indexOf('?');
27
- const hasQuery = queryIndex > -1 && (hashIndex < 0 || queryIndex < hashIndex);
28
- if (hasQuery || hashIndex > -1) {
29
- return {
30
- pathname: path.substring(0, hasQuery ? queryIndex : hashIndex),
31
- query: hasQuery ? path.substring(queryIndex, hashIndex > -1 ? hashIndex : undefined) : '',
32
- hash: hashIndex > -1 ? path.slice(hashIndex) : ''
33
- };
34
- }
35
- return {
36
- pathname: path,
37
- query: '',
38
- hash: ''
39
- };
40
- }
41
-
42
-
43
- } (parsePath));
44
- return parsePath;
45
- }
46
-
47
- export { requireParsePath as __require };
48
- //# sourceMappingURL=parse-path.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parse-path.js","sources":["../../../../../../../../node_modules/next/dist/shared/lib/router/utils/parse-path.js"],"sourcesContent":["/**\n * Given a path this function will find the pathname, query and hash and return\n * them. This is useful to parse full paths on the client side.\n * @param path A path to parse e.g. /foo/bar?id=1#hash\n */ \"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"parsePath\", {\n enumerable: true,\n get: function() {\n return parsePath;\n }\n});\nfunction parsePath(path) {\n const hashIndex = path.indexOf('#');\n const queryIndex = path.indexOf('?');\n const hasQuery = queryIndex > -1 && (hashIndex < 0 || queryIndex < hashIndex);\n if (hasQuery || hashIndex > -1) {\n return {\n pathname: path.substring(0, hasQuery ? queryIndex : hashIndex),\n query: hasQuery ? path.substring(queryIndex, hashIndex > -1 ? hashIndex : undefined) : '',\n hash: hashIndex > -1 ? path.slice(hashIndex) : ''\n };\n }\n return {\n pathname: path,\n query: '',\n hash: ''\n };\n}\n\n//# sourceMappingURL=parse-path.js.map"],"names":["exports"],"mappings":";;;;;;;;;;;;;;AAKA,EAAA,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AACF,EAAA,MAAM,CAAC,cAAc,CAACA,SAAO,EAAE,WAAW,EAAE;MACxC,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,SAAS;AACxB,MAAA;AACA,GAAC,CAAC;EACF,SAAS,SAAS,CAAC,IAAI,EAAE;MACrB,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC;MACnC,MAAM,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC;AACxC,MAAI,MAAM,QAAQ,GAAG,UAAU,GAAG,EAAE,KAAK,SAAS,GAAG,CAAC,IAAI,UAAU,GAAG,SAAS,CAAC;AACjF,MAAI,IAAI,QAAQ,IAAI,SAAS,GAAG,EAAE,EAAE;AACpC,UAAQ,OAAO;AACf,cAAY,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;cAC9D,KAAK,EAAE,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,SAAS,GAAG,EAAE,GAAG,SAAS,GAAG,SAAS,CAAC,GAAG,EAAE;AACrG,cAAY,IAAI,EAAE,SAAS,GAAG,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,GAAG;WAClD;AACT,MAAA;AACA,MAAI,OAAO;UACH,QAAQ,EAAE,IAAI;UACd,KAAK,EAAE,EAAE;AACjB,UAAQ,IAAI,EAAE;OACT;AACL,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
@@ -1,58 +0,0 @@
1
- import { __exports as parseRelativeUrl } from '../../../../../../../_virtual/parse-relative-url.js';
2
- import { __require as requireUtils } from '../../utils.js';
3
- import { __require as requireQuerystring } from './querystring.js';
4
-
5
- var hasRequiredParseRelativeUrl;
6
-
7
- function requireParseRelativeUrl () {
8
- if (hasRequiredParseRelativeUrl) return parseRelativeUrl;
9
- hasRequiredParseRelativeUrl = 1;
10
- (function (exports$1) {
11
- Object.defineProperty(exports$1, "__esModule", {
12
- value: true
13
- });
14
- Object.defineProperty(exports$1, "parseRelativeUrl", {
15
- enumerable: true,
16
- get: function() {
17
- return parseRelativeUrl;
18
- }
19
- });
20
- const _utils = requireUtils();
21
- const _querystring = requireQuerystring();
22
- function parseRelativeUrl(url, base, parseQuery = true) {
23
- const globalBase = new URL(typeof window === 'undefined' ? 'http://n' : (0, _utils.getLocationOrigin)());
24
- const resolvedBase = base ? new URL(base, globalBase) : url.startsWith('.') ? new URL(typeof window === 'undefined' ? 'http://n' : window.location.href) : globalBase;
25
- const { pathname, searchParams, search, hash, href, origin } = url.startsWith('/') ? // See https://nodejs.org/api/http.html#messageurl
26
- // Not using `origin` to support other protocols
27
- new URL(`${resolvedBase.protocol}//${resolvedBase.host}${url}`) : new URL(url, resolvedBase);
28
- if (origin !== globalBase.origin) {
29
- throw Object.defineProperty(new Error(`invariant: invalid relative URL, router received ${url}`), "__NEXT_ERROR_CODE", {
30
- value: "E159",
31
- enumerable: false,
32
- configurable: true
33
- });
34
- }
35
- return {
36
- auth: null,
37
- host: null,
38
- hostname: null,
39
- pathname,
40
- port: null,
41
- protocol: null,
42
- query: parseQuery ? (0, _querystring.searchParamsToUrlQuery)(searchParams) : undefined,
43
- search,
44
- hash,
45
- href: href.slice(origin.length),
46
- // We don't know for relative URLs at this point since we set a custom, internal
47
- // base that isn't surfaced to users.
48
- slashes: null
49
- };
50
- }
51
-
52
-
53
- } (parseRelativeUrl));
54
- return parseRelativeUrl;
55
- }
56
-
57
- export { requireParseRelativeUrl as __require };
58
- //# sourceMappingURL=parse-relative-url.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parse-relative-url.js","sources":["../../../../../../../../node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"parseRelativeUrl\", {\n enumerable: true,\n get: function() {\n return parseRelativeUrl;\n }\n});\nconst _utils = require(\"../../utils\");\nconst _querystring = require(\"./querystring\");\nfunction parseRelativeUrl(url, base, parseQuery = true) {\n const globalBase = new URL(typeof window === 'undefined' ? 'http://n' : (0, _utils.getLocationOrigin)());\n const resolvedBase = base ? new URL(base, globalBase) : url.startsWith('.') ? new URL(typeof window === 'undefined' ? 'http://n' : window.location.href) : globalBase;\n const { pathname, searchParams, search, hash, href, origin } = url.startsWith('/') ? // See https://nodejs.org/api/http.html#messageurl\n // Not using `origin` to support other protocols\n new URL(`${resolvedBase.protocol}//${resolvedBase.host}${url}`) : new URL(url, resolvedBase);\n if (origin !== globalBase.origin) {\n throw Object.defineProperty(new Error(`invariant: invalid relative URL, router received ${url}`), \"__NEXT_ERROR_CODE\", {\n value: \"E159\",\n enumerable: false,\n configurable: true\n });\n }\n return {\n auth: null,\n host: null,\n hostname: null,\n pathname,\n port: null,\n protocol: null,\n query: parseQuery ? (0, _querystring.searchParamsToUrlQuery)(searchParams) : undefined,\n search,\n hash,\n href: href.slice(origin.length),\n // We don't know for relative URLs at this point since we set a custom, internal\n // base that isn't surfaced to users.\n slashes: null\n };\n}\n\n//# sourceMappingURL=parse-relative-url.js.map"],"names":["exports","require$$0","require$$1"],"mappings":";;;;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AACF,EAAA,MAAM,CAAC,cAAc,CAACA,SAAO,EAAE,kBAAkB,EAAE;MAC/C,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,gBAAgB;AAC/B,MAAA;AACA,GAAC,CAAC;EACF,MAAM,MAAM,GAAGC,YAAA,EAAsB;EACrC,MAAM,YAAY,GAAGC,kBAAA,EAAwB;EAC7C,SAAS,gBAAgB,CAAC,GAAG,EAAE,IAAI,EAAE,UAAU,GAAG,IAAI,EAAE;MACpD,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,OAAO,MAAM,KAAK,WAAW,GAAG,UAAU,GAAG,IAAI,MAAM,CAAC,iBAAiB,GAAG,CAAC;AAC5G,MAAI,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE,UAAU,CAAC,GAAG,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,OAAO,MAAM,KAAK,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,UAAU;MACrK,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC;AACtF;MACI,IAAI,GAAG,CAAC,CAAC,EAAE,YAAY,CAAC,QAAQ,CAAC,EAAE,EAAE,YAAY,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,YAAY,CAAC;AAChG,MAAI,IAAI,MAAM,KAAK,UAAU,CAAC,MAAM,EAAE;AACtC,UAAQ,MAAM,MAAM,CAAC,cAAc,CAAC,IAAI,KAAK,CAAC,CAAC,iDAAiD,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,mBAAmB,EAAE;cACnH,KAAK,EAAE,MAAM;cACb,UAAU,EAAE,KAAK;AAC7B,cAAY,YAAY,EAAE;AAC1B,WAAS,CAAC;AACV,MAAA;AACA,MAAI,OAAO;UACH,IAAI,EAAE,IAAI;UACV,IAAI,EAAE,IAAI;UACV,QAAQ,EAAE,IAAI;AACtB,UAAQ,QAAQ;UACR,IAAI,EAAE,IAAI;UACV,QAAQ,EAAE,IAAI;AACtB,UAAQ,KAAK,EAAE,UAAU,GAAG,IAAI,YAAY,CAAC,sBAAsB,EAAE,YAAY,CAAC,GAAG,SAAS;AAC9F,UAAQ,MAAM;AACd,UAAQ,IAAI;UACJ,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC;AACvC;AACA;AACA,UAAQ,OAAO,EAAE;OACZ;AACL,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
@@ -1,34 +0,0 @@
1
- import { __exports as pathHasPrefix } from '../../../../../../../_virtual/path-has-prefix.js';
2
- import { __require as requireParsePath } from './parse-path.js';
3
-
4
- var hasRequiredPathHasPrefix;
5
-
6
- function requirePathHasPrefix () {
7
- if (hasRequiredPathHasPrefix) return pathHasPrefix;
8
- hasRequiredPathHasPrefix = 1;
9
- (function (exports$1) {
10
- Object.defineProperty(exports$1, "__esModule", {
11
- value: true
12
- });
13
- Object.defineProperty(exports$1, "pathHasPrefix", {
14
- enumerable: true,
15
- get: function() {
16
- return pathHasPrefix;
17
- }
18
- });
19
- const _parsepath = requireParsePath();
20
- function pathHasPrefix(path, prefix) {
21
- if (typeof path !== 'string') {
22
- return false;
23
- }
24
- const { pathname } = (0, _parsepath.parsePath)(path);
25
- return pathname === prefix || pathname.startsWith(prefix + '/');
26
- }
27
-
28
-
29
- } (pathHasPrefix));
30
- return pathHasPrefix;
31
- }
32
-
33
- export { requirePathHasPrefix as __require };
34
- //# sourceMappingURL=path-has-prefix.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"path-has-prefix.js","sources":["../../../../../../../../node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"pathHasPrefix\", {\n enumerable: true,\n get: function() {\n return pathHasPrefix;\n }\n});\nconst _parsepath = require(\"./parse-path\");\nfunction pathHasPrefix(path, prefix) {\n if (typeof path !== 'string') {\n return false;\n }\n const { pathname } = (0, _parsepath.parsePath)(path);\n return pathname === prefix || pathname.startsWith(prefix + '/');\n}\n\n//# sourceMappingURL=path-has-prefix.js.map"],"names":["exports","require$$0"],"mappings":";;;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AACF,EAAA,MAAM,CAAC,cAAc,CAACA,SAAO,EAAE,eAAe,EAAE;MAC5C,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,aAAa;AAC5B,MAAA;AACA,GAAC,CAAC;EACF,MAAM,UAAU,GAAGC,gBAAA,EAAuB;AAC1C,EAAA,SAAS,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE;AACrC,MAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;AAClC,UAAQ,OAAO,KAAK;AACpB,MAAA;AACA,MAAI,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC;AACxD,MAAI,OAAO,QAAQ,KAAK,MAAM,IAAI,QAAQ,CAAC,UAAU,CAAC,MAAM,GAAG,GAAG,CAAC;AACnE,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
@@ -1,87 +0,0 @@
1
- import { __exports as querystring } from '../../../../../../../_virtual/querystring.js';
2
-
3
- var hasRequiredQuerystring;
4
-
5
- function requireQuerystring () {
6
- if (hasRequiredQuerystring) return querystring;
7
- hasRequiredQuerystring = 1;
8
- (function (exports$1) {
9
- Object.defineProperty(exports$1, "__esModule", {
10
- value: true
11
- });
12
- function _export(target, all) {
13
- for(var name in all)Object.defineProperty(target, name, {
14
- enumerable: true,
15
- get: all[name]
16
- });
17
- }
18
- _export(exports$1, {
19
- assign: function() {
20
- return assign;
21
- },
22
- searchParamsToUrlQuery: function() {
23
- return searchParamsToUrlQuery;
24
- },
25
- urlQueryToSearchParams: function() {
26
- return urlQueryToSearchParams;
27
- }
28
- });
29
- function searchParamsToUrlQuery(searchParams) {
30
- const query = {};
31
- for (const [key, value] of searchParams.entries()){
32
- const existing = query[key];
33
- if (typeof existing === 'undefined') {
34
- query[key] = value;
35
- } else if (Array.isArray(existing)) {
36
- existing.push(value);
37
- } else {
38
- query[key] = [
39
- existing,
40
- value
41
- ];
42
- }
43
- }
44
- return query;
45
- }
46
- function stringifyUrlQueryParam(param) {
47
- if (typeof param === 'string') {
48
- return param;
49
- }
50
- if (typeof param === 'number' && !isNaN(param) || typeof param === 'boolean') {
51
- return String(param);
52
- } else {
53
- return '';
54
- }
55
- }
56
- function urlQueryToSearchParams(query) {
57
- const searchParams = new URLSearchParams();
58
- for (const [key, value] of Object.entries(query)){
59
- if (Array.isArray(value)) {
60
- for (const item of value){
61
- searchParams.append(key, stringifyUrlQueryParam(item));
62
- }
63
- } else {
64
- searchParams.set(key, stringifyUrlQueryParam(value));
65
- }
66
- }
67
- return searchParams;
68
- }
69
- function assign(target, ...searchParamsList) {
70
- for (const searchParams of searchParamsList){
71
- for (const key of searchParams.keys()){
72
- target.delete(key);
73
- }
74
- for (const [key, value] of searchParams.entries()){
75
- target.append(key, value);
76
- }
77
- }
78
- return target;
79
- }
80
-
81
-
82
- } (querystring));
83
- return querystring;
84
- }
85
-
86
- export { requireQuerystring as __require };
87
- //# sourceMappingURL=querystring.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"querystring.js","sources":["../../../../../../../../node_modules/next/dist/shared/lib/router/utils/querystring.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n assign: null,\n searchParamsToUrlQuery: null,\n urlQueryToSearchParams: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n assign: function() {\n return assign;\n },\n searchParamsToUrlQuery: function() {\n return searchParamsToUrlQuery;\n },\n urlQueryToSearchParams: function() {\n return urlQueryToSearchParams;\n }\n});\nfunction searchParamsToUrlQuery(searchParams) {\n const query = {};\n for (const [key, value] of searchParams.entries()){\n const existing = query[key];\n if (typeof existing === 'undefined') {\n query[key] = value;\n } else if (Array.isArray(existing)) {\n existing.push(value);\n } else {\n query[key] = [\n existing,\n value\n ];\n }\n }\n return query;\n}\nfunction stringifyUrlQueryParam(param) {\n if (typeof param === 'string') {\n return param;\n }\n if (typeof param === 'number' && !isNaN(param) || typeof param === 'boolean') {\n return String(param);\n } else {\n return '';\n }\n}\nfunction urlQueryToSearchParams(query) {\n const searchParams = new URLSearchParams();\n for (const [key, value] of Object.entries(query)){\n if (Array.isArray(value)) {\n for (const item of value){\n searchParams.append(key, stringifyUrlQueryParam(item));\n }\n } else {\n searchParams.set(key, stringifyUrlQueryParam(value));\n }\n }\n return searchParams;\n}\nfunction assign(target, ...searchParamsList) {\n for (const searchParams of searchParamsList){\n for (const key of searchParams.keys()){\n target.delete(key);\n }\n for (const [key, value] of searchParams.entries()){\n target.append(key, value);\n }\n }\n return target;\n}\n\n//# sourceMappingURL=querystring.js.map"],"names":["exports"],"mappings":";;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AAMF,EAAA,SAAS,OAAO,CAAC,MAAM,EAAE,GAAG,EAAE;AAC9B,MAAI,IAAI,IAAI,IAAI,IAAI,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,IAAI,EAAE;UACpD,UAAU,EAAE,IAAI;AACxB,UAAQ,GAAG,EAAE,GAAG,CAAC,IAAI;AACrB,OAAK,CAAC;AACN,EAAA;EACA,OAAO,CAACA,SAAO,EAAE;MACb,MAAM,EAAE,WAAW;AACvB,UAAQ,OAAO,MAAM;MACrB,CAAK;MACD,sBAAsB,EAAE,WAAW;AACvC,UAAQ,OAAO,sBAAsB;MACrC,CAAK;MACD,sBAAsB,EAAE,WAAW;AACvC,UAAQ,OAAO,sBAAsB;AACrC,MAAA;AACA,GAAC,CAAC;EACF,SAAS,sBAAsB,CAAC,YAAY,EAAE;MAC1C,MAAM,KAAK,GAAG,EAAE;AACpB,MAAI,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,YAAY,CAAC,OAAO,EAAE,CAAC;AACtD,UAAQ,MAAM,QAAQ,GAAG,KAAK,CAAC,GAAG,CAAC;AACnC,UAAQ,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE;AAC7C,cAAY,KAAK,CAAC,GAAG,CAAC,GAAG,KAAK;UAC9B,CAAS,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;AAC5C,cAAY,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC;AAChC,UAAA,CAAS,MAAM;AACf,cAAY,KAAK,CAAC,GAAG,CAAC,GAAG;AACzB,kBAAgB,QAAQ;kBACR;eACH;AACb,UAAA;AACA,MAAA;AACA,MAAI,OAAO,KAAK;AAChB,EAAA;EACA,SAAS,sBAAsB,CAAC,KAAK,EAAE;AACvC,MAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AACnC,UAAQ,OAAO,KAAK;AACpB,MAAA;AACA,MAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,OAAO,KAAK,KAAK,SAAS,EAAE;AAClF,UAAQ,OAAO,MAAM,CAAC,KAAK,CAAC;AAC5B,MAAA,CAAK,MAAM;AACX,UAAQ,OAAO,EAAE;AACjB,MAAA;AACA,EAAA;EACA,SAAS,sBAAsB,CAAC,KAAK,EAAE;AACvC,MAAI,MAAM,YAAY,GAAG,IAAI,eAAe,EAAE;AAC9C,MAAI,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AACrD,UAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;AAClC,cAAY,KAAK,MAAM,IAAI,IAAI,KAAK,CAAC;kBACrB,YAAY,CAAC,MAAM,CAAC,GAAG,EAAE,sBAAsB,CAAC,IAAI,CAAC,CAAC;AACtE,cAAA;AACA,UAAA,CAAS,MAAM;cACH,YAAY,CAAC,GAAG,CAAC,GAAG,EAAE,sBAAsB,CAAC,KAAK,CAAC,CAAC;AAChE,UAAA;AACA,MAAA;AACA,MAAI,OAAO,YAAY;AACvB,EAAA;AACA,EAAA,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,gBAAgB,EAAE;AAC7C,MAAI,KAAK,MAAM,YAAY,IAAI,gBAAgB,CAAC;UACxC,KAAK,MAAM,GAAG,IAAI,YAAY,CAAC,IAAI,EAAE,CAAC;AAC9C,cAAY,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC;AAC9B,UAAA;AACA,UAAQ,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,YAAY,CAAC,OAAO,EAAE,CAAC;AAC1D,cAAY,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC;AACrC,UAAA;AACA,MAAA;AACA,MAAI,OAAO,MAAM;AACjB,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
@@ -1,37 +0,0 @@
1
- import { __exports as removeTrailingSlash } from '../../../../../../../_virtual/remove-trailing-slash.js';
2
-
3
- /**
4
- * Removes the trailing slash for a given route or page path. Examples:
5
- * - `/foo/bar/` -> `/foo/bar`
6
- * - `/foo/bar` -> `/foo/bar`
7
- *
8
- * Uses charCodeAt (47 === '/') instead of regex to avoid the overhead of
9
- * compiling and executing a RegExp on every call (~3-5x faster).
10
- */
11
-
12
- var hasRequiredRemoveTrailingSlash;
13
-
14
- function requireRemoveTrailingSlash () {
15
- if (hasRequiredRemoveTrailingSlash) return removeTrailingSlash;
16
- hasRequiredRemoveTrailingSlash = 1;
17
- (function (exports$1) {
18
- Object.defineProperty(exports$1, "__esModule", {
19
- value: true
20
- });
21
- Object.defineProperty(exports$1, "removeTrailingSlash", {
22
- enumerable: true,
23
- get: function() {
24
- return removeTrailingSlash;
25
- }
26
- });
27
- function removeTrailingSlash(route) {
28
- return route.charCodeAt(route.length - 1) === 47 && route.length > 1 ? route.slice(0, -1) : route;
29
- }
30
-
31
-
32
- } (removeTrailingSlash));
33
- return removeTrailingSlash;
34
- }
35
-
36
- export { requireRemoveTrailingSlash as __require };
37
- //# sourceMappingURL=remove-trailing-slash.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remove-trailing-slash.js","sources":["../../../../../../../../node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js"],"sourcesContent":["/**\n * Removes the trailing slash for a given route or page path. Examples:\n * - `/foo/bar/` -> `/foo/bar`\n * - `/foo/bar` -> `/foo/bar`\n *\n * Uses charCodeAt (47 === '/') instead of regex to avoid the overhead of\n * compiling and executing a RegExp on every call (~3-5x faster).\n */ \"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"removeTrailingSlash\", {\n enumerable: true,\n get: function() {\n return removeTrailingSlash;\n }\n});\nfunction removeTrailingSlash(route) {\n return route.charCodeAt(route.length - 1) === 47 && route.length > 1 ? route.slice(0, -1) : route;\n}\n\n//# sourceMappingURL=remove-trailing-slash.js.map"],"names":["exports"],"mappings":";;;;;;;;;;;;;;;;;AAQA,EAAA,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AACF,EAAA,MAAM,CAAC,cAAc,CAACA,SAAO,EAAE,qBAAqB,EAAE;MAClD,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,mBAAmB;AAClC,MAAA;AACA,GAAC,CAAC;EACF,SAAS,mBAAmB,CAAC,KAAK,EAAE;AACpC,MAAI,OAAO,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,KAAK;AACrG,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
@@ -1,129 +0,0 @@
1
- import { __exports as resolveParamValue } from '../../../../../../../_virtual/resolve-param-value.js';
2
- import { __require as requireInvariantError } from '../../invariant-error.js';
3
- import { __require as requireInterceptionPrefixFromParamType } from './interception-prefix-from-param-type.js';
4
-
5
- var hasRequiredResolveParamValue;
6
-
7
- function requireResolveParamValue () {
8
- if (hasRequiredResolveParamValue) return resolveParamValue;
9
- hasRequiredResolveParamValue = 1;
10
- (function (exports$1) {
11
- Object.defineProperty(exports$1, "__esModule", {
12
- value: true
13
- });
14
- Object.defineProperty(exports$1, "resolveParamValue", {
15
- enumerable: true,
16
- get: function() {
17
- return resolveParamValue;
18
- }
19
- });
20
- const _invarianterror = requireInvariantError();
21
- const _interceptionprefixfromparamtype = requireInterceptionPrefixFromParamType();
22
- /**
23
- * Extracts the param value from a path segment, handling interception markers
24
- * based on the expected param type.
25
- *
26
- * @param pathSegment - The path segment to extract the value from
27
- * @param params - The current params object for resolving dynamic param references
28
- * @param paramType - The expected param type which may include interception marker info
29
- * @returns The extracted param value
30
- */ function getParamValueFromSegment(pathSegment, params, paramType) {
31
- // If the segment is dynamic, resolve it from the params object
32
- if (pathSegment.type === 'dynamic') {
33
- return params[pathSegment.param.paramName];
34
- }
35
- // If the paramType indicates this is an intercepted param, strip the marker
36
- // that matches the interception marker in the param type
37
- const interceptionPrefix = (0, _interceptionprefixfromparamtype.interceptionPrefixFromParamType)(paramType);
38
- if (interceptionPrefix === pathSegment.interceptionMarker) {
39
- return pathSegment.name.replace(pathSegment.interceptionMarker, '');
40
- }
41
- // For static segments, use the name
42
- return pathSegment.name;
43
- }
44
- function resolveParamValue(paramName, paramType, depth, route, params) {
45
- switch(paramType){
46
- case 'catchall':
47
- case 'optional-catchall':
48
- case 'catchall-intercepted-(..)(..)':
49
- case 'catchall-intercepted-(.)':
50
- case 'catchall-intercepted-(..)':
51
- case 'catchall-intercepted-(...)':
52
- // For catchall routes, derive from pathname using depth to determine
53
- // which segments to use
54
- const processedSegments = [];
55
- // Process segments to handle any embedded dynamic params
56
- for(let index = depth; index < route.segments.length; index++){
57
- const pathSegment = route.segments[index];
58
- if (pathSegment.type === 'static') {
59
- let value = pathSegment.name;
60
- // For intercepted catch-all params, strip the marker from the first segment
61
- const interceptionPrefix = (0, _interceptionprefixfromparamtype.interceptionPrefixFromParamType)(paramType);
62
- if (interceptionPrefix && index === depth && interceptionPrefix === pathSegment.interceptionMarker) {
63
- // Strip the interception marker from the value
64
- value = value.replace(pathSegment.interceptionMarker, '');
65
- }
66
- processedSegments.push(value);
67
- } else {
68
- // If the segment is a param placeholder, check if we have its value
69
- if (!params.hasOwnProperty(pathSegment.param.paramName)) {
70
- // If the segment is an optional catchall, we can break out of the
71
- // loop because it's optional!
72
- if (pathSegment.param.paramType === 'optional-catchall') {
73
- break;
74
- }
75
- // Unknown param placeholder in pathname - can't derive full value
76
- return undefined;
77
- }
78
- // If the segment matches a param, use the param value
79
- // We don't encode values here as that's handled during retrieval.
80
- const paramValue = params[pathSegment.param.paramName];
81
- if (Array.isArray(paramValue)) {
82
- processedSegments.push(...paramValue);
83
- } else {
84
- processedSegments.push(paramValue);
85
- }
86
- }
87
- }
88
- if (processedSegments.length > 0) {
89
- return processedSegments;
90
- } else if (paramType === 'optional-catchall') {
91
- return undefined;
92
- } else {
93
- // We shouldn't be able to match a catchall segment without any path
94
- // segments if it's not an optional catchall
95
- throw Object.defineProperty(new _invarianterror.InvariantError(`Unexpected empty path segments match for a route "${route.pathname}" with param "${paramName}" of type "${paramType}"`), "__NEXT_ERROR_CODE", {
96
- value: "E931",
97
- enumerable: false,
98
- configurable: true
99
- });
100
- }
101
- case 'dynamic':
102
- case 'dynamic-intercepted-(..)(..)':
103
- case 'dynamic-intercepted-(.)':
104
- case 'dynamic-intercepted-(..)':
105
- case 'dynamic-intercepted-(...)':
106
- // For regular dynamic parameters, take the segment at this depth
107
- if (depth < route.segments.length) {
108
- const pathSegment = route.segments[depth];
109
- // Check if the segment at this depth is a placeholder for an unknown param
110
- if (pathSegment.type === 'dynamic' && !params.hasOwnProperty(pathSegment.param.paramName)) {
111
- // The segment is a placeholder like [category] and we don't have the value
112
- return undefined;
113
- }
114
- // If the segment matches a param, use the param value from params object
115
- // Otherwise it's a static segment, just use it directly
116
- // We don't encode values here as that's handled during retrieval
117
- return getParamValueFromSegment(pathSegment, params, paramType);
118
- }
119
- return undefined;
120
- }
121
- }
122
-
123
-
124
- } (resolveParamValue));
125
- return resolveParamValue;
126
- }
127
-
128
- export { requireResolveParamValue as __require };
129
- //# sourceMappingURL=resolve-param-value.js.map