Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[metadata] fix the metadata route like pages and refactor utils#77264

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
huozhi merged 13 commits intocanaryfromhuozhi/03-18-handle_metadata_route_like_pages
Mar 20, 2025

Conversation

huozhi
Copy link
Member

@huozhihuozhi commentedMar 19, 2025
edited
Loading

What

  • Fix the metadata route like pages rendering, e.g./sitemap/page.js should still work properly rather than being treated as route
  • Refactor metadata utils, should prefer using the file matcher rather than just checking the route or page path if possible to determine if it's metadata route

Previously the metadata regex didn't handle the route well. For example:

When it's not checking the end,/opengraph-image-abc can still be matched, but actually it's not a valid metadata route. This PR refines the route/file path regex matching for metadata entries and add more tests.

The underlayer helper -isMetadataRouteFile, you can use it to check if a file path is an metadata entry.
The helpers built on top of it:

  • isMetadataPage: determine if a page path is metadata route, the input is more like a pathname.
  • isMetadataRoute: determine if a route is metadata route, the input contains nextjs route suffix like/route.

We change the most of places to useisMetadataRouteFile if possible, since it's more accurate, especially when we check the static metadata routes, e.g./opengraph-image.png,/opengraph-image.js will require the extension check and strict matching on file name convention.

Closes#77250
Fixes#76747

@huozhiGraphite App
Copy link
MemberAuthor

huozhi commentedMar 19, 2025
edited
Loading

@ijjk
Copy link
Member

ijjk commentedMar 19, 2025
edited
Loading

Tests Passed

@ijjk
Copy link
Member

ijjk commentedMar 19, 2025
edited
Loading

Stats from current PR

Default Build (Increase detected⚠️)
General Overall increase⚠️
vercel/next.js canaryvercel/next.js huozhi/03-18-handle_metadata_route_like_pagesChange
buildDuration18.2s16.5sN/A
buildDurationCached15.6s13.2sN/A
nodeModulesSize391 MB391 MB⚠️ +21.5 kB
nextStartRea..uration (ms)442ms446msN/A
Client Bundles (main, webpack)
vercel/next.js canaryvercel/next.js huozhi/03-18-handle_metadata_route_like_pagesChange
6867.HASH.js gzip168 B169 BN/A
8987-HASH.js gzip45.8 kB45.5 kBN/A
9484-HASH.js gzip5.46 kB5.43 kBN/A
bccd1874-HASH.js gzip53.1 kB53.1 kBN/A
framework-HASH.js gzip57.3 kB57.3 kB
main-app-HASH.js gzip242 B241 BN/A
main-HASH.js gzip34.1 kB33.8 kBN/A
webpack-HASH.js gzip1.71 kB1.71 kBN/A
Overall change57.3 kB57.3 kB
Legacy Client Bundles (polyfills)
vercel/next.js canaryvercel/next.js huozhi/03-18-handle_metadata_route_like_pagesChange
polyfills-HASH.js gzip39.4 kB39.4 kB
Overall change39.4 kB39.4 kB
Client Pages
vercel/next.js canaryvercel/next.js huozhi/03-18-handle_metadata_route_like_pagesChange
_app-HASH.js gzip194 B194 B
_error-HASH.js gzip191 B192 BN/A
amp-HASH.js gzip514 B512 BN/A
css-HASH.js gzip343 B341 BN/A
dynamic-HASH.js gzip1.84 kB1.84 kB
edge-ssr-HASH.js gzip265 B264 BN/A
head-HASH.js gzip364 B361 BN/A
hooks-HASH.js gzip392 B393 BN/A
image-HASH.js gzip4.67 kB4.66 kBN/A
index-HASH.js gzip266 B265 BN/A
link-HASH.js gzip2.42 kB2.42 kBN/A
routerDirect..HASH.js gzip327 B327 B
script-HASH.js gzip397 B397 B
withRouter-HASH.js gzip322 B326 BN/A
1afbb74e6ecf..834.css gzip106 B106 B
Overall change2.86 kB2.86 kB
Client Build Manifests
vercel/next.js canaryvercel/next.js huozhi/03-18-handle_metadata_route_like_pagesChange
_buildManifest.js gzip753 B753 B
Overall change753 B753 B
Rendered Page Sizes
vercel/next.js canaryvercel/next.js huozhi/03-18-handle_metadata_route_like_pagesChange
index.html gzip523 B524 BN/A
link.html gzip538 B537 BN/A
withRouter.html gzip520 B518 BN/A
Overall change0 B0 B
Edge SSR bundle Size Overall increase⚠️
vercel/next.js canaryvercel/next.js huozhi/03-18-handle_metadata_route_like_pagesChange
edge-ssr.js gzip133 kB133 kBN/A
page.js gzip216 kB217 kB⚠️ +392 B
Overall change216 kB217 kB⚠️ +392 B
Middleware size Overall increase⚠️
vercel/next.js canaryvercel/next.js huozhi/03-18-handle_metadata_route_like_pagesChange
middleware-b..fest.js gzip677 B679 BN/A
middleware-r..fest.js gzip156 B156 B
middleware.js gzip31.5 kB31.6 kB⚠️ +103 B
edge-runtime..pack.js gzip844 B844 B
Overall change32.5 kB32.6 kB⚠️ +103 B
Next Runtimes
vercel/next.js canaryvercel/next.js huozhi/03-18-handle_metadata_route_like_pagesChange
app-page-exp...dev.js gzip375 kB375 kB
app-page-exp..prod.js gzip143 kB143 kB
app-page-tur..prod.js gzip156 kB156 kB
app-page-tur..prod.js gzip152 kB152 kB
app-page.run...dev.js gzip363 kB363 kB
app-page.run..prod.js gzip139 kB139 kB
app-route-ex...dev.js gzip39.9 kB39.9 kB
app-route-ex..prod.js gzip26 kB26 kB
app-route-tu..prod.js gzip26 kB26 kB
app-route-tu..prod.js gzip25.8 kB25.8 kB
app-route.ru...dev.js gzip39.5 kB39.5 kB
app-route.ru..prod.js gzip25.8 kB25.8 kB
dist_client_...dev.js gzip356 B356 B
dist_client_...dev.js gzip349 B349 B
pages-api-tu..prod.js gzip9.76 kB9.76 kB
pages-api.ru...dev.js gzip11.9 kB11.9 kB
pages-api.ru..prod.js gzip9.75 kB9.75 kB
pages-turbo...prod.js gzip21.9 kB21.9 kB
pages.runtim...dev.js gzip31.7 kB31.7 kB
pages.runtim..prod.js gzip22.1 kB22.1 kB
server.runti..prod.js gzip62.5 kB62.5 kBN/A
Overall change1.62 MB1.62 MB
build cache
vercel/next.js canaryvercel/next.js huozhi/03-18-handle_metadata_route_like_pagesChange
0.pack gzip2.15 MB2.15 MBN/A
index.pack gzip76.3 kB75.5 kBN/A
Overall change0 B0 B
Diff details
Diff forpage.js

Diff too large to display

Diff formiddleware.js

Diff too large to display

Diff foredge-ssr.js

Diff too large to display

Diff foramp-HASH.js
@@ -1,34 +1,7 @@ (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([   [5034],   {-    /***/ 5061: /***/ (-      module,-      __unused_webpack_exports,-      __webpack_require__-    ) => {-      module.exports = __webpack_require__(8457);--      /***/-    },--    /***/ 5086: /***/ (-      __unused_webpack_module,-      __unused_webpack_exports,-      __webpack_require__-    ) => {-      (window.__NEXT_P = window.__NEXT_P || []).push([-        "/amp",-        function () {-          return __webpack_require__(8661);-        },-      ]);-      if (false) {-      }--      /***/-    },--    /***/ 8457: /***/ (module, exports, __webpack_require__) => {+    /***/ 3305: /***/ (module, exports, __webpack_require__) => {       "use strict";        Object.defineProperty(exports, "__esModule", {@@ -44,8 +17,8 @@       const _react = /*#__PURE__*/ _interop_require_default._(         __webpack_require__(4109)       );-      const _ampcontextsharedruntime = __webpack_require__(799);-      const _ampmode = __webpack_require__(2023);+      const _ampcontextsharedruntime = __webpack_require__(399);+      const _ampmode = __webpack_require__(4951);       function useAmp() {         // Don't assign the context value to a variable to save bytes         return (0, _ampmode.isInAmpMode)(@@ -67,7 +40,17 @@       /***/     },-    /***/ 8661: /***/ (+    /***/ 3963: /***/ (+      module,+      __unused_webpack_exports,+      __webpack_require__+    ) => {+      module.exports = __webpack_require__(3305);++      /***/+    },++    /***/ 4727: /***/ (       __unused_webpack_module,       __webpack_exports__,       __webpack_require__@@ -80,7 +63,7 @@         /* harmony export */       });       /* harmony import */ var next_amp__WEBPACK_IMPORTED_MODULE_0__ =-        __webpack_require__(5061);+        __webpack_require__(3963);       /* harmony import */ var next_amp__WEBPACK_IMPORTED_MODULE_0___default =         /*#__PURE__*/ __webpack_require__.n(           next_amp__WEBPACK_IMPORTED_MODULE_0__@@ -97,13 +80,30 @@        /***/     },++    /***/ 7931: /***/ (+      __unused_webpack_module,+      __unused_webpack_exports,+      __webpack_require__+    ) => {+      (window.__NEXT_P = window.__NEXT_P || []).push([+        "/amp",+        function () {+          return __webpack_require__(4727);+        },+      ]);+      if (false) {+      }++      /***/+    },   },   /******/ (__webpack_require__) => {     // webpackRuntimeModules     /******/ var __webpack_exec__ = (moduleId) =>       __webpack_require__((__webpack_require__.s = moduleId));     /******/ __webpack_require__.O(0, [636, 6593, 8792], () =>-      __webpack_exec__(5086)+      __webpack_exec__(7931)     );     /******/ var __webpack_exports__ = __webpack_require__.O();     /******/ _N_E = __webpack_exports__;
Diff forcss-HASH.js
@@ -1,7 +1,24 @@ (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([   [9813],   {-    /***/ 1368: /***/ (+    /***/ 1313: /***/ (+      __unused_webpack_module,+      __unused_webpack_exports,+      __webpack_require__+    ) => {+      (window.__NEXT_P = window.__NEXT_P || []).push([+        "/css",+        function () {+          return __webpack_require__(5110);+        },+      ]);+      if (false) {+      }++      /***/+    },++    /***/ 5110: /***/ (       __unused_webpack_module,       __webpack_exports__,       __webpack_require__@@ -15,7 +32,7 @@       /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =         __webpack_require__(8017);       /* harmony import */ var _css_module_css__WEBPACK_IMPORTED_MODULE_1__ =-        __webpack_require__(7165);+        __webpack_require__(8027);       /* harmony import */ var _css_module_css__WEBPACK_IMPORTED_MODULE_1___default =         /*#__PURE__*/ __webpack_require__.n(           _css_module_css__WEBPACK_IMPORTED_MODULE_1__@@ -35,24 +52,7 @@       /***/     },-    /***/ 1487: /***/ (-      __unused_webpack_module,-      __unused_webpack_exports,-      __webpack_require__-    ) => {-      (window.__NEXT_P = window.__NEXT_P || []).push([-        "/css",-        function () {-          return __webpack_require__(1368);-        },-      ]);-      if (false) {-      }--      /***/-    },--    /***/ 7165: /***/ (module) => {+    /***/ 8027: /***/ (module) => {       // extracted by mini-css-extract-plugin       module.exports = { helloWorld: "css_helloWorld__aUdUq" };@@ -64,7 +64,7 @@     /******/ var __webpack_exec__ = (moduleId) =>       __webpack_require__((__webpack_require__.s = moduleId));     /******/ __webpack_require__.O(0, [636, 6593, 8792], () =>-      __webpack_exec__(1487)+      __webpack_exec__(1313)     );     /******/ var __webpack_exports__ = __webpack_require__.O();     /******/ _N_E = __webpack_exports__;
Diff fordynamic-HASH.js
@@ -1,51 +1,63 @@ (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([   [2291],   {-    /***/ 71: /***/ (+    /***/ 252: /***/ (       __unused_webpack_module,-      __unused_webpack_exports,-      __webpack_require__-    ) => {-      (window.__NEXT_P = window.__NEXT_P || []).push([-        "/dynamic",-        function () {-          return __webpack_require__(8546);-        },-      ]);-      if (false) {-      }--      /***/-    },--    /***/ 6251: /***/ (-      __unused_webpack_module,-      exports,+      __webpack_exports__,       __webpack_require__     ) => {       "use strict";-      /* __next_internal_client_entry_do_not_use__  cjs */-      Object.defineProperty(exports, "__esModule", {-        value: true,-      });-      Object.defineProperty(exports, "LoadableContext", {-        enumerable: true,-        get: function () {-          return LoadableContext;-        },+      __webpack_require__.r(__webpack_exports__);+      /* harmony export */ __webpack_require__.d(__webpack_exports__, {+        /* harmony export */ __N_SSP: () => /* binding */ __N_SSP,+        /* harmony export */ default: () => __WEBPACK_DEFAULT_EXPORT__,+        /* harmony export */       });-      const _interop_require_default = __webpack_require__(1532);-      const _react = /*#__PURE__*/ _interop_require_default._(-        __webpack_require__(4109)+      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =+        __webpack_require__(8017);+      /* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_1__ =+        __webpack_require__(3760);+      /* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_1___default =+        /*#__PURE__*/ __webpack_require__.n(+          next_dynamic__WEBPACK_IMPORTED_MODULE_1__+        );++      const DynamicHello = next_dynamic__WEBPACK_IMPORTED_MODULE_1___default()(+        () =>+          __webpack_require__+            .e(/* import() */ 6397)+            .then(__webpack_require__.bind(__webpack_require__, 6397))+            .then((mod) => mod.Hello),+        {+          loadableGenerated: {+            webpack: () => [/*require.resolve*/ 6397],+          },+        }       );-      const LoadableContext = _react.default.createContext(null);-      if (false) {-      } //# sourceMappingURL=loadable-context.shared-runtime.js.map+      const Page = () =>+        /*#__PURE__*/ (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(+          react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment,+          {+            children: [+              /*#__PURE__*/ (0,+              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", {+                children: "testing next/dynamic size",+              }),+              /*#__PURE__*/ (0,+              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(+                DynamicHello,+                {}+              ),+            ],+          }+        );+      var __N_SSP = true;+      /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = Page;        /***/     },-    /***/ 6609: /***/ (+    /***/ 2369: /***/ (       __unused_webpack_module,       exports,       __webpack_require__@@ -87,7 +99,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE       const _react = /*#__PURE__*/ _interop_require_default._(         __webpack_require__(4109)       );-      const _loadablecontextsharedruntime = __webpack_require__(6251);+      const _loadablecontextsharedruntime = __webpack_require__(3787);       function resolve(obj) {         return obj && obj.default ? obj.default : obj;       }@@ -322,7 +334,61 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE       /***/     },-    /***/ 7270: /***/ (module, exports, __webpack_require__) => {+    /***/ 3760: /***/ (+      module,+      __unused_webpack_exports,+      __webpack_require__+    ) => {+      module.exports = __webpack_require__(8998);++      /***/+    },++    /***/ 3787: /***/ (+      __unused_webpack_module,+      exports,+      __webpack_require__+    ) => {+      "use strict";+      /* __next_internal_client_entry_do_not_use__  cjs */+      Object.defineProperty(exports, "__esModule", {+        value: true,+      });+      Object.defineProperty(exports, "LoadableContext", {+        enumerable: true,+        get: function () {+          return LoadableContext;+        },+      });+      const _interop_require_default = __webpack_require__(1532);+      const _react = /*#__PURE__*/ _interop_require_default._(+        __webpack_require__(4109)+      );+      const LoadableContext = _react.default.createContext(null);+      if (false) {+      } //# sourceMappingURL=loadable-context.shared-runtime.js.map++      /***/+    },++    /***/ 8449: /***/ (+      __unused_webpack_module,+      __unused_webpack_exports,+      __webpack_require__+    ) => {+      (window.__NEXT_P = window.__NEXT_P || []).push([+        "/dynamic",+        function () {+          return __webpack_require__(252);+        },+      ]);+      if (false) {+      }++      /***/+    },++    /***/ 8998: /***/ (module, exports, __webpack_require__) => {       "use strict";        Object.defineProperty(exports, "__esModule", {@@ -355,7 +421,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE         __webpack_require__(4109)       );       const _loadablesharedruntime = /*#__PURE__*/ _interop_require_default._(-        __webpack_require__(6609)+        __webpack_require__(2369)       );       const isServerSide = "object" === "undefined";       // Normalize loader to return the module as form { default: Component } for `React.lazy`.@@ -455,79 +521,13 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE        /***/     },--    /***/ 8546: /***/ (-      __unused_webpack_module,-      __webpack_exports__,-      __webpack_require__-    ) => {-      "use strict";-      __webpack_require__.r(__webpack_exports__);-      /* harmony export */ __webpack_require__.d(__webpack_exports__, {-        /* harmony export */ __N_SSP: () => /* binding */ __N_SSP,-        /* harmony export */ default: () => __WEBPACK_DEFAULT_EXPORT__,-        /* harmony export */-      });-      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =-        __webpack_require__(8017);-      /* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_1__ =-        __webpack_require__(9330);-      /* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_1___default =-        /*#__PURE__*/ __webpack_require__.n(-          next_dynamic__WEBPACK_IMPORTED_MODULE_1__-        );--      const DynamicHello = next_dynamic__WEBPACK_IMPORTED_MODULE_1___default()(-        () =>-          __webpack_require__-            .e(/* import() */ 6867)-            .then(__webpack_require__.bind(__webpack_require__, 6867))-            .then((mod) => mod.Hello),-        {-          loadableGenerated: {-            webpack: () => [/*require.resolve*/ 6867],-          },-        }-      );-      const Page = () =>-        /*#__PURE__*/ (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(-          react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment,-          {-            children: [-              /*#__PURE__*/ (0,-              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", {-                children: "testing next/dynamic size",-              }),-              /*#__PURE__*/ (0,-              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(-                DynamicHello,-                {}-              ),-            ],-          }-        );-      var __N_SSP = true;-      /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = Page;--      /***/-    },--    /***/ 9330: /***/ (-      module,-      __unused_webpack_exports,-      __webpack_require__-    ) => {-      module.exports = __webpack_require__(7270);--      /***/-    },   },   /******/ (__webpack_require__) => {     // webpackRuntimeModules     /******/ var __webpack_exec__ = (moduleId) =>       __webpack_require__((__webpack_require__.s = moduleId));     /******/ __webpack_require__.O(0, [636, 6593, 8792], () =>-      __webpack_exec__(71)+      __webpack_exec__(8449)     );     /******/ var __webpack_exports__ = __webpack_require__.O();     /******/ _N_E = __webpack_exports__;
Diff forhead-HASH.js
@@ -1,17 +1,7 @@ (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([   [5350],   {-    /***/ 4891: /***/ (-      module,-      __unused_webpack_exports,-      __webpack_require__-    ) => {-      module.exports = __webpack_require__(6191);--      /***/-    },--    /***/ 6889: /***/ (+    /***/ 803: /***/ (       __unused_webpack_module,       __unused_webpack_exports,       __webpack_require__@@ -19,7 +9,7 @@       (window.__NEXT_P = window.__NEXT_P || []).push([         "/head",         function () {-          return __webpack_require__(9659);+          return __webpack_require__(3281);         },       ]);       if (false) {@@ -28,7 +18,7 @@       /***/     },-    /***/ 9659: /***/ (+    /***/ 3281: /***/ (       __unused_webpack_module,       __webpack_exports__,       __webpack_require__@@ -43,7 +33,7 @@       /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =         __webpack_require__(8017);       /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_1__ =-        __webpack_require__(4891);+        __webpack_require__(9557);       /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_1___default =         /*#__PURE__*/ __webpack_require__.n(           next_head__WEBPACK_IMPORTED_MODULE_1__@@ -76,13 +66,23 @@        /***/     },++    /***/ 9557: /***/ (+      module,+      __unused_webpack_exports,+      __webpack_require__+    ) => {+      module.exports = __webpack_require__(783);++      /***/+    },   },   /******/ (__webpack_require__) => {     // webpackRuntimeModules     /******/ var __webpack_exec__ = (moduleId) =>       __webpack_require__((__webpack_require__.s = moduleId));     /******/ __webpack_require__.O(0, [636, 6593, 8792], () =>-      __webpack_exec__(6889)+      __webpack_exec__(803)     );     /******/ var __webpack_exports__ = __webpack_require__.O();     /******/ _N_E = __webpack_exports__;
Diff forimage-HASH.js
@@ -1,64 +1,144 @@ (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([   [2983],   {-    /***/ 1442: /***/ (+    /***/ 212: /***/ (+      __unused_webpack_module,+      __webpack_exports__,+      __webpack_require__+    ) => {+      "use strict";+      // ESM COMPAT FLAG+      __webpack_require__.r(__webpack_exports__);++      // EXPORTS+      __webpack_require__.d(__webpack_exports__, {+        __N_SSP: () => /* binding */ __N_SSP,+        default: () => /* binding */ pages_image,+      });++      // EXTERNAL MODULE: ./node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js+      var jsx_runtime = __webpack_require__(8017);+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/image.js+      var next_image = __webpack_require__(1468);+      var image_default = /*#__PURE__*/ __webpack_require__.n(next_image); // ./pages/nextjs.png+      /* harmony default export */ const nextjs = {+        src: "/_next/static/media/nextjs.cae0b805.png",+        height: 1347,+        width: 1626,+        blurDataURL:+          "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAMAAAACh/xsAAAAD1BMVEX////x8fH6+vrb29vo6Oh8o70bAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAH0lEQVR4nGNgwARMjIyMjCAGCzMzMwsTRISJCcRABwAEcAAkLCQfgAAAAABJRU5ErkJggg==",+        blurWidth: 8,+        blurHeight: 7,+      }; // ./pages/image.js+      function ImagePage(props) {+        return /*#__PURE__*/ (0, jsx_runtime.jsxs)(jsx_runtime.Fragment, {+          children: [+            /*#__PURE__*/ (0, jsx_runtime.jsx)("h1", {+              children: "next/image example",+            }),+            /*#__PURE__*/ (0, jsx_runtime.jsx)(image_default(), {+              src: nextjs,+              placeholder: "blur",+            }),+          ],+        });+      }+      var __N_SSP = true;+      /* harmony default export */ const pages_image = ImagePage;++      /***/+    },++    /***/ 1468: /***/ (       module,       __unused_webpack_exports,       __webpack_require__     ) => {-      module.exports = __webpack_require__(3250);+      module.exports = __webpack_require__(2242);++      /***/+    },++    /***/ 1989: /***/ (+      __unused_webpack_module,+      __unused_webpack_exports,+      __webpack_require__+    ) => {+      (window.__NEXT_P = window.__NEXT_P || []).push([+        "/image",+        function () {+          return __webpack_require__(212);+        },+      ]);+      if (false) {+      }        /***/     },-    /***/ 2170: /***/ (__unused_webpack_module, exports) => {+    /***/ 2242: /***/ (+      __unused_webpack_module,+      exports,+      __webpack_require__+    ) => {       "use strict";        Object.defineProperty(exports, "__esModule", {         value: true,       });-      Object.defineProperty(exports, "default", {-        enumerable: true,-        get: function () {+      0 && 0;+      function _export(target, all) {+        for (var name in all)+          Object.defineProperty(target, name, {+            enumerable: true,+            get: all[name],+          });+      }+      _export(exports, {+        default: function () {           return _default;         },+        getImageProps: function () {+          return getImageProps;+        },       });-      const DEFAULT_Q = 75;-      function defaultLoader(param) {-        let { config, src, width, quality } = param;-        var _config_qualities;-        if (false) {+      const _interop_require_default = __webpack_require__(1532);+      const _getimgprops = __webpack_require__(4474);+      const _imagecomponent = __webpack_require__(6805);+      const _imageloader = /*#__PURE__*/ _interop_require_default._(+        __webpack_require__(9274)+      );+      function getImageProps(imgProps) {+        const { props } = (0, _getimgprops.getImgProps)(imgProps, {+          defaultLoader: _imageloader.default,+          // This is replaced by webpack define plugin+          imgConf: {+            deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],+            imageSizes: [16, 32, 48, 64, 96, 128, 256, 384],+            path: "/_next/image",+            loader: "default",+            dangerouslyAllowSVG: false,+            unoptimized: false,+          },+        });+        // Normally we don't care about undefined props because we pass to JSX,+        // but this exported function could be used by the end user for anything+        // so we delete undefined props to clean it up a little.+        for (const [key, value] of Object.entries(props)) {+          if (value === undefined) {+            delete props[key];+          }         }-        const q =-          quality ||-          ((_config_qualities = config.qualities) == null-            ? void 0-            : _config_qualities.reduce((prev, cur) =>-                Math.abs(cur - DEFAULT_Q) < Math.abs(prev - DEFAULT_Q)-                  ? cur-                  : prev-              )) ||-          DEFAULT_Q;-        return (-          config.path +-          "?url=" +-          encodeURIComponent(src) +-          "&w=" +-          width +-          "&q=" +-          q +-          (src.startsWith("/_next/static/media/") && false ? 0 : "")-        );+        return {+          props,+        };       }-      // We use this to determine if the import is the default loader-      // or a custom loader defined by the user in next.config.js-      defaultLoader.__next_img_default = true;-      const _default = defaultLoader; //# sourceMappingURL=image-loader.js.map+      const _default = _imagecomponent.Image; //# sourceMappingURL=image-external.js.map        /***/     },-    /***/ 3041: /***/ (module, exports, __webpack_require__) => {+    /***/ 3937: /***/ (module, exports, __webpack_require__) => {       "use strict";        Object.defineProperty(exports, "__esModule", {@@ -136,69 +216,7 @@       /***/     },-    /***/ 3250: /***/ (-      __unused_webpack_module,-      exports,-      __webpack_require__-    ) => {-      "use strict";--      Object.defineProperty(exports, "__esModule", {-        value: true,-      });-      0 && 0;-      function _export(target, all) {-        for (var name in all)-          Object.defineProperty(target, name, {-            enumerable: true,-            get: all[name],-          });-      }-      _export(exports, {-        default: function () {-          return _default;-        },-        getImageProps: function () {-          return getImageProps;-        },-      });-      const _interop_require_default = __webpack_require__(1532);-      const _getimgprops = __webpack_require__(3546);-      const _imagecomponent = __webpack_require__(7634);-      const _imageloader = /*#__PURE__*/ _interop_require_default._(-        __webpack_require__(2170)-      );-      function getImageProps(imgProps) {-        const { props } = (0, _getimgprops.getImgProps)(imgProps, {-          defaultLoader: _imageloader.default,-          // This is replaced by webpack define plugin-          imgConf: {-            deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],-            imageSizes: [16, 32, 48, 64, 96, 128, 256, 384],-            path: "/_next/image",-            loader: "default",-            dangerouslyAllowSVG: false,-            unoptimized: false,-          },-        });-        // Normally we don't care about undefined props because we pass to JSX,-        // but this exported function could be used by the end user for anything-        // so we delete undefined props to clean it up a little.-        for (const [key, value] of Object.entries(props)) {-          if (value === undefined) {-            delete props[key];-          }-        }-        return {-          props,-        };-      }-      const _default = _imagecomponent.Image; //# sourceMappingURL=image-external.js.map--      /***/-    },--    /***/ 3546: /***/ (+    /***/ 4474: /***/ (       __unused_webpack_module,       exports,       __webpack_require__@@ -214,9 +232,9 @@           return getImgProps;         },       });-      const _warnonce = __webpack_require__(9615);-      const _imageblursvg = __webpack_require__(4503);-      const _imageconfig = __webpack_require__(1635);+      const _warnonce = __webpack_require__(4927);+      const _imageblursvg = __webpack_require__(9975);+      const _imageconfig = __webpack_require__(8195);       const VALID_LOADING_VALUES =         /* unused pure expression or super */ null && [           "lazy",@@ -643,127 +661,7 @@       /***/     },-    /***/ 4503: /***/ (__unused_webpack_module, exports) => {-      "use strict";-      /**-       * A shared function, used on both client and server, to generate a SVG blur placeholder.-       */-      Object.defineProperty(exports, "__esModule", {-        value: true,-      });-      Object.defineProperty(exports, "getImageBlurSvg", {-        enumerable: true,-        get: function () {-          return getImageBlurSvg;-        },-      });-      function getImageBlurSvg(param) {-        let {-          widthInt,-          heightInt,-          blurWidth,-          blurHeight,-          blurDataURL,-          objectFit,-        } = param;-        const std = 20;-        const svgWidth = blurWidth ? blurWidth * 40 : widthInt;-        const svgHeight = blurHeight ? blurHeight * 40 : heightInt;-        const viewBox =-          svgWidth && svgHeight-            ? "viewBox='0 0 " + svgWidth + " " + svgHeight + "'"-            : "";-        const preserveAspectRatio = viewBox-          ? "none"-          : objectFit === "contain"-          ? "xMidYMid"-          : objectFit === "cover"-          ? "xMidYMid slice"-          : "none";-        return (-          "%3Csvg xmlns='http://www.w3.org/2000/svg' " +-          viewBox +-          "%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='" +-          std +-          "'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='" +-          std +-          "'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='" +-          preserveAspectRatio +-          "' style='filter: url(%23b);' href='" +-          blurDataURL +-          "'/%3E%3C/svg%3E"-        );-      } //# sourceMappingURL=image-blur-svg.js.map--      /***/-    },--    /***/ 5016: /***/ (-      __unused_webpack_module,-      __webpack_exports__,-      __webpack_require__-    ) => {-      "use strict";-      // ESM COMPAT FLAG-      __webpack_require__.r(__webpack_exports__);--      // EXPORTS-      __webpack_require__.d(__webpack_exports__, {-        __N_SSP: () => /* binding */ __N_SSP,-        default: () => /* binding */ pages_image,-      });--      // EXTERNAL MODULE: ./node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js-      var jsx_runtime = __webpack_require__(8017);-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/image.js-      var next_image = __webpack_require__(1442);-      var image_default = /*#__PURE__*/ __webpack_require__.n(next_image); // ./pages/nextjs.png-      /* harmony default export */ const nextjs = {-        src: "/_next/static/media/nextjs.cae0b805.png",-        height: 1347,-        width: 1626,-        blurDataURL:-          "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAMAAAACh/xsAAAAD1BMVEX////x8fH6+vrb29vo6Oh8o70bAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAH0lEQVR4nGNgwARMjIyMjCAGCzMzMwsTRISJCcRABwAEcAAkLCQfgAAAAABJRU5ErkJggg==",-        blurWidth: 8,-        blurHeight: 7,-      }; // ./pages/image.js-      function ImagePage(props) {-        return /*#__PURE__*/ (0, jsx_runtime.jsxs)(jsx_runtime.Fragment, {-          children: [-            /*#__PURE__*/ (0, jsx_runtime.jsx)("h1", {-              children: "next/image example",-            }),-            /*#__PURE__*/ (0, jsx_runtime.jsx)(image_default(), {-              src: nextjs,-              placeholder: "blur",-            }),-          ],-        });-      }-      var __N_SSP = true;-      /* harmony default export */ const pages_image = ImagePage;--      /***/-    },--    /***/ 6923: /***/ (-      __unused_webpack_module,-      __unused_webpack_exports,-      __webpack_require__-    ) => {-      (window.__NEXT_P = window.__NEXT_P || []).push([-        "/image",-        function () {-          return __webpack_require__(5016);-        },-      ]);-      if (false) {-      }--      /***/-    },--    /***/ 7634: /***/ (module, exports, __webpack_require__) => {+    /***/ 6805: /***/ (module, exports, __webpack_require__) => {       "use strict";       /* __next_internal_client_entry_do_not_use__  cjs */       Object.defineProperty(exports, "__esModule", {@@ -785,17 +683,17 @@         __webpack_require__(5775)       );       const _head = /*#__PURE__*/ _interop_require_default._(-        __webpack_require__(6191)+        __webpack_require__(783)       );-      const _getimgprops = __webpack_require__(3546);-      const _imageconfig = __webpack_require__(1635);-      const _imageconfigcontextsharedruntime = __webpack_require__(9685);-      const _warnonce = __webpack_require__(9615);-      const _routercontextsharedruntime = __webpack_require__(6460);+      const _getimgprops = __webpack_require__(4474);+      const _imageconfig = __webpack_require__(8195);+      const _imageconfigcontextsharedruntime = __webpack_require__(8629);+      const _warnonce = __webpack_require__(4927);+      const _routercontextsharedruntime = __webpack_require__(4860);       const _imageloader = /*#__PURE__*/ _interop_require_default._(-        __webpack_require__(2170)+        __webpack_require__(9274)       );-      const _usemergedref = __webpack_require__(3041);+      const _usemergedref = __webpack_require__(3937);       // This is replaced by webpack define plugin       const configEnv = {         deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],@@ -1121,13 +1019,115 @@        /***/     },++    /***/ 9274: /***/ (__unused_webpack_module, exports) => {+      "use strict";++      Object.defineProperty(exports, "__esModule", {+        value: true,+      });+      Object.defineProperty(exports, "default", {+        enumerable: true,+        get: function () {+          return _default;+        },+      });+      const DEFAULT_Q = 75;+      function defaultLoader(param) {+        let { config, src, width, quality } = param;+        var _config_qualities;+        if (false) {+        }+        const q =+          quality ||+          ((_config_qualities = config.qualities) == null+            ? void 0+            : _config_qualities.reduce((prev, cur) =>+                Math.abs(cur - DEFAULT_Q) < Math.abs(prev - DEFAULT_Q)+                  ? cur+                  : prev+              )) ||+          DEFAULT_Q;+        return (+          config.path ++          "?url=" ++          encodeURIComponent(src) ++          "&w=" ++          width ++          "&q=" ++          q ++          (src.startsWith("/_next/static/media/") && false ? 0 : "")+        );+      }+      // We use this to determine if the import is the default loader+      // or a custom loader defined by the user in next.config.js+      defaultLoader.__next_img_default = true;+      const _default = defaultLoader; //# sourceMappingURL=image-loader.js.map++      /***/+    },++    /***/ 9975: /***/ (__unused_webpack_module, exports) => {+      "use strict";+      /**+       * A shared function, used on both client and server, to generate a SVG blur placeholder.+       */+      Object.defineProperty(exports, "__esModule", {+        value: true,+      });+      Object.defineProperty(exports, "getImageBlurSvg", {+        enumerable: true,+        get: function () {+          return getImageBlurSvg;+        },+      });+      function getImageBlurSvg(param) {+        let {+          widthInt,+          heightInt,+          blurWidth,+          blurHeight,+          blurDataURL,+          objectFit,+        } = param;+        const std = 20;+        const svgWidth = blurWidth ? blurWidth * 40 : widthInt;+        const svgHeight = blurHeight ? blurHeight * 40 : heightInt;+        const viewBox =+          svgWidth && svgHeight+            ? "viewBox='0 0 " + svgWidth + " " + svgHeight + "'"+            : "";+        const preserveAspectRatio = viewBox+          ? "none"+          : objectFit === "contain"+          ? "xMidYMid"+          : objectFit === "cover"+          ? "xMidYMid slice"+          : "none";+        return (+          "%3Csvg xmlns='http://www.w3.org/2000/svg' " ++          viewBox ++          "%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='" ++          std ++          "'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='" ++          std ++          "'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='" ++          preserveAspectRatio ++          "' style='filter: url(%23b);' href='" ++          blurDataURL ++          "'/%3E%3C/svg%3E"+        );+      } //# sourceMappingURL=image-blur-svg.js.map++      /***/+    },   },   /******/ (__webpack_require__) => {     // webpackRuntimeModules     /******/ var __webpack_exec__ = (moduleId) =>       __webpack_require__((__webpack_require__.s = moduleId));     /******/ __webpack_require__.O(0, [636, 6593, 8792], () =>-      __webpack_exec__(6923)+      __webpack_exec__(1989)     );     /******/ var __webpack_exports__ = __webpack_require__.O();     /******/ _N_E = __webpack_exports__;
Diff forindex-HASH.js
@@ -1,24 +1,7 @@ (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([   [3332],   {-    /***/ 3767: /***/ (-      __unused_webpack_module,-      __unused_webpack_exports,-      __webpack_require__-    ) => {-      (window.__NEXT_P = window.__NEXT_P || []).push([-        "/",-        function () {-          return __webpack_require__(6587);-        },-      ]);-      if (false) {-      }--      /***/-    },--    /***/ 6587: /***/ (+    /***/ 937: /***/ (       __unused_webpack_module,       __webpack_exports__,       __webpack_require__@@ -36,13 +19,30 @@        /***/     },++    /***/ 3985: /***/ (+      __unused_webpack_module,+      __unused_webpack_exports,+      __webpack_require__+    ) => {+      (window.__NEXT_P = window.__NEXT_P || []).push([+        "/",+        function () {+          return __webpack_require__(937);+        },+      ]);+      if (false) {+      }++      /***/+    },   },   /******/ (__webpack_require__) => {     // webpackRuntimeModules     /******/ var __webpack_exec__ = (moduleId) =>       __webpack_require__((__webpack_require__.s = moduleId));     /******/ __webpack_require__.O(0, [636, 6593, 8792], () =>-      __webpack_exec__(3767)+      __webpack_exec__(3985)     );     /******/ var __webpack_exports__ = __webpack_require__.O();     /******/ _N_E = __webpack_exports__;
Diff forlink-HASH.js
@@ -1,26 +1,133 @@ (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([   [4672],   {-    /***/ 1225: /***/ (module, exports, __webpack_require__) => {+    /***/ 1547: /***/ (+      __unused_webpack_module,+      __unused_webpack_exports,+      __webpack_require__+    ) => {+      (window.__NEXT_P = window.__NEXT_P || []).push([+        "/link",+        function () {+          return __webpack_require__(9748);+        },+      ]);+      if (false) {+      }++      /***/+    },++    /***/ 3456: /***/ (module, exports, __webpack_require__) => {       "use strict";        Object.defineProperty(exports, "__esModule", {         value: true,       });-      Object.defineProperty(exports, "getDomainLocale", {+      Object.defineProperty(exports, "useIntersection", {         enumerable: true,         get: function () {-          return getDomainLocale;+          return useIntersection;         },       });-      const _normalizetrailingslash = __webpack_require__(7981);-      const basePath =-        /* unused pure expression or super */ null && (false || "");-      function getDomainLocale(path, locale, locales, domainLocales) {-        if (false) {-        } else {-          return false;+      const _react = __webpack_require__(4109);+      const _requestidlecallback = __webpack_require__(3919);+      const hasIntersectionObserver =+        typeof IntersectionObserver === "function";+      const observers = new Map();+      const idList = [];+      function createObserver(options) {+        const id = {+          root: options.root || null,+          margin: options.rootMargin || "",+        };+        const existing = idList.find(+          (obj) => obj.root === id.root && obj.margin === id.margin+        );+        let instance;+        if (existing) {+          instance = observers.get(existing);+          if (instance) {+            return instance;+          }         }+        const elements = new Map();+        const observer = new IntersectionObserver((entries) => {+          entries.forEach((entry) => {+            const callback = elements.get(entry.target);+            const isVisible =+              entry.isIntersecting || entry.intersectionRatio > 0;+            if (callback && isVisible) {+              callback(isVisible);+            }+          });+        }, options);+        instance = {+          id,+          observer,+          elements,+        };+        idList.push(id);+        observers.set(id, instance);+        return instance;+      }+      function observe(element, callback, options) {+        const { id, observer, elements } = createObserver(options);+        elements.set(element, callback);+        observer.observe(element);+        return function unobserve() {+          elements.delete(element);+          observer.unobserve(element);+          // Destroy observer when there's nothing left to watch:+          if (elements.size === 0) {+            observer.disconnect();+            observers.delete(id);+            const index = idList.findIndex(+              (obj) => obj.root === id.root && obj.margin === id.margin+            );+            if (index > -1) {+              idList.splice(index, 1);+            }+          }+        };+      }+      function useIntersection(param) {+        let { rootRef, rootMargin, disabled } = param;+        const isDisabled = disabled || !hasIntersectionObserver;+        const [visible, setVisible] = (0, _react.useState)(false);+        const elementRef = (0, _react.useRef)(null);+        const setElement = (0, _react.useCallback)((element) => {+          elementRef.current = element;+        }, []);+        (0, _react.useEffect)(() => {+          if (hasIntersectionObserver) {+            if (isDisabled || visible) return;+            const element = elementRef.current;+            if (element && element.tagName) {+              const unobserve = observe(+                element,+                (isVisible) => isVisible && setVisible(isVisible),+                {+                  root: rootRef == null ? void 0 : rootRef.current,+                  rootMargin,+                }+              );+              return unobserve;+            }+          } else {+            if (!visible) {+              const idleCallback = (0,+              _requestidlecallback.requestIdleCallback)(() => setVisible(true));+              return () =>+                (0, _requestidlecallback.cancelIdleCallback)(idleCallback);+            }+          }+          // eslint-disable-next-line react-hooks/exhaustive-deps+        }, [isDisabled, rootMargin, rootRef, visible, elementRef.current]);+        const resetVisible = (0, _react.useCallback)(() => {+          setVisible(false);+        }, []);+        return [setElement, visible, resetVisible];       }       if (         (typeof exports.default === "function" ||@@ -32,58 +139,12 @@         });         Object.assign(exports.default, exports);         module.exports = exports.default;-      } //# sourceMappingURL=get-domain-locale.js.map--      /***/-    },--    /***/ 1241: /***/ (-      __unused_webpack_module,-      __webpack_exports__,-      __webpack_require__-    ) => {-      "use strict";-      __webpack_require__.r(__webpack_exports__);-      /* harmony export */ __webpack_require__.d(__webpack_exports__, {-        /* harmony export */ __N_SSP: () => /* binding */ __N_SSP,-        /* harmony export */ default: () => __WEBPACK_DEFAULT_EXPORT__,-        /* harmony export */-      });-      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =-        __webpack_require__(8017);-      /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1__ =-        __webpack_require__(2665);-      /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1___default =-        /*#__PURE__*/ __webpack_require__.n(-          next_link__WEBPACK_IMPORTED_MODULE_1__-        );--      function aLink(props) {-        return /*#__PURE__*/ (0,-        react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {-          children: [-            /*#__PURE__*/ (0,-            react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("h3", {-              children: "A Link page!",-            }),-            /*#__PURE__*/ (0,-            react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(-              next_link__WEBPACK_IMPORTED_MODULE_1___default(),-              {-                href: "/",-                children: "Go to /",-              }-            ),-          ],-        });-      }-      var __N_SSP = true;-      /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = aLink;+      } //# sourceMappingURL=use-intersection.js.map        /***/     },-    /***/ 1763: /***/ (module, exports, __webpack_require__) => {+    /***/ 3923: /***/ (module, exports, __webpack_require__) => {       "use strict";       /* __next_internal_client_entry_do_not_use__  cjs */       Object.defineProperty(exports, "__esModule", {@@ -100,16 +161,16 @@       const _react = /*#__PURE__*/ _interop_require_default._(         __webpack_require__(4109)       );-      const _resolvehref = __webpack_require__(2513);-      const _islocalurl = __webpack_require__(9021);-      const _formaturl = __webpack_require__(8368);-      const _utils = __webpack_require__(9338);-      const _addlocale = __webpack_require__(7231);-      const _routercontextsharedruntime = __webpack_require__(6460);-      const _useintersection = __webpack_require__(5296);-      const _getdomainlocale = __webpack_require__(1225);-      const _addbasepath = __webpack_require__(6124);-      const _usemergedref = __webpack_require__(3041);+      const _resolvehref = __webpack_require__(8113);+      const _islocalurl = __webpack_require__(4525);+      const _formaturl = __webpack_require__(1776);+      const _utils = __webpack_require__(4794);+      const _addlocale = __webpack_require__(751);+      const _routercontextsharedruntime = __webpack_require__(4860);+      const _useintersection = __webpack_require__(3456);+      const _getdomainlocale = __webpack_require__(5257);+      const _addbasepath = __webpack_require__(5740);+      const _usemergedref = __webpack_require__(3937);       const prefetched = new Set();       function prefetch(router, href, as, options) {         if (false) {@@ -486,17 +547,7 @@       /***/     },-    /***/ 2665: /***/ (-      module,-      __unused_webpack_exports,-      __webpack_require__-    ) => {-      module.exports = __webpack_require__(1763);--      /***/-    },--    /***/ 3041: /***/ (module, exports, __webpack_require__) => {+    /***/ 3937: /***/ (module, exports, __webpack_require__) => {       "use strict";        Object.defineProperty(exports, "__esModule", {@@ -574,133 +625,26 @@       /***/     },-    /***/ 5025: /***/ (-      __unused_webpack_module,-      __unused_webpack_exports,-      __webpack_require__-    ) => {-      (window.__NEXT_P = window.__NEXT_P || []).push([-        "/link",-        function () {-          return __webpack_require__(1241);-        },-      ]);-      if (false) {-      }--      /***/-    },--    /***/ 5296: /***/ (module, exports, __webpack_require__) => {+    /***/ 5257: /***/ (module, exports, __webpack_require__) => {       "use strict";        Object.defineProperty(exports, "__esModule", {         value: true,       });-      Object.defineProperty(exports, "useIntersection", {+      Object.defineProperty(exports, "getDomainLocale", {         enumerable: true,         get: function () {-          return useIntersection;+          return getDomainLocale;         },       });-      const _react = __webpack_require__(4109);-      const _requestidlecallback = __webpack_require__(8015);-      const hasIntersectionObserver =-        typeof IntersectionObserver === "function";-      const observers = new Map();-      const idList = [];-      function createObserver(options) {-        const id = {-          root: options.root || null,-          margin: options.rootMargin || "",-        };-        const existing = idList.find(-          (obj) => obj.root === id.root && obj.margin === id.margin-        );-        let instance;-        if (existing) {-          instance = observers.get(existing);-          if (instance) {-            return instance;-          }+      const _normalizetrailingslash = __webpack_require__(7213);+      const basePath =+        /* unused pure expression or super */ null && (false || "");+      function getDomainLocale(path, locale, locales, domainLocales) {+        if (false) {+        } else {+          return false;         }-        const elements = new Map();-        const observer = new IntersectionObserver((entries) => {-          entries.forEach((entry) => {-            const callback = elements.get(entry.target);-            const isVisible =-              entry.isIntersecting || entry.intersectionRatio > 0;-            if (callback && isVisible) {-              callback(isVisible);-            }-          });-        }, options);-        instance = {-          id,-          observer,-          elements,-        };-        idList.push(id);-        observers.set(id, instance);-        return instance;-      }-      function observe(element, callback, options) {-        const { id, observer, elements } = createObserver(options);-        elements.set(element, callback);-        observer.observe(element);-        return function unobserve() {-          elements.delete(element);-          observer.unobserve(element);-          // Destroy observer when there's nothing left to watch:-          if (elements.size === 0) {-            observer.disconnect();-            observers.delete(id);-            const index = idList.findIndex(-              (obj) => obj.root === id.root && obj.margin === id.margin-            );-            if (index > -1) {-              idList.splice(index, 1);-            }-          }-        };-      }-      function useIntersection(param) {-        let { rootRef, rootMargin, disabled } = param;-        const isDisabled = disabled || !hasIntersectionObserver;-        const [visible, setVisible] = (0, _react.useState)(false);-        const elementRef = (0, _react.useRef)(null);-        const setElement = (0, _react.useCallback)((element) => {-          elementRef.current = element;-        }, []);-        (0, _react.useEffect)(() => {-          if (hasIntersectionObserver) {-            if (isDisabled || visible) return;-            const element = elementRef.current;-            if (element && element.tagName) {-              const unobserve = observe(-                element,-                (isVisible) => isVisible && setVisible(isVisible),-                {-                  root: rootRef == null ? void 0 : rootRef.current,-                  rootMargin,-                }-              );-              return unobserve;-            }-          } else {-            if (!visible) {-              const idleCallback = (0,-              _requestidlecallback.requestIdleCallback)(() => setVisible(true));-              return () =>-                (0, _requestidlecallback.cancelIdleCallback)(idleCallback);-            }-          }-          // eslint-disable-next-line react-hooks/exhaustive-deps-        }, [isDisabled, rootMargin, rootRef, visible, elementRef.current]);-        const resetVisible = (0, _react.useCallback)(() => {-          setVisible(false);-        }, []);-        return [setElement, visible, resetVisible];       }       if (         (typeof exports.default === "function" ||@@ -712,7 +656,63 @@         });         Object.assign(exports.default, exports);         module.exports = exports.default;-      } //# sourceMappingURL=use-intersection.js.map+      } //# sourceMappingURL=get-domain-locale.js.map++      /***/+    },++    /***/ 9748: /***/ (+      __unused_webpack_module,+      __webpack_exports__,+      __webpack_require__+    ) => {+      "use strict";+      __webpack_require__.r(__webpack_exports__);+      /* harmony export */ __webpack_require__.d(__webpack_exports__, {+        /* harmony export */ __N_SSP: () => /* binding */ __N_SSP,+        /* harmony export */ default: () => __WEBPACK_DEFAULT_EXPORT__,+        /* harmony export */+      });+      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =+        __webpack_require__(8017);+      /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1__ =+        __webpack_require__(9835);+      /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1___default =+        /*#__PURE__*/ __webpack_require__.n(+          next_link__WEBPACK_IMPORTED_MODULE_1__+        );++      function aLink(props) {+        return /*#__PURE__*/ (0,+        react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {+          children: [+            /*#__PURE__*/ (0,+            react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("h3", {+              children: "A Link page!",+            }),+            /*#__PURE__*/ (0,+            react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(+              next_link__WEBPACK_IMPORTED_MODULE_1___default(),+              {+                href: "/",+                children: "Go to /",+              }+            ),+          ],+        });+      }+      var __N_SSP = true;+      /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = aLink;++      /***/+    },++    /***/ 9835: /***/ (+      module,+      __unused_webpack_exports,+      __webpack_require__+    ) => {+      module.exports = __webpack_require__(3923);        /***/     },@@ -722,7 +722,7 @@     /******/ var __webpack_exec__ = (moduleId) =>       __webpack_require__((__webpack_require__.s = moduleId));     /******/ __webpack_require__.O(0, [636, 6593, 8792], () =>-      __webpack_exec__(5025)+      __webpack_exec__(1547)     );     /******/ var __webpack_exports__ = __webpack_require__.O();     /******/ _N_E = __webpack_exports__;
Diff forrouterDirect-HASH.js
@@ -1,17 +1,7 @@ (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([   [188],   {-    /***/ 760: /***/ (-      module,-      __unused_webpack_exports,-      __webpack_require__-    ) => {-      module.exports = __webpack_require__(8326);--      /***/-    },--    /***/ 2713: /***/ (+    /***/ 179: /***/ (       __unused_webpack_module,       __unused_webpack_exports,       __webpack_require__@@ -19,7 +9,7 @@       (window.__NEXT_P = window.__NEXT_P || []).push([         "/routerDirect",         function () {-          return __webpack_require__(8217);+          return __webpack_require__(9819);         },       ]);       if (false) {@@ -28,7 +18,17 @@       /***/     },-    /***/ 8217: /***/ (+    /***/ 3022: /***/ (+      module,+      __unused_webpack_exports,+      __webpack_require__+    ) => {+      module.exports = __webpack_require__(1606);++      /***/+    },++    /***/ 9819: /***/ (       __unused_webpack_module,       __webpack_exports__,       __webpack_require__@@ -43,7 +43,7 @@       /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =         __webpack_require__(8017);       /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1__ =-        __webpack_require__(760);+        __webpack_require__(3022);       /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1___default =         /*#__PURE__*/ __webpack_require__.n(           next_router__WEBPACK_IMPORTED_MODULE_1__@@ -68,7 +68,7 @@     /******/ var __webpack_exec__ = (moduleId) =>       __webpack_require__((__webpack_require__.s = moduleId));     /******/ __webpack_require__.O(0, [636, 6593, 8792], () =>-      __webpack_exec__(2713)+      __webpack_exec__(179)     );     /******/ var __webpack_exports__ = __webpack_require__.O();     /******/ _N_E = __webpack_exports__;
Diff forscript-HASH.js
@@ -1,17 +1,34 @@ (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([   [1209],   {-    /***/ 3254: /***/ (+    /***/ 1060: /***/ (       module,       __unused_webpack_exports,       __webpack_require__     ) => {-      module.exports = __webpack_require__(8236);+      module.exports = __webpack_require__(3612);        /***/     },-    /***/ 5990: /***/ (+    /***/ 5867: /***/ (+      __unused_webpack_module,+      __unused_webpack_exports,+      __webpack_require__+    ) => {+      (window.__NEXT_P = window.__NEXT_P || []).push([+        "/script",+        function () {+          return __webpack_require__(7640);+        },+      ]);+      if (false) {+      }++      /***/+    },++    /***/ 7640: /***/ (       __unused_webpack_module,       __webpack_exports__,       __webpack_require__@@ -26,7 +43,7 @@       /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =         __webpack_require__(8017);       /* harmony import */ var next_script__WEBPACK_IMPORTED_MODULE_1__ =-        __webpack_require__(3254);+        __webpack_require__(1060);       /* harmony import */ var next_script__WEBPACK_IMPORTED_MODULE_1___default =         /*#__PURE__*/ __webpack_require__.n(           next_script__WEBPACK_IMPORTED_MODULE_1__@@ -58,30 +75,13 @@        /***/     },--    /***/ 8745: /***/ (-      __unused_webpack_module,-      __unused_webpack_exports,-      __webpack_require__-    ) => {-      (window.__NEXT_P = window.__NEXT_P || []).push([-        "/script",-        function () {-          return __webpack_require__(5990);-        },-      ]);-      if (false) {-      }--      /***/-    },   },   /******/ (__webpack_require__) => {     // webpackRuntimeModules     /******/ var __webpack_exec__ = (moduleId) =>       __webpack_require__((__webpack_require__.s = moduleId));     /******/ __webpack_require__.O(0, [636, 6593, 8792], () =>-      __webpack_exec__(8745)+      __webpack_exec__(5867)     );     /******/ var __webpack_exports__ = __webpack_require__.O();     /******/ _N_E = __webpack_exports__;
Diff forwithRouter-HASH.js
@@ -1,34 +1,17 @@ (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([   [3263],   {-    /***/ 760: /***/ (+    /***/ 3022: /***/ (       module,       __unused_webpack_exports,       __webpack_require__     ) => {-      module.exports = __webpack_require__(8326);+      module.exports = __webpack_require__(1606);        /***/     },-    /***/ 6545: /***/ (-      __unused_webpack_module,-      __unused_webpack_exports,-      __webpack_require__-    ) => {-      (window.__NEXT_P = window.__NEXT_P || []).push([-        "/withRouter",-        function () {-          return __webpack_require__(9680);-        },-      ]);-      if (false) {-      }--      /***/-    },--    /***/ 9680: /***/ (+    /***/ 3438: /***/ (       __unused_webpack_module,       __webpack_exports__,       __webpack_require__@@ -43,7 +26,7 @@       /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =         __webpack_require__(8017);       /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1__ =-        __webpack_require__(760);+        __webpack_require__(3022);       /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1___default =         /*#__PURE__*/ __webpack_require__.n(           next_router__WEBPACK_IMPORTED_MODULE_1__@@ -61,13 +44,30 @@        /***/     },++    /***/ 4563: /***/ (+      __unused_webpack_module,+      __unused_webpack_exports,+      __webpack_require__+    ) => {+      (window.__NEXT_P = window.__NEXT_P || []).push([+        "/withRouter",+        function () {+          return __webpack_require__(3438);+        },+      ]);+      if (false) {+      }++      /***/+    },   },   /******/ (__webpack_require__) => {     // webpackRuntimeModules     /******/ var __webpack_exec__ = (moduleId) =>       __webpack_require__((__webpack_require__.s = moduleId));     /******/ __webpack_require__.O(0, [636, 6593, 8792], () =>-      __webpack_exec__(6545)+      __webpack_exec__(4563)     );     /******/ var __webpack_exports__ = __webpack_require__.O();     /******/ _N_E = __webpack_exports__;
Diff for8987-HASH.js

Diff too large to display

Diff for9484-HASH.js

Diff too large to display

Diff formain-HASH.js

Diff too large to display

Diff forserver.runtime.prod.js

Diff too large to display

Commit:00737c7

@huozhihuozhi changed the titleadd failing test[metadata] fix the metadata route like pages and refactor utilsMar 19, 2025
@huozhihuozhi marked this pull request as ready for reviewMarch 19, 2025 23:44
@huozhihuozhi changed the base branch fromcanary tographite-base/77264March 20, 2025 14:32
@huozhihuozhiforce-pushed thehuozhi/03-18-handle_metadata_route_like_pages branch fromc770b7f to3a0114cCompareMarch 20, 2025 14:32
@huozhihuozhi changed the base branch fromgraphite-base/77264 tohuozhi/03-20-remove_deadcode_of_metadataMarch 20, 2025 14:32
@huozhihuozhiforce-pushed thehuozhi/03-18-handle_metadata_route_like_pages branch from3a0114c to6821af5CompareMarch 20, 2025 14:43
@huozhihuozhi changed the base branch fromhuozhi/03-20-remove_deadcode_of_metadata tographite-base/77264March 20, 2025 17:36
@huozhihuozhiforce-pushed thehuozhi/03-18-handle_metadata_route_like_pages branch from6821af5 to22d624eCompareMarch 20, 2025 17:37
@graphite-appgraphite-appbot changed the base branch fromgraphite-base/77264 tocanaryMarch 20, 2025 17:37
@huozhihuozhiforce-pushed thehuozhi/03-18-handle_metadata_route_like_pages branch from22d624e to00737c7CompareMarch 20, 2025 17:37
@huozhiGraphite App
Copy link
MemberAuthor

huozhi commentedMar 20, 2025
edited
Loading

Merge activity

  • Mar 20, 5:24 PM EDT: A user started a stack merge that includes this pull request viaGraphite.
  • Mar 20, 5:25 PM EDT: A user merged this pull request withGraphite.

@huozhihuozhi merged commitf5198b4 intocanaryMar 20, 2025
130 checks passed
@huozhihuozhi deleted the huozhi/03-18-handle_metadata_route_like_pages branchMarch 20, 2025 21:25
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsApr 4, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@ijjkijjkijjk approved these changes

@ztannerztannerAwaiting requested review from ztanner

@eps1loneps1lonAwaiting requested review from eps1lon

Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Error: Could not find the module sitemap/error.tsx#default v15.2.0
2 participants
@huozhi@ijjk

[8]ページ先頭

©2009-2025 Movatter.jp