From ad8bf78dd46e5203782def39293a871121bfe649 Mon Sep 17 00:00:00 2001 From: Steve Ruiz Date: Fri, 22 Oct 2021 12:41:24 +0100 Subject: [PATCH] Replace ts-jest with swc-node/jest (#194) --- package.json | 35 +-- packages/www/public/sw.js | 2 +- packages/www/public/sw.js.map | 2 +- ...NYI.js => worker-YnmDot-UvfklgptzLSInt.js} | 0 yarn.lock | 232 +++++++++--------- 5 files changed, 122 insertions(+), 149 deletions(-) rename packages/www/public/{worker-pM2qo7aUQ48uy8XFEvNYI.js => worker-YnmDot-UvfklgptzLSInt.js} (100%) diff --git a/package.json b/package.json index 7eecc8cfd..8306f2941 100644 --- a/package.json +++ b/package.json @@ -30,11 +30,7 @@ "docs:watch": "lerna run docs:watch" }, "devDependencies": { - "@babel/core": "^7.15.0", - "@babel/plugin-syntax-import-meta": "^7.10.4", - "@babel/preset-env": "^7.15.0", - "@babel/preset-react": "^7.14.5", - "@babel/preset-typescript": "^7.15.0", + "@swc-node/jest": "^1.3.3", "@testing-library/jest-dom": "^5.14.1", "@testing-library/react": "^12.0.0", "@types/jest": "^27.0.1", @@ -43,14 +39,12 @@ "@types/react-dom": "^16.9.9", "@typescript-eslint/eslint-plugin": "^4.19.0", "@typescript-eslint/parser": "^4.19.0", - "babel-jest": "^27.1.0", "eslint": "^7.32.0", "fake-indexeddb": "^3.1.3", "init-package-json": "^2.0.4", "jest": "^27.1.0", "lerna": "^3.22.1", "resize-observer-polyfill": "^1.5.1", - "ts-jest": "^27.0.5", "tslib": "^2.3.0", "typedoc": "^0.22.3", "typescript": "^4.4.2" @@ -63,12 +57,11 @@ "printWidth": 100 }, "jest": { - "preset": "ts-jest", "setupFilesAfterEnv": [ "/setupTests.ts" ], "transform": { - "^.+\\.(tsx|jsx|ts|js|mjs)?$": "ts-jest" + "^.+\\.(tsx|jsx|ts|js|mjs)?$": "@swc-node/jest" }, "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", "moduleFileExtensions": [ @@ -79,30 +72,6 @@ "json", "node" ], - "globals": { - "ts-jest": { - "tsconfig": "tsconfig.json", - "babelConfig": { - "presets": [ - [ - "@babel/preset-env", - { - "targets": { - "esmodules": true - } - } - ], - [ - "@babel/preset-react" - ], - "@babel/preset-typescript" - ], - "plugins": [ - "@babel/plugin-syntax-import-meta" - ] - } - } - }, "testEnvironment": "jsdom", "modulePathIgnorePatterns": [ "/packages/vec/dist/", diff --git a/packages/www/public/sw.js b/packages/www/public/sw.js index 93e3e9831..8b98c64be 100644 --- a/packages/www/public/sw.js +++ b/packages/www/public/sw.js @@ -1,2 +1,2 @@ -if(!self.define){const e=e=>{"require"!==e&&(e+=".js");let s=Promise.resolve();return a[e]||(s=new Promise((async s=>{if("document"in self){const a=document.createElement("script");a.src=e,document.head.appendChild(a),a.onload=s}else importScripts(e),s()}))),s.then((()=>{if(!a[e])throw new Error(`Module ${e} didn’t register its module`);return a[e]}))},s=(s,a)=>{Promise.all(s.map(e)).then((e=>a(1===e.length?e[0]:e)))},a={require:Promise.resolve(s)};self.define=(s,n,i)=>{a[s]||(a[s]=Promise.resolve().then((()=>{let a={};const c={uri:location.origin+s.slice(1)};return Promise.all(n.map((s=>{switch(s){case"exports":return a;case"module":return c;default:return e(s)}}))).then((e=>{const s=i(...e);return a.default||(a.default=s),a}))})))}}define("./sw.js",["./workbox-7288c796"],(function(e){"use strict";importScripts("worker-pM2qo7aUQ48uy8XFEvNYI.js"),self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"/_next/static/chunks/146.dac16a378017a3b908e1.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/146.dac16a378017a3b908e1.js.map",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/254.0842e7aa6d62929bbaf3.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/254.0842e7aa6d62929bbaf3.js.map",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/351.c394193667656b02e445.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/351.c394193667656b02e445.js.map",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/790.843000b02be813787049.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/790.843000b02be813787049.js.map",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/877-0b732eab4d2ed323649e.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/877-0b732eab4d2ed323649e.js.map",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/framework-6904c37ecf5b200e4e2e.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/framework-6904c37ecf5b200e4e2e.js.map",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/main-1622cb38e93933783343.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/main-1622cb38e93933783343.js.map",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/_app-6ae16e08a077d60c5eef.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/_app-6ae16e08a077d60c5eef.js.map",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/_error-1cd1e11cd5e9c8211770.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/_error-1cd1e11cd5e9c8211770.js.map",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/index-c60a1451851b4b489345.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/index-c60a1451851b4b489345.js.map",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/k-53de1c8919efff3ddeba.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/k-53de1c8919efff3ddeba.js.map",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/k/%5Bid%5D-5ade9f9533ba828633d6.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/k/%5Bid%5D-5ade9f9533ba828633d6.js.map",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/r-5cd32ab311ef7c240ff8.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/r-5cd32ab311ef7c240ff8.js.map",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/r/%5Bid%5D-bc8004d9c1054570a9b8.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/r/%5Bid%5D-bc8004d9c1054570a9b8.js.map",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/shhh-5e23900e30fd14c9f388.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/shhh-5e23900e30fd14c9f388.js.map",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/shhhmp-63c0186c3186516bdfba.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/shhhmp-63c0186c3186516bdfba.js.map",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/signout-a8947582f064b3d8c5e6.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/signout-a8947582f064b3d8c5e6.js.map",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/sponsorware-0ea8113fd25cf64bf199.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/sponsorware-0ea8113fd25cf64bf199.js.map",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/u-4e2e7f6288f3059347cb.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/u-4e2e7f6288f3059347cb.js.map",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/u/%5Bid%5D-22351fd7f99494553332.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/pages/u/%5Bid%5D-22351fd7f99494553332.js.map",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/polyfills-a40ef1678bae11e696dba45124eadd70.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/webpack-b5f7a142c6368c5425de.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/chunks/webpack-b5f7a142c6368c5425de.js.map",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/css/188c96206215c999865a.css",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/css/188c96206215c999865a.css.map",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/pM2qo7aUQ48uy8XFEvNYI/_buildManifest.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/_next/static/pM2qo7aUQ48uy8XFEvNYI/_ssgManifest.js",revision:"pM2qo7aUQ48uy8XFEvNYI"},{url:"/android-chrome-192x192.png",revision:"57c9c4cd91d24d48b7ffdda0768fd225"},{url:"/android-chrome-512x512.png",revision:"8d2454e6cf551f8ca1e1d5670b13a8d1"},{url:"/android-chrome-maskable-192x192.png",revision:"71c93ce0b34d2fbb4c6654a9131a3d9d"},{url:"/android-chrome-maskable-512x512.png",revision:"4265b8c09997b16ac1493500b43f3755"},{url:"/android-chrome-maskable-beta-512x512.png",revision:"145800cf2381faf1c0f4a61c29a88448"},{url:"/apple-touch-icon.png",revision:"8081d08be3673ec33dbeecab06706b2b"},{url:"/favicon-16x16.png",revision:"ac17d75b1ee007781212853a57b88285"},{url:"/favicon-32x32.png",revision:"360bc7cd4706c0657917f3b78fed6b71"},{url:"/favicon.ico",revision:"b2bf6bb7b4d0234f3e6df44fd7d5707e"},{url:"/flat.png",revision:"e0460141713b5c94104ce19b36c4b462"},{url:"/icons/Redo.svg",revision:"6196f61a2053ff606d5746eb3ab380e3"},{url:"/icons/Trash.svg",revision:"5f2c42a17b7d8459f2e556b6209a61c6"},{url:"/icons/Undo.svg",revision:"24de701870630f51132f9bed3f18ee8f"},{url:"/icons/grab.svg",revision:"a1ca9e5c31d1edd2558ab075f72fde4e"},{url:"/icons/pointer.svg",revision:"dff260f896fe23adb83341639fdf93be"},{url:"/icons/resize.svg",revision:"0a3cb701d15731e25919783801d18f95"},{url:"/images/hello.mp4",revision:"b716f249cc6c781c91b0ac9dc23423b3"},{url:"/manifest.json",revision:"3e4cd02739cceee25488c97ca2ed59da"},{url:"/vercel.svg",revision:"4b4f1876502eb6721764637fe5c41702"}],{ignoreURLParametersMatching:[]}),e.cleanupOutdatedCaches(),e.registerRoute("/",new e.NetworkFirst({cacheName:"start-url",plugins:[{cacheWillUpdate:async({request:e,response:s,event:a,state:n})=>s&&"opaqueredirect"===s.type?new Response(s.body,{status:200,statusText:"OK",headers:s.headers}):s}]}),"GET"),e.registerRoute(/^https:\/\/fonts\.(?:gstatic)\.com\/.*/i,new e.CacheFirst({cacheName:"google-fonts-webfonts",plugins:[new e.ExpirationPlugin({maxEntries:4,maxAgeSeconds:31536e3})]}),"GET"),e.registerRoute(/^https:\/\/fonts\.(?:googleapis)\.com\/.*/i,new e.StaleWhileRevalidate({cacheName:"google-fonts-stylesheets",plugins:[new e.ExpirationPlugin({maxEntries:4,maxAgeSeconds:604800})]}),"GET"),e.registerRoute(/\.(?:eot|otf|ttc|ttf|woff|woff2|font.css)$/i,new e.StaleWhileRevalidate({cacheName:"static-font-assets",plugins:[new e.ExpirationPlugin({maxEntries:4,maxAgeSeconds:604800})]}),"GET"),e.registerRoute(/\.(?:jpg|jpeg|gif|png|svg|ico|webp)$/i,new e.StaleWhileRevalidate({cacheName:"static-image-assets",plugins:[new e.ExpirationPlugin({maxEntries:64,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\/_next\/image\?url=.+$/i,new e.StaleWhileRevalidate({cacheName:"next-image",plugins:[new e.ExpirationPlugin({maxEntries:64,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:mp3|wav|ogg)$/i,new e.CacheFirst({cacheName:"static-audio-assets",plugins:[new e.RangeRequestsPlugin,new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:mp4)$/i,new e.CacheFirst({cacheName:"static-video-assets",plugins:[new e.RangeRequestsPlugin,new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:js)$/i,new e.StaleWhileRevalidate({cacheName:"static-js-assets",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:css|less)$/i,new e.StaleWhileRevalidate({cacheName:"static-style-assets",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\/_next\/data\/.+\/.+\.json$/i,new e.StaleWhileRevalidate({cacheName:"next-data",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:json|xml|csv)$/i,new e.NetworkFirst({cacheName:"static-data-assets",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute((({url:e})=>{if(!(self.origin===e.origin))return!1;const s=e.pathname;return!s.startsWith("/api/auth/")&&!!s.startsWith("/api/")}),new e.NetworkFirst({cacheName:"apis",networkTimeoutSeconds:10,plugins:[new e.ExpirationPlugin({maxEntries:16,maxAgeSeconds:86400})]}),"GET"),e.registerRoute((({url:e})=>{if(!(self.origin===e.origin))return!1;return!e.pathname.startsWith("/api/")}),new e.NetworkFirst({cacheName:"others",networkTimeoutSeconds:10,plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute((({url:e})=>!(self.origin===e.origin)),new e.NetworkFirst({cacheName:"cross-origin",networkTimeoutSeconds:10,plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:3600})]}),"GET")})); +if(!self.define){const e=e=>{"require"!==e&&(e+=".js");let n=Promise.resolve();return t[e]||(n=new Promise((async n=>{if("document"in self){const t=document.createElement("script");t.src=e,document.head.appendChild(t),t.onload=n}else importScripts(e),n()}))),n.then((()=>{if(!t[e])throw new Error(`Module ${e} didn’t register its module`);return t[e]}))},n=(n,t)=>{Promise.all(n.map(e)).then((e=>t(1===e.length?e[0]:e)))},t={require:Promise.resolve(n)};self.define=(n,s,i)=>{t[n]||(t[n]=Promise.resolve().then((()=>{let t={};const a={uri:location.origin+n.slice(1)};return Promise.all(s.map((n=>{switch(n){case"exports":return t;case"module":return a;default:return e(n)}}))).then((e=>{const n=i(...e);return t.default||(t.default=n),t}))})))}}define("./sw.js",["./workbox-7288c796"],(function(e){"use strict";importScripts("worker-YnmDot-UvfklgptzLSInt.js"),self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"/_next/static/YnmDot-UvfklgptzLSInt/_buildManifest.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/YnmDot-UvfklgptzLSInt/_ssgManifest.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/146.dac16a378017a3b908e1.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/146.dac16a378017a3b908e1.js.map",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/254.0842e7aa6d62929bbaf3.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/254.0842e7aa6d62929bbaf3.js.map",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/351.f3f049b23fa48975a364.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/351.f3f049b23fa48975a364.js.map",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/790.843000b02be813787049.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/790.843000b02be813787049.js.map",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/877-0b732eab4d2ed323649e.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/877-0b732eab4d2ed323649e.js.map",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/framework-6904c37ecf5b200e4e2e.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/framework-6904c37ecf5b200e4e2e.js.map",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/main-1622cb38e93933783343.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/main-1622cb38e93933783343.js.map",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/_app-f969d07b144252b4e453.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/_app-f969d07b144252b4e453.js.map",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/_error-1cd1e11cd5e9c8211770.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/_error-1cd1e11cd5e9c8211770.js.map",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/index-c60a1451851b4b489345.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/index-c60a1451851b4b489345.js.map",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/k-53de1c8919efff3ddeba.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/k-53de1c8919efff3ddeba.js.map",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/k/%5Bid%5D-5ade9f9533ba828633d6.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/k/%5Bid%5D-5ade9f9533ba828633d6.js.map",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/r-5cd32ab311ef7c240ff8.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/r-5cd32ab311ef7c240ff8.js.map",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/r/%5Bid%5D-bc8004d9c1054570a9b8.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/r/%5Bid%5D-bc8004d9c1054570a9b8.js.map",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/shhh-5e23900e30fd14c9f388.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/shhh-5e23900e30fd14c9f388.js.map",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/shhhmp-63c0186c3186516bdfba.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/shhhmp-63c0186c3186516bdfba.js.map",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/signout-a8947582f064b3d8c5e6.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/signout-a8947582f064b3d8c5e6.js.map",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/sponsorware-0ea8113fd25cf64bf199.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/sponsorware-0ea8113fd25cf64bf199.js.map",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/u-4e2e7f6288f3059347cb.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/u-4e2e7f6288f3059347cb.js.map",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/u/%5Bid%5D-22351fd7f99494553332.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/pages/u/%5Bid%5D-22351fd7f99494553332.js.map",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/polyfills-a40ef1678bae11e696dba45124eadd70.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/webpack-a8691967754e8844a343.js",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/chunks/webpack-a8691967754e8844a343.js.map",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/css/188c96206215c999865a.css",revision:"YnmDot-UvfklgptzLSInt"},{url:"/_next/static/css/188c96206215c999865a.css.map",revision:"YnmDot-UvfklgptzLSInt"},{url:"/android-chrome-192x192.png",revision:"57c9c4cd91d24d48b7ffdda0768fd225"},{url:"/android-chrome-512x512.png",revision:"8d2454e6cf551f8ca1e1d5670b13a8d1"},{url:"/android-chrome-maskable-192x192.png",revision:"71c93ce0b34d2fbb4c6654a9131a3d9d"},{url:"/android-chrome-maskable-512x512.png",revision:"4265b8c09997b16ac1493500b43f3755"},{url:"/android-chrome-maskable-beta-512x512.png",revision:"145800cf2381faf1c0f4a61c29a88448"},{url:"/apple-touch-icon.png",revision:"8081d08be3673ec33dbeecab06706b2b"},{url:"/favicon-16x16.png",revision:"ac17d75b1ee007781212853a57b88285"},{url:"/favicon-32x32.png",revision:"360bc7cd4706c0657917f3b78fed6b71"},{url:"/favicon.ico",revision:"b2bf6bb7b4d0234f3e6df44fd7d5707e"},{url:"/flat.png",revision:"e0460141713b5c94104ce19b36c4b462"},{url:"/icons/Redo.svg",revision:"6196f61a2053ff606d5746eb3ab380e3"},{url:"/icons/Trash.svg",revision:"5f2c42a17b7d8459f2e556b6209a61c6"},{url:"/icons/Undo.svg",revision:"24de701870630f51132f9bed3f18ee8f"},{url:"/icons/grab.svg",revision:"a1ca9e5c31d1edd2558ab075f72fde4e"},{url:"/icons/pointer.svg",revision:"dff260f896fe23adb83341639fdf93be"},{url:"/icons/resize.svg",revision:"0a3cb701d15731e25919783801d18f95"},{url:"/images/hello.mp4",revision:"b716f249cc6c781c91b0ac9dc23423b3"},{url:"/manifest.json",revision:"3e4cd02739cceee25488c97ca2ed59da"},{url:"/vercel.svg",revision:"4b4f1876502eb6721764637fe5c41702"}],{ignoreURLParametersMatching:[]}),e.cleanupOutdatedCaches(),e.registerRoute("/",new e.NetworkFirst({cacheName:"start-url",plugins:[{cacheWillUpdate:async({request:e,response:n,event:t,state:s})=>n&&"opaqueredirect"===n.type?new Response(n.body,{status:200,statusText:"OK",headers:n.headers}):n}]}),"GET"),e.registerRoute(/^https:\/\/fonts\.(?:gstatic)\.com\/.*/i,new e.CacheFirst({cacheName:"google-fonts-webfonts",plugins:[new e.ExpirationPlugin({maxEntries:4,maxAgeSeconds:31536e3})]}),"GET"),e.registerRoute(/^https:\/\/fonts\.(?:googleapis)\.com\/.*/i,new e.StaleWhileRevalidate({cacheName:"google-fonts-stylesheets",plugins:[new e.ExpirationPlugin({maxEntries:4,maxAgeSeconds:604800})]}),"GET"),e.registerRoute(/\.(?:eot|otf|ttc|ttf|woff|woff2|font.css)$/i,new e.StaleWhileRevalidate({cacheName:"static-font-assets",plugins:[new e.ExpirationPlugin({maxEntries:4,maxAgeSeconds:604800})]}),"GET"),e.registerRoute(/\.(?:jpg|jpeg|gif|png|svg|ico|webp)$/i,new e.StaleWhileRevalidate({cacheName:"static-image-assets",plugins:[new e.ExpirationPlugin({maxEntries:64,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\/_next\/image\?url=.+$/i,new e.StaleWhileRevalidate({cacheName:"next-image",plugins:[new e.ExpirationPlugin({maxEntries:64,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:mp3|wav|ogg)$/i,new e.CacheFirst({cacheName:"static-audio-assets",plugins:[new e.RangeRequestsPlugin,new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:mp4)$/i,new e.CacheFirst({cacheName:"static-video-assets",plugins:[new e.RangeRequestsPlugin,new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:js)$/i,new e.StaleWhileRevalidate({cacheName:"static-js-assets",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:css|less)$/i,new e.StaleWhileRevalidate({cacheName:"static-style-assets",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\/_next\/data\/.+\/.+\.json$/i,new e.StaleWhileRevalidate({cacheName:"next-data",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:json|xml|csv)$/i,new e.NetworkFirst({cacheName:"static-data-assets",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute((({url:e})=>{if(!(self.origin===e.origin))return!1;const n=e.pathname;return!n.startsWith("/api/auth/")&&!!n.startsWith("/api/")}),new e.NetworkFirst({cacheName:"apis",networkTimeoutSeconds:10,plugins:[new e.ExpirationPlugin({maxEntries:16,maxAgeSeconds:86400})]}),"GET"),e.registerRoute((({url:e})=>{if(!(self.origin===e.origin))return!1;return!e.pathname.startsWith("/api/")}),new e.NetworkFirst({cacheName:"others",networkTimeoutSeconds:10,plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute((({url:e})=>!(self.origin===e.origin)),new e.NetworkFirst({cacheName:"cross-origin",networkTimeoutSeconds:10,plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:3600})]}),"GET")})); //# sourceMappingURL=sw.js.map diff --git a/packages/www/public/sw.js.map b/packages/www/public/sw.js.map index 8ffe553da..d5bcf98d2 100644 --- a/packages/www/public/sw.js.map +++ b/packages/www/public/sw.js.map @@ -1 +1 @@ -{"version":3,"file":"sw.js","sources":["../../../../../../../private/var/folders/g7/7xq6v0ls5lq_ks1yh3lbgrr00000gn/T/5485aae1b70f707bca1bff5c59a11278/sw.js"],"sourcesContent":["import {registerRoute as workbox_routing_registerRoute} from '/Users/steve/Developer/Github/tldraw/node_modules/workbox-routing/registerRoute.mjs';\nimport {NetworkFirst as workbox_strategies_NetworkFirst} from '/Users/steve/Developer/Github/tldraw/node_modules/workbox-strategies/NetworkFirst.mjs';\nimport {ExpirationPlugin as workbox_expiration_ExpirationPlugin} from '/Users/steve/Developer/Github/tldraw/node_modules/workbox-expiration/ExpirationPlugin.mjs';\nimport {CacheFirst as workbox_strategies_CacheFirst} from '/Users/steve/Developer/Github/tldraw/node_modules/workbox-strategies/CacheFirst.mjs';\nimport {StaleWhileRevalidate as workbox_strategies_StaleWhileRevalidate} from '/Users/steve/Developer/Github/tldraw/node_modules/workbox-strategies/StaleWhileRevalidate.mjs';\nimport {RangeRequestsPlugin as workbox_range_requests_RangeRequestsPlugin} from '/Users/steve/Developer/Github/tldraw/node_modules/workbox-range-requests/RangeRequestsPlugin.mjs';\nimport {clientsClaim as workbox_core_clientsClaim} from '/Users/steve/Developer/Github/tldraw/node_modules/workbox-core/clientsClaim.mjs';\nimport {precacheAndRoute as workbox_precaching_precacheAndRoute} from '/Users/steve/Developer/Github/tldraw/node_modules/workbox-precaching/precacheAndRoute.mjs';\nimport {cleanupOutdatedCaches as workbox_precaching_cleanupOutdatedCaches} from '/Users/steve/Developer/Github/tldraw/node_modules/workbox-precaching/cleanupOutdatedCaches.mjs';/**\n * Welcome to your Workbox-powered service worker!\n *\n * You'll need to register this file in your web app.\n * See https://goo.gl/nhQhGp\n *\n * The rest of the code is auto-generated. Please don't update this file\n * directly; instead, make changes to your Workbox build configuration\n * and re-run your build process.\n * See https://goo.gl/2aRDsh\n */\n\n\nimportScripts(\n \"worker-pM2qo7aUQ48uy8XFEvNYI.js\"\n);\n\n\n\n\n\n\n\nself.skipWaiting();\n\nworkbox_core_clientsClaim();\n\n\n/**\n * The precacheAndRoute() method efficiently caches and responds to\n * requests for URLs in the manifest.\n * See https://goo.gl/S9QRab\n */\nworkbox_precaching_precacheAndRoute([\n {\n \"url\": \"/_next/static/chunks/146.dac16a378017a3b908e1.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/146.dac16a378017a3b908e1.js.map\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/254.0842e7aa6d62929bbaf3.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/254.0842e7aa6d62929bbaf3.js.map\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/351.c394193667656b02e445.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/351.c394193667656b02e445.js.map\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/790.843000b02be813787049.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/790.843000b02be813787049.js.map\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/877-0b732eab4d2ed323649e.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/877-0b732eab4d2ed323649e.js.map\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/framework-6904c37ecf5b200e4e2e.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/framework-6904c37ecf5b200e4e2e.js.map\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/main-1622cb38e93933783343.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/main-1622cb38e93933783343.js.map\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/_app-6ae16e08a077d60c5eef.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/_app-6ae16e08a077d60c5eef.js.map\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/_error-1cd1e11cd5e9c8211770.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/_error-1cd1e11cd5e9c8211770.js.map\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/index-c60a1451851b4b489345.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/index-c60a1451851b4b489345.js.map\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/k-53de1c8919efff3ddeba.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/k-53de1c8919efff3ddeba.js.map\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/k/%5Bid%5D-5ade9f9533ba828633d6.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/k/%5Bid%5D-5ade9f9533ba828633d6.js.map\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/r-5cd32ab311ef7c240ff8.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/r-5cd32ab311ef7c240ff8.js.map\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/r/%5Bid%5D-bc8004d9c1054570a9b8.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/r/%5Bid%5D-bc8004d9c1054570a9b8.js.map\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/shhh-5e23900e30fd14c9f388.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/shhh-5e23900e30fd14c9f388.js.map\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/shhhmp-63c0186c3186516bdfba.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/shhhmp-63c0186c3186516bdfba.js.map\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/signout-a8947582f064b3d8c5e6.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/signout-a8947582f064b3d8c5e6.js.map\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/sponsorware-0ea8113fd25cf64bf199.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/sponsorware-0ea8113fd25cf64bf199.js.map\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/u-4e2e7f6288f3059347cb.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/u-4e2e7f6288f3059347cb.js.map\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/u/%5Bid%5D-22351fd7f99494553332.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/u/%5Bid%5D-22351fd7f99494553332.js.map\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/polyfills-a40ef1678bae11e696dba45124eadd70.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/webpack-b5f7a142c6368c5425de.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/chunks/webpack-b5f7a142c6368c5425de.js.map\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/css/188c96206215c999865a.css\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/css/188c96206215c999865a.css.map\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/pM2qo7aUQ48uy8XFEvNYI/_buildManifest.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/_next/static/pM2qo7aUQ48uy8XFEvNYI/_ssgManifest.js\",\n \"revision\": \"pM2qo7aUQ48uy8XFEvNYI\"\n },\n {\n \"url\": \"/android-chrome-192x192.png\",\n \"revision\": \"57c9c4cd91d24d48b7ffdda0768fd225\"\n },\n {\n \"url\": \"/android-chrome-512x512.png\",\n \"revision\": \"8d2454e6cf551f8ca1e1d5670b13a8d1\"\n },\n {\n \"url\": \"/android-chrome-maskable-192x192.png\",\n \"revision\": \"71c93ce0b34d2fbb4c6654a9131a3d9d\"\n },\n {\n \"url\": \"/android-chrome-maskable-512x512.png\",\n \"revision\": \"4265b8c09997b16ac1493500b43f3755\"\n },\n {\n \"url\": \"/android-chrome-maskable-beta-512x512.png\",\n \"revision\": \"145800cf2381faf1c0f4a61c29a88448\"\n },\n {\n \"url\": \"/apple-touch-icon.png\",\n \"revision\": \"8081d08be3673ec33dbeecab06706b2b\"\n },\n {\n \"url\": \"/favicon-16x16.png\",\n \"revision\": \"ac17d75b1ee007781212853a57b88285\"\n },\n {\n \"url\": \"/favicon-32x32.png\",\n \"revision\": \"360bc7cd4706c0657917f3b78fed6b71\"\n },\n {\n \"url\": \"/favicon.ico\",\n \"revision\": \"b2bf6bb7b4d0234f3e6df44fd7d5707e\"\n },\n {\n \"url\": \"/flat.png\",\n \"revision\": \"e0460141713b5c94104ce19b36c4b462\"\n },\n {\n \"url\": \"/icons/Redo.svg\",\n \"revision\": \"6196f61a2053ff606d5746eb3ab380e3\"\n },\n {\n \"url\": \"/icons/Trash.svg\",\n \"revision\": \"5f2c42a17b7d8459f2e556b6209a61c6\"\n },\n {\n \"url\": \"/icons/Undo.svg\",\n \"revision\": \"24de701870630f51132f9bed3f18ee8f\"\n },\n {\n \"url\": \"/icons/grab.svg\",\n \"revision\": \"a1ca9e5c31d1edd2558ab075f72fde4e\"\n },\n {\n \"url\": \"/icons/pointer.svg\",\n \"revision\": \"dff260f896fe23adb83341639fdf93be\"\n },\n {\n \"url\": \"/icons/resize.svg\",\n \"revision\": \"0a3cb701d15731e25919783801d18f95\"\n },\n {\n \"url\": \"/images/hello.mp4\",\n \"revision\": \"b716f249cc6c781c91b0ac9dc23423b3\"\n },\n {\n \"url\": \"/manifest.json\",\n \"revision\": \"3e4cd02739cceee25488c97ca2ed59da\"\n },\n {\n \"url\": \"/vercel.svg\",\n \"revision\": \"4b4f1876502eb6721764637fe5c41702\"\n }\n], {\n \"ignoreURLParametersMatching\": []\n});\nworkbox_precaching_cleanupOutdatedCaches();\n\n\n\nworkbox_routing_registerRoute(\"/\", new workbox_strategies_NetworkFirst({ \"cacheName\":\"start-url\", plugins: [{ cacheWillUpdate: async ({request, response, event, state}) => { if (response && response.type === 'opaqueredirect') { return new Response(response.body, {status: 200, statusText: 'OK', headers: response.headers}); } return response; } }] }), 'GET');\nworkbox_routing_registerRoute(/^https:\\/\\/fonts\\.(?:gstatic)\\.com\\/.*/i, new workbox_strategies_CacheFirst({ \"cacheName\":\"google-fonts-webfonts\", plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 4, maxAgeSeconds: 31536000 })] }), 'GET');\nworkbox_routing_registerRoute(/^https:\\/\\/fonts\\.(?:googleapis)\\.com\\/.*/i, new workbox_strategies_StaleWhileRevalidate({ \"cacheName\":\"google-fonts-stylesheets\", plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 4, maxAgeSeconds: 604800 })] }), 'GET');\nworkbox_routing_registerRoute(/\\.(?:eot|otf|ttc|ttf|woff|woff2|font.css)$/i, new workbox_strategies_StaleWhileRevalidate({ \"cacheName\":\"static-font-assets\", plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 4, maxAgeSeconds: 604800 })] }), 'GET');\nworkbox_routing_registerRoute(/\\.(?:jpg|jpeg|gif|png|svg|ico|webp)$/i, new workbox_strategies_StaleWhileRevalidate({ \"cacheName\":\"static-image-assets\", plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 64, maxAgeSeconds: 86400 })] }), 'GET');\nworkbox_routing_registerRoute(/\\/_next\\/image\\?url=.+$/i, new workbox_strategies_StaleWhileRevalidate({ \"cacheName\":\"next-image\", plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 64, maxAgeSeconds: 86400 })] }), 'GET');\nworkbox_routing_registerRoute(/\\.(?:mp3|wav|ogg)$/i, new workbox_strategies_CacheFirst({ \"cacheName\":\"static-audio-assets\", plugins: [new workbox_range_requests_RangeRequestsPlugin(), new workbox_expiration_ExpirationPlugin({ maxEntries: 32, maxAgeSeconds: 86400 })] }), 'GET');\nworkbox_routing_registerRoute(/\\.(?:mp4)$/i, new workbox_strategies_CacheFirst({ \"cacheName\":\"static-video-assets\", plugins: [new workbox_range_requests_RangeRequestsPlugin(), new workbox_expiration_ExpirationPlugin({ maxEntries: 32, maxAgeSeconds: 86400 })] }), 'GET');\nworkbox_routing_registerRoute(/\\.(?:js)$/i, new workbox_strategies_StaleWhileRevalidate({ \"cacheName\":\"static-js-assets\", plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 32, maxAgeSeconds: 86400 })] }), 'GET');\nworkbox_routing_registerRoute(/\\.(?:css|less)$/i, new workbox_strategies_StaleWhileRevalidate({ \"cacheName\":\"static-style-assets\", plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 32, maxAgeSeconds: 86400 })] }), 'GET');\nworkbox_routing_registerRoute(/\\/_next\\/data\\/.+\\/.+\\.json$/i, new workbox_strategies_StaleWhileRevalidate({ \"cacheName\":\"next-data\", plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 32, maxAgeSeconds: 86400 })] }), 'GET');\nworkbox_routing_registerRoute(/\\.(?:json|xml|csv)$/i, new workbox_strategies_NetworkFirst({ \"cacheName\":\"static-data-assets\", plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 32, maxAgeSeconds: 86400 })] }), 'GET');\nworkbox_routing_registerRoute(({url}) => {\n const isSameOrigin = self.origin === url.origin\n if (!isSameOrigin) return false\n const pathname = url.pathname\n // Exclude /api/auth/callback/* to fix OAuth workflow in Safari without impact other environment\n // Above route is default for next-auth, you may need to change it if your OAuth workflow has a different callback route\n // Issue: https://github.com/shadowwalker/next-pwa/issues/131#issuecomment-821894809\n if (pathname.startsWith('/api/auth/')) return false\n if (pathname.startsWith('/api/')) return true\n return false\n }, new workbox_strategies_NetworkFirst({ \"cacheName\":\"apis\",\"networkTimeoutSeconds\":10, plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 16, maxAgeSeconds: 86400 })] }), 'GET');\nworkbox_routing_registerRoute(({url}) => {\n const isSameOrigin = self.origin === url.origin\n if (!isSameOrigin) return false\n const pathname = url.pathname\n if (pathname.startsWith('/api/')) return false\n return true\n }, new workbox_strategies_NetworkFirst({ \"cacheName\":\"others\",\"networkTimeoutSeconds\":10, plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 32, maxAgeSeconds: 86400 })] }), 'GET');\nworkbox_routing_registerRoute(({url}) => {\n const isSameOrigin = self.origin === url.origin\n return !isSameOrigin\n }, new workbox_strategies_NetworkFirst({ \"cacheName\":\"cross-origin\",\"networkTimeoutSeconds\":10, plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 32, maxAgeSeconds: 3600 })] }), 'GET');\n\n\n\n\n"],"names":["importScripts","self","skipWaiting","workbox_strategies_NetworkFirst","plugins","cacheWillUpdate","async","request","response","event","state","type","Response","body","status","statusText","headers","workbox_strategies_CacheFirst","workbox_expiration_ExpirationPlugin","maxEntries","maxAgeSeconds","workbox_strategies_StaleWhileRevalidate","workbox_range_requests_RangeRequestsPlugin","url","origin","pathname","startsWith"],"mappings":"0yBAqBAA,cACE,mCASFC,KAAKC,kDAU+B,CAClC,KACS,4DACK,yBAEd,KACS,gEACK,yBAEd,KACS,4DACK,yBAEd,KACS,gEACK,yBAEd,KACS,4DACK,yBAEd,KACS,gEACK,yBAEd,KACS,4DACK,yBAEd,KACS,gEACK,yBAEd,KACS,4DACK,yBAEd,KACS,gEACK,yBAEd,KACS,kEACK,yBAEd,KACS,sEACK,yBAEd,KACS,6DACK,yBAEd,KACS,iEACK,yBAEd,KACS,mEACK,yBAEd,KACS,uEACK,yBAEd,KACS,qEACK,yBAEd,KACS,yEACK,yBAEd,KACS,oEACK,yBAEd,KACS,wEACK,yBAEd,KACS,gEACK,yBAEd,KACS,oEACK,yBAEd,KACS,yEACK,yBAEd,KACS,6EACK,yBAEd,KACS,gEACK,yBAEd,KACS,oEACK,yBAEd,KACS,yEACK,yBAEd,KACS,6EACK,yBAEd,KACS,mEACK,yBAEd,KACS,uEACK,yBAEd,KACS,qEACK,yBAEd,KACS,yEACK,yBAEd,KACS,sEACK,yBAEd,KACS,0EACK,yBAEd,KACS,0EACK,yBAEd,KACS,8EACK,yBAEd,KACS,gEACK,yBAEd,KACS,oEACK,yBAEd,KACS,yEACK,yBAEd,KACS,6EACK,yBAEd,KACS,8EACK,yBAEd,KACS,gEACK,yBAEd,KACS,oEACK,yBAEd,KACS,sDACK,yBAEd,KACS,0DACK,yBAEd,KACS,iEACK,yBAEd,KACS,+DACK,yBAEd,KACS,uCACK,oCAEd,KACS,uCACK,oCAEd,KACS,gDACK,oCAEd,KACS,gDACK,oCAEd,KACS,qDACK,oCAEd,KACS,iCACK,oCAEd,KACS,8BACK,oCAEd,KACS,8BACK,oCAEd,KACS,wBACK,oCAEd,KACS,qBACK,oCAEd,KACS,2BACK,oCAEd,KACS,4BACK,oCAEd,KACS,2BACK,oCAEd,KACS,2BACK,oCAEd,KACS,8BACK,oCAEd,KACS,6BACK,oCAEd,KACS,6BACK,oCAEd,KACS,0BACK,oCAEd,KACS,uBACK,qCAEb,6BAC8B,+CAMH,IAAK,IAAIC,eAAgC,WAAc,YAAaC,QAAS,CAAC,CAAEC,gBAAiBC,OAAQC,QAAAA,EAASC,SAAAA,EAAUC,MAAAA,EAAOC,MAAAA,KAAiBF,GAA8B,mBAAlBA,EAASG,KAAoC,IAAIC,SAASJ,EAASK,KAAM,CAACC,OAAQ,IAAKC,WAAY,KAAMC,QAASR,EAASQ,UAAoBR,MAAmB,uBAClU,0CAA2C,IAAIS,aAA8B,WAAc,wBAAyBb,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,EAAGC,cAAe,aAAiB,uBACvN,6CAA8C,IAAIC,uBAAwC,WAAc,2BAA4BjB,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,EAAGC,cAAe,YAAe,uBACrO,8CAA+C,IAAIC,uBAAwC,WAAc,qBAAsBjB,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,EAAGC,cAAe,YAAe,uBAChO,wCAAyC,IAAIC,uBAAwC,WAAc,sBAAuBjB,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,GAAIC,cAAe,WAAc,uBAC3N,2BAA4B,IAAIC,uBAAwC,WAAc,aAAcjB,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,GAAIC,cAAe,WAAc,uBACrM,sBAAuB,IAAIH,aAA8B,WAAc,sBAAuBb,QAAS,CAAC,IAAIkB,sBAA8C,IAAIJ,mBAAoC,CAAEC,WAAY,GAAIC,cAAe,WAAc,uBACjP,cAAe,IAAIH,aAA8B,WAAc,sBAAuBb,QAAS,CAAC,IAAIkB,sBAA8C,IAAIJ,mBAAoC,CAAEC,WAAY,GAAIC,cAAe,WAAc,uBACzO,aAAc,IAAIC,uBAAwC,WAAc,mBAAoBjB,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,GAAIC,cAAe,WAAc,uBAC7L,mBAAoB,IAAIC,uBAAwC,WAAc,sBAAuBjB,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,GAAIC,cAAe,WAAc,uBACtM,gCAAiC,IAAIC,uBAAwC,WAAc,YAAajB,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,GAAIC,cAAe,WAAc,uBACzM,uBAAwB,IAAIjB,eAAgC,WAAc,qBAAsBC,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,GAAIC,cAAe,WAAc,wBACjM,EAAEG,IAAAA,WACLtB,KAAKuB,SAAWD,EAAIC,QACtB,OAAO,QACpBC,EAAWF,EAAIE,gBAIjBA,EAASC,WAAW,iBACpBD,EAASC,WAAW,WAEvB,IAAIvB,eAAgC,WAAc,6BAA+B,GAAIC,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,GAAIC,cAAe,WAAc,wBAC/J,EAAEG,IAAAA,WACLtB,KAAKuB,SAAWD,EAAIC,QACtB,OAAO,SACTD,EAAIE,SACRC,WAAW,WAEvB,IAAIvB,eAAgC,WAAc,+BAAiC,GAAIC,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,GAAIC,cAAe,WAAc,wBACjK,EAAEG,IAAAA,OACLtB,KAAKuB,SAAWD,EAAIC,SAExC,IAAIrB,eAAgC,WAAc,qCAAuC,GAAIC,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,GAAIC,cAAe,UAAa"} \ No newline at end of file +{"version":3,"file":"sw.js","sources":["../../../../../../../private/var/folders/g7/7xq6v0ls5lq_ks1yh3lbgrr00000gn/T/a1cd8df2d945e61b60cddfe23ac85aa2/sw.js"],"sourcesContent":["import {registerRoute as workbox_routing_registerRoute} from '/Users/steve/Developer/Github/tldraw/node_modules/workbox-routing/registerRoute.mjs';\nimport {NetworkFirst as workbox_strategies_NetworkFirst} from '/Users/steve/Developer/Github/tldraw/node_modules/workbox-strategies/NetworkFirst.mjs';\nimport {ExpirationPlugin as workbox_expiration_ExpirationPlugin} from '/Users/steve/Developer/Github/tldraw/node_modules/workbox-expiration/ExpirationPlugin.mjs';\nimport {CacheFirst as workbox_strategies_CacheFirst} from '/Users/steve/Developer/Github/tldraw/node_modules/workbox-strategies/CacheFirst.mjs';\nimport {StaleWhileRevalidate as workbox_strategies_StaleWhileRevalidate} from '/Users/steve/Developer/Github/tldraw/node_modules/workbox-strategies/StaleWhileRevalidate.mjs';\nimport {RangeRequestsPlugin as workbox_range_requests_RangeRequestsPlugin} from '/Users/steve/Developer/Github/tldraw/node_modules/workbox-range-requests/RangeRequestsPlugin.mjs';\nimport {clientsClaim as workbox_core_clientsClaim} from '/Users/steve/Developer/Github/tldraw/node_modules/workbox-core/clientsClaim.mjs';\nimport {precacheAndRoute as workbox_precaching_precacheAndRoute} from '/Users/steve/Developer/Github/tldraw/node_modules/workbox-precaching/precacheAndRoute.mjs';\nimport {cleanupOutdatedCaches as workbox_precaching_cleanupOutdatedCaches} from '/Users/steve/Developer/Github/tldraw/node_modules/workbox-precaching/cleanupOutdatedCaches.mjs';/**\n * Welcome to your Workbox-powered service worker!\n *\n * You'll need to register this file in your web app.\n * See https://goo.gl/nhQhGp\n *\n * The rest of the code is auto-generated. Please don't update this file\n * directly; instead, make changes to your Workbox build configuration\n * and re-run your build process.\n * See https://goo.gl/2aRDsh\n */\n\n\nimportScripts(\n \"worker-YnmDot-UvfklgptzLSInt.js\"\n);\n\n\n\n\n\n\n\nself.skipWaiting();\n\nworkbox_core_clientsClaim();\n\n\n/**\n * The precacheAndRoute() method efficiently caches and responds to\n * requests for URLs in the manifest.\n * See https://goo.gl/S9QRab\n */\nworkbox_precaching_precacheAndRoute([\n {\n \"url\": \"/_next/static/YnmDot-UvfklgptzLSInt/_buildManifest.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/YnmDot-UvfklgptzLSInt/_ssgManifest.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/146.dac16a378017a3b908e1.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/146.dac16a378017a3b908e1.js.map\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/254.0842e7aa6d62929bbaf3.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/254.0842e7aa6d62929bbaf3.js.map\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/351.f3f049b23fa48975a364.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/351.f3f049b23fa48975a364.js.map\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/790.843000b02be813787049.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/790.843000b02be813787049.js.map\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/877-0b732eab4d2ed323649e.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/877-0b732eab4d2ed323649e.js.map\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/framework-6904c37ecf5b200e4e2e.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/framework-6904c37ecf5b200e4e2e.js.map\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/main-1622cb38e93933783343.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/main-1622cb38e93933783343.js.map\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/_app-f969d07b144252b4e453.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/_app-f969d07b144252b4e453.js.map\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/_error-1cd1e11cd5e9c8211770.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/_error-1cd1e11cd5e9c8211770.js.map\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/index-c60a1451851b4b489345.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/index-c60a1451851b4b489345.js.map\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/k-53de1c8919efff3ddeba.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/k-53de1c8919efff3ddeba.js.map\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/k/%5Bid%5D-5ade9f9533ba828633d6.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/k/%5Bid%5D-5ade9f9533ba828633d6.js.map\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/r-5cd32ab311ef7c240ff8.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/r-5cd32ab311ef7c240ff8.js.map\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/r/%5Bid%5D-bc8004d9c1054570a9b8.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/r/%5Bid%5D-bc8004d9c1054570a9b8.js.map\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/shhh-5e23900e30fd14c9f388.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/shhh-5e23900e30fd14c9f388.js.map\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/shhhmp-63c0186c3186516bdfba.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/shhhmp-63c0186c3186516bdfba.js.map\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/signout-a8947582f064b3d8c5e6.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/signout-a8947582f064b3d8c5e6.js.map\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/sponsorware-0ea8113fd25cf64bf199.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/sponsorware-0ea8113fd25cf64bf199.js.map\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/u-4e2e7f6288f3059347cb.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/u-4e2e7f6288f3059347cb.js.map\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/u/%5Bid%5D-22351fd7f99494553332.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/u/%5Bid%5D-22351fd7f99494553332.js.map\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/polyfills-a40ef1678bae11e696dba45124eadd70.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/webpack-a8691967754e8844a343.js\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/chunks/webpack-a8691967754e8844a343.js.map\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/css/188c96206215c999865a.css\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/_next/static/css/188c96206215c999865a.css.map\",\n \"revision\": \"YnmDot-UvfklgptzLSInt\"\n },\n {\n \"url\": \"/android-chrome-192x192.png\",\n \"revision\": \"57c9c4cd91d24d48b7ffdda0768fd225\"\n },\n {\n \"url\": \"/android-chrome-512x512.png\",\n \"revision\": \"8d2454e6cf551f8ca1e1d5670b13a8d1\"\n },\n {\n \"url\": \"/android-chrome-maskable-192x192.png\",\n \"revision\": \"71c93ce0b34d2fbb4c6654a9131a3d9d\"\n },\n {\n \"url\": \"/android-chrome-maskable-512x512.png\",\n \"revision\": \"4265b8c09997b16ac1493500b43f3755\"\n },\n {\n \"url\": \"/android-chrome-maskable-beta-512x512.png\",\n \"revision\": \"145800cf2381faf1c0f4a61c29a88448\"\n },\n {\n \"url\": \"/apple-touch-icon.png\",\n \"revision\": \"8081d08be3673ec33dbeecab06706b2b\"\n },\n {\n \"url\": \"/favicon-16x16.png\",\n \"revision\": \"ac17d75b1ee007781212853a57b88285\"\n },\n {\n \"url\": \"/favicon-32x32.png\",\n \"revision\": \"360bc7cd4706c0657917f3b78fed6b71\"\n },\n {\n \"url\": \"/favicon.ico\",\n \"revision\": \"b2bf6bb7b4d0234f3e6df44fd7d5707e\"\n },\n {\n \"url\": \"/flat.png\",\n \"revision\": \"e0460141713b5c94104ce19b36c4b462\"\n },\n {\n \"url\": \"/icons/Redo.svg\",\n \"revision\": \"6196f61a2053ff606d5746eb3ab380e3\"\n },\n {\n \"url\": \"/icons/Trash.svg\",\n \"revision\": \"5f2c42a17b7d8459f2e556b6209a61c6\"\n },\n {\n \"url\": \"/icons/Undo.svg\",\n \"revision\": \"24de701870630f51132f9bed3f18ee8f\"\n },\n {\n \"url\": \"/icons/grab.svg\",\n \"revision\": \"a1ca9e5c31d1edd2558ab075f72fde4e\"\n },\n {\n \"url\": \"/icons/pointer.svg\",\n \"revision\": \"dff260f896fe23adb83341639fdf93be\"\n },\n {\n \"url\": \"/icons/resize.svg\",\n \"revision\": \"0a3cb701d15731e25919783801d18f95\"\n },\n {\n \"url\": \"/images/hello.mp4\",\n \"revision\": \"b716f249cc6c781c91b0ac9dc23423b3\"\n },\n {\n \"url\": \"/manifest.json\",\n \"revision\": \"3e4cd02739cceee25488c97ca2ed59da\"\n },\n {\n \"url\": \"/vercel.svg\",\n \"revision\": \"4b4f1876502eb6721764637fe5c41702\"\n }\n], {\n \"ignoreURLParametersMatching\": []\n});\nworkbox_precaching_cleanupOutdatedCaches();\n\n\n\nworkbox_routing_registerRoute(\"/\", new workbox_strategies_NetworkFirst({ \"cacheName\":\"start-url\", plugins: [{ cacheWillUpdate: async ({request, response, event, state}) => { if (response && response.type === 'opaqueredirect') { return new Response(response.body, {status: 200, statusText: 'OK', headers: response.headers}); } return response; } }] }), 'GET');\nworkbox_routing_registerRoute(/^https:\\/\\/fonts\\.(?:gstatic)\\.com\\/.*/i, new workbox_strategies_CacheFirst({ \"cacheName\":\"google-fonts-webfonts\", plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 4, maxAgeSeconds: 31536000 })] }), 'GET');\nworkbox_routing_registerRoute(/^https:\\/\\/fonts\\.(?:googleapis)\\.com\\/.*/i, new workbox_strategies_StaleWhileRevalidate({ \"cacheName\":\"google-fonts-stylesheets\", plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 4, maxAgeSeconds: 604800 })] }), 'GET');\nworkbox_routing_registerRoute(/\\.(?:eot|otf|ttc|ttf|woff|woff2|font.css)$/i, new workbox_strategies_StaleWhileRevalidate({ \"cacheName\":\"static-font-assets\", plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 4, maxAgeSeconds: 604800 })] }), 'GET');\nworkbox_routing_registerRoute(/\\.(?:jpg|jpeg|gif|png|svg|ico|webp)$/i, new workbox_strategies_StaleWhileRevalidate({ \"cacheName\":\"static-image-assets\", plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 64, maxAgeSeconds: 86400 })] }), 'GET');\nworkbox_routing_registerRoute(/\\/_next\\/image\\?url=.+$/i, new workbox_strategies_StaleWhileRevalidate({ \"cacheName\":\"next-image\", plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 64, maxAgeSeconds: 86400 })] }), 'GET');\nworkbox_routing_registerRoute(/\\.(?:mp3|wav|ogg)$/i, new workbox_strategies_CacheFirst({ \"cacheName\":\"static-audio-assets\", plugins: [new workbox_range_requests_RangeRequestsPlugin(), new workbox_expiration_ExpirationPlugin({ maxEntries: 32, maxAgeSeconds: 86400 })] }), 'GET');\nworkbox_routing_registerRoute(/\\.(?:mp4)$/i, new workbox_strategies_CacheFirst({ \"cacheName\":\"static-video-assets\", plugins: [new workbox_range_requests_RangeRequestsPlugin(), new workbox_expiration_ExpirationPlugin({ maxEntries: 32, maxAgeSeconds: 86400 })] }), 'GET');\nworkbox_routing_registerRoute(/\\.(?:js)$/i, new workbox_strategies_StaleWhileRevalidate({ \"cacheName\":\"static-js-assets\", plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 32, maxAgeSeconds: 86400 })] }), 'GET');\nworkbox_routing_registerRoute(/\\.(?:css|less)$/i, new workbox_strategies_StaleWhileRevalidate({ \"cacheName\":\"static-style-assets\", plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 32, maxAgeSeconds: 86400 })] }), 'GET');\nworkbox_routing_registerRoute(/\\/_next\\/data\\/.+\\/.+\\.json$/i, new workbox_strategies_StaleWhileRevalidate({ \"cacheName\":\"next-data\", plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 32, maxAgeSeconds: 86400 })] }), 'GET');\nworkbox_routing_registerRoute(/\\.(?:json|xml|csv)$/i, new workbox_strategies_NetworkFirst({ \"cacheName\":\"static-data-assets\", plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 32, maxAgeSeconds: 86400 })] }), 'GET');\nworkbox_routing_registerRoute(({url}) => {\n const isSameOrigin = self.origin === url.origin\n if (!isSameOrigin) return false\n const pathname = url.pathname\n // Exclude /api/auth/callback/* to fix OAuth workflow in Safari without impact other environment\n // Above route is default for next-auth, you may need to change it if your OAuth workflow has a different callback route\n // Issue: https://github.com/shadowwalker/next-pwa/issues/131#issuecomment-821894809\n if (pathname.startsWith('/api/auth/')) return false\n if (pathname.startsWith('/api/')) return true\n return false\n }, new workbox_strategies_NetworkFirst({ \"cacheName\":\"apis\",\"networkTimeoutSeconds\":10, plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 16, maxAgeSeconds: 86400 })] }), 'GET');\nworkbox_routing_registerRoute(({url}) => {\n const isSameOrigin = self.origin === url.origin\n if (!isSameOrigin) return false\n const pathname = url.pathname\n if (pathname.startsWith('/api/')) return false\n return true\n }, new workbox_strategies_NetworkFirst({ \"cacheName\":\"others\",\"networkTimeoutSeconds\":10, plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 32, maxAgeSeconds: 86400 })] }), 'GET');\nworkbox_routing_registerRoute(({url}) => {\n const isSameOrigin = self.origin === url.origin\n return !isSameOrigin\n }, new workbox_strategies_NetworkFirst({ \"cacheName\":\"cross-origin\",\"networkTimeoutSeconds\":10, plugins: [new workbox_expiration_ExpirationPlugin({ maxEntries: 32, maxAgeSeconds: 3600 })] }), 'GET');\n\n\n\n\n"],"names":["importScripts","self","skipWaiting","workbox_strategies_NetworkFirst","plugins","cacheWillUpdate","async","request","response","event","state","type","Response","body","status","statusText","headers","workbox_strategies_CacheFirst","workbox_expiration_ExpirationPlugin","maxEntries","maxAgeSeconds","workbox_strategies_StaleWhileRevalidate","workbox_range_requests_RangeRequestsPlugin","url","origin","pathname","startsWith"],"mappings":"0yBAqBAA,cACE,mCASFC,KAAKC,kDAU+B,CAClC,KACS,iEACK,yBAEd,KACS,+DACK,yBAEd,KACS,4DACK,yBAEd,KACS,gEACK,yBAEd,KACS,4DACK,yBAEd,KACS,gEACK,yBAEd,KACS,4DACK,yBAEd,KACS,gEACK,yBAEd,KACS,4DACK,yBAEd,KACS,gEACK,yBAEd,KACS,4DACK,yBAEd,KACS,gEACK,yBAEd,KACS,kEACK,yBAEd,KACS,sEACK,yBAEd,KACS,6DACK,yBAEd,KACS,iEACK,yBAEd,KACS,mEACK,yBAEd,KACS,uEACK,yBAEd,KACS,qEACK,yBAEd,KACS,yEACK,yBAEd,KACS,oEACK,yBAEd,KACS,wEACK,yBAEd,KACS,gEACK,yBAEd,KACS,oEACK,yBAEd,KACS,yEACK,yBAEd,KACS,6EACK,yBAEd,KACS,gEACK,yBAEd,KACS,oEACK,yBAEd,KACS,yEACK,yBAEd,KACS,6EACK,yBAEd,KACS,mEACK,yBAEd,KACS,uEACK,yBAEd,KACS,qEACK,yBAEd,KACS,yEACK,yBAEd,KACS,sEACK,yBAEd,KACS,0EACK,yBAEd,KACS,0EACK,yBAEd,KACS,8EACK,yBAEd,KACS,gEACK,yBAEd,KACS,oEACK,yBAEd,KACS,yEACK,yBAEd,KACS,6EACK,yBAEd,KACS,8EACK,yBAEd,KACS,gEACK,yBAEd,KACS,oEACK,yBAEd,KACS,sDACK,yBAEd,KACS,0DACK,yBAEd,KACS,uCACK,oCAEd,KACS,uCACK,oCAEd,KACS,gDACK,oCAEd,KACS,gDACK,oCAEd,KACS,qDACK,oCAEd,KACS,iCACK,oCAEd,KACS,8BACK,oCAEd,KACS,8BACK,oCAEd,KACS,wBACK,oCAEd,KACS,qBACK,oCAEd,KACS,2BACK,oCAEd,KACS,4BACK,oCAEd,KACS,2BACK,oCAEd,KACS,2BACK,oCAEd,KACS,8BACK,oCAEd,KACS,6BACK,oCAEd,KACS,6BACK,oCAEd,KACS,0BACK,oCAEd,KACS,uBACK,qCAEb,6BAC8B,+CAMH,IAAK,IAAIC,eAAgC,WAAc,YAAaC,QAAS,CAAC,CAAEC,gBAAiBC,OAAQC,QAAAA,EAASC,SAAAA,EAAUC,MAAAA,EAAOC,MAAAA,KAAiBF,GAA8B,mBAAlBA,EAASG,KAAoC,IAAIC,SAASJ,EAASK,KAAM,CAACC,OAAQ,IAAKC,WAAY,KAAMC,QAASR,EAASQ,UAAoBR,MAAmB,uBAClU,0CAA2C,IAAIS,aAA8B,WAAc,wBAAyBb,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,EAAGC,cAAe,aAAiB,uBACvN,6CAA8C,IAAIC,uBAAwC,WAAc,2BAA4BjB,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,EAAGC,cAAe,YAAe,uBACrO,8CAA+C,IAAIC,uBAAwC,WAAc,qBAAsBjB,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,EAAGC,cAAe,YAAe,uBAChO,wCAAyC,IAAIC,uBAAwC,WAAc,sBAAuBjB,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,GAAIC,cAAe,WAAc,uBAC3N,2BAA4B,IAAIC,uBAAwC,WAAc,aAAcjB,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,GAAIC,cAAe,WAAc,uBACrM,sBAAuB,IAAIH,aAA8B,WAAc,sBAAuBb,QAAS,CAAC,IAAIkB,sBAA8C,IAAIJ,mBAAoC,CAAEC,WAAY,GAAIC,cAAe,WAAc,uBACjP,cAAe,IAAIH,aAA8B,WAAc,sBAAuBb,QAAS,CAAC,IAAIkB,sBAA8C,IAAIJ,mBAAoC,CAAEC,WAAY,GAAIC,cAAe,WAAc,uBACzO,aAAc,IAAIC,uBAAwC,WAAc,mBAAoBjB,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,GAAIC,cAAe,WAAc,uBAC7L,mBAAoB,IAAIC,uBAAwC,WAAc,sBAAuBjB,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,GAAIC,cAAe,WAAc,uBACtM,gCAAiC,IAAIC,uBAAwC,WAAc,YAAajB,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,GAAIC,cAAe,WAAc,uBACzM,uBAAwB,IAAIjB,eAAgC,WAAc,qBAAsBC,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,GAAIC,cAAe,WAAc,wBACjM,EAAEG,IAAAA,WACLtB,KAAKuB,SAAWD,EAAIC,QACtB,OAAO,QACpBC,EAAWF,EAAIE,gBAIjBA,EAASC,WAAW,iBACpBD,EAASC,WAAW,WAEvB,IAAIvB,eAAgC,WAAc,6BAA+B,GAAIC,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,GAAIC,cAAe,WAAc,wBAC/J,EAAEG,IAAAA,WACLtB,KAAKuB,SAAWD,EAAIC,QACtB,OAAO,SACTD,EAAIE,SACRC,WAAW,WAEvB,IAAIvB,eAAgC,WAAc,+BAAiC,GAAIC,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,GAAIC,cAAe,WAAc,wBACjK,EAAEG,IAAAA,OACLtB,KAAKuB,SAAWD,EAAIC,SAExC,IAAIrB,eAAgC,WAAc,qCAAuC,GAAIC,QAAS,CAAC,IAAIc,mBAAoC,CAAEC,WAAY,GAAIC,cAAe,UAAa"} \ No newline at end of file diff --git a/packages/www/public/worker-pM2qo7aUQ48uy8XFEvNYI.js b/packages/www/public/worker-YnmDot-UvfklgptzLSInt.js similarity index 100% rename from packages/www/public/worker-pM2qo7aUQ48uy8XFEvNYI.js rename to packages/www/public/worker-YnmDot-UvfklgptzLSInt.js diff --git a/yarn.lock b/yarn.lock index f28a893bd..12bdc8628 100644 --- a/yarn.lock +++ b/yarn.lock @@ -30,7 +30,7 @@ resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.15.0.tgz#2dbaf8b85334796cafbb0f5793a90a2fc010b176" integrity sha512-0NqAC1IJE0S0+lL1SWFMxMkz1pKCNCjI4tr2Zx4LJSXxCLAdr6KyArnY+sno5m3yH9g737ygOyPABDsnXkpxiA== -"@babel/core@^7.1.0", "@babel/core@^7.11.1", "@babel/core@^7.15.0", "@babel/core@^7.15.5", "@babel/core@^7.7.2", "@babel/core@^7.7.5": +"@babel/core@^7.1.0", "@babel/core@^7.11.1", "@babel/core@^7.15.5", "@babel/core@^7.7.2", "@babel/core@^7.7.5": version "7.15.5" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.15.5.tgz#f8ed9ace730722544609f90c9bb49162dc3bf5b9" integrity sha512-pYgXxiwAgQpgM1bNkZsDEq85f0ggXMA5L7c+o3tskGMh2BunCI9QUwB9Z4jpvXUOuMdyGKiGKQiRe11VS6Jzvg== @@ -451,7 +451,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-syntax-import-meta@^7.10.4", "@babel/plugin-syntax-import-meta@^7.8.3": +"@babel/plugin-syntax-import-meta@^7.8.3": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== @@ -465,7 +465,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-jsx@7.14.5", "@babel/plugin-syntax-jsx@^7.14.5": +"@babel/plugin-syntax-jsx@7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.14.5.tgz#000e2e25d8673cce49300517a3eda44c263e4201" integrity sha512-ohuFIsOMXJnbOMRfX7/w7LocdR6R7whhuRD4ax8IipLcLPlZGJKkBxgHp++U4N/vKyU16/YDQr2f5seajD3jIw== @@ -528,7 +528,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-syntax-typescript@^7.14.5", "@babel/plugin-syntax-typescript@^7.7.2": +"@babel/plugin-syntax-typescript@^7.7.2": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.14.5.tgz#b82c6ce471b165b5ce420cf92914d6fb46225716" integrity sha512-u6OXzDaIXjEstBRRoBCQ/uKQKlbuaeE5in0RvWdA4pN6AhqxTIwUsnHPU1CFZA/amYObMsuWhYfRl3Ch90HD0Q== @@ -718,39 +718,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-react-display-name@^7.14.5": - version "7.15.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.15.1.tgz#6aaac6099f1fcf6589d35ae6be1b6e10c8c602b9" - integrity sha512-yQZ/i/pUCJAHI/LbtZr413S3VT26qNrEm0M5RRxQJA947/YNYwbZbBaXGDrq6CG5QsZycI1VIP6d7pQaBfP+8Q== - dependencies: - "@babel/helper-plugin-utils" "^7.14.5" - -"@babel/plugin-transform-react-jsx-development@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.14.5.tgz#1a6c73e2f7ed2c42eebc3d2ad60b0c7494fcb9af" - integrity sha512-rdwG/9jC6QybWxVe2UVOa7q6cnTpw8JRRHOxntG/h6g/guAOe6AhtQHJuJh5FwmnXIT1bdm5vC2/5huV8ZOorQ== - dependencies: - "@babel/plugin-transform-react-jsx" "^7.14.5" - -"@babel/plugin-transform-react-jsx@^7.14.5": - version "7.14.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.14.9.tgz#3314b2163033abac5200a869c4de242cd50a914c" - integrity sha512-30PeETvS+AeD1f58i1OVyoDlVYQhap/K20ZrMjLmmzmC2AYR/G43D4sdJAaDAqCD3MYpSWbmrz3kES158QSLjw== - dependencies: - "@babel/helper-annotate-as-pure" "^7.14.5" - "@babel/helper-module-imports" "^7.14.5" - "@babel/helper-plugin-utils" "^7.14.5" - "@babel/plugin-syntax-jsx" "^7.14.5" - "@babel/types" "^7.14.9" - -"@babel/plugin-transform-react-pure-annotations@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.14.5.tgz#18de612b84021e3a9802cbc212c9d9f46d0d11fc" - integrity sha512-3X4HpBJimNxW4rhUy/SONPyNQHp5YRr0HhJdT2OH1BRp0of7u3Dkirc7x9FRJMKMqTBI079VZ1hzv7Ouuz///g== - dependencies: - "@babel/helper-annotate-as-pure" "^7.14.5" - "@babel/helper-plugin-utils" "^7.14.5" - "@babel/plugin-transform-regenerator@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.14.5.tgz#9676fd5707ed28f522727c5b3c0aa8544440b04f" @@ -801,15 +768,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-typescript@^7.15.0": - version "7.15.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.15.4.tgz#db7a062dcf8be5fc096bc0eeb40a13fbfa1fa251" - integrity sha512-sM1/FEjwYjXvMwu1PJStH11kJ154zd/lpY56NQJ5qH2D0mabMv1CAy/kdvS9RP4Xgfj9fBBA3JiSLdDHgXdzOA== - dependencies: - "@babel/helper-create-class-features-plugin" "^7.15.4" - "@babel/helper-plugin-utils" "^7.14.5" - "@babel/plugin-syntax-typescript" "^7.14.5" - "@babel/plugin-transform-unicode-escapes@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.14.5.tgz#9d4bd2a681e3c5d7acf4f57fa9e51175d91d0c6b" @@ -825,7 +783,7 @@ "@babel/helper-create-regexp-features-plugin" "^7.14.5" "@babel/helper-plugin-utils" "^7.14.5" -"@babel/preset-env@^7.11.0", "@babel/preset-env@^7.15.0", "@babel/preset-env@^7.15.4": +"@babel/preset-env@^7.11.0", "@babel/preset-env@^7.15.4": version "7.15.6" resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.15.6.tgz#0f3898db9d63d320f21b17380d8462779de57659" integrity sha512-L+6jcGn7EWu7zqaO2uoTDjjMBW+88FXzV8KvrBl2z6MtRNxlsmUNRlZPaNNPUTgqhyC5DHNFk/2Jmra+ublZWw== @@ -915,27 +873,6 @@ "@babel/types" "^7.4.4" esutils "^2.0.2" -"@babel/preset-react@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.14.5.tgz#0fbb769513f899c2c56f3a882fa79673c2d4ab3c" - integrity sha512-XFxBkjyObLvBaAvkx1Ie95Iaq4S/GUEIrejyrntQ/VCMKUYvKLoyKxOBzJ2kjA3b6rC9/KL6KXfDC2GqvLiNqQ== - dependencies: - "@babel/helper-plugin-utils" "^7.14.5" - "@babel/helper-validator-option" "^7.14.5" - "@babel/plugin-transform-react-display-name" "^7.14.5" - "@babel/plugin-transform-react-jsx" "^7.14.5" - "@babel/plugin-transform-react-jsx-development" "^7.14.5" - "@babel/plugin-transform-react-pure-annotations" "^7.14.5" - -"@babel/preset-typescript@^7.15.0": - version "7.15.0" - resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.15.0.tgz#e8fca638a1a0f64f14e1119f7fe4500277840945" - integrity sha512-lt0Y/8V3y06Wq/8H/u0WakrqciZ7Fz7mwPDHWUJAXlABL5hiUG42BNlRXiELNjeWjO5rWmnNKlx+yzJvxezHow== - dependencies: - "@babel/helper-plugin-utils" "^7.14.5" - "@babel/helper-validator-option" "^7.14.5" - "@babel/plugin-transform-typescript" "^7.15.0" - "@babel/runtime-corejs3@^7.10.2": version "7.15.4" resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.15.4.tgz#403139af262b9a6e8f9ba04a6fdcebf8de692bf1" @@ -990,7 +927,7 @@ "@babel/helper-validator-identifier" "^7.14.9" to-fast-properties "^2.0.0" -"@babel/types@^7.0.0", "@babel/types@^7.14.9", "@babel/types@^7.15.4", "@babel/types@^7.15.6", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4": +"@babel/types@^7.0.0", "@babel/types@^7.15.4", "@babel/types@^7.15.6", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4": version "7.15.6" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.15.6.tgz#99abdc48218b2881c058dd0a7ab05b99c9be758f" integrity sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig== @@ -2795,7 +2732,7 @@ resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-11.1.2.tgz#e15824405df137129918205e43cb5e9339589745" integrity sha512-e/pIKVdB+tGQYa1cW3sAeHm8gzEri/HYLZHT4WZojrUxgWXqx8pk7S7Xs47uBcFTqBDRvK3EcQpPLf3XdVsDdg== -"@node-rs/helper@1.2.1": +"@node-rs/helper@1.2.1", "@node-rs/helper@^1.0.0": version "1.2.1" resolved "https://registry.yarnpkg.com/@node-rs/helper/-/helper-1.2.1.tgz#e079b05f21ff4329d82c4e1f71c0290e4ecdc70c" integrity sha512-R5wEmm8nbuQU0YGGmYVjEc0OHtYsuXdpRG+Ut/3wZ9XAvQWyThN08bTh2cBJgoZxHQUPtvRfeQuxcAgLuiBISg== @@ -3640,6 +3577,94 @@ ejs "^2.6.1" magic-string "^0.25.0" +"@swc-node/core@^1.7.0": + version "1.7.0" + resolved "https://registry.yarnpkg.com/@swc-node/core/-/core-1.7.0.tgz#a891a91d7ce2544326a63ba5ce5fa1fc81a26bca" + integrity sha512-8uwH8pg1Dsvc/zMIQ77eMfVB1XqL7KE6svT9prBB+puAG353RONIezkkeLbcVGibSJqounGObtltY+lUNNS/Jw== + dependencies: + "@swc/core" "^1.2.97" + +"@swc-node/jest@^1.3.3": + version "1.3.3" + resolved "https://registry.yarnpkg.com/@swc-node/jest/-/jest-1.3.3.tgz#aa650f910f2466b0b25ddb70a01a6069b362c479" + integrity sha512-ZyurTbZbQ+Pw/vlaodKZIgh6NoSym0f/j+kJ2KwQx+pn2dJPnk9yXmM8qWI0Zgg7YN+y7ZJDYsLIC4QyFuMUKA== + dependencies: + "@swc-node/core" "^1.7.0" + +"@swc/core-android-arm64@1.2.102": + version "1.2.102" + resolved "https://registry.yarnpkg.com/@swc/core-android-arm64/-/core-android-arm64-1.2.102.tgz#972a47217053cc759f0bc0308a508279de1247ba" + integrity sha512-03wXXSyzm3I/7E3HihYRwvR/v5Xq8Z6j+oXYAouNoQo0/ODTMH9ATFv30csrK3mRtVEcJUk8VpVvfyh1N4hqkw== + +"@swc/core-darwin-arm64@1.2.102": + version "1.2.102" + resolved "https://registry.yarnpkg.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.2.102.tgz#1795a4080d1060ca8ac52f218cc4c64b73a7ef06" + integrity sha512-DlC9+qt6gq6gGbmr9MCuMZmdHD/RyfZlf7YfkbQOlRlxaanUWz0lq0TZDWGI6MIofVOgaTle0FImPXby6dI/RA== + +"@swc/core-darwin-x64@1.2.102": + version "1.2.102" + resolved "https://registry.yarnpkg.com/@swc/core-darwin-x64/-/core-darwin-x64-1.2.102.tgz#f48ab5b8b56798d36acd38838c62eb0be4af3c4b" + integrity sha512-JQhxbDnb8RYZ4m7B1f5J05HlUfmjiniQDnpSrvo5rDhlAZWXxuAKjEJQw8Qas/vqLdmgqrZ9POZmFaMBwIgKwg== + +"@swc/core-linux-arm-gnueabihf@1.2.102": + version "1.2.102" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.2.102.tgz#a617cea4f5a2ff1aac9f668da12dd7a6a0a6700d" + integrity sha512-XWr6Cm3lBOcSGjTjPDLWHBh+lOSkKFMS2gCpLmIC3StAvtcN0oQY59T4cqDfe7VcBgJcdeo/H4dEnrXvnJyCaw== + +"@swc/core-linux-arm64-gnu@1.2.102": + version "1.2.102" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.2.102.tgz#0abccb26af51783be141dea8b7af0baa0dcc55b4" + integrity sha512-HVtLVBpyqpSIkXmonW75nDzpdrRtZXwEYLYG+y6Sw/8AQFQ9WntwnR+xoJ8q9o3Bby2DGpWetjR0V8rr1m+lmg== + +"@swc/core-linux-arm64-musl@1.2.102": + version "1.2.102" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.2.102.tgz#ab079233626a355995b8e25e3666a759edffe1c5" + integrity sha512-XDgnkd90alnkBB+JcXaYIG5lXrv/ppLb9Z5fZ4BIsi8uNsVZgo+H/eAj/BTcYff4mpyGdCdqd7P1lC/WRR8uEg== + +"@swc/core-linux-x64-gnu@1.2.102": + version "1.2.102" + resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.2.102.tgz#6336698ffae22a491e782cb9ab7478130ceb2240" + integrity sha512-O3XZpJ0GMghNcO5uxfhAvDTJ4FgDOcq8DBPpa4f4Mz7hU6fcGY4Koy4rUeff4BuOKlIzI/O+REszxk7Fiivh2w== + +"@swc/core-linux-x64-musl@1.2.102": + version "1.2.102" + resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.2.102.tgz#b9f557dd53647318ac6dd832f174efe8e7386e1a" + integrity sha512-bGqatsVX3yc56YoOLGcHMUG23I2PKMe638vCBfuKVWN6UKcGJGMzqZV/efyPiHJDFcWzN/1jYW3GccGQq97G3Q== + +"@swc/core-win32-arm64-msvc@1.2.102": + version "1.2.102" + resolved "https://registry.yarnpkg.com/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.2.102.tgz#e7c7958f0c2adb1e83a375e0d8d6af673e53150d" + integrity sha512-A15tUAEDS72a2ixNQl3mKCgMD6RVzntMdWl9pDG71/xRd/U/NVIKx0x12FT5fUQH8PTJ7cgcp2Y0VqKeeEuF5w== + +"@swc/core-win32-ia32-msvc@1.2.102": + version "1.2.102" + resolved "https://registry.yarnpkg.com/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.2.102.tgz#f14c93ac0c8b2ec03a8d5438b86551d962da4b0c" + integrity sha512-uePvr9+C1Z0KVElU/Y6ZyXw7vqzRIxl+KSYfn9mCFpgYy/1BRSmxpxqTzR0rkfClXMBi2W9a0JosmWbUvRC8ZQ== + +"@swc/core-win32-x64-msvc@1.2.102": + version "1.2.102" + resolved "https://registry.yarnpkg.com/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.2.102.tgz#e3cbbb58d99174b7b7d9c1c58467491d31dca269" + integrity sha512-VsUducGCqKm0ucFrZiKQZ95Y4EcCSivg/zYBdTXM20eu/7mG9ynBXHCoKW0B+69D6J3IZsrc9Hvcu7gKkT9QfQ== + +"@swc/core@^1.2.97": + version "1.2.102" + resolved "https://registry.yarnpkg.com/@swc/core/-/core-1.2.102.tgz#c71fd22941fa9b7b3c52c778d494ab57beef2c17" + integrity sha512-KQEsDWb8HTSQ/I8N6qVHNSl6al/qcXxsRAjpEP8ZPnnpgThbnP9MeKpT2KeU+Qd4VD0qXM72dMm2QOPzdSlxHQ== + dependencies: + "@node-rs/helper" "^1.0.0" + optionalDependencies: + "@swc/core-android-arm64" "1.2.102" + "@swc/core-darwin-arm64" "1.2.102" + "@swc/core-darwin-x64" "1.2.102" + "@swc/core-linux-arm-gnueabihf" "1.2.102" + "@swc/core-linux-arm64-gnu" "1.2.102" + "@swc/core-linux-arm64-musl" "1.2.102" + "@swc/core-linux-x64-gnu" "1.2.102" + "@swc/core-linux-x64-musl" "1.2.102" + "@swc/core-win32-arm64-msvc" "1.2.102" + "@swc/core-win32-ia32-msvc" "1.2.102" + "@swc/core-win32-x64-msvc" "1.2.102" + "@testing-library/dom@^8.0.0": version "8.5.0" resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-8.5.0.tgz#56e31331015f943a68c6ec27e259fdf16c69ab7d" @@ -4537,7 +4562,7 @@ axobject-query@^2.2.0: resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-2.2.0.tgz#943d47e10c0b704aa42275e20edf3722648989be" integrity sha512-Td525n+iPOOyUQIeBfcASuG6uJsDOITl7Mds5gFyerkWiX7qhUTdYUBlSgNMyVqtSJqwpt1kXGLdUt6SykLMRA== -babel-jest@^27.1.0, babel-jest@^27.2.0: +babel-jest@^27.2.0: version "27.2.0" resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-27.2.0.tgz#c0f129a81f1197028aeb4447acbc04564c8bfc52" integrity sha512-bS2p+KGGVVmWXBa8+i6SO/xzpiz2Q/2LnqLbQknPKefWXVZ67YIjA4iXup/jMOEZplga9PpWn+wrdb3UdDwRaA== @@ -4828,13 +4853,6 @@ browserslist@^4.16.6, browserslist@^4.17.0: escalade "^3.1.1" node-releases "^1.1.75" -bs-logger@0.x: - version "0.2.6" - resolved "https://registry.yarnpkg.com/bs-logger/-/bs-logger-0.2.6.tgz#eb7d365307a72cf974cc6cda76b68354ad336bd8" - integrity sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog== - dependencies: - fast-json-stable-stringify "2.x" - bser@2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05" @@ -6864,7 +6882,7 @@ fast-glob@^3.0.3, fast-glob@^3.1.1: merge2 "^1.3.0" micromatch "^4.0.4" -fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0: +fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== @@ -8734,7 +8752,7 @@ jest-snapshot@^27.2.0: pretty-format "^27.2.0" semver "^7.3.2" -jest-util@^27.0.0, jest-util@^27.2.0: +jest-util@^27.2.0: version "27.2.0" resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-27.2.0.tgz#bfccb85cfafae752257319e825a5b8d4ada470dc" integrity sha512-T5ZJCNeFpqcLBpx+Hl9r9KoxBCUqeWlJ1Htli+vryigZVJ1vuLB9j35grEBASp4R13KFkV7jM52bBGnArpJN6A== @@ -8922,13 +8940,6 @@ json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus= -json5@2.x, json5@^2.1.2: - version "2.2.0" - resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.0.tgz#2dfefe720c6ba525d9ebd909950f0515316c89a3" - integrity sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA== - dependencies: - minimist "^1.2.5" - json5@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.1.tgz#779fb0018604fa854eacbf6252180d83543e3dbe" @@ -8936,6 +8947,13 @@ json5@^1.0.1: dependencies: minimist "^1.2.0" +json5@^2.1.2: + version "2.2.0" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.0.tgz#2dfefe720c6ba525d9ebd909950f0515316c89a3" + integrity sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA== + dependencies: + minimist "^1.2.5" + jsonc-parser@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.0.0.tgz#abdd785701c7e7eaca8a9ec8cf070ca51a745a22" @@ -9351,7 +9369,7 @@ lodash.uniq@^4.5.0: resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= -lodash@4.x, lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.2.1, lodash@^4.7.0: +lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.2.1, lodash@^4.7.0: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -9434,7 +9452,7 @@ make-dir@^3.0.0, make-dir@^3.0.2, make-dir@^3.1.0: dependencies: semver "^6.0.0" -make-error@1.x, make-error@^1.1.1: +make-error@^1.1.1: version "1.3.6" resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== @@ -12001,18 +12019,18 @@ semver@7.0.0: resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== -semver@7.x, semver@^7.1.1, semver@^7.1.3, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5: +semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.2.0, semver@^6.3.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" + integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== + +semver@^7.1.1, semver@^7.1.3, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5: version "7.3.5" resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7" integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ== dependencies: lru-cache "^6.0.0" -semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.2.0, semver@^6.3.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" - integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== - serialize-javascript@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-4.0.0.tgz#b525e1238489a5ecfc42afacc3fe99e666f4b1aa" @@ -13059,20 +13077,6 @@ trim-newlines@^3.0.0: resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144" integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw== -ts-jest@^27.0.5: - version "27.0.5" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-27.0.5.tgz#0b0604e2271167ec43c12a69770f0bb65ad1b750" - integrity sha512-lIJApzfTaSSbtlksfFNHkWOzLJuuSm4faFAfo5kvzOiRAuoN4/eKxVJ2zEAho8aecE04qX6K1pAzfH5QHL1/8w== - dependencies: - bs-logger "0.x" - fast-json-stable-stringify "2.x" - jest-util "^27.0.0" - json5 "2.x" - lodash "4.x" - make-error "1.x" - semver "7.x" - yargs-parser "20.x" - ts-node@^10.2.1: version "10.2.1" resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.2.1.tgz#4cc93bea0a7aba2179497e65bb08ddfc198b3ab5" @@ -14058,11 +14062,6 @@ yargs-parser@20.2.4: resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54" integrity sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA== -yargs-parser@20.x, yargs-parser@^20.2.2, yargs-parser@^20.2.3: - version "20.2.9" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" - integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== - yargs-parser@^15.0.1: version "15.0.3" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-15.0.3.tgz#316e263d5febe8b38eef61ac092b33dfcc9b1115" @@ -14071,6 +14070,11 @@ yargs-parser@^15.0.1: camelcase "^5.0.0" decamelize "^1.2.0" +yargs-parser@^20.2.2, yargs-parser@^20.2.3: + version "20.2.9" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" + integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== + yargs@^14.2.2: version "14.2.3" resolved "https://registry.yarnpkg.com/yargs/-/yargs-14.2.3.tgz#1a1c3edced1afb2a2fea33604bc6d1d8d688a414"