-
Notifications
You must be signed in to change notification settings - Fork 27.4k
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
Enable webpack5 by default #23810
Enable webpack5 by default #23810
Conversation
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
buildDuration | 13s | 16s | |
nodeModulesSize | 46 MB | 46 MB | -325 B |
Page Load Tests Overall decrease ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.898 | 2.943 | |
/ avg req/sec | 862.7 | 849.54 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.637 | 1.679 | |
/error-in-render avg req/sec | 1527.41 | 1489.39 |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
677f882d2ed8..e6c6.js gzip | 13.4 kB | 13.3 kB | -67 B |
framework.HASH.js gzip | 39 kB | 39.3 kB | |
main-HASH.js gzip | 7.12 kB | 151 B | -6.97 kB |
webpack-HASH.js gzip | 751 B | 993 B | |
778-5cc798ac..5c25.js gzip | N/A | 7.05 kB | N/A |
Overall change | 60.2 kB | 60.8 kB |
Legacy Client Bundles (polyfills) Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.3 kB | 31.1 kB | -156 B |
Overall change | 31.3 kB | 31.1 kB | -156 B |
Client Pages Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_app-8fbabfc..6440.js gzip | 1.28 kB | 1.3 kB | |
_error-d07ca..ef4d.js gzip | 3.71 kB | 3.68 kB | -30 B |
amp-9716187d..0aa8.js gzip | 536 B | N/A | N/A |
hooks-107e90..74c7.js gzip | 888 B | 924 B | |
index-ac435c..ecf2.js gzip | 227 B | N/A | N/A |
link-c31053f..c329.js gzip | 1.64 kB | 1.66 kB | |
routerDirect..dc9d.js gzip | 303 B | N/A | N/A |
withRouter-6..0e02.js gzip | 302 B | N/A | N/A |
amp-89a5460c..567f.js gzip | N/A | 558 B | N/A |
index-fec729..83b2.js gzip | N/A | 243 B | N/A |
routerDirect..5759.js gzip | N/A | 336 B | N/A |
withRouter-1..98bf.js gzip | N/A | 334 B | N/A |
Overall change | 8.89 kB | 9.03 kB |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_buildManifest.js gzip | 371 B | 349 B | -22 B |
Overall change | 371 B | 349 B | -22 B |
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
index.html gzip | 613 B | 610 B | -3 B |
link.html gzip | 620 B | 617 B | -3 B |
withRouter.html gzip | 608 B | 605 B | -3 B |
Overall change | 1.84 kB | 1.83 kB | -9 B |
Serverless Mode (Increase detected ⚠️ )
General Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
buildDuration | 15.9s | 20.2s | |
nodeModulesSize | 46 MB | 46 MB | -325 B |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
677f882d2ed8..e6c6.js gzip | 13.4 kB | N/A | N/A |
framework.HASH.js gzip | 39 kB | 39.3 kB | |
main-HASH.js gzip | 7.12 kB | 151 B | -6.97 kB |
webpack-HASH.js gzip | 751 B | 993 B | |
597-3f457946..288d.js gzip | N/A | 13.3 kB | N/A |
778-5cc798ac..5c25.js gzip | N/A | 7.05 kB | N/A |
Overall change | 60.2 kB | 60.8 kB |
Legacy Client Bundles (polyfills) Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.3 kB | 31.1 kB | -156 B |
Overall change | 31.3 kB | 31.1 kB | -156 B |
Client Pages Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_app-8fbabfc..6440.js gzip | 1.28 kB | N/A | N/A |
_error-d07ca..ef4d.js gzip | 3.71 kB | N/A | N/A |
amp-9716187d..0aa8.js gzip | 536 B | N/A | N/A |
hooks-107e90..74c7.js gzip | 888 B | N/A | N/A |
index-ac435c..ecf2.js gzip | 227 B | N/A | N/A |
link-c31053f..c329.js gzip | 1.64 kB | N/A | N/A |
routerDirect..dc9d.js gzip | 303 B | N/A | N/A |
withRouter-6..0e02.js gzip | 302 B | N/A | N/A |
_app-5cc66b2..6f03.js gzip | N/A | 1.3 kB | N/A |
_error-55112..054d.js gzip | N/A | 3.68 kB | N/A |
amp-89a5460c..567f.js gzip | N/A | 558 B | N/A |
hooks-8c2e74..be37.js gzip | N/A | 924 B | N/A |
index-fec729..83b2.js gzip | N/A | 243 B | N/A |
link-dd34d9b..0ade.js gzip | N/A | 1.66 kB | N/A |
routerDirect..5759.js gzip | N/A | 336 B | N/A |
withRouter-1..98bf.js gzip | N/A | 334 B | N/A |
Overall change | 8.89 kB | 9.03 kB |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_buildManifest.js gzip | 371 B | 349 B | -22 B |
Overall change | 371 B | 349 B | -22 B |
Serverless bundles Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_error.js | 1.37 MB | 1.35 MB | -19.1 kB |
404.html | 2.67 kB | 2.76 kB | |
500.html | 2.65 kB | 2.75 kB | |
amp.amp.html | 10.7 kB | 10.7 kB | ✓ |
amp.html | 1.86 kB | 1.96 kB | |
hooks.html | 1.92 kB | 2.01 kB | |
index.js | 1.37 MB | 1.35 MB | -19.1 kB |
link.js | 1.42 MB | 1.4 MB | -18.8 kB |
routerDirect.js | 1.42 MB | 1.4 MB | -18.8 kB |
withRouter.js | 1.42 MB | 1.4 MB | -18.8 kB |
Overall change | 7.01 MB | 6.91 MB | -94.1 kB |
Webpack 5 Mode (Increase detected ⚠️ )
General Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
buildDuration | 16.1s | 15.9s | -154ms |
nodeModulesSize | 46 MB | 46 MB | -325 B |
Page Load Tests Overall increase ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.92 | 2.884 | -0.04 |
/ avg req/sec | 856.09 | 866.87 | +10.78 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.722 | 1.655 | -0.07 |
/error-in-render avg req/sec | 1451.67 | 1510.98 | +59.31 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
597-3f457946..288d.js gzip | 13.3 kB | 13.3 kB | ✓ |
778-5cc798ac..5c25.js gzip | 7.05 kB | 7.05 kB | ✓ |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 151 B | 151 B | ✓ |
webpack-HASH.js gzip | 993 B | 993 B | ✓ |
Overall change | 60.8 kB | 60.8 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.1 kB | 31.1 kB | ✓ |
Overall change | 31.1 kB | 31.1 kB | ✓ |
Client Pages
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_app-5cc66b2..6f03.js gzip | 1.3 kB | 1.3 kB | ✓ |
_error-55112..054d.js gzip | 3.68 kB | 3.68 kB | ✓ |
amp-89a5460c..567f.js gzip | 558 B | 558 B | ✓ |
hooks-8c2e74..be37.js gzip | 924 B | 924 B | ✓ |
index-fec729..83b2.js gzip | 243 B | 243 B | ✓ |
link-dd34d9b..0ade.js gzip | 1.66 kB | 1.66 kB | ✓ |
routerDirect..5759.js gzip | 336 B | 336 B | ✓ |
withRouter-1..98bf.js gzip | 334 B | 334 B | ✓ |
Overall change | 9.03 kB | 9.03 kB | ✓ |
Client Build Manifests
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_buildManifest.js gzip | 349 B | 349 B | ✓ |
Overall change | 349 B | 349 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
index.html gzip | 610 B | 610 B | ✓ |
link.html gzip | 617 B | 617 B | ✓ |
withRouter.html gzip | 605 B | 605 B | ✓ |
Overall change | 1.83 kB | 1.83 kB | ✓ |
Diffs
Diff for _buildManifest.js
@@ -1,29 +1,21 @@
-self.__BUILD_MANIFEST = {
+(self.__BUILD_MANIFEST = {
__rewrites: { beforeFiles: [], afterFiles: [], fallback: [] },
- "/": ["static\u002Fchunks\u002Fpages\u002Findex-ac435c89e537f4e6ecf2.js"],
- "/_error": [
- "static\u002Fchunks\u002Fpages\u002F_error-d07ca8afdf6c45b9ef4d.js"
- ],
- "/amp": ["static\u002Fchunks\u002Fpages\u002Famp-9716187d43cb5ac80aa8.js"],
- "/hooks": [
- "static\u002Fchunks\u002Fpages\u002Fhooks-107e903cc2136d5974c7.js"
- ],
- "/link": ["static\u002Fchunks\u002Fpages\u002Flink-c31053f6d096d7dcc329.js"],
- "/routerDirect": [
- "static\u002Fchunks\u002Fpages\u002FrouterDirect-68414267e80493f2dc9d.js"
- ],
- "/withRouter": [
- "static\u002Fchunks\u002Fpages\u002FwithRouter-6e72b47076be15290e02.js"
- ],
+ "/": ["static/chunks/pages/index-fec729acd14e4a5583b2.js"],
+ "/_error": ["static/chunks/pages/_error-55112c9d838f988b054d.js"],
+ "/amp": ["static/chunks/pages/amp-89a5460cada4d99b567f.js"],
+ "/hooks": ["static/chunks/pages/hooks-8c2e74bb2b6bffaebe37.js"],
+ "/link": ["static/chunks/pages/link-dd34d9b14dfb3c040ade.js"],
+ "/routerDirect": ["static/chunks/pages/routerDirect-86b413d0659e50665759.js"],
+ "/withRouter": ["static/chunks/pages/withRouter-186b16dd09ed427898bf.js"],
sortedPages: [
- "\u002F",
- "\u002F_app",
- "\u002F_error",
- "\u002Famp",
- "\u002Fhooks",
- "\u002Flink",
- "\u002FrouterDirect",
- "\u002FwithRouter"
+ "/",
+ "/_app",
+ "/_error",
+ "/amp",
+ "/hooks",
+ "/link",
+ "/routerDirect",
+ "/withRouter"
]
-};
-self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB();
+}),
+ self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB();
Diff for _app-8fbabfc..bc6e06440.js
@@ -1,11 +1,30 @@
-_N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
- [4],
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [888, 179],
{
- 0: function(t, e, n) {
- n("e9+W"), (t.exports = n("nOHt"));
+ 1506: function(t) {
+ t.exports = function(t) {
+ if (void 0 === t)
+ throw new ReferenceError(
+ "this hasn't been initialised - super() hasn't been called"
+ );
+ return t;
+ };
+ },
+ 9754: function(t) {
+ function e(n) {
+ return (
+ (t.exports = e = Object.setPrototypeOf
+ ? Object.getPrototypeOf
+ : function(t) {
+ return t.__proto__ || Object.getPrototypeOf(t);
+ }),
+ e(n)
+ );
+ }
+ t.exports = e;
},
- "7W2i": function(t, e, n) {
- var r = n("SksO");
+ 2205: function(t, e, n) {
+ var r = n(9489);
t.exports = function(t, e) {
if ("function" !== typeof e && null !== e)
throw new TypeError(
@@ -17,16 +36,23 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
e && r(t, e);
};
},
- B5Ud: function(t, e, n) {
+ 8585: function(t, e, n) {
+ var r = n(8),
+ o = n(1506);
+ t.exports = function(t, e) {
+ return !e || ("object" !== r(e) && "function" !== typeof e) ? o(t) : e;
+ };
+ },
+ 6381: function(t, e, n) {
"use strict";
- var r = n("o0o1"),
- o = n("lwsE"),
- u = n("W8MJ"),
- i = n("7W2i"),
- c = n("a1gu"),
- a = n("Nsbk"),
- p = n("yXPU");
- function s(t) {
+ var r = n(7757),
+ o = n(4575),
+ u = n(3913),
+ c = n(2205),
+ i = n(8585),
+ a = n(9754),
+ p = n(8926);
+ function f(t) {
var e = (function() {
if ("undefined" === typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
@@ -49,24 +75,24 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var o = a(this).constructor;
n = Reflect.construct(r, arguments, o);
} else n = r.apply(this, arguments);
- return c(this, n);
+ return i(this, n);
};
}
- var f = n("TqRt");
+ var s = n(5318);
(e.__esModule = !0),
(e.Container = function(t) {
0;
return t.children;
}),
- (e.createUrl = v),
+ (e.createUrl = b),
(e.default = void 0);
- var l = f(n("q1tI")),
- h = n("g/15");
+ var l = s(n(7294)),
+ h = n(3937);
function _(t) {
- return d.apply(this, arguments);
+ return v.apply(this, arguments);
}
- function d() {
- return (d = p(
+ function v() {
+ return (v = p(
r.mark(function t(e) {
var n, o, u;
return r.wrap(function(t) {
@@ -92,8 +118,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
(e.AppInitialProps = h.AppInitialProps),
(e.NextWebVitalsMetric = h.NextWebVitalsMetric);
var y = (function(t) {
- i(n, t);
- var e = s(n);
+ c(n, t);
+ var e = f(n);
function n() {
return o(this, n), e.apply(this, arguments);
}
@@ -116,7 +142,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
u = t.__N_SSP;
return l.default.createElement(
n,
- Object.assign({}, r, o || u ? {} : { url: v(e) })
+ Object.assign({}, r, o || u ? {} : { url: b(e) })
);
}
}
@@ -124,7 +150,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
n
);
})(l.default.Component);
- function v(t) {
+ function b(t) {
var e = t.pathname,
n = t.asPath,
r = t.query;
@@ -161,43 +187,24 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}
(e.default = y), (y.origGetInitialProps = _), (y.getInitialProps = _);
},
- Nsbk: function(t, e) {
- function n(e) {
- return (
- (t.exports = n = Object.setPrototypeOf
- ? Object.getPrototypeOf
- : function(t) {
- return t.__proto__ || Object.getPrototypeOf(t);
- }),
- n(e)
- );
- }
- t.exports = n;
- },
- PJYZ: function(t, e) {
- t.exports = function(t) {
- if (void 0 === t)
- throw new ReferenceError(
- "this hasn't been initialised - super() hasn't been called"
- );
- return t;
- };
- },
- a1gu: function(t, e, n) {
- var r = n("cDf5"),
- o = n("PJYZ");
- t.exports = function(t, e) {
- return !e || ("object" !== r(e) && "function" !== typeof e) ? o(t) : e;
- };
- },
- "e9+W": function(t, e, n) {
+ 915: function(t, e, n) {
(window.__NEXT_P = window.__NEXT_P || []).push([
"/_app",
function() {
- return n("B5Ud");
+ return n(6381);
}
]);
- }
+ },
+ 4453: function() {}
},
- [[0, 0, 1, 2]]
+ function(t) {
+ var e = function(e) {
+ return t((t.s = e));
+ };
+ t.O(0, [774, 597], function() {
+ return e(915), e(2441);
+ });
+ var n = t.O();
+ _N_E = n;
+ }
]);
Diff for _error-d07ca..c45b9ef4d.js
@@ -1,7 +1,190 @@
-_N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
- [5],
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [820],
{
- "/0+H": function(e, t, n) {
+ 7228: function(e) {
+ e.exports = function(e, t) {
+ (null == t || t > e.length) && (t = e.length);
+ for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
+ return r;
+ };
+ },
+ 3646: function(e, t, n) {
+ var r = n(7228);
+ e.exports = function(e) {
+ if (Array.isArray(e)) return r(e);
+ };
+ },
+ 1506: function(e) {
+ e.exports = function(e) {
+ if (void 0 === e)
+ throw new ReferenceError(
+ "this hasn't been initialised - super() hasn't been called"
+ );
+ return e;
+ };
+ },
+ 4575: function(e) {
+ e.exports = function(e, t) {
+ if (!(e instanceof t))
+ throw new TypeError("Cannot call a class as a function");
+ };
+ },
+ 3913: function(e) {
+ function t(e, t) {
+ for (var n = 0; n < t.length; n++) {
+ var r = t[n];
+ (r.enumerable = r.enumerable || !1),
+ (r.configurable = !0),
+ "value" in r && (r.writable = !0),
+ Object.defineProperty(e, r.key, r);
+ }
+ }
+ e.exports = function(e, n, r) {
+ return n && t(e.prototype, n), r && t(e, r), e;
+ };
+ },
+ 9713: function(e) {
+ e.exports = function(e, t, n) {
+ return (
+ t in e
+ ? Object.defineProperty(e, t, {
+ value: n,
+ enumerable: !0,
+ configurable: !0,
+ writable: !0
+ })
+ : (e[t] = n),
+ e
+ );
+ };
+ },
+ 9754: function(e) {
+ function t(n) {
+ return (
+ (e.exports = t = Object.setPrototypeOf
+ ? Object.getPrototypeOf
+ : function(e) {
+ return e.__proto__ || Object.getPrototypeOf(e);
+ }),
+ t(n)
+ );
+ }
+ e.exports = t;
+ },
+ 2205: function(e, t, n) {
+ var r = n(9489);
+ e.exports = function(e, t) {
+ if ("function" !== typeof t && null !== t)
+ throw new TypeError(
+ "Super expression must either be null or a function"
+ );
+ (e.prototype = Object.create(t && t.prototype, {
+ constructor: { value: e, writable: !0, configurable: !0 }
+ })),
+ t && r(e, t);
+ };
+ },
+ 5318: function(e) {
+ e.exports = function(e) {
+ return e && e.__esModule ? e : { default: e };
+ };
+ },
+ 6860: function(e) {
+ e.exports = function(e) {
+ if ("undefined" !== typeof Symbol && Symbol.iterator in Object(e))
+ return Array.from(e);
+ };
+ },
+ 8206: function(e) {
+ e.exports = function() {
+ throw new TypeError(
+ "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
+ );
+ };
+ },
+ 8585: function(e, t, n) {
+ var r = n(8),
+ o = n(1506);
+ e.exports = function(e, t) {
+ return !t || ("object" !== r(t) && "function" !== typeof t) ? o(e) : t;
+ };
+ },
+ 9489: function(e) {
+ function t(n, r) {
+ return (
+ (e.exports = t =
+ Object.setPrototypeOf ||
+ function(e, t) {
+ return (e.__proto__ = t), e;
+ }),
+ t(n, r)
+ );
+ }
+ e.exports = t;
+ },
+ 319: function(e, t, n) {
+ var r = n(3646),
+ o = n(6860),
+ a = n(379),
+ i = n(8206);
+ e.exports = function(e) {
+ return r(e) || o(e) || a(e) || i();
+ };
+ },
+ 8: function(e) {
+ function t(n) {
+ return (
+ "function" === typeof Symbol && "symbol" === typeof Symbol.iterator
+ ? (e.exports = t = function(e) {
+ return typeof e;
+ })
+ : (e.exports = t = function(e) {
+ return e &&
+ "function" === typeof Symbol &&
+ e.constructor === Symbol &&
+ e !== Symbol.prototype
+ ? "symbol"
+ : typeof e;
+ }),
+ t(n)
+ );
+ }
+ e.exports = t;
+ },
+ 379: function(e, t, n) {
+ var r = n(7228);
+ e.exports = function(e, t) {
+ if (e) {
+ if ("string" === typeof e) return r(e, t);
+ var n = Object.prototype.toString.call(e).slice(8, -1);
+ return (
+ "Object" === n && e.constructor && (n = e.constructor.name),
+ "Map" === n || "Set" === n
+ ? Array.from(e)
+ : "Arguments" === n ||
+ /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
+ ? r(e, t)
+ : void 0
+ );
+ }
+ };
+ },
+ 6086: function(e) {
+ "use strict";
+ var t = Object.assign.bind(Object);
+ (e.exports = t), (e.exports.default = e.exports);
+ },
+ 3367: function(e, t, n) {
+ "use strict";
+ var r;
+ (t.__esModule = !0), (t.AmpStateContext = void 0);
+ var o = ((r = n(7294)) && r.__esModule
+ ? r
+ : { default: r }
+ ).default.createContext({});
+ t.AmpStateContext = o;
+ },
+ 7845: function(e, t, n) {
"use strict";
(t.__esModule = !0),
(t.isInAmpMode = i),
@@ -9,8 +192,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
return i(o.default.useContext(a.AmpStateContext));
});
var r,
- o = (r = n("q1tI")) && r.__esModule ? r : { default: r },
- a = n("lwAK");
+ o = (r = n(7294)) && r.__esModule ? r : { default: r },
+ a = n(3367);
function i() {
var e =
arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
@@ -23,169 +206,19 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
return n || (o && i);
}
},
- "/a9y": function(e, t, n) {
+ 4287: function(e, t, n) {
"use strict";
- var r = n("lwsE"),
- o = n("W8MJ"),
- a = n("7W2i"),
- i = n("a1gu"),
- u = n("Nsbk");
- function c(e) {
- var t = (function() {
- if ("undefined" === typeof Reflect || !Reflect.construct) return !1;
- if (Reflect.construct.sham) return !1;
- if ("function" === typeof Proxy) return !0;
- try {
- return (
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- ),
- !0
- );
- } catch (e) {
- return !1;
- }
- })();
- return function() {
- var n,
- r = u(e);
- if (t) {
- var o = u(this).constructor;
- n = Reflect.construct(r, arguments, o);
- } else n = r.apply(this, arguments);
- return i(this, n);
- };
- }
- var s = n("TqRt");
- (t.__esModule = !0), (t.default = void 0);
- var f = s(n("q1tI")),
- l = s(n("8Kt/")),
- p = {
- 400: "Bad Request",
- 404: "This page could not be found",
- 405: "Method Not Allowed",
- 500: "Internal Server Error"
- };
- function d(e) {
- var t = e.res,
- n = e.err;
- return {
- statusCode: t && t.statusCode ? t.statusCode : n ? n.statusCode : 404
- };
- }
- var y = (function(e) {
- a(n, e);
- var t = c(n);
- function n() {
- return r(this, n), t.apply(this, arguments);
- }
- return (
- o(n, [
- {
- key: "render",
- value: function() {
- var e = this.props.statusCode,
- t =
- this.props.title ||
- p[e] ||
- "An unexpected error has occurred";
- return f.default.createElement(
- "div",
- { style: h.error },
- f.default.createElement(
- l.default,
- null,
- f.default.createElement("title", null, e, ": ", t)
- ),
- f.default.createElement(
- "div",
- null,
- f.default.createElement("style", {
- dangerouslySetInnerHTML: { __html: "body { margin: 0 }" }
- }),
- e
- ? f.default.createElement("h1", { style: h.h1 }, e)
- : null,
- f.default.createElement(
- "div",
- { style: h.desc },
- f.default.createElement("h2", { style: h.h2 }, t, ".")
- )
- )
- );
- }
- }
- ]),
- n
- );
- })(f.default.Component);
- (t.default = y),
- (y.displayName = "ErrorPage"),
- (y.getInitialProps = d),
- (y.origGetInitialProps = d);
- var h = {
- error: {
- color: "#000",
- background: "#fff",
- fontFamily:
- '-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif',
- height: "100vh",
- textAlign: "center",
- display: "flex",
- flexDirection: "column",
- alignItems: "center",
- justifyContent: "center"
- },
- desc: {
- display: "inline-block",
- textAlign: "left",
- lineHeight: "49px",
- height: "49px",
- verticalAlign: "middle"
- },
- h1: {
- display: "inline-block",
- borderRight: "1px solid rgba(0, 0, 0,.3)",
- margin: 0,
- marginRight: "20px",
- padding: "10px 23px 10px 0",
- fontSize: "24px",
- fontWeight: 500,
- verticalAlign: "top"
- },
- h2: {
- fontSize: "14px",
- fontWeight: "normal",
- lineHeight: "inherit",
- margin: 0,
- padding: 0
- }
- };
- },
- "04ac": function(e, t, n) {
- (window.__NEXT_P = window.__NEXT_P || []).push([
- "/_error",
- function() {
- return n("/a9y");
- }
- ]);
- },
- "7W2i": function(e, t, n) {
- var r = n("SksO");
- e.exports = function(e, t) {
- if ("function" !== typeof t && null !== t)
- throw new TypeError(
- "Super expression must either be null or a function"
- );
- (e.prototype = Object.create(t && t.prototype, {
- constructor: { value: e, writable: !0, configurable: !0 }
- })),
- t && r(e, t);
- };
+ var r;
+ (t.__esModule = !0), (t.HeadManagerContext = void 0);
+ var o = ((r = n(7294)) && r.__esModule
+ ? r
+ : { default: r }
+ ).default.createContext({});
+ t.HeadManagerContext = o;
},
- "8Kt/": function(e, t, n) {
+ 7947: function(e, t, n) {
"use strict";
- var r = n("lSNA");
+ var r = n(9713);
function o(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -217,11 +250,11 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}
(n.default = e), t && t.set(e, n);
return n;
- })(n("q1tI")),
- u = (a = n("Xuae")) && a.__esModule ? a : { default: a },
- c = n("lwAK"),
- s = n("FYa8"),
- f = n("/0+H");
+ })(n(7294)),
+ u = (a = n(617)) && a.__esModule ? a : { default: a },
+ c = n(3367),
+ f = n(4287),
+ s = n(7845);
function l() {
if ("function" !== typeof WeakMap) return null;
var e = new WeakMap();
@@ -263,8 +296,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
)
: e.concat(t);
}
- var y = ["name", "httpEquiv", "charSet", "itemProp"];
- function h(e, t) {
+ var h = ["name", "httpEquiv", "charSet", "itemProp"];
+ function y(e, t) {
return e
.reduce(function(e, t) {
var n = i.default.Children.toArray(t.props.children);
@@ -297,15 +330,15 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
t.has(o.type) ? (a = !1) : t.add(o.type);
break;
case "meta":
- for (var c = 0, s = y.length; c < s; c++) {
- var f = y[c];
- if (o.props.hasOwnProperty(f))
- if ("charSet" === f) n.has(f) ? (a = !1) : n.add(f);
+ for (var c = 0, f = h.length; c < f; c++) {
+ var s = h[c];
+ if (o.props.hasOwnProperty(s))
+ if ("charSet" === s) n.has(s) ? (a = !1) : n.add(s);
else {
- var l = o.props[f],
- p = r[f] || new Set();
- ("name" === f && i) || !p.has(l)
- ? (p.add(l), (r[f] = p))
+ var l = o.props[s],
+ p = r[s] || new Set();
+ ("name" === s && i) || !p.has(l)
+ ? (p.add(l), (r[s] = p))
: (a = !1);
}
}
@@ -359,13 +392,13 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
function v(e) {
var t = e.children,
n = (0, i.useContext)(c.AmpStateContext),
- r = (0, i.useContext)(s.HeadManagerContext);
+ r = (0, i.useContext)(f.HeadManagerContext);
return i.default.createElement(
u.default,
{
- reduceComponentsToState: h,
+ reduceComponentsToState: y,
headManager: r,
- inAmpMode: (0, f.isInAmpMode)(n)
+ inAmpMode: (0, s.isInAmpMode)(n)
},
t
);
@@ -374,119 +407,15 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var m = v;
t.default = m;
},
- Bnag: function(e, t) {
- e.exports = function() {
- throw new TypeError(
- "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
- );
- };
- },
- EbDI: function(e, t) {
- e.exports = function(e) {
- if ("undefined" !== typeof Symbol && Symbol.iterator in Object(e))
- return Array.from(e);
- };
- },
- FYa8: function(e, t, n) {
- "use strict";
- var r;
- (t.__esModule = !0), (t.HeadManagerContext = void 0);
- var o = ((r = n("q1tI")) && r.__esModule
- ? r
- : { default: r }
- ).default.createContext({});
- t.HeadManagerContext = o;
- },
- Ijbi: function(e, t, n) {
- var r = n("WkPL");
- e.exports = function(e) {
- if (Array.isArray(e)) return r(e);
- };
- },
- Nsbk: function(e, t) {
- function n(t) {
- return (
- (e.exports = n = Object.setPrototypeOf
- ? Object.getPrototypeOf
- : function(e) {
- return e.__proto__ || Object.getPrototypeOf(e);
- }),
- n(t)
- );
- }
- e.exports = n;
- },
- PJYZ: function(e, t) {
- e.exports = function(e) {
- if (void 0 === e)
- throw new ReferenceError(
- "this hasn't been initialised - super() hasn't been called"
- );
- return e;
- };
- },
- Qetd: function(e, t, n) {
- "use strict";
- var r = Object.assign.bind(Object);
- (e.exports = r), (e.exports.default = e.exports);
- },
- RIqP: function(e, t, n) {
- var r = n("Ijbi"),
- o = n("EbDI"),
- a = n("ZhPi"),
- i = n("Bnag");
- e.exports = function(e) {
- return r(e) || o(e) || a(e) || i();
- };
- },
- SksO: function(e, t) {
- function n(t, r) {
- return (
- (e.exports = n =
- Object.setPrototypeOf ||
- function(e, t) {
- return (e.__proto__ = t), e;
- }),
- n(t, r)
- );
- }
- e.exports = n;
- },
- TqRt: function(e, t) {
- e.exports = function(e) {
- return e && e.__esModule ? e : { default: e };
- };
- },
- W8MJ: function(e, t) {
- function n(e, t) {
- for (var n = 0; n < t.length; n++) {
- var r = t[n];
- (r.enumerable = r.enumerable || !1),
- (r.configurable = !0),
- "value" in r && (r.writable = !0),
- Object.defineProperty(e, r.key, r);
- }
- }
- e.exports = function(e, t, r) {
- return t && n(e.prototype, t), r && n(e, r), e;
- };
- },
- WkPL: function(e, t) {
- e.exports = function(e, t) {
- (null == t || t > e.length) && (t = e.length);
- for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
- return r;
- };
- },
- Xuae: function(e, t, n) {
+ 617: function(e, t, n) {
"use strict";
- var r = n("RIqP"),
- o = n("lwsE"),
- a = n("W8MJ"),
- i = (n("PJYZ"), n("7W2i")),
- u = n("a1gu"),
- c = n("Nsbk");
- function s(e) {
+ var r = n(319),
+ o = n(4575),
+ a = n(3913),
+ i = (n(1506), n(2205)),
+ u = n(8585),
+ c = n(9754);
+ function f(e) {
var t = (function() {
if ("undefined" === typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
@@ -513,10 +442,10 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
};
}
(t.__esModule = !0), (t.default = void 0);
- var f = n("q1tI"),
+ var s = n(7294),
l = (function(e) {
i(n, e);
- var t = s(n);
+ var t = f(n);
function n(e) {
var a;
return (
@@ -569,85 +498,163 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
]),
n
);
- })(f.Component);
+ })(s.Component);
t.default = l;
},
- ZhPi: function(e, t, n) {
- var r = n("WkPL");
- e.exports = function(e, t) {
- if (e) {
- if ("string" === typeof e) return r(e, t);
- var n = Object.prototype.toString.call(e).slice(8, -1);
- return (
- "Object" === n && e.constructor && (n = e.constructor.name),
- "Map" === n || "Set" === n
- ? Array.from(e)
- : "Arguments" === n ||
- /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
- ? r(e, t)
- : void 0
- );
- }
- };
- },
- a1gu: function(e, t, n) {
- var r = n("cDf5"),
- o = n("PJYZ");
- e.exports = function(e, t) {
- return !t || ("object" !== r(t) && "function" !== typeof t) ? o(e) : t;
- };
- },
- cDf5: function(e, t) {
- function n(t) {
- return (
- "function" === typeof Symbol && "symbol" === typeof Symbol.iterator
- ? (e.exports = n = function(e) {
- return typeof e;
- })
- : (e.exports = n = function(e) {
- return e &&
- "function" === typeof Symbol &&
- e.constructor === Symbol &&
- e !== Symbol.prototype
- ? "symbol"
- : typeof e;
- }),
- n(t)
- );
+ 900: function(e, t, n) {
+ "use strict";
+ var r = n(4575),
+ o = n(3913),
+ a = n(2205),
+ i = n(8585),
+ u = n(9754);
+ function c(e) {
+ var t = (function() {
+ if ("undefined" === typeof Reflect || !Reflect.construct) return !1;
+ if (Reflect.construct.sham) return !1;
+ if ("function" === typeof Proxy) return !0;
+ try {
+ return (
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ ),
+ !0
+ );
+ } catch (e) {
+ return !1;
+ }
+ })();
+ return function() {
+ var n,
+ r = u(e);
+ if (t) {
+ var o = u(this).constructor;
+ n = Reflect.construct(r, arguments, o);
+ } else n = r.apply(this, arguments);
+ return i(this, n);
+ };
}
- e.exports = n;
- },
- lSNA: function(e, t) {
- e.exports = function(e, t, n) {
+ var f = n(5318);
+ (t.__esModule = !0), (t.default = void 0);
+ var s = f(n(7294)),
+ l = f(n(7947)),
+ p = {
+ 400: "Bad Request",
+ 404: "This page could not be found",
+ 405: "Method Not Allowed",
+ 500: "Internal Server Error"
+ };
+ function d(e) {
+ var t = e.res,
+ n = e.err;
+ return {
+ statusCode: t && t.statusCode ? t.statusCode : n ? n.statusCode : 404
+ };
+ }
+ var h = (function(e) {
+ a(n, e);
+ var t = c(n);
+ function n() {
+ return r(this, n), t.apply(this, arguments);
+ }
return (
- t in e
- ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- })
- : (e[t] = n),
- e
+ o(n, [
+ {
+ key: "render",
+ value: function() {
+ var e = this.props.statusCode,
+ t =
+ this.props.title ||
+ p[e] ||
+ "An unexpected error has occurred";
+ return s.default.createElement(
+ "div",
+ { style: y.error },
+ s.default.createElement(
+ l.default,
+ null,
+ s.default.createElement("title", null, e, ": ", t)
+ ),
+ s.default.createElement(
+ "div",
+ null,
+ s.default.createElement("style", {
+ dangerouslySetInnerHTML: { __html: "body { margin: 0 }" }
+ }),
+ e
+ ? s.default.createElement("h1", { style: y.h1 }, e)
+ : null,
+ s.default.createElement(
+ "div",
+ { style: y.desc },
+ s.default.createElement("h2", { style: y.h2 }, t, ".")
+ )
+ )
+ );
+ }
+ }
+ ]),
+ n
);
+ })(s.default.Component);
+ (t.default = h),
+ (h.displayName = "ErrorPage"),
+ (h.getInitialProps = d),
+ (h.origGetInitialProps = d);
+ var y = {
+ error: {
+ color: "#000",
+ background: "#fff",
+ fontFamily:
+ '-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif',
+ height: "100vh",
+ textAlign: "center",
+ display: "flex",
+ flexDirection: "column",
+ alignItems: "center",
+ justifyContent: "center"
+ },
+ desc: {
+ display: "inline-block",
+ textAlign: "left",
+ lineHeight: "49px",
+ height: "49px",
+ verticalAlign: "middle"
+ },
+ h1: {
+ display: "inline-block",
+ borderRight: "1px solid rgba(0, 0, 0,.3)",
+ margin: 0,
+ marginRight: "20px",
+ padding: "10px 23px 10px 0",
+ fontSize: "24px",
+ fontWeight: 500,
+ verticalAlign: "top"
+ },
+ h2: {
+ fontSize: "14px",
+ fontWeight: "normal",
+ lineHeight: "inherit",
+ margin: 0,
+ padding: 0
+ }
};
},
- lwAK: function(e, t, n) {
- "use strict";
- var r;
- (t.__esModule = !0), (t.AmpStateContext = void 0);
- var o = ((r = n("q1tI")) && r.__esModule
- ? r
- : { default: r }
- ).default.createContext({});
- t.AmpStateContext = o;
- },
- lwsE: function(e, t) {
- e.exports = function(e, t) {
- if (!(e instanceof t))
- throw new TypeError("Cannot call a class as a function");
- };
+ 4977: function(e, t, n) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/_error",
+ function() {
+ return n(900);
+ }
+ ]);
}
},
- [["04ac", 0, 1]]
+ function(e) {
+ e.O(0, [774], function() {
+ return (t = 4977), e((e.s = t));
+ var t;
+ });
+ var t = e.O();
+ _N_E = t;
+ }
]);
Diff for amp-89a5460c..4d99b567f.js
@@ -0,0 +1,78 @@
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [216],
+ {
+ 9135: function(t, e, n) {
+ t.exports = n(7845);
+ },
+ 6086: function(t) {
+ "use strict";
+ var e = Object.assign.bind(Object);
+ (t.exports = e), (t.exports.default = t.exports);
+ },
+ 3367: function(t, e, n) {
+ "use strict";
+ var u;
+ (e.__esModule = !0), (e.AmpStateContext = void 0);
+ var o = ((u = n(7294)) && u.__esModule
+ ? u
+ : { default: u }
+ ).default.createContext({});
+ e.AmpStateContext = o;
+ },
+ 7845: function(t, e, n) {
+ "use strict";
+ (e.__esModule = !0),
+ (e.isInAmpMode = i),
+ (e.useAmp = function() {
+ return i(o.default.useContext(r.AmpStateContext));
+ });
+ var u,
+ o = (u = n(7294)) && u.__esModule ? u : { default: u },
+ r = n(3367);
+ function i() {
+ var t =
+ arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ e = t.ampFirst,
+ n = void 0 !== e && e,
+ u = t.hybrid,
+ o = void 0 !== u && u,
+ r = t.hasQuery,
+ i = void 0 !== r && r;
+ return n || (o && i);
+ }
+ },
+ 6332: function(t, e, n) {
+ "use strict";
+ n.r(e),
+ n.d(e, {
+ config: function() {
+ return o;
+ },
+ default: function() {
+ return r;
+ }
+ });
+ var u = n(9135),
+ o = { amp: "hybrid" };
+ function r(t) {
+ return (0, u.useAmp)() ? "AMP mode" : "normal mode";
+ }
+ },
+ 6071: function(t, e, n) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/amp",
+ function() {
+ return n(6332);
+ }
+ ]);
+ }
+ },
+ function(t) {
+ t.O(0, [774], function() {
+ return (e = 6071), t((t.s = e));
+ var e;
+ });
+ var e = t.O();
+ _N_E = e;
+ }
+]);
Diff for amp-9716187d..b5ac80aa8.js
deleted
Diff for hooks-107e90..36d5974c7.js
@@ -1,7 +1,12 @@
-_N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
- [7],
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [757],
{
- "+MDD": function(t, n, r) {
+ 6086: function(t) {
+ "use strict";
+ var n = Object.assign.bind(Object);
+ (t.exports = n), (t.exports.default = t.exports);
+ },
+ 7690: function(t, n, r) {
"use strict";
function e(t, n) {
(null == n || n > t.length) && (n = t.length);
@@ -18,21 +23,21 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var r = [],
e = !0,
o = !1,
- i = void 0;
+ u = void 0;
try {
for (
- var a, u = t[Symbol.iterator]();
- !(e = (a = u.next()).done) &&
- (r.push(a.value), !n || r.length !== n);
+ var i, a = t[Symbol.iterator]();
+ !(e = (i = a.next()).done) &&
+ (r.push(i.value), !n || r.length !== n);
e = !0
);
} catch (c) {
- (o = !0), (i = c);
+ (o = !0), (u = c);
} finally {
try {
- e || null == u.return || u.return();
+ e || null == a.return || a.return();
} finally {
- if (o) throw i;
+ if (o) throw u;
}
}
return r;
@@ -60,52 +65,59 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
})()
);
}
- r.r(n);
- var i = r("q1tI"),
- a = r.n(i),
- u = a.a.createElement;
- n.default = function() {
- var t = o(a.a.useState(0), 2),
- n = t[0],
- r = t[1],
- e = Object(i.useState)(0),
- c = e[0],
- l = e[1],
- s = a.a.useCallback(
- function() {
- r(n + 1);
- },
- [n]
- ),
- f = Object(i.useCallback)(
- function() {
- l(c + 1);
- },
- [c]
+ r.r(n),
+ r.d(n, {
+ default: function() {
+ return c;
+ }
+ });
+ var u = r(7294),
+ i = r.n(u),
+ a = i().createElement,
+ c = function() {
+ var t = o(i().useState(0), 2),
+ n = t[0],
+ r = t[1],
+ e = (0, u.useState)(0),
+ c = e[0],
+ l = e[1],
+ f = i().useCallback(
+ function() {
+ r(n + 1);
+ },
+ [n]
+ ),
+ s = (0, u.useCallback)(
+ function() {
+ l(c + 1);
+ },
+ [c]
+ );
+ return a(
+ i().Fragment,
+ null,
+ a("h3", null, "Clicks ", n),
+ a("button", { onClick: f }, "Click me"),
+ a("h3", null, "Clicks ", c),
+ a("button", { onClick: s }, "Click me")
);
- return u(
- a.a.Fragment,
- null,
- u("h3", null, "Clicks ", n),
- u("button", { onClick: s }, "Click me"),
- u("h3", null, "Clicks ", c),
- u("button", { onClick: f }, "Click me")
- );
- };
- },
- Qetd: function(t, n, r) {
- "use strict";
- var e = Object.assign.bind(Object);
- (t.exports = e), (t.exports.default = t.exports);
+ };
},
- g1vQ: function(t, n, r) {
+ 1470: function(t, n, r) {
(window.__NEXT_P = window.__NEXT_P || []).push([
"/hooks",
function() {
- return r("+MDD");
+ return r(7690);
}
]);
}
},
- [["g1vQ", 0, 1]]
+ function(t) {
+ t.O(0, [774], function() {
+ return (n = 1470), t((t.s = n));
+ var n;
+ });
+ var n = t.O();
+ _N_E = n;
+ }
]);
Diff for index-ac435c..7f4e6ecf2.js
deleted
Diff for index-fec729..e4a5583b2.js
@@ -0,0 +1,29 @@
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [405],
+ {
+ 8474: function(n, u, t) {
+ "use strict";
+ t.r(u);
+ var r = function() {
+ return "Hello world \ud83d\udc4b";
+ };
+ (r.getInitialProps = function() {
+ return {};
+ }),
+ (u.default = r);
+ },
+ 8581: function(n, u, t) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/",
+ function() {
+ return t(8474);
+ }
+ ]);
+ }
+ },
+ function(n) {
+ var u,
+ t = ((u = 8581), n((n.s = u)));
+ _N_E = t;
+ }
+]);
Diff for link-c31053f..6d7dcc329.js
@@ -1,47 +1,15 @@
-_N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
- [9],
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [644, 179],
{
- ObF3: function(e, n, t) {
+ 573: function(e, n, t) {
"use strict";
- t.r(n);
- var r = t("q1tI"),
- o = t.n(r),
- a = t("YFqc"),
- c = t.n(a),
- u = o.a.createElement;
- function i(e) {
- return u(
- "div",
- null,
- u("h3", null, "A Link page!"),
- u(c.a, { href: "/" }, "Go to /")
- );
- }
- (i.getInitialProps = function() {
- return {};
- }),
- (n.default = i);
- },
- V8Sf: function(e, n, t) {
- (window.__NEXT_P = window.__NEXT_P || []).push([
- "/link",
- function() {
- return t("ObF3");
- }
- ]);
- },
- YFqc: function(e, n, t) {
- e.exports = t("cTJO");
- },
- cTJO: function(e, n, t) {
- "use strict";
- var r = t("J4zp"),
- o = t("284h");
- (n.__esModule = !0), (n.default = void 0);
- var a = o(t("q1tI")),
- c = t("elyg"),
- u = t("nOHt"),
- i = t("vNVm"),
+ var r = t(3038),
+ o = t(862);
+ n.default = void 0;
+ var a = o(t(7294)),
+ c = t(1689),
+ u = t(2441),
+ i = t(5749),
l = {};
function f(e, n, t, r) {
if (e && (0, c.isLocalURL)(n)) {
@@ -74,41 +42,41 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
d = s.as,
v = e.children,
h = e.replace,
- g = e.shallow,
- y = e.scroll,
- b = e.locale;
+ y = e.shallow,
+ g = e.scroll,
+ E = e.locale;
"string" === typeof v && (v = a.default.createElement("a", null, v));
- var _ = a.Children.only(v),
- w = _ && "object" === typeof _ && _.ref,
- E = (0, i.useIntersection)({ rootMargin: "200px" }),
- m = r(E, 2),
- L = m[0],
- M = m[1],
- k = a.default.useCallback(
+ var b = a.Children.only(v),
+ _ = b && "object" === typeof b && b.ref,
+ L = (0, i.useIntersection)({ rootMargin: "200px" }),
+ k = r(L, 2),
+ m = k[0],
+ w = k[1],
+ M = a.default.useCallback(
function(e) {
- L(e),
- w &&
- ("function" === typeof w
- ? w(e)
- : "object" === typeof w && (w.current = e));
+ m(e),
+ _ &&
+ ("function" === typeof _
+ ? _(e)
+ : "object" === typeof _ && (_.current = e));
},
- [w, L]
+ [_, m]
);
(0, a.useEffect)(
function() {
- var e = M && n && (0, c.isLocalURL)(p),
- r = "undefined" !== typeof b ? b : t && t.locale,
+ var e = w && n && (0, c.isLocalURL)(p),
+ r = "undefined" !== typeof E ? E : t && t.locale,
o = l[p + "%" + d + (r ? "%" + r : "")];
e && !o && f(t, p, d, { locale: r });
},
- [d, p, M, b, n, t]
+ [d, p, w, E, n, t]
);
- var I = {
- ref: k,
+ var C = {
+ ref: M,
onClick: function(e) {
- _.props &&
- "function" === typeof _.props.onClick &&
- _.props.onClick(e),
+ b.props &&
+ "function" === typeof b.props.onClick &&
+ b.props.onClick(e),
e.defaultPrevented ||
(function(e, n, t, r, o, a, u, i) {
("A" !== e.currentTarget.nodeName ||
@@ -131,38 +99,38 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
locale: i,
scroll: u
}));
- })(e, t, p, d, h, g, y, b);
+ })(e, t, p, d, h, y, g, E);
},
onMouseEnter: function(e) {
(0, c.isLocalURL)(p) &&
- (_.props &&
- "function" === typeof _.props.onMouseEnter &&
- _.props.onMouseEnter(e),
+ (b.props &&
+ "function" === typeof b.props.onMouseEnter &&
+ b.props.onMouseEnter(e),
f(t, p, d, { priority: !0 }));
}
};
- if (e.passHref || ("a" === _.type && !("href" in _.props))) {
- var N = "undefined" !== typeof b ? b : t && t.locale,
- C =
+ if (e.passHref || ("a" === b.type && !("href" in b.props))) {
+ var I = "undefined" !== typeof E ? E : t && t.locale,
+ N =
t &&
t.isLocaleDomain &&
(0, c.getDomainLocale)(
d,
- N,
+ I,
t && t.locales,
t && t.domainLocales
);
- I.href =
- C ||
- (0, c.addBasePath)((0, c.addLocale)(d, N, t && t.defaultLocale));
+ C.href =
+ N ||
+ (0, c.addBasePath)((0, c.addLocale)(d, I, t && t.defaultLocale));
}
- return a.default.cloneElement(_, I);
+ return a.default.cloneElement(b, C);
};
n.default = s;
},
- vNVm: function(e, n, t) {
+ 5749: function(e, n, t) {
"use strict";
- var r = t("J4zp");
+ var r = t(3038);
(n.__esModule = !0),
(n.useIntersection = function(e) {
var n = e.rootMargin,
@@ -241,11 +209,50 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
[d, s]
);
});
- var o = t("q1tI"),
- a = t("0G5g"),
+ var o = t(7294),
+ a = t(8391),
c = "undefined" !== typeof IntersectionObserver;
var u = new Map();
- }
+ },
+ 8189: function(e, n, t) {
+ "use strict";
+ t.r(n);
+ var r = t(7294),
+ o = t.n(r),
+ a = t(1664),
+ c = o().createElement;
+ function u(e) {
+ return c(
+ "div",
+ null,
+ c("h3", null, "A Link page!"),
+ c(a.default, { href: "/" }, "Go to /")
+ );
+ }
+ (u.getInitialProps = function() {
+ return {};
+ }),
+ (n.default = u);
+ },
+ 7847: function(e, n, t) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/link",
+ function() {
+ return t(8189);
+ }
+ ]);
+ },
+ 1664: function(e, n, t) {
+ e.exports = t(573);
+ },
+ 4453: function() {}
},
- [["V8Sf", 0, 1, 2]]
+ function(e) {
+ e.O(0, [774, 597], function() {
+ return (n = 7847), e((e.s = n));
+ var n;
+ });
+ var n = e.O();
+ _N_E = n;
+ }
]);
Diff for routerDirect..493f2dc9d.js
deleted
Diff for routerDirect..e50665759.js
@@ -0,0 +1,39 @@
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [58, 179],
+ {
+ 1348: function(n, t, r) {
+ "use strict";
+ r.r(t);
+ var u = r(7294),
+ e = r.n(u),
+ i = (r(1163), e().createElement);
+ function o(n) {
+ return i("div", null, "I import the router directly");
+ }
+ (o.getInitialProps = function() {
+ return {};
+ }),
+ (t.default = o);
+ },
+ 5448: function(n, t, r) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/routerDirect",
+ function() {
+ return r(1348);
+ }
+ ]);
+ },
+ 1163: function(n, t, r) {
+ n.exports = r(2441);
+ },
+ 4453: function() {}
+ },
+ function(n) {
+ n.O(0, [774, 597], function() {
+ return (t = 5448), n((n.s = t));
+ var t;
+ });
+ var t = n.O();
+ _N_E = t;
+ }
+]);
Diff for withRouter-1..d427898bf.js
@@ -0,0 +1,40 @@
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [807, 179],
+ {
+ 7024: function(n, t, u) {
+ "use strict";
+ u.r(t);
+ var e = u(7294),
+ r = u.n(e),
+ i = u(1163),
+ o = r().createElement;
+ function c(n) {
+ return o("div", null, "I use withRouter");
+ }
+ (c.getInitialProps = function() {
+ return {};
+ }),
+ (t.default = (0, i.withRouter)(c));
+ },
+ 6744: function(n, t, u) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/withRouter",
+ function() {
+ return u(7024);
+ }
+ ]);
+ },
+ 1163: function(n, t, u) {
+ n.exports = u(2441);
+ },
+ 4453: function() {}
+ },
+ function(n) {
+ n.O(0, [774, 597], function() {
+ return (t = 6744), n((n.s = t));
+ var t;
+ });
+ var t = n.O();
+ _N_E = t;
+ }
+]);
Diff for withRouter-6..e15290e02.js
deleted
Diff for 677f882d2ed8..2520de6c6.js
Diff too large to display
Diff for 778-5cc798ac..cf3bb5c25.js
Diff too large to display
Diff for framework.HASH.js
Diff too large to display
Diff for main-HASH.js
Diff too large to display
Diff for polyfills-HASH.js
failed to diff
Diff for webpack-HASH.js
@@ -1,90 +1,114 @@
-!(function(e) {
- function r(r) {
- for (
- var n, l, f = r[0], i = r[1], a = r[2], c = 0, s = [];
- c < f.length;
- c++
- )
- (l = f[c]),
- Object.prototype.hasOwnProperty.call(o, l) && o[l] && s.push(o[l][0]),
- (o[l] = 0);
- for (n in i) Object.prototype.hasOwnProperty.call(i, n) && (e[n] = i[n]);
- for (p && p(r); s.length; ) s.shift()();
- return u.push.apply(u, a || []), t();
- }
- function t() {
- for (var e, r = 0; r < u.length; r++) {
- for (var t = u[r], n = !0, f = 1; f < t.length; f++) {
- var i = t[f];
- 0 !== o[i] && (n = !1);
- }
- n && (u.splice(r--, 1), (e = l((l.s = t[0]))));
- }
- return e;
- }
- var n = {},
- o = { 0: 0 },
- u = [];
- function l(r) {
- if (n[r]) return n[r].exports;
- var t = (n[r] = { i: r, l: !1, exports: {} }),
- o = !0;
+!(function() {
+ "use strict";
+ var r = {},
+ e = {};
+ function t(n) {
+ var o = e[n];
+ if (void 0 !== o) return o.exports;
+ var i = (e[n] = { exports: {} }),
+ u = !0;
try {
- e[r].call(t.exports, t, t.exports, l), (o = !1);
+ r[n](i, i.exports, t), (u = !1);
} finally {
- o && delete n[r];
+ u && delete e[n];
}
- return (t.l = !0), t.exports;
+ return i.exports;
}
- (l.m = e),
- (l.c = n),
- (l.d = function(e, r, t) {
- l.o(e, r) || Object.defineProperty(e, r, { enumerable: !0, get: t });
- }),
- (l.r = function(e) {
- "undefined" !== typeof Symbol &&
- Symbol.toStringTag &&
- Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }),
- Object.defineProperty(e, "__esModule", { value: !0 });
- }),
- (l.t = function(e, r) {
- if ((1 & r && (e = l(e)), 8 & r)) return e;
- if (4 & r && "object" === typeof e && e && e.__esModule) return e;
- var t = Object.create(null);
- if (
- (l.r(t),
- Object.defineProperty(t, "default", { enumerable: !0, value: e }),
- 2 & r && "string" != typeof e)
- )
- for (var n in e)
- l.d(
- t,
- n,
- function(r) {
- return e[r];
- }.bind(null, n)
- );
- return t;
- }),
- (l.n = function(e) {
- var r =
- e && e.__esModule
+ (t.m = r),
+ (function() {
+ var r = [];
+ t.O = function(e, n, o, i) {
+ if (!n) {
+ var u = 1 / 0;
+ for (a = 0; a < r.length; a++) {
+ (n = r[a][0]), (o = r[a][1]), (i = r[a][2]);
+ for (var c = !0, f = 0; f < n.length; f++)
+ (!1 & i || u >= i) &&
+ Object.keys(t.O).every(function(r) {
+ return t.O[r](n[f]);
+ })
+ ? n.splice(f--, 1)
+ : ((c = !1), i < u && (u = i));
+ c && (r.splice(a--, 1), (e = o()));
+ }
+ return e;
+ }
+ i = i || 0;
+ for (var a = r.length; a > 0 && r[a - 1][2] > i; a--) r[a] = r[a - 1];
+ r[a] = [n, o, i];
+ };
+ })(),
+ (t.n = function(r) {
+ var e =
+ r && r.__esModule
? function() {
- return e.default;
+ return r.default;
}
: function() {
- return e;
+ return r;
};
- return l.d(r, "a", r), r;
+ return t.d(e, { a: e }), e;
+ }),
+ (t.d = function(r, e) {
+ for (var n in e)
+ t.o(e, n) &&
+ !t.o(r, n) &&
+ Object.defineProperty(r, n, { enumerable: !0, get: e[n] });
}),
- (l.o = function(e, r) {
- return Object.prototype.hasOwnProperty.call(e, r);
+ (t.g = (function() {
+ if ("object" === typeof globalThis) return globalThis;
+ try {
+ return this || new Function("return this")();
+ } catch (r) {
+ if ("object" === typeof window) return window;
+ }
+ })()),
+ (t.o = function(r, e) {
+ return Object.prototype.hasOwnProperty.call(r, e);
}),
- (l.p = "");
- var f = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []),
- i = f.push.bind(f);
- (f.push = r), (f = f.slice());
- for (var a = 0; a < f.length; a++) r(f[a]);
- var p = i;
- t();
-})([]);
+ (t.r = function(r) {
+ "undefined" !== typeof Symbol &&
+ Symbol.toStringTag &&
+ Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }),
+ Object.defineProperty(r, "__esModule", { value: !0 });
+ }),
+ (function() {
+ var r;
+ t.g.importScripts && (r = t.g.location + "");
+ var e = t.g.document;
+ if (!r && e && (e.currentScript && (r = e.currentScript.src), !r)) {
+ var n = e.getElementsByTagName("script");
+ n.length && (r = n[n.length - 1].src);
+ }
+ if (!r)
+ throw new Error(
+ "Automatic publicPath is not supported in this browser"
+ );
+ (r = r
+ .replace(/#.*$/, "")
+ .replace(/\?.*$/, "")
+ .replace(/\/[^\/]+$/, "/")),
+ (t.p = r + "../../");
Post job cleanup.
[command]/usr/bin/git version
git version 2.31.1
[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: 26e72e42f76e05ceb84e2f53806244fb2e67b705
This comment has been minimized.
This comment has been minimized.
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
buildDuration | 10.6s | 12.8s | |
nodeModulesSize | 46.7 MB | 46.7 MB | -325 B |
Page Load Tests Overall decrease ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.25 | 2.235 | -0.02 |
/ avg req/sec | 1111.23 | 1118.63 | +7.4 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.131 | 1.155 | |
/error-in-render avg req/sec | 2210.1 | 2163.86 |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
677f882d2ed8..e6c6.js gzip | 13.4 kB | 13.3 kB | -67 B |
framework.HASH.js gzip | 39 kB | 39.3 kB | |
main-HASH.js gzip | 7.12 kB | 151 B | -6.97 kB |
webpack-HASH.js gzip | 751 B | 993 B | |
778-5cc798ac..5c25.js gzip | N/A | 7.05 kB | N/A |
Overall change | 60.2 kB | 60.8 kB |
Legacy Client Bundles (polyfills) Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.3 kB | 31.1 kB | -156 B |
Overall change | 31.3 kB | 31.1 kB | -156 B |
Client Pages Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_app-8fbabfc..6440.js gzip | 1.28 kB | 1.3 kB | |
_error-d07ca..ef4d.js gzip | 3.71 kB | 3.68 kB | -30 B |
amp-9716187d..0aa8.js gzip | 536 B | N/A | N/A |
hooks-107e90..74c7.js gzip | 888 B | 924 B | |
index-ac435c..ecf2.js gzip | 227 B | N/A | N/A |
link-c31053f..c329.js gzip | 1.64 kB | 1.66 kB | |
routerDirect..dc9d.js gzip | 303 B | N/A | N/A |
withRouter-6..0e02.js gzip | 302 B | N/A | N/A |
amp-89a5460c..567f.js gzip | N/A | 558 B | N/A |
index-fec729..83b2.js gzip | N/A | 243 B | N/A |
routerDirect..5759.js gzip | N/A | 336 B | N/A |
withRouter-1..98bf.js gzip | N/A | 334 B | N/A |
Overall change | 8.89 kB | 9.03 kB |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_buildManifest.js gzip | 371 B | 349 B | -22 B |
Overall change | 371 B | 349 B | -22 B |
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
index.html gzip | 613 B | 610 B | -3 B |
link.html gzip | 620 B | 617 B | -3 B |
withRouter.html gzip | 608 B | 605 B | -3 B |
Overall change | 1.84 kB | 1.83 kB | -9 B |
Serverless Mode (Increase detected ⚠️ )
General Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
buildDuration | 12.3s | 14.7s | |
nodeModulesSize | 46.7 MB | 46.7 MB | -325 B |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
677f882d2ed8..e6c6.js gzip | 13.4 kB | N/A | N/A |
framework.HASH.js gzip | 39 kB | 39.3 kB | |
main-HASH.js gzip | 7.12 kB | 151 B | -6.97 kB |
webpack-HASH.js gzip | 751 B | 993 B | |
597-3f457946..288d.js gzip | N/A | 13.3 kB | N/A |
778-5cc798ac..5c25.js gzip | N/A | 7.05 kB | N/A |
Overall change | 60.2 kB | 60.8 kB |
Legacy Client Bundles (polyfills) Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.3 kB | 31.1 kB | -156 B |
Overall change | 31.3 kB | 31.1 kB | -156 B |
Client Pages Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_app-8fbabfc..6440.js gzip | 1.28 kB | N/A | N/A |
_error-d07ca..ef4d.js gzip | 3.71 kB | N/A | N/A |
amp-9716187d..0aa8.js gzip | 536 B | N/A | N/A |
hooks-107e90..74c7.js gzip | 888 B | N/A | N/A |
index-ac435c..ecf2.js gzip | 227 B | N/A | N/A |
link-c31053f..c329.js gzip | 1.64 kB | N/A | N/A |
routerDirect..dc9d.js gzip | 303 B | N/A | N/A |
withRouter-6..0e02.js gzip | 302 B | N/A | N/A |
_app-5cc66b2..6f03.js gzip | N/A | 1.3 kB | N/A |
_error-55112..054d.js gzip | N/A | 3.68 kB | N/A |
amp-89a5460c..567f.js gzip | N/A | 558 B | N/A |
hooks-8c2e74..be37.js gzip | N/A | 924 B | N/A |
index-fec729..83b2.js gzip | N/A | 243 B | N/A |
link-dd34d9b..0ade.js gzip | N/A | 1.66 kB | N/A |
routerDirect..5759.js gzip | N/A | 336 B | N/A |
withRouter-1..98bf.js gzip | N/A | 334 B | N/A |
Overall change | 8.89 kB | 9.03 kB |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_buildManifest.js gzip | 371 B | 349 B | -22 B |
Overall change | 371 B | 349 B | -22 B |
Serverless bundles Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_error.js | 1.37 MB | 1.35 MB | -19.1 kB |
404.html | 2.67 kB | 2.76 kB | |
500.html | 2.65 kB | 2.75 kB | |
amp.amp.html | 10.7 kB | 10.7 kB | ✓ |
amp.html | 1.86 kB | 1.96 kB | |
hooks.html | 1.92 kB | 2.01 kB | |
index.js | 1.37 MB | 1.35 MB | -19.1 kB |
link.js | 1.42 MB | 1.4 MB | -18.8 kB |
routerDirect.js | 1.42 MB | 1.4 MB | -18.8 kB |
withRouter.js | 1.42 MB | 1.4 MB | -18.8 kB |
Overall change | 7.01 MB | 6.91 MB | -94.1 kB |
Webpack 5 Mode (Increase detected ⚠️ )
General Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
buildDuration | 12.2s | 11.6s | -565ms |
nodeModulesSize | 46.7 MB | 46.7 MB | -325 B |
Page Load Tests Overall increase ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.195 | 2.068 | -0.13 |
/ avg req/sec | 1138.8 | 1209.07 | +70.27 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.116 | 1.129 | |
/error-in-render avg req/sec | 2239.64 | 2213.84 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
597-3f457946..288d.js gzip | 13.3 kB | 13.3 kB | ✓ |
778-5cc798ac..5c25.js gzip | 7.05 kB | 7.05 kB | ✓ |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 151 B | 151 B | ✓ |
webpack-HASH.js gzip | 993 B | 993 B | ✓ |
Overall change | 60.8 kB | 60.8 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.1 kB | 31.1 kB | ✓ |
Overall change | 31.1 kB | 31.1 kB | ✓ |
Client Pages
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_app-5cc66b2..6f03.js gzip | 1.3 kB | 1.3 kB | ✓ |
_error-55112..054d.js gzip | 3.68 kB | 3.68 kB | ✓ |
amp-89a5460c..567f.js gzip | 558 B | 558 B | ✓ |
hooks-8c2e74..be37.js gzip | 924 B | 924 B | ✓ |
index-fec729..83b2.js gzip | 243 B | 243 B | ✓ |
link-dd34d9b..0ade.js gzip | 1.66 kB | 1.66 kB | ✓ |
routerDirect..5759.js gzip | 336 B | 336 B | ✓ |
withRouter-1..98bf.js gzip | 334 B | 334 B | ✓ |
Overall change | 9.03 kB | 9.03 kB | ✓ |
Client Build Manifests
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_buildManifest.js gzip | 349 B | 349 B | ✓ |
Overall change | 349 B | 349 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
index.html gzip | 610 B | 610 B | ✓ |
link.html gzip | 617 B | 617 B | ✓ |
withRouter.html gzip | 605 B | 605 B | ✓ |
Overall change | 1.83 kB | 1.83 kB | ✓ |
Diffs
Diff for _buildManifest.js
@@ -1,29 +1,21 @@
-self.__BUILD_MANIFEST = {
+(self.__BUILD_MANIFEST = {
__rewrites: { beforeFiles: [], afterFiles: [], fallback: [] },
- "/": ["static\u002Fchunks\u002Fpages\u002Findex-ac435c89e537f4e6ecf2.js"],
- "/_error": [
- "static\u002Fchunks\u002Fpages\u002F_error-d07ca8afdf6c45b9ef4d.js"
- ],
- "/amp": ["static\u002Fchunks\u002Fpages\u002Famp-9716187d43cb5ac80aa8.js"],
- "/hooks": [
- "static\u002Fchunks\u002Fpages\u002Fhooks-107e903cc2136d5974c7.js"
- ],
- "/link": ["static\u002Fchunks\u002Fpages\u002Flink-c31053f6d096d7dcc329.js"],
- "/routerDirect": [
- "static\u002Fchunks\u002Fpages\u002FrouterDirect-68414267e80493f2dc9d.js"
- ],
- "/withRouter": [
- "static\u002Fchunks\u002Fpages\u002FwithRouter-6e72b47076be15290e02.js"
- ],
+ "/": ["static/chunks/pages/index-fec729acd14e4a5583b2.js"],
+ "/_error": ["static/chunks/pages/_error-55112c9d838f988b054d.js"],
+ "/amp": ["static/chunks/pages/amp-89a5460cada4d99b567f.js"],
+ "/hooks": ["static/chunks/pages/hooks-8c2e74bb2b6bffaebe37.js"],
+ "/link": ["static/chunks/pages/link-dd34d9b14dfb3c040ade.js"],
+ "/routerDirect": ["static/chunks/pages/routerDirect-86b413d0659e50665759.js"],
+ "/withRouter": ["static/chunks/pages/withRouter-186b16dd09ed427898bf.js"],
sortedPages: [
- "\u002F",
- "\u002F_app",
- "\u002F_error",
- "\u002Famp",
- "\u002Fhooks",
- "\u002Flink",
- "\u002FrouterDirect",
- "\u002FwithRouter"
+ "/",
+ "/_app",
+ "/_error",
+ "/amp",
+ "/hooks",
+ "/link",
+ "/routerDirect",
+ "/withRouter"
]
-};
-self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB();
+}),
+ self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB();
Diff for _app-8fbabfc..bc6e06440.js
@@ -1,11 +1,30 @@
-_N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
- [4],
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [888, 179],
{
- 0: function(t, e, n) {
- n("e9+W"), (t.exports = n("nOHt"));
+ 1506: function(t) {
+ t.exports = function(t) {
+ if (void 0 === t)
+ throw new ReferenceError(
+ "this hasn't been initialised - super() hasn't been called"
+ );
+ return t;
+ };
+ },
+ 9754: function(t) {
+ function e(n) {
+ return (
+ (t.exports = e = Object.setPrototypeOf
+ ? Object.getPrototypeOf
+ : function(t) {
+ return t.__proto__ || Object.getPrototypeOf(t);
+ }),
+ e(n)
+ );
+ }
+ t.exports = e;
},
- "7W2i": function(t, e, n) {
- var r = n("SksO");
+ 2205: function(t, e, n) {
+ var r = n(9489);
t.exports = function(t, e) {
if ("function" !== typeof e && null !== e)
throw new TypeError(
@@ -17,16 +36,23 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
e && r(t, e);
};
},
- B5Ud: function(t, e, n) {
+ 8585: function(t, e, n) {
+ var r = n(8),
+ o = n(1506);
+ t.exports = function(t, e) {
+ return !e || ("object" !== r(e) && "function" !== typeof e) ? o(t) : e;
+ };
+ },
+ 6381: function(t, e, n) {
"use strict";
- var r = n("o0o1"),
- o = n("lwsE"),
- u = n("W8MJ"),
- i = n("7W2i"),
- c = n("a1gu"),
- a = n("Nsbk"),
- p = n("yXPU");
- function s(t) {
+ var r = n(7757),
+ o = n(4575),
+ u = n(3913),
+ c = n(2205),
+ i = n(8585),
+ a = n(9754),
+ p = n(8926);
+ function f(t) {
var e = (function() {
if ("undefined" === typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
@@ -49,24 +75,24 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var o = a(this).constructor;
n = Reflect.construct(r, arguments, o);
} else n = r.apply(this, arguments);
- return c(this, n);
+ return i(this, n);
};
}
- var f = n("TqRt");
+ var s = n(5318);
(e.__esModule = !0),
(e.Container = function(t) {
0;
return t.children;
}),
- (e.createUrl = v),
+ (e.createUrl = b),
(e.default = void 0);
- var l = f(n("q1tI")),
- h = n("g/15");
+ var l = s(n(7294)),
+ h = n(3937);
function _(t) {
- return d.apply(this, arguments);
+ return v.apply(this, arguments);
}
- function d() {
- return (d = p(
+ function v() {
+ return (v = p(
r.mark(function t(e) {
var n, o, u;
return r.wrap(function(t) {
@@ -92,8 +118,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
(e.AppInitialProps = h.AppInitialProps),
(e.NextWebVitalsMetric = h.NextWebVitalsMetric);
var y = (function(t) {
- i(n, t);
- var e = s(n);
+ c(n, t);
+ var e = f(n);
function n() {
return o(this, n), e.apply(this, arguments);
}
@@ -116,7 +142,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
u = t.__N_SSP;
return l.default.createElement(
n,
- Object.assign({}, r, o || u ? {} : { url: v(e) })
+ Object.assign({}, r, o || u ? {} : { url: b(e) })
);
}
}
@@ -124,7 +150,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
n
);
})(l.default.Component);
- function v(t) {
+ function b(t) {
var e = t.pathname,
n = t.asPath,
r = t.query;
@@ -161,43 +187,24 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}
(e.default = y), (y.origGetInitialProps = _), (y.getInitialProps = _);
},
- Nsbk: function(t, e) {
- function n(e) {
- return (
- (t.exports = n = Object.setPrototypeOf
- ? Object.getPrototypeOf
- : function(t) {
- return t.__proto__ || Object.getPrototypeOf(t);
- }),
- n(e)
- );
- }
- t.exports = n;
- },
- PJYZ: function(t, e) {
- t.exports = function(t) {
- if (void 0 === t)
- throw new ReferenceError(
- "this hasn't been initialised - super() hasn't been called"
- );
- return t;
- };
- },
- a1gu: function(t, e, n) {
- var r = n("cDf5"),
- o = n("PJYZ");
- t.exports = function(t, e) {
- return !e || ("object" !== r(e) && "function" !== typeof e) ? o(t) : e;
- };
- },
- "e9+W": function(t, e, n) {
+ 915: function(t, e, n) {
(window.__NEXT_P = window.__NEXT_P || []).push([
"/_app",
function() {
- return n("B5Ud");
+ return n(6381);
}
]);
- }
+ },
+ 4453: function() {}
},
- [[0, 0, 1, 2]]
+ function(t) {
+ var e = function(e) {
+ return t((t.s = e));
+ };
+ t.O(0, [774, 597], function() {
+ return e(915), e(2441);
+ });
+ var n = t.O();
+ _N_E = n;
+ }
]);
Diff for _error-d07ca..c45b9ef4d.js
@@ -1,7 +1,190 @@
-_N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
- [5],
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [820],
{
- "/0+H": function(e, t, n) {
+ 7228: function(e) {
+ e.exports = function(e, t) {
+ (null == t || t > e.length) && (t = e.length);
+ for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
+ return r;
+ };
+ },
+ 3646: function(e, t, n) {
+ var r = n(7228);
+ e.exports = function(e) {
+ if (Array.isArray(e)) return r(e);
+ };
+ },
+ 1506: function(e) {
+ e.exports = function(e) {
+ if (void 0 === e)
+ throw new ReferenceError(
+ "this hasn't been initialised - super() hasn't been called"
+ );
+ return e;
+ };
+ },
+ 4575: function(e) {
+ e.exports = function(e, t) {
+ if (!(e instanceof t))
+ throw new TypeError("Cannot call a class as a function");
+ };
+ },
+ 3913: function(e) {
+ function t(e, t) {
+ for (var n = 0; n < t.length; n++) {
+ var r = t[n];
+ (r.enumerable = r.enumerable || !1),
+ (r.configurable = !0),
+ "value" in r && (r.writable = !0),
+ Object.defineProperty(e, r.key, r);
+ }
+ }
+ e.exports = function(e, n, r) {
+ return n && t(e.prototype, n), r && t(e, r), e;
+ };
+ },
+ 9713: function(e) {
+ e.exports = function(e, t, n) {
+ return (
+ t in e
+ ? Object.defineProperty(e, t, {
+ value: n,
+ enumerable: !0,
+ configurable: !0,
+ writable: !0
+ })
+ : (e[t] = n),
+ e
+ );
+ };
+ },
+ 9754: function(e) {
+ function t(n) {
+ return (
+ (e.exports = t = Object.setPrototypeOf
+ ? Object.getPrototypeOf
+ : function(e) {
+ return e.__proto__ || Object.getPrototypeOf(e);
+ }),
+ t(n)
+ );
+ }
+ e.exports = t;
+ },
+ 2205: function(e, t, n) {
+ var r = n(9489);
+ e.exports = function(e, t) {
+ if ("function" !== typeof t && null !== t)
+ throw new TypeError(
+ "Super expression must either be null or a function"
+ );
+ (e.prototype = Object.create(t && t.prototype, {
+ constructor: { value: e, writable: !0, configurable: !0 }
+ })),
+ t && r(e, t);
+ };
+ },
+ 5318: function(e) {
+ e.exports = function(e) {
+ return e && e.__esModule ? e : { default: e };
+ };
+ },
+ 6860: function(e) {
+ e.exports = function(e) {
+ if ("undefined" !== typeof Symbol && Symbol.iterator in Object(e))
+ return Array.from(e);
+ };
+ },
+ 8206: function(e) {
+ e.exports = function() {
+ throw new TypeError(
+ "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
+ );
+ };
+ },
+ 8585: function(e, t, n) {
+ var r = n(8),
+ o = n(1506);
+ e.exports = function(e, t) {
+ return !t || ("object" !== r(t) && "function" !== typeof t) ? o(e) : t;
+ };
+ },
+ 9489: function(e) {
+ function t(n, r) {
+ return (
+ (e.exports = t =
+ Object.setPrototypeOf ||
+ function(e, t) {
+ return (e.__proto__ = t), e;
+ }),
+ t(n, r)
+ );
+ }
+ e.exports = t;
+ },
+ 319: function(e, t, n) {
+ var r = n(3646),
+ o = n(6860),
+ a = n(379),
+ i = n(8206);
+ e.exports = function(e) {
+ return r(e) || o(e) || a(e) || i();
+ };
+ },
+ 8: function(e) {
+ function t(n) {
+ return (
+ "function" === typeof Symbol && "symbol" === typeof Symbol.iterator
+ ? (e.exports = t = function(e) {
+ return typeof e;
+ })
+ : (e.exports = t = function(e) {
+ return e &&
+ "function" === typeof Symbol &&
+ e.constructor === Symbol &&
+ e !== Symbol.prototype
+ ? "symbol"
+ : typeof e;
+ }),
+ t(n)
+ );
+ }
+ e.exports = t;
+ },
+ 379: function(e, t, n) {
+ var r = n(7228);
+ e.exports = function(e, t) {
+ if (e) {
+ if ("string" === typeof e) return r(e, t);
+ var n = Object.prototype.toString.call(e).slice(8, -1);
+ return (
+ "Object" === n && e.constructor && (n = e.constructor.name),
+ "Map" === n || "Set" === n
+ ? Array.from(e)
+ : "Arguments" === n ||
+ /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
+ ? r(e, t)
+ : void 0
+ );
+ }
+ };
+ },
+ 6086: function(e) {
+ "use strict";
+ var t = Object.assign.bind(Object);
+ (e.exports = t), (e.exports.default = e.exports);
+ },
+ 3367: function(e, t, n) {
+ "use strict";
+ var r;
+ (t.__esModule = !0), (t.AmpStateContext = void 0);
+ var o = ((r = n(7294)) && r.__esModule
+ ? r
+ : { default: r }
+ ).default.createContext({});
+ t.AmpStateContext = o;
+ },
+ 7845: function(e, t, n) {
"use strict";
(t.__esModule = !0),
(t.isInAmpMode = i),
@@ -9,8 +192,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
return i(o.default.useContext(a.AmpStateContext));
});
var r,
- o = (r = n("q1tI")) && r.__esModule ? r : { default: r },
- a = n("lwAK");
+ o = (r = n(7294)) && r.__esModule ? r : { default: r },
+ a = n(3367);
function i() {
var e =
arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
@@ -23,169 +206,19 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
return n || (o && i);
}
},
- "/a9y": function(e, t, n) {
+ 4287: function(e, t, n) {
"use strict";
- var r = n("lwsE"),
- o = n("W8MJ"),
- a = n("7W2i"),
- i = n("a1gu"),
- u = n("Nsbk");
- function c(e) {
- var t = (function() {
- if ("undefined" === typeof Reflect || !Reflect.construct) return !1;
- if (Reflect.construct.sham) return !1;
- if ("function" === typeof Proxy) return !0;
- try {
- return (
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- ),
- !0
- );
- } catch (e) {
- return !1;
- }
- })();
- return function() {
- var n,
- r = u(e);
- if (t) {
- var o = u(this).constructor;
- n = Reflect.construct(r, arguments, o);
- } else n = r.apply(this, arguments);
- return i(this, n);
- };
- }
- var s = n("TqRt");
- (t.__esModule = !0), (t.default = void 0);
- var f = s(n("q1tI")),
- l = s(n("8Kt/")),
- p = {
- 400: "Bad Request",
- 404: "This page could not be found",
- 405: "Method Not Allowed",
- 500: "Internal Server Error"
- };
- function d(e) {
- var t = e.res,
- n = e.err;
- return {
- statusCode: t && t.statusCode ? t.statusCode : n ? n.statusCode : 404
- };
- }
- var y = (function(e) {
- a(n, e);
- var t = c(n);
- function n() {
- return r(this, n), t.apply(this, arguments);
- }
- return (
- o(n, [
- {
- key: "render",
- value: function() {
- var e = this.props.statusCode,
- t =
- this.props.title ||
- p[e] ||
- "An unexpected error has occurred";
- return f.default.createElement(
- "div",
- { style: h.error },
- f.default.createElement(
- l.default,
- null,
- f.default.createElement("title", null, e, ": ", t)
- ),
- f.default.createElement(
- "div",
- null,
- f.default.createElement("style", {
- dangerouslySetInnerHTML: { __html: "body { margin: 0 }" }
- }),
- e
- ? f.default.createElement("h1", { style: h.h1 }, e)
- : null,
- f.default.createElement(
- "div",
- { style: h.desc },
- f.default.createElement("h2", { style: h.h2 }, t, ".")
- )
- )
- );
- }
- }
- ]),
- n
- );
- })(f.default.Component);
- (t.default = y),
- (y.displayName = "ErrorPage"),
- (y.getInitialProps = d),
- (y.origGetInitialProps = d);
- var h = {
- error: {
- color: "#000",
- background: "#fff",
- fontFamily:
- '-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif',
- height: "100vh",
- textAlign: "center",
- display: "flex",
- flexDirection: "column",
- alignItems: "center",
- justifyContent: "center"
- },
- desc: {
- display: "inline-block",
- textAlign: "left",
- lineHeight: "49px",
- height: "49px",
- verticalAlign: "middle"
- },
- h1: {
- display: "inline-block",
- borderRight: "1px solid rgba(0, 0, 0,.3)",
- margin: 0,
- marginRight: "20px",
- padding: "10px 23px 10px 0",
- fontSize: "24px",
- fontWeight: 500,
- verticalAlign: "top"
- },
- h2: {
- fontSize: "14px",
- fontWeight: "normal",
- lineHeight: "inherit",
- margin: 0,
- padding: 0
- }
- };
- },
- "04ac": function(e, t, n) {
- (window.__NEXT_P = window.__NEXT_P || []).push([
- "/_error",
- function() {
- return n("/a9y");
- }
- ]);
- },
- "7W2i": function(e, t, n) {
- var r = n("SksO");
- e.exports = function(e, t) {
- if ("function" !== typeof t && null !== t)
- throw new TypeError(
- "Super expression must either be null or a function"
- );
- (e.prototype = Object.create(t && t.prototype, {
- constructor: { value: e, writable: !0, configurable: !0 }
- })),
- t && r(e, t);
- };
+ var r;
+ (t.__esModule = !0), (t.HeadManagerContext = void 0);
+ var o = ((r = n(7294)) && r.__esModule
+ ? r
+ : { default: r }
+ ).default.createContext({});
+ t.HeadManagerContext = o;
},
- "8Kt/": function(e, t, n) {
+ 7947: function(e, t, n) {
"use strict";
- var r = n("lSNA");
+ var r = n(9713);
function o(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -217,11 +250,11 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}
(n.default = e), t && t.set(e, n);
return n;
- })(n("q1tI")),
- u = (a = n("Xuae")) && a.__esModule ? a : { default: a },
- c = n("lwAK"),
- s = n("FYa8"),
- f = n("/0+H");
+ })(n(7294)),
+ u = (a = n(617)) && a.__esModule ? a : { default: a },
+ c = n(3367),
+ f = n(4287),
+ s = n(7845);
function l() {
if ("function" !== typeof WeakMap) return null;
var e = new WeakMap();
@@ -263,8 +296,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
)
: e.concat(t);
}
- var y = ["name", "httpEquiv", "charSet", "itemProp"];
- function h(e, t) {
+ var h = ["name", "httpEquiv", "charSet", "itemProp"];
+ function y(e, t) {
return e
.reduce(function(e, t) {
var n = i.default.Children.toArray(t.props.children);
@@ -297,15 +330,15 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
t.has(o.type) ? (a = !1) : t.add(o.type);
break;
case "meta":
- for (var c = 0, s = y.length; c < s; c++) {
- var f = y[c];
- if (o.props.hasOwnProperty(f))
- if ("charSet" === f) n.has(f) ? (a = !1) : n.add(f);
+ for (var c = 0, f = h.length; c < f; c++) {
+ var s = h[c];
+ if (o.props.hasOwnProperty(s))
+ if ("charSet" === s) n.has(s) ? (a = !1) : n.add(s);
else {
- var l = o.props[f],
- p = r[f] || new Set();
- ("name" === f && i) || !p.has(l)
- ? (p.add(l), (r[f] = p))
+ var l = o.props[s],
+ p = r[s] || new Set();
+ ("name" === s && i) || !p.has(l)
+ ? (p.add(l), (r[s] = p))
: (a = !1);
}
}
@@ -359,13 +392,13 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
function v(e) {
var t = e.children,
n = (0, i.useContext)(c.AmpStateContext),
- r = (0, i.useContext)(s.HeadManagerContext);
+ r = (0, i.useContext)(f.HeadManagerContext);
return i.default.createElement(
u.default,
{
- reduceComponentsToState: h,
+ reduceComponentsToState: y,
headManager: r,
- inAmpMode: (0, f.isInAmpMode)(n)
+ inAmpMode: (0, s.isInAmpMode)(n)
},
t
);
@@ -374,119 +407,15 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var m = v;
t.default = m;
},
- Bnag: function(e, t) {
- e.exports = function() {
- throw new TypeError(
- "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
- );
- };
- },
- EbDI: function(e, t) {
- e.exports = function(e) {
- if ("undefined" !== typeof Symbol && Symbol.iterator in Object(e))
- return Array.from(e);
- };
- },
- FYa8: function(e, t, n) {
- "use strict";
- var r;
- (t.__esModule = !0), (t.HeadManagerContext = void 0);
- var o = ((r = n("q1tI")) && r.__esModule
- ? r
- : { default: r }
- ).default.createContext({});
- t.HeadManagerContext = o;
- },
- Ijbi: function(e, t, n) {
- var r = n("WkPL");
- e.exports = function(e) {
- if (Array.isArray(e)) return r(e);
- };
- },
- Nsbk: function(e, t) {
- function n(t) {
- return (
- (e.exports = n = Object.setPrototypeOf
- ? Object.getPrototypeOf
- : function(e) {
- return e.__proto__ || Object.getPrototypeOf(e);
- }),
- n(t)
- );
- }
- e.exports = n;
- },
- PJYZ: function(e, t) {
- e.exports = function(e) {
- if (void 0 === e)
- throw new ReferenceError(
- "this hasn't been initialised - super() hasn't been called"
- );
- return e;
- };
- },
- Qetd: function(e, t, n) {
- "use strict";
- var r = Object.assign.bind(Object);
- (e.exports = r), (e.exports.default = e.exports);
- },
- RIqP: function(e, t, n) {
- var r = n("Ijbi"),
- o = n("EbDI"),
- a = n("ZhPi"),
- i = n("Bnag");
- e.exports = function(e) {
- return r(e) || o(e) || a(e) || i();
- };
- },
- SksO: function(e, t) {
- function n(t, r) {
- return (
- (e.exports = n =
- Object.setPrototypeOf ||
- function(e, t) {
- return (e.__proto__ = t), e;
- }),
- n(t, r)
- );
- }
- e.exports = n;
- },
- TqRt: function(e, t) {
- e.exports = function(e) {
- return e && e.__esModule ? e : { default: e };
- };
- },
- W8MJ: function(e, t) {
- function n(e, t) {
- for (var n = 0; n < t.length; n++) {
- var r = t[n];
- (r.enumerable = r.enumerable || !1),
- (r.configurable = !0),
- "value" in r && (r.writable = !0),
- Object.defineProperty(e, r.key, r);
- }
- }
- e.exports = function(e, t, r) {
- return t && n(e.prototype, t), r && n(e, r), e;
- };
- },
- WkPL: function(e, t) {
- e.exports = function(e, t) {
- (null == t || t > e.length) && (t = e.length);
- for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
- return r;
- };
- },
- Xuae: function(e, t, n) {
+ 617: function(e, t, n) {
"use strict";
- var r = n("RIqP"),
- o = n("lwsE"),
- a = n("W8MJ"),
- i = (n("PJYZ"), n("7W2i")),
- u = n("a1gu"),
- c = n("Nsbk");
- function s(e) {
+ var r = n(319),
+ o = n(4575),
+ a = n(3913),
+ i = (n(1506), n(2205)),
+ u = n(8585),
+ c = n(9754);
+ function f(e) {
var t = (function() {
if ("undefined" === typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
@@ -513,10 +442,10 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
};
}
(t.__esModule = !0), (t.default = void 0);
- var f = n("q1tI"),
+ var s = n(7294),
l = (function(e) {
i(n, e);
- var t = s(n);
+ var t = f(n);
function n(e) {
var a;
return (
@@ -569,85 +498,163 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
]),
n
);
- })(f.Component);
+ })(s.Component);
t.default = l;
},
- ZhPi: function(e, t, n) {
- var r = n("WkPL");
- e.exports = function(e, t) {
- if (e) {
- if ("string" === typeof e) return r(e, t);
- var n = Object.prototype.toString.call(e).slice(8, -1);
- return (
- "Object" === n && e.constructor && (n = e.constructor.name),
- "Map" === n || "Set" === n
- ? Array.from(e)
- : "Arguments" === n ||
- /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
- ? r(e, t)
- : void 0
- );
- }
- };
- },
- a1gu: function(e, t, n) {
- var r = n("cDf5"),
- o = n("PJYZ");
- e.exports = function(e, t) {
- return !t || ("object" !== r(t) && "function" !== typeof t) ? o(e) : t;
- };
- },
- cDf5: function(e, t) {
- function n(t) {
- return (
- "function" === typeof Symbol && "symbol" === typeof Symbol.iterator
- ? (e.exports = n = function(e) {
- return typeof e;
- })
- : (e.exports = n = function(e) {
- return e &&
- "function" === typeof Symbol &&
- e.constructor === Symbol &&
- e !== Symbol.prototype
- ? "symbol"
- : typeof e;
- }),
- n(t)
- );
+ 900: function(e, t, n) {
+ "use strict";
+ var r = n(4575),
+ o = n(3913),
+ a = n(2205),
+ i = n(8585),
+ u = n(9754);
+ function c(e) {
+ var t = (function() {
+ if ("undefined" === typeof Reflect || !Reflect.construct) return !1;
+ if (Reflect.construct.sham) return !1;
+ if ("function" === typeof Proxy) return !0;
+ try {
+ return (
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ ),
+ !0
+ );
+ } catch (e) {
+ return !1;
+ }
+ })();
+ return function() {
+ var n,
+ r = u(e);
+ if (t) {
+ var o = u(this).constructor;
+ n = Reflect.construct(r, arguments, o);
+ } else n = r.apply(this, arguments);
+ return i(this, n);
+ };
}
- e.exports = n;
- },
- lSNA: function(e, t) {
- e.exports = function(e, t, n) {
+ var f = n(5318);
+ (t.__esModule = !0), (t.default = void 0);
+ var s = f(n(7294)),
+ l = f(n(7947)),
+ p = {
+ 400: "Bad Request",
+ 404: "This page could not be found",
+ 405: "Method Not Allowed",
+ 500: "Internal Server Error"
+ };
+ function d(e) {
+ var t = e.res,
+ n = e.err;
+ return {
+ statusCode: t && t.statusCode ? t.statusCode : n ? n.statusCode : 404
+ };
+ }
+ var h = (function(e) {
+ a(n, e);
+ var t = c(n);
+ function n() {
+ return r(this, n), t.apply(this, arguments);
+ }
return (
- t in e
- ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- })
- : (e[t] = n),
- e
+ o(n, [
+ {
+ key: "render",
+ value: function() {
+ var e = this.props.statusCode,
+ t =
+ this.props.title ||
+ p[e] ||
+ "An unexpected error has occurred";
+ return s.default.createElement(
+ "div",
+ { style: y.error },
+ s.default.createElement(
+ l.default,
+ null,
+ s.default.createElement("title", null, e, ": ", t)
+ ),
+ s.default.createElement(
+ "div",
+ null,
+ s.default.createElement("style", {
+ dangerouslySetInnerHTML: { __html: "body { margin: 0 }" }
+ }),
+ e
+ ? s.default.createElement("h1", { style: y.h1 }, e)
+ : null,
+ s.default.createElement(
+ "div",
+ { style: y.desc },
+ s.default.createElement("h2", { style: y.h2 }, t, ".")
+ )
+ )
+ );
+ }
+ }
+ ]),
+ n
);
+ })(s.default.Component);
+ (t.default = h),
+ (h.displayName = "ErrorPage"),
+ (h.getInitialProps = d),
+ (h.origGetInitialProps = d);
+ var y = {
+ error: {
+ color: "#000",
+ background: "#fff",
+ fontFamily:
+ '-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif',
+ height: "100vh",
+ textAlign: "center",
+ display: "flex",
+ flexDirection: "column",
+ alignItems: "center",
+ justifyContent: "center"
+ },
+ desc: {
+ display: "inline-block",
+ textAlign: "left",
+ lineHeight: "49px",
+ height: "49px",
+ verticalAlign: "middle"
+ },
+ h1: {
+ display: "inline-block",
+ borderRight: "1px solid rgba(0, 0, 0,.3)",
+ margin: 0,
+ marginRight: "20px",
+ padding: "10px 23px 10px 0",
+ fontSize: "24px",
+ fontWeight: 500,
+ verticalAlign: "top"
+ },
+ h2: {
+ fontSize: "14px",
+ fontWeight: "normal",
+ lineHeight: "inherit",
+ margin: 0,
+ padding: 0
+ }
};
},
- lwAK: function(e, t, n) {
- "use strict";
- var r;
- (t.__esModule = !0), (t.AmpStateContext = void 0);
- var o = ((r = n("q1tI")) && r.__esModule
- ? r
- : { default: r }
- ).default.createContext({});
- t.AmpStateContext = o;
- },
- lwsE: function(e, t) {
- e.exports = function(e, t) {
- if (!(e instanceof t))
- throw new TypeError("Cannot call a class as a function");
- };
+ 4977: function(e, t, n) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/_error",
+ function() {
+ return n(900);
+ }
+ ]);
}
},
- [["04ac", 0, 1]]
+ function(e) {
+ e.O(0, [774], function() {
+ return (t = 4977), e((e.s = t));
+ var t;
+ });
+ var t = e.O();
+ _N_E = t;
+ }
]);
Diff for amp-89a5460c..4d99b567f.js
@@ -0,0 +1,78 @@
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [216],
+ {
+ 9135: function(t, e, n) {
+ t.exports = n(7845);
+ },
+ 6086: function(t) {
+ "use strict";
+ var e = Object.assign.bind(Object);
+ (t.exports = e), (t.exports.default = t.exports);
+ },
+ 3367: function(t, e, n) {
+ "use strict";
+ var u;
+ (e.__esModule = !0), (e.AmpStateContext = void 0);
+ var o = ((u = n(7294)) && u.__esModule
+ ? u
+ : { default: u }
+ ).default.createContext({});
+ e.AmpStateContext = o;
+ },
+ 7845: function(t, e, n) {
+ "use strict";
+ (e.__esModule = !0),
+ (e.isInAmpMode = i),
+ (e.useAmp = function() {
+ return i(o.default.useContext(r.AmpStateContext));
+ });
+ var u,
+ o = (u = n(7294)) && u.__esModule ? u : { default: u },
+ r = n(3367);
+ function i() {
+ var t =
+ arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ e = t.ampFirst,
+ n = void 0 !== e && e,
+ u = t.hybrid,
+ o = void 0 !== u && u,
+ r = t.hasQuery,
+ i = void 0 !== r && r;
+ return n || (o && i);
+ }
+ },
+ 6332: function(t, e, n) {
+ "use strict";
+ n.r(e),
+ n.d(e, {
+ config: function() {
+ return o;
+ },
+ default: function() {
+ return r;
+ }
+ });
+ var u = n(9135),
+ o = { amp: "hybrid" };
+ function r(t) {
+ return (0, u.useAmp)() ? "AMP mode" : "normal mode";
+ }
+ },
+ 6071: function(t, e, n) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/amp",
+ function() {
+ return n(6332);
+ }
+ ]);
+ }
+ },
+ function(t) {
+ t.O(0, [774], function() {
+ return (e = 6071), t((t.s = e));
+ var e;
+ });
+ var e = t.O();
+ _N_E = e;
+ }
+]);
Diff for amp-9716187d..b5ac80aa8.js
deleted
Diff for hooks-107e90..36d5974c7.js
@@ -1,7 +1,12 @@
-_N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
- [7],
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [757],
{
- "+MDD": function(t, n, r) {
+ 6086: function(t) {
+ "use strict";
+ var n = Object.assign.bind(Object);
+ (t.exports = n), (t.exports.default = t.exports);
+ },
+ 7690: function(t, n, r) {
"use strict";
function e(t, n) {
(null == n || n > t.length) && (n = t.length);
@@ -18,21 +23,21 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var r = [],
e = !0,
o = !1,
- i = void 0;
+ u = void 0;
try {
for (
- var a, u = t[Symbol.iterator]();
- !(e = (a = u.next()).done) &&
- (r.push(a.value), !n || r.length !== n);
+ var i, a = t[Symbol.iterator]();
+ !(e = (i = a.next()).done) &&
+ (r.push(i.value), !n || r.length !== n);
e = !0
);
} catch (c) {
- (o = !0), (i = c);
+ (o = !0), (u = c);
} finally {
try {
- e || null == u.return || u.return();
+ e || null == a.return || a.return();
} finally {
- if (o) throw i;
+ if (o) throw u;
}
}
return r;
@@ -60,52 +65,59 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
})()
);
}
- r.r(n);
- var i = r("q1tI"),
- a = r.n(i),
- u = a.a.createElement;
- n.default = function() {
- var t = o(a.a.useState(0), 2),
- n = t[0],
- r = t[1],
- e = Object(i.useState)(0),
- c = e[0],
- l = e[1],
- s = a.a.useCallback(
- function() {
- r(n + 1);
- },
- [n]
- ),
- f = Object(i.useCallback)(
- function() {
- l(c + 1);
- },
- [c]
+ r.r(n),
+ r.d(n, {
+ default: function() {
+ return c;
+ }
+ });
+ var u = r(7294),
+ i = r.n(u),
+ a = i().createElement,
+ c = function() {
+ var t = o(i().useState(0), 2),
+ n = t[0],
+ r = t[1],
+ e = (0, u.useState)(0),
+ c = e[0],
+ l = e[1],
+ f = i().useCallback(
+ function() {
+ r(n + 1);
+ },
+ [n]
+ ),
+ s = (0, u.useCallback)(
+ function() {
+ l(c + 1);
+ },
+ [c]
+ );
+ return a(
+ i().Fragment,
+ null,
+ a("h3", null, "Clicks ", n),
+ a("button", { onClick: f }, "Click me"),
+ a("h3", null, "Clicks ", c),
+ a("button", { onClick: s }, "Click me")
);
- return u(
- a.a.Fragment,
- null,
- u("h3", null, "Clicks ", n),
- u("button", { onClick: s }, "Click me"),
- u("h3", null, "Clicks ", c),
- u("button", { onClick: f }, "Click me")
- );
- };
- },
- Qetd: function(t, n, r) {
- "use strict";
- var e = Object.assign.bind(Object);
- (t.exports = e), (t.exports.default = t.exports);
+ };
},
- g1vQ: function(t, n, r) {
+ 1470: function(t, n, r) {
(window.__NEXT_P = window.__NEXT_P || []).push([
"/hooks",
function() {
- return r("+MDD");
+ return r(7690);
}
]);
}
},
- [["g1vQ", 0, 1]]
+ function(t) {
+ t.O(0, [774], function() {
+ return (n = 1470), t((t.s = n));
+ var n;
+ });
+ var n = t.O();
+ _N_E = n;
+ }
]);
Diff for index-ac435c..7f4e6ecf2.js
deleted
Diff for index-fec729..e4a5583b2.js
@@ -0,0 +1,29 @@
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [405],
+ {
+ 8474: function(n, u, t) {
+ "use strict";
+ t.r(u);
+ var r = function() {
+ return "Hello world \ud83d\udc4b";
+ };
+ (r.getInitialProps = function() {
+ return {};
+ }),
+ (u.default = r);
+ },
+ 8581: function(n, u, t) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/",
+ function() {
+ return t(8474);
+ }
+ ]);
+ }
+ },
+ function(n) {
+ var u,
+ t = ((u = 8581), n((n.s = u)));
+ _N_E = t;
+ }
+]);
Diff for link-c31053f..6d7dcc329.js
@@ -1,47 +1,15 @@
-_N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
- [9],
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [644, 179],
{
- ObF3: function(e, n, t) {
+ 573: function(e, n, t) {
"use strict";
- t.r(n);
- var r = t("q1tI"),
- o = t.n(r),
- a = t("YFqc"),
- c = t.n(a),
- u = o.a.createElement;
- function i(e) {
- return u(
- "div",
- null,
- u("h3", null, "A Link page!"),
- u(c.a, { href: "/" }, "Go to /")
- );
- }
- (i.getInitialProps = function() {
- return {};
- }),
- (n.default = i);
- },
- V8Sf: function(e, n, t) {
- (window.__NEXT_P = window.__NEXT_P || []).push([
- "/link",
- function() {
- return t("ObF3");
- }
- ]);
- },
- YFqc: function(e, n, t) {
- e.exports = t("cTJO");
- },
- cTJO: function(e, n, t) {
- "use strict";
- var r = t("J4zp"),
- o = t("284h");
- (n.__esModule = !0), (n.default = void 0);
- var a = o(t("q1tI")),
- c = t("elyg"),
- u = t("nOHt"),
- i = t("vNVm"),
+ var r = t(3038),
+ o = t(862);
+ n.default = void 0;
+ var a = o(t(7294)),
+ c = t(1689),
+ u = t(2441),
+ i = t(5749),
l = {};
function f(e, n, t, r) {
if (e && (0, c.isLocalURL)(n)) {
@@ -74,41 +42,41 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
d = s.as,
v = e.children,
h = e.replace,
- g = e.shallow,
- y = e.scroll,
- b = e.locale;
+ y = e.shallow,
+ g = e.scroll,
+ E = e.locale;
"string" === typeof v && (v = a.default.createElement("a", null, v));
- var _ = a.Children.only(v),
- w = _ && "object" === typeof _ && _.ref,
- E = (0, i.useIntersection)({ rootMargin: "200px" }),
- m = r(E, 2),
- L = m[0],
- M = m[1],
- k = a.default.useCallback(
+ var b = a.Children.only(v),
+ _ = b && "object" === typeof b && b.ref,
+ L = (0, i.useIntersection)({ rootMargin: "200px" }),
+ k = r(L, 2),
+ m = k[0],
+ w = k[1],
+ M = a.default.useCallback(
function(e) {
- L(e),
- w &&
- ("function" === typeof w
- ? w(e)
- : "object" === typeof w && (w.current = e));
+ m(e),
+ _ &&
+ ("function" === typeof _
+ ? _(e)
+ : "object" === typeof _ && (_.current = e));
},
- [w, L]
+ [_, m]
);
(0, a.useEffect)(
function() {
- var e = M && n && (0, c.isLocalURL)(p),
- r = "undefined" !== typeof b ? b : t && t.locale,
+ var e = w && n && (0, c.isLocalURL)(p),
+ r = "undefined" !== typeof E ? E : t && t.locale,
o = l[p + "%" + d + (r ? "%" + r : "")];
e && !o && f(t, p, d, { locale: r });
},
- [d, p, M, b, n, t]
+ [d, p, w, E, n, t]
);
- var I = {
- ref: k,
+ var C = {
+ ref: M,
onClick: function(e) {
- _.props &&
- "function" === typeof _.props.onClick &&
- _.props.onClick(e),
+ b.props &&
+ "function" === typeof b.props.onClick &&
+ b.props.onClick(e),
e.defaultPrevented ||
(function(e, n, t, r, o, a, u, i) {
("A" !== e.currentTarget.nodeName ||
@@ -131,38 +99,38 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
locale: i,
scroll: u
}));
- })(e, t, p, d, h, g, y, b);
+ })(e, t, p, d, h, y, g, E);
},
onMouseEnter: function(e) {
(0, c.isLocalURL)(p) &&
- (_.props &&
- "function" === typeof _.props.onMouseEnter &&
- _.props.onMouseEnter(e),
+ (b.props &&
+ "function" === typeof b.props.onMouseEnter &&
+ b.props.onMouseEnter(e),
f(t, p, d, { priority: !0 }));
}
};
- if (e.passHref || ("a" === _.type && !("href" in _.props))) {
- var N = "undefined" !== typeof b ? b : t && t.locale,
- C =
+ if (e.passHref || ("a" === b.type && !("href" in b.props))) {
+ var I = "undefined" !== typeof E ? E : t && t.locale,
+ N =
t &&
t.isLocaleDomain &&
(0, c.getDomainLocale)(
d,
- N,
+ I,
t && t.locales,
t && t.domainLocales
);
- I.href =
- C ||
- (0, c.addBasePath)((0, c.addLocale)(d, N, t && t.defaultLocale));
+ C.href =
+ N ||
+ (0, c.addBasePath)((0, c.addLocale)(d, I, t && t.defaultLocale));
}
- return a.default.cloneElement(_, I);
+ return a.default.cloneElement(b, C);
};
n.default = s;
},
- vNVm: function(e, n, t) {
+ 5749: function(e, n, t) {
"use strict";
- var r = t("J4zp");
+ var r = t(3038);
(n.__esModule = !0),
(n.useIntersection = function(e) {
var n = e.rootMargin,
@@ -241,11 +209,50 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
[d, s]
);
});
- var o = t("q1tI"),
- a = t("0G5g"),
+ var o = t(7294),
+ a = t(8391),
c = "undefined" !== typeof IntersectionObserver;
var u = new Map();
- }
+ },
+ 8189: function(e, n, t) {
+ "use strict";
+ t.r(n);
+ var r = t(7294),
+ o = t.n(r),
+ a = t(1664),
+ c = o().createElement;
+ function u(e) {
+ return c(
+ "div",
+ null,
+ c("h3", null, "A Link page!"),
+ c(a.default, { href: "/" }, "Go to /")
+ );
+ }
+ (u.getInitialProps = function() {
+ return {};
+ }),
+ (n.default = u);
+ },
+ 7847: function(e, n, t) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/link",
+ function() {
+ return t(8189);
+ }
+ ]);
+ },
+ 1664: function(e, n, t) {
+ e.exports = t(573);
+ },
+ 4453: function() {}
},
- [["V8Sf", 0, 1, 2]]
+ function(e) {
+ e.O(0, [774, 597], function() {
+ return (n = 7847), e((e.s = n));
+ var n;
+ });
+ var n = e.O();
+ _N_E = n;
+ }
]);
Diff for routerDirect..493f2dc9d.js
deleted
Diff for routerDirect..e50665759.js
@@ -0,0 +1,39 @@
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [58, 179],
+ {
+ 1348: function(n, t, r) {
+ "use strict";
+ r.r(t);
+ var u = r(7294),
+ e = r.n(u),
+ i = (r(1163), e().createElement);
+ function o(n) {
+ return i("div", null, "I import the router directly");
+ }
+ (o.getInitialProps = function() {
+ return {};
+ }),
+ (t.default = o);
+ },
+ 5448: function(n, t, r) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/routerDirect",
+ function() {
+ return r(1348);
+ }
+ ]);
+ },
+ 1163: function(n, t, r) {
+ n.exports = r(2441);
+ },
+ 4453: function() {}
+ },
+ function(n) {
+ n.O(0, [774, 597], function() {
+ return (t = 5448), n((n.s = t));
+ var t;
+ });
+ var t = n.O();
+ _N_E = t;
+ }
+]);
Diff for withRouter-1..d427898bf.js
@@ -0,0 +1,40 @@
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [807, 179],
+ {
+ 7024: function(n, t, u) {
+ "use strict";
+ u.r(t);
+ var e = u(7294),
+ r = u.n(e),
+ i = u(1163),
+ o = r().createElement;
+ function c(n) {
+ return o("div", null, "I use withRouter");
+ }
+ (c.getInitialProps = function() {
+ return {};
+ }),
+ (t.default = (0, i.withRouter)(c));
+ },
+ 6744: function(n, t, u) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/withRouter",
+ function() {
+ return u(7024);
+ }
+ ]);
+ },
+ 1163: function(n, t, u) {
+ n.exports = u(2441);
+ },
+ 4453: function() {}
+ },
+ function(n) {
+ n.O(0, [774, 597], function() {
+ return (t = 6744), n((n.s = t));
+ var t;
+ });
+ var t = n.O();
+ _N_E = t;
+ }
+]);
Diff for withRouter-6..e15290e02.js
deleted
Diff for 677f882d2ed8..2520de6c6.js
Diff too large to display
Diff for 778-5cc798ac..cf3bb5c25.js
Diff too large to display
Diff for framework.HASH.js
Diff too large to display
Diff for main-HASH.js
Diff too large to display
Diff for polyfills-HASH.js
failed to diff
Diff for webpack-HASH.js
@@ -1,90 +1,114 @@
-!(function(e) {
- function r(r) {
- for (
- var n, l, f = r[0], i = r[1], a = r[2], c = 0, s = [];
- c < f.length;
- c++
- )
- (l = f[c]),
- Object.prototype.hasOwnProperty.call(o, l) && o[l] && s.push(o[l][0]),
- (o[l] = 0);
- for (n in i) Object.prototype.hasOwnProperty.call(i, n) && (e[n] = i[n]);
- for (p && p(r); s.length; ) s.shift()();
- return u.push.apply(u, a || []), t();
- }
- function t() {
- for (var e, r = 0; r < u.length; r++) {
- for (var t = u[r], n = !0, f = 1; f < t.length; f++) {
- var i = t[f];
- 0 !== o[i] && (n = !1);
- }
- n && (u.splice(r--, 1), (e = l((l.s = t[0]))));
- }
- return e;
- }
- var n = {},
- o = { 0: 0 },
- u = [];
- function l(r) {
- if (n[r]) return n[r].exports;
- var t = (n[r] = { i: r, l: !1, exports: {} }),
- o = !0;
+!(function() {
+ "use strict";
+ var r = {},
+ e = {};
+ function t(n) {
+ var o = e[n];
+ if (void 0 !== o) return o.exports;
+ var i = (e[n] = { exports: {} }),
+ u = !0;
try {
- e[r].call(t.exports, t, t.exports, l), (o = !1);
+ r[n](i, i.exports, t), (u = !1);
} finally {
- o && delete n[r];
+ u && delete e[n];
}
- return (t.l = !0), t.exports;
+ return i.exports;
}
- (l.m = e),
- (l.c = n),
- (l.d = function(e, r, t) {
- l.o(e, r) || Object.defineProperty(e, r, { enumerable: !0, get: t });
- }),
- (l.r = function(e) {
- "undefined" !== typeof Symbol &&
- Symbol.toStringTag &&
- Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }),
- Object.defineProperty(e, "__esModule", { value: !0 });
- }),
- (l.t = function(e, r) {
- if ((1 & r && (e = l(e)), 8 & r)) return e;
- if (4 & r && "object" === typeof e && e && e.__esModule) return e;
- var t = Object.create(null);
- if (
- (l.r(t),
- Object.defineProperty(t, "default", { enumerable: !0, value: e }),
- 2 & r && "string" != typeof e)
- )
- for (var n in e)
- l.d(
- t,
- n,
- function(r) {
- return e[r];
- }.bind(null, n)
- );
- return t;
- }),
- (l.n = function(e) {
- var r =
- e && e.__esModule
+ (t.m = r),
+ (function() {
+ var r = [];
+ t.O = function(e, n, o, i) {
+ if (!n) {
+ var u = 1 / 0;
+ for (a = 0; a < r.length; a++) {
+ (n = r[a][0]), (o = r[a][1]), (i = r[a][2]);
+ for (var c = !0, f = 0; f < n.length; f++)
+ (!1 & i || u >= i) &&
+ Object.keys(t.O).every(function(r) {
+ return t.O[r](n[f]);
+ })
+ ? n.splice(f--, 1)
+ : ((c = !1), i < u && (u = i));
+ c && (r.splice(a--, 1), (e = o()));
+ }
+ return e;
+ }
+ i = i || 0;
+ for (var a = r.length; a > 0 && r[a - 1][2] > i; a--) r[a] = r[a - 1];
+ r[a] = [n, o, i];
+ };
+ })(),
+ (t.n = function(r) {
+ var e =
+ r && r.__esModule
? function() {
- return e.default;
+ return r.default;
}
: function() {
- return e;
+ return r;
};
- return l.d(r, "a", r), r;
+ return t.d(e, { a: e }), e;
+ }),
+ (t.d = function(r, e) {
+ for (var n in e)
+ t.o(e, n) &&
+ !t.o(r, n) &&
+ Object.defineProperty(r, n, { enumerable: !0, get: e[n] });
}),
- (l.o = function(e, r) {
- return Object.prototype.hasOwnProperty.call(e, r);
+ (t.g = (function() {
+ if ("object" === typeof globalThis) return globalThis;
+ try {
+ return this || new Function("return this")();
+ } catch (r) {
+ if ("object" === typeof window) return window;
+ }
+ })()),
+ (t.o = function(r, e) {
+ return Object.prototype.hasOwnProperty.call(r, e);
}),
- (l.p = "");
- var f = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []),
- i = f.push.bind(f);
- (f.push = r), (f = f.slice());
- for (var a = 0; a < f.length; a++) r(f[a]);
- var p = i;
- t();
-})([]);
+ (t.r = function(r) {
+ "undefined" !== typeof Symbol &&
+ Symbol.toStringTag &&
+ Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }),
+ Object.defineProperty(r, "__esModule", { value: !0 });
+ }),
+ (function() {
+ var r;
+ t.g.importScripts && (r = t.g.location + "");
+ var e = t.g.document;
+ if (!r && e && (e.currentScript && (r = e.currentScript.src), !r)) {
+ var n = e.getElementsByTagName("script");
+ n.length && (r = n[n.length - 1].src);
+ }
+ if (!r)
+ throw new Error(
+ "Automatic publicPath is not supported in this browser"
+ );
+ (r = r
+ .replace(/#.*$/, "")
+ .replace(/\?.*$/, "")
+ .replace(/\/[^\/]+$/, "/")),
+ (t.p
Post job cleanup.
[command]/usr/bin/git version
git version 2.31.1
[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: e24054e2a12d02391911462b2ff1fbbcd6f6c375
Failing test suitesCommit: e24054e test/integration/next-plugins/test/index.test.js
Expand output● Next.js plugins › dev mode › with plugin config › should expose a plugins config
|
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
buildDuration | 12.5s | 14.9s | |
nodeModulesSize | 46.7 MB | 46.7 MB | -325 B |
Page Load Tests Overall decrease ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.736 | 2.699 | -0.04 |
/ avg req/sec | 913.8 | 926.3 | +12.5 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.488 | 1.52 | |
/error-in-render avg req/sec | 1680.62 | 1644.7 |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
677f882d2ed8..e6c6.js gzip | 13.4 kB | 13.3 kB | -67 B |
framework.HASH.js gzip | 39 kB | 39.3 kB | |
main-HASH.js gzip | 7.12 kB | 151 B | -6.97 kB |
webpack-HASH.js gzip | 751 B | 993 B | |
778-9356d64c..e712.js gzip | N/A | 7.05 kB | N/A |
Overall change | 60.2 kB | 60.8 kB |
Legacy Client Bundles (polyfills) Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.3 kB | 31.1 kB | -156 B |
Overall change | 31.3 kB | 31.1 kB | -156 B |
Client Pages Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_app-8fbabfc..6440.js gzip | 1.28 kB | 1.3 kB | |
_error-d07ca..ef4d.js gzip | 3.71 kB | 3.68 kB | -30 B |
amp-9716187d..0aa8.js gzip | 536 B | N/A | N/A |
hooks-107e90..74c7.js gzip | 888 B | 924 B | |
index-ac435c..ecf2.js gzip | 227 B | N/A | N/A |
link-c31053f..c329.js gzip | 1.64 kB | 1.66 kB | |
routerDirect..dc9d.js gzip | 303 B | N/A | N/A |
withRouter-6..0e02.js gzip | 302 B | N/A | N/A |
amp-89a5460c..567f.js gzip | N/A | 558 B | N/A |
index-fec729..83b2.js gzip | N/A | 243 B | N/A |
routerDirect..5759.js gzip | N/A | 336 B | N/A |
withRouter-1..98bf.js gzip | N/A | 334 B | N/A |
Overall change | 8.89 kB | 9.03 kB |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_buildManifest.js gzip | 371 B | 349 B | -22 B |
Overall change | 371 B | 349 B | -22 B |
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
index.html gzip | 612 B | 610 B | -2 B |
link.html gzip | 620 B | 616 B | -4 B |
withRouter.html gzip | 607 B | 606 B | -1 B |
Overall change | 1.84 kB | 1.83 kB | -7 B |
Serverless Mode (Increase detected ⚠️ )
General Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
buildDuration | 15.6s | 20.4s | |
nodeModulesSize | 46.7 MB | 46.7 MB | -325 B |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
677f882d2ed8..e6c6.js gzip | 13.4 kB | N/A | N/A |
framework.HASH.js gzip | 39 kB | 39.3 kB | |
main-HASH.js gzip | 7.12 kB | 151 B | -6.97 kB |
webpack-HASH.js gzip | 751 B | 993 B | |
597-3f457946..288d.js gzip | N/A | 13.3 kB | N/A |
778-9356d64c..e712.js gzip | N/A | 7.05 kB | N/A |
Overall change | 60.2 kB | 60.8 kB |
Legacy Client Bundles (polyfills) Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.3 kB | 31.1 kB | -156 B |
Overall change | 31.3 kB | 31.1 kB | -156 B |
Client Pages Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_app-8fbabfc..6440.js gzip | 1.28 kB | N/A | N/A |
_error-d07ca..ef4d.js gzip | 3.71 kB | N/A | N/A |
amp-9716187d..0aa8.js gzip | 536 B | N/A | N/A |
hooks-107e90..74c7.js gzip | 888 B | N/A | N/A |
index-ac435c..ecf2.js gzip | 227 B | N/A | N/A |
link-c31053f..c329.js gzip | 1.64 kB | N/A | N/A |
routerDirect..dc9d.js gzip | 303 B | N/A | N/A |
withRouter-6..0e02.js gzip | 302 B | N/A | N/A |
_app-5cc66b2..6f03.js gzip | N/A | 1.3 kB | N/A |
_error-55112..054d.js gzip | N/A | 3.68 kB | N/A |
amp-89a5460c..567f.js gzip | N/A | 558 B | N/A |
hooks-8c2e74..be37.js gzip | N/A | 924 B | N/A |
index-fec729..83b2.js gzip | N/A | 243 B | N/A |
link-dd34d9b..0ade.js gzip | N/A | 1.66 kB | N/A |
routerDirect..5759.js gzip | N/A | 336 B | N/A |
withRouter-1..98bf.js gzip | N/A | 334 B | N/A |
Overall change | 8.89 kB | 9.03 kB |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_buildManifest.js gzip | 371 B | 349 B | -22 B |
Overall change | 371 B | 349 B | -22 B |
Serverless bundles Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_error.js | 1.37 MB | 1.35 MB | -19.1 kB |
404.html | 2.67 kB | 2.76 kB | |
500.html | 2.65 kB | 2.75 kB | |
amp.amp.html | 10.7 kB | 10.7 kB | ✓ |
amp.html | 1.86 kB | 1.96 kB | |
hooks.html | 1.92 kB | 2.01 kB | |
index.js | 1.37 MB | 1.35 MB | -19.1 kB |
link.js | 1.42 MB | 1.4 MB | -18.8 kB |
routerDirect.js | 1.42 MB | 1.4 MB | -18.8 kB |
withRouter.js | 1.42 MB | 1.4 MB | -18.8 kB |
Overall change | 7.01 MB | 6.91 MB | -94.1 kB |
Webpack 5 Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
buildDuration | 15s | 16.5s | |
nodeModulesSize | 46.7 MB | 46.7 MB | -325 B |
Page Load Tests Overall decrease ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.679 | 2.948 | |
/ avg req/sec | 933.32 | 847.97 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.511 | 1.7 | |
/error-in-render avg req/sec | 1654.39 | 1470.85 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
597-3f457946..288d.js gzip | 13.3 kB | 13.3 kB | ✓ |
778-9356d64c..e712.js gzip | 7.05 kB | 7.05 kB | ✓ |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 151 B | 151 B | ✓ |
webpack-HASH.js gzip | 993 B | 993 B | ✓ |
Overall change | 60.8 kB | 60.8 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.1 kB | 31.1 kB | ✓ |
Overall change | 31.1 kB | 31.1 kB | ✓ |
Client Pages
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_app-5cc66b2..6f03.js gzip | 1.3 kB | 1.3 kB | ✓ |
_error-55112..054d.js gzip | 3.68 kB | 3.68 kB | ✓ |
amp-89a5460c..567f.js gzip | 558 B | 558 B | ✓ |
hooks-8c2e74..be37.js gzip | 924 B | 924 B | ✓ |
index-fec729..83b2.js gzip | 243 B | 243 B | ✓ |
link-dd34d9b..0ade.js gzip | 1.66 kB | 1.66 kB | ✓ |
routerDirect..5759.js gzip | 336 B | 336 B | ✓ |
withRouter-1..98bf.js gzip | 334 B | 334 B | ✓ |
Overall change | 9.03 kB | 9.03 kB | ✓ |
Client Build Manifests
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_buildManifest.js gzip | 349 B | 349 B | ✓ |
Overall change | 349 B | 349 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
index.html gzip | 610 B | 610 B | ✓ |
link.html gzip | 616 B | 616 B | ✓ |
withRouter.html gzip | 606 B | 606 B | ✓ |
Overall change | 1.83 kB | 1.83 kB | ✓ |
Diffs
Diff for _buildManifest.js
@@ -1,29 +1,21 @@
-self.__BUILD_MANIFEST = {
+(self.__BUILD_MANIFEST = {
__rewrites: { beforeFiles: [], afterFiles: [], fallback: [] },
- "/": ["static\u002Fchunks\u002Fpages\u002Findex-ac435c89e537f4e6ecf2.js"],
- "/_error": [
- "static\u002Fchunks\u002Fpages\u002F_error-d07ca8afdf6c45b9ef4d.js"
- ],
- "/amp": ["static\u002Fchunks\u002Fpages\u002Famp-9716187d43cb5ac80aa8.js"],
- "/hooks": [
- "static\u002Fchunks\u002Fpages\u002Fhooks-107e903cc2136d5974c7.js"
- ],
- "/link": ["static\u002Fchunks\u002Fpages\u002Flink-c31053f6d096d7dcc329.js"],
- "/routerDirect": [
- "static\u002Fchunks\u002Fpages\u002FrouterDirect-68414267e80493f2dc9d.js"
- ],
- "/withRouter": [
- "static\u002Fchunks\u002Fpages\u002FwithRouter-6e72b47076be15290e02.js"
- ],
+ "/": ["static/chunks/pages/index-fec729acd14e4a5583b2.js"],
+ "/_error": ["static/chunks/pages/_error-55112c9d838f988b054d.js"],
+ "/amp": ["static/chunks/pages/amp-89a5460cada4d99b567f.js"],
+ "/hooks": ["static/chunks/pages/hooks-8c2e74bb2b6bffaebe37.js"],
+ "/link": ["static/chunks/pages/link-dd34d9b14dfb3c040ade.js"],
+ "/routerDirect": ["static/chunks/pages/routerDirect-86b413d0659e50665759.js"],
+ "/withRouter": ["static/chunks/pages/withRouter-186b16dd09ed427898bf.js"],
sortedPages: [
- "\u002F",
- "\u002F_app",
- "\u002F_error",
- "\u002Famp",
- "\u002Fhooks",
- "\u002Flink",
- "\u002FrouterDirect",
- "\u002FwithRouter"
+ "/",
+ "/_app",
+ "/_error",
+ "/amp",
+ "/hooks",
+ "/link",
+ "/routerDirect",
+ "/withRouter"
]
-};
-self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB();
+}),
+ self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB();
Diff for _app-8fbabfc..bc6e06440.js
@@ -1,11 +1,30 @@
-_N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
- [4],
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [888, 179],
{
- 0: function(t, e, n) {
- n("e9+W"), (t.exports = n("nOHt"));
+ 1506: function(t) {
+ t.exports = function(t) {
+ if (void 0 === t)
+ throw new ReferenceError(
+ "this hasn't been initialised - super() hasn't been called"
+ );
+ return t;
+ };
+ },
+ 9754: function(t) {
+ function e(n) {
+ return (
+ (t.exports = e = Object.setPrototypeOf
+ ? Object.getPrototypeOf
+ : function(t) {
+ return t.__proto__ || Object.getPrototypeOf(t);
+ }),
+ e(n)
+ );
+ }
+ t.exports = e;
},
- "7W2i": function(t, e, n) {
- var r = n("SksO");
+ 2205: function(t, e, n) {
+ var r = n(9489);
t.exports = function(t, e) {
if ("function" !== typeof e && null !== e)
throw new TypeError(
@@ -17,16 +36,23 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
e && r(t, e);
};
},
- B5Ud: function(t, e, n) {
+ 8585: function(t, e, n) {
+ var r = n(8),
+ o = n(1506);
+ t.exports = function(t, e) {
+ return !e || ("object" !== r(e) && "function" !== typeof e) ? o(t) : e;
+ };
+ },
+ 6381: function(t, e, n) {
"use strict";
- var r = n("o0o1"),
- o = n("lwsE"),
- u = n("W8MJ"),
- i = n("7W2i"),
- c = n("a1gu"),
- a = n("Nsbk"),
- p = n("yXPU");
- function s(t) {
+ var r = n(7757),
+ o = n(4575),
+ u = n(3913),
+ c = n(2205),
+ i = n(8585),
+ a = n(9754),
+ p = n(8926);
+ function f(t) {
var e = (function() {
if ("undefined" === typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
@@ -49,24 +75,24 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var o = a(this).constructor;
n = Reflect.construct(r, arguments, o);
} else n = r.apply(this, arguments);
- return c(this, n);
+ return i(this, n);
};
}
- var f = n("TqRt");
+ var s = n(5318);
(e.__esModule = !0),
(e.Container = function(t) {
0;
return t.children;
}),
- (e.createUrl = v),
+ (e.createUrl = b),
(e.default = void 0);
- var l = f(n("q1tI")),
- h = n("g/15");
+ var l = s(n(7294)),
+ h = n(3937);
function _(t) {
- return d.apply(this, arguments);
+ return v.apply(this, arguments);
}
- function d() {
- return (d = p(
+ function v() {
+ return (v = p(
r.mark(function t(e) {
var n, o, u;
return r.wrap(function(t) {
@@ -92,8 +118,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
(e.AppInitialProps = h.AppInitialProps),
(e.NextWebVitalsMetric = h.NextWebVitalsMetric);
var y = (function(t) {
- i(n, t);
- var e = s(n);
+ c(n, t);
+ var e = f(n);
function n() {
return o(this, n), e.apply(this, arguments);
}
@@ -116,7 +142,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
u = t.__N_SSP;
return l.default.createElement(
n,
- Object.assign({}, r, o || u ? {} : { url: v(e) })
+ Object.assign({}, r, o || u ? {} : { url: b(e) })
);
}
}
@@ -124,7 +150,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
n
);
})(l.default.Component);
- function v(t) {
+ function b(t) {
var e = t.pathname,
n = t.asPath,
r = t.query;
@@ -161,43 +187,24 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}
(e.default = y), (y.origGetInitialProps = _), (y.getInitialProps = _);
},
- Nsbk: function(t, e) {
- function n(e) {
- return (
- (t.exports = n = Object.setPrototypeOf
- ? Object.getPrototypeOf
- : function(t) {
- return t.__proto__ || Object.getPrototypeOf(t);
- }),
- n(e)
- );
- }
- t.exports = n;
- },
- PJYZ: function(t, e) {
- t.exports = function(t) {
- if (void 0 === t)
- throw new ReferenceError(
- "this hasn't been initialised - super() hasn't been called"
- );
- return t;
- };
- },
- a1gu: function(t, e, n) {
- var r = n("cDf5"),
- o = n("PJYZ");
- t.exports = function(t, e) {
- return !e || ("object" !== r(e) && "function" !== typeof e) ? o(t) : e;
- };
- },
- "e9+W": function(t, e, n) {
+ 915: function(t, e, n) {
(window.__NEXT_P = window.__NEXT_P || []).push([
"/_app",
function() {
- return n("B5Ud");
+ return n(6381);
}
]);
- }
+ },
+ 4453: function() {}
},
- [[0, 0, 1, 2]]
+ function(t) {
+ var e = function(e) {
+ return t((t.s = e));
+ };
+ t.O(0, [774, 597], function() {
+ return e(915), e(2441);
+ });
+ var n = t.O();
+ _N_E = n;
+ }
]);
Diff for _error-d07ca..c45b9ef4d.js
@@ -1,7 +1,190 @@
-_N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
- [5],
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [820],
{
- "/0+H": function(e, t, n) {
+ 7228: function(e) {
+ e.exports = function(e, t) {
+ (null == t || t > e.length) && (t = e.length);
+ for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
+ return r;
+ };
+ },
+ 3646: function(e, t, n) {
+ var r = n(7228);
+ e.exports = function(e) {
+ if (Array.isArray(e)) return r(e);
+ };
+ },
+ 1506: function(e) {
+ e.exports = function(e) {
+ if (void 0 === e)
+ throw new ReferenceError(
+ "this hasn't been initialised - super() hasn't been called"
+ );
+ return e;
+ };
+ },
+ 4575: function(e) {
+ e.exports = function(e, t) {
+ if (!(e instanceof t))
+ throw new TypeError("Cannot call a class as a function");
+ };
+ },
+ 3913: function(e) {
+ function t(e, t) {
+ for (var n = 0; n < t.length; n++) {
+ var r = t[n];
+ (r.enumerable = r.enumerable || !1),
+ (r.configurable = !0),
+ "value" in r && (r.writable = !0),
+ Object.defineProperty(e, r.key, r);
+ }
+ }
+ e.exports = function(e, n, r) {
+ return n && t(e.prototype, n), r && t(e, r), e;
+ };
+ },
+ 9713: function(e) {
+ e.exports = function(e, t, n) {
+ return (
+ t in e
+ ? Object.defineProperty(e, t, {
+ value: n,
+ enumerable: !0,
+ configurable: !0,
+ writable: !0
+ })
+ : (e[t] = n),
+ e
+ );
+ };
+ },
+ 9754: function(e) {
+ function t(n) {
+ return (
+ (e.exports = t = Object.setPrototypeOf
+ ? Object.getPrototypeOf
+ : function(e) {
+ return e.__proto__ || Object.getPrototypeOf(e);
+ }),
+ t(n)
+ );
+ }
+ e.exports = t;
+ },
+ 2205: function(e, t, n) {
+ var r = n(9489);
+ e.exports = function(e, t) {
+ if ("function" !== typeof t && null !== t)
+ throw new TypeError(
+ "Super expression must either be null or a function"
+ );
+ (e.prototype = Object.create(t && t.prototype, {
+ constructor: { value: e, writable: !0, configurable: !0 }
+ })),
+ t && r(e, t);
+ };
+ },
+ 5318: function(e) {
+ e.exports = function(e) {
+ return e && e.__esModule ? e : { default: e };
+ };
+ },
+ 6860: function(e) {
+ e.exports = function(e) {
+ if ("undefined" !== typeof Symbol && Symbol.iterator in Object(e))
+ return Array.from(e);
+ };
+ },
+ 8206: function(e) {
+ e.exports = function() {
+ throw new TypeError(
+ "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
+ );
+ };
+ },
+ 8585: function(e, t, n) {
+ var r = n(8),
+ o = n(1506);
+ e.exports = function(e, t) {
+ return !t || ("object" !== r(t) && "function" !== typeof t) ? o(e) : t;
+ };
+ },
+ 9489: function(e) {
+ function t(n, r) {
+ return (
+ (e.exports = t =
+ Object.setPrototypeOf ||
+ function(e, t) {
+ return (e.__proto__ = t), e;
+ }),
+ t(n, r)
+ );
+ }
+ e.exports = t;
+ },
+ 319: function(e, t, n) {
+ var r = n(3646),
+ o = n(6860),
+ a = n(379),
+ i = n(8206);
+ e.exports = function(e) {
+ return r(e) || o(e) || a(e) || i();
+ };
+ },
+ 8: function(e) {
+ function t(n) {
+ return (
+ "function" === typeof Symbol && "symbol" === typeof Symbol.iterator
+ ? (e.exports = t = function(e) {
+ return typeof e;
+ })
+ : (e.exports = t = function(e) {
+ return e &&
+ "function" === typeof Symbol &&
+ e.constructor === Symbol &&
+ e !== Symbol.prototype
+ ? "symbol"
+ : typeof e;
+ }),
+ t(n)
+ );
+ }
+ e.exports = t;
+ },
+ 379: function(e, t, n) {
+ var r = n(7228);
+ e.exports = function(e, t) {
+ if (e) {
+ if ("string" === typeof e) return r(e, t);
+ var n = Object.prototype.toString.call(e).slice(8, -1);
+ return (
+ "Object" === n && e.constructor && (n = e.constructor.name),
+ "Map" === n || "Set" === n
+ ? Array.from(e)
+ : "Arguments" === n ||
+ /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
+ ? r(e, t)
+ : void 0
+ );
+ }
+ };
+ },
+ 6086: function(e) {
+ "use strict";
+ var t = Object.assign.bind(Object);
+ (e.exports = t), (e.exports.default = e.exports);
+ },
+ 3367: function(e, t, n) {
+ "use strict";
+ var r;
+ (t.__esModule = !0), (t.AmpStateContext = void 0);
+ var o = ((r = n(7294)) && r.__esModule
+ ? r
+ : { default: r }
+ ).default.createContext({});
+ t.AmpStateContext = o;
+ },
+ 7845: function(e, t, n) {
"use strict";
(t.__esModule = !0),
(t.isInAmpMode = i),
@@ -9,8 +192,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
return i(o.default.useContext(a.AmpStateContext));
});
var r,
- o = (r = n("q1tI")) && r.__esModule ? r : { default: r },
- a = n("lwAK");
+ o = (r = n(7294)) && r.__esModule ? r : { default: r },
+ a = n(3367);
function i() {
var e =
arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
@@ -23,169 +206,19 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
return n || (o && i);
}
},
- "/a9y": function(e, t, n) {
+ 4287: function(e, t, n) {
"use strict";
- var r = n("lwsE"),
- o = n("W8MJ"),
- a = n("7W2i"),
- i = n("a1gu"),
- u = n("Nsbk");
- function c(e) {
- var t = (function() {
- if ("undefined" === typeof Reflect || !Reflect.construct) return !1;
- if (Reflect.construct.sham) return !1;
- if ("function" === typeof Proxy) return !0;
- try {
- return (
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- ),
- !0
- );
- } catch (e) {
- return !1;
- }
- })();
- return function() {
- var n,
- r = u(e);
- if (t) {
- var o = u(this).constructor;
- n = Reflect.construct(r, arguments, o);
- } else n = r.apply(this, arguments);
- return i(this, n);
- };
- }
- var s = n("TqRt");
- (t.__esModule = !0), (t.default = void 0);
- var f = s(n("q1tI")),
- l = s(n("8Kt/")),
- p = {
- 400: "Bad Request",
- 404: "This page could not be found",
- 405: "Method Not Allowed",
- 500: "Internal Server Error"
- };
- function d(e) {
- var t = e.res,
- n = e.err;
- return {
- statusCode: t && t.statusCode ? t.statusCode : n ? n.statusCode : 404
- };
- }
- var y = (function(e) {
- a(n, e);
- var t = c(n);
- function n() {
- return r(this, n), t.apply(this, arguments);
- }
- return (
- o(n, [
- {
- key: "render",
- value: function() {
- var e = this.props.statusCode,
- t =
- this.props.title ||
- p[e] ||
- "An unexpected error has occurred";
- return f.default.createElement(
- "div",
- { style: h.error },
- f.default.createElement(
- l.default,
- null,
- f.default.createElement("title", null, e, ": ", t)
- ),
- f.default.createElement(
- "div",
- null,
- f.default.createElement("style", {
- dangerouslySetInnerHTML: { __html: "body { margin: 0 }" }
- }),
- e
- ? f.default.createElement("h1", { style: h.h1 }, e)
- : null,
- f.default.createElement(
- "div",
- { style: h.desc },
- f.default.createElement("h2", { style: h.h2 }, t, ".")
- )
- )
- );
- }
- }
- ]),
- n
- );
- })(f.default.Component);
- (t.default = y),
- (y.displayName = "ErrorPage"),
- (y.getInitialProps = d),
- (y.origGetInitialProps = d);
- var h = {
- error: {
- color: "#000",
- background: "#fff",
- fontFamily:
- '-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif',
- height: "100vh",
- textAlign: "center",
- display: "flex",
- flexDirection: "column",
- alignItems: "center",
- justifyContent: "center"
- },
- desc: {
- display: "inline-block",
- textAlign: "left",
- lineHeight: "49px",
- height: "49px",
- verticalAlign: "middle"
- },
- h1: {
- display: "inline-block",
- borderRight: "1px solid rgba(0, 0, 0,.3)",
- margin: 0,
- marginRight: "20px",
- padding: "10px 23px 10px 0",
- fontSize: "24px",
- fontWeight: 500,
- verticalAlign: "top"
- },
- h2: {
- fontSize: "14px",
- fontWeight: "normal",
- lineHeight: "inherit",
- margin: 0,
- padding: 0
- }
- };
- },
- "04ac": function(e, t, n) {
- (window.__NEXT_P = window.__NEXT_P || []).push([
- "/_error",
- function() {
- return n("/a9y");
- }
- ]);
- },
- "7W2i": function(e, t, n) {
- var r = n("SksO");
- e.exports = function(e, t) {
- if ("function" !== typeof t && null !== t)
- throw new TypeError(
- "Super expression must either be null or a function"
- );
- (e.prototype = Object.create(t && t.prototype, {
- constructor: { value: e, writable: !0, configurable: !0 }
- })),
- t && r(e, t);
- };
+ var r;
+ (t.__esModule = !0), (t.HeadManagerContext = void 0);
+ var o = ((r = n(7294)) && r.__esModule
+ ? r
+ : { default: r }
+ ).default.createContext({});
+ t.HeadManagerContext = o;
},
- "8Kt/": function(e, t, n) {
+ 7947: function(e, t, n) {
"use strict";
- var r = n("lSNA");
+ var r = n(9713);
function o(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -217,11 +250,11 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}
(n.default = e), t && t.set(e, n);
return n;
- })(n("q1tI")),
- u = (a = n("Xuae")) && a.__esModule ? a : { default: a },
- c = n("lwAK"),
- s = n("FYa8"),
- f = n("/0+H");
+ })(n(7294)),
+ u = (a = n(617)) && a.__esModule ? a : { default: a },
+ c = n(3367),
+ f = n(4287),
+ s = n(7845);
function l() {
if ("function" !== typeof WeakMap) return null;
var e = new WeakMap();
@@ -263,8 +296,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
)
: e.concat(t);
}
- var y = ["name", "httpEquiv", "charSet", "itemProp"];
- function h(e, t) {
+ var h = ["name", "httpEquiv", "charSet", "itemProp"];
+ function y(e, t) {
return e
.reduce(function(e, t) {
var n = i.default.Children.toArray(t.props.children);
@@ -297,15 +330,15 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
t.has(o.type) ? (a = !1) : t.add(o.type);
break;
case "meta":
- for (var c = 0, s = y.length; c < s; c++) {
- var f = y[c];
- if (o.props.hasOwnProperty(f))
- if ("charSet" === f) n.has(f) ? (a = !1) : n.add(f);
+ for (var c = 0, f = h.length; c < f; c++) {
+ var s = h[c];
+ if (o.props.hasOwnProperty(s))
+ if ("charSet" === s) n.has(s) ? (a = !1) : n.add(s);
else {
- var l = o.props[f],
- p = r[f] || new Set();
- ("name" === f && i) || !p.has(l)
- ? (p.add(l), (r[f] = p))
+ var l = o.props[s],
+ p = r[s] || new Set();
+ ("name" === s && i) || !p.has(l)
+ ? (p.add(l), (r[s] = p))
: (a = !1);
}
}
@@ -359,13 +392,13 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
function v(e) {
var t = e.children,
n = (0, i.useContext)(c.AmpStateContext),
- r = (0, i.useContext)(s.HeadManagerContext);
+ r = (0, i.useContext)(f.HeadManagerContext);
return i.default.createElement(
u.default,
{
- reduceComponentsToState: h,
+ reduceComponentsToState: y,
headManager: r,
- inAmpMode: (0, f.isInAmpMode)(n)
+ inAmpMode: (0, s.isInAmpMode)(n)
},
t
);
@@ -374,119 +407,15 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var m = v;
t.default = m;
},
- Bnag: function(e, t) {
- e.exports = function() {
- throw new TypeError(
- "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
- );
- };
- },
- EbDI: function(e, t) {
- e.exports = function(e) {
- if ("undefined" !== typeof Symbol && Symbol.iterator in Object(e))
- return Array.from(e);
- };
- },
- FYa8: function(e, t, n) {
- "use strict";
- var r;
- (t.__esModule = !0), (t.HeadManagerContext = void 0);
- var o = ((r = n("q1tI")) && r.__esModule
- ? r
- : { default: r }
- ).default.createContext({});
- t.HeadManagerContext = o;
- },
- Ijbi: function(e, t, n) {
- var r = n("WkPL");
- e.exports = function(e) {
- if (Array.isArray(e)) return r(e);
- };
- },
- Nsbk: function(e, t) {
- function n(t) {
- return (
- (e.exports = n = Object.setPrototypeOf
- ? Object.getPrototypeOf
- : function(e) {
- return e.__proto__ || Object.getPrototypeOf(e);
- }),
- n(t)
- );
- }
- e.exports = n;
- },
- PJYZ: function(e, t) {
- e.exports = function(e) {
- if (void 0 === e)
- throw new ReferenceError(
- "this hasn't been initialised - super() hasn't been called"
- );
- return e;
- };
- },
- Qetd: function(e, t, n) {
- "use strict";
- var r = Object.assign.bind(Object);
- (e.exports = r), (e.exports.default = e.exports);
- },
- RIqP: function(e, t, n) {
- var r = n("Ijbi"),
- o = n("EbDI"),
- a = n("ZhPi"),
- i = n("Bnag");
- e.exports = function(e) {
- return r(e) || o(e) || a(e) || i();
- };
- },
- SksO: function(e, t) {
- function n(t, r) {
- return (
- (e.exports = n =
- Object.setPrototypeOf ||
- function(e, t) {
- return (e.__proto__ = t), e;
- }),
- n(t, r)
- );
- }
- e.exports = n;
- },
- TqRt: function(e, t) {
- e.exports = function(e) {
- return e && e.__esModule ? e : { default: e };
- };
- },
- W8MJ: function(e, t) {
- function n(e, t) {
- for (var n = 0; n < t.length; n++) {
- var r = t[n];
- (r.enumerable = r.enumerable || !1),
- (r.configurable = !0),
- "value" in r && (r.writable = !0),
- Object.defineProperty(e, r.key, r);
- }
- }
- e.exports = function(e, t, r) {
- return t && n(e.prototype, t), r && n(e, r), e;
- };
- },
- WkPL: function(e, t) {
- e.exports = function(e, t) {
- (null == t || t > e.length) && (t = e.length);
- for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
- return r;
- };
- },
- Xuae: function(e, t, n) {
+ 617: function(e, t, n) {
"use strict";
- var r = n("RIqP"),
- o = n("lwsE"),
- a = n("W8MJ"),
- i = (n("PJYZ"), n("7W2i")),
- u = n("a1gu"),
- c = n("Nsbk");
- function s(e) {
+ var r = n(319),
+ o = n(4575),
+ a = n(3913),
+ i = (n(1506), n(2205)),
+ u = n(8585),
+ c = n(9754);
+ function f(e) {
var t = (function() {
if ("undefined" === typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
@@ -513,10 +442,10 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
};
}
(t.__esModule = !0), (t.default = void 0);
- var f = n("q1tI"),
+ var s = n(7294),
l = (function(e) {
i(n, e);
- var t = s(n);
+ var t = f(n);
function n(e) {
var a;
return (
@@ -569,85 +498,163 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
]),
n
);
- })(f.Component);
+ })(s.Component);
t.default = l;
},
- ZhPi: function(e, t, n) {
- var r = n("WkPL");
- e.exports = function(e, t) {
- if (e) {
- if ("string" === typeof e) return r(e, t);
- var n = Object.prototype.toString.call(e).slice(8, -1);
- return (
- "Object" === n && e.constructor && (n = e.constructor.name),
- "Map" === n || "Set" === n
- ? Array.from(e)
- : "Arguments" === n ||
- /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
- ? r(e, t)
- : void 0
- );
- }
- };
- },
- a1gu: function(e, t, n) {
- var r = n("cDf5"),
- o = n("PJYZ");
- e.exports = function(e, t) {
- return !t || ("object" !== r(t) && "function" !== typeof t) ? o(e) : t;
- };
- },
- cDf5: function(e, t) {
- function n(t) {
- return (
- "function" === typeof Symbol && "symbol" === typeof Symbol.iterator
- ? (e.exports = n = function(e) {
- return typeof e;
- })
- : (e.exports = n = function(e) {
- return e &&
- "function" === typeof Symbol &&
- e.constructor === Symbol &&
- e !== Symbol.prototype
- ? "symbol"
- : typeof e;
- }),
- n(t)
- );
+ 900: function(e, t, n) {
+ "use strict";
+ var r = n(4575),
+ o = n(3913),
+ a = n(2205),
+ i = n(8585),
+ u = n(9754);
+ function c(e) {
+ var t = (function() {
+ if ("undefined" === typeof Reflect || !Reflect.construct) return !1;
+ if (Reflect.construct.sham) return !1;
+ if ("function" === typeof Proxy) return !0;
+ try {
+ return (
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ ),
+ !0
+ );
+ } catch (e) {
+ return !1;
+ }
+ })();
+ return function() {
+ var n,
+ r = u(e);
+ if (t) {
+ var o = u(this).constructor;
+ n = Reflect.construct(r, arguments, o);
+ } else n = r.apply(this, arguments);
+ return i(this, n);
+ };
}
- e.exports = n;
- },
- lSNA: function(e, t) {
- e.exports = function(e, t, n) {
+ var f = n(5318);
+ (t.__esModule = !0), (t.default = void 0);
+ var s = f(n(7294)),
+ l = f(n(7947)),
+ p = {
+ 400: "Bad Request",
+ 404: "This page could not be found",
+ 405: "Method Not Allowed",
+ 500: "Internal Server Error"
+ };
+ function d(e) {
+ var t = e.res,
+ n = e.err;
+ return {
+ statusCode: t && t.statusCode ? t.statusCode : n ? n.statusCode : 404
+ };
+ }
+ var h = (function(e) {
+ a(n, e);
+ var t = c(n);
+ function n() {
+ return r(this, n), t.apply(this, arguments);
+ }
return (
- t in e
- ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- })
- : (e[t] = n),
- e
+ o(n, [
+ {
+ key: "render",
+ value: function() {
+ var e = this.props.statusCode,
+ t =
+ this.props.title ||
+ p[e] ||
+ "An unexpected error has occurred";
+ return s.default.createElement(
+ "div",
+ { style: y.error },
+ s.default.createElement(
+ l.default,
+ null,
+ s.default.createElement("title", null, e, ": ", t)
+ ),
+ s.default.createElement(
+ "div",
+ null,
+ s.default.createElement("style", {
+ dangerouslySetInnerHTML: { __html: "body { margin: 0 }" }
+ }),
+ e
+ ? s.default.createElement("h1", { style: y.h1 }, e)
+ : null,
+ s.default.createElement(
+ "div",
+ { style: y.desc },
+ s.default.createElement("h2", { style: y.h2 }, t, ".")
+ )
+ )
+ );
+ }
+ }
+ ]),
+ n
);
+ })(s.default.Component);
+ (t.default = h),
+ (h.displayName = "ErrorPage"),
+ (h.getInitialProps = d),
+ (h.origGetInitialProps = d);
+ var y = {
+ error: {
+ color: "#000",
+ background: "#fff",
+ fontFamily:
+ '-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif',
+ height: "100vh",
+ textAlign: "center",
+ display: "flex",
+ flexDirection: "column",
+ alignItems: "center",
+ justifyContent: "center"
+ },
+ desc: {
+ display: "inline-block",
+ textAlign: "left",
+ lineHeight: "49px",
+ height: "49px",
+ verticalAlign: "middle"
+ },
+ h1: {
+ display: "inline-block",
+ borderRight: "1px solid rgba(0, 0, 0,.3)",
+ margin: 0,
+ marginRight: "20px",
+ padding: "10px 23px 10px 0",
+ fontSize: "24px",
+ fontWeight: 500,
+ verticalAlign: "top"
+ },
+ h2: {
+ fontSize: "14px",
+ fontWeight: "normal",
+ lineHeight: "inherit",
+ margin: 0,
+ padding: 0
+ }
};
},
- lwAK: function(e, t, n) {
- "use strict";
- var r;
- (t.__esModule = !0), (t.AmpStateContext = void 0);
- var o = ((r = n("q1tI")) && r.__esModule
- ? r
- : { default: r }
- ).default.createContext({});
- t.AmpStateContext = o;
- },
- lwsE: function(e, t) {
- e.exports = function(e, t) {
- if (!(e instanceof t))
- throw new TypeError("Cannot call a class as a function");
- };
+ 4977: function(e, t, n) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/_error",
+ function() {
+ return n(900);
+ }
+ ]);
}
},
- [["04ac", 0, 1]]
+ function(e) {
+ e.O(0, [774], function() {
+ return (t = 4977), e((e.s = t));
+ var t;
+ });
+ var t = e.O();
+ _N_E = t;
+ }
]);
Diff for amp-89a5460c..4d99b567f.js
@@ -0,0 +1,78 @@
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [216],
+ {
+ 9135: function(t, e, n) {
+ t.exports = n(7845);
+ },
+ 6086: function(t) {
+ "use strict";
+ var e = Object.assign.bind(Object);
+ (t.exports = e), (t.exports.default = t.exports);
+ },
+ 3367: function(t, e, n) {
+ "use strict";
+ var u;
+ (e.__esModule = !0), (e.AmpStateContext = void 0);
+ var o = ((u = n(7294)) && u.__esModule
+ ? u
+ : { default: u }
+ ).default.createContext({});
+ e.AmpStateContext = o;
+ },
+ 7845: function(t, e, n) {
+ "use strict";
+ (e.__esModule = !0),
+ (e.isInAmpMode = i),
+ (e.useAmp = function() {
+ return i(o.default.useContext(r.AmpStateContext));
+ });
+ var u,
+ o = (u = n(7294)) && u.__esModule ? u : { default: u },
+ r = n(3367);
+ function i() {
+ var t =
+ arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ e = t.ampFirst,
+ n = void 0 !== e && e,
+ u = t.hybrid,
+ o = void 0 !== u && u,
+ r = t.hasQuery,
+ i = void 0 !== r && r;
+ return n || (o && i);
+ }
+ },
+ 6332: function(t, e, n) {
+ "use strict";
+ n.r(e),
+ n.d(e, {
+ config: function() {
+ return o;
+ },
+ default: function() {
+ return r;
+ }
+ });
+ var u = n(9135),
+ o = { amp: "hybrid" };
+ function r(t) {
+ return (0, u.useAmp)() ? "AMP mode" : "normal mode";
+ }
+ },
+ 6071: function(t, e, n) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/amp",
+ function() {
+ return n(6332);
+ }
+ ]);
+ }
+ },
+ function(t) {
+ t.O(0, [774], function() {
+ return (e = 6071), t((t.s = e));
+ var e;
+ });
+ var e = t.O();
+ _N_E = e;
+ }
+]);
Diff for amp-9716187d..b5ac80aa8.js
deleted
Diff for hooks-107e90..36d5974c7.js
@@ -1,7 +1,12 @@
-_N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
- [7],
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [757],
{
- "+MDD": function(t, n, r) {
+ 6086: function(t) {
+ "use strict";
+ var n = Object.assign.bind(Object);
+ (t.exports = n), (t.exports.default = t.exports);
+ },
+ 7690: function(t, n, r) {
"use strict";
function e(t, n) {
(null == n || n > t.length) && (n = t.length);
@@ -18,21 +23,21 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var r = [],
e = !0,
o = !1,
- i = void 0;
+ u = void 0;
try {
for (
- var a, u = t[Symbol.iterator]();
- !(e = (a = u.next()).done) &&
- (r.push(a.value), !n || r.length !== n);
+ var i, a = t[Symbol.iterator]();
+ !(e = (i = a.next()).done) &&
+ (r.push(i.value), !n || r.length !== n);
e = !0
);
} catch (c) {
- (o = !0), (i = c);
+ (o = !0), (u = c);
} finally {
try {
- e || null == u.return || u.return();
+ e || null == a.return || a.return();
} finally {
- if (o) throw i;
+ if (o) throw u;
}
}
return r;
@@ -60,52 +65,59 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
})()
);
}
- r.r(n);
- var i = r("q1tI"),
- a = r.n(i),
- u = a.a.createElement;
- n.default = function() {
- var t = o(a.a.useState(0), 2),
- n = t[0],
- r = t[1],
- e = Object(i.useState)(0),
- c = e[0],
- l = e[1],
- s = a.a.useCallback(
- function() {
- r(n + 1);
- },
- [n]
- ),
- f = Object(i.useCallback)(
- function() {
- l(c + 1);
- },
- [c]
+ r.r(n),
+ r.d(n, {
+ default: function() {
+ return c;
+ }
+ });
+ var u = r(7294),
+ i = r.n(u),
+ a = i().createElement,
+ c = function() {
+ var t = o(i().useState(0), 2),
+ n = t[0],
+ r = t[1],
+ e = (0, u.useState)(0),
+ c = e[0],
+ l = e[1],
+ f = i().useCallback(
+ function() {
+ r(n + 1);
+ },
+ [n]
+ ),
+ s = (0, u.useCallback)(
+ function() {
+ l(c + 1);
+ },
+ [c]
+ );
+ return a(
+ i().Fragment,
+ null,
+ a("h3", null, "Clicks ", n),
+ a("button", { onClick: f }, "Click me"),
+ a("h3", null, "Clicks ", c),
+ a("button", { onClick: s }, "Click me")
);
- return u(
- a.a.Fragment,
- null,
- u("h3", null, "Clicks ", n),
- u("button", { onClick: s }, "Click me"),
- u("h3", null, "Clicks ", c),
- u("button", { onClick: f }, "Click me")
- );
- };
- },
- Qetd: function(t, n, r) {
- "use strict";
- var e = Object.assign.bind(Object);
- (t.exports = e), (t.exports.default = t.exports);
+ };
},
- g1vQ: function(t, n, r) {
+ 1470: function(t, n, r) {
(window.__NEXT_P = window.__NEXT_P || []).push([
"/hooks",
function() {
- return r("+MDD");
+ return r(7690);
}
]);
}
},
- [["g1vQ", 0, 1]]
+ function(t) {
+ t.O(0, [774], function() {
+ return (n = 1470), t((t.s = n));
+ var n;
+ });
+ var n = t.O();
+ _N_E = n;
+ }
]);
Diff for index-ac435c..7f4e6ecf2.js
deleted
Diff for index-fec729..e4a5583b2.js
@@ -0,0 +1,29 @@
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [405],
+ {
+ 8474: function(n, u, t) {
+ "use strict";
+ t.r(u);
+ var r = function() {
+ return "Hello world \ud83d\udc4b";
+ };
+ (r.getInitialProps = function() {
+ return {};
+ }),
+ (u.default = r);
+ },
+ 8581: function(n, u, t) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/",
+ function() {
+ return t(8474);
+ }
+ ]);
+ }
+ },
+ function(n) {
+ var u,
+ t = ((u = 8581), n((n.s = u)));
+ _N_E = t;
+ }
+]);
Diff for link-c31053f..6d7dcc329.js
@@ -1,47 +1,15 @@
-_N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
- [9],
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [644, 179],
{
- ObF3: function(e, n, t) {
+ 573: function(e, n, t) {
"use strict";
- t.r(n);
- var r = t("q1tI"),
- o = t.n(r),
- a = t("YFqc"),
- c = t.n(a),
- u = o.a.createElement;
- function i(e) {
- return u(
- "div",
- null,
- u("h3", null, "A Link page!"),
- u(c.a, { href: "/" }, "Go to /")
- );
- }
- (i.getInitialProps = function() {
- return {};
- }),
- (n.default = i);
- },
- V8Sf: function(e, n, t) {
- (window.__NEXT_P = window.__NEXT_P || []).push([
- "/link",
- function() {
- return t("ObF3");
- }
- ]);
- },
- YFqc: function(e, n, t) {
- e.exports = t("cTJO");
- },
- cTJO: function(e, n, t) {
- "use strict";
- var r = t("J4zp"),
- o = t("284h");
- (n.__esModule = !0), (n.default = void 0);
- var a = o(t("q1tI")),
- c = t("elyg"),
- u = t("nOHt"),
- i = t("vNVm"),
+ var r = t(3038),
+ o = t(862);
+ n.default = void 0;
+ var a = o(t(7294)),
+ c = t(1689),
+ u = t(2441),
+ i = t(5749),
l = {};
function f(e, n, t, r) {
if (e && (0, c.isLocalURL)(n)) {
@@ -74,41 +42,41 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
d = s.as,
v = e.children,
h = e.replace,
- g = e.shallow,
- y = e.scroll,
- b = e.locale;
+ y = e.shallow,
+ g = e.scroll,
+ E = e.locale;
"string" === typeof v && (v = a.default.createElement("a", null, v));
- var _ = a.Children.only(v),
- w = _ && "object" === typeof _ && _.ref,
- E = (0, i.useIntersection)({ rootMargin: "200px" }),
- m = r(E, 2),
- L = m[0],
- M = m[1],
- k = a.default.useCallback(
+ var b = a.Children.only(v),
+ _ = b && "object" === typeof b && b.ref,
+ L = (0, i.useIntersection)({ rootMargin: "200px" }),
+ k = r(L, 2),
+ m = k[0],
+ w = k[1],
+ M = a.default.useCallback(
function(e) {
- L(e),
- w &&
- ("function" === typeof w
- ? w(e)
- : "object" === typeof w && (w.current = e));
+ m(e),
+ _ &&
+ ("function" === typeof _
+ ? _(e)
+ : "object" === typeof _ && (_.current = e));
},
- [w, L]
+ [_, m]
);
(0, a.useEffect)(
function() {
- var e = M && n && (0, c.isLocalURL)(p),
- r = "undefined" !== typeof b ? b : t && t.locale,
+ var e = w && n && (0, c.isLocalURL)(p),
+ r = "undefined" !== typeof E ? E : t && t.locale,
o = l[p + "%" + d + (r ? "%" + r : "")];
e && !o && f(t, p, d, { locale: r });
},
- [d, p, M, b, n, t]
+ [d, p, w, E, n, t]
);
- var I = {
- ref: k,
+ var C = {
+ ref: M,
onClick: function(e) {
- _.props &&
- "function" === typeof _.props.onClick &&
- _.props.onClick(e),
+ b.props &&
+ "function" === typeof b.props.onClick &&
+ b.props.onClick(e),
e.defaultPrevented ||
(function(e, n, t, r, o, a, u, i) {
("A" !== e.currentTarget.nodeName ||
@@ -131,38 +99,38 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
locale: i,
scroll: u
}));
- })(e, t, p, d, h, g, y, b);
+ })(e, t, p, d, h, y, g, E);
},
onMouseEnter: function(e) {
(0, c.isLocalURL)(p) &&
- (_.props &&
- "function" === typeof _.props.onMouseEnter &&
- _.props.onMouseEnter(e),
+ (b.props &&
+ "function" === typeof b.props.onMouseEnter &&
+ b.props.onMouseEnter(e),
f(t, p, d, { priority: !0 }));
}
};
- if (e.passHref || ("a" === _.type && !("href" in _.props))) {
- var N = "undefined" !== typeof b ? b : t && t.locale,
- C =
+ if (e.passHref || ("a" === b.type && !("href" in b.props))) {
+ var I = "undefined" !== typeof E ? E : t && t.locale,
+ N =
t &&
t.isLocaleDomain &&
(0, c.getDomainLocale)(
d,
- N,
+ I,
t && t.locales,
t && t.domainLocales
);
- I.href =
- C ||
- (0, c.addBasePath)((0, c.addLocale)(d, N, t && t.defaultLocale));
+ C.href =
+ N ||
+ (0, c.addBasePath)((0, c.addLocale)(d, I, t && t.defaultLocale));
}
- return a.default.cloneElement(_, I);
+ return a.default.cloneElement(b, C);
};
n.default = s;
},
- vNVm: function(e, n, t) {
+ 5749: function(e, n, t) {
"use strict";
- var r = t("J4zp");
+ var r = t(3038);
(n.__esModule = !0),
(n.useIntersection = function(e) {
var n = e.rootMargin,
@@ -241,11 +209,50 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
[d, s]
);
});
- var o = t("q1tI"),
- a = t("0G5g"),
+ var o = t(7294),
+ a = t(8391),
c = "undefined" !== typeof IntersectionObserver;
var u = new Map();
- }
+ },
+ 8189: function(e, n, t) {
+ "use strict";
+ t.r(n);
+ var r = t(7294),
+ o = t.n(r),
+ a = t(1664),
+ c = o().createElement;
+ function u(e) {
+ return c(
+ "div",
+ null,
+ c("h3", null, "A Link page!"),
+ c(a.default, { href: "/" }, "Go to /")
+ );
+ }
+ (u.getInitialProps = function() {
+ return {};
+ }),
+ (n.default = u);
+ },
+ 7847: function(e, n, t) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/link",
+ function() {
+ return t(8189);
+ }
+ ]);
+ },
+ 1664: function(e, n, t) {
+ e.exports = t(573);
+ },
+ 4453: function() {}
},
- [["V8Sf", 0, 1, 2]]
+ function(e) {
+ e.O(0, [774, 597], function() {
+ return (n = 7847), e((e.s = n));
+ var n;
+ });
+ var n = e.O();
+ _N_E = n;
+ }
]);
Diff for routerDirect..493f2dc9d.js
deleted
Diff for routerDirect..e50665759.js
@@ -0,0 +1,39 @@
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [58, 179],
+ {
+ 1348: function(n, t, r) {
+ "use strict";
+ r.r(t);
+ var u = r(7294),
+ e = r.n(u),
+ i = (r(1163), e().createElement);
+ function o(n) {
+ return i("div", null, "I import the router directly");
+ }
+ (o.getInitialProps = function() {
+ return {};
+ }),
+ (t.default = o);
+ },
+ 5448: function(n, t, r) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/routerDirect",
+ function() {
+ return r(1348);
+ }
+ ]);
+ },
+ 1163: function(n, t, r) {
+ n.exports = r(2441);
+ },
+ 4453: function() {}
+ },
+ function(n) {
+ n.O(0, [774, 597], function() {
+ return (t = 5448), n((n.s = t));
+ var t;
+ });
+ var t = n.O();
+ _N_E = t;
+ }
+]);
Diff for withRouter-1..d427898bf.js
@@ -0,0 +1,40 @@
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [807, 179],
+ {
+ 7024: function(n, t, u) {
+ "use strict";
+ u.r(t);
+ var e = u(7294),
+ r = u.n(e),
+ i = u(1163),
+ o = r().createElement;
+ function c(n) {
+ return o("div", null, "I use withRouter");
+ }
+ (c.getInitialProps = function() {
+ return {};
+ }),
+ (t.default = (0, i.withRouter)(c));
+ },
+ 6744: function(n, t, u) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/withRouter",
+ function() {
+ return u(7024);
+ }
+ ]);
+ },
+ 1163: function(n, t, u) {
+ n.exports = u(2441);
+ },
+ 4453: function() {}
+ },
+ function(n) {
+ n.O(0, [774, 597], function() {
+ return (t = 6744), n((n.s = t));
+ var t;
+ });
+ var t = n.O();
+ _N_E = t;
+ }
+]);
Diff for withRouter-6..e15290e02.js
deleted
Diff for 677f882d2ed8..2520de6c6.js
Diff too large to display
Diff for 778-9356d64c..e6d68e712.js
Diff too large to display
Diff for framework.HASH.js
Diff too large to display
Diff for main-HASH.js
Diff too large to display
Diff for polyfills-HASH.js
failed to diff
Diff for webpack-HASH.js
@@ -1,90 +1,114 @@
-!(function(e) {
- function r(r) {
- for (
- var n, l, f = r[0], i = r[1], a = r[2], c = 0, s = [];
- c < f.length;
- c++
- )
- (l = f[c]),
- Object.prototype.hasOwnProperty.call(o, l) && o[l] && s.push(o[l][0]),
- (o[l] = 0);
- for (n in i) Object.prototype.hasOwnProperty.call(i, n) && (e[n] = i[n]);
- for (p && p(r); s.length; ) s.shift()();
- return u.push.apply(u, a || []), t();
- }
- function t() {
- for (var e, r = 0; r < u.length; r++) {
- for (var t = u[r], n = !0, f = 1; f < t.length; f++) {
- var i = t[f];
- 0 !== o[i] && (n = !1);
- }
- n && (u.splice(r--, 1), (e = l((l.s = t[0]))));
- }
- return e;
- }
- var n = {},
- o = { 0: 0 },
- u = [];
- function l(r) {
- if (n[r]) return n[r].exports;
- var t = (n[r] = { i: r, l: !1, exports: {} }),
- o = !0;
+!(function() {
+ "use strict";
+ var r = {},
+ e = {};
+ function t(n) {
+ var o = e[n];
+ if (void 0 !== o) return o.exports;
+ var i = (e[n] = { exports: {} }),
+ u = !0;
try {
- e[r].call(t.exports, t, t.exports, l), (o = !1);
+ r[n](i, i.exports, t), (u = !1);
} finally {
- o && delete n[r];
+ u && delete e[n];
}
- return (t.l = !0), t.exports;
+ return i.exports;
}
- (l.m = e),
- (l.c = n),
- (l.d = function(e, r, t) {
- l.o(e, r) || Object.defineProperty(e, r, { enumerable: !0, get: t });
- }),
- (l.r = function(e) {
- "undefined" !== typeof Symbol &&
- Symbol.toStringTag &&
- Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }),
- Object.defineProperty(e, "__esModule", { value: !0 });
- }),
- (l.t = function(e, r) {
- if ((1 & r && (e = l(e)), 8 & r)) return e;
- if (4 & r && "object" === typeof e && e && e.__esModule) return e;
- var t = Object.create(null);
- if (
- (l.r(t),
- Object.defineProperty(t, "default", { enumerable: !0, value: e }),
- 2 & r && "string" != typeof e)
- )
- for (var n in e)
- l.d(
- t,
- n,
- function(r) {
- return e[r];
- }.bind(null, n)
- );
- return t;
- }),
- (l.n = function(e) {
- var r =
- e && e.__esModule
+ (t.m = r),
+ (function() {
+ var r = [];
+ t.O = function(e, n, o, i) {
+ if (!n) {
+ var u = 1 / 0;
+ for (a = 0; a < r.length; a++) {
+ (n = r[a][0]), (o = r[a][1]), (i = r[a][2]);
+ for (var c = !0, f = 0; f < n.length; f++)
+ (!1 & i || u >= i) &&
+ Object.keys(t.O).every(function(r) {
+ return t.O[r](n[f]);
+ })
+ ? n.splice(f--, 1)
+ : ((c = !1), i < u && (u = i));
+ c && (r.splice(a--, 1), (e = o()));
+ }
+ return e;
+ }
+ i = i || 0;
+ for (var a = r.length; a > 0 && r[a - 1][2] > i; a--) r[a] = r[a - 1];
+ r[a] = [n, o, i];
+ };
+ })(),
+ (t.n = function(r) {
+ var e =
+ r && r.__esModule
? function() {
- return e.default;
+ return r.default;
}
: function() {
- return e;
+ return r;
};
- return l.d(r, "a", r), r;
+ return t.d(e, { a: e }), e;
+ }),
+ (t.d = function(r, e) {
+ for (var n in e)
+ t.o(e, n) &&
+ !t.o(r, n) &&
+ Object.defineProperty(r, n, { enumerable: !0, get: e[n] });
}),
- (l.o = function(e, r) {
- return Object.prototype.hasOwnProperty.call(e, r);
+ (t.g = (function() {
+ if ("object" === typeof globalThis) return globalThis;
+ try {
+ return this || new Function("return this")();
+ } catch (r) {
+ if ("object" === typeof window) return window;
+ }
+ })()),
+ (t.o = function(r, e) {
+ return Object.prototype.hasOwnProperty.call(r, e);
}),
- (l.p = "");
- var f = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []),
- i = f.push.bind(f);
- (f.push = r), (f = f.slice());
- for (var a = 0; a < f.length; a++) r(f[a]);
- var p = i;
- t();
-})([]);
+ (t.r = function(r) {
+ "undefined" !== typeof Symbol &&
+ Symbol.toStringTag &&
+ Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }),
+ Object.defineProperty(r, "__esModule", { value: !0 });
+ }),
+ (function() {
+ var r;
+ t.g.importScripts && (r = t.g.location + "");
+ var e = t.g.document;
+ if (!r && e && (e.currentScript && (r = e.currentScript.src), !r)) {
+ var n = e.getElementsByTagName("script");
+ n.length && (r = n[n.length - 1].src);
+ }
+ if (!r)
+ throw new Error(
+ "Automatic publicPath is not supported in this browser"
+ );
+ (r = r
+ .replace(/#.*$/, "")
+ .replace(/\?.*$/, "")
+ .replace(/\/[^\/]+$/, "/")),
Post job cleanup.
[command]/usr/bin/git version
git version 2.31.1
[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: eb40313f34963fefb44f8762ebff58427f5c8eda
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
buildDuration | 12.3s | 14.2s | |
nodeModulesSize | 46.7 MB | 46.7 MB | -325 B |
Page Load Tests Overall increase ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.522 | 2.456 | -0.07 |
/ avg req/sec | 991.12 | 1017.72 | +26.6 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.32 | 1.327 | |
/error-in-render avg req/sec | 1894.27 | 1883.28 |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
677f882d2ed8..e6c6.js gzip | 13.4 kB | 13.3 kB | -67 B |
framework.HASH.js gzip | 39 kB | 39.3 kB | |
main-HASH.js gzip | 7.12 kB | 151 B | -6.97 kB |
webpack-HASH.js gzip | 751 B | 993 B | |
778-9356d64c..e712.js gzip | N/A | 7.05 kB | N/A |
Overall change | 60.2 kB | 60.8 kB |
Legacy Client Bundles (polyfills) Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.3 kB | 31.1 kB | -156 B |
Overall change | 31.3 kB | 31.1 kB | -156 B |
Client Pages Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_app-8fbabfc..6440.js gzip | 1.28 kB | 1.3 kB | |
_error-d07ca..ef4d.js gzip | 3.71 kB | 3.68 kB | -30 B |
amp-9716187d..0aa8.js gzip | 536 B | N/A | N/A |
hooks-107e90..74c7.js gzip | 888 B | 924 B | |
index-ac435c..ecf2.js gzip | 227 B | N/A | N/A |
link-c31053f..c329.js gzip | 1.64 kB | 1.66 kB | |
routerDirect..dc9d.js gzip | 303 B | N/A | N/A |
withRouter-6..0e02.js gzip | 302 B | N/A | N/A |
amp-89a5460c..567f.js gzip | N/A | 558 B | N/A |
index-fec729..83b2.js gzip | N/A | 243 B | N/A |
routerDirect..5759.js gzip | N/A | 336 B | N/A |
withRouter-1..98bf.js gzip | N/A | 334 B | N/A |
Overall change | 8.89 kB | 9.03 kB |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_buildManifest.js gzip | 371 B | 349 B | -22 B |
Overall change | 371 B | 349 B | -22 B |
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
index.html gzip | 612 B | 610 B | -2 B |
link.html gzip | 620 B | 616 B | -4 B |
withRouter.html gzip | 607 B | 606 B | -1 B |
Overall change | 1.84 kB | 1.83 kB | -7 B |
Serverless Mode (Increase detected ⚠️ )
General Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
buildDuration | 14.4s | 18.2s | |
nodeModulesSize | 46.7 MB | 46.7 MB | -325 B |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
677f882d2ed8..e6c6.js gzip | 13.4 kB | N/A | N/A |
framework.HASH.js gzip | 39 kB | 39.3 kB | |
main-HASH.js gzip | 7.12 kB | 151 B | -6.97 kB |
webpack-HASH.js gzip | 751 B | 993 B | |
597-3f457946..288d.js gzip | N/A | 13.3 kB | N/A |
778-9356d64c..e712.js gzip | N/A | 7.05 kB | N/A |
Overall change | 60.2 kB | 60.8 kB |
Legacy Client Bundles (polyfills) Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.3 kB | 31.1 kB | -156 B |
Overall change | 31.3 kB | 31.1 kB | -156 B |
Client Pages Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_app-8fbabfc..6440.js gzip | 1.28 kB | N/A | N/A |
_error-d07ca..ef4d.js gzip | 3.71 kB | N/A | N/A |
amp-9716187d..0aa8.js gzip | 536 B | N/A | N/A |
hooks-107e90..74c7.js gzip | 888 B | N/A | N/A |
index-ac435c..ecf2.js gzip | 227 B | N/A | N/A |
link-c31053f..c329.js gzip | 1.64 kB | N/A | N/A |
routerDirect..dc9d.js gzip | 303 B | N/A | N/A |
withRouter-6..0e02.js gzip | 302 B | N/A | N/A |
_app-5cc66b2..6f03.js gzip | N/A | 1.3 kB | N/A |
_error-55112..054d.js gzip | N/A | 3.68 kB | N/A |
amp-89a5460c..567f.js gzip | N/A | 558 B | N/A |
hooks-8c2e74..be37.js gzip | N/A | 924 B | N/A |
index-fec729..83b2.js gzip | N/A | 243 B | N/A |
link-dd34d9b..0ade.js gzip | N/A | 1.66 kB | N/A |
routerDirect..5759.js gzip | N/A | 336 B | N/A |
withRouter-1..98bf.js gzip | N/A | 334 B | N/A |
Overall change | 8.89 kB | 9.03 kB |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_buildManifest.js gzip | 371 B | 349 B | -22 B |
Overall change | 371 B | 349 B | -22 B |
Serverless bundles Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_error.js | 1.37 MB | 1.35 MB | -19.1 kB |
404.html | 2.67 kB | 2.76 kB | |
500.html | 2.65 kB | 2.75 kB | |
amp.amp.html | 10.7 kB | 10.7 kB | ✓ |
amp.html | 1.86 kB | 1.96 kB | |
hooks.html | 1.92 kB | 2.01 kB | |
index.js | 1.37 MB | 1.35 MB | -19.1 kB |
link.js | 1.42 MB | 1.4 MB | -18.8 kB |
routerDirect.js | 1.42 MB | 1.4 MB | -18.8 kB |
withRouter.js | 1.42 MB | 1.4 MB | -18.8 kB |
Overall change | 7.01 MB | 6.91 MB | -94.1 kB |
Webpack 5 Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
buildDuration | 14.4s | 14.5s | |
nodeModulesSize | 46.7 MB | 46.7 MB | -325 B |
Page Load Tests Overall decrease ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.475 | 2.563 | |
/ avg req/sec | 1009.98 | 975.46 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.295 | 1.345 | |
/error-in-render avg req/sec | 1931.13 | 1858.76 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
597-3f457946..288d.js gzip | 13.3 kB | 13.3 kB | ✓ |
778-9356d64c..e712.js gzip | 7.05 kB | 7.05 kB | ✓ |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 151 B | 151 B | ✓ |
webpack-HASH.js gzip | 993 B | 993 B | ✓ |
Overall change | 60.8 kB | 60.8 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.1 kB | 31.1 kB | ✓ |
Overall change | 31.1 kB | 31.1 kB | ✓ |
Client Pages
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_app-5cc66b2..6f03.js gzip | 1.3 kB | 1.3 kB | ✓ |
_error-55112..054d.js gzip | 3.68 kB | 3.68 kB | ✓ |
amp-89a5460c..567f.js gzip | 558 B | 558 B | ✓ |
hooks-8c2e74..be37.js gzip | 924 B | 924 B | ✓ |
index-fec729..83b2.js gzip | 243 B | 243 B | ✓ |
link-dd34d9b..0ade.js gzip | 1.66 kB | 1.66 kB | ✓ |
routerDirect..5759.js gzip | 336 B | 336 B | ✓ |
withRouter-1..98bf.js gzip | 334 B | 334 B | ✓ |
Overall change | 9.03 kB | 9.03 kB | ✓ |
Client Build Manifests
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_buildManifest.js gzip | 349 B | 349 B | ✓ |
Overall change | 349 B | 349 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
index.html gzip | 610 B | 610 B | ✓ |
link.html gzip | 616 B | 616 B | ✓ |
withRouter.html gzip | 606 B | 606 B | ✓ |
Overall change | 1.83 kB | 1.83 kB | ✓ |
Diffs
Diff for _buildManifest.js
@@ -1,29 +1,21 @@
-self.__BUILD_MANIFEST = {
+(self.__BUILD_MANIFEST = {
__rewrites: { beforeFiles: [], afterFiles: [], fallback: [] },
- "/": ["static\u002Fchunks\u002Fpages\u002Findex-ac435c89e537f4e6ecf2.js"],
- "/_error": [
- "static\u002Fchunks\u002Fpages\u002F_error-d07ca8afdf6c45b9ef4d.js"
- ],
- "/amp": ["static\u002Fchunks\u002Fpages\u002Famp-9716187d43cb5ac80aa8.js"],
- "/hooks": [
- "static\u002Fchunks\u002Fpages\u002Fhooks-107e903cc2136d5974c7.js"
- ],
- "/link": ["static\u002Fchunks\u002Fpages\u002Flink-c31053f6d096d7dcc329.js"],
- "/routerDirect": [
- "static\u002Fchunks\u002Fpages\u002FrouterDirect-68414267e80493f2dc9d.js"
- ],
- "/withRouter": [
- "static\u002Fchunks\u002Fpages\u002FwithRouter-6e72b47076be15290e02.js"
- ],
+ "/": ["static/chunks/pages/index-fec729acd14e4a5583b2.js"],
+ "/_error": ["static/chunks/pages/_error-55112c9d838f988b054d.js"],
+ "/amp": ["static/chunks/pages/amp-89a5460cada4d99b567f.js"],
+ "/hooks": ["static/chunks/pages/hooks-8c2e74bb2b6bffaebe37.js"],
+ "/link": ["static/chunks/pages/link-dd34d9b14dfb3c040ade.js"],
+ "/routerDirect": ["static/chunks/pages/routerDirect-86b413d0659e50665759.js"],
+ "/withRouter": ["static/chunks/pages/withRouter-186b16dd09ed427898bf.js"],
sortedPages: [
- "\u002F",
- "\u002F_app",
- "\u002F_error",
- "\u002Famp",
- "\u002Fhooks",
- "\u002Flink",
- "\u002FrouterDirect",
- "\u002FwithRouter"
+ "/",
+ "/_app",
+ "/_error",
+ "/amp",
+ "/hooks",
+ "/link",
+ "/routerDirect",
+ "/withRouter"
]
-};
-self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB();
+}),
+ self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB();
Diff for _app-8fbabfc..bc6e06440.js
@@ -1,11 +1,30 @@
-_N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
- [4],
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [888, 179],
{
- 0: function(t, e, n) {
- n("e9+W"), (t.exports = n("nOHt"));
+ 1506: function(t) {
+ t.exports = function(t) {
+ if (void 0 === t)
+ throw new ReferenceError(
+ "this hasn't been initialised - super() hasn't been called"
+ );
+ return t;
+ };
+ },
+ 9754: function(t) {
+ function e(n) {
+ return (
+ (t.exports = e = Object.setPrototypeOf
+ ? Object.getPrototypeOf
+ : function(t) {
+ return t.__proto__ || Object.getPrototypeOf(t);
+ }),
+ e(n)
+ );
+ }
+ t.exports = e;
},
- "7W2i": function(t, e, n) {
- var r = n("SksO");
+ 2205: function(t, e, n) {
+ var r = n(9489);
t.exports = function(t, e) {
if ("function" !== typeof e && null !== e)
throw new TypeError(
@@ -17,16 +36,23 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
e && r(t, e);
};
},
- B5Ud: function(t, e, n) {
+ 8585: function(t, e, n) {
+ var r = n(8),
+ o = n(1506);
+ t.exports = function(t, e) {
+ return !e || ("object" !== r(e) && "function" !== typeof e) ? o(t) : e;
+ };
+ },
+ 6381: function(t, e, n) {
"use strict";
- var r = n("o0o1"),
- o = n("lwsE"),
- u = n("W8MJ"),
- i = n("7W2i"),
- c = n("a1gu"),
- a = n("Nsbk"),
- p = n("yXPU");
- function s(t) {
+ var r = n(7757),
+ o = n(4575),
+ u = n(3913),
+ c = n(2205),
+ i = n(8585),
+ a = n(9754),
+ p = n(8926);
+ function f(t) {
var e = (function() {
if ("undefined" === typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
@@ -49,24 +75,24 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var o = a(this).constructor;
n = Reflect.construct(r, arguments, o);
} else n = r.apply(this, arguments);
- return c(this, n);
+ return i(this, n);
};
}
- var f = n("TqRt");
+ var s = n(5318);
(e.__esModule = !0),
(e.Container = function(t) {
0;
return t.children;
}),
- (e.createUrl = v),
+ (e.createUrl = b),
(e.default = void 0);
- var l = f(n("q1tI")),
- h = n("g/15");
+ var l = s(n(7294)),
+ h = n(3937);
function _(t) {
- return d.apply(this, arguments);
+ return v.apply(this, arguments);
}
- function d() {
- return (d = p(
+ function v() {
+ return (v = p(
r.mark(function t(e) {
var n, o, u;
return r.wrap(function(t) {
@@ -92,8 +118,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
(e.AppInitialProps = h.AppInitialProps),
(e.NextWebVitalsMetric = h.NextWebVitalsMetric);
var y = (function(t) {
- i(n, t);
- var e = s(n);
+ c(n, t);
+ var e = f(n);
function n() {
return o(this, n), e.apply(this, arguments);
}
@@ -116,7 +142,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
u = t.__N_SSP;
return l.default.createElement(
n,
- Object.assign({}, r, o || u ? {} : { url: v(e) })
+ Object.assign({}, r, o || u ? {} : { url: b(e) })
);
}
}
@@ -124,7 +150,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
n
);
})(l.default.Component);
- function v(t) {
+ function b(t) {
var e = t.pathname,
n = t.asPath,
r = t.query;
@@ -161,43 +187,24 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}
(e.default = y), (y.origGetInitialProps = _), (y.getInitialProps = _);
},
- Nsbk: function(t, e) {
- function n(e) {
- return (
- (t.exports = n = Object.setPrototypeOf
- ? Object.getPrototypeOf
- : function(t) {
- return t.__proto__ || Object.getPrototypeOf(t);
- }),
- n(e)
- );
- }
- t.exports = n;
- },
- PJYZ: function(t, e) {
- t.exports = function(t) {
- if (void 0 === t)
- throw new ReferenceError(
- "this hasn't been initialised - super() hasn't been called"
- );
- return t;
- };
- },
- a1gu: function(t, e, n) {
- var r = n("cDf5"),
- o = n("PJYZ");
- t.exports = function(t, e) {
- return !e || ("object" !== r(e) && "function" !== typeof e) ? o(t) : e;
- };
- },
- "e9+W": function(t, e, n) {
+ 915: function(t, e, n) {
(window.__NEXT_P = window.__NEXT_P || []).push([
"/_app",
function() {
- return n("B5Ud");
+ return n(6381);
}
]);
- }
+ },
+ 4453: function() {}
},
- [[0, 0, 1, 2]]
+ function(t) {
+ var e = function(e) {
+ return t((t.s = e));
+ };
+ t.O(0, [774, 597], function() {
+ return e(915), e(2441);
+ });
+ var n = t.O();
+ _N_E = n;
+ }
]);
Diff for _error-d07ca..c45b9ef4d.js
@@ -1,7 +1,190 @@
-_N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
- [5],
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [820],
{
- "/0+H": function(e, t, n) {
+ 7228: function(e) {
+ e.exports = function(e, t) {
+ (null == t || t > e.length) && (t = e.length);
+ for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
+ return r;
+ };
+ },
+ 3646: function(e, t, n) {
+ var r = n(7228);
+ e.exports = function(e) {
+ if (Array.isArray(e)) return r(e);
+ };
+ },
+ 1506: function(e) {
+ e.exports = function(e) {
+ if (void 0 === e)
+ throw new ReferenceError(
+ "this hasn't been initialised - super() hasn't been called"
+ );
+ return e;
+ };
+ },
+ 4575: function(e) {
+ e.exports = function(e, t) {
+ if (!(e instanceof t))
+ throw new TypeError("Cannot call a class as a function");
+ };
+ },
+ 3913: function(e) {
+ function t(e, t) {
+ for (var n = 0; n < t.length; n++) {
+ var r = t[n];
+ (r.enumerable = r.enumerable || !1),
+ (r.configurable = !0),
+ "value" in r && (r.writable = !0),
+ Object.defineProperty(e, r.key, r);
+ }
+ }
+ e.exports = function(e, n, r) {
+ return n && t(e.prototype, n), r && t(e, r), e;
+ };
+ },
+ 9713: function(e) {
+ e.exports = function(e, t, n) {
+ return (
+ t in e
+ ? Object.defineProperty(e, t, {
+ value: n,
+ enumerable: !0,
+ configurable: !0,
+ writable: !0
+ })
+ : (e[t] = n),
+ e
+ );
+ };
+ },
+ 9754: function(e) {
+ function t(n) {
+ return (
+ (e.exports = t = Object.setPrototypeOf
+ ? Object.getPrototypeOf
+ : function(e) {
+ return e.__proto__ || Object.getPrototypeOf(e);
+ }),
+ t(n)
+ );
+ }
+ e.exports = t;
+ },
+ 2205: function(e, t, n) {
+ var r = n(9489);
+ e.exports = function(e, t) {
+ if ("function" !== typeof t && null !== t)
+ throw new TypeError(
+ "Super expression must either be null or a function"
+ );
+ (e.prototype = Object.create(t && t.prototype, {
+ constructor: { value: e, writable: !0, configurable: !0 }
+ })),
+ t && r(e, t);
+ };
+ },
+ 5318: function(e) {
+ e.exports = function(e) {
+ return e && e.__esModule ? e : { default: e };
+ };
+ },
+ 6860: function(e) {
+ e.exports = function(e) {
+ if ("undefined" !== typeof Symbol && Symbol.iterator in Object(e))
+ return Array.from(e);
+ };
+ },
+ 8206: function(e) {
+ e.exports = function() {
+ throw new TypeError(
+ "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
+ );
+ };
+ },
+ 8585: function(e, t, n) {
+ var r = n(8),
+ o = n(1506);
+ e.exports = function(e, t) {
+ return !t || ("object" !== r(t) && "function" !== typeof t) ? o(e) : t;
+ };
+ },
+ 9489: function(e) {
+ function t(n, r) {
+ return (
+ (e.exports = t =
+ Object.setPrototypeOf ||
+ function(e, t) {
+ return (e.__proto__ = t), e;
+ }),
+ t(n, r)
+ );
+ }
+ e.exports = t;
+ },
+ 319: function(e, t, n) {
+ var r = n(3646),
+ o = n(6860),
+ a = n(379),
+ i = n(8206);
+ e.exports = function(e) {
+ return r(e) || o(e) || a(e) || i();
+ };
+ },
+ 8: function(e) {
+ function t(n) {
+ return (
+ "function" === typeof Symbol && "symbol" === typeof Symbol.iterator
+ ? (e.exports = t = function(e) {
+ return typeof e;
+ })
+ : (e.exports = t = function(e) {
+ return e &&
+ "function" === typeof Symbol &&
+ e.constructor === Symbol &&
+ e !== Symbol.prototype
+ ? "symbol"
+ : typeof e;
+ }),
+ t(n)
+ );
+ }
+ e.exports = t;
+ },
+ 379: function(e, t, n) {
+ var r = n(7228);
+ e.exports = function(e, t) {
+ if (e) {
+ if ("string" === typeof e) return r(e, t);
+ var n = Object.prototype.toString.call(e).slice(8, -1);
+ return (
+ "Object" === n && e.constructor && (n = e.constructor.name),
+ "Map" === n || "Set" === n
+ ? Array.from(e)
+ : "Arguments" === n ||
+ /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
+ ? r(e, t)
+ : void 0
+ );
+ }
+ };
+ },
+ 6086: function(e) {
+ "use strict";
+ var t = Object.assign.bind(Object);
+ (e.exports = t), (e.exports.default = e.exports);
+ },
+ 3367: function(e, t, n) {
+ "use strict";
+ var r;
+ (t.__esModule = !0), (t.AmpStateContext = void 0);
+ var o = ((r = n(7294)) && r.__esModule
+ ? r
+ : { default: r }
+ ).default.createContext({});
+ t.AmpStateContext = o;
+ },
+ 7845: function(e, t, n) {
"use strict";
(t.__esModule = !0),
(t.isInAmpMode = i),
@@ -9,8 +192,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
return i(o.default.useContext(a.AmpStateContext));
});
var r,
- o = (r = n("q1tI")) && r.__esModule ? r : { default: r },
- a = n("lwAK");
+ o = (r = n(7294)) && r.__esModule ? r : { default: r },
+ a = n(3367);
function i() {
var e =
arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
@@ -23,169 +206,19 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
return n || (o && i);
}
},
- "/a9y": function(e, t, n) {
+ 4287: function(e, t, n) {
"use strict";
- var r = n("lwsE"),
- o = n("W8MJ"),
- a = n("7W2i"),
- i = n("a1gu"),
- u = n("Nsbk");
- function c(e) {
- var t = (function() {
- if ("undefined" === typeof Reflect || !Reflect.construct) return !1;
- if (Reflect.construct.sham) return !1;
- if ("function" === typeof Proxy) return !0;
- try {
- return (
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- ),
- !0
- );
- } catch (e) {
- return !1;
- }
- })();
- return function() {
- var n,
- r = u(e);
- if (t) {
- var o = u(this).constructor;
- n = Reflect.construct(r, arguments, o);
- } else n = r.apply(this, arguments);
- return i(this, n);
- };
- }
- var s = n("TqRt");
- (t.__esModule = !0), (t.default = void 0);
- var f = s(n("q1tI")),
- l = s(n("8Kt/")),
- p = {
- 400: "Bad Request",
- 404: "This page could not be found",
- 405: "Method Not Allowed",
- 500: "Internal Server Error"
- };
- function d(e) {
- var t = e.res,
- n = e.err;
- return {
- statusCode: t && t.statusCode ? t.statusCode : n ? n.statusCode : 404
- };
- }
- var y = (function(e) {
- a(n, e);
- var t = c(n);
- function n() {
- return r(this, n), t.apply(this, arguments);
- }
- return (
- o(n, [
- {
- key: "render",
- value: function() {
- var e = this.props.statusCode,
- t =
- this.props.title ||
- p[e] ||
- "An unexpected error has occurred";
- return f.default.createElement(
- "div",
- { style: h.error },
- f.default.createElement(
- l.default,
- null,
- f.default.createElement("title", null, e, ": ", t)
- ),
- f.default.createElement(
- "div",
- null,
- f.default.createElement("style", {
- dangerouslySetInnerHTML: { __html: "body { margin: 0 }" }
- }),
- e
- ? f.default.createElement("h1", { style: h.h1 }, e)
- : null,
- f.default.createElement(
- "div",
- { style: h.desc },
- f.default.createElement("h2", { style: h.h2 }, t, ".")
- )
- )
- );
- }
- }
- ]),
- n
- );
- })(f.default.Component);
- (t.default = y),
- (y.displayName = "ErrorPage"),
- (y.getInitialProps = d),
- (y.origGetInitialProps = d);
- var h = {
- error: {
- color: "#000",
- background: "#fff",
- fontFamily:
- '-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif',
- height: "100vh",
- textAlign: "center",
- display: "flex",
- flexDirection: "column",
- alignItems: "center",
- justifyContent: "center"
- },
- desc: {
- display: "inline-block",
- textAlign: "left",
- lineHeight: "49px",
- height: "49px",
- verticalAlign: "middle"
- },
- h1: {
- display: "inline-block",
- borderRight: "1px solid rgba(0, 0, 0,.3)",
- margin: 0,
- marginRight: "20px",
- padding: "10px 23px 10px 0",
- fontSize: "24px",
- fontWeight: 500,
- verticalAlign: "top"
- },
- h2: {
- fontSize: "14px",
- fontWeight: "normal",
- lineHeight: "inherit",
- margin: 0,
- padding: 0
- }
- };
- },
- "04ac": function(e, t, n) {
- (window.__NEXT_P = window.__NEXT_P || []).push([
- "/_error",
- function() {
- return n("/a9y");
- }
- ]);
- },
- "7W2i": function(e, t, n) {
- var r = n("SksO");
- e.exports = function(e, t) {
- if ("function" !== typeof t && null !== t)
- throw new TypeError(
- "Super expression must either be null or a function"
- );
- (e.prototype = Object.create(t && t.prototype, {
- constructor: { value: e, writable: !0, configurable: !0 }
- })),
- t && r(e, t);
- };
+ var r;
+ (t.__esModule = !0), (t.HeadManagerContext = void 0);
+ var o = ((r = n(7294)) && r.__esModule
+ ? r
+ : { default: r }
+ ).default.createContext({});
+ t.HeadManagerContext = o;
},
- "8Kt/": function(e, t, n) {
+ 7947: function(e, t, n) {
"use strict";
- var r = n("lSNA");
+ var r = n(9713);
function o(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -217,11 +250,11 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}
(n.default = e), t && t.set(e, n);
return n;
- })(n("q1tI")),
- u = (a = n("Xuae")) && a.__esModule ? a : { default: a },
- c = n("lwAK"),
- s = n("FYa8"),
- f = n("/0+H");
+ })(n(7294)),
+ u = (a = n(617)) && a.__esModule ? a : { default: a },
+ c = n(3367),
+ f = n(4287),
+ s = n(7845);
function l() {
if ("function" !== typeof WeakMap) return null;
var e = new WeakMap();
@@ -263,8 +296,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
)
: e.concat(t);
}
- var y = ["name", "httpEquiv", "charSet", "itemProp"];
- function h(e, t) {
+ var h = ["name", "httpEquiv", "charSet", "itemProp"];
+ function y(e, t) {
return e
.reduce(function(e, t) {
var n = i.default.Children.toArray(t.props.children);
@@ -297,15 +330,15 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
t.has(o.type) ? (a = !1) : t.add(o.type);
break;
case "meta":
- for (var c = 0, s = y.length; c < s; c++) {
- var f = y[c];
- if (o.props.hasOwnProperty(f))
- if ("charSet" === f) n.has(f) ? (a = !1) : n.add(f);
+ for (var c = 0, f = h.length; c < f; c++) {
+ var s = h[c];
+ if (o.props.hasOwnProperty(s))
+ if ("charSet" === s) n.has(s) ? (a = !1) : n.add(s);
else {
- var l = o.props[f],
- p = r[f] || new Set();
- ("name" === f && i) || !p.has(l)
- ? (p.add(l), (r[f] = p))
+ var l = o.props[s],
+ p = r[s] || new Set();
+ ("name" === s && i) || !p.has(l)
+ ? (p.add(l), (r[s] = p))
: (a = !1);
}
}
@@ -359,13 +392,13 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
function v(e) {
var t = e.children,
n = (0, i.useContext)(c.AmpStateContext),
- r = (0, i.useContext)(s.HeadManagerContext);
+ r = (0, i.useContext)(f.HeadManagerContext);
return i.default.createElement(
u.default,
{
- reduceComponentsToState: h,
+ reduceComponentsToState: y,
headManager: r,
- inAmpMode: (0, f.isInAmpMode)(n)
+ inAmpMode: (0, s.isInAmpMode)(n)
},
t
);
@@ -374,119 +407,15 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var m = v;
t.default = m;
},
- Bnag: function(e, t) {
- e.exports = function() {
- throw new TypeError(
- "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
- );
- };
- },
- EbDI: function(e, t) {
- e.exports = function(e) {
- if ("undefined" !== typeof Symbol && Symbol.iterator in Object(e))
- return Array.from(e);
- };
- },
- FYa8: function(e, t, n) {
- "use strict";
- var r;
- (t.__esModule = !0), (t.HeadManagerContext = void 0);
- var o = ((r = n("q1tI")) && r.__esModule
- ? r
- : { default: r }
- ).default.createContext({});
- t.HeadManagerContext = o;
- },
- Ijbi: function(e, t, n) {
- var r = n("WkPL");
- e.exports = function(e) {
- if (Array.isArray(e)) return r(e);
- };
- },
- Nsbk: function(e, t) {
- function n(t) {
- return (
- (e.exports = n = Object.setPrototypeOf
- ? Object.getPrototypeOf
- : function(e) {
- return e.__proto__ || Object.getPrototypeOf(e);
- }),
- n(t)
- );
- }
- e.exports = n;
- },
- PJYZ: function(e, t) {
- e.exports = function(e) {
- if (void 0 === e)
- throw new ReferenceError(
- "this hasn't been initialised - super() hasn't been called"
- );
- return e;
- };
- },
- Qetd: function(e, t, n) {
- "use strict";
- var r = Object.assign.bind(Object);
- (e.exports = r), (e.exports.default = e.exports);
- },
- RIqP: function(e, t, n) {
- var r = n("Ijbi"),
- o = n("EbDI"),
- a = n("ZhPi"),
- i = n("Bnag");
- e.exports = function(e) {
- return r(e) || o(e) || a(e) || i();
- };
- },
- SksO: function(e, t) {
- function n(t, r) {
- return (
- (e.exports = n =
- Object.setPrototypeOf ||
- function(e, t) {
- return (e.__proto__ = t), e;
- }),
- n(t, r)
- );
- }
- e.exports = n;
- },
- TqRt: function(e, t) {
- e.exports = function(e) {
- return e && e.__esModule ? e : { default: e };
- };
- },
- W8MJ: function(e, t) {
- function n(e, t) {
- for (var n = 0; n < t.length; n++) {
- var r = t[n];
- (r.enumerable = r.enumerable || !1),
- (r.configurable = !0),
- "value" in r && (r.writable = !0),
- Object.defineProperty(e, r.key, r);
- }
- }
- e.exports = function(e, t, r) {
- return t && n(e.prototype, t), r && n(e, r), e;
- };
- },
- WkPL: function(e, t) {
- e.exports = function(e, t) {
- (null == t || t > e.length) && (t = e.length);
- for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
- return r;
- };
- },
- Xuae: function(e, t, n) {
+ 617: function(e, t, n) {
"use strict";
- var r = n("RIqP"),
- o = n("lwsE"),
- a = n("W8MJ"),
- i = (n("PJYZ"), n("7W2i")),
- u = n("a1gu"),
- c = n("Nsbk");
- function s(e) {
+ var r = n(319),
+ o = n(4575),
+ a = n(3913),
+ i = (n(1506), n(2205)),
+ u = n(8585),
+ c = n(9754);
+ function f(e) {
var t = (function() {
if ("undefined" === typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
@@ -513,10 +442,10 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
};
}
(t.__esModule = !0), (t.default = void 0);
- var f = n("q1tI"),
+ var s = n(7294),
l = (function(e) {
i(n, e);
- var t = s(n);
+ var t = f(n);
function n(e) {
var a;
return (
@@ -569,85 +498,163 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
]),
n
);
- })(f.Component);
+ })(s.Component);
t.default = l;
},
- ZhPi: function(e, t, n) {
- var r = n("WkPL");
- e.exports = function(e, t) {
- if (e) {
- if ("string" === typeof e) return r(e, t);
- var n = Object.prototype.toString.call(e).slice(8, -1);
- return (
- "Object" === n && e.constructor && (n = e.constructor.name),
- "Map" === n || "Set" === n
- ? Array.from(e)
- : "Arguments" === n ||
- /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
- ? r(e, t)
- : void 0
- );
- }
- };
- },
- a1gu: function(e, t, n) {
- var r = n("cDf5"),
- o = n("PJYZ");
- e.exports = function(e, t) {
- return !t || ("object" !== r(t) && "function" !== typeof t) ? o(e) : t;
- };
- },
- cDf5: function(e, t) {
- function n(t) {
- return (
- "function" === typeof Symbol && "symbol" === typeof Symbol.iterator
- ? (e.exports = n = function(e) {
- return typeof e;
- })
- : (e.exports = n = function(e) {
- return e &&
- "function" === typeof Symbol &&
- e.constructor === Symbol &&
- e !== Symbol.prototype
- ? "symbol"
- : typeof e;
- }),
- n(t)
- );
+ 900: function(e, t, n) {
+ "use strict";
+ var r = n(4575),
+ o = n(3913),
+ a = n(2205),
+ i = n(8585),
+ u = n(9754);
+ function c(e) {
+ var t = (function() {
+ if ("undefined" === typeof Reflect || !Reflect.construct) return !1;
+ if (Reflect.construct.sham) return !1;
+ if ("function" === typeof Proxy) return !0;
+ try {
+ return (
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ ),
+ !0
+ );
+ } catch (e) {
+ return !1;
+ }
+ })();
+ return function() {
+ var n,
+ r = u(e);
+ if (t) {
+ var o = u(this).constructor;
+ n = Reflect.construct(r, arguments, o);
+ } else n = r.apply(this, arguments);
+ return i(this, n);
+ };
}
- e.exports = n;
- },
- lSNA: function(e, t) {
- e.exports = function(e, t, n) {
+ var f = n(5318);
+ (t.__esModule = !0), (t.default = void 0);
+ var s = f(n(7294)),
+ l = f(n(7947)),
+ p = {
+ 400: "Bad Request",
+ 404: "This page could not be found",
+ 405: "Method Not Allowed",
+ 500: "Internal Server Error"
+ };
+ function d(e) {
+ var t = e.res,
+ n = e.err;
+ return {
+ statusCode: t && t.statusCode ? t.statusCode : n ? n.statusCode : 404
+ };
+ }
+ var h = (function(e) {
+ a(n, e);
+ var t = c(n);
+ function n() {
+ return r(this, n), t.apply(this, arguments);
+ }
return (
- t in e
- ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- })
- : (e[t] = n),
- e
+ o(n, [
+ {
+ key: "render",
+ value: function() {
+ var e = this.props.statusCode,
+ t =
+ this.props.title ||
+ p[e] ||
+ "An unexpected error has occurred";
+ return s.default.createElement(
+ "div",
+ { style: y.error },
+ s.default.createElement(
+ l.default,
+ null,
+ s.default.createElement("title", null, e, ": ", t)
+ ),
+ s.default.createElement(
+ "div",
+ null,
+ s.default.createElement("style", {
+ dangerouslySetInnerHTML: { __html: "body { margin: 0 }" }
+ }),
+ e
+ ? s.default.createElement("h1", { style: y.h1 }, e)
+ : null,
+ s.default.createElement(
+ "div",
+ { style: y.desc },
+ s.default.createElement("h2", { style: y.h2 }, t, ".")
+ )
+ )
+ );
+ }
+ }
+ ]),
+ n
);
+ })(s.default.Component);
+ (t.default = h),
+ (h.displayName = "ErrorPage"),
+ (h.getInitialProps = d),
+ (h.origGetInitialProps = d);
+ var y = {
+ error: {
+ color: "#000",
+ background: "#fff",
+ fontFamily:
+ '-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif',
+ height: "100vh",
+ textAlign: "center",
+ display: "flex",
+ flexDirection: "column",
+ alignItems: "center",
+ justifyContent: "center"
+ },
+ desc: {
+ display: "inline-block",
+ textAlign: "left",
+ lineHeight: "49px",
+ height: "49px",
+ verticalAlign: "middle"
+ },
+ h1: {
+ display: "inline-block",
+ borderRight: "1px solid rgba(0, 0, 0,.3)",
+ margin: 0,
+ marginRight: "20px",
+ padding: "10px 23px 10px 0",
+ fontSize: "24px",
+ fontWeight: 500,
+ verticalAlign: "top"
+ },
+ h2: {
+ fontSize: "14px",
+ fontWeight: "normal",
+ lineHeight: "inherit",
+ margin: 0,
+ padding: 0
+ }
};
},
- lwAK: function(e, t, n) {
- "use strict";
- var r;
- (t.__esModule = !0), (t.AmpStateContext = void 0);
- var o = ((r = n("q1tI")) && r.__esModule
- ? r
- : { default: r }
- ).default.createContext({});
- t.AmpStateContext = o;
- },
- lwsE: function(e, t) {
- e.exports = function(e, t) {
- if (!(e instanceof t))
- throw new TypeError("Cannot call a class as a function");
- };
+ 4977: function(e, t, n) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/_error",
+ function() {
+ return n(900);
+ }
+ ]);
}
},
- [["04ac", 0, 1]]
+ function(e) {
+ e.O(0, [774], function() {
+ return (t = 4977), e((e.s = t));
+ var t;
+ });
+ var t = e.O();
+ _N_E = t;
+ }
]);
Diff for amp-89a5460c..4d99b567f.js
@@ -0,0 +1,78 @@
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [216],
+ {
+ 9135: function(t, e, n) {
+ t.exports = n(7845);
+ },
+ 6086: function(t) {
+ "use strict";
+ var e = Object.assign.bind(Object);
+ (t.exports = e), (t.exports.default = t.exports);
+ },
+ 3367: function(t, e, n) {
+ "use strict";
+ var u;
+ (e.__esModule = !0), (e.AmpStateContext = void 0);
+ var o = ((u = n(7294)) && u.__esModule
+ ? u
+ : { default: u }
+ ).default.createContext({});
+ e.AmpStateContext = o;
+ },
+ 7845: function(t, e, n) {
+ "use strict";
+ (e.__esModule = !0),
+ (e.isInAmpMode = i),
+ (e.useAmp = function() {
+ return i(o.default.useContext(r.AmpStateContext));
+ });
+ var u,
+ o = (u = n(7294)) && u.__esModule ? u : { default: u },
+ r = n(3367);
+ function i() {
+ var t =
+ arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ e = t.ampFirst,
+ n = void 0 !== e && e,
+ u = t.hybrid,
+ o = void 0 !== u && u,
+ r = t.hasQuery,
+ i = void 0 !== r && r;
+ return n || (o && i);
+ }
+ },
+ 6332: function(t, e, n) {
+ "use strict";
+ n.r(e),
+ n.d(e, {
+ config: function() {
+ return o;
+ },
+ default: function() {
+ return r;
+ }
+ });
+ var u = n(9135),
+ o = { amp: "hybrid" };
+ function r(t) {
+ return (0, u.useAmp)() ? "AMP mode" : "normal mode";
+ }
+ },
+ 6071: function(t, e, n) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/amp",
+ function() {
+ return n(6332);
+ }
+ ]);
+ }
+ },
+ function(t) {
+ t.O(0, [774], function() {
+ return (e = 6071), t((t.s = e));
+ var e;
+ });
+ var e = t.O();
+ _N_E = e;
+ }
+]);
Diff for amp-9716187d..b5ac80aa8.js
deleted
Diff for hooks-107e90..36d5974c7.js
@@ -1,7 +1,12 @@
-_N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
- [7],
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [757],
{
- "+MDD": function(t, n, r) {
+ 6086: function(t) {
+ "use strict";
+ var n = Object.assign.bind(Object);
+ (t.exports = n), (t.exports.default = t.exports);
+ },
+ 7690: function(t, n, r) {
"use strict";
function e(t, n) {
(null == n || n > t.length) && (n = t.length);
@@ -18,21 +23,21 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var r = [],
e = !0,
o = !1,
- i = void 0;
+ u = void 0;
try {
for (
- var a, u = t[Symbol.iterator]();
- !(e = (a = u.next()).done) &&
- (r.push(a.value), !n || r.length !== n);
+ var i, a = t[Symbol.iterator]();
+ !(e = (i = a.next()).done) &&
+ (r.push(i.value), !n || r.length !== n);
e = !0
);
} catch (c) {
- (o = !0), (i = c);
+ (o = !0), (u = c);
} finally {
try {
- e || null == u.return || u.return();
+ e || null == a.return || a.return();
} finally {
- if (o) throw i;
+ if (o) throw u;
}
}
return r;
@@ -60,52 +65,59 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
})()
);
}
- r.r(n);
- var i = r("q1tI"),
- a = r.n(i),
- u = a.a.createElement;
- n.default = function() {
- var t = o(a.a.useState(0), 2),
- n = t[0],
- r = t[1],
- e = Object(i.useState)(0),
- c = e[0],
- l = e[1],
- s = a.a.useCallback(
- function() {
- r(n + 1);
- },
- [n]
- ),
- f = Object(i.useCallback)(
- function() {
- l(c + 1);
- },
- [c]
+ r.r(n),
+ r.d(n, {
+ default: function() {
+ return c;
+ }
+ });
+ var u = r(7294),
+ i = r.n(u),
+ a = i().createElement,
+ c = function() {
+ var t = o(i().useState(0), 2),
+ n = t[0],
+ r = t[1],
+ e = (0, u.useState)(0),
+ c = e[0],
+ l = e[1],
+ f = i().useCallback(
+ function() {
+ r(n + 1);
+ },
+ [n]
+ ),
+ s = (0, u.useCallback)(
+ function() {
+ l(c + 1);
+ },
+ [c]
+ );
+ return a(
+ i().Fragment,
+ null,
+ a("h3", null, "Clicks ", n),
+ a("button", { onClick: f }, "Click me"),
+ a("h3", null, "Clicks ", c),
+ a("button", { onClick: s }, "Click me")
);
- return u(
- a.a.Fragment,
- null,
- u("h3", null, "Clicks ", n),
- u("button", { onClick: s }, "Click me"),
- u("h3", null, "Clicks ", c),
- u("button", { onClick: f }, "Click me")
- );
- };
- },
- Qetd: function(t, n, r) {
- "use strict";
- var e = Object.assign.bind(Object);
- (t.exports = e), (t.exports.default = t.exports);
+ };
},
- g1vQ: function(t, n, r) {
+ 1470: function(t, n, r) {
(window.__NEXT_P = window.__NEXT_P || []).push([
"/hooks",
function() {
- return r("+MDD");
+ return r(7690);
}
]);
}
},
- [["g1vQ", 0, 1]]
+ function(t) {
+ t.O(0, [774], function() {
+ return (n = 1470), t((t.s = n));
+ var n;
+ });
+ var n = t.O();
+ _N_E = n;
+ }
]);
Diff for index-ac435c..7f4e6ecf2.js
deleted
Diff for index-fec729..e4a5583b2.js
@@ -0,0 +1,29 @@
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [405],
+ {
+ 8474: function(n, u, t) {
+ "use strict";
+ t.r(u);
+ var r = function() {
+ return "Hello world \ud83d\udc4b";
+ };
+ (r.getInitialProps = function() {
+ return {};
+ }),
+ (u.default = r);
+ },
+ 8581: function(n, u, t) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/",
+ function() {
+ return t(8474);
+ }
+ ]);
+ }
+ },
+ function(n) {
+ var u,
+ t = ((u = 8581), n((n.s = u)));
+ _N_E = t;
+ }
+]);
Diff for link-c31053f..6d7dcc329.js
@@ -1,47 +1,15 @@
-_N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
- [9],
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [644, 179],
{
- ObF3: function(e, n, t) {
+ 573: function(e, n, t) {
"use strict";
- t.r(n);
- var r = t("q1tI"),
- o = t.n(r),
- a = t("YFqc"),
- c = t.n(a),
- u = o.a.createElement;
- function i(e) {
- return u(
- "div",
- null,
- u("h3", null, "A Link page!"),
- u(c.a, { href: "/" }, "Go to /")
- );
- }
- (i.getInitialProps = function() {
- return {};
- }),
- (n.default = i);
- },
- V8Sf: function(e, n, t) {
- (window.__NEXT_P = window.__NEXT_P || []).push([
- "/link",
- function() {
- return t("ObF3");
- }
- ]);
- },
- YFqc: function(e, n, t) {
- e.exports = t("cTJO");
- },
- cTJO: function(e, n, t) {
- "use strict";
- var r = t("J4zp"),
- o = t("284h");
- (n.__esModule = !0), (n.default = void 0);
- var a = o(t("q1tI")),
- c = t("elyg"),
- u = t("nOHt"),
- i = t("vNVm"),
+ var r = t(3038),
+ o = t(862);
+ n.default = void 0;
+ var a = o(t(7294)),
+ c = t(1689),
+ u = t(2441),
+ i = t(5749),
l = {};
function f(e, n, t, r) {
if (e && (0, c.isLocalURL)(n)) {
@@ -74,41 +42,41 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
d = s.as,
v = e.children,
h = e.replace,
- g = e.shallow,
- y = e.scroll,
- b = e.locale;
+ y = e.shallow,
+ g = e.scroll,
+ E = e.locale;
"string" === typeof v && (v = a.default.createElement("a", null, v));
- var _ = a.Children.only(v),
- w = _ && "object" === typeof _ && _.ref,
- E = (0, i.useIntersection)({ rootMargin: "200px" }),
- m = r(E, 2),
- L = m[0],
- M = m[1],
- k = a.default.useCallback(
+ var b = a.Children.only(v),
+ _ = b && "object" === typeof b && b.ref,
+ L = (0, i.useIntersection)({ rootMargin: "200px" }),
+ k = r(L, 2),
+ m = k[0],
+ w = k[1],
+ M = a.default.useCallback(
function(e) {
- L(e),
- w &&
- ("function" === typeof w
- ? w(e)
- : "object" === typeof w && (w.current = e));
+ m(e),
+ _ &&
+ ("function" === typeof _
+ ? _(e)
+ : "object" === typeof _ && (_.current = e));
},
- [w, L]
+ [_, m]
);
(0, a.useEffect)(
function() {
- var e = M && n && (0, c.isLocalURL)(p),
- r = "undefined" !== typeof b ? b : t && t.locale,
+ var e = w && n && (0, c.isLocalURL)(p),
+ r = "undefined" !== typeof E ? E : t && t.locale,
o = l[p + "%" + d + (r ? "%" + r : "")];
e && !o && f(t, p, d, { locale: r });
},
- [d, p, M, b, n, t]
+ [d, p, w, E, n, t]
);
- var I = {
- ref: k,
+ var C = {
+ ref: M,
onClick: function(e) {
- _.props &&
- "function" === typeof _.props.onClick &&
- _.props.onClick(e),
+ b.props &&
+ "function" === typeof b.props.onClick &&
+ b.props.onClick(e),
e.defaultPrevented ||
(function(e, n, t, r, o, a, u, i) {
("A" !== e.currentTarget.nodeName ||
@@ -131,38 +99,38 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
locale: i,
scroll: u
}));
- })(e, t, p, d, h, g, y, b);
+ })(e, t, p, d, h, y, g, E);
},
onMouseEnter: function(e) {
(0, c.isLocalURL)(p) &&
- (_.props &&
- "function" === typeof _.props.onMouseEnter &&
- _.props.onMouseEnter(e),
+ (b.props &&
+ "function" === typeof b.props.onMouseEnter &&
+ b.props.onMouseEnter(e),
f(t, p, d, { priority: !0 }));
}
};
- if (e.passHref || ("a" === _.type && !("href" in _.props))) {
- var N = "undefined" !== typeof b ? b : t && t.locale,
- C =
+ if (e.passHref || ("a" === b.type && !("href" in b.props))) {
+ var I = "undefined" !== typeof E ? E : t && t.locale,
+ N =
t &&
t.isLocaleDomain &&
(0, c.getDomainLocale)(
d,
- N,
+ I,
t && t.locales,
t && t.domainLocales
);
- I.href =
- C ||
- (0, c.addBasePath)((0, c.addLocale)(d, N, t && t.defaultLocale));
+ C.href =
+ N ||
+ (0, c.addBasePath)((0, c.addLocale)(d, I, t && t.defaultLocale));
}
- return a.default.cloneElement(_, I);
+ return a.default.cloneElement(b, C);
};
n.default = s;
},
- vNVm: function(e, n, t) {
+ 5749: function(e, n, t) {
"use strict";
- var r = t("J4zp");
+ var r = t(3038);
(n.__esModule = !0),
(n.useIntersection = function(e) {
var n = e.rootMargin,
@@ -241,11 +209,50 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
[d, s]
);
});
- var o = t("q1tI"),
- a = t("0G5g"),
+ var o = t(7294),
+ a = t(8391),
c = "undefined" !== typeof IntersectionObserver;
var u = new Map();
- }
+ },
+ 8189: function(e, n, t) {
+ "use strict";
+ t.r(n);
+ var r = t(7294),
+ o = t.n(r),
+ a = t(1664),
+ c = o().createElement;
+ function u(e) {
+ return c(
+ "div",
+ null,
+ c("h3", null, "A Link page!"),
+ c(a.default, { href: "/" }, "Go to /")
+ );
+ }
+ (u.getInitialProps = function() {
+ return {};
+ }),
+ (n.default = u);
+ },
+ 7847: function(e, n, t) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/link",
+ function() {
+ return t(8189);
+ }
+ ]);
+ },
+ 1664: function(e, n, t) {
+ e.exports = t(573);
+ },
+ 4453: function() {}
},
- [["V8Sf", 0, 1, 2]]
+ function(e) {
+ e.O(0, [774, 597], function() {
+ return (n = 7847), e((e.s = n));
+ var n;
+ });
+ var n = e.O();
+ _N_E = n;
+ }
]);
Diff for routerDirect..493f2dc9d.js
deleted
Diff for routerDirect..e50665759.js
@@ -0,0 +1,39 @@
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [58, 179],
+ {
+ 1348: function(n, t, r) {
+ "use strict";
+ r.r(t);
+ var u = r(7294),
+ e = r.n(u),
+ i = (r(1163), e().createElement);
+ function o(n) {
+ return i("div", null, "I import the router directly");
+ }
+ (o.getInitialProps = function() {
+ return {};
+ }),
+ (t.default = o);
+ },
+ 5448: function(n, t, r) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/routerDirect",
+ function() {
+ return r(1348);
+ }
+ ]);
+ },
+ 1163: function(n, t, r) {
+ n.exports = r(2441);
+ },
+ 4453: function() {}
+ },
+ function(n) {
+ n.O(0, [774, 597], function() {
+ return (t = 5448), n((n.s = t));
+ var t;
+ });
+ var t = n.O();
+ _N_E = t;
+ }
+]);
Diff for withRouter-1..d427898bf.js
@@ -0,0 +1,40 @@
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [807, 179],
+ {
+ 7024: function(n, t, u) {
+ "use strict";
+ u.r(t);
+ var e = u(7294),
+ r = u.n(e),
+ i = u(1163),
+ o = r().createElement;
+ function c(n) {
+ return o("div", null, "I use withRouter");
+ }
+ (c.getInitialProps = function() {
+ return {};
+ }),
+ (t.default = (0, i.withRouter)(c));
+ },
+ 6744: function(n, t, u) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/withRouter",
+ function() {
+ return u(7024);
+ }
+ ]);
+ },
+ 1163: function(n, t, u) {
+ n.exports = u(2441);
+ },
+ 4453: function() {}
+ },
+ function(n) {
+ n.O(0, [774, 597], function() {
+ return (t = 6744), n((n.s = t));
+ var t;
+ });
+ var t = n.O();
+ _N_E = t;
+ }
+]);
Diff for withRouter-6..e15290e02.js
deleted
Diff for 677f882d2ed8..2520de6c6.js
Diff too large to display
Diff for 778-9356d64c..e6d68e712.js
Diff too large to display
Diff for framework.HASH.js
Diff too large to display
Diff for main-HASH.js
Diff too large to display
Diff for polyfills-HASH.js
failed to diff
Diff for webpack-HASH.js
@@ -1,90 +1,114 @@
-!(function(e) {
- function r(r) {
- for (
- var n, l, f = r[0], i = r[1], a = r[2], c = 0, s = [];
- c < f.length;
- c++
- )
- (l = f[c]),
- Object.prototype.hasOwnProperty.call(o, l) && o[l] && s.push(o[l][0]),
- (o[l] = 0);
- for (n in i) Object.prototype.hasOwnProperty.call(i, n) && (e[n] = i[n]);
- for (p && p(r); s.length; ) s.shift()();
- return u.push.apply(u, a || []), t();
- }
- function t() {
- for (var e, r = 0; r < u.length; r++) {
- for (var t = u[r], n = !0, f = 1; f < t.length; f++) {
- var i = t[f];
- 0 !== o[i] && (n = !1);
- }
- n && (u.splice(r--, 1), (e = l((l.s = t[0]))));
- }
- return e;
- }
- var n = {},
- o = { 0: 0 },
- u = [];
- function l(r) {
- if (n[r]) return n[r].exports;
- var t = (n[r] = { i: r, l: !1, exports: {} }),
- o = !0;
+!(function() {
+ "use strict";
+ var r = {},
+ e = {};
+ function t(n) {
+ var o = e[n];
+ if (void 0 !== o) return o.exports;
+ var i = (e[n] = { exports: {} }),
+ u = !0;
try {
- e[r].call(t.exports, t, t.exports, l), (o = !1);
+ r[n](i, i.exports, t), (u = !1);
} finally {
- o && delete n[r];
+ u && delete e[n];
}
- return (t.l = !0), t.exports;
+ return i.exports;
}
- (l.m = e),
- (l.c = n),
- (l.d = function(e, r, t) {
- l.o(e, r) || Object.defineProperty(e, r, { enumerable: !0, get: t });
- }),
- (l.r = function(e) {
- "undefined" !== typeof Symbol &&
- Symbol.toStringTag &&
- Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }),
- Object.defineProperty(e, "__esModule", { value: !0 });
- }),
- (l.t = function(e, r) {
- if ((1 & r && (e = l(e)), 8 & r)) return e;
- if (4 & r && "object" === typeof e && e && e.__esModule) return e;
- var t = Object.create(null);
- if (
- (l.r(t),
- Object.defineProperty(t, "default", { enumerable: !0, value: e }),
- 2 & r && "string" != typeof e)
- )
- for (var n in e)
- l.d(
- t,
- n,
- function(r) {
- return e[r];
- }.bind(null, n)
- );
- return t;
- }),
- (l.n = function(e) {
- var r =
- e && e.__esModule
+ (t.m = r),
+ (function() {
+ var r = [];
+ t.O = function(e, n, o, i) {
+ if (!n) {
+ var u = 1 / 0;
+ for (a = 0; a < r.length; a++) {
+ (n = r[a][0]), (o = r[a][1]), (i = r[a][2]);
+ for (var c = !0, f = 0; f < n.length; f++)
+ (!1 & i || u >= i) &&
+ Object.keys(t.O).every(function(r) {
+ return t.O[r](n[f]);
+ })
+ ? n.splice(f--, 1)
+ : ((c = !1), i < u && (u = i));
+ c && (r.splice(a--, 1), (e = o()));
+ }
+ return e;
+ }
+ i = i || 0;
+ for (var a = r.length; a > 0 && r[a - 1][2] > i; a--) r[a] = r[a - 1];
+ r[a] = [n, o, i];
+ };
+ })(),
+ (t.n = function(r) {
+ var e =
+ r && r.__esModule
? function() {
- return e.default;
+ return r.default;
}
: function() {
- return e;
+ return r;
};
- return l.d(r, "a", r), r;
+ return t.d(e, { a: e }), e;
+ }),
+ (t.d = function(r, e) {
+ for (var n in e)
+ t.o(e, n) &&
+ !t.o(r, n) &&
+ Object.defineProperty(r, n, { enumerable: !0, get: e[n] });
}),
- (l.o = function(e, r) {
- return Object.prototype.hasOwnProperty.call(e, r);
+ (t.g = (function() {
+ if ("object" === typeof globalThis) return globalThis;
+ try {
+ return this || new Function("return this")();
+ } catch (r) {
+ if ("object" === typeof window) return window;
+ }
+ })()),
+ (t.o = function(r, e) {
+ return Object.prototype.hasOwnProperty.call(r, e);
}),
- (l.p = "");
- var f = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []),
- i = f.push.bind(f);
- (f.push = r), (f = f.slice());
- for (var a = 0; a < f.length; a++) r(f[a]);
- var p = i;
- t();
-})([]);
+ (t.r = function(r) {
+ "undefined" !== typeof Symbol &&
+ Symbol.toStringTag &&
+ Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }),
+ Object.defineProperty(r, "__esModule", { value: !0 });
+ }),
+ (function() {
+ var r;
+ t.g.importScripts && (r = t.g.location + "");
+ var e = t.g.document;
+ if (!r && e && (e.currentScript && (r = e.currentScript.src), !r)) {
+ var n = e.getElementsByTagName("script");
+ n.length && (r = n[n.length - 1].src);
+ }
+ if (!r)
+ throw new Error(
+ "Automatic publicPath is not supported in this browser"
+ );
+ (r = r
+ .replace(/#.*$/, "")
+ .replace(/\?.*$/, "")
+ .replace(/\/[^\/]+$/, "
Post job cleanup.
[command]/usr/bin/git version
git version 2.31.1
[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: 538a24577d82873279ddd603075595b999ca11ea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally 👍
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
buildDuration | 11.1s | 13.2s | |
nodeModulesSize | 46.7 MB | 46.7 MB | -325 B |
Page Load Tests Overall increase ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.414 | 2.304 | -0.11 |
/ avg req/sec | 1035.72 | 1085.12 | +49.4 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.373 | 1.331 | -0.04 |
/error-in-render avg req/sec | 1821.12 | 1877.59 | +56.47 |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
677f882d2ed8..e6c6.js gzip | 13.4 kB | 13.3 kB | -67 B |
framework.HASH.js gzip | 39 kB | 39.3 kB | |
main-HASH.js gzip | 7.12 kB | 151 B | -6.97 kB |
webpack-HASH.js gzip | 751 B | 993 B | |
778-f693fbd0..44d5.js gzip | N/A | 7.05 kB | N/A |
Overall change | 60.2 kB | 60.8 kB |
Legacy Client Bundles (polyfills) Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.3 kB | 31.1 kB | -156 B |
Overall change | 31.3 kB | 31.1 kB | -156 B |
Client Pages Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_app-8fbabfc..6440.js gzip | 1.28 kB | 1.3 kB | |
_error-d07ca..ef4d.js gzip | 3.71 kB | 3.68 kB | -30 B |
amp-9716187d..0aa8.js gzip | 536 B | N/A | N/A |
hooks-107e90..74c7.js gzip | 888 B | 924 B | |
index-ac435c..ecf2.js gzip | 227 B | N/A | N/A |
link-c31053f..c329.js gzip | 1.64 kB | 1.66 kB | |
routerDirect..dc9d.js gzip | 303 B | N/A | N/A |
withRouter-6..0e02.js gzip | 302 B | N/A | N/A |
amp-89a5460c..567f.js gzip | N/A | 558 B | N/A |
index-fec729..83b2.js gzip | N/A | 243 B | N/A |
routerDirect..5759.js gzip | N/A | 336 B | N/A |
withRouter-1..98bf.js gzip | N/A | 334 B | N/A |
Overall change | 8.89 kB | 9.03 kB |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_buildManifest.js gzip | 371 B | 349 B | -22 B |
Overall change | 371 B | 349 B | -22 B |
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
index.html gzip | 613 B | 611 B | -2 B |
link.html gzip | 620 B | 616 B | -4 B |
withRouter.html gzip | 607 B | 605 B | -2 B |
Overall change | 1.84 kB | 1.83 kB | -8 B |
Serverless Mode (Increase detected ⚠️ )
General Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
buildDuration | 12.1s | 15.7s | |
nodeModulesSize | 46.7 MB | 46.7 MB | -325 B |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
677f882d2ed8..e6c6.js gzip | 13.4 kB | N/A | N/A |
framework.HASH.js gzip | 39 kB | 39.3 kB | |
main-HASH.js gzip | 7.12 kB | 151 B | -6.97 kB |
webpack-HASH.js gzip | 751 B | 993 B | |
597-3f457946..288d.js gzip | N/A | 13.3 kB | N/A |
778-f693fbd0..44d5.js gzip | N/A | 7.05 kB | N/A |
Overall change | 60.2 kB | 60.8 kB |
Legacy Client Bundles (polyfills) Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.3 kB | 31.1 kB | -156 B |
Overall change | 31.3 kB | 31.1 kB | -156 B |
Client Pages Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_app-8fbabfc..6440.js gzip | 1.28 kB | N/A | N/A |
_error-d07ca..ef4d.js gzip | 3.71 kB | N/A | N/A |
amp-9716187d..0aa8.js gzip | 536 B | N/A | N/A |
hooks-107e90..74c7.js gzip | 888 B | N/A | N/A |
index-ac435c..ecf2.js gzip | 227 B | N/A | N/A |
link-c31053f..c329.js gzip | 1.64 kB | N/A | N/A |
routerDirect..dc9d.js gzip | 303 B | N/A | N/A |
withRouter-6..0e02.js gzip | 302 B | N/A | N/A |
_app-5cc66b2..6f03.js gzip | N/A | 1.3 kB | N/A |
_error-55112..054d.js gzip | N/A | 3.68 kB | N/A |
amp-89a5460c..567f.js gzip | N/A | 558 B | N/A |
hooks-8c2e74..be37.js gzip | N/A | 924 B | N/A |
index-fec729..83b2.js gzip | N/A | 243 B | N/A |
link-dd34d9b..0ade.js gzip | N/A | 1.66 kB | N/A |
routerDirect..5759.js gzip | N/A | 336 B | N/A |
withRouter-1..98bf.js gzip | N/A | 334 B | N/A |
Overall change | 8.89 kB | 9.03 kB |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_buildManifest.js gzip | 371 B | 349 B | -22 B |
Overall change | 371 B | 349 B | -22 B |
Serverless bundles Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_error.js | 1.37 MB | 1.35 MB | -19.1 kB |
404.html | 2.67 kB | 2.76 kB | |
500.html | 2.65 kB | 2.75 kB | |
amp.amp.html | 10.7 kB | 10.7 kB | ✓ |
amp.html | 1.86 kB | 1.96 kB | |
hooks.html | 1.92 kB | 2.01 kB | |
index.js | 1.37 MB | 1.35 MB | -19.1 kB |
link.js | 1.42 MB | 1.4 MB | -18.8 kB |
routerDirect.js | 1.42 MB | 1.4 MB | -18.8 kB |
withRouter.js | 1.42 MB | 1.4 MB | -18.8 kB |
Overall change | 7.01 MB | 6.91 MB | -94.1 kB |
Webpack 5 Mode (Increase detected ⚠️ )
General Overall decrease ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
buildDuration | 12.3s | 12.6s | |
nodeModulesSize | 46.7 MB | 46.7 MB | -325 B |
Page Load Tests Overall increase ✓
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.302 | 2.331 | |
/ avg req/sec | 1086.1 | 1072.32 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.332 | 1.292 | -0.04 |
/error-in-render avg req/sec | 1877.55 | 1935.39 | +57.84 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
597-3f457946..288d.js gzip | 13.3 kB | 13.3 kB | ✓ |
778-f693fbd0..44d5.js gzip | 7.05 kB | 7.05 kB | ✓ |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 151 B | 151 B | ✓ |
webpack-HASH.js gzip | 993 B | 993 B | ✓ |
Overall change | 60.8 kB | 60.8 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.1 kB | 31.1 kB | ✓ |
Overall change | 31.1 kB | 31.1 kB | ✓ |
Client Pages
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_app-5cc66b2..6f03.js gzip | 1.3 kB | 1.3 kB | ✓ |
_error-55112..054d.js gzip | 3.68 kB | 3.68 kB | ✓ |
amp-89a5460c..567f.js gzip | 558 B | 558 B | ✓ |
hooks-8c2e74..be37.js gzip | 924 B | 924 B | ✓ |
index-fec729..83b2.js gzip | 243 B | 243 B | ✓ |
link-dd34d9b..0ade.js gzip | 1.66 kB | 1.66 kB | ✓ |
routerDirect..5759.js gzip | 336 B | 336 B | ✓ |
withRouter-1..98bf.js gzip | 334 B | 334 B | ✓ |
Overall change | 9.03 kB | 9.03 kB | ✓ |
Client Build Manifests
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
_buildManifest.js gzip | 349 B | 349 B | ✓ |
Overall change | 349 B | 349 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | timneutkens/next.js add/enable-webpack5-by-default | Change | |
---|---|---|---|
index.html gzip | 611 B | 611 B | ✓ |
link.html gzip | 616 B | 616 B | ✓ |
withRouter.html gzip | 605 B | 605 B | ✓ |
Overall change | 1.83 kB | 1.83 kB | ✓ |
Diffs
Diff for _buildManifest.js
@@ -1,29 +1,21 @@
-self.__BUILD_MANIFEST = {
+(self.__BUILD_MANIFEST = {
__rewrites: { beforeFiles: [], afterFiles: [], fallback: [] },
- "/": ["static\u002Fchunks\u002Fpages\u002Findex-ac435c89e537f4e6ecf2.js"],
- "/_error": [
- "static\u002Fchunks\u002Fpages\u002F_error-d07ca8afdf6c45b9ef4d.js"
- ],
- "/amp": ["static\u002Fchunks\u002Fpages\u002Famp-9716187d43cb5ac80aa8.js"],
- "/hooks": [
- "static\u002Fchunks\u002Fpages\u002Fhooks-107e903cc2136d5974c7.js"
- ],
- "/link": ["static\u002Fchunks\u002Fpages\u002Flink-c31053f6d096d7dcc329.js"],
- "/routerDirect": [
- "static\u002Fchunks\u002Fpages\u002FrouterDirect-68414267e80493f2dc9d.js"
- ],
- "/withRouter": [
- "static\u002Fchunks\u002Fpages\u002FwithRouter-6e72b47076be15290e02.js"
- ],
+ "/": ["static/chunks/pages/index-fec729acd14e4a5583b2.js"],
+ "/_error": ["static/chunks/pages/_error-55112c9d838f988b054d.js"],
+ "/amp": ["static/chunks/pages/amp-89a5460cada4d99b567f.js"],
+ "/hooks": ["static/chunks/pages/hooks-8c2e74bb2b6bffaebe37.js"],
+ "/link": ["static/chunks/pages/link-dd34d9b14dfb3c040ade.js"],
+ "/routerDirect": ["static/chunks/pages/routerDirect-86b413d0659e50665759.js"],
+ "/withRouter": ["static/chunks/pages/withRouter-186b16dd09ed427898bf.js"],
sortedPages: [
- "\u002F",
- "\u002F_app",
- "\u002F_error",
- "\u002Famp",
- "\u002Fhooks",
- "\u002Flink",
- "\u002FrouterDirect",
- "\u002FwithRouter"
+ "/",
+ "/_app",
+ "/_error",
+ "/amp",
+ "/hooks",
+ "/link",
+ "/routerDirect",
+ "/withRouter"
]
-};
-self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB();
+}),
+ self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB();
Diff for _app-8fbabfc..bc6e06440.js
@@ -1,11 +1,30 @@
-_N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
- [4],
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [888, 179],
{
- 0: function(t, e, n) {
- n("e9+W"), (t.exports = n("nOHt"));
+ 1506: function(t) {
+ t.exports = function(t) {
+ if (void 0 === t)
+ throw new ReferenceError(
+ "this hasn't been initialised - super() hasn't been called"
+ );
+ return t;
+ };
+ },
+ 9754: function(t) {
+ function e(n) {
+ return (
+ (t.exports = e = Object.setPrototypeOf
+ ? Object.getPrototypeOf
+ : function(t) {
+ return t.__proto__ || Object.getPrototypeOf(t);
+ }),
+ e(n)
+ );
+ }
+ t.exports = e;
},
- "7W2i": function(t, e, n) {
- var r = n("SksO");
+ 2205: function(t, e, n) {
+ var r = n(9489);
t.exports = function(t, e) {
if ("function" !== typeof e && null !== e)
throw new TypeError(
@@ -17,16 +36,23 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
e && r(t, e);
};
},
- B5Ud: function(t, e, n) {
+ 8585: function(t, e, n) {
+ var r = n(8),
+ o = n(1506);
+ t.exports = function(t, e) {
+ return !e || ("object" !== r(e) && "function" !== typeof e) ? o(t) : e;
+ };
+ },
+ 6381: function(t, e, n) {
"use strict";
- var r = n("o0o1"),
- o = n("lwsE"),
- u = n("W8MJ"),
- i = n("7W2i"),
- c = n("a1gu"),
- a = n("Nsbk"),
- p = n("yXPU");
- function s(t) {
+ var r = n(7757),
+ o = n(4575),
+ u = n(3913),
+ c = n(2205),
+ i = n(8585),
+ a = n(9754),
+ p = n(8926);
+ function f(t) {
var e = (function() {
if ("undefined" === typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
@@ -49,24 +75,24 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var o = a(this).constructor;
n = Reflect.construct(r, arguments, o);
} else n = r.apply(this, arguments);
- return c(this, n);
+ return i(this, n);
};
}
- var f = n("TqRt");
+ var s = n(5318);
(e.__esModule = !0),
(e.Container = function(t) {
0;
return t.children;
}),
- (e.createUrl = v),
+ (e.createUrl = b),
(e.default = void 0);
- var l = f(n("q1tI")),
- h = n("g/15");
+ var l = s(n(7294)),
+ h = n(3937);
function _(t) {
- return d.apply(this, arguments);
+ return v.apply(this, arguments);
}
- function d() {
- return (d = p(
+ function v() {
+ return (v = p(
r.mark(function t(e) {
var n, o, u;
return r.wrap(function(t) {
@@ -92,8 +118,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
(e.AppInitialProps = h.AppInitialProps),
(e.NextWebVitalsMetric = h.NextWebVitalsMetric);
var y = (function(t) {
- i(n, t);
- var e = s(n);
+ c(n, t);
+ var e = f(n);
function n() {
return o(this, n), e.apply(this, arguments);
}
@@ -116,7 +142,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
u = t.__N_SSP;
return l.default.createElement(
n,
- Object.assign({}, r, o || u ? {} : { url: v(e) })
+ Object.assign({}, r, o || u ? {} : { url: b(e) })
);
}
}
@@ -124,7 +150,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
n
);
})(l.default.Component);
- function v(t) {
+ function b(t) {
var e = t.pathname,
n = t.asPath,
r = t.query;
@@ -161,43 +187,24 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}
(e.default = y), (y.origGetInitialProps = _), (y.getInitialProps = _);
},
- Nsbk: function(t, e) {
- function n(e) {
- return (
- (t.exports = n = Object.setPrototypeOf
- ? Object.getPrototypeOf
- : function(t) {
- return t.__proto__ || Object.getPrototypeOf(t);
- }),
- n(e)
- );
- }
- t.exports = n;
- },
- PJYZ: function(t, e) {
- t.exports = function(t) {
- if (void 0 === t)
- throw new ReferenceError(
- "this hasn't been initialised - super() hasn't been called"
- );
- return t;
- };
- },
- a1gu: function(t, e, n) {
- var r = n("cDf5"),
- o = n("PJYZ");
- t.exports = function(t, e) {
- return !e || ("object" !== r(e) && "function" !== typeof e) ? o(t) : e;
- };
- },
- "e9+W": function(t, e, n) {
+ 915: function(t, e, n) {
(window.__NEXT_P = window.__NEXT_P || []).push([
"/_app",
function() {
- return n("B5Ud");
+ return n(6381);
}
]);
- }
+ },
+ 4453: function() {}
},
- [[0, 0, 1, 2]]
+ function(t) {
+ var e = function(e) {
+ return t((t.s = e));
+ };
+ t.O(0, [774, 597], function() {
+ return e(915), e(2441);
+ });
+ var n = t.O();
+ _N_E = n;
+ }
]);
Diff for _error-d07ca..c45b9ef4d.js
@@ -1,7 +1,190 @@
-_N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
- [5],
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [820],
{
- "/0+H": function(e, t, n) {
+ 7228: function(e) {
+ e.exports = function(e, t) {
+ (null == t || t > e.length) && (t = e.length);
+ for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
+ return r;
+ };
+ },
+ 3646: function(e, t, n) {
+ var r = n(7228);
+ e.exports = function(e) {
+ if (Array.isArray(e)) return r(e);
+ };
+ },
+ 1506: function(e) {
+ e.exports = function(e) {
+ if (void 0 === e)
+ throw new ReferenceError(
+ "this hasn't been initialised - super() hasn't been called"
+ );
+ return e;
+ };
+ },
+ 4575: function(e) {
+ e.exports = function(e, t) {
+ if (!(e instanceof t))
+ throw new TypeError("Cannot call a class as a function");
+ };
+ },
+ 3913: function(e) {
+ function t(e, t) {
+ for (var n = 0; n < t.length; n++) {
+ var r = t[n];
+ (r.enumerable = r.enumerable || !1),
+ (r.configurable = !0),
+ "value" in r && (r.writable = !0),
+ Object.defineProperty(e, r.key, r);
+ }
+ }
+ e.exports = function(e, n, r) {
+ return n && t(e.prototype, n), r && t(e, r), e;
+ };
+ },
+ 9713: function(e) {
+ e.exports = function(e, t, n) {
+ return (
+ t in e
+ ? Object.defineProperty(e, t, {
+ value: n,
+ enumerable: !0,
+ configurable: !0,
+ writable: !0
+ })
+ : (e[t] = n),
+ e
+ );
+ };
+ },
+ 9754: function(e) {
+ function t(n) {
+ return (
+ (e.exports = t = Object.setPrototypeOf
+ ? Object.getPrototypeOf
+ : function(e) {
+ return e.__proto__ || Object.getPrototypeOf(e);
+ }),
+ t(n)
+ );
+ }
+ e.exports = t;
+ },
+ 2205: function(e, t, n) {
+ var r = n(9489);
+ e.exports = function(e, t) {
+ if ("function" !== typeof t && null !== t)
+ throw new TypeError(
+ "Super expression must either be null or a function"
+ );
+ (e.prototype = Object.create(t && t.prototype, {
+ constructor: { value: e, writable: !0, configurable: !0 }
+ })),
+ t && r(e, t);
+ };
+ },
+ 5318: function(e) {
+ e.exports = function(e) {
+ return e && e.__esModule ? e : { default: e };
+ };
+ },
+ 6860: function(e) {
+ e.exports = function(e) {
+ if ("undefined" !== typeof Symbol && Symbol.iterator in Object(e))
+ return Array.from(e);
+ };
+ },
+ 8206: function(e) {
+ e.exports = function() {
+ throw new TypeError(
+ "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
+ );
+ };
+ },
+ 8585: function(e, t, n) {
+ var r = n(8),
+ o = n(1506);
+ e.exports = function(e, t) {
+ return !t || ("object" !== r(t) && "function" !== typeof t) ? o(e) : t;
+ };
+ },
+ 9489: function(e) {
+ function t(n, r) {
+ return (
+ (e.exports = t =
+ Object.setPrototypeOf ||
+ function(e, t) {
+ return (e.__proto__ = t), e;
+ }),
+ t(n, r)
+ );
+ }
+ e.exports = t;
+ },
+ 319: function(e, t, n) {
+ var r = n(3646),
+ o = n(6860),
+ a = n(379),
+ i = n(8206);
+ e.exports = function(e) {
+ return r(e) || o(e) || a(e) || i();
+ };
+ },
+ 8: function(e) {
+ function t(n) {
+ return (
+ "function" === typeof Symbol && "symbol" === typeof Symbol.iterator
+ ? (e.exports = t = function(e) {
+ return typeof e;
+ })
+ : (e.exports = t = function(e) {
+ return e &&
+ "function" === typeof Symbol &&
+ e.constructor === Symbol &&
+ e !== Symbol.prototype
+ ? "symbol"
+ : typeof e;
+ }),
+ t(n)
+ );
+ }
+ e.exports = t;
+ },
+ 379: function(e, t, n) {
+ var r = n(7228);
+ e.exports = function(e, t) {
+ if (e) {
+ if ("string" === typeof e) return r(e, t);
+ var n = Object.prototype.toString.call(e).slice(8, -1);
+ return (
+ "Object" === n && e.constructor && (n = e.constructor.name),
+ "Map" === n || "Set" === n
+ ? Array.from(e)
+ : "Arguments" === n ||
+ /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
+ ? r(e, t)
+ : void 0
+ );
+ }
+ };
+ },
+ 6086: function(e) {
+ "use strict";
+ var t = Object.assign.bind(Object);
+ (e.exports = t), (e.exports.default = e.exports);
+ },
+ 3367: function(e, t, n) {
+ "use strict";
+ var r;
+ (t.__esModule = !0), (t.AmpStateContext = void 0);
+ var o = ((r = n(7294)) && r.__esModule
+ ? r
+ : { default: r }
+ ).default.createContext({});
+ t.AmpStateContext = o;
+ },
+ 7845: function(e, t, n) {
"use strict";
(t.__esModule = !0),
(t.isInAmpMode = i),
@@ -9,8 +192,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
return i(o.default.useContext(a.AmpStateContext));
});
var r,
- o = (r = n("q1tI")) && r.__esModule ? r : { default: r },
- a = n("lwAK");
+ o = (r = n(7294)) && r.__esModule ? r : { default: r },
+ a = n(3367);
function i() {
var e =
arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
@@ -23,169 +206,19 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
return n || (o && i);
}
},
- "/a9y": function(e, t, n) {
+ 4287: function(e, t, n) {
"use strict";
- var r = n("lwsE"),
- o = n("W8MJ"),
- a = n("7W2i"),
- i = n("a1gu"),
- u = n("Nsbk");
- function c(e) {
- var t = (function() {
- if ("undefined" === typeof Reflect || !Reflect.construct) return !1;
- if (Reflect.construct.sham) return !1;
- if ("function" === typeof Proxy) return !0;
- try {
- return (
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- ),
- !0
- );
- } catch (e) {
- return !1;
- }
- })();
- return function() {
- var n,
- r = u(e);
- if (t) {
- var o = u(this).constructor;
- n = Reflect.construct(r, arguments, o);
- } else n = r.apply(this, arguments);
- return i(this, n);
- };
- }
- var s = n("TqRt");
- (t.__esModule = !0), (t.default = void 0);
- var f = s(n("q1tI")),
- l = s(n("8Kt/")),
- p = {
- 400: "Bad Request",
- 404: "This page could not be found",
- 405: "Method Not Allowed",
- 500: "Internal Server Error"
- };
- function d(e) {
- var t = e.res,
- n = e.err;
- return {
- statusCode: t && t.statusCode ? t.statusCode : n ? n.statusCode : 404
- };
- }
- var y = (function(e) {
- a(n, e);
- var t = c(n);
- function n() {
- return r(this, n), t.apply(this, arguments);
- }
- return (
- o(n, [
- {
- key: "render",
- value: function() {
- var e = this.props.statusCode,
- t =
- this.props.title ||
- p[e] ||
- "An unexpected error has occurred";
- return f.default.createElement(
- "div",
- { style: h.error },
- f.default.createElement(
- l.default,
- null,
- f.default.createElement("title", null, e, ": ", t)
- ),
- f.default.createElement(
- "div",
- null,
- f.default.createElement("style", {
- dangerouslySetInnerHTML: { __html: "body { margin: 0 }" }
- }),
- e
- ? f.default.createElement("h1", { style: h.h1 }, e)
- : null,
- f.default.createElement(
- "div",
- { style: h.desc },
- f.default.createElement("h2", { style: h.h2 }, t, ".")
- )
- )
- );
- }
- }
- ]),
- n
- );
- })(f.default.Component);
- (t.default = y),
- (y.displayName = "ErrorPage"),
- (y.getInitialProps = d),
- (y.origGetInitialProps = d);
- var h = {
- error: {
- color: "#000",
- background: "#fff",
- fontFamily:
- '-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif',
- height: "100vh",
- textAlign: "center",
- display: "flex",
- flexDirection: "column",
- alignItems: "center",
- justifyContent: "center"
- },
- desc: {
- display: "inline-block",
- textAlign: "left",
- lineHeight: "49px",
- height: "49px",
- verticalAlign: "middle"
- },
- h1: {
- display: "inline-block",
- borderRight: "1px solid rgba(0, 0, 0,.3)",
- margin: 0,
- marginRight: "20px",
- padding: "10px 23px 10px 0",
- fontSize: "24px",
- fontWeight: 500,
- verticalAlign: "top"
- },
- h2: {
- fontSize: "14px",
- fontWeight: "normal",
- lineHeight: "inherit",
- margin: 0,
- padding: 0
- }
- };
- },
- "04ac": function(e, t, n) {
- (window.__NEXT_P = window.__NEXT_P || []).push([
- "/_error",
- function() {
- return n("/a9y");
- }
- ]);
- },
- "7W2i": function(e, t, n) {
- var r = n("SksO");
- e.exports = function(e, t) {
- if ("function" !== typeof t && null !== t)
- throw new TypeError(
- "Super expression must either be null or a function"
- );
- (e.prototype = Object.create(t && t.prototype, {
- constructor: { value: e, writable: !0, configurable: !0 }
- })),
- t && r(e, t);
- };
+ var r;
+ (t.__esModule = !0), (t.HeadManagerContext = void 0);
+ var o = ((r = n(7294)) && r.__esModule
+ ? r
+ : { default: r }
+ ).default.createContext({});
+ t.HeadManagerContext = o;
},
- "8Kt/": function(e, t, n) {
+ 7947: function(e, t, n) {
"use strict";
- var r = n("lSNA");
+ var r = n(9713);
function o(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -217,11 +250,11 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}
(n.default = e), t && t.set(e, n);
return n;
- })(n("q1tI")),
- u = (a = n("Xuae")) && a.__esModule ? a : { default: a },
- c = n("lwAK"),
- s = n("FYa8"),
- f = n("/0+H");
+ })(n(7294)),
+ u = (a = n(617)) && a.__esModule ? a : { default: a },
+ c = n(3367),
+ f = n(4287),
+ s = n(7845);
function l() {
if ("function" !== typeof WeakMap) return null;
var e = new WeakMap();
@@ -263,8 +296,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
)
: e.concat(t);
}
- var y = ["name", "httpEquiv", "charSet", "itemProp"];
- function h(e, t) {
+ var h = ["name", "httpEquiv", "charSet", "itemProp"];
+ function y(e, t) {
return e
.reduce(function(e, t) {
var n = i.default.Children.toArray(t.props.children);
@@ -297,15 +330,15 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
t.has(o.type) ? (a = !1) : t.add(o.type);
break;
case "meta":
- for (var c = 0, s = y.length; c < s; c++) {
- var f = y[c];
- if (o.props.hasOwnProperty(f))
- if ("charSet" === f) n.has(f) ? (a = !1) : n.add(f);
+ for (var c = 0, f = h.length; c < f; c++) {
+ var s = h[c];
+ if (o.props.hasOwnProperty(s))
+ if ("charSet" === s) n.has(s) ? (a = !1) : n.add(s);
else {
- var l = o.props[f],
- p = r[f] || new Set();
- ("name" === f && i) || !p.has(l)
- ? (p.add(l), (r[f] = p))
+ var l = o.props[s],
+ p = r[s] || new Set();
+ ("name" === s && i) || !p.has(l)
+ ? (p.add(l), (r[s] = p))
: (a = !1);
}
}
@@ -359,13 +392,13 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
function v(e) {
var t = e.children,
n = (0, i.useContext)(c.AmpStateContext),
- r = (0, i.useContext)(s.HeadManagerContext);
+ r = (0, i.useContext)(f.HeadManagerContext);
return i.default.createElement(
u.default,
{
- reduceComponentsToState: h,
+ reduceComponentsToState: y,
headManager: r,
- inAmpMode: (0, f.isInAmpMode)(n)
+ inAmpMode: (0, s.isInAmpMode)(n)
},
t
);
@@ -374,119 +407,15 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var m = v;
t.default = m;
},
- Bnag: function(e, t) {
- e.exports = function() {
- throw new TypeError(
- "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
- );
- };
- },
- EbDI: function(e, t) {
- e.exports = function(e) {
- if ("undefined" !== typeof Symbol && Symbol.iterator in Object(e))
- return Array.from(e);
- };
- },
- FYa8: function(e, t, n) {
- "use strict";
- var r;
- (t.__esModule = !0), (t.HeadManagerContext = void 0);
- var o = ((r = n("q1tI")) && r.__esModule
- ? r
- : { default: r }
- ).default.createContext({});
- t.HeadManagerContext = o;
- },
- Ijbi: function(e, t, n) {
- var r = n("WkPL");
- e.exports = function(e) {
- if (Array.isArray(e)) return r(e);
- };
- },
- Nsbk: function(e, t) {
- function n(t) {
- return (
- (e.exports = n = Object.setPrototypeOf
- ? Object.getPrototypeOf
- : function(e) {
- return e.__proto__ || Object.getPrototypeOf(e);
- }),
- n(t)
- );
- }
- e.exports = n;
- },
- PJYZ: function(e, t) {
- e.exports = function(e) {
- if (void 0 === e)
- throw new ReferenceError(
- "this hasn't been initialised - super() hasn't been called"
- );
- return e;
- };
- },
- Qetd: function(e, t, n) {
- "use strict";
- var r = Object.assign.bind(Object);
- (e.exports = r), (e.exports.default = e.exports);
- },
- RIqP: function(e, t, n) {
- var r = n("Ijbi"),
- o = n("EbDI"),
- a = n("ZhPi"),
- i = n("Bnag");
- e.exports = function(e) {
- return r(e) || o(e) || a(e) || i();
- };
- },
- SksO: function(e, t) {
- function n(t, r) {
- return (
- (e.exports = n =
- Object.setPrototypeOf ||
- function(e, t) {
- return (e.__proto__ = t), e;
- }),
- n(t, r)
- );
- }
- e.exports = n;
- },
- TqRt: function(e, t) {
- e.exports = function(e) {
- return e && e.__esModule ? e : { default: e };
- };
- },
- W8MJ: function(e, t) {
- function n(e, t) {
- for (var n = 0; n < t.length; n++) {
- var r = t[n];
- (r.enumerable = r.enumerable || !1),
- (r.configurable = !0),
- "value" in r && (r.writable = !0),
- Object.defineProperty(e, r.key, r);
- }
- }
- e.exports = function(e, t, r) {
- return t && n(e.prototype, t), r && n(e, r), e;
- };
- },
- WkPL: function(e, t) {
- e.exports = function(e, t) {
- (null == t || t > e.length) && (t = e.length);
- for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
- return r;
- };
- },
- Xuae: function(e, t, n) {
+ 617: function(e, t, n) {
"use strict";
- var r = n("RIqP"),
- o = n("lwsE"),
- a = n("W8MJ"),
- i = (n("PJYZ"), n("7W2i")),
- u = n("a1gu"),
- c = n("Nsbk");
- function s(e) {
+ var r = n(319),
+ o = n(4575),
+ a = n(3913),
+ i = (n(1506), n(2205)),
+ u = n(8585),
+ c = n(9754);
+ function f(e) {
var t = (function() {
if ("undefined" === typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
@@ -513,10 +442,10 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
};
}
(t.__esModule = !0), (t.default = void 0);
- var f = n("q1tI"),
+ var s = n(7294),
l = (function(e) {
i(n, e);
- var t = s(n);
+ var t = f(n);
function n(e) {
var a;
return (
@@ -569,85 +498,163 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
]),
n
);
- })(f.Component);
+ })(s.Component);
t.default = l;
},
- ZhPi: function(e, t, n) {
- var r = n("WkPL");
- e.exports = function(e, t) {
- if (e) {
- if ("string" === typeof e) return r(e, t);
- var n = Object.prototype.toString.call(e).slice(8, -1);
- return (
- "Object" === n && e.constructor && (n = e.constructor.name),
- "Map" === n || "Set" === n
- ? Array.from(e)
- : "Arguments" === n ||
- /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
- ? r(e, t)
- : void 0
- );
- }
- };
- },
- a1gu: function(e, t, n) {
- var r = n("cDf5"),
- o = n("PJYZ");
- e.exports = function(e, t) {
- return !t || ("object" !== r(t) && "function" !== typeof t) ? o(e) : t;
- };
- },
- cDf5: function(e, t) {
- function n(t) {
- return (
- "function" === typeof Symbol && "symbol" === typeof Symbol.iterator
- ? (e.exports = n = function(e) {
- return typeof e;
- })
- : (e.exports = n = function(e) {
- return e &&
- "function" === typeof Symbol &&
- e.constructor === Symbol &&
- e !== Symbol.prototype
- ? "symbol"
- : typeof e;
- }),
- n(t)
- );
+ 900: function(e, t, n) {
+ "use strict";
+ var r = n(4575),
+ o = n(3913),
+ a = n(2205),
+ i = n(8585),
+ u = n(9754);
+ function c(e) {
+ var t = (function() {
+ if ("undefined" === typeof Reflect || !Reflect.construct) return !1;
+ if (Reflect.construct.sham) return !1;
+ if ("function" === typeof Proxy) return !0;
+ try {
+ return (
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ ),
+ !0
+ );
+ } catch (e) {
+ return !1;
+ }
+ })();
+ return function() {
+ var n,
+ r = u(e);
+ if (t) {
+ var o = u(this).constructor;
+ n = Reflect.construct(r, arguments, o);
+ } else n = r.apply(this, arguments);
+ return i(this, n);
+ };
}
- e.exports = n;
- },
- lSNA: function(e, t) {
- e.exports = function(e, t, n) {
+ var f = n(5318);
+ (t.__esModule = !0), (t.default = void 0);
+ var s = f(n(7294)),
+ l = f(n(7947)),
+ p = {
+ 400: "Bad Request",
+ 404: "This page could not be found",
+ 405: "Method Not Allowed",
+ 500: "Internal Server Error"
+ };
+ function d(e) {
+ var t = e.res,
+ n = e.err;
+ return {
+ statusCode: t && t.statusCode ? t.statusCode : n ? n.statusCode : 404
+ };
+ }
+ var h = (function(e) {
+ a(n, e);
+ var t = c(n);
+ function n() {
+ return r(this, n), t.apply(this, arguments);
+ }
return (
- t in e
- ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- })
- : (e[t] = n),
- e
+ o(n, [
+ {
+ key: "render",
+ value: function() {
+ var e = this.props.statusCode,
+ t =
+ this.props.title ||
+ p[e] ||
+ "An unexpected error has occurred";
+ return s.default.createElement(
+ "div",
+ { style: y.error },
+ s.default.createElement(
+ l.default,
+ null,
+ s.default.createElement("title", null, e, ": ", t)
+ ),
+ s.default.createElement(
+ "div",
+ null,
+ s.default.createElement("style", {
+ dangerouslySetInnerHTML: { __html: "body { margin: 0 }" }
+ }),
+ e
+ ? s.default.createElement("h1", { style: y.h1 }, e)
+ : null,
+ s.default.createElement(
+ "div",
+ { style: y.desc },
+ s.default.createElement("h2", { style: y.h2 }, t, ".")
+ )
+ )
+ );
+ }
+ }
+ ]),
+ n
);
+ })(s.default.Component);
+ (t.default = h),
+ (h.displayName = "ErrorPage"),
+ (h.getInitialProps = d),
+ (h.origGetInitialProps = d);
+ var y = {
+ error: {
+ color: "#000",
+ background: "#fff",
+ fontFamily:
+ '-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif',
+ height: "100vh",
+ textAlign: "center",
+ display: "flex",
+ flexDirection: "column",
+ alignItems: "center",
+ justifyContent: "center"
+ },
+ desc: {
+ display: "inline-block",
+ textAlign: "left",
+ lineHeight: "49px",
+ height: "49px",
+ verticalAlign: "middle"
+ },
+ h1: {
+ display: "inline-block",
+ borderRight: "1px solid rgba(0, 0, 0,.3)",
+ margin: 0,
+ marginRight: "20px",
+ padding: "10px 23px 10px 0",
+ fontSize: "24px",
+ fontWeight: 500,
+ verticalAlign: "top"
+ },
+ h2: {
+ fontSize: "14px",
+ fontWeight: "normal",
+ lineHeight: "inherit",
+ margin: 0,
+ padding: 0
+ }
};
},
- lwAK: function(e, t, n) {
- "use strict";
- var r;
- (t.__esModule = !0), (t.AmpStateContext = void 0);
- var o = ((r = n("q1tI")) && r.__esModule
- ? r
- : { default: r }
- ).default.createContext({});
- t.AmpStateContext = o;
- },
- lwsE: function(e, t) {
- e.exports = function(e, t) {
- if (!(e instanceof t))
- throw new TypeError("Cannot call a class as a function");
- };
+ 4977: function(e, t, n) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/_error",
+ function() {
+ return n(900);
+ }
+ ]);
}
},
- [["04ac", 0, 1]]
+ function(e) {
+ e.O(0, [774], function() {
+ return (t = 4977), e((e.s = t));
+ var t;
+ });
+ var t = e.O();
+ _N_E = t;
+ }
]);
Diff for amp-89a5460c..4d99b567f.js
@@ -0,0 +1,78 @@
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [216],
+ {
+ 9135: function(t, e, n) {
+ t.exports = n(7845);
+ },
+ 6086: function(t) {
+ "use strict";
+ var e = Object.assign.bind(Object);
+ (t.exports = e), (t.exports.default = t.exports);
+ },
+ 3367: function(t, e, n) {
+ "use strict";
+ var u;
+ (e.__esModule = !0), (e.AmpStateContext = void 0);
+ var o = ((u = n(7294)) && u.__esModule
+ ? u
+ : { default: u }
+ ).default.createContext({});
+ e.AmpStateContext = o;
+ },
+ 7845: function(t, e, n) {
+ "use strict";
+ (e.__esModule = !0),
+ (e.isInAmpMode = i),
+ (e.useAmp = function() {
+ return i(o.default.useContext(r.AmpStateContext));
+ });
+ var u,
+ o = (u = n(7294)) && u.__esModule ? u : { default: u },
+ r = n(3367);
+ function i() {
+ var t =
+ arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ e = t.ampFirst,
+ n = void 0 !== e && e,
+ u = t.hybrid,
+ o = void 0 !== u && u,
+ r = t.hasQuery,
+ i = void 0 !== r && r;
+ return n || (o && i);
+ }
+ },
+ 6332: function(t, e, n) {
+ "use strict";
+ n.r(e),
+ n.d(e, {
+ config: function() {
+ return o;
+ },
+ default: function() {
+ return r;
+ }
+ });
+ var u = n(9135),
+ o = { amp: "hybrid" };
+ function r(t) {
+ return (0, u.useAmp)() ? "AMP mode" : "normal mode";
+ }
+ },
+ 6071: function(t, e, n) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/amp",
+ function() {
+ return n(6332);
+ }
+ ]);
+ }
+ },
+ function(t) {
+ t.O(0, [774], function() {
+ return (e = 6071), t((t.s = e));
+ var e;
+ });
+ var e = t.O();
+ _N_E = e;
+ }
+]);
Diff for amp-9716187d..b5ac80aa8.js
deleted
Diff for hooks-107e90..36d5974c7.js
@@ -1,7 +1,12 @@
-_N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
- [7],
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [757],
{
- "+MDD": function(t, n, r) {
+ 6086: function(t) {
+ "use strict";
+ var n = Object.assign.bind(Object);
+ (t.exports = n), (t.exports.default = t.exports);
+ },
+ 7690: function(t, n, r) {
"use strict";
function e(t, n) {
(null == n || n > t.length) && (n = t.length);
@@ -18,21 +23,21 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var r = [],
e = !0,
o = !1,
- i = void 0;
+ u = void 0;
try {
for (
- var a, u = t[Symbol.iterator]();
- !(e = (a = u.next()).done) &&
- (r.push(a.value), !n || r.length !== n);
+ var i, a = t[Symbol.iterator]();
+ !(e = (i = a.next()).done) &&
+ (r.push(i.value), !n || r.length !== n);
e = !0
);
} catch (c) {
- (o = !0), (i = c);
+ (o = !0), (u = c);
} finally {
try {
- e || null == u.return || u.return();
+ e || null == a.return || a.return();
} finally {
- if (o) throw i;
+ if (o) throw u;
}
}
return r;
@@ -60,52 +65,59 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
})()
);
}
- r.r(n);
- var i = r("q1tI"),
- a = r.n(i),
- u = a.a.createElement;
- n.default = function() {
- var t = o(a.a.useState(0), 2),
- n = t[0],
- r = t[1],
- e = Object(i.useState)(0),
- c = e[0],
- l = e[1],
- s = a.a.useCallback(
- function() {
- r(n + 1);
- },
- [n]
- ),
- f = Object(i.useCallback)(
- function() {
- l(c + 1);
- },
- [c]
+ r.r(n),
+ r.d(n, {
+ default: function() {
+ return c;
+ }
+ });
+ var u = r(7294),
+ i = r.n(u),
+ a = i().createElement,
+ c = function() {
+ var t = o(i().useState(0), 2),
+ n = t[0],
+ r = t[1],
+ e = (0, u.useState)(0),
+ c = e[0],
+ l = e[1],
+ f = i().useCallback(
+ function() {
+ r(n + 1);
+ },
+ [n]
+ ),
+ s = (0, u.useCallback)(
+ function() {
+ l(c + 1);
+ },
+ [c]
+ );
+ return a(
+ i().Fragment,
+ null,
+ a("h3", null, "Clicks ", n),
+ a("button", { onClick: f }, "Click me"),
+ a("h3", null, "Clicks ", c),
+ a("button", { onClick: s }, "Click me")
);
- return u(
- a.a.Fragment,
- null,
- u("h3", null, "Clicks ", n),
- u("button", { onClick: s }, "Click me"),
- u("h3", null, "Clicks ", c),
- u("button", { onClick: f }, "Click me")
- );
- };
- },
- Qetd: function(t, n, r) {
- "use strict";
- var e = Object.assign.bind(Object);
- (t.exports = e), (t.exports.default = t.exports);
+ };
},
- g1vQ: function(t, n, r) {
+ 1470: function(t, n, r) {
(window.__NEXT_P = window.__NEXT_P || []).push([
"/hooks",
function() {
- return r("+MDD");
+ return r(7690);
}
]);
}
},
- [["g1vQ", 0, 1]]
+ function(t) {
+ t.O(0, [774], function() {
+ return (n = 1470), t((t.s = n));
+ var n;
+ });
+ var n = t.O();
+ _N_E = n;
+ }
]);
Diff for index-ac435c..7f4e6ecf2.js
deleted
Diff for index-fec729..e4a5583b2.js
@@ -0,0 +1,29 @@
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [405],
+ {
+ 8474: function(n, u, t) {
+ "use strict";
+ t.r(u);
+ var r = function() {
+ return "Hello world \ud83d\udc4b";
+ };
+ (r.getInitialProps = function() {
+ return {};
+ }),
+ (u.default = r);
+ },
+ 8581: function(n, u, t) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/",
+ function() {
+ return t(8474);
+ }
+ ]);
+ }
+ },
+ function(n) {
+ var u,
+ t = ((u = 8581), n((n.s = u)));
+ _N_E = t;
+ }
+]);
Diff for link-c31053f..6d7dcc329.js
@@ -1,47 +1,15 @@
-_N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
- [9],
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [644, 179],
{
- ObF3: function(e, n, t) {
+ 573: function(e, n, t) {
"use strict";
- t.r(n);
- var r = t("q1tI"),
- o = t.n(r),
- a = t("YFqc"),
- c = t.n(a),
- u = o.a.createElement;
- function i(e) {
- return u(
- "div",
- null,
- u("h3", null, "A Link page!"),
- u(c.a, { href: "/" }, "Go to /")
- );
- }
- (i.getInitialProps = function() {
- return {};
- }),
- (n.default = i);
- },
- V8Sf: function(e, n, t) {
- (window.__NEXT_P = window.__NEXT_P || []).push([
- "/link",
- function() {
- return t("ObF3");
- }
- ]);
- },
- YFqc: function(e, n, t) {
- e.exports = t("cTJO");
- },
- cTJO: function(e, n, t) {
- "use strict";
- var r = t("J4zp"),
- o = t("284h");
- (n.__esModule = !0), (n.default = void 0);
- var a = o(t("q1tI")),
- c = t("elyg"),
- u = t("nOHt"),
- i = t("vNVm"),
+ var r = t(3038),
+ o = t(862);
+ n.default = void 0;
+ var a = o(t(7294)),
+ c = t(1689),
+ u = t(2441),
+ i = t(5749),
l = {};
function f(e, n, t, r) {
if (e && (0, c.isLocalURL)(n)) {
@@ -74,41 +42,41 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
d = s.as,
v = e.children,
h = e.replace,
- g = e.shallow,
- y = e.scroll,
- b = e.locale;
+ y = e.shallow,
+ g = e.scroll,
+ E = e.locale;
"string" === typeof v && (v = a.default.createElement("a", null, v));
- var _ = a.Children.only(v),
- w = _ && "object" === typeof _ && _.ref,
- E = (0, i.useIntersection)({ rootMargin: "200px" }),
- m = r(E, 2),
- L = m[0],
- M = m[1],
- k = a.default.useCallback(
+ var b = a.Children.only(v),
+ _ = b && "object" === typeof b && b.ref,
+ L = (0, i.useIntersection)({ rootMargin: "200px" }),
+ k = r(L, 2),
+ m = k[0],
+ w = k[1],
+ M = a.default.useCallback(
function(e) {
- L(e),
- w &&
- ("function" === typeof w
- ? w(e)
- : "object" === typeof w && (w.current = e));
+ m(e),
+ _ &&
+ ("function" === typeof _
+ ? _(e)
+ : "object" === typeof _ && (_.current = e));
},
- [w, L]
+ [_, m]
);
(0, a.useEffect)(
function() {
- var e = M && n && (0, c.isLocalURL)(p),
- r = "undefined" !== typeof b ? b : t && t.locale,
+ var e = w && n && (0, c.isLocalURL)(p),
+ r = "undefined" !== typeof E ? E : t && t.locale,
o = l[p + "%" + d + (r ? "%" + r : "")];
e && !o && f(t, p, d, { locale: r });
},
- [d, p, M, b, n, t]
+ [d, p, w, E, n, t]
);
- var I = {
- ref: k,
+ var C = {
+ ref: M,
onClick: function(e) {
- _.props &&
- "function" === typeof _.props.onClick &&
- _.props.onClick(e),
+ b.props &&
+ "function" === typeof b.props.onClick &&
+ b.props.onClick(e),
e.defaultPrevented ||
(function(e, n, t, r, o, a, u, i) {
("A" !== e.currentTarget.nodeName ||
@@ -131,38 +99,38 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
locale: i,
scroll: u
}));
- })(e, t, p, d, h, g, y, b);
+ })(e, t, p, d, h, y, g, E);
},
onMouseEnter: function(e) {
(0, c.isLocalURL)(p) &&
- (_.props &&
- "function" === typeof _.props.onMouseEnter &&
- _.props.onMouseEnter(e),
+ (b.props &&
+ "function" === typeof b.props.onMouseEnter &&
+ b.props.onMouseEnter(e),
f(t, p, d, { priority: !0 }));
}
};
- if (e.passHref || ("a" === _.type && !("href" in _.props))) {
- var N = "undefined" !== typeof b ? b : t && t.locale,
- C =
+ if (e.passHref || ("a" === b.type && !("href" in b.props))) {
+ var I = "undefined" !== typeof E ? E : t && t.locale,
+ N =
t &&
t.isLocaleDomain &&
(0, c.getDomainLocale)(
d,
- N,
+ I,
t && t.locales,
t && t.domainLocales
);
- I.href =
- C ||
- (0, c.addBasePath)((0, c.addLocale)(d, N, t && t.defaultLocale));
+ C.href =
+ N ||
+ (0, c.addBasePath)((0, c.addLocale)(d, I, t && t.defaultLocale));
}
- return a.default.cloneElement(_, I);
+ return a.default.cloneElement(b, C);
};
n.default = s;
},
- vNVm: function(e, n, t) {
+ 5749: function(e, n, t) {
"use strict";
- var r = t("J4zp");
+ var r = t(3038);
(n.__esModule = !0),
(n.useIntersection = function(e) {
var n = e.rootMargin,
@@ -241,11 +209,50 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
[d, s]
);
});
- var o = t("q1tI"),
- a = t("0G5g"),
+ var o = t(7294),
+ a = t(8391),
c = "undefined" !== typeof IntersectionObserver;
var u = new Map();
- }
+ },
+ 8189: function(e, n, t) {
+ "use strict";
+ t.r(n);
+ var r = t(7294),
+ o = t.n(r),
+ a = t(1664),
+ c = o().createElement;
+ function u(e) {
+ return c(
+ "div",
+ null,
+ c("h3", null, "A Link page!"),
+ c(a.default, { href: "/" }, "Go to /")
+ );
+ }
+ (u.getInitialProps = function() {
+ return {};
+ }),
+ (n.default = u);
+ },
+ 7847: function(e, n, t) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/link",
+ function() {
+ return t(8189);
+ }
+ ]);
+ },
+ 1664: function(e, n, t) {
+ e.exports = t(573);
+ },
+ 4453: function() {}
},
- [["V8Sf", 0, 1, 2]]
+ function(e) {
+ e.O(0, [774, 597], function() {
+ return (n = 7847), e((e.s = n));
+ var n;
+ });
+ var n = e.O();
+ _N_E = n;
+ }
]);
Diff for routerDirect..493f2dc9d.js
deleted
Diff for routerDirect..e50665759.js
@@ -0,0 +1,39 @@
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [58, 179],
+ {
+ 1348: function(n, t, r) {
+ "use strict";
+ r.r(t);
+ var u = r(7294),
+ e = r.n(u),
+ i = (r(1163), e().createElement);
+ function o(n) {
+ return i("div", null, "I import the router directly");
+ }
+ (o.getInitialProps = function() {
+ return {};
+ }),
+ (t.default = o);
+ },
+ 5448: function(n, t, r) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/routerDirect",
+ function() {
+ return r(1348);
+ }
+ ]);
+ },
+ 1163: function(n, t, r) {
+ n.exports = r(2441);
+ },
+ 4453: function() {}
+ },
+ function(n) {
+ n.O(0, [774, 597], function() {
+ return (t = 5448), n((n.s = t));
+ var t;
+ });
+ var t = n.O();
+ _N_E = t;
+ }
+]);
Diff for withRouter-1..d427898bf.js
@@ -0,0 +1,40 @@
+(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
+ [807, 179],
+ {
+ 7024: function(n, t, u) {
+ "use strict";
+ u.r(t);
+ var e = u(7294),
+ r = u.n(e),
+ i = u(1163),
+ o = r().createElement;
+ function c(n) {
+ return o("div", null, "I use withRouter");
+ }
+ (c.getInitialProps = function() {
+ return {};
+ }),
+ (t.default = (0, i.withRouter)(c));
+ },
+ 6744: function(n, t, u) {
+ (window.__NEXT_P = window.__NEXT_P || []).push([
+ "/withRouter",
+ function() {
+ return u(7024);
+ }
+ ]);
+ },
+ 1163: function(n, t, u) {
+ n.exports = u(2441);
+ },
+ 4453: function() {}
+ },
+ function(n) {
+ n.O(0, [774, 597], function() {
+ return (t = 6744), n((n.s = t));
+ var t;
+ });
+ var t = n.O();
+ _N_E = t;
+ }
+]);
Diff for withRouter-6..e15290e02.js
deleted
Diff for 677f882d2ed8..2520de6c6.js
Diff too large to display
Diff for 778-f693fbd0..e31f344d5.js
Diff too large to display
Diff for framework.HASH.js
Diff too large to display
Diff for main-HASH.js
Diff too large to display
Diff for polyfills-HASH.js
failed to diff
Diff for webpack-HASH.js
@@ -1,90 +1,114 @@
-!(function(e) {
- function r(r) {
- for (
- var n, l, f = r[0], i = r[1], a = r[2], c = 0, s = [];
- c < f.length;
- c++
- )
- (l = f[c]),
- Object.prototype.hasOwnProperty.call(o, l) && o[l] && s.push(o[l][0]),
- (o[l] = 0);
- for (n in i) Object.prototype.hasOwnProperty.call(i, n) && (e[n] = i[n]);
- for (p && p(r); s.length; ) s.shift()();
- return u.push.apply(u, a || []), t();
- }
- function t() {
- for (var e, r = 0; r < u.length; r++) {
- for (var t = u[r], n = !0, f = 1; f < t.length; f++) {
- var i = t[f];
- 0 !== o[i] && (n = !1);
- }
- n && (u.splice(r--, 1), (e = l((l.s = t[0]))));
- }
- return e;
- }
- var n = {},
- o = { 0: 0 },
- u = [];
- function l(r) {
- if (n[r]) return n[r].exports;
- var t = (n[r] = { i: r, l: !1, exports: {} }),
- o = !0;
+!(function() {
+ "use strict";
+ var r = {},
+ e = {};
+ function t(n) {
+ var o = e[n];
+ if (void 0 !== o) return o.exports;
+ var i = (e[n] = { exports: {} }),
+ u = !0;
try {
- e[r].call(t.exports, t, t.exports, l), (o = !1);
+ r[n](i, i.exports, t), (u = !1);
} finally {
- o && delete n[r];
+ u && delete e[n];
}
- return (t.l = !0), t.exports;
+ return i.exports;
}
- (l.m = e),
- (l.c = n),
- (l.d = function(e, r, t) {
- l.o(e, r) || Object.defineProperty(e, r, { enumerable: !0, get: t });
- }),
- (l.r = function(e) {
- "undefined" !== typeof Symbol &&
- Symbol.toStringTag &&
- Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }),
- Object.defineProperty(e, "__esModule", { value: !0 });
- }),
- (l.t = function(e, r) {
- if ((1 & r && (e = l(e)), 8 & r)) return e;
- if (4 & r && "object" === typeof e && e && e.__esModule) return e;
- var t = Object.create(null);
- if (
- (l.r(t),
- Object.defineProperty(t, "default", { enumerable: !0, value: e }),
- 2 & r && "string" != typeof e)
- )
- for (var n in e)
- l.d(
- t,
- n,
- function(r) {
- return e[r];
- }.bind(null, n)
- );
- return t;
- }),
- (l.n = function(e) {
- var r =
- e && e.__esModule
+ (t.m = r),
+ (function() {
+ var r = [];
+ t.O = function(e, n, o, i) {
+ if (!n) {
+ var u = 1 / 0;
+ for (a = 0; a < r.length; a++) {
+ (n = r[a][0]), (o = r[a][1]), (i = r[a][2]);
+ for (var c = !0, f = 0; f < n.length; f++)
+ (!1 & i || u >= i) &&
+ Object.keys(t.O).every(function(r) {
+ return t.O[r](n[f]);
+ })
+ ? n.splice(f--, 1)
+ : ((c = !1), i < u && (u = i));
+ c && (r.splice(a--, 1), (e = o()));
+ }
+ return e;
+ }
+ i = i || 0;
+ for (var a = r.length; a > 0 && r[a - 1][2] > i; a--) r[a] = r[a - 1];
+ r[a] = [n, o, i];
+ };
+ })(),
+ (t.n = function(r) {
+ var e =
+ r && r.__esModule
? function() {
- return e.default;
+ return r.default;
}
: function() {
- return e;
+ return r;
};
- return l.d(r, "a", r), r;
+ return t.d(e, { a: e }), e;
+ }),
+ (t.d = function(r, e) {
+ for (var n in e)
+ t.o(e, n) &&
+ !t.o(r, n) &&
+ Object.defineProperty(r, n, { enumerable: !0, get: e[n] });
}),
- (l.o = function(e, r) {
- return Object.prototype.hasOwnProperty.call(e, r);
+ (t.g = (function() {
+ if ("object" === typeof globalThis) return globalThis;
+ try {
+ return this || new Function("return this")();
+ } catch (r) {
+ if ("object" === typeof window) return window;
+ }
+ })()),
+ (t.o = function(r, e) {
+ return Object.prototype.hasOwnProperty.call(r, e);
}),
- (l.p = "");
- var f = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []),
- i = f.push.bind(f);
- (f.push = r), (f = f.slice());
- for (var a = 0; a < f.length; a++) r(f[a]);
- var p = i;
- t();
-})([]);
+ (t.r = function(r) {
+ "undefined" !== typeof Symbol &&
+ Symbol.toStringTag &&
+ Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }),
+ Object.defineProperty(r, "__esModule", { value: !0 });
+ }),
+ (function() {
+ var r;
+ t.g.importScripts && (r = t.g.location + "");
+ var e = t.g.document;
+ if (!r && e && (e.currentScript && (r = e.currentScript.src), !r)) {
+ var n = e.getElementsByTagName("script");
+ n.length && (r = n[n.length - 1].src);
+ }
+ if (!r)
+ throw new Error(
+ "Automatic publicPath is not supported in this browser"
+ );
+ (r = r
+ .replace(/#.*$/, "")
+ .replace(/\?.*$/, "")
+ .replace(/\/[^\/]+$/, "/")),
+ (t.p = r +
Post job cleanup.
[command]/usr/bin/git version
git version 2.31.1
[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: fa6c58dca518080138d4f32e44580aa49acd7ce9
PnP test is failing so something is wrong |
Fixes the e2e PnP tests by updating `enhanced-resolve` to get the fix in webpack/enhanced-resolve#289, the tests started failing in #23810 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes
- Enable webpack 5 by default for apps without custom webpack configuration Fixes vercel#23143 ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes
Fixes the e2e PnP tests by updating `enhanced-resolve` to get the fix in webpack/enhanced-resolve#289, the tests started failing in vercel#23810 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes
Fixes #23143
Bug
fixes #number
Feature
fixes #number
Documentation / Examples