@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,41 +0,0 @@
1
- import { __module as normalizeLocalePath } from '../../../../_virtual/normalize-locale-path.js';
2
- import { __require as requireNormalizeLocalePath$1 } from '../shared/lib/i18n/normalize-locale-path.js';
3
-
4
- var hasRequiredNormalizeLocalePath;
5
-
6
- function requireNormalizeLocalePath () {
7
- if (hasRequiredNormalizeLocalePath) return normalizeLocalePath.exports;
8
- hasRequiredNormalizeLocalePath = 1;
9
- (function (module, exports$1) {
10
- Object.defineProperty(exports$1, "__esModule", {
11
- value: true
12
- });
13
- Object.defineProperty(exports$1, "normalizeLocalePath", {
14
- enumerable: true,
15
- get: function() {
16
- return normalizeLocalePath;
17
- }
18
- });
19
- const normalizeLocalePath = (pathname, locales)=>{
20
- if (process.env.__NEXT_I18N_SUPPORT) {
21
- return requireNormalizeLocalePath$1().normalizeLocalePath(pathname, locales);
22
- }
23
- return {
24
- pathname,
25
- detectedLocale: undefined
26
- };
27
- };
28
-
29
- if ((typeof exports$1.default === 'function' || (typeof exports$1.default === 'object' && exports$1.default !== null)) && typeof exports$1.default.__esModule === 'undefined') {
30
- Object.defineProperty(exports$1.default, '__esModule', { value: true });
31
- Object.assign(exports$1.default, exports$1);
32
- module.exports = exports$1.default;
33
- }
34
-
35
-
36
- } (normalizeLocalePath, normalizeLocalePath.exports));
37
- return normalizeLocalePath.exports;
38
- }
39
-
40
- export { requireNormalizeLocalePath as __require };
41
- //# sourceMappingURL=normalize-locale-path.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalize-locale-path.js","sources":["../../../../../node_modules/next/dist/client/normalize-locale-path.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"normalizeLocalePath\", {\n enumerable: true,\n get: function() {\n return normalizeLocalePath;\n }\n});\nconst normalizeLocalePath = (pathname, locales)=>{\n if (process.env.__NEXT_I18N_SUPPORT) {\n return require('../shared/lib/i18n/normalize-locale-path').normalizeLocalePath(pathname, locales);\n }\n return {\n pathname,\n detectedLocale: undefined\n };\n};\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=normalize-locale-path.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,qBAAqB,EAAE;MAClD,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,mBAAmB;AAClC,MAAA;AACA,GAAC,CAAC;AACF,EAAA,MAAM,mBAAmB,GAAG,CAAC,QAAQ,EAAE,OAAO,GAAG;AACjD,MAAI,IAAI,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE;UACjC,OAAOC,8BAAmD,CAAC,mBAAmB,CAAC,QAAQ,EAAE,OAAO,CAAC;AACzG,MAAA;AACA,MAAI,OAAO;AACX,UAAQ,QAAQ;AAChB,UAAQ,cAAc,EAAE;OACnB;EACL,CAAC;;AAED,EAAA,IAAI,CAAC,OAAOD,SAAO,CAAC,OAAO,KAAK,UAAU,KAAK,OAAOA,SAAO,CAAC,OAAO,KAAK,QAAQ,IAAIA,SAAO,CAAC,OAAO,KAAK,IAAI,CAAC,KAAK,OAAOA,SAAO,CAAC,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;AACvK,IAAE,MAAM,CAAC,cAAc,CAACA,SAAO,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACrE,MAAM,CAAC,MAAM,CAACA,SAAO,CAAC,OAAO,EAAEA,SAAO,CAAC;IACvC,MAAA,CAAA,OAAA,GAAiBA,SAAO,CAAC,OAAO;AAClC,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
@@ -1,52 +0,0 @@
1
- import { __module as normalizeTrailingSlash } from '../../../../_virtual/normalize-trailing-slash.js';
2
- import { __require as requireRemoveTrailingSlash } from '../shared/lib/router/utils/remove-trailing-slash.js';
3
- import { __require as requireParsePath } from '../shared/lib/router/utils/parse-path.js';
4
-
5
- var hasRequiredNormalizeTrailingSlash;
6
-
7
- function requireNormalizeTrailingSlash () {
8
- if (hasRequiredNormalizeTrailingSlash) return normalizeTrailingSlash.exports;
9
- hasRequiredNormalizeTrailingSlash = 1;
10
- (function (module, exports$1) {
11
- Object.defineProperty(exports$1, "__esModule", {
12
- value: true
13
- });
14
- Object.defineProperty(exports$1, "normalizePathTrailingSlash", {
15
- enumerable: true,
16
- get: function() {
17
- return normalizePathTrailingSlash;
18
- }
19
- });
20
- const _removetrailingslash = requireRemoveTrailingSlash();
21
- const _parsepath = requireParsePath();
22
- const normalizePathTrailingSlash = (path)=>{
23
- // 47 is the char code for '/'
24
- if (path.charCodeAt(0) !== 47 || process.env.__NEXT_MANUAL_TRAILING_SLASH) {
25
- return path;
26
- }
27
- const { pathname, query, hash } = (0, _parsepath.parsePath)(path);
28
- if (process.env.__NEXT_TRAILING_SLASH) {
29
- if (/\.[^/]+\/?$/.test(pathname)) {
30
- return `${(0, _removetrailingslash.removeTrailingSlash)(pathname)}${query}${hash}`;
31
- } else if (pathname.endsWith('/')) {
32
- return `${pathname}${query}${hash}`;
33
- } else {
34
- return `${pathname}/${query}${hash}`;
35
- }
36
- }
37
- return `${(0, _removetrailingslash.removeTrailingSlash)(pathname)}${query}${hash}`;
38
- };
39
-
40
- if ((typeof exports$1.default === 'function' || (typeof exports$1.default === 'object' && exports$1.default !== null)) && typeof exports$1.default.__esModule === 'undefined') {
41
- Object.defineProperty(exports$1.default, '__esModule', { value: true });
42
- Object.assign(exports$1.default, exports$1);
43
- module.exports = exports$1.default;
44
- }
45
-
46
-
47
- } (normalizeTrailingSlash, normalizeTrailingSlash.exports));
48
- return normalizeTrailingSlash.exports;
49
- }
50
-
51
- export { requireNormalizeTrailingSlash as __require };
52
- //# sourceMappingURL=normalize-trailing-slash.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalize-trailing-slash.js","sources":["../../../../../node_modules/next/dist/client/normalize-trailing-slash.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"normalizePathTrailingSlash\", {\n enumerable: true,\n get: function() {\n return normalizePathTrailingSlash;\n }\n});\nconst _removetrailingslash = require(\"../shared/lib/router/utils/remove-trailing-slash\");\nconst _parsepath = require(\"../shared/lib/router/utils/parse-path\");\nconst normalizePathTrailingSlash = (path)=>{\n // 47 is the char code for '/'\n if (path.charCodeAt(0) !== 47 || process.env.__NEXT_MANUAL_TRAILING_SLASH) {\n return path;\n }\n const { pathname, query, hash } = (0, _parsepath.parsePath)(path);\n if (process.env.__NEXT_TRAILING_SLASH) {\n if (/\\.[^/]+\\/?$/.test(pathname)) {\n return `${(0, _removetrailingslash.removeTrailingSlash)(pathname)}${query}${hash}`;\n } else if (pathname.endsWith('/')) {\n return `${pathname}${query}${hash}`;\n } else {\n return `${pathname}/${query}${hash}`;\n }\n }\n return `${(0, _removetrailingslash.removeTrailingSlash)(pathname)}${query}${hash}`;\n};\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=normalize-trailing-slash.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,4BAA4B,EAAE;MACzD,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,0BAA0B;AACzC,MAAA;AACA,GAAC,CAAC;EACF,MAAM,oBAAoB,GAAGC,0BAAA,EAA2D;EACxF,MAAM,UAAU,GAAGC,gBAAA,EAAgD;AACnE,EAAA,MAAM,0BAA0B,GAAG,CAAC,IAAI,GAAG;AAC3C;AACA,MAAI,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,EAAE,IAAI,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE;AAC/E,UAAQ,OAAO,IAAI;AACnB,MAAA;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AAEA;;;;;;;","x_google_ignoreList":[0]}
@@ -1,53 +0,0 @@
1
- import { __module as requestIdleCallback } from '../../../../_virtual/request-idle-callback.js';
2
-
3
- var hasRequiredRequestIdleCallback;
4
-
5
- function requireRequestIdleCallback () {
6
- if (hasRequiredRequestIdleCallback) return requestIdleCallback.exports;
7
- hasRequiredRequestIdleCallback = 1;
8
- (function (module, 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
- cancelIdleCallback: function() {
20
- return cancelIdleCallback;
21
- },
22
- requestIdleCallback: function() {
23
- return requestIdleCallback;
24
- }
25
- });
26
- const requestIdleCallback = typeof self !== 'undefined' && self.requestIdleCallback && self.requestIdleCallback.bind(window) || function(cb) {
27
- let start = Date.now();
28
- return self.setTimeout(function() {
29
- cb({
30
- didTimeout: false,
31
- timeRemaining: function() {
32
- return Math.max(0, 50 - (Date.now() - start));
33
- }
34
- });
35
- }, 1);
36
- };
37
- const cancelIdleCallback = typeof self !== 'undefined' && self.cancelIdleCallback && self.cancelIdleCallback.bind(window) || function(id) {
38
- return clearTimeout(id);
39
- };
40
-
41
- if ((typeof exports$1.default === 'function' || (typeof exports$1.default === 'object' && exports$1.default !== null)) && typeof exports$1.default.__esModule === 'undefined') {
42
- Object.defineProperty(exports$1.default, '__esModule', { value: true });
43
- Object.assign(exports$1.default, exports$1);
44
- module.exports = exports$1.default;
45
- }
46
-
47
-
48
- } (requestIdleCallback, requestIdleCallback.exports));
49
- return requestIdleCallback.exports;
50
- }
51
-
52
- export { requireRequestIdleCallback as __require };
53
- //# sourceMappingURL=request-idle-callback.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"request-idle-callback.js","sources":["../../../../../node_modules/next/dist/client/request-idle-callback.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n cancelIdleCallback: null,\n requestIdleCallback: 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 cancelIdleCallback: function() {\n return cancelIdleCallback;\n },\n requestIdleCallback: function() {\n return requestIdleCallback;\n }\n});\nconst requestIdleCallback = typeof self !== 'undefined' && self.requestIdleCallback && self.requestIdleCallback.bind(window) || function(cb) {\n let start = Date.now();\n return self.setTimeout(function() {\n cb({\n didTimeout: false,\n timeRemaining: function() {\n return Math.max(0, 50 - (Date.now() - start));\n }\n });\n }, 1);\n};\nconst cancelIdleCallback = typeof self !== 'undefined' && self.cancelIdleCallback && self.cancelIdleCallback.bind(window) || function(id) {\n return clearTimeout(id);\n};\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=request-idle-callback.js.map"],"names":["exports"],"mappings":";;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AAKF,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,kBAAkB,EAAE,WAAW;AACnC,UAAQ,OAAO,kBAAkB;MACjC,CAAK;MACD,mBAAmB,EAAE,WAAW;AACpC,UAAQ,OAAO,mBAAmB;AAClC,MAAA;AACA,GAAC,CAAC;EACF,MAAM,mBAAmB,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from '../../../../_virtual/resolve-href.js';
2
- import { __require as requireQuerystring } from '../shared/lib/router/utils/querystring.js';
3
- import { __require as requireFormatUrl } from '../shared/lib/router/utils/format-url.js';
4
- import { __require as requireOmit } from '../shared/lib/router/utils/omit.js';
5
- import { __require as requireUtils } from '../shared/lib/utils.js';
6
- import { __require as requireNormalizeTrailingSlash } from './normalize-trailing-slash.js';
7
- import { __require as requireIsLocalUrl } from '../shared/lib/router/utils/is-local-url.js';
8
- import { __require as requireUtils$1 } from '../shared/lib/router/utils/index.js';
9
- import { __require as requireInterpolateAs } from '../shared/lib/router/utils/interpolate-as.js';
10
- import { __require as requireRouteRegex } from '../shared/lib/router/utils/route-regex.js';
11
- import { __require as requireRouteMatcher } from '../shared/lib/router/utils/route-matcher.js';
12
-
13
- var hasRequiredResolveHref;
14
-
15
- function requireResolveHref () {
16
- if (hasRequiredResolveHref) return resolveHref.exports;
17
- hasRequiredResolveHref = 1;
18
- (function (module, exports$1) {
19
- Object.defineProperty(exports$1, "__esModule", {
20
- value: true
21
- });
22
- Object.defineProperty(exports$1, "resolveHref", {
23
- enumerable: true,
24
- get: function() {
25
- return resolveHref;
26
- }
27
- });
28
- const _querystring = requireQuerystring();
29
- const _formaturl = requireFormatUrl();
30
- const _omit = requireOmit();
31
- const _utils = requireUtils();
32
- const _normalizetrailingslash = requireNormalizeTrailingSlash();
33
- const _islocalurl = requireIsLocalUrl();
34
- const _utils1 = requireUtils$1();
35
- const _interpolateas = requireInterpolateAs();
36
- const _routeregex = requireRouteRegex();
37
- const _routematcher = requireRouteMatcher();
38
- function resolveHref(router, href, resolveAs) {
39
- // we use a dummy base url for relative urls
40
- let base;
41
- let urlAsString = typeof href === 'string' ? href : (0, _formaturl.formatWithValidation)(href);
42
- // repeated slashes and backslashes in the URL are considered
43
- // invalid and will never match a Next.js page/file
44
- // https://www.rfc-editor.org/rfc/rfc3986.html#section-3.1
45
- const urlProtoMatch = urlAsString.match(/^[a-z][a-z0-9+.-]*:\/\//i);
46
- const urlAsStringNoProto = urlProtoMatch ? urlAsString.slice(urlProtoMatch[0].length) : urlAsString;
47
- const urlParts = urlAsStringNoProto.split('?', 1);
48
- if ((urlParts[0] || '').match(/(\/\/|\\)/)) {
49
- console.error(`Invalid href '${urlAsString}' passed to next/router in page: '${router.pathname}'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.`);
50
- const normalizedUrl = (0, _utils.normalizeRepeatedSlashes)(urlAsStringNoProto);
51
- urlAsString = (urlProtoMatch ? urlProtoMatch[0] : '') + normalizedUrl;
52
- }
53
- // Return because it cannot be routed by the Next.js router
54
- if (!(0, _islocalurl.isLocalURL)(urlAsString)) {
55
- return resolveAs ? [
56
- urlAsString
57
- ] : urlAsString;
58
- }
59
- try {
60
- let baseBase = urlAsString.startsWith('#') ? router.asPath : router.pathname;
61
- // If the provided href is only a query string, it is safer to use the asPath
62
- // considering rewrites.
63
- if (urlAsString.startsWith('?')) {
64
- baseBase = router.asPath;
65
- // However, if is a dynamic route, we need to use the pathname to preserve the
66
- // query interpolation and rewrites (router.pathname will look like "/[slug]").
67
- if ((0, _utils1.isDynamicRoute)(router.pathname)) {
68
- baseBase = router.pathname;
69
- const routeRegex = (0, _routeregex.getRouteRegex)(router.pathname);
70
- const match = (0, _routematcher.getRouteMatcher)(routeRegex)(router.asPath);
71
- // For dynamic routes, if asPath doesn't match the pathname regex, it is a rewritten path.
72
- // In this case, should use asPath to preserve the current URL.
73
- if (!match) {
74
- baseBase = router.asPath;
75
- }
76
- // Note: There is an edge case where the pathname is dynamic, and also a rewrite path to the same segment.
77
- // E.g. in "/[slug]" path, rewrite "/foo" -> "/bar"
78
- // In this case, it will be treated as a non-rewritten path and possibly interpolate the query string.
79
- // E.g., "/any?slug=foo" will become the content of "/foo", not rewritten as "/bar"
80
- // This is currently a trade-off of not resolving rewrite paths on every Router/Link call,
81
- // but using a lighter route regex pattern check.
82
- }
83
- }
84
- base = new URL(baseBase, 'http://n');
85
- } catch (_) {
86
- // fallback to / for invalid asPath values e.g. //
87
- base = new URL('/', 'http://n');
88
- }
89
- try {
90
- const finalUrl = new URL(urlAsString, base);
91
- finalUrl.pathname = (0, _normalizetrailingslash.normalizePathTrailingSlash)(finalUrl.pathname);
92
- let interpolatedAs = '';
93
- if ((0, _utils1.isDynamicRoute)(finalUrl.pathname) && finalUrl.searchParams && resolveAs) {
94
- const query = (0, _querystring.searchParamsToUrlQuery)(finalUrl.searchParams);
95
- const { result, params } = (0, _interpolateas.interpolateAs)(finalUrl.pathname, finalUrl.pathname, query);
96
- if (result) {
97
- interpolatedAs = (0, _formaturl.formatWithValidation)({
98
- pathname: result,
99
- hash: finalUrl.hash,
100
- query: (0, _omit.omit)(query, params)
101
- });
102
- }
103
- }
104
- // if the origin didn't change, it means we received a relative href
105
- const resolvedHref = finalUrl.origin === base.origin ? finalUrl.href.slice(finalUrl.origin.length) : finalUrl.href;
106
- return resolveAs ? [
107
- resolvedHref,
108
- interpolatedAs || resolvedHref
109
- ] : resolvedHref;
110
- } catch (_) {
111
- return resolveAs ? [
112
- urlAsString
113
- ] : urlAsString;
114
- }
115
- }
116
-
117
- if ((typeof exports$1.default === 'function' || (typeof exports$1.default === 'object' && exports$1.default !== null)) && typeof exports$1.default.__esModule === 'undefined') {
118
- Object.defineProperty(exports$1.default, '__esModule', { value: true });
119
- Object.assign(exports$1.default, exports$1);
120
- module.exports = exports$1.default;
121
- }
122
-
123
-
124
- } (resolveHref, resolveHref.exports));
125
- return resolveHref.exports;
126
- }
127
-
128
- export { requireResolveHref as __require };
129
- //# sourceMappingURL=resolve-href.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolve-href.js","sources":["../../../../../node_modules/next/dist/client/resolve-href.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"resolveHref\", {\n enumerable: true,\n get: function() {\n return resolveHref;\n }\n});\nconst _querystring = require(\"../shared/lib/router/utils/querystring\");\nconst _formaturl = require(\"../shared/lib/router/utils/format-url\");\nconst _omit = require(\"../shared/lib/router/utils/omit\");\nconst _utils = require(\"../shared/lib/utils\");\nconst _normalizetrailingslash = require(\"./normalize-trailing-slash\");\nconst _islocalurl = require(\"../shared/lib/router/utils/is-local-url\");\nconst _utils1 = require(\"../shared/lib/router/utils\");\nconst _interpolateas = require(\"../shared/lib/router/utils/interpolate-as\");\nconst _routeregex = require(\"../shared/lib/router/utils/route-regex\");\nconst _routematcher = require(\"../shared/lib/router/utils/route-matcher\");\nfunction resolveHref(router, href, resolveAs) {\n // we use a dummy base url for relative urls\n let base;\n let urlAsString = typeof href === 'string' ? href : (0, _formaturl.formatWithValidation)(href);\n // repeated slashes and backslashes in the URL are considered\n // invalid and will never match a Next.js page/file\n // https://www.rfc-editor.org/rfc/rfc3986.html#section-3.1\n const urlProtoMatch = urlAsString.match(/^[a-z][a-z0-9+.-]*:\\/\\//i);\n const urlAsStringNoProto = urlProtoMatch ? urlAsString.slice(urlProtoMatch[0].length) : urlAsString;\n const urlParts = urlAsStringNoProto.split('?', 1);\n if ((urlParts[0] || '').match(/(\\/\\/|\\\\)/)) {\n console.error(`Invalid href '${urlAsString}' passed to next/router in page: '${router.pathname}'. Repeated forward-slashes (//) or backslashes \\\\ are not valid in the href.`);\n const normalizedUrl = (0, _utils.normalizeRepeatedSlashes)(urlAsStringNoProto);\n urlAsString = (urlProtoMatch ? urlProtoMatch[0] : '') + normalizedUrl;\n }\n // Return because it cannot be routed by the Next.js router\n if (!(0, _islocalurl.isLocalURL)(urlAsString)) {\n return resolveAs ? [\n urlAsString\n ] : urlAsString;\n }\n try {\n let baseBase = urlAsString.startsWith('#') ? router.asPath : router.pathname;\n // If the provided href is only a query string, it is safer to use the asPath\n // considering rewrites.\n if (urlAsString.startsWith('?')) {\n baseBase = router.asPath;\n // However, if is a dynamic route, we need to use the pathname to preserve the\n // query interpolation and rewrites (router.pathname will look like \"/[slug]\").\n if ((0, _utils1.isDynamicRoute)(router.pathname)) {\n baseBase = router.pathname;\n const routeRegex = (0, _routeregex.getRouteRegex)(router.pathname);\n const match = (0, _routematcher.getRouteMatcher)(routeRegex)(router.asPath);\n // For dynamic routes, if asPath doesn't match the pathname regex, it is a rewritten path.\n // In this case, should use asPath to preserve the current URL.\n if (!match) {\n baseBase = router.asPath;\n }\n // Note: There is an edge case where the pathname is dynamic, and also a rewrite path to the same segment.\n // E.g. in \"/[slug]\" path, rewrite \"/foo\" -> \"/bar\"\n // In this case, it will be treated as a non-rewritten path and possibly interpolate the query string.\n // E.g., \"/any?slug=foo\" will become the content of \"/foo\", not rewritten as \"/bar\"\n // This is currently a trade-off of not resolving rewrite paths on every Router/Link call,\n // but using a lighter route regex pattern check.\n }\n }\n base = new URL(baseBase, 'http://n');\n } catch (_) {\n // fallback to / for invalid asPath values e.g. //\n base = new URL('/', 'http://n');\n }\n try {\n const finalUrl = new URL(urlAsString, base);\n finalUrl.pathname = (0, _normalizetrailingslash.normalizePathTrailingSlash)(finalUrl.pathname);\n let interpolatedAs = '';\n if ((0, _utils1.isDynamicRoute)(finalUrl.pathname) && finalUrl.searchParams && resolveAs) {\n const query = (0, _querystring.searchParamsToUrlQuery)(finalUrl.searchParams);\n const { result, params } = (0, _interpolateas.interpolateAs)(finalUrl.pathname, finalUrl.pathname, query);\n if (result) {\n interpolatedAs = (0, _formaturl.formatWithValidation)({\n pathname: result,\n hash: finalUrl.hash,\n query: (0, _omit.omit)(query, params)\n });\n }\n }\n // if the origin didn't change, it means we received a relative href\n const resolvedHref = finalUrl.origin === base.origin ? finalUrl.href.slice(finalUrl.origin.length) : finalUrl.href;\n return resolveAs ? [\n resolvedHref,\n interpolatedAs || resolvedHref\n ] : resolvedHref;\n } catch (_) {\n return resolveAs ? [\n urlAsString\n ] : urlAsString;\n }\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=resolve-href.js.map"],"names":["exports","require$$0","require$$1","require$$2","require$$3","require$$4","require$$5","require$$6","require$$7","require$$8","require$$9"],"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,aAAa,EAAE;MAC1C,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,WAAW;AAC1B,MAAA;AACA,GAAC,CAAC;EACF,MAAM,YAAY,GAAGC,kBAAA,EAAiD;EACtE,MAAM,UAAU,GAAGC,gBAAA,EAAgD;EACnE,MAAM,KAAK,GAAGC,WAAA,EAA0C;EACxD,MAAM,MAAM,GAAGC,YAAA,EAA8B;EAC7C,MAAM,uBAAuB,GAAGC,6BAAA,EAAqC;EACrE,MAAM,WAAW,GAAGC,iBAAA,EAAkD;EACtE,MAAM,OAAO,GAAGC,cAAA,EAAqC;EACrD,MAAM,cAAc,GAAGC,oBAAA,EAAoD;EAC3E,MAAM,WAAW,GAAGC,iBAAA,EAAiD;EACrE,MAAM,aAAa,GAAGC,mBAAA,EAAmD;AACzE,EAAA,SAAS,WAAW,CAAC,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE;AAC9C;AACA,MAAI,IAAI,IAAI;AACZ,MAAI,IAAI,WAAW,GAAG,OAAO,IAAI,KAAK,QAAQ,GAAG,IAAI,GAAG,IAAI,UAAU,CAAC,oBAAoB,EAAE,IAAI,CAAC;AAClG;AACA;AACA;MACI,MAAM,aAAa,GAAG,WAAW,CAAC,KAAK,CAAC,0BAA0B,CAAC;AACvE,MAAI,MAAM,kBAAkB,GAAG,aAAa,GAAG,WAAW,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,WAAW;MACnG,MAAM,QAAQ,G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G,QAAQ,CAAC,MAAM,KAAK,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,QAAQ,CAAC,IAAI;UAClH,OAAO,SAAS,GAAG;AAC3B,cAAY,YAAY;AACxB,cAAY,cAAc,IAAI;AAC9B,WAAS,GAAG,YAAY;MACxB,CAAK,CAAC,OAAO,CAAC,EAAE;UACR,OAAO,SAAS,GAAG;cACf;AACZ,WAAS,GAAG,WAAW;AACvB,MAAA;AACA,EAAA;;AAEA,EAAA,IAAI,CAAC,OAAOV,SAAO,CAAC,OAAO,KAAK,UAAU,KAAK,OAAOA,SAAO,CAAC,OAAO,KAAK,QAAQ,IAAIA,SAAO,CAAC,OAAO,KAAK,IAAI,CAAC,KAAK,OAAOA,SAAO,CAAC,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;AACvK,IAAE,MAAM,CAAC,cAAc,CAACA,SAAO,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACrE,MAAM,CAAC,MAAM,CAACA,SAAO,CAAC,OAAO,EAAEA,SAAO,CAAC;IACvC,MAAA,CAAA,OAAA,GAAiBA,SAAO,CAAC,OAAO;AAClC,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
@@ -1,129 +0,0 @@
1
- import { __module as useIntersection } from '../../../../_virtual/use-intersection.js';
2
- import React__default from 'react';
3
- import { __require as requireRequestIdleCallback } from './request-idle-callback.js';
4
-
5
- var hasRequiredUseIntersection;
6
-
7
- function requireUseIntersection () {
8
- if (hasRequiredUseIntersection) return useIntersection.exports;
9
- hasRequiredUseIntersection = 1;
10
- (function (module, exports$1) {
11
- Object.defineProperty(exports$1, "__esModule", {
12
- value: true
13
- });
14
- Object.defineProperty(exports$1, "useIntersection", {
15
- enumerable: true,
16
- get: function() {
17
- return useIntersection;
18
- }
19
- });
20
- const _react = React__default;
21
- const _requestidlecallback = requireRequestIdleCallback();
22
- const hasIntersectionObserver = typeof IntersectionObserver === 'function';
23
- const observers = new Map();
24
- const idList = [];
25
- function createObserver(options) {
26
- const id = {
27
- root: options.root || null,
28
- margin: options.rootMargin || ''
29
- };
30
- const existing = idList.find((obj)=>obj.root === id.root && obj.margin === id.margin);
31
- let instance;
32
- if (existing) {
33
- instance = observers.get(existing);
34
- if (instance) {
35
- return instance;
36
- }
37
- }
38
- const elements = new Map();
39
- const observer = new IntersectionObserver((entries)=>{
40
- entries.forEach((entry)=>{
41
- const callback = elements.get(entry.target);
42
- const isVisible = entry.isIntersecting || entry.intersectionRatio > 0;
43
- if (callback && isVisible) {
44
- callback(isVisible);
45
- }
46
- });
47
- }, options);
48
- instance = {
49
- id,
50
- observer,
51
- elements
52
- };
53
- idList.push(id);
54
- observers.set(id, instance);
55
- return instance;
56
- }
57
- function observe(element, callback, options) {
58
- const { id, observer, elements } = createObserver(options);
59
- elements.set(element, callback);
60
- observer.observe(element);
61
- return function unobserve() {
62
- elements.delete(element);
63
- observer.unobserve(element);
64
- // Destroy observer when there's nothing left to watch:
65
- if (elements.size === 0) {
66
- observer.disconnect();
67
- observers.delete(id);
68
- const index = idList.findIndex((obj)=>obj.root === id.root && obj.margin === id.margin);
69
- if (index > -1) {
70
- idList.splice(index, 1);
71
- }
72
- }
73
- };
74
- }
75
- function useIntersection({ rootRef, rootMargin, disabled }) {
76
- const isDisabled = disabled || !hasIntersectionObserver;
77
- const [visible, setVisible] = (0, _react.useState)(false);
78
- const elementRef = (0, _react.useRef)(null);
79
- const setElement = (0, _react.useCallback)((element)=>{
80
- elementRef.current = element;
81
- }, []);
82
- (0, _react.useEffect)(()=>{
83
- if (hasIntersectionObserver) {
84
- if (isDisabled || visible) return;
85
- const element = elementRef.current;
86
- if (element && element.tagName) {
87
- const unobserve = observe(element, (isVisible)=>isVisible && setVisible(isVisible), {
88
- root: rootRef?.current,
89
- rootMargin
90
- });
91
- return unobserve;
92
- }
93
- } else {
94
- if (!visible) {
95
- const idleCallback = (0, _requestidlecallback.requestIdleCallback)(()=>setVisible(true));
96
- return ()=>(0, _requestidlecallback.cancelIdleCallback)(idleCallback);
97
- }
98
- }
99
- // eslint-disable-next-line react-hooks/exhaustive-deps
100
- }, [
101
- isDisabled,
102
- rootMargin,
103
- rootRef,
104
- visible,
105
- elementRef.current
106
- ]);
107
- const resetVisible = (0, _react.useCallback)(()=>{
108
- setVisible(false);
109
- }, []);
110
- return [
111
- setElement,
112
- visible,
113
- resetVisible
114
- ];
115
- }
116
-
117
- if ((typeof exports$1.default === 'function' || (typeof exports$1.default === 'object' && exports$1.default !== null)) && typeof exports$1.default.__esModule === 'undefined') {
118
- Object.defineProperty(exports$1.default, '__esModule', { value: true });
119
- Object.assign(exports$1.default, exports$1);
120
- module.exports = exports$1.default;
121
- }
122
-
123
-
124
- } (useIntersection, useIntersection.exports));
125
- return useIntersection.exports;
126
- }
127
-
128
- export { requireUseIntersection as __require };
129
- //# sourceMappingURL=use-intersection.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-intersection.js","sources":["../../../../../node_modules/next/dist/client/use-intersection.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"useIntersection\", {\n enumerable: true,\n get: function() {\n return useIntersection;\n }\n});\nconst _react = require(\"react\");\nconst _requestidlecallback = require(\"./request-idle-callback\");\nconst hasIntersectionObserver = typeof IntersectionObserver === 'function';\nconst observers = new Map();\nconst idList = [];\nfunction createObserver(options) {\n const id = {\n root: options.root || null,\n margin: options.rootMargin || ''\n };\n const existing = idList.find((obj)=>obj.root === id.root && obj.margin === id.margin);\n let instance;\n if (existing) {\n instance = observers.get(existing);\n if (instance) {\n return instance;\n }\n }\n const elements = new Map();\n const observer = new IntersectionObserver((entries)=>{\n entries.forEach((entry)=>{\n const callback = elements.get(entry.target);\n const isVisible = entry.isIntersecting || entry.intersectionRatio > 0;\n if (callback && isVisible) {\n callback(isVisible);\n }\n });\n }, options);\n instance = {\n id,\n observer,\n elements\n };\n idList.push(id);\n observers.set(id, instance);\n return instance;\n}\nfunction observe(element, callback, options) {\n const { id, observer, elements } = createObserver(options);\n elements.set(element, callback);\n observer.observe(element);\n return function unobserve() {\n elements.delete(element);\n observer.unobserve(element);\n // Destroy observer when there's nothing left to watch:\n if (elements.size === 0) {\n observer.disconnect();\n observers.delete(id);\n const index = idList.findIndex((obj)=>obj.root === id.root && obj.margin === id.margin);\n if (index > -1) {\n idList.splice(index, 1);\n }\n }\n };\n}\nfunction useIntersection({ rootRef, rootMargin, disabled }) {\n const isDisabled = disabled || !hasIntersectionObserver;\n const [visible, setVisible] = (0, _react.useState)(false);\n const elementRef = (0, _react.useRef)(null);\n const setElement = (0, _react.useCallback)((element)=>{\n elementRef.current = element;\n }, []);\n (0, _react.useEffect)(()=>{\n if (hasIntersectionObserver) {\n if (isDisabled || visible) return;\n const element = elementRef.current;\n if (element && element.tagName) {\n const unobserve = observe(element, (isVisible)=>isVisible && setVisible(isVisible), {\n root: rootRef?.current,\n rootMargin\n });\n return unobserve;\n }\n } else {\n if (!visible) {\n const idleCallback = (0, _requestidlecallback.requestIdleCallback)(()=>setVisible(true));\n return ()=>(0, _requestidlecallback.cancelIdleCallback)(idleCallback);\n }\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n isDisabled,\n rootMargin,\n rootRef,\n visible,\n elementRef.current\n ]);\n const resetVisible = (0, _react.useCallback)(()=>{\n setVisible(false);\n }, []);\n return [\n setElement,\n visible,\n resetVisible\n ];\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=use-intersection.js.map"],"names":["exports","require$$0","require$$1"],"mappings":";;;;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAAA,SAAA,EAA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AAQ,UAAU;AAClB,UAAQ,OAAO;AACf,UAAQ,OAAO;AACf,UAAQ,UAAU,CAAC;AACnB,OAAK,CAAC;MACF,MAAM,YAAY,GAAG,IAAI,MAAM,CAAC,WAAW,EAAE,IAAI;UAC7C,UAAU,CAAC,KAAK,CAAC;MACzB,CAAK,EAAE,EAAE,CAAC;AACV,MAAI,OAAO;AACX,UAAQ,UAAU;AAClB,UAAQ,OAAO;UACP;OACH;AACL,EAAA;;AAEA,EAAA,IAAI,CAAC,OAAOF,SAAO,CAAC,OAAO,KAAK,UAAU,KAAK,OAAOA,SAAO,CAAC,OAAO,KAAK,QAAQ,IAAIA,SAAO,CAAC,OAAO,KAAK,IAAI,CAAC,KAAK,OAAOA,SAAO,CAAC,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;AACvK,IAAE,MAAM,CAAC,cAAc,CAACA,SAAO,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACrE,MAAM,CAAC,MAAM,CAACA,SAAO,CAAC,OAAO,EAAEA,SAAO,CAAC;IACvC,MAAA,CAAA,OAAA,GAAiBA,SAAO,CAAC,OAAO;AAClC,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
@@ -1,83 +0,0 @@
1
- import { __module as useMergedRef } from '../../../../_virtual/use-merged-ref.js';
2
- import React__default from 'react';
3
-
4
- var hasRequiredUseMergedRef;
5
-
6
- function requireUseMergedRef () {
7
- if (hasRequiredUseMergedRef) return useMergedRef.exports;
8
- hasRequiredUseMergedRef = 1;
9
- (function (module, exports$1) {
10
- Object.defineProperty(exports$1, "__esModule", {
11
- value: true
12
- });
13
- Object.defineProperty(exports$1, "useMergedRef", {
14
- enumerable: true,
15
- get: function() {
16
- return useMergedRef;
17
- }
18
- });
19
- const _react = React__default;
20
- function useMergedRef(refA, refB) {
21
- const cleanupA = (0, _react.useRef)(null);
22
- const cleanupB = (0, _react.useRef)(null);
23
- // NOTE: In theory, we could skip the wrapping if only one of the refs is non-null.
24
- // (this happens often if the user doesn't pass a ref to Link/Form/Image)
25
- // But this can cause us to leak a cleanup-ref into user code (previously via `<Link legacyBehavior>`),
26
- // and the user might pass that ref into ref-merging library that doesn't support cleanup refs
27
- // (because it hasn't been updated for React 19)
28
- // which can then cause things to blow up, because a cleanup-returning ref gets called with `null`.
29
- // So in practice, it's safer to be defensive and always wrap the ref, even on React 19.
30
- return (0, _react.useCallback)((current)=>{
31
- if (current === null) {
32
- const cleanupFnA = cleanupA.current;
33
- if (cleanupFnA) {
34
- cleanupA.current = null;
35
- cleanupFnA();
36
- }
37
- const cleanupFnB = cleanupB.current;
38
- if (cleanupFnB) {
39
- cleanupB.current = null;
40
- cleanupFnB();
41
- }
42
- } else {
43
- if (refA) {
44
- cleanupA.current = applyRef(refA, current);
45
- }
46
- if (refB) {
47
- cleanupB.current = applyRef(refB, current);
48
- }
49
- }
50
- }, [
51
- refA,
52
- refB
53
- ]);
54
- }
55
- function applyRef(refA, current) {
56
- if (typeof refA === 'function') {
57
- const cleanup = refA(current);
58
- if (typeof cleanup === 'function') {
59
- return cleanup;
60
- } else {
61
- return ()=>refA(null);
62
- }
63
- } else {
64
- refA.current = current;
65
- return ()=>{
66
- refA.current = null;
67
- };
68
- }
69
- }
70
-
71
- if ((typeof exports$1.default === 'function' || (typeof exports$1.default === 'object' && exports$1.default !== null)) && typeof exports$1.default.__esModule === 'undefined') {
72
- Object.defineProperty(exports$1.default, '__esModule', { value: true });
73
- Object.assign(exports$1.default, exports$1);
74
- module.exports = exports$1.default;
75
- }
76
-
77
-
78
- } (useMergedRef, useMergedRef.exports));
79
- return useMergedRef.exports;
80
- }
81
-
82
- export { requireUseMergedRef as __require };
83
- //# sourceMappingURL=use-merged-ref.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-merged-ref.js","sources":["../../../../../node_modules/next/dist/client/use-merged-ref.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"useMergedRef\", {\n enumerable: true,\n get: function() {\n return useMergedRef;\n }\n});\nconst _react = require(\"react\");\nfunction useMergedRef(refA, refB) {\n const cleanupA = (0, _react.useRef)(null);\n const cleanupB = (0, _react.useRef)(null);\n // NOTE: In theory, we could skip the wrapping if only one of the refs is non-null.\n // (this happens often if the user doesn't pass a ref to Link/Form/Image)\n // But this can cause us to leak a cleanup-ref into user code (previously via `<Link legacyBehavior>`),\n // and the user might pass that ref into ref-merging library that doesn't support cleanup refs\n // (because it hasn't been updated for React 19)\n // which can then cause things to blow up, because a cleanup-returning ref gets called with `null`.\n // So in practice, it's safer to be defensive and always wrap the ref, even on React 19.\n return (0, _react.useCallback)((current)=>{\n if (current === null) {\n const cleanupFnA = cleanupA.current;\n if (cleanupFnA) {\n cleanupA.current = null;\n cleanupFnA();\n }\n const cleanupFnB = cleanupB.current;\n if (cleanupFnB) {\n cleanupB.current = null;\n cleanupFnB();\n }\n } else {\n if (refA) {\n cleanupA.current = applyRef(refA, current);\n }\n if (refB) {\n cleanupB.current = applyRef(refB, current);\n }\n }\n }, [\n refA,\n refB\n ]);\n}\nfunction applyRef(refA, current) {\n if (typeof refA === 'function') {\n const cleanup = refA(current);\n if (typeof cleanup === 'function') {\n return cleanup;\n } else {\n return ()=>refA(null);\n }\n } else {\n refA.current = current;\n return ()=>{\n refA.current = null;\n };\n }\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=use-merged-ref.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,cAAc,EAAE;MAC3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