Skip to content

Commit

Permalink
Deploy preview for PR 53 🛫
Browse files Browse the repository at this point in the history
  • Loading branch information
jgf5013 committed Feb 21, 2025
1 parent 615f243 commit 3837bdf
Show file tree
Hide file tree
Showing 798 changed files with 40,042 additions and 0 deletions.
1 change: 1 addition & 0 deletions pr-preview/pr-53/.next/BUILD_ID
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
o9w8kkBBIPRZ1BJt6NZF-
74 changes: 74 additions & 0 deletions pr-preview/pr-53/.next/build-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"polyfillFiles": [
"static/chunks/polyfills-28654a8145d7603786fc.js"
],
"devFiles": [],
"ampDevFiles": [],
"lowPriorityFiles": [
"static/o9w8kkBBIPRZ1BJt6NZF-/_buildManifest.js",
"static/o9w8kkBBIPRZ1BJt6NZF-/_ssgManifest.js"
],
"pages": {
"/": [
"static/chunks/webpack-0b9cc56c94819e8023ea.js",
"static/chunks/framework.87b9127d6cd191ae1c9a.js",
"static/chunks/3ef630e34cd10ba68f9d468ac363ff81c534e1e9.a6e5becc3f27a47380d1.js",
"static/chunks/main-419ac17f185f95278b96.js",
"static/chunks/7b9503d2.4af90216c47085b5c8e9.js",
"static/chunks/226daff62b2d4bc1e9a7210a7f6000a544319a74.fbdd4d016a5c47ddc9db.js",
"static/chunks/pages/index-efbf6465fb1e2b7d8d9f.js"
],
"/_app": [
"static/chunks/webpack-0b9cc56c94819e8023ea.js",
"static/chunks/framework.87b9127d6cd191ae1c9a.js",
"static/chunks/3ef630e34cd10ba68f9d468ac363ff81c534e1e9.a6e5becc3f27a47380d1.js",
"static/chunks/main-419ac17f185f95278b96.js",
"static/chunks/7b9503d2.4af90216c47085b5c8e9.js",
"static/css/8b42addbc7366f7b6f6b.css",
"static/chunks/5698f26c.a83a6a4548b93404854d.js",
"static/chunks/226daff62b2d4bc1e9a7210a7f6000a544319a74.fbdd4d016a5c47ddc9db.js",
"static/css/2fd03f0b4ba6f4304a8d.css",
"static/chunks/pages/_app-a862aa3746a8ba39f281.js"
],
"/_error": [
"static/chunks/webpack-0b9cc56c94819e8023ea.js",
"static/chunks/framework.87b9127d6cd191ae1c9a.js",
"static/chunks/3ef630e34cd10ba68f9d468ac363ff81c534e1e9.a6e5becc3f27a47380d1.js",
"static/chunks/main-419ac17f185f95278b96.js",
"static/chunks/pages/_error-479fe0b5696111d1ab35.js"
],
"/about": [
"static/chunks/webpack-0b9cc56c94819e8023ea.js",
"static/chunks/framework.87b9127d6cd191ae1c9a.js",
"static/chunks/3ef630e34cd10ba68f9d468ac363ff81c534e1e9.a6e5becc3f27a47380d1.js",
"static/chunks/main-419ac17f185f95278b96.js",
"static/chunks/7b9503d2.4af90216c47085b5c8e9.js",
"static/chunks/226daff62b2d4bc1e9a7210a7f6000a544319a74.fbdd4d016a5c47ddc9db.js",
"static/chunks/1c49f5f00355f650bee3d37484f094be037a30fa.4753872fca67955efc7f.js",
"static/chunks/pages/about-2cf6cb0673d6904a8e88.js"
],
"/blog/[slug]": [
"static/chunks/webpack-0b9cc56c94819e8023ea.js",
"static/chunks/framework.87b9127d6cd191ae1c9a.js",
"static/chunks/3ef630e34cd10ba68f9d468ac363ff81c534e1e9.a6e5becc3f27a47380d1.js",
"static/chunks/main-419ac17f185f95278b96.js",
"static/chunks/7b9503d2.4af90216c47085b5c8e9.js",
"static/chunks/226daff62b2d4bc1e9a7210a7f6000a544319a74.fbdd4d016a5c47ddc9db.js",
"static/chunks/1c49f5f00355f650bee3d37484f094be037a30fa.4753872fca67955efc7f.js",
"static/chunks/pages/blog/[slug]-04ed569f34537e15d746.js"
],
"/greentech-hackathon": [
"static/chunks/webpack-0b9cc56c94819e8023ea.js",
"static/chunks/framework.87b9127d6cd191ae1c9a.js",
"static/chunks/3ef630e34cd10ba68f9d468ac363ff81c534e1e9.a6e5becc3f27a47380d1.js",
"static/chunks/main-419ac17f185f95278b96.js",
"static/chunks/7b9503d2.4af90216c47085b5c8e9.js",
"static/css/7335de542e4b4f02a25b.css",
"static/chunks/d637bb0c.ddce25b62cf34b951439.js",
"static/chunks/226daff62b2d4bc1e9a7210a7f6000a544319a74.fbdd4d016a5c47ddc9db.js",
"static/chunks/1c49f5f00355f650bee3d37484f094be037a30fa.4753872fca67955efc7f.js",
"static/chunks/pages/greentech-hackathon-6096de150b4824002c72.js"
]
},
"ampFirstPages": []
}
7 changes: 7 additions & 0 deletions pr-preview/pr-53/.next/cache/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"telemetry": {
"notifiedAt": "1740154343365",
"anonymousId": "db846a0bb6cdfffd5a01a1d7a69c8b27e56f8658318457868bcd5bb540462993",
"salt": "adf251c268391124386cc76bb4def25e"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"ast":null,"code":"\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.markAssetError = markAssetError;\nexports.isAssetError = isAssetError;\nexports.getClientBuildManifest = getClientBuildManifest;\nexports[\"default\"] = void 0;\n\nvar _getAssetPathFromRoute = _interopRequireDefault(require(\"../next-server/lib/router/utils/get-asset-path-from-route\"));\n\nvar _requestIdleCallback = require(\"./request-idle-callback\"); // 3.8s was arbitrarily chosen as it's what https://web.dev/interactive\n// considers as \"Good\" time-to-interactive. We must assume something went\n// wrong beyond this point, and then fall-back to a full page transition to\n// show the user something of value.\n\n\nvar MS_MAX_IDLE_DELAY = 3800;\n\nfunction withFuture(key, map, generator) {\n var entry = map.get(key);\n\n if (entry) {\n if ('future' in entry) {\n return entry.future;\n }\n\n return Promise.resolve(entry);\n }\n\n var resolver;\n var prom = new Promise(function (resolve) {\n resolver = resolve;\n });\n map.set(key, entry = {\n resolve: resolver,\n future: prom\n });\n return generator ? // eslint-disable-next-line no-sequences\n generator().then(function (value) {\n return resolver(value), value;\n }) : prom;\n}\n\nfunction hasPrefetch(link) {\n try {\n link = document.createElement('link');\n return (// detect IE11 since it supports prefetch but isn't detected\n // with relList.support\n !!window.MSInputMethodContext && !!document.documentMode || link.relList.supports('prefetch')\n );\n } catch (_unused) {\n return false;\n }\n}\n\nvar canPrefetch = hasPrefetch();\n\nfunction prefetchViaDom(href, as, link) {\n return new Promise(function (res, rej) {\n if (document.querySelector(\"link[rel=\\\"prefetch\\\"][href^=\\\"\".concat(href, \"\\\"]\"))) {\n return res();\n }\n\n link = document.createElement('link'); // The order of property assignment here is intentional:\n\n if (as) link.as = as;\n link.rel = \"prefetch\";\n link.crossOrigin = process.env.__NEXT_CROSS_ORIGIN;\n link.onload = res;\n link.onerror = rej; // `href` should always be last:\n\n link.href = href;\n document.head.appendChild(link);\n });\n}\n\nvar ASSET_LOAD_ERROR = Symbol('ASSET_LOAD_ERROR'); // TODO: unexport\n\nfunction markAssetError(err) {\n return Object.defineProperty(err, ASSET_LOAD_ERROR, {});\n}\n\nfunction isAssetError(err) {\n return err && ASSET_LOAD_ERROR in err;\n}\n\nfunction appendScript(src, script) {\n return new Promise(function (resolve, reject) {\n script = document.createElement('script'); // The order of property assignment here is intentional.\n // 1. Setup success/failure hooks in case the browser synchronously\n // executes when `src` is set.\n\n script.onload = resolve;\n\n script.onerror = function () {\n return reject(markAssetError(new Error(\"Failed to load script: \".concat(src))));\n }; // 2. Configure the cross-origin attribute before setting `src` in case the\n // browser begins to fetch.\n\n\n script.crossOrigin = process.env.__NEXT_CROSS_ORIGIN; // 3. Finally, set the source and inject into the DOM in case the child\n // must be appended for fetching to start.\n\n script.src = src;\n document.body.appendChild(script);\n });\n} // Resolve a promise that times out after given amount of milliseconds.\n\n\nfunction resolvePromiseWithTimeout(p, ms, err) {\n return new Promise(function (resolve, reject) {\n var cancelled = false;\n p.then(function (r) {\n // Resolved, cancel the timeout\n cancelled = true;\n resolve(r);\n })[\"catch\"](reject);\n (0, _requestIdleCallback.requestIdleCallback)(function () {\n return setTimeout(function () {\n if (!cancelled) {\n reject(err);\n }\n }, ms);\n });\n });\n} // TODO: stop exporting or cache the failure\n// It'd be best to stop exporting this. It's an implementation detail. We're\n// only exporting it for backwards compatibilty with the `page-loader`.\n// Only cache this response as a last resort if we cannot eliminate all other\n// code branches that use the Build Manifest Callback and push them through\n// the Route Loader interface.\n\n\nfunction getClientBuildManifest() {\n if (self.__BUILD_MANIFEST) {\n return Promise.resolve(self.__BUILD_MANIFEST);\n }\n\n var onBuildManifest = new Promise(function (resolve) {\n // Mandatory because this is not concurrent safe:\n var cb = self.__BUILD_MANIFEST_CB;\n\n self.__BUILD_MANIFEST_CB = function () {\n resolve(self.__BUILD_MANIFEST);\n cb && cb();\n };\n });\n return resolvePromiseWithTimeout(onBuildManifest, MS_MAX_IDLE_DELAY, markAssetError(new Error('Failed to load client build manifest')));\n}\n\nfunction getFilesForRoute(assetPrefix, route) {\n if (false) {\n return Promise.resolve({\n scripts: [assetPrefix + '/_next/static/chunks/pages' + encodeURI((0, _getAssetPathFromRoute[\"default\"])(route, '.js'))],\n // Styles are handled by `style-loader` in development:\n css: []\n });\n }\n\n return getClientBuildManifest().then(function (manifest) {\n if (!(route in manifest)) {\n throw markAssetError(new Error(\"Failed to lookup route: \".concat(route)));\n }\n\n var allFiles = manifest[route].map(function (entry) {\n return assetPrefix + '/_next/' + encodeURI(entry);\n });\n return {\n scripts: allFiles.filter(function (v) {\n return v.endsWith('.js');\n }),\n css: allFiles.filter(function (v) {\n return v.endsWith('.css');\n })\n };\n });\n}\n\nfunction createRouteLoader(assetPrefix) {\n var entrypoints = new Map();\n var loadedScripts = new Map();\n var styleSheets = new Map();\n var routes = new Map();\n\n function maybeExecuteScript(src) {\n var prom = loadedScripts.get(src);\n\n if (prom) {\n return prom;\n } // Skip executing script if it's already in the DOM:\n\n\n if (document.querySelector(\"script[src^=\\\"\".concat(src, \"\\\"]\"))) {\n return Promise.resolve();\n }\n\n loadedScripts.set(src, prom = appendScript(src));\n return prom;\n }\n\n function fetchStyleSheet(href) {\n var prom = styleSheets.get(href);\n\n if (prom) {\n return prom;\n }\n\n styleSheets.set(href, prom = fetch(href).then(function (res) {\n if (!res.ok) {\n throw new Error(\"Failed to load stylesheet: \".concat(href));\n }\n\n return res.text().then(function (text) {\n return {\n href: href,\n content: text\n };\n });\n })[\"catch\"](function (err) {\n throw markAssetError(err);\n }));\n return prom;\n }\n\n return {\n whenEntrypoint: function whenEntrypoint(route) {\n return withFuture(route, entrypoints);\n },\n onEntrypoint: function onEntrypoint(route, execute) {\n Promise.resolve(execute).then(function (fn) {\n return fn();\n }).then(function (exports) {\n return {\n component: exports && exports[\"default\"] || exports,\n exports: exports\n };\n }, function (err) {\n return {\n error: err\n };\n }).then(function (input) {\n var old = entrypoints.get(route);\n entrypoints.set(route, input);\n if (old && 'resolve' in old) old.resolve(input);\n });\n },\n loadRoute: function loadRoute(route, prefetch) {\n var _this = this;\n\n return withFuture(route, routes, function () {\n return resolvePromiseWithTimeout(getFilesForRoute(assetPrefix, route).then(function (_ref) {\n var scripts = _ref.scripts,\n css = _ref.css;\n return Promise.all([entrypoints.has(route) ? [] : Promise.all(scripts.map(maybeExecuteScript)), Promise.all(css.map(fetchStyleSheet))]);\n }).then(function (res) {\n return _this.whenEntrypoint(route).then(function (entrypoint) {\n return {\n entrypoint: entrypoint,\n styles: res[1]\n };\n });\n }), MS_MAX_IDLE_DELAY, markAssetError(new Error(\"Route did not complete loading: \".concat(route)))).then(function (_ref2) {\n var entrypoint = _ref2.entrypoint,\n styles = _ref2.styles;\n var res = Object.assign({\n styles: styles\n }, entrypoint);\n return 'error' in entrypoint ? entrypoint : res;\n })[\"catch\"](function (err) {\n if (prefetch) {\n // we don't want to cache errors during prefetch\n throw err;\n }\n\n return {\n error: err\n };\n });\n });\n },\n prefetch: function prefetch(route) {\n var _this2 = this;\n\n // https://github.com/GoogleChromeLabs/quicklink/blob/453a661fa1fa940e2d2e044452398e38c67a98fb/src/index.mjs#L115-L118\n // License: Apache 2.0\n var cn;\n\n if (cn = navigator.connection) {\n // Don't prefetch if using 2G or if Save-Data is enabled.\n if (cn.saveData || /2g/.test(cn.effectiveType)) return Promise.resolve();\n }\n\n return getFilesForRoute(assetPrefix, route).then(function (output) {\n return Promise.all(canPrefetch ? output.scripts.map(function (script) {\n return prefetchViaDom(script, 'script');\n }) : []);\n }).then(function () {\n (0, _requestIdleCallback.requestIdleCallback)(function () {\n return _this2.loadRoute(route, true)[\"catch\"](function () {});\n });\n })[\"catch\"]( // swallow prefetch errors\n function () {});\n }\n };\n}\n\nvar _default = createRouteLoader;\nexports[\"default\"] = _default;","map":null,"metadata":{},"sourceType":"script"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"ast":null,"code":"import React from \"react\";\nvar __jsx = React.createElement;\nimport { useRouter } from \"next/router\";\nimport \"@vandebron/windmolen/dist/index.css\";\nimport \"./styles.css\";\nimport \"./greentech-hackathon/styles.css\";\nimport Footer from \"../components/Footer\";\nimport Header from \"../components/Header\";\nexport default function App({\n Component,\n pageProps\n}) {\n const router = useRouter();\n const landingPage = router.route === \"/greentech-hackathon\";\n return __jsx(React.Fragment, null, !landingPage ? __jsx(Header, null) : null, __jsx(Component, pageProps), __jsx(Footer, null));\n}","map":null,"metadata":{},"sourceType":"module"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.default = mitt;\n/*\nMIT License\nCopyright (c) Jason Miller (https://jasonformat.com/)\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n*/\n// This file is based on https://github.com/developit/mitt/blob/v1.1.3/src/index.js\n// It's been edited for the needs of this script\n// See the LICENSE at the top of the file\n\nfunction mitt() {\n const all = Object.create(null);\n return {\n on(type, handler) {\n ;\n (all[type] || (all[type] = [])).push(handler);\n },\n\n off(type, handler) {\n if (all[type]) {\n all[type].splice(all[type].indexOf(handler) >>> 0, 1);\n }\n },\n\n emit(type, ...evts) {\n // eslint-disable-next-line array-callback-return\n ;\n (all[type] || []).slice().map(handler => {\n handler(...evts);\n });\n }\n\n };\n}","map":null,"metadata":{},"sourceType":"script"}

Large diffs are not rendered by default.

Loading

0 comments on commit 3837bdf

Please sign in to comment.