Skip to content

Commit

Permalink
Deploying to gh-pages from @ 343d4a7 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfriesen committed Feb 18, 2024
1 parent a8ecdf7 commit 25ba92e
Show file tree
Hide file tree
Showing 19 changed files with 98 additions and 87 deletions.
5 changes: 0 additions & 5 deletions chunk-2EPZLVNY.js

This file was deleted.

1 change: 1 addition & 0 deletions chunk-CAMI6LD7.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions chunk-DJKICNOU.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions chunk-TE7HTQAB.js → chunk-DRGZAW4N.js

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions chunk-FMCJAU3E.js

This file was deleted.

1 change: 0 additions & 1 deletion chunk-JHMW6MDO.js

This file was deleted.

8 changes: 8 additions & 0 deletions chunk-M4PXD73H.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chunk-TIMWKBON.js → chunk-MHJAR4BL.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions chunk-KAJKOKPC.js → chunk-P47ZF5SF.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions index.html

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion main-FYTUUDPT.js

This file was deleted.

1 change: 1 addition & 0 deletions main-HBE7DTVL.js

Large diffs are not rendered by default.

49 changes: 26 additions & 23 deletions ngsw-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
};
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));

// bazel-out/darwin-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/named-cache-storage.mjs
// bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/named-cache-storage.mjs
var NamedCacheStorage = class {
constructor(original, cacheNamePrefix) {
this.original = original;
Expand All @@ -46,7 +46,7 @@
}
};

// bazel-out/darwin-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/adapter.mjs
// bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/adapter.mjs
var Adapter = class {
constructor(scopeUrl, caches) {
this.scopeUrl = scopeUrl;
Expand Down Expand Up @@ -84,15 +84,15 @@
}
};

// bazel-out/darwin-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/database.mjs
// bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/database.mjs
var NotFound = class {
constructor(table, key) {
this.table = table;
this.key = key;
}
};

// bazel-out/darwin-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/db-cache.mjs
// bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/db-cache.mjs
var CacheDatabase = class {
constructor(adapter2) {
this.adapter = adapter2;
Expand Down Expand Up @@ -150,15 +150,15 @@
}
};

// bazel-out/darwin-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/api.mjs
// bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/api.mjs
var UpdateCacheStatus;
(function(UpdateCacheStatus2) {
UpdateCacheStatus2[UpdateCacheStatus2["NOT_CACHED"] = 0] = "NOT_CACHED";
UpdateCacheStatus2[UpdateCacheStatus2["CACHED_BUT_UNUSED"] = 1] = "CACHED_BUT_UNUSED";
UpdateCacheStatus2[UpdateCacheStatus2["CACHED"] = 2] = "CACHED";
})(UpdateCacheStatus || (UpdateCacheStatus = {}));

// bazel-out/darwin-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/error.mjs
// bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/error.mjs
var SwCriticalError = class extends Error {
constructor() {
super(...arguments);
Expand All @@ -180,7 +180,7 @@ ${error.stack}`;
}
};

// bazel-out/darwin-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/sha1.mjs
// bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/sha1.mjs
function sha1(str) {
const utf8 = str;
const words32 = stringToWords32(utf8, Endian.Big);
Expand Down Expand Up @@ -295,7 +295,7 @@ ${error.stack}`;
return hex.toLowerCase();
}

// bazel-out/darwin-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/assets.mjs
// bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/assets.mjs
var AssetGroup = class {
constructor(scope2, adapter2, idle, config, hashes, db, cacheNamePrefix) {
this.scope = scope2;
Expand Down Expand Up @@ -331,10 +331,7 @@ ${error.stack}`;
return UpdateCacheStatus.CACHED;
}
async getCacheNames() {
const [cache, metadata] = await Promise.all([
this.cache,
this.metadata
]);
const [cache, metadata] = await Promise.all([this.cache, this.metadata]);
return [cache.name, metadata.cacheName];
}
async handleFetch(req, _event) {
Expand Down Expand Up @@ -586,7 +583,7 @@ ${error.stack}`;
}
};

// bazel-out/darwin-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/data.mjs
// bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/data.mjs
var LruList = class {
constructor(state) {
if (state === void 0) {
Expand Down Expand Up @@ -880,7 +877,7 @@ ${error.stack}`;
}
};

// bazel-out/darwin-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/app-version.mjs
// bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/app-version.mjs
var BACKWARDS_COMPATIBILITY_NAVIGATION_URLS = [
{ positive: true, regex: "^/.*$" },
{ positive: false, regex: "^/.*\\.[^/]*$" },
Expand Down Expand Up @@ -1031,8 +1028,8 @@ ${error.stack}`;
}
};

// bazel-out/darwin-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/debug.mjs
var SW_VERSION = "17.1.0";
// bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/debug.mjs
var SW_VERSION = "17.2.1";
var DEBUG_LOG_BUFFER_SIZE = 100;
var DebugHandler = class {
constructor(driver, adapter2) {
Expand Down Expand Up @@ -1105,7 +1102,7 @@ ${msgIdle}`, { headers: this.adapter.newHeaders({ "Content-Type": "text/plain" }
}
};

// bazel-out/darwin-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/idle.mjs
// bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/idle.mjs
var IdleScheduler = class {
constructor(adapter2, delay, maxDelay, debug) {
this.adapter = adapter2;
Expand Down Expand Up @@ -1183,20 +1180,20 @@ ${msgIdle}`, { headers: this.adapter.newHeaders({ "Content-Type": "text/plain" }
}
};

// bazel-out/darwin-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/manifest.mjs
// bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/manifest.mjs
function hashManifest(manifest) {
return sha1(JSON.stringify(manifest));
}

// bazel-out/darwin-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/msg.mjs
// bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/msg.mjs
function isMsgCheckForUpdates(msg) {
return msg.action === "CHECK_FOR_UPDATES";
}
function isMsgActivateUpdate(msg) {
return msg.action === "ACTIVATE_UPDATE";
}

// bazel-out/darwin-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/driver.mjs
// bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/driver.mjs
var IDLE_DELAY = 5e3;
var MAX_IDLE_DELAY = 3e4;
var SUPPORTED_CONFIG_VERSION = 1;
Expand Down Expand Up @@ -1760,7 +1757,10 @@ ${msgIdle}`, { headers: this.adapter.newHeaders({ "Content-Type": "text/plain" }
await this.initialized;
const clients = await this.scope.clients.matchAll();
await Promise.all(clients.map(async (client) => {
client.postMessage({ type: "NO_NEW_VERSION_DETECTED", version: this.mergeHashWithAppData(manifest, hash) });
client.postMessage({
type: "NO_NEW_VERSION_DETECTED",
version: this.mergeHashWithAppData(manifest, hash)
});
}));
}
async notifyClientsAboutVersionDetected(manifest, hash) {
Expand All @@ -1771,7 +1771,10 @@ ${msgIdle}`, { headers: this.adapter.newHeaders({ "Content-Type": "text/plain" }
if (version === void 0) {
return;
}
client.postMessage({ type: "VERSION_DETECTED", version: this.mergeHashWithAppData(manifest, hash) });
client.postMessage({
type: "VERSION_DETECTED",
version: this.mergeHashWithAppData(manifest, hash)
});
}));
}
async notifyClientsAboutVersionReady(manifest, hash) {
Expand Down Expand Up @@ -1846,7 +1849,7 @@ ${msgIdle}`, { headers: this.adapter.newHeaders({ "Content-Type": "text/plain" }
}
};

// bazel-out/darwin-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/main.mjs
// bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/main.mjs
var scope = self;
var adapter = new Adapter(scope.registration.scope, self.caches);
new Driver(scope, adapter, new CacheDatabase(adapter));
Expand Down
40 changes: 20 additions & 20 deletions ngsw.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"configVersion": 1,
"timestamp": 1705581384921,
"timestamp": 1708264065757,
"index": "/index.html",
"assetGroups": [
{
Expand All @@ -11,18 +11,18 @@
"ignoreVary": true
},
"urls": [
"/chunk-2EPZLVNY.js",
"/chunk-FMCJAU3E.js",
"/chunk-JHMW6MDO.js",
"/chunk-KAJKOKPC.js",
"/chunk-TE7HTQAB.js",
"/chunk-TIMWKBON.js",
"/chunk-CAMI6LD7.js",
"/chunk-DJKICNOU.js",
"/chunk-DRGZAW4N.js",
"/chunk-M4PXD73H.js",
"/chunk-MHJAR4BL.js",
"/chunk-P47ZF5SF.js",
"/favicon.ico",
"/index.html",
"/main-FYTUUDPT.js",
"/main-HBE7DTVL.js",
"/manifest.webmanifest",
"/polyfills-RX4V3J3S.js",
"/styles-DILRLSWO.css"
"/polyfills-RT5I6R6G.js",
"/styles-H75BDXRC.css"
],
"patterns": []
},
Expand Down Expand Up @@ -104,15 +104,15 @@
"/assets/icons/icon-72x72.png": "b1cbf3a51e1b21207929c66f267ed0ee5cf22b2e",
"/assets/icons/icon-96x96.png": "101ca7c1df3988abce87987273c206226a1f073c",
"/assets/pdf.svg": "226a7453512d4aa64bdf17cec77ac3134de1f11c",
"/chunk-2EPZLVNY.js": "b45611ca6d7f124c072c971af77e6a4217f4b90f",
"/chunk-FMCJAU3E.js": "d8a1514e4679b10823e336abf025df00824172b0",
"/chunk-JHMW6MDO.js": "f1852d98bb67d940976784fcc4fab9663af83c10",
"/chunk-KAJKOKPC.js": "bd6641ba4fafa74d56981796cc07f6ac95a883ce",
"/chunk-TE7HTQAB.js": "a48686d8e8c80915f9a02b66578f92898299449c",
"/chunk-TIMWKBON.js": "6286245133c96ec124be0a5993a15045e2955e8b",
"/chunk-CAMI6LD7.js": "00eebc7290dd6e80b9a782b618b123a07c52d88d",
"/chunk-DJKICNOU.js": "b70a20ad856b3aef3768c007cdf7988d8eb1371e",
"/chunk-DRGZAW4N.js": "510c034cf996a58199b555074a8bcbe1261cc59a",
"/chunk-M4PXD73H.js": "72dad873e6e79449ac9bdc3510d88e903b036519",
"/chunk-MHJAR4BL.js": "ed51a8c49e03d4b7cca109ea1360b18074cda6d8",
"/chunk-P47ZF5SF.js": "c51bb1970ac034e4e1047f3e174258e0c30a1168",
"/favicon.ico": "6dd1dce9c66e5f9833040fb422fa36b34ee548e9",
"/index.html": "616232f454b48b0368afa7ca970ec09ab63f9470",
"/main-FYTUUDPT.js": "365bccbdff93e42490b2621158f3cdd277972531",
"/index.html": "af9c1d54565ed74000cb40185c774a1d0d57b3ba",
"/main-HBE7DTVL.js": "cf8e203cf9ae2070bec15ada785beee309e6dfbe",
"/manifest.webmanifest": "931b994f49c7394d5485290f69923ee1b55b451b",
"/media/material-icons-latin-400-normal-LEZCGFVT.woff2": "0bc0c675480d94ec7e8609dda6227f88c5d08d2c",
"/media/material-icons-latin-400-normal-OKHIZNFO.woff": "a00c7900fc85bb011b36e4d70d7825127c02c63c",
Expand Down Expand Up @@ -158,8 +158,8 @@
"/media/roboto-vietnamese-400-normal-ZFP4AYPR.woff2": "109cd4c5435bd6614391bb8722c47c287c96b2ec",
"/media/roboto-vietnamese-500-normal-MW2XU7YT.woff": "5bbd347c3d8449e3a3d60a147b971986551b36e9",
"/media/roboto-vietnamese-500-normal-P6GAKVF2.woff2": "76f4002863493c93454a9f17424942f321287cba",
"/polyfills-RX4V3J3S.js": "6b4c4ea33aa92bce0b91df442a680ed73e4303db",
"/styles-DILRLSWO.css": "d20cca4ed08447aaf165e1086899bf5a40dbc584"
"/polyfills-RT5I6R6G.js": "fe9f024576f21ff6314cf8f8332cde58b9a12416",
"/styles-H75BDXRC.css": "7491bd52e2f75d2dc8779b469750406eff7224fc"
},
"navigationUrls": [
{
Expand Down
4 changes: 2 additions & 2 deletions polyfills-RX4V3J3S.js → polyfills-RT5I6R6G.js

Large diffs are not rendered by default.

22 changes: 13 additions & 9 deletions safety-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,23 @@

// tslint:disable:no-console

self.addEventListener('install', event => {
self.addEventListener('install', (event) => {
self.skipWaiting();
});

self.addEventListener('activate', event => {
self.addEventListener('activate', (event) => {
event.waitUntil(self.clients.claim());

event.waitUntil(self.registration.unregister().then(() => {
console.log('NGSW Safety Worker - unregistered old service worker');
}));
event.waitUntil(
self.registration.unregister().then(() => {
console.log('NGSW Safety Worker - unregistered old service worker');
}),
);

event.waitUntil(caches.keys().then(cacheNames => {
const ngswCacheNames = cacheNames.filter(name => /^ngsw:/.test(name));
return Promise.all(ngswCacheNames.map(name => caches.delete(name)));
}));
event.waitUntil(
caches.keys().then((cacheNames) => {
const ngswCacheNames = cacheNames.filter((name) => /^ngsw:/.test(name));
return Promise.all(ngswCacheNames.map((name) => caches.delete(name)));
}),
);
});
1 change: 0 additions & 1 deletion styles-DILRLSWO.css

This file was deleted.

1 change: 1 addition & 0 deletions styles-H75BDXRC.css

Large diffs are not rendered by default.

22 changes: 13 additions & 9 deletions worker-basic.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,23 @@

// tslint:disable:no-console

self.addEventListener('install', event => {
self.addEventListener('install', (event) => {
self.skipWaiting();
});

self.addEventListener('activate', event => {
self.addEventListener('activate', (event) => {
event.waitUntil(self.clients.claim());

event.waitUntil(self.registration.unregister().then(() => {
console.log('NGSW Safety Worker - unregistered old service worker');
}));
event.waitUntil(
self.registration.unregister().then(() => {
console.log('NGSW Safety Worker - unregistered old service worker');
}),
);

event.waitUntil(caches.keys().then(cacheNames => {
const ngswCacheNames = cacheNames.filter(name => /^ngsw:/.test(name));
return Promise.all(ngswCacheNames.map(name => caches.delete(name)));
}));
event.waitUntil(
caches.keys().then((cacheNames) => {
const ngswCacheNames = cacheNames.filter((name) => /^ngsw:/.test(name));
return Promise.all(ngswCacheNames.map((name) => caches.delete(name)));
}),
);
});

0 comments on commit 25ba92e

Please sign in to comment.