Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve types for <Image /> and responseLimit #40863

Merged
merged 12 commits into from
Sep 27, 2022
Merged

Conversation

brunocrosier
Copy link
Contributor

Currently, a developer building a website using Next.js could write this code with no type errors:

<Image
  width="kangaroo"
  height="100px"
  quality="medium"
  {...rest}
/>

This PR adds stricter type checking, which will catch this type of error earlier.

Similarly, this PR adds stricter types for the responseLimit, to ensure the types align to: https://nextjs.org/docs/messages/api-routes-response-size-limit

@ijjk
Copy link
Member

ijjk commented Sep 23, 2022

Stats from current PR

Default Build (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary brunocrosier/next.js canary Change
buildDuration 33.4s 32.9s -529ms
buildDurationCached 8.5s 9.2s ⚠️ +675ms
nodeModulesSize 91.2 MB 91.2 MB ⚠️ +796 B
nextStartRea..uration (ms) 309ms 305ms -4ms
nextDevReadyDuration 323ms 326ms ⚠️ +3ms
Page Load Tests Overall decrease ⚠️
vercel/next.js canary brunocrosier/next.js canary Change
/ failed reqs 0 0
/ total time (seconds) 9.275 9.327 ⚠️ +0.05
/ avg req/sec 269.55 268.03 ⚠️ -1.52
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 6.152 6.229 ⚠️ +0.08
/error-in-render avg req/sec 406.36 401.32 ⚠️ -5.04
Client Bundles (main, webpack) Overall decrease ✓
vercel/next.js canary brunocrosier/next.js canary Change
719.HASH.js gzip 179 B 179 B
app-internal..HASH.js gzip 213 B 213 B
framework-HASH.js gzip 48.7 kB 48.7 kB
main-app-HASH.js gzip 15.5 kB 15.5 kB ⚠️ +2 B
main-HASH.js gzip 30.9 kB 30.9 kB -13 B
webpack-HASH.js gzip 1.54 kB 1.54 kB -1 B
Overall change 97.1 kB 97.1 kB -12 B
Legacy Client Bundles (polyfills)
vercel/next.js canary brunocrosier/next.js canary Change
polyfills-HASH.js gzip 31 kB 31 kB
Overall change 31 kB 31 kB
Client Pages Overall decrease ✓
vercel/next.js canary brunocrosier/next.js canary Change
_app-HASH.js gzip 202 B 202 B
_error-HASH.js gzip 194 B 193 B -1 B
amp-HASH.js gzip 494 B 494 B
css-HASH.js gzip 327 B 327 B
dynamic-HASH.js gzip 2.03 kB 2.03 kB ⚠️ +2 B
edge-ssr-HASH.js gzip 271 B 272 B ⚠️ +1 B
head-HASH.js gzip 356 B 355 B -1 B
hooks-HASH.js gzip 800 B 803 B ⚠️ +3 B
image-HASH.js gzip 4.89 kB 4.88 kB -5 B
index-HASH.js gzip 263 B 263 B
link-HASH.js gzip 2.37 kB 2.36 kB -7 B
routerDirect..HASH.js gzip 322 B 320 B -2 B
script-HASH.js gzip 390 B 391 B ⚠️ +1 B
withRouter-HASH.js gzip 320 B 317 B -3 B
85e02e95b279..7e3.css gzip 107 B 107 B
Overall change 13.3 kB 13.3 kB -12 B
Client Build Manifests
vercel/next.js canary brunocrosier/next.js canary Change
_buildManifest.js gzip 483 B 483 B
Overall change 483 B 483 B
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary brunocrosier/next.js canary Change
index.html gzip 509 B 512 B ⚠️ +3 B
link.html gzip 524 B 525 B ⚠️ +1 B
withRouter.html gzip 504 B 507 B ⚠️ +3 B
Overall change 1.54 kB 1.54 kB ⚠️ +7 B
Edge SSR bundle Size Overall decrease ✓
vercel/next.js canary brunocrosier/next.js canary Change
edge-ssr.js gzip 73.1 kB 73.1 kB ⚠️ +2 B
page.js gzip 84.4 kB 84.4 kB -3 B
Overall change 157 kB 157 kB -1 B
Middleware size Overall increase ⚠️
vercel/next.js canary brunocrosier/next.js canary Change
middleware-b..fest.js gzip 590 B 591 B ⚠️ +1 B
middleware-r..fest.js gzip 145 B 144 B -1 B
middleware.js gzip 18.8 kB 18.8 kB ⚠️ +2 B
edge-runtime..pack.js gzip 1.83 kB 1.83 kB
Overall change 21.3 kB 21.3 kB ⚠️ +2 B

Diffs

Diff for page.js

Diff too large to display

Diff for middleware-b..-manifest.js
@@ -7,95 +7,95 @@ self.__BUILD_MANIFEST = {
     "static/BUILD_ID/_ssgManifest.js"
   ],
   rootMainFiles: [
-    "static/chunks/webpack-a9f026eee389fef1.js",
+    "static/chunks/webpack-7f3d22171e3c7e57.js",
     "static/chunks/framework-b11e50df1bb3c9a6.js",
-    "static/chunks/main-app-386b37a3a6defc53.js"
+    "static/chunks/main-app-f3427be0c0950dd8.js"
   ],
   pages: {
     "/": [
-      "static/chunks/webpack-a9f026eee389fef1.js",
+      "static/chunks/webpack-7f3d22171e3c7e57.js",
       "static/chunks/framework-b11e50df1bb3c9a6.js",
-      "static/chunks/main-c9cf4adbf7c9c29b.js",
-      "static/chunks/pages/index-5eb0c6dd1b07f92f.js"
+      "static/chunks/main-705f440952f28d05.js",
+      "static/chunks/pages/index-f042f599c30d45db.js"
     ],
     "/_app": [
-      "static/chunks/webpack-a9f026eee389fef1.js",
+      "static/chunks/webpack-7f3d22171e3c7e57.js",
       "static/chunks/framework-b11e50df1bb3c9a6.js",
-      "static/chunks/main-c9cf4adbf7c9c29b.js",
-      "static/chunks/pages/_app-25a28c06117c6d2f.js"
+      "static/chunks/main-705f440952f28d05.js",
+      "static/chunks/pages/_app-d940e48718ce3bec.js"
     ],
     "/_error": [
-      "static/chunks/webpack-a9f026eee389fef1.js",
+      "static/chunks/webpack-7f3d22171e3c7e57.js",
       "static/chunks/framework-b11e50df1bb3c9a6.js",
-      "static/chunks/main-c9cf4adbf7c9c29b.js",
-      "static/chunks/pages/_error-e21edc8f3b0da91c.js"
+      "static/chunks/main-705f440952f28d05.js",
+      "static/chunks/pages/_error-aedd03913df85245.js"
     ],
     "/amp": [
-      "static/chunks/webpack-a9f026eee389fef1.js",
+      "static/chunks/webpack-7f3d22171e3c7e57.js",
       "static/chunks/framework-b11e50df1bb3c9a6.js",
-      "static/chunks/main-c9cf4adbf7c9c29b.js",
-      "static/chunks/pages/amp-c81267ba5c68d126.js"
+      "static/chunks/main-705f440952f28d05.js",
+      "static/chunks/pages/amp-f3d5fe8a5c6e0377.js"
     ],
     "/css": [
-      "static/chunks/webpack-a9f026eee389fef1.js",
+      "static/chunks/webpack-7f3d22171e3c7e57.js",
       "static/chunks/framework-b11e50df1bb3c9a6.js",
-      "static/chunks/main-c9cf4adbf7c9c29b.js",
+      "static/chunks/main-705f440952f28d05.js",
       "static/css/94fdbc56eafa2039.css",
-      "static/chunks/pages/css-1a704b23b3813bc6.js"
+      "static/chunks/pages/css-5088098e50885674.js"
     ],
     "/dynamic": [
-      "static/chunks/webpack-a9f026eee389fef1.js",
+      "static/chunks/webpack-7f3d22171e3c7e57.js",
       "static/chunks/framework-b11e50df1bb3c9a6.js",
-      "static/chunks/main-c9cf4adbf7c9c29b.js",
-      "static/chunks/pages/dynamic-0cb15f3727ae1bd1.js"
+      "static/chunks/main-705f440952f28d05.js",
+      "static/chunks/pages/dynamic-7f77c76aa6a13ade.js"
     ],
     "/edge-ssr": [
-      "static/chunks/webpack-a9f026eee389fef1.js",
+      "static/chunks/webpack-7f3d22171e3c7e57.js",
       "static/chunks/framework-b11e50df1bb3c9a6.js",
-      "static/chunks/main-c9cf4adbf7c9c29b.js",
-      "static/chunks/pages/edge-ssr-947047b398cb06f5.js"
+      "static/chunks/main-705f440952f28d05.js",
+      "static/chunks/pages/edge-ssr-73aa9a5b806b4236.js"
     ],
     "/head": [
-      "static/chunks/webpack-a9f026eee389fef1.js",
+      "static/chunks/webpack-7f3d22171e3c7e57.js",
       "static/chunks/framework-b11e50df1bb3c9a6.js",
-      "static/chunks/main-c9cf4adbf7c9c29b.js",
-      "static/chunks/pages/head-0a275f7b459b9b27.js"
+      "static/chunks/main-705f440952f28d05.js",
+      "static/chunks/pages/head-50fcbc357a31413a.js"
     ],
     "/hooks": [
-      "static/chunks/webpack-a9f026eee389fef1.js",
+      "static/chunks/webpack-7f3d22171e3c7e57.js",
       "static/chunks/framework-b11e50df1bb3c9a6.js",
-      "static/chunks/main-c9cf4adbf7c9c29b.js",
-      "static/chunks/pages/hooks-e02e15e6cecf7921.js"
+      "static/chunks/main-705f440952f28d05.js",
+      "static/chunks/pages/hooks-0a030866b1a15149.js"
     ],
     "/image": [
-      "static/chunks/webpack-a9f026eee389fef1.js",
+      "static/chunks/webpack-7f3d22171e3c7e57.js",
       "static/chunks/framework-b11e50df1bb3c9a6.js",
-      "static/chunks/main-c9cf4adbf7c9c29b.js",
-      "static/chunks/pages/image-4abf850af7a41d30.js"
+      "static/chunks/main-705f440952f28d05.js",
+      "static/chunks/pages/image-3cf5e0dc79f30e4b.js"
     ],
     "/link": [
-      "static/chunks/webpack-a9f026eee389fef1.js",
+      "static/chunks/webpack-7f3d22171e3c7e57.js",
       "static/chunks/framework-b11e50df1bb3c9a6.js",
-      "static/chunks/main-c9cf4adbf7c9c29b.js",
-      "static/chunks/pages/link-771a0e52abf1fe94.js"
+      "static/chunks/main-705f440952f28d05.js",
+      "static/chunks/pages/link-bf9aa23f202cda93.js"
     ],
     "/routerDirect": [
-      "static/chunks/webpack-a9f026eee389fef1.js",
+      "static/chunks/webpack-7f3d22171e3c7e57.js",
       "static/chunks/framework-b11e50df1bb3c9a6.js",
-      "static/chunks/main-c9cf4adbf7c9c29b.js",
-      "static/chunks/pages/routerDirect-bf44b9d35a2c1d7e.js"
+      "static/chunks/main-705f440952f28d05.js",
+      "static/chunks/pages/routerDirect-988ce49482abf939.js"
     ],
     "/script": [
-      "static/chunks/webpack-a9f026eee389fef1.js",
+      "static/chunks/webpack-7f3d22171e3c7e57.js",
       "static/chunks/framework-b11e50df1bb3c9a6.js",
-      "static/chunks/main-c9cf4adbf7c9c29b.js",
-      "static/chunks/pages/script-28cec8809c10f397.js"
+      "static/chunks/main-705f440952f28d05.js",
+      "static/chunks/pages/script-51ddb09154eaa5d1.js"
     ],
     "/withRouter": [
-      "static/chunks/webpack-a9f026eee389fef1.js",
+      "static/chunks/webpack-7f3d22171e3c7e57.js",
       "static/chunks/framework-b11e50df1bb3c9a6.js",
-      "static/chunks/main-c9cf4adbf7c9c29b.js",
-      "static/chunks/pages/withRouter-23aaf5069f15da2c.js"
+      "static/chunks/main-705f440952f28d05.js",
+      "static/chunks/pages/withRouter-660de52a62c3e659.js"
     ]
   },
   ampFirstPages: []
Diff for middleware-r..-manifest.js
@@ -1,6 +1,6 @@
 self.__REACT_LOADABLE_MANIFEST = {
   "dynamic.js -> ../components/hello": {
-    id: 8719,
-    files: ["static/chunks/719.af92bec8d88a7c71.js"]
+    id: 384,
+    files: ["static/chunks/384.597e9611680302af.js"]
   }
 };
Diff for middleware.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [826],
   {
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/build/webpack/loaders/next-middleware-loader.js?absolutePagePath=private-next-root-dir%2Fmiddleware.js&page=%2Fmiddleware&rootDir=%2Ftmp%2Fnext-stats%2Fstats-app&matchers=!": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/build/webpack/loaders/next-middleware-loader.js?absolutePagePath=private-next-root-dir%2Fmiddleware.js&page=%2Fmiddleware&rootDir=%2Ftmp%2Fnext-stats%2Fstats-app&matchers=!": /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -14,7 +14,7 @@
         /* harmony export */
       });
       /* harmony import */ var next_dist_server_web_adapter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/adapter.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/adapter.js"
       );
 
       (0,
@@ -58,7 +58,7 @@
         /* harmony export */
       });
       /* harmony import */ var next_server__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/server.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/server.js"
       );
       /* harmony import */ var next_server__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/ __webpack_require__.n(
         next_server__WEBPACK_IMPORTED_MODULE_0__
@@ -71,7 +71,7 @@
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/get-hostname.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/get-hostname.js": /***/ (
       __unused_webpack_module,
       exports
     ) => {
@@ -94,7 +94,7 @@
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js": /***/ (
       __unused_webpack_module,
       exports
     ) => {
@@ -135,7 +135,7 @@
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js": /***/ (
       __unused_webpack_module,
       exports
     ) => {
@@ -170,7 +170,7 @@
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/add-locale.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/add-locale.js": /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -182,10 +182,10 @@
       });
       exports.addLocale = addLocale;
       var _addPathPrefix = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js"
       );
       var _pathHasPrefix = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js"
       );
       function addLocale(path, locale, defaultLocale, ignorePrefix) {
         if (
@@ -206,7 +206,7 @@
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js": /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -218,7 +218,7 @@
       });
       exports.addPathPrefix = addPathPrefix;
       var _parsePath = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/parse-path.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/parse-path.js"
       );
       function addPathPrefix(path, prefix) {
         if (!path.startsWith("/") || !prefix) {
@@ -231,7 +231,7 @@
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js": /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -243,7 +243,7 @@
       });
       exports.addPathSuffix = addPathSuffix;
       var _parsePath = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/parse-path.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/parse-path.js"
       );
       function addPathSuffix(path, suffix) {
         if (!path.startsWith("/") || !suffix) {
@@ -256,7 +256,7 @@
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js": /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -268,16 +268,16 @@
       });
       exports.formatNextPathnameInfo = formatNextPathnameInfo;
       var _removeTrailingSlash = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js"
       );
       var _addPathPrefix = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js"
       );
       var _addPathSuffix = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js"
       );
       var _addLocale = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/add-locale.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/add-locale.js"
       );
       function formatNextPathnameInfo(info) {
         let pathname = (0, _addLocale).addLocale(
@@ -306,7 +306,7 @@
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js": /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -318,13 +318,13 @@
       });
       exports.getNextPathnameInfo = getNextPathnameInfo;
       var _normalizeLocalePath = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js"
       );
       var _removePathPrefix = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js"
       );
       var _pathHasPrefix = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js"
       );
       function getNextPathnameInfo(pathname, options) {
         var _nextConfig;
@@ -375,7 +375,7 @@
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/parse-path.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/parse-path.js": /***/ (
       __unused_webpack_module,
       exports
     ) => {
@@ -412,7 +412,7 @@
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js": /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -424,7 +424,7 @@
       });
       exports.pathHasPrefix = pathHasPrefix;
       var _parsePath = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/parse-path.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/parse-path.js"
       );
       function pathHasPrefix(path, prefix) {
         if (typeof path !== "string") {
@@ -437,7 +437,7 @@
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/relativize-url.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/relativize-url.js": /***/ (
       __unused_webpack_module,
       exports
     ) => {
@@ -459,7 +459,7 @@
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js": /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -471,7 +471,7 @@
       });
       exports.removePathPrefix = removePathPrefix;
       var _pathHasPrefix = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js"
       );
       function removePathPrefix(path, prefix) {
         if ((0, _pathHasPrefix).pathHasPrefix(path, prefix)) {
@@ -486,7 +486,7 @@
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js": /***/ (
       __unused_webpack_module,
       exports
     ) => {
@@ -503,7 +503,7 @@
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/compiled/cookie/index.js": /***/ module => {
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/compiled/cookie/index.js": /***/ module => {
       var __dirname = "/";
       (() => {
         "use strict";
@@ -631,7 +631,7 @@
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/compiled/ua-parser-js/ua-parser.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/compiled/ua-parser-js/ua-parser.js": /***/ (
       module,
       exports,
       __webpack_require__
@@ -1477,7 +1477,7 @@
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/internal-utils.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/internal-utils.js": /***/ (
       __unused_webpack_module,
       exports
     ) => {
@@ -1522,7 +1522,7 @@
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/adapter.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/adapter.js": /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -1537,28 +1537,28 @@
       exports.OT = blockUnallowedResponse;
       exports.gL = enhanceGlobals;
       var _error = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/error.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/error.js"
       );
       var _utils = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/utils.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/utils.js"
       );
       var _fetchEvent = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/fetch-event.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/fetch-event.js"
       );
       var _request = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/request.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/request.js"
       );
       var _response = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/response.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/response.js"
       );
       var _relativizeUrl = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/relativize-url.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/relativize-url.js"
       );
       var _nextUrl = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/next-url.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/next-url.js"
       );
       var _internalUtils = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/internal-utils.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/internal-utils.js"
       );
       class NextRequestHint extends _request.NextRequest {
         constructor(params) {
@@ -1785,7 +1785,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/error.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/error.js": /***/ (
       __unused_webpack_module,
       exports
     ) => {
@@ -1829,7 +1829,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/next-url.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/next-url.js": /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -1840,16 +1840,16 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         value: true
       });
       var _detectDomainLocale = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js"
       );
       var _formatNextPathnameInfo = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js"
       );
       var _getHostname = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/get-hostname.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/get-hostname.js"
       );
       var _getNextPathnameInfo = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js"
       );
       const REGEX_LOCALHOST_HOSTNAME = /(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|::1|localhost)/;
       function parseURL(url, base) {
@@ -2075,7 +2075,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/cookies.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/cookies.js": /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -2087,7 +2087,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       });
       var _cookie = _interopRequireDefault(
         __webpack_require__(
-          "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/compiled/cookie/index.js"
+          "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/compiled/cookie/index.js"
         )
       );
       function _interopRequireDefault(obj) {
@@ -2224,7 +2224,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/fetch-event.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/fetch-event.js": /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -2236,7 +2236,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       });
       exports.waitUntilSymbol = void 0;
       var _error = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/error.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/error.js"
       );
       const responseSymbol = Symbol("response");
       const passThroughSymbol = Symbol("passThrough");
@@ -2290,7 +2290,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/request.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/request.js": /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -2302,16 +2302,16 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       });
       exports.INTERNALS = void 0;
       var _nextUrl = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/next-url.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/next-url.js"
       );
       var _utils = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/utils.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/utils.js"
       );
       var _error = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/error.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/error.js"
       );
       var _cookies = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/cookies.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/cookies.js"
       );
       const INTERNALS = Symbol("internal request");
       exports.INTERNALS = INTERNALS;
@@ -2393,7 +2393,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/response.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/response.js": /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -2404,13 +2404,13 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         value: true
       });
       var _nextUrl = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/next-url.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/next-url.js"
       );
       var _utils = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/utils.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/utils.js"
       );
       var _cookies = __webpack_require__(
-        "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/cookies.js"
+        "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/cookies.js"
       );
       const INTERNALS = Symbol("internal response");
       const REDIRECTS = new Set([301, 302, 303, 307, 308]);
@@ -2501,7 +2501,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/user-agent.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/user-agent.js": /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -2517,7 +2517,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       exports.WE = userAgent;
       var _uaParserJs = _interopRequireDefault(
         __webpack_require__(
-          "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/compiled/ua-parser-js/ua-parser.js"
+          "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/compiled/ua-parser-js/ua-parser.js"
         )
       );
       function _interopRequireDefault(obj) {
@@ -2547,7 +2547,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/utils.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/utils.js": /***/ (
       __unused_webpack_module,
       exports
     ) => {
@@ -2665,23 +2665,23 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/server.js": /***/ (
+    /***/ "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/server.js": /***/ (
       module,
       exports,
       __webpack_require__
     ) => {
       const serverExports = {
         NextRequest: __webpack_require__(
-          "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/request.js"
+          "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/request.js"
         ).NextRequest,
         NextResponse: __webpack_require__(
-          "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/response.js"
+          "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/response.js"
         ).NextResponse,
         userAgentFromString: __webpack_require__(
-          "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/user-agent.js"
+          "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/user-agent.js"
         ) /* .userAgentFromString */.Nf,
         userAgent: __webpack_require__(
-          "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/user-agent.js"
+          "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/server/web/spec-extension/user-agent.js"
         ) /* .userAgent */.WE
       };
 
@@ -2709,7 +2709,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
     /******/ var __webpack_exec__ = moduleId =>
       __webpack_require__((__webpack_require__.s = moduleId));
     /******/ var __webpack_exports__ = __webpack_exec__(
-      "(middleware)/./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/build/webpack/loaders/next-middleware-loader.js?absolutePagePath=private-next-root-dir%2Fmiddleware.js&page=%2Fmiddleware&rootDir=%2Ftmp%2Fnext-stats%2Fstats-app&matchers=!"
+      "(middleware)/./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_bah4pvzs5m2jsombgoz6nngonm/node_modules/next/dist/build/webpack/loaders/next-middleware-loader.js?absolutePagePath=private-next-root-dir%2Fmiddleware.js&page=%2Fmiddleware&rootDir=%2Ftmp%2Fnext-stats%2Fstats-app&matchers=!"
     );
     /******/ (_ENTRIES =
       typeof _ENTRIES === "undefined"
Diff for edge-ssr.js

Diff too large to display

Diff for _buildManifest.js
@@ -1,28 +1,28 @@
 self.__BUILD_MANIFEST = {
   __rewrites: { beforeFiles: [], afterFiles: [], fallback: [] },
-  "/": ["static\u002Fchunks\u002Fpages\u002Findex-5eb0c6dd1b07f92f.js"],
-  "/_error": ["static\u002Fchunks\u002Fpages\u002F_error-e21edc8f3b0da91c.js"],
-  "/amp": ["static\u002Fchunks\u002Fpages\u002Famp-c81267ba5c68d126.js"],
+  "/": ["static\u002Fchunks\u002Fpages\u002Findex-f042f599c30d45db.js"],
+  "/_error": ["static\u002Fchunks\u002Fpages\u002F_error-aedd03913df85245.js"],
+  "/amp": ["static\u002Fchunks\u002Fpages\u002Famp-f3d5fe8a5c6e0377.js"],
   "/css": [
     "static\u002Fcss\u002F94fdbc56eafa2039.css",
-    "static\u002Fchunks\u002Fpages\u002Fcss-1a704b23b3813bc6.js"
+    "static\u002Fchunks\u002Fpages\u002Fcss-5088098e50885674.js"
   ],
   "/dynamic": [
-    "static\u002Fchunks\u002Fpages\u002Fdynamic-0cb15f3727ae1bd1.js"
+    "static\u002Fchunks\u002Fpages\u002Fdynamic-7f77c76aa6a13ade.js"
   ],
   "/edge-ssr": [
-    "static\u002Fchunks\u002Fpages\u002Fedge-ssr-947047b398cb06f5.js"
+    "static\u002Fchunks\u002Fpages\u002Fedge-ssr-73aa9a5b806b4236.js"
   ],
-  "/head": ["static\u002Fchunks\u002Fpages\u002Fhead-0a275f7b459b9b27.js"],
-  "/hooks": ["static\u002Fchunks\u002Fpages\u002Fhooks-e02e15e6cecf7921.js"],
-  "/image": ["static\u002Fchunks\u002Fpages\u002Fimage-4abf850af7a41d30.js"],
-  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-771a0e52abf1fe94.js"],
+  "/head": ["static\u002Fchunks\u002Fpages\u002Fhead-50fcbc357a31413a.js"],
+  "/hooks": ["static\u002Fchunks\u002Fpages\u002Fhooks-0a030866b1a15149.js"],
+  "/image": ["static\u002Fchunks\u002Fpages\u002Fimage-3cf5e0dc79f30e4b.js"],
+  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-bf9aa23f202cda93.js"],
   "/routerDirect": [
-    "static\u002Fchunks\u002Fpages\u002FrouterDirect-bf44b9d35a2c1d7e.js"
+    "static\u002Fchunks\u002Fpages\u002FrouterDirect-988ce49482abf939.js"
   ],
-  "/script": ["static\u002Fchunks\u002Fpages\u002Fscript-28cec8809c10f397.js"],
+  "/script": ["static\u002Fchunks\u002Fpages\u002Fscript-51ddb09154eaa5d1.js"],
   "/withRouter": [
-    "static\u002Fchunks\u002Fpages\u002FwithRouter-23aaf5069f15da2c.js"
+    "static\u002Fchunks\u002Fpages\u002FwithRouter-660de52a62c3e659.js"
   ],
   sortedPages: [
     "\u002F",
Diff for _app-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [888],
   {
-    /***/ 8351: /***/ function(
+    /***/ 7006: /***/ function(
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/_app",
         function() {
-          return __webpack_require__(4105);
+          return __webpack_require__(3729);
         }
       ]);
       if (false) {
@@ -24,7 +24,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [774, 179], function() {
-      return __webpack_exec__(8351), __webpack_exec__(2383);
+      return __webpack_exec__(7006), __webpack_exec__(1134);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for _error-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [820],
   {
-    /***/ 9548: /***/ function(
+    /***/ 3020: /***/ function(
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/_error",
         function() {
-          return __webpack_require__(7437);
+          return __webpack_require__(729);
         }
       ]);
       if (false) {
@@ -24,7 +24,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [888, 774, 179], function() {
-      return __webpack_exec__(9548);
+      return __webpack_exec__(3020);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for amp-HASH.js
@@ -1,17 +1,17 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [216],
   {
-    /***/ 3485: /***/ function(
+    /***/ 7481: /***/ function(
       module,
       __unused_webpack_exports,
       __webpack_require__
     ) {
-      module.exports = false ? 0 : __webpack_require__(2930);
+      module.exports = false ? 0 : __webpack_require__(3343);
 
       /***/
     },
 
-    /***/ 6530: /***/ function(
+    /***/ 2880: /***/ function(
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -19,7 +19,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/amp",
         function() {
-          return __webpack_require__(7249);
+          return __webpack_require__(1357);
         }
       ]);
       if (false) {
@@ -28,7 +28,7 @@
       /***/
     },
 
-    /***/ 2930: /***/ function(module, exports, __webpack_require__) {
+    /***/ 3343: /***/ function(module, exports, __webpack_require__) {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -38,8 +38,8 @@
       var _interop_require_default = __webpack_require__(7022) /* ["default"] */
         .Z;
       var _react = _interop_require_default(__webpack_require__(6273));
-      var _ampContext = __webpack_require__(4602);
-      var _ampMode = __webpack_require__(4841);
+      var _ampContext = __webpack_require__(1391);
+      var _ampMode = __webpack_require__(9757);
       function useAmp() {
         // Don't assign the context value to a variable to save bytes
         return (0, _ampMode).isInAmpMode(
@@ -61,7 +61,7 @@
       /***/
     },
 
-    /***/ 7249: /***/ function(
+    /***/ 1357: /***/ function(
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -78,7 +78,7 @@
         /* harmony export */
       });
       /* harmony import */ var next_amp__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
-        3485
+        7481
       );
       /* harmony import */ var next_amp__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/ __webpack_require__.n(
         next_amp__WEBPACK_IMPORTED_MODULE_0__
@@ -102,7 +102,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [888, 774, 179], function() {
-      return __webpack_exec__(6530);
+      return __webpack_exec__(2880);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for css-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [706],
   {
-    /***/ 631: /***/ function(
+    /***/ 1737: /***/ function(
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/css",
         function() {
-          return __webpack_require__(1293);
+          return __webpack_require__(7867);
         }
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 1293: /***/ function(
+    /***/ 7867: /***/ function(
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -29,7 +29,7 @@
         1760
       );
       /* harmony import */ var _css_module_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
-        2555
+        4449
       );
       /* harmony import */ var _css_module_css__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/ __webpack_require__.n(
         _css_module_css__WEBPACK_IMPORTED_MODULE_1__
@@ -48,7 +48,7 @@
       /***/
     },
 
-    /***/ 2555: /***/ function(module) {
+    /***/ 4449: /***/ function(module) {
       // extracted by mini-css-extract-plugin
       module.exports = { helloWorld: "css_helloWorld__qqNwY" };
 
@@ -61,7 +61,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [774, 888, 179], function() {
-      return __webpack_exec__(631);
+      return __webpack_exec__(1737);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for dynamic-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [739],
   {
-    /***/ 8963: /***/ function(
+    /***/ 9051: /***/ function(
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/dynamic",
         function() {
-          return __webpack_require__(7522);
+          return __webpack_require__(6743);
         }
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 6242: /***/ function(module, exports, __webpack_require__) {
+    /***/ 6343: /***/ function(module, exports, __webpack_require__) {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -34,7 +34,7 @@
       var _interop_require_default = __webpack_require__(7022) /* ["default"] */
         .Z;
       var _react = _interop_require_default(__webpack_require__(6273));
-      var _loadable = _interop_require_default(__webpack_require__(894));
+      var _loadable = _interop_require_default(__webpack_require__(5191));
       function dynamic(dynamicOptions, options) {
         var loadableFn = _loadable.default;
         var loadableOptions = (options == null
@@ -138,7 +138,7 @@
       /***/
     },
 
-    /***/ 6010: /***/ function(
+    /***/ 4144: /***/ function(
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -160,7 +160,7 @@
       /***/
     },
 
-    /***/ 894: /***/ function(
+    /***/ 5191: /***/ function(
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -180,7 +180,7 @@
       var _interop_require_default = __webpack_require__(7022) /* ["default"] */
         .Z;
       var _react = _interop_require_default(__webpack_require__(6273));
-      var _loadableContext = __webpack_require__(6010);
+      var _loadableContext = __webpack_require__(4144);
       var useSyncExternalStore = (true ? __webpack_require__(6273) : 0)
         .useSyncExternalStore;
       var ALL_INITIALIZERS = [];
@@ -494,7 +494,7 @@
       /***/
     },
 
-    /***/ 7522: /***/ function(
+    /***/ 6743: /***/ function(
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -511,7 +511,7 @@
         1760
       );
       /* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
-        6706
+        9477
       );
       /* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/ __webpack_require__.n(
         next_dynamic__WEBPACK_IMPORTED_MODULE_1__
@@ -520,13 +520,13 @@
       var DynamicHello = next_dynamic__WEBPACK_IMPORTED_MODULE_1___default()(
         function() {
           return __webpack_require__
-            .e(/* import() */ 719)
-            .then(__webpack_require__.bind(__webpack_require__, 8719));
+            .e(/* import() */ 384)
+            .then(__webpack_require__.bind(__webpack_require__, 384));
         },
         {
           loadableGenerated: {
             webpack: function() {
-              return [/*require.resolve*/ 8719];
+              return [/*require.resolve*/ 384];
             }
           }
         }
@@ -556,12 +556,12 @@
       /***/
     },
 
-    /***/ 6706: /***/ function(
+    /***/ 9477: /***/ function(
       module,
       __unused_webpack_exports,
       __webpack_require__
     ) {
-      module.exports = false ? 0 : __webpack_require__(6242);
+      module.exports = false ? 0 : __webpack_require__(6343);
 
       /***/
     }
@@ -572,7 +572,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [774, 888, 179], function() {
-      return __webpack_exec__(8963);
+      return __webpack_exec__(9051);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for edge-ssr-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [800],
   {
-    /***/ 529: /***/ function(
+    /***/ 3839: /***/ function(
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/edge-ssr",
         function() {
-          return __webpack_require__(8259);
+          return __webpack_require__(1646);
         }
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 8259: /***/ function(
+    /***/ 1646: /***/ function(
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -50,7 +50,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [888, 774, 179], function() {
-      return __webpack_exec__(529);
+      return __webpack_exec__(3839);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for head-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [645],
   {
-    /***/ 8780: /***/ function(
+    /***/ 2116: /***/ function(
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/head",
         function() {
-          return __webpack_require__(4169);
+          return __webpack_require__(815);
         }
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 4169: /***/ function(
+    /***/ 815: /***/ function(
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -35,7 +35,7 @@
         1760
       );
       /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
-        8722
+        8631
       );
       /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/ __webpack_require__.n(
         next_head__WEBPACK_IMPORTED_MODULE_1__
@@ -71,12 +71,12 @@
       /***/
     },
 
-    /***/ 8722: /***/ function(
+    /***/ 8631: /***/ function(
       module,
       __unused_webpack_exports,
       __webpack_require__
     ) {
-      module.exports = false ? 0 : __webpack_require__(4380);
+      module.exports = false ? 0 : __webpack_require__(4860);
 
       /***/
     }
@@ -87,7 +87,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [774, 888, 179], function() {
-      return __webpack_exec__(8780);
+      return __webpack_exec__(2116);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for hooks-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [757],
   {
-    /***/ 4076: /***/ function(
+    /***/ 1042: /***/ function(
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/hooks",
         function() {
-          return __webpack_require__(9029);
+          return __webpack_require__(4556);
         }
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 9029: /***/ function(
+    /***/ 4556: /***/ function(
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -132,7 +132,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [774, 888, 179], function() {
-      return __webpack_exec__(4076);
+      return __webpack_exec__(1042);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for image-HASH.js
@@ -26,7 +26,7 @@
       /***/
     },
 
-    /***/ 7735: /***/ function(
+    /***/ 7865: /***/ function(
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -34,7 +34,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/image",
         function() {
-          return __webpack_require__(2504);
+          return __webpack_require__(7347);
         }
       ]);
       if (false) {
@@ -43,7 +43,7 @@
       /***/
     },
 
-    /***/ 9130: /***/ function(module, exports, __webpack_require__) {
+    /***/ 460: /***/ function(module, exports, __webpack_require__) {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -66,12 +66,12 @@
         5997
       ) /* ["default"] */.Z;
       var _react = _interop_require_wildcard(__webpack_require__(6273));
-      var _head = _interop_require_default(__webpack_require__(4380));
-      var _imageConfig = __webpack_require__(628);
-      var _useIntersection = __webpack_require__(2754);
-      var _imageConfigContext = __webpack_require__(394);
-      var _utils = __webpack_require__(1077);
-      var _normalizeTrailingSlash = __webpack_require__(5423);
+      var _head = _interop_require_default(__webpack_require__(4860));
+      var _imageConfig = __webpack_require__(826);
+      var _useIntersection = __webpack_require__(9645);
+      var _imageConfigContext = __webpack_require__(789);
+      var _utils = __webpack_require__(346);
+      var _normalizeTrailingSlash = __webpack_require__(5623);
       function Image(_param) {
         var src = _param.src,
           sizes = _param.sizes,
@@ -929,7 +929,7 @@
       /***/
     },
 
-    /***/ 2754: /***/ function(module, exports, __webpack_require__) {
+    /***/ 9645: /***/ function(module, exports, __webpack_require__) {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -941,7 +941,7 @@
       });
       exports.useIntersection = useIntersection;
       var _react = __webpack_require__(6273);
-      var _requestIdleC
Post job cleanup.
[command]/usr/bin/git version
git version 2.37.3
Temporarily overriding HOME='/home/runner/work/_temp/510f13b2-0322-49cd-b967-f265f5058c45' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/next.js/next.js
[command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
[command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
http.https://github.com/.extraheader
[command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
Cleaning up orphan processes
Commit: 1d26e9950e7708c7de44c00217fafa4f3200b77b

| 't'
| 'T'
| 'p'
| 'P'}${'b' | 'B'}`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to restrictive because it doesnt work with 1000 which is documented in the JSDoc:

any string format supported by bytes, for example 1000, '500kb'

Lets add tests for this to ensure all cases are covered

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review! 🙏🏼

Hmm, I am pretty sure that number still works here (see screenshot)

image

Basically, SizeLimit is either a number or a literal type comprised of a number and an accepted file suffix

Essentially, this should match exactly to the types from the bytes library (screenshot below)

image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are some examples of it working as expected:

image

I can try to add some tests for this, do you know where I can add these?

layout?: LayoutValue
loader?: ImageLoader
quality?: number | string
quality?: NumericValue
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes to next/image and next/future/image look good. Feel free to move that in a separate PR so we can merge it in.

Also add a test to invalid.tsx and valid.tsx fixture here: https://github.com/vercel/next.js/tree/canary/test/integration/image-future/typescript/pages

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cheers, have added some tests there!

@styfle
Copy link
Member

styfle commented Sep 26, 2022

Looks like this is failing one of the tests for Yarn 4

return `yarn set version 4.0.0-rc.13 && yarn config set enableGlobalCache true && yarn config set compressionLevel 0 && yarn add ${pkgs.join(

https://github.com/vercel/next.js/actions/runs/3131600759/jobs/5083141295#step:9:237

ijjk added a commit that referenced this pull request Sep 26, 2022
Bumps the version for the legacy `with-typescript` example as it's
behind our recommended TypeScript version. We can investigate aliasing
this example to the default template in a follow-up.

## Documentation / Examples

- [x] Make sure the linting passes by running `pnpm lint`
- [ ] The "examples guidelines" are followed from [our contributing
doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)

x-ref:
#40863 (comment)
@styfle
Copy link
Member

styfle commented Sep 27, 2022

Probably the outdated example. It should be fixed in #40924

@ijjk ijjk merged commit 83f89c4 into vercel:canary Sep 27, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants