all repos — caroster @ b9ae04813d82e900d72ed5db3c7034a4c9748f7c

[Octree] Group carpool to your event https://caroster.io

frontend/public/sw.js (view raw)

1if(!self.define){let e,s={};const a=(a,c)=>(a=new URL(a+".js",c).href,s[a]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=a,e.onload=s,document.head.appendChild(e)}else e=a,importScripts(a),s()})).then((()=>{let e=s[a];if(!e)throw new Error(`Module ${a} didn’t register its module`);return e})));self.define=(c,n)=>{const i=e||("document"in self?document.currentScript.src:"")||location.href;if(s[i])return;let t={};const r=e=>a(e,i),d={module:{uri:i},exports:t,require:r};s[i]=Promise.all(c.map((e=>d[e]||r(e)))).then((e=>(n(...e),t)))}}define(["./workbox-6a1bf588"],(function(e){"use strict";importScripts(),self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"/_next/static/cfEH6YIwlvyU1IImNwl1l/_buildManifest.js",revision:"6fa171024771e212879c2489681cf418"},{url:"/_next/static/cfEH6YIwlvyU1IImNwl1l/_ssgManifest.js",revision:"b6652df95db52feb4daf4eca35380933"},{url:"/_next/static/chunks/132-04475531b579e7db.js",revision:"04475531b579e7db"},{url:"/_next/static/chunks/227-766d91038f66ee29.js",revision:"766d91038f66ee29"},{url:"/_next/static/chunks/268-39f4786ca5173ea1.js",revision:"39f4786ca5173ea1"},{url:"/_next/static/chunks/273-3c27b128f3939ed2.js",revision:"3c27b128f3939ed2"},{url:"/_next/static/chunks/32-b16ecf0f5ea8ad4c.js",revision:"b16ecf0f5ea8ad4c"},{url:"/_next/static/chunks/328-48438dd51354c975.js",revision:"48438dd51354c975"},{url:"/_next/static/chunks/349-0e9b854e1c76fab8.js",revision:"0e9b854e1c76fab8"},{url:"/_next/static/chunks/379-11edba2890d90957.js",revision:"11edba2890d90957"},{url:"/_next/static/chunks/386-f05939205549bd16.js",revision:"f05939205549bd16"},{url:"/_next/static/chunks/390-767d840ec1fb1b30.js",revision:"767d840ec1fb1b30"},{url:"/_next/static/chunks/399-ea3307c59c556c64.js",revision:"ea3307c59c556c64"},{url:"/_next/static/chunks/550-ec7b0a6d5c015689.js",revision:"ec7b0a6d5c015689"},{url:"/_next/static/chunks/588-c2a747dc2545deea.js",revision:"c2a747dc2545deea"},{url:"/_next/static/chunks/664-dacaf5b7d709663d.js",revision:"dacaf5b7d709663d"},{url:"/_next/static/chunks/72-de04d10ae8024661.js",revision:"de04d10ae8024661"},{url:"/_next/static/chunks/808-69b1276a1ab84777.js",revision:"69b1276a1ab84777"},{url:"/_next/static/chunks/901-4b101a6b98074166.js",revision:"4b101a6b98074166"},{url:"/_next/static/chunks/931-87c2232539023809.js",revision:"87c2232539023809"},{url:"/_next/static/chunks/framework-99ccfeabb5d15f9f.js",revision:"99ccfeabb5d15f9f"},{url:"/_next/static/chunks/main-6e3c3f344b905a74.js",revision:"6e3c3f344b905a74"},{url:"/_next/static/chunks/pages/_app-c59ca424b3b53d2b.js",revision:"c59ca424b3b53d2b"},{url:"/_next/static/chunks/pages/_error-89165fe8f4f9db4a.js",revision:"89165fe8f4f9db4a"},{url:"/_next/static/chunks/pages/auth/confirm-d27df69a620b2070.js",revision:"d27df69a620b2070"},{url:"/_next/static/chunks/pages/auth/confirm/google-4ed7e626d57aa44c.js",revision:"4ed7e626d57aa44c"},{url:"/_next/static/chunks/pages/auth/login-40b55565dd369fa8.js",revision:"40b55565dd369fa8"},{url:"/_next/static/chunks/pages/auth/lost-password-66d60311340151a4.js",revision:"66d60311340151a4"},{url:"/_next/static/chunks/pages/auth/register-b5ac99acc2767c08.js",revision:"b5ac99acc2767c08"},{url:"/_next/static/chunks/pages/auth/register/mail-a74b238dd19d0046.js",revision:"a74b238dd19d0046"},{url:"/_next/static/chunks/pages/auth/reset-0b0cf51ca39851b7.js",revision:"0b0cf51ca39851b7"},{url:"/_next/static/chunks/pages/dashboard-ef3099dab114590c.js",revision:"ef3099dab114590c"},{url:"/_next/static/chunks/pages/e/%5Buuid%5D-d7c18940930c744d.js",revision:"d7c18940930c744d"},{url:"/_next/static/chunks/pages/e/%5Buuid%5D/details-cf76c28aada5b89e.js",revision:"cf76c28aada5b89e"},{url:"/_next/static/chunks/pages/e/%5Buuid%5D/waitingList-beb5927fb12c00a9.js",revision:"beb5927fb12c00a9"},{url:"/_next/static/chunks/pages/index-5c3be61d912ee27c.js",revision:"5c3be61d912ee27c"},{url:"/_next/static/chunks/pages/profile-4149a13f1dc23b88.js",revision:"4149a13f1dc23b88"},{url:"/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js",revision:"837c0df77fd5009c9e46d446188ecfd0"},{url:"/_next/static/chunks/webpack-64cd2164275196d2.js",revision:"64cd2164275196d2"},{url:"/assets/Caroster_Octree_Social.jpg",revision:"563fc10a4ec83e735943c5f67d417a6e"},{url:"/assets/Caroster_beta.png",revision:"86c6259620aee306a019b2a611eaf21d"},{url:"/assets/Logo_in_beta.svg",revision:"cdde8d69adbfdbaf7c903e155419b12c"},{url:"/assets/android-chrome-192x192.png",revision:"b288769d936ad5f9a87944e027d0096c"},{url:"/assets/android-chrome-512x512.png",revision:"c789c009674fc4a2087a8b71c24a12b7"},{url:"/assets/apple-touch-icon.png",revision:"573a4bc22886d3ef3f6c3aa0eab64d44"},{url:"/assets/car.png",revision:"0c95a91895d437b7ea06db071aa8f68f"},{url:"/assets/favicon-16x16.png",revision:"9f98c22a36ec0001995797d29a7583b1"},{url:"/assets/favicon-32x32.png",revision:"562ff70a6694a29302644d4f85b2e920"},{url:"/assets/favicon.ico",revision:"45004f0a61722a526ca688bddc4955c4"},{url:"/assets/google-icon.svg",revision:"81ad048ed858673aaca6cc2227076b8a"},{url:"/assets/icon.png",revision:"ac122f40fd4c9fd7f1831b0dd406c950"},{url:"/assets/logo.png",revision:"d685d6b49c3aedcf4819d5cbbc873d60"},{url:"/assets/logo.svg",revision:"ac6bdc2dc62feb11a5bc8b0ad3aca84e"},{url:"/assets/site.webmanifest",revision:"053100cb84a50d2ae7f5492f7dd7f25e"},{url:"/favicon.ico",revision:"8eb6dd187ac1c4e26f8df8062bb42e09"},{url:"/manifest.json",revision:"e76480838d8eb8908456941dcb59275e"}],{ignoreURLParametersMatching:[]}),e.cleanupOutdatedCaches(),e.registerRoute("/",new e.NetworkFirst({cacheName:"start-url",plugins:[{cacheWillUpdate:async({request:e,response:s,event:a,state:c})=>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")}));