1 line
No EOL
16 KiB
Text
1 line
No EOL
16 KiB
Text
{"version":3,"file":"sw.js","sources":["../../../../../../../private/var/folders/g7/7xq6v0ls5lq_ks1yh3lbgrr00000gn/T/00aa811227f07e8e5e6ff000bd59d298/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-RLYRNpR89QQ6VOuUX6fZ3.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/RLYRNpR89QQ6VOuUX6fZ3/_buildManifest.js\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/RLYRNpR89QQ6VOuUX6fZ3/_ssgManifest.js\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/288.0f8b5ac46fdecffd2cc4.js\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/288.0f8b5ac46fdecffd2cc4.js.map\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/735-ba27aca2225e6314c5f3.js\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/735-ba27aca2225e6314c5f3.js.map\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/framework-6904c37ecf5b200e4e2e.js\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/framework-6904c37ecf5b200e4e2e.js.map\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/main-1fd13886f63948e5452c.js\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/main-1fd13886f63948e5452c.js.map\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/_app-1b1c09f4b9b07d988fc8.js\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/_app-1b1c09f4b9b07d988fc8.js.map\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/_error-1cd1e11cd5e9c8211770.js\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/_error-1cd1e11cd5e9c8211770.js.map\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/index-bf5703ccee8e7430ed2a.js\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/index-bf5703ccee8e7430ed2a.js.map\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/r/%5Bid%5D-22c98f064aaf55fccee2.js\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/r/%5Bid%5D-22c98f064aaf55fccee2.js.map\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/shhh-27b1502b04f60e3f1c5d.js\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/shhh-27b1502b04f60e3f1c5d.js.map\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/signout-bf0779b7caa9ea2189b2.js\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/signout-bf0779b7caa9ea2189b2.js.map\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/sponsorware-baeafb7f62f75b8230cd.js\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/sponsorware-baeafb7f62f75b8230cd.js.map\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/u/%5Bid%5D-3e3c5cc071f0a68d97b4.js\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/pages/u/%5Bid%5D-3e3c5cc071f0a68d97b4.js.map\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/polyfills-7510a95ef9a46fd369c3.js\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/polyfills-7510a95ef9a46fd369c3.js.map\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/webpack-4c5303772df9e100b4ed.js\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/chunks/webpack-4c5303772df9e100b4ed.js.map\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/css/2946e48fdf8b8c44ed3f.css\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\n },\n {\n \"url\": \"/_next/static/css/2946e48fdf8b8c44ed3f.css.map\",\n \"revision\": \"RLYRNpR89QQ6VOuUX6fZ3\"\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\": \"91129377e4594b2e8b0823f3ad6e0595\"\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,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,yEACK,yBAEd,KACS,6EACK,yBAEd,KACS,mEACK,yBAEd,KACS,uEACK,yBAEd,KACS,sEACK,yBAEd,KACS,0EACK,yBAEd,KACS,0EACK,yBAEd,KACS,8EACK,yBAEd,KACS,yEACK,yBAEd,KACS,6EACK,yBAEd,KACS,kEACK,yBAEd,KACS,sEACK,yBAEd,KACS,gEACK,yBAEd,KACS,oEACK,yBAEd,KACS,sDACK,yBAEd,KACS,0DACK,yBAEd,KAC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