-
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
feat: automatically enable webpack 5 #22323
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This comment has been minimized.
This comment has been minimized.
Timer
changed the title
feat: automatically enable webpack 5
fix: correctly enable webpack 5
Feb 19, 2021
Timer
changed the title
fix: correctly enable webpack 5
feat: automatically enable webpack 5
Feb 19, 2021
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
timneutkens
requested review from
divmain,
ijjk,
lfades,
shuding and
timneutkens
as code owners
March 19, 2021 12:46
This comment has been minimized.
This comment has been minimized.
This reverts commit f731a59.
…eat/auto-webpack-5
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
buildDuration | 10.3s | 11.8s | |
nodeModulesSize | 43.6 MB | 44 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 1.809 | 1.789 | -0.02 |
/ avg req/sec | 1382.21 | 1397.65 | +15.44 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.12 | 1.108 | -0.01 |
/error-in-render avg req/sec | 2231.89 | 2256.77 | +24.88 |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
677f882d2ed8..a2e7.js gzip | 13.4 kB | 13.3 kB | -60 B |
framework.HASH.js gzip | 39 kB | 39.3 kB | |
main-HASH.js gzip | 7.14 kB | 155 B | -6.99 kB |
webpack-HASH.js gzip | 751 B | 993 B | |
778-645ee4d3..2b18.js gzip | N/A | 7.06 kB | N/A |
Overall change | 60.3 kB | 60.8 kB |
Legacy Client Bundles (polyfills) Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | 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 | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_app-fde3324..9dd1.js gzip | 1.28 kB | 1.29 kB | |
_error-af59f..582f.js gzip | 3.46 kB | 3.4 kB | -52 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-e6cee42..49eb.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-127483e4..9cd8.js gzip | N/A | 560 B | N/A |
index-ac1ee6..819e.js gzip | N/A | 243 B | N/A |
routerDirect..f6a7.js gzip | N/A | 343 B | N/A |
withRouter-e..ab4f.js gzip | N/A | 340 B | N/A |
Overall change | 8.64 kB | 8.76 kB |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_buildManifest.js gzip | 346 B | 324 B | -22 B |
Overall change | 346 B | 324 B | -22 B |
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
index.html gzip | 613 B | 609 B | -4 B |
link.html gzip | 620 B | 617 B | -3 B |
withRouter.html gzip | 608 B | 604 B | -4 B |
Overall change | 1.84 kB | 1.83 kB | -11 B |
Serverless Mode (Increase detected ⚠️ )
General Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
buildDuration | 11.9s | 14.7s | |
nodeModulesSize | 43.6 MB | 44 MB |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
677f882d2ed8..a2e7.js gzip | 13.4 kB | N/A | N/A |
framework.HASH.js gzip | 39 kB | 39.3 kB | |
main-HASH.js gzip | 7.14 kB | 155 B | -6.99 kB |
webpack-HASH.js gzip | 751 B | 993 B | |
597-ec2335c0..e105.js gzip | N/A | 13.3 kB | N/A |
778-645ee4d3..2b18.js gzip | N/A | 7.06 kB | N/A |
Overall change | 60.3 kB | 60.8 kB |
Legacy Client Bundles (polyfills) Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | 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 | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_app-fde3324..9dd1.js gzip | 1.28 kB | N/A | N/A |
_error-af59f..582f.js gzip | 3.46 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-e6cee42..49eb.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-fcd3332..b241.js gzip | N/A | 1.29 kB | N/A |
_error-d12ff..6063.js gzip | N/A | 3.4 kB | N/A |
amp-127483e4..9cd8.js gzip | N/A | 560 B | N/A |
hooks-75994b..62d3.js gzip | N/A | 924 B | N/A |
index-ac1ee6..819e.js gzip | N/A | 243 B | N/A |
link-245d9d1..2950.js gzip | N/A | 1.66 kB | N/A |
routerDirect..f6a7.js gzip | N/A | 343 B | N/A |
withRouter-e..ab4f.js gzip | N/A | 340 B | N/A |
Overall change | 8.64 kB | 8.76 kB |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_buildManifest.js gzip | 346 B | 324 B | -22 B |
Overall change | 346 B | 324 B | -22 B |
Serverless bundles Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_error.js | 1.02 MB | 1.34 MB | |
404.html | 2.67 kB | 2.76 kB | |
500.html | 2.65 kB | 2.75 kB | |
amp.amp.html | 10.6 kB | 10.6 kB | ✓ |
amp.html | 1.86 kB | 1.96 kB | |
hooks.html | 1.92 kB | 2.01 kB | |
index.js | 1.02 MB | 1.34 MB | |
link.js | 1.08 MB | 1.4 MB | |
routerDirect.js | 1.07 MB | 1.39 MB | |
withRouter.js | 1.07 MB | 1.39 MB | |
Overall change | 5.27 MB | 6.87 MB |
Webpack 5 Mode (Increase detected ⚠️ )
General Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
buildDuration | 12s | 11.7s | -239ms |
nodeModulesSize | 43.6 MB | 44 MB |
Page Load Tests Overall decrease ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 1.732 | 1.808 | |
/ avg req/sec | 1443.78 | 1382.97 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.081 | 1.104 | |
/error-in-render avg req/sec | 2313.71 | 2265.15 |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
597-12fee761..569d.js gzip | 13.3 kB | 13.3 kB | -8 B |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 7.1 kB | 155 B | -6.95 kB |
webpack-HASH.js gzip | 993 B | 993 B | ✓ |
778-645ee4d3..2b18.js gzip | N/A | 7.06 kB | N/A |
Overall change | 60.7 kB | 60.8 kB |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.1 kB | 31.1 kB | ✓ |
Overall change | 31.1 kB | 31.1 kB | ✓ |
Client Pages Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_app-d0eb668..79ef.js gzip | 1.28 kB | 1.29 kB | |
_error-d12ff..6063.js gzip | 3.4 kB | 3.4 kB | ✓ |
amp-127483e4..9cd8.js gzip | 560 B | 560 B | ✓ |
hooks-75994b..62d3.js gzip | 924 B | 924 B | ✓ |
index-ac1ee6..819e.js gzip | 243 B | 243 B | ✓ |
link-1cd4709..71e5.js gzip | 1.65 kB | 1.66 kB | |
routerDirect..4d90.js gzip | 333 B | 343 B | |
withRouter-0..60b0.js gzip | 329 B | 340 B | |
Overall change | 8.72 kB | 8.76 kB |
Client Build Manifests
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_buildManifest.js gzip | 324 B | 324 B | ✓ |
Overall change | 324 B | 324 B | ✓ |
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
index.html gzip | 586 B | 609 B | |
link.html gzip | 593 B | 617 B | |
withRouter.html gzip | 581 B | 604 B | |
Overall change | 1.76 kB | 1.83 kB |
Diffs
Diff for _buildManifest.js
@@ -1,29 +1,21 @@
-self.__BUILD_MANIFEST = {
+(self.__BUILD_MANIFEST = {
__rewrites: [],
- "/": ["static\u002Fchunks\u002Fpages\u002Findex-ac435c89e537f4e6ecf2.js"],
- "/_error": [
- "static\u002Fchunks\u002Fpages\u002F_error-af59f52346097a29582f.js"
- ],
- "/amp": ["static\u002Fchunks\u002Fpages\u002Famp-9716187d43cb5ac80aa8.js"],
- "/hooks": [
- "static\u002Fchunks\u002Fpages\u002Fhooks-107e903cc2136d5974c7.js"
- ],
- "/link": ["static\u002Fchunks\u002Fpages\u002Flink-e6cee42c996f3df349eb.js"],
- "/routerDirect": [
- "static\u002Fchunks\u002Fpages\u002FrouterDirect-68414267e80493f2dc9d.js"
- ],
- "/withRouter": [
- "static\u002Fchunks\u002Fpages\u002FwithRouter-6e72b47076be15290e02.js"
- ],
+ "/": ["static/chunks/pages/index-ac1ee661952208cb819e.js"],
+ "/_error": ["static/chunks/pages/_error-d12ffd244ad9425e6063.js"],
+ "/amp": ["static/chunks/pages/amp-127483e4f55adead9cd8.js"],
+ "/hooks": ["static/chunks/pages/hooks-75994be60f7c8ab962d3.js"],
+ "/link": ["static/chunks/pages/link-245d9d11b7cf20662950.js"],
+ "/routerDirect": ["static/chunks/pages/routerDirect-54c6f464be2bd0b3f6a7.js"],
+ "/withRouter": ["static/chunks/pages/withRouter-ea0d2e9bd204126aab4f.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-fde3324..2e8719dd1.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 = d),
(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: d(e) })
);
}
}
@@ -124,7 +150,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
n
);
})(l.default.Component);
- function v(t) {
+ function d(t) {
var e = t.pathname,
n = t.asPath,
r = t.query;
@@ -161,43 +187,23 @@ _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));
+ },
+ n = t.O(void 0, [774, 597], function() {
+ return e(915), e(2441);
+ });
+ _N_E = n;
+ }
]);
Diff for _error-af59f..97a29582f.js
@@ -1,177 +1,78 @@
-_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) {
- "use strict";
- (t.__esModule = !0),
- (t.isInAmpMode = i),
- (t.useAmp = function() {
- return i(o.default.useContext(a.AmpStateContext));
- });
- var r,
- o = (r = n("q1tI")) && r.__esModule ? r : { default: r },
- a = n("lwAK");
- function i() {
- var e =
- arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
- t = e.ampFirst,
- n = void 0 !== t && t,
- r = e.hybrid,
- o = void 0 !== r && r,
- a = e.hasQuery,
- i = void 0 !== a && a;
- return n || (o && i);
- }
+ 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;
+ };
},
- "/a9y": 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);
+ 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 (
- 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
+ t in e
+ ? Object.defineProperty(e, t, {
+ value: n,
+ enumerable: !0,
+ configurable: !0,
+ writable: !0
+ })
+ : (e[t] = n),
+ e
);
- })(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");
- }
- ]);
+ 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;
},
- "7W2i": function(e, t, n) {
- var r = n("SksO");
+ 2205: function(e, t, n) {
+ var r = n(9489);
e.exports = function(e, t) {
if ("function" !== typeof t && null !== t)
throw new TypeError(
@@ -183,16 +84,148 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
t && r(e, t);
};
},
- "8Kt/": function(e, t, n) {
+ 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),
+ u = n(8206);
+ e.exports = function(e) {
+ return r(e) || o(e) || a(e) || u();
+ };
+ },
+ 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 = u),
+ (t.useAmp = function() {
+ return u(o.default.useContext(a.AmpStateContext));
+ });
+ var r,
+ o = (r = n(7294)) && r.__esModule ? r : { default: r },
+ a = n(3367);
+ function u() {
+ var e =
+ arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = e.ampFirst,
+ n = void 0 !== t && t,
+ r = e.hybrid,
+ o = void 0 !== r && r,
+ a = e.hasQuery,
+ u = void 0 !== a && a;
+ return n || (o && u);
+ }
+ },
+ 4287: function(e, t, n) {
+ "use strict";
+ var r;
+ (t.__esModule = !0), (t.HeadManagerContext = void 0);
+ var o = ((r = n(7294)) && r.__esModule
+ ? r
+ : { default: r }
+ ).default.createContext({});
+ t.HeadManagerContext = o;
+ },
+ 7947: function(e, t, n) {
"use strict";
- n("lSNA");
- (t.__esModule = !0), (t.defaultHead = f), (t.default = void 0);
+ n(9713);
+ (t.__esModule = !0), (t.defaultHead = s), (t.default = void 0);
var r,
o = (function(e) {
if (e && e.__esModule) return e;
if (null === e || ("object" !== typeof e && "function" !== typeof e))
return { default: e };
- var t = s();
+ var t = f();
if (t && t.has(e)) return t.get(e);
var n = {},
r = Object.defineProperty && Object.getOwnPropertyDescriptor;
@@ -205,22 +238,22 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}
(n.default = e), t && t.set(e, n);
return n;
- })(n("q1tI")),
- a = (r = n("Xuae")) && r.__esModule ? r : { default: r },
- i = n("lwAK"),
- u = n("FYa8"),
- c = n("/0+H");
- function s() {
+ })(n(7294)),
+ a = (r = n(617)) && r.__esModule ? r : { default: r },
+ u = n(3367),
+ i = n(4287),
+ c = n(7845);
+ function f() {
if ("function" !== typeof WeakMap) return null;
var e = new WeakMap();
return (
- (s = function() {
+ (f = function() {
return e;
}),
e
);
}
- function f() {
+ function s() {
var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0],
t = [o.default.createElement("meta", { charSet: "utf-8" })];
return (
@@ -260,7 +293,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}, [])
.reduce(l, [])
.reverse()
- .concat(f(t.inAmpMode))
+ .concat(s(t.inAmpMode))
.filter(
(function() {
var e = new Set(),
@@ -269,15 +302,15 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
r = {};
return function(o) {
var a = !0,
- i = !1;
+ u = !1;
if (
o.key &&
"number" !== typeof o.key &&
o.key.indexOf("$") > 0
) {
- i = !0;
- var u = o.key.slice(o.key.indexOf("$") + 1);
- e.has(u) ? (a = !1) : e.add(u);
+ u = !0;
+ var i = o.key.slice(o.key.indexOf("$") + 1);
+ e.has(i) ? (a = !1) : e.add(i);
}
switch (o.type) {
case "title":
@@ -285,15 +318,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 = p.length; c < s; c++) {
- var f = p[c];
- if (o.props.hasOwnProperty(f))
- if ("charSet" === f) n.has(f) ? (a = !1) : n.add(f);
+ for (var c = 0, f = p.length; c < f; c++) {
+ var s = p[c];
+ if (o.props.hasOwnProperty(s))
+ if ("charSet" === s) n.has(s) ? (a = !1) : n.add(s);
else {
- var l = o.props[f],
- d = r[f] || new Set();
- ("name" === f && i) || !d.has(l)
- ? (d.add(l), (r[f] = d))
+ var l = o.props[s],
+ d = r[s] || new Set();
+ ("name" === s && u) || !d.has(l)
+ ? (d.add(l), (r[s] = d))
: (a = !1);
}
}
@@ -308,10 +341,10 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
return o.default.cloneElement(e, { key: n });
});
}
- function y(e) {
+ function h(e) {
var t = e.children,
- n = (0, o.useContext)(i.AmpStateContext),
- r = (0, o.useContext)(u.HeadManagerContext);
+ n = (0, o.useContext)(u.AmpStateContext),
+ r = (0, o.useContext)(i.HeadManagerContext);
return o.default.createElement(
a.default,
{
@@ -322,123 +355,19 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
t
);
}
- y.rewind = function() {};
- var h = y;
- t.default = h;
- },
- 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;
- };
+ h.rewind = function() {};
+ var y = h;
+ t.default = y;
},
- Qetd: function(e, t, n) {
+ 617: 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) {
- "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),
+ u = (n(1506), n(2205)),
+ i = 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;
@@ -461,14 +390,14 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var o = c(this).constructor;
n = Reflect.construct(r, arguments, o);
} else n = r.apply(this, arguments);
- return u(this, n);
+ return i(this, n);
};
}
(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);
+ u(n, e);
+ var t = f(n);
function n(e) {
var a;
return (
@@ -521,85 +450,162 @@ _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),
+ u = n(8585),
+ i = 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 = i(e);
+ if (t) {
+ var o = i(this).constructor;
+ n = Reflect.construct(r, arguments, o);
+ } else n = r.apply(this, arguments);
+ return u(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) {
+ var t = e.O(void 0, [774], function() {
+ return (t = 4977), e((e.s = t));
+ var t;
+ });
+ _N_E = t;
+ }
]);
Diff for amp-127483e4..adead9cd8.js
@@ -0,0 +1,77 @@
+(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) {
+ var e = t.O(void 0, [774], function() {
+ return (e = 6071), t((t.s = e));
+ var e;
+ });
+ _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,58 @@ _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) {
+ var n = t.O(void 0, [774], function() {
+ return (n = 1470), t((t.s = n));
+ var n;
+ });
+ _N_E = n;
+ }
]);
Diff for index-ac1ee6..208cb819e.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 index-ac435c..7f4e6ecf2.js
deleted
Diff for link-e6cee42..f3df349eb.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)) {
@@ -70,45 +38,45 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
},
[o, e.href, e.as]
),
- p = s.href,
- d = s.as,
+ d = s.href,
+ p = 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,
- o = l[p + "%" + d + (r ? "%" + r : "")];
- e && !o && f(t, p, d, { locale: r });
+ var e = w && n && (0, c.isLocalURL)(d),
+ r = "undefined" !== typeof E ? E : t && t.locale,
+ o = l[d + "%" + p + (r ? "%" + r : "")];
+ e && !o && f(t, d, p, { locale: r });
},
- [d, p, M, b, n, t]
+ [p, d, 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, d, p, h, y, g, E);
},
onMouseEnter: function(e) {
- (0, c.isLocalURL)(p) &&
- (_.props &&
- "function" === typeof _.props.onMouseEnter &&
- _.props.onMouseEnter(e),
- f(t, p, d, { priority: !0 }));
+ (0, c.isLocalURL)(d) &&
+ (b.props &&
+ "function" === typeof b.props.onMouseEnter &&
+ b.props.onMouseEnter(e),
+ f(t, d, p, { 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,
+ p,
+ 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)(p, 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,
@@ -171,8 +139,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
l = (0, o.useState)(!1),
f = r(l, 2),
s = f[0],
- p = f[1],
- d = (0, o.useCallback)(
+ d = f[1],
+ p = (0, o.useCallback)(
function(e) {
i.current && (i.current(), (i.current = void 0)),
t ||
@@ -217,7 +185,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
})(
e,
function(e) {
- return e && p(e);
+ return e && d(e);
},
{ rootMargin: n }
)));
@@ -229,7 +197,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
function() {
if (!c && !s) {
var e = (0, a.requestIdleCallback)(function() {
- return p(!0);
+ return d(!0);
});
return function() {
return (0, a.cancelIdleCallback)(e);
@@ -238,14 +206,52 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
},
[s]
),
- [d, s]
+ [p, 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) {
+ var n = e.O(void 0, [774, 597], function() {
+ return (n = 7847), e((e.s = n));
+ var n;
+ });
+ _N_E = n;
+ }
]);
Diff for routerDirect..bd0b3f6a7.js
@@ -0,0 +1,38 @@
+(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) {
+ var t = n.O(void 0, [774, 597], function() {
+ return (t = 5448), n((n.s = t));
+ var t;
+ });
+ _N_E = t;
+ }
+]);
Diff for routerDirect..493f2dc9d.js
deleted
Diff for withRouter-6..e15290e02.js
deleted
Diff for withRouter-e..4126aab4f.js
@@ -0,0 +1,39 @@
+(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),
+ i = u.n(e),
+ r = u(1163),
+ o = i().createElement;
+ function c(n) {
+ return o("div", null, "I use withRouter");
+ }
+ (c.getInitialProps = function() {
+ return {};
+ }),
+ (t.default = (0, r.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) {
+ var t = n.O(void 0, [774, 597], function() {
+ return (t = 6744), n((n.s = t));
+ var t;
+ });
+ _N_E = t;
+ }
+]);
Diff for 677f882d2ed8..b9064a2e7.js
Diff too large to display
Diff for 778-645ee4d3..b1a872b18.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
Post job cleanup.
[command]/usr/bin/git version
git version 2.30.2
[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: e48e3528413a267f6e7a71fb766fefbe7ecc68f4
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
buildDuration | 12.2s | 14.1s | |
nodeModulesSize | 43.6 MB | 44 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.054 | 2.057 | 0 |
/ avg req/sec | 1217.37 | 1215.35 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.27 | 1.253 | -0.02 |
/error-in-render avg req/sec | 1967.76 | 1994.75 | +26.99 |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
677f882d2ed8..a2e7.js gzip | 13.4 kB | 13.3 kB | -60 B |
framework.HASH.js gzip | 39 kB | 39.3 kB | |
main-HASH.js gzip | 7.14 kB | 151 B | -6.99 kB |
webpack-HASH.js gzip | 751 B | 993 B | |
778-fdd40241..2d5c.js gzip | N/A | 7.06 kB | N/A |
Overall change | 60.3 kB | 60.8 kB |
Legacy Client Bundles (polyfills) Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | 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 | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_app-fde3324..9dd1.js gzip | 1.28 kB | 1.3 kB | |
_error-af59f..582f.js gzip | 3.46 kB | 3.4 kB | -50 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-e6cee42..49eb.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.64 kB | 8.76 kB |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_buildManifest.js gzip | 346 B | 323 B | -23 B |
Overall change | 346 B | 323 B | -23 B |
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
index.html gzip | 612 B | 610 B | -2 B |
link.html gzip | 621 B | 615 B | -6 B |
withRouter.html gzip | 608 B | 605 B | -3 B |
Overall change | 1.84 kB | 1.83 kB | -11 B |
Serverless Mode (Increase detected ⚠️ )
General Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
buildDuration | 13.9s | 17.2s | |
nodeModulesSize | 43.6 MB | 44 MB |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
677f882d2ed8..a2e7.js gzip | 13.4 kB | N/A | N/A |
framework.HASH.js gzip | 39 kB | 39.3 kB | |
main-HASH.js gzip | 7.14 kB | 151 B | -6.99 kB |
webpack-HASH.js gzip | 751 B | 993 B | |
597-ec2335c0..e105.js gzip | N/A | 13.3 kB | N/A |
778-fdd40241..2d5c.js gzip | N/A | 7.06 kB | N/A |
Overall change | 60.3 kB | 60.8 kB |
Legacy Client Bundles (polyfills) Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | 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 | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_app-fde3324..9dd1.js gzip | 1.28 kB | N/A | N/A |
_error-af59f..582f.js gzip | 3.46 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-e6cee42..49eb.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-bdbd9e6..6cfe.js gzip | N/A | 1.3 kB | N/A |
_error-b58c1..9b8e.js gzip | N/A | 3.4 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-d124373..c521.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.64 kB | 8.76 kB |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_buildManifest.js gzip | 346 B | 323 B | -23 B |
Overall change | 346 B | 323 B | -23 B |
Serverless bundles Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_error.js | 1.02 MB | 1.34 MB | |
404.html | 2.67 kB | 2.76 kB | |
500.html | 2.65 kB | 2.75 kB | |
amp.amp.html | 10.6 kB | 10.6 kB | ✓ |
amp.html | 1.86 kB | 1.96 kB | |
hooks.html | 1.92 kB | 2.01 kB | |
index.js | 1.02 MB | 1.34 MB | |
link.js | 1.08 MB | 1.4 MB | |
routerDirect.js | 1.07 MB | 1.39 MB | |
withRouter.js | 1.07 MB | 1.39 MB | |
Overall change | 5.27 MB | 6.87 MB |
Webpack 5 Mode (Increase detected ⚠️ )
General Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
buildDuration | 14.1s | 13.9s | -187ms |
nodeModulesSize | 43.6 MB | 44 MB |
Page Load Tests Overall decrease ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.003 | 2.1 | |
/ avg req/sec | 1248.42 | 1190.2 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.256 | 1.291 | |
/error-in-render avg req/sec | 1990.35 | 1936.04 |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
597-12fee761..569d.js gzip | 13.3 kB | 13.3 kB | -8 B |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 7.11 kB | 151 B | -6.96 kB |
webpack-HASH.js gzip | 993 B | 993 B | ✓ |
778-fdd40241..2d5c.js gzip | N/A | 7.06 kB | N/A |
Overall change | 60.7 kB | 60.8 kB |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.1 kB | 31.1 kB | ✓ |
Overall change | 31.1 kB | 31.1 kB | ✓ |
Client Pages Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_app-b5edc60..e5c2.js gzip | 1.29 kB | 1.3 kB | |
_error-b58c1..9b8e.js gzip | 3.4 kB | 3.4 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-3631090..4cab.js gzip | 1.65 kB | 1.66 kB | |
routerDirect..20d7.js gzip | 328 B | 336 B | |
withRouter-b..a4b9.js gzip | 326 B | 334 B | |
Overall change | 8.72 kB | 8.76 kB |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_buildManifest.js gzip | 325 B | 323 B | -2 B |
Overall change | 325 B | 323 B | -2 B |
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
index.html gzip | 585 B | 610 B | |
link.html gzip | 594 B | 615 B | |
withRouter.html gzip | 582 B | 605 B | |
Overall change | 1.76 kB | 1.83 kB |
Diffs
Diff for _buildManifest.js
@@ -1,29 +1,21 @@
-self.__BUILD_MANIFEST = {
+(self.__BUILD_MANIFEST = {
__rewrites: [],
- "/": ["static\u002Fchunks\u002Fpages\u002Findex-ac435c89e537f4e6ecf2.js"],
- "/_error": [
- "static\u002Fchunks\u002Fpages\u002F_error-af59f52346097a29582f.js"
- ],
- "/amp": ["static\u002Fchunks\u002Fpages\u002Famp-9716187d43cb5ac80aa8.js"],
- "/hooks": [
- "static\u002Fchunks\u002Fpages\u002Fhooks-107e903cc2136d5974c7.js"
- ],
- "/link": ["static\u002Fchunks\u002Fpages\u002Flink-e6cee42c996f3df349eb.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-b58c108825251cad9b8e.js"],
+ "/amp": ["static/chunks/pages/amp-89a5460cada4d99b567f.js"],
+ "/hooks": ["static/chunks/pages/hooks-8c2e74bb2b6bffaebe37.js"],
+ "/link": ["static/chunks/pages/link-d1243739b39e0a1bc521.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-fde3324..2e8719dd1.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-af59f..97a29582f.js
@@ -1,177 +1,78 @@
-_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) {
- "use strict";
- (t.__esModule = !0),
- (t.isInAmpMode = i),
- (t.useAmp = function() {
- return i(o.default.useContext(a.AmpStateContext));
- });
- var r,
- o = (r = n("q1tI")) && r.__esModule ? r : { default: r },
- a = n("lwAK");
- function i() {
- var e =
- arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
- t = e.ampFirst,
- n = void 0 !== t && t,
- r = e.hybrid,
- o = void 0 !== r && r,
- a = e.hasQuery,
- i = void 0 !== a && a;
- return n || (o && i);
- }
+ 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;
+ };
},
- "/a9y": 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);
+ 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 (
- 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
+ t in e
+ ? Object.defineProperty(e, t, {
+ value: n,
+ enumerable: !0,
+ configurable: !0,
+ writable: !0
+ })
+ : (e[t] = n),
+ e
);
- })(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");
- }
- ]);
+ 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;
},
- "7W2i": function(e, t, n) {
- var r = n("SksO");
+ 2205: function(e, t, n) {
+ var r = n(9489);
e.exports = function(e, t) {
if ("function" !== typeof t && null !== t)
throw new TypeError(
@@ -183,16 +84,148 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
t && r(e, t);
};
},
- "8Kt/": function(e, t, n) {
+ 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),
+ u = n(8206);
+ e.exports = function(e) {
+ return r(e) || o(e) || a(e) || u();
+ };
+ },
+ 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 = u),
+ (t.useAmp = function() {
+ return u(o.default.useContext(a.AmpStateContext));
+ });
+ var r,
+ o = (r = n(7294)) && r.__esModule ? r : { default: r },
+ a = n(3367);
+ function u() {
+ var e =
+ arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = e.ampFirst,
+ n = void 0 !== t && t,
+ r = e.hybrid,
+ o = void 0 !== r && r,
+ a = e.hasQuery,
+ u = void 0 !== a && a;
+ return n || (o && u);
+ }
+ },
+ 4287: function(e, t, n) {
+ "use strict";
+ var r;
+ (t.__esModule = !0), (t.HeadManagerContext = void 0);
+ var o = ((r = n(7294)) && r.__esModule
+ ? r
+ : { default: r }
+ ).default.createContext({});
+ t.HeadManagerContext = o;
+ },
+ 7947: function(e, t, n) {
"use strict";
- n("lSNA");
- (t.__esModule = !0), (t.defaultHead = f), (t.default = void 0);
+ n(9713);
+ (t.__esModule = !0), (t.defaultHead = s), (t.default = void 0);
var r,
o = (function(e) {
if (e && e.__esModule) return e;
if (null === e || ("object" !== typeof e && "function" !== typeof e))
return { default: e };
- var t = s();
+ var t = f();
if (t && t.has(e)) return t.get(e);
var n = {},
r = Object.defineProperty && Object.getOwnPropertyDescriptor;
@@ -205,22 +238,22 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}
(n.default = e), t && t.set(e, n);
return n;
- })(n("q1tI")),
- a = (r = n("Xuae")) && r.__esModule ? r : { default: r },
- i = n("lwAK"),
- u = n("FYa8"),
- c = n("/0+H");
- function s() {
+ })(n(7294)),
+ a = (r = n(617)) && r.__esModule ? r : { default: r },
+ u = n(3367),
+ i = n(4287),
+ c = n(7845);
+ function f() {
if ("function" !== typeof WeakMap) return null;
var e = new WeakMap();
return (
- (s = function() {
+ (f = function() {
return e;
}),
e
);
}
- function f() {
+ function s() {
var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0],
t = [o.default.createElement("meta", { charSet: "utf-8" })];
return (
@@ -260,7 +293,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}, [])
.reduce(l, [])
.reverse()
- .concat(f(t.inAmpMode))
+ .concat(s(t.inAmpMode))
.filter(
(function() {
var e = new Set(),
@@ -269,15 +302,15 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
r = {};
return function(o) {
var a = !0,
- i = !1;
+ u = !1;
if (
o.key &&
"number" !== typeof o.key &&
o.key.indexOf("$") > 0
) {
- i = !0;
- var u = o.key.slice(o.key.indexOf("$") + 1);
- e.has(u) ? (a = !1) : e.add(u);
+ u = !0;
+ var i = o.key.slice(o.key.indexOf("$") + 1);
+ e.has(i) ? (a = !1) : e.add(i);
}
switch (o.type) {
case "title":
@@ -285,15 +318,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 = p.length; c < s; c++) {
- var f = p[c];
- if (o.props.hasOwnProperty(f))
- if ("charSet" === f) n.has(f) ? (a = !1) : n.add(f);
+ for (var c = 0, f = p.length; c < f; c++) {
+ var s = p[c];
+ if (o.props.hasOwnProperty(s))
+ if ("charSet" === s) n.has(s) ? (a = !1) : n.add(s);
else {
- var l = o.props[f],
- d = r[f] || new Set();
- ("name" === f && i) || !d.has(l)
- ? (d.add(l), (r[f] = d))
+ var l = o.props[s],
+ d = r[s] || new Set();
+ ("name" === s && u) || !d.has(l)
+ ? (d.add(l), (r[s] = d))
: (a = !1);
}
}
@@ -308,10 +341,10 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
return o.default.cloneElement(e, { key: n });
});
}
- function y(e) {
+ function h(e) {
var t = e.children,
- n = (0, o.useContext)(i.AmpStateContext),
- r = (0, o.useContext)(u.HeadManagerContext);
+ n = (0, o.useContext)(u.AmpStateContext),
+ r = (0, o.useContext)(i.HeadManagerContext);
return o.default.createElement(
a.default,
{
@@ -322,123 +355,19 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
t
);
}
- y.rewind = function() {};
- var h = y;
- t.default = h;
- },
- 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;
- };
+ h.rewind = function() {};
+ var y = h;
+ t.default = y;
},
- Qetd: function(e, t, n) {
+ 617: 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) {
- "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),
+ u = (n(1506), n(2205)),
+ i = 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;
@@ -461,14 +390,14 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var o = c(this).constructor;
n = Reflect.construct(r, arguments, o);
} else n = r.apply(this, arguments);
- return u(this, n);
+ return i(this, n);
};
}
(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);
+ u(n, e);
+ var t = f(n);
function n(e) {
var a;
return (
@@ -521,85 +450,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),
+ u = n(8585),
+ i = 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 = i(e);
+ if (t) {
+ var o = i(this).constructor;
+ n = Reflect.construct(r, arguments, o);
+ } else n = r.apply(this, arguments);
+ return u(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-e6cee42..f3df349eb.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..b9064a2e7.js
Diff too large to display
Diff for 778-fdd40241..153902d5c.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
Post job cleanup.
[command]/usr/bin/git version
git version 2.30.2
[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: 467dbf064fb1b5233b9bc56bedcb45a3cff01a45
…pack-5 # Conflicts: # packages/next/package.json
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
buildDuration | 13.1s | 15.8s | |
nodeModulesSize | 61.3 MB | 61.6 MB |
Page Load Tests Overall decrease ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.041 | 2.043 | 0 |
/ avg req/sec | 1225.18 | 1223.44 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.272 | 1.283 | |
/error-in-render avg req/sec | 1964.99 | 1949.21 |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
677f882d2ed8..a2e7.js gzip | 13.4 kB | 13.3 kB | -60 B |
framework.HASH.js gzip | 39 kB | 39.3 kB | |
main-HASH.js gzip | 7.14 kB | 151 B | -6.99 kB |
webpack-HASH.js gzip | 751 B | 993 B | |
778-a246309d..aaa5.js gzip | N/A | 7.06 kB | N/A |
Overall change | 60.3 kB | 60.8 kB |
Legacy Client Bundles (polyfills) Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | 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 | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_app-fde3324..9dd1.js gzip | 1.28 kB | 1.3 kB | |
_error-af59f..582f.js gzip | 3.46 kB | 3.4 kB | -50 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-e6cee42..49eb.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.64 kB | 8.76 kB |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_buildManifest.js gzip | 346 B | 323 B | -23 B |
Overall change | 346 B | 323 B | -23 B |
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
index.html gzip | 613 B | 610 B | -3 B |
link.html gzip | 621 B | 614 B | -7 B |
withRouter.html gzip | 607 B | 604 B | -3 B |
Overall change | 1.84 kB | 1.83 kB | -13 B |
Serverless Mode (Increase detected ⚠️ )
General Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
buildDuration | 14.7s | 19.1s | |
nodeModulesSize | 61.3 MB | 61.6 MB |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
677f882d2ed8..a2e7.js gzip | 13.4 kB | N/A | N/A |
framework.HASH.js gzip | 39 kB | 39.3 kB | |
main-HASH.js gzip | 7.14 kB | 151 B | -6.99 kB |
webpack-HASH.js gzip | 751 B | 993 B | |
597-ec2335c0..e105.js gzip | N/A | 13.3 kB | N/A |
778-a246309d..aaa5.js gzip | N/A | 7.06 kB | N/A |
Overall change | 60.3 kB | 60.8 kB |
Legacy Client Bundles (polyfills) Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | 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 | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_app-fde3324..9dd1.js gzip | 1.28 kB | N/A | N/A |
_error-af59f..582f.js gzip | 3.46 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-e6cee42..49eb.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-bdbd9e6..6cfe.js gzip | N/A | 1.3 kB | N/A |
_error-b58c1..9b8e.js gzip | N/A | 3.4 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-d124373..c521.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.64 kB | 8.76 kB |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_buildManifest.js gzip | 346 B | 323 B | -23 B |
Overall change | 346 B | 323 B | -23 B |
Serverless bundles Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_error.js | 1.02 MB | 1.34 MB | |
404.html | 2.67 kB | 2.76 kB | |
500.html | 2.65 kB | 2.75 kB | |
amp.amp.html | 10.6 kB | 10.6 kB | ✓ |
amp.html | 1.86 kB | 1.96 kB | |
hooks.html | 1.92 kB | 2.01 kB | |
index.js | 1.02 MB | 1.34 MB | |
link.js | 1.08 MB | 1.4 MB | |
routerDirect.js | 1.07 MB | 1.39 MB | |
withRouter.js | 1.07 MB | 1.39 MB | |
Overall change | 5.27 MB | 6.87 MB |
Webpack 5 Mode (Increase detected ⚠️ )
General Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
buildDuration | 15.1s | 15.8s | |
nodeModulesSize | 61.3 MB | 61.6 MB |
Page Load Tests Overall decrease ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 1.995 | 2.117 | |
/ avg req/sec | 1253.35 | 1181.19 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.234 | 1.255 | |
/error-in-render avg req/sec | 2026.51 | 1991.31 |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
597-12fee761..569d.js gzip | 13.3 kB | 13.3 kB | -8 B |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 7.11 kB | 151 B | -6.96 kB |
webpack-HASH.js gzip | 993 B | 993 B | ✓ |
778-a246309d..aaa5.js gzip | N/A | 7.06 kB | N/A |
Overall change | 60.7 kB | 60.8 kB |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.1 kB | 31.1 kB | ✓ |
Overall change | 31.1 kB | 31.1 kB | ✓ |
Client Pages Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_app-b5edc60..e5c2.js gzip | 1.29 kB | 1.3 kB | |
_error-b58c1..9b8e.js gzip | 3.4 kB | 3.4 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-3631090..4cab.js gzip | 1.65 kB | 1.66 kB | |
routerDirect..20d7.js gzip | 328 B | 336 B | |
withRouter-b..a4b9.js gzip | 326 B | 334 B | |
Overall change | 8.72 kB | 8.76 kB |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_buildManifest.js gzip | 325 B | 323 B | -2 B |
Overall change | 325 B | 323 B | -2 B |
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
index.html gzip | 584 B | 610 B | |
link.html gzip | 592 B | 614 B | |
withRouter.html gzip | 581 B | 604 B | |
Overall change | 1.76 kB | 1.83 kB |
Diffs
Diff for _buildManifest.js
@@ -1,29 +1,21 @@
-self.__BUILD_MANIFEST = {
+(self.__BUILD_MANIFEST = {
__rewrites: [],
- "/": ["static\u002Fchunks\u002Fpages\u002Findex-ac435c89e537f4e6ecf2.js"],
- "/_error": [
- "static\u002Fchunks\u002Fpages\u002F_error-af59f52346097a29582f.js"
- ],
- "/amp": ["static\u002Fchunks\u002Fpages\u002Famp-9716187d43cb5ac80aa8.js"],
- "/hooks": [
- "static\u002Fchunks\u002Fpages\u002Fhooks-107e903cc2136d5974c7.js"
- ],
- "/link": ["static\u002Fchunks\u002Fpages\u002Flink-e6cee42c996f3df349eb.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-b58c108825251cad9b8e.js"],
+ "/amp": ["static/chunks/pages/amp-89a5460cada4d99b567f.js"],
+ "/hooks": ["static/chunks/pages/hooks-8c2e74bb2b6bffaebe37.js"],
+ "/link": ["static/chunks/pages/link-d1243739b39e0a1bc521.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-fde3324..2e8719dd1.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-af59f..97a29582f.js
@@ -1,177 +1,78 @@
-_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) {
- "use strict";
- (t.__esModule = !0),
- (t.isInAmpMode = i),
- (t.useAmp = function() {
- return i(o.default.useContext(a.AmpStateContext));
- });
- var r,
- o = (r = n("q1tI")) && r.__esModule ? r : { default: r },
- a = n("lwAK");
- function i() {
- var e =
- arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
- t = e.ampFirst,
- n = void 0 !== t && t,
- r = e.hybrid,
- o = void 0 !== r && r,
- a = e.hasQuery,
- i = void 0 !== a && a;
- return n || (o && i);
- }
+ 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;
+ };
},
- "/a9y": 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);
+ 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 (
- 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
+ t in e
+ ? Object.defineProperty(e, t, {
+ value: n,
+ enumerable: !0,
+ configurable: !0,
+ writable: !0
+ })
+ : (e[t] = n),
+ e
);
- })(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");
- }
- ]);
+ 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;
},
- "7W2i": function(e, t, n) {
- var r = n("SksO");
+ 2205: function(e, t, n) {
+ var r = n(9489);
e.exports = function(e, t) {
if ("function" !== typeof t && null !== t)
throw new TypeError(
@@ -183,16 +84,148 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
t && r(e, t);
};
},
- "8Kt/": function(e, t, n) {
+ 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),
+ u = n(8206);
+ e.exports = function(e) {
+ return r(e) || o(e) || a(e) || u();
+ };
+ },
+ 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 = u),
+ (t.useAmp = function() {
+ return u(o.default.useContext(a.AmpStateContext));
+ });
+ var r,
+ o = (r = n(7294)) && r.__esModule ? r : { default: r },
+ a = n(3367);
+ function u() {
+ var e =
+ arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = e.ampFirst,
+ n = void 0 !== t && t,
+ r = e.hybrid,
+ o = void 0 !== r && r,
+ a = e.hasQuery,
+ u = void 0 !== a && a;
+ return n || (o && u);
+ }
+ },
+ 4287: function(e, t, n) {
+ "use strict";
+ var r;
+ (t.__esModule = !0), (t.HeadManagerContext = void 0);
+ var o = ((r = n(7294)) && r.__esModule
+ ? r
+ : { default: r }
+ ).default.createContext({});
+ t.HeadManagerContext = o;
+ },
+ 7947: function(e, t, n) {
"use strict";
- n("lSNA");
- (t.__esModule = !0), (t.defaultHead = f), (t.default = void 0);
+ n(9713);
+ (t.__esModule = !0), (t.defaultHead = s), (t.default = void 0);
var r,
o = (function(e) {
if (e && e.__esModule) return e;
if (null === e || ("object" !== typeof e && "function" !== typeof e))
return { default: e };
- var t = s();
+ var t = f();
if (t && t.has(e)) return t.get(e);
var n = {},
r = Object.defineProperty && Object.getOwnPropertyDescriptor;
@@ -205,22 +238,22 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}
(n.default = e), t && t.set(e, n);
return n;
- })(n("q1tI")),
- a = (r = n("Xuae")) && r.__esModule ? r : { default: r },
- i = n("lwAK"),
- u = n("FYa8"),
- c = n("/0+H");
- function s() {
+ })(n(7294)),
+ a = (r = n(617)) && r.__esModule ? r : { default: r },
+ u = n(3367),
+ i = n(4287),
+ c = n(7845);
+ function f() {
if ("function" !== typeof WeakMap) return null;
var e = new WeakMap();
return (
- (s = function() {
+ (f = function() {
return e;
}),
e
);
}
- function f() {
+ function s() {
var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0],
t = [o.default.createElement("meta", { charSet: "utf-8" })];
return (
@@ -260,7 +293,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}, [])
.reduce(l, [])
.reverse()
- .concat(f(t.inAmpMode))
+ .concat(s(t.inAmpMode))
.filter(
(function() {
var e = new Set(),
@@ -269,15 +302,15 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
r = {};
return function(o) {
var a = !0,
- i = !1;
+ u = !1;
if (
o.key &&
"number" !== typeof o.key &&
o.key.indexOf("$") > 0
) {
- i = !0;
- var u = o.key.slice(o.key.indexOf("$") + 1);
- e.has(u) ? (a = !1) : e.add(u);
+ u = !0;
+ var i = o.key.slice(o.key.indexOf("$") + 1);
+ e.has(i) ? (a = !1) : e.add(i);
}
switch (o.type) {
case "title":
@@ -285,15 +318,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 = p.length; c < s; c++) {
- var f = p[c];
- if (o.props.hasOwnProperty(f))
- if ("charSet" === f) n.has(f) ? (a = !1) : n.add(f);
+ for (var c = 0, f = p.length; c < f; c++) {
+ var s = p[c];
+ if (o.props.hasOwnProperty(s))
+ if ("charSet" === s) n.has(s) ? (a = !1) : n.add(s);
else {
- var l = o.props[f],
- d = r[f] || new Set();
- ("name" === f && i) || !d.has(l)
- ? (d.add(l), (r[f] = d))
+ var l = o.props[s],
+ d = r[s] || new Set();
+ ("name" === s && u) || !d.has(l)
+ ? (d.add(l), (r[s] = d))
: (a = !1);
}
}
@@ -308,10 +341,10 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
return o.default.cloneElement(e, { key: n });
});
}
- function y(e) {
+ function h(e) {
var t = e.children,
- n = (0, o.useContext)(i.AmpStateContext),
- r = (0, o.useContext)(u.HeadManagerContext);
+ n = (0, o.useContext)(u.AmpStateContext),
+ r = (0, o.useContext)(i.HeadManagerContext);
return o.default.createElement(
a.default,
{
@@ -322,123 +355,19 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
t
);
}
- y.rewind = function() {};
- var h = y;
- t.default = h;
- },
- 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;
- };
+ h.rewind = function() {};
+ var y = h;
+ t.default = y;
},
- Qetd: function(e, t, n) {
+ 617: 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) {
- "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),
+ u = (n(1506), n(2205)),
+ i = 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;
@@ -461,14 +390,14 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var o = c(this).constructor;
n = Reflect.construct(r, arguments, o);
} else n = r.apply(this, arguments);
- return u(this, n);
+ return i(this, n);
};
}
(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);
+ u(n, e);
+ var t = f(n);
function n(e) {
var a;
return (
@@ -521,85 +450,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),
+ u = n(8585),
+ i = 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 = i(e);
+ if (t) {
+ var o = i(this).constructor;
+ n = Reflect.construct(r, arguments, o);
+ } else n = r.apply(this, arguments);
+ return u(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-e6cee42..f3df349eb.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..b9064a2e7.js
Diff too large to display
Diff for 778-a246309d..33173aaa5.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
Post job cleanup.
[command]/usr/bin/git version
git version 2.31.0
[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: 236e66e1bf1c1de5b5f425bba2ec14711229a386
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
buildDuration | 12.6s | 15.4s | |
nodeModulesSize | 61.3 MB | 61.7 MB |
Page Load Tests Overall decrease ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.023 | 2.055 | |
/ avg req/sec | 1235.82 | 1216.48 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.21 | 1.249 | |
/error-in-render avg req/sec | 2065.93 | 2001.86 |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
677f882d2ed8..a2e7.js gzip | 13.4 kB | 13.3 kB | -60 B |
framework.HASH.js gzip | 39 kB | 39.3 kB | |
main-HASH.js gzip | 7.14 kB | 151 B | -6.99 kB |
webpack-HASH.js gzip | 751 B | 993 B | |
778-a246309d..aaa5.js gzip | N/A | 7.06 kB | N/A |
Overall change | 60.3 kB | 60.8 kB |
Legacy Client Bundles (polyfills) Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | 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 | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_app-fde3324..9dd1.js gzip | 1.28 kB | 1.3 kB | |
_error-af59f..582f.js gzip | 3.46 kB | 3.4 kB | -50 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-e6cee42..49eb.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.64 kB | 8.76 kB |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_buildManifest.js gzip | 346 B | 323 B | -23 B |
Overall change | 346 B | 323 B | -23 B |
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
index.html gzip | 613 B | 610 B | -3 B |
link.html gzip | 621 B | 614 B | -7 B |
withRouter.html gzip | 607 B | 604 B | -3 B |
Overall change | 1.84 kB | 1.83 kB | -13 B |
Serverless Mode (Increase detected ⚠️ )
General Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
buildDuration | 15.4s | 20.2s | |
nodeModulesSize | 61.3 MB | 61.7 MB |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
677f882d2ed8..a2e7.js gzip | 13.4 kB | N/A | N/A |
framework.HASH.js gzip | 39 kB | 39.3 kB | |
main-HASH.js gzip | 7.14 kB | 151 B | -6.99 kB |
webpack-HASH.js gzip | 751 B | 993 B | |
597-ec2335c0..e105.js gzip | N/A | 13.3 kB | N/A |
778-a246309d..aaa5.js gzip | N/A | 7.06 kB | N/A |
Overall change | 60.3 kB | 60.8 kB |
Legacy Client Bundles (polyfills) Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | 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 | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_app-fde3324..9dd1.js gzip | 1.28 kB | N/A | N/A |
_error-af59f..582f.js gzip | 3.46 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-e6cee42..49eb.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-bdbd9e6..6cfe.js gzip | N/A | 1.3 kB | N/A |
_error-b58c1..9b8e.js gzip | N/A | 3.4 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-d124373..c521.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.64 kB | 8.76 kB |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_buildManifest.js gzip | 346 B | 323 B | -23 B |
Overall change | 346 B | 323 B | -23 B |
Serverless bundles Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_error.js | 1.02 MB | 1.34 MB | |
404.html | 2.67 kB | 2.76 kB | |
500.html | 2.65 kB | 2.75 kB | |
amp.amp.html | 10.6 kB | 10.6 kB | ✓ |
amp.html | 1.86 kB | 1.96 kB | |
hooks.html | 1.92 kB | 2.01 kB | |
index.js | 1.02 MB | 1.34 MB | |
link.js | 1.08 MB | 1.4 MB | |
routerDirect.js | 1.07 MB | 1.39 MB | |
withRouter.js | 1.07 MB | 1.39 MB | |
Overall change | 5.27 MB | 6.87 MB |
Webpack 5 Mode (Increase detected ⚠️ )
General Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
buildDuration | 15.8s | 15.4s | -326ms |
nodeModulesSize | 61.3 MB | 61.7 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.008 | 2.036 | |
/ avg req/sec | 1244.89 | 1228.14 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.257 | 1.22 | -0.04 |
/error-in-render avg req/sec | 1988.21 | 2049.15 | +60.94 |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
597-12fee761..569d.js gzip | 13.3 kB | 13.3 kB | -8 B |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 7.11 kB | 151 B | -6.96 kB |
webpack-HASH.js gzip | 993 B | 993 B | ✓ |
778-a246309d..aaa5.js gzip | N/A | 7.06 kB | N/A |
Overall change | 60.7 kB | 60.8 kB |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31.1 kB | 31.1 kB | ✓ |
Overall change | 31.1 kB | 31.1 kB | ✓ |
Client Pages Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_app-b5edc60..e5c2.js gzip | 1.29 kB | 1.3 kB | |
_error-b58c1..9b8e.js gzip | 3.4 kB | 3.4 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-3631090..4cab.js gzip | 1.65 kB | 1.66 kB | |
routerDirect..20d7.js gzip | 328 B | 336 B | |
withRouter-b..a4b9.js gzip | 326 B | 334 B | |
Overall change | 8.72 kB | 8.76 kB |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
_buildManifest.js gzip | 325 B | 323 B | -2 B |
Overall change | 325 B | 323 B | -2 B |
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary | Timer/next.js feat/auto-webpack-5 | Change | |
---|---|---|---|
index.html gzip | 584 B | 610 B | |
link.html gzip | 592 B | 614 B | |
withRouter.html gzip | 581 B | 604 B | |
Overall change | 1.76 kB | 1.83 kB |
Diffs
Diff for _buildManifest.js
@@ -1,29 +1,21 @@
-self.__BUILD_MANIFEST = {
+(self.__BUILD_MANIFEST = {
__rewrites: [],
- "/": ["static\u002Fchunks\u002Fpages\u002Findex-ac435c89e537f4e6ecf2.js"],
- "/_error": [
- "static\u002Fchunks\u002Fpages\u002F_error-af59f52346097a29582f.js"
- ],
- "/amp": ["static\u002Fchunks\u002Fpages\u002Famp-9716187d43cb5ac80aa8.js"],
- "/hooks": [
- "static\u002Fchunks\u002Fpages\u002Fhooks-107e903cc2136d5974c7.js"
- ],
- "/link": ["static\u002Fchunks\u002Fpages\u002Flink-e6cee42c996f3df349eb.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-b58c108825251cad9b8e.js"],
+ "/amp": ["static/chunks/pages/amp-89a5460cada4d99b567f.js"],
+ "/hooks": ["static/chunks/pages/hooks-8c2e74bb2b6bffaebe37.js"],
+ "/link": ["static/chunks/pages/link-d1243739b39e0a1bc521.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-fde3324..2e8719dd1.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-af59f..97a29582f.js
@@ -1,177 +1,78 @@
-_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) {
- "use strict";
- (t.__esModule = !0),
- (t.isInAmpMode = i),
- (t.useAmp = function() {
- return i(o.default.useContext(a.AmpStateContext));
- });
- var r,
- o = (r = n("q1tI")) && r.__esModule ? r : { default: r },
- a = n("lwAK");
- function i() {
- var e =
- arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
- t = e.ampFirst,
- n = void 0 !== t && t,
- r = e.hybrid,
- o = void 0 !== r && r,
- a = e.hasQuery,
- i = void 0 !== a && a;
- return n || (o && i);
- }
+ 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;
+ };
},
- "/a9y": 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);
+ 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 (
- 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
+ t in e
+ ? Object.defineProperty(e, t, {
+ value: n,
+ enumerable: !0,
+ configurable: !0,
+ writable: !0
+ })
+ : (e[t] = n),
+ e
);
- })(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");
- }
- ]);
+ 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;
},
- "7W2i": function(e, t, n) {
- var r = n("SksO");
+ 2205: function(e, t, n) {
+ var r = n(9489);
e.exports = function(e, t) {
if ("function" !== typeof t && null !== t)
throw new TypeError(
@@ -183,16 +84,148 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
t && r(e, t);
};
},
- "8Kt/": function(e, t, n) {
+ 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),
+ u = n(8206);
+ e.exports = function(e) {
+ return r(e) || o(e) || a(e) || u();
+ };
+ },
+ 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 = u),
+ (t.useAmp = function() {
+ return u(o.default.useContext(a.AmpStateContext));
+ });
+ var r,
+ o = (r = n(7294)) && r.__esModule ? r : { default: r },
+ a = n(3367);
+ function u() {
+ var e =
+ arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
+ t = e.ampFirst,
+ n = void 0 !== t && t,
+ r = e.hybrid,
+ o = void 0 !== r && r,
+ a = e.hasQuery,
+ u = void 0 !== a && a;
+ return n || (o && u);
+ }
+ },
+ 4287: function(e, t, n) {
+ "use strict";
+ var r;
+ (t.__esModule = !0), (t.HeadManagerContext = void 0);
+ var o = ((r = n(7294)) && r.__esModule
+ ? r
+ : { default: r }
+ ).default.createContext({});
+ t.HeadManagerContext = o;
+ },
+ 7947: function(e, t, n) {
"use strict";
- n("lSNA");
- (t.__esModule = !0), (t.defaultHead = f), (t.default = void 0);
+ n(9713);
+ (t.__esModule = !0), (t.defaultHead = s), (t.default = void 0);
var r,
o = (function(e) {
if (e && e.__esModule) return e;
if (null === e || ("object" !== typeof e && "function" !== typeof e))
return { default: e };
- var t = s();
+ var t = f();
if (t && t.has(e)) return t.get(e);
var n = {},
r = Object.defineProperty && Object.getOwnPropertyDescriptor;
@@ -205,22 +238,22 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}
(n.default = e), t && t.set(e, n);
return n;
- })(n("q1tI")),
- a = (r = n("Xuae")) && r.__esModule ? r : { default: r },
- i = n("lwAK"),
- u = n("FYa8"),
- c = n("/0+H");
- function s() {
+ })(n(7294)),
+ a = (r = n(617)) && r.__esModule ? r : { default: r },
+ u = n(3367),
+ i = n(4287),
+ c = n(7845);
+ function f() {
if ("function" !== typeof WeakMap) return null;
var e = new WeakMap();
return (
- (s = function() {
+ (f = function() {
return e;
}),
e
);
}
- function f() {
+ function s() {
var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0],
t = [o.default.createElement("meta", { charSet: "utf-8" })];
return (
@@ -260,7 +293,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}, [])
.reduce(l, [])
.reverse()
- .concat(f(t.inAmpMode))
+ .concat(s(t.inAmpMode))
.filter(
(function() {
var e = new Set(),
@@ -269,15 +302,15 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
r = {};
return function(o) {
var a = !0,
- i = !1;
+ u = !1;
if (
o.key &&
"number" !== typeof o.key &&
o.key.indexOf("$") > 0
) {
- i = !0;
- var u = o.key.slice(o.key.indexOf("$") + 1);
- e.has(u) ? (a = !1) : e.add(u);
+ u = !0;
+ var i = o.key.slice(o.key.indexOf("$") + 1);
+ e.has(i) ? (a = !1) : e.add(i);
}
switch (o.type) {
case "title":
@@ -285,15 +318,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 = p.length; c < s; c++) {
- var f = p[c];
- if (o.props.hasOwnProperty(f))
- if ("charSet" === f) n.has(f) ? (a = !1) : n.add(f);
+ for (var c = 0, f = p.length; c < f; c++) {
+ var s = p[c];
+ if (o.props.hasOwnProperty(s))
+ if ("charSet" === s) n.has(s) ? (a = !1) : n.add(s);
else {
- var l = o.props[f],
- d = r[f] || new Set();
- ("name" === f && i) || !d.has(l)
- ? (d.add(l), (r[f] = d))
+ var l = o.props[s],
+ d = r[s] || new Set();
+ ("name" === s && u) || !d.has(l)
+ ? (d.add(l), (r[s] = d))
: (a = !1);
}
}
@@ -308,10 +341,10 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
return o.default.cloneElement(e, { key: n });
});
}
- function y(e) {
+ function h(e) {
var t = e.children,
- n = (0, o.useContext)(i.AmpStateContext),
- r = (0, o.useContext)(u.HeadManagerContext);
+ n = (0, o.useContext)(u.AmpStateContext),
+ r = (0, o.useContext)(i.HeadManagerContext);
return o.default.createElement(
a.default,
{
@@ -322,123 +355,19 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
t
);
}
- y.rewind = function() {};
- var h = y;
- t.default = h;
- },
- 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;
- };
+ h.rewind = function() {};
+ var y = h;
+ t.default = y;
},
- Qetd: function(e, t, n) {
+ 617: 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) {
- "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),
+ u = (n(1506), n(2205)),
+ i = 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;
@@ -461,14 +390,14 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var o = c(this).constructor;
n = Reflect.construct(r, arguments, o);
} else n = r.apply(this, arguments);
- return u(this, n);
+ return i(this, n);
};
}
(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);
+ u(n, e);
+ var t = f(n);
function n(e) {
var a;
return (
@@ -521,85 +450,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),
+ u = n(8585),
+ i = 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 = i(e);
+ if (t) {
+ var o = i(this).constructor;
+ n = Reflect.construct(r, arguments, o);
+ } else n = r.apply(this, arguments);
+ return u(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-e6cee42..f3df349eb.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..b9064a2e7.js
Diff too large to display
Diff for 778-a246309d..33173aaa5.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 }),
Post job cleanup.
[command]/usr/bin/git version
git version 2.31.0
[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: dcac3a2279ee8769232c71828df8058db28192bd
8 tasks
SokratisVidros
pushed a commit
to SokratisVidros/next.js
that referenced
this pull request
Apr 20, 2021
Co-authored-by: Tim Neutkens <timneutkens@me.com> Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
flybayer
pushed a commit
to blitz-js/next.js
that referenced
this pull request
Apr 29, 2021
Co-authored-by: Tim Neutkens <timneutkens@me.com> Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
next.config.js
Blocked by #23316
Fixes #23143