2 lines
10 KiB
JavaScript
2 lines
10 KiB
JavaScript
if(!self.define){const e=e=>{"require"!==e&&(e+=".js");let n=Promise.resolve();return s[e]||(n=new Promise((async n=>{if("document"in self){const s=document.createElement("script");s.src=e,document.head.appendChild(s),s.onload=n}else importScripts(e),n()}))),n.then((()=>{if(!s[e])throw new Error(`Module ${e} didn’t register its module`);return s[e]}))},n=(n,s)=>{Promise.all(n.map(e)).then((e=>s(1===e.length?e[0]:e)))},s={require:Promise.resolve(n)};self.define=(n,c,i)=>{s[n]||(s[n]=Promise.resolve().then((()=>{let s={};const a={uri:location.origin+n.slice(1)};return Promise.all(c.map((n=>{switch(n){case"exports":return s;case"module":return a;default:return e(n)}}))).then((e=>{const n=i(...e);return s.default||(s.default=n),s}))})))}}define("./sw.js",["./workbox-7288c796"],(function(e){"use strict";importScripts("worker-OuZnn4PmHBN1Hz3IcI4o3.js"),self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"/_next/server/middleware-manifest.json",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/OuZnn4PmHBN1Hz3IcI4o3/_buildManifest.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/OuZnn4PmHBN1Hz3IcI4o3/_middlewareManifest.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/OuZnn4PmHBN1Hz3IcI4o3/_ssgManifest.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/123.10a9ffe99f74a004.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/123.10a9ffe99f74a004.js.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/176.09629c2dfedc4705.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/176.09629c2dfedc4705.js.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/246.d9bfb6432593e9aa.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/246.d9bfb6432593e9aa.js.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/465.4009659bcb4f9984.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/465.4009659bcb4f9984.js.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/47-f5a69c0e5bb6fa88.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/47-f5a69c0e5bb6fa88.js.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/6a241469.cac57c52802c3de2.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/6a241469.cac57c52802c3de2.js.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/877-aca9b135f3dbdcf5.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/877-aca9b135f3dbdcf5.js.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/framework-e217ca1422866361.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/framework-e217ca1422866361.js.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/main-6e55686fe7c5bf45.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/main-6e55686fe7c5bf45.js.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/_app-4ba6e5ce6b589b12.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/_app-4ba6e5ce6b589b12.js.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/_error-95c3aeb2ad988caa.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/_error-95c3aeb2ad988caa.js.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/index-e8bcf4573823375c.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/index-e8bcf4573823375c.js.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/k-85b39a3c8963b067.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/k-85b39a3c8963b067.js.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/k/%5Bid%5D-78bbbbef5651a77a.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/k/%5Bid%5D-78bbbbef5651a77a.js.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/r-20a3e40d1b6def2b.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/r-20a3e40d1b6def2b.js.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/r/%5Bid%5D-7227e59e86a65dfd.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/r/%5Bid%5D-7227e59e86a65dfd.js.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/shhh-adff4484e61b90f4.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/shhh-adff4484e61b90f4.js.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/shhhmp-70e1e0f1d07e8d29.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/shhhmp-70e1e0f1d07e8d29.js.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/signout-bbc4b75e0ddaefc3.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/signout-bbc4b75e0ddaefc3.js.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/sponsorware-1daf5236c866b33d.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/sponsorware-1daf5236c866b33d.js.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/u-71928bb5278f31ea.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/u-71928bb5278f31ea.js.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/u/%5Bid%5D-50acff981037e198.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/pages/u/%5Bid%5D-50acff981037e198.js.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/polyfills-a40ef1678bae11e696dba45124eadd70.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/webpack-1439bbdad8507bf0.js",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/chunks/webpack-1439bbdad8507bf0.js.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/css/47c3acb9e9bd26db.css",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{url:"/_next/static/css/47c3acb9e9bd26db.css.map",revision:"OuZnn4PmHBN1Hz3IcI4o3"},{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:s,state:c})=>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
|