frontend/public/sw.js (view raw)
1if(!self.define){let e,s={};const c=(c,a)=>(c=new URL(c+".js",a).href,s[c]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=c,e.onload=s,document.head.appendChild(e)}else e=c,importScripts(c),s()}).then(()=>{let e=s[c];if(!e)throw new Error(`Module ${c} didn’t register its module`);return e}));self.define=(a,n)=>{const i=e||("document"in self?document.currentScript.src:"")||location.href;if(s[i])return;let t={};const r=e=>c(e,i),d={module:{uri:i},exports:t,require:r};s[i]=Promise.all(a.map(e=>d[e]||r(e))).then(e=>(n(...e),t))}}define(["./workbox-860c9203"],function(e){"use strict";importScripts(),self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"/_next/static/6RpDAvcchbBIUGcjSvxUy/_buildManifest.js",revision:"cb9edc93ddc56dd0fb67e69e38dd4860"},{url:"/_next/static/6RpDAvcchbBIUGcjSvxUy/_ssgManifest.js",revision:"b6652df95db52feb4daf4eca35380933"},{url:"/_next/static/chunks/1439-3871655637e04949.js",revision:"3871655637e04949"},{url:"/_next/static/chunks/2028-f1e73e6907b6dad6.js",revision:"f1e73e6907b6dad6"},{url:"/_next/static/chunks/2136.b4a70d73c0c3ebf4.js",revision:"b4a70d73c0c3ebf4"},{url:"/_next/static/chunks/2310-18caaacb3f55e08e.js",revision:"18caaacb3f55e08e"},{url:"/_next/static/chunks/2437-c30553b5863dc25b.js",revision:"c30553b5863dc25b"},{url:"/_next/static/chunks/2674-30c7ff5a97ad1ac6.js",revision:"30c7ff5a97ad1ac6"},{url:"/_next/static/chunks/2844-8600871414ad6da4.js",revision:"8600871414ad6da4"},{url:"/_next/static/chunks/2906-6ac892a534f5d598.js",revision:"6ac892a534f5d598"},{url:"/_next/static/chunks/3079-4baa064b809bec31.js",revision:"4baa064b809bec31"},{url:"/_next/static/chunks/3715-48349d5f0f3f6342.js",revision:"48349d5f0f3f6342"},{url:"/_next/static/chunks/4090.af10050740c2f667.js",revision:"af10050740c2f667"},{url:"/_next/static/chunks/4879-735db588217cfa7c.js",revision:"735db588217cfa7c"},{url:"/_next/static/chunks/4924-6682df9459e48430.js",revision:"6682df9459e48430"},{url:"/_next/static/chunks/5000-2e031c493185c5c0.js",revision:"2e031c493185c5c0"},{url:"/_next/static/chunks/5369.fcd0952a3ecab748.js",revision:"fcd0952a3ecab748"},{url:"/_next/static/chunks/5612-f7f86e4d013c17e8.js",revision:"f7f86e4d013c17e8"},{url:"/_next/static/chunks/5928-6fcc38ef49c44c2a.js",revision:"6fcc38ef49c44c2a"},{url:"/_next/static/chunks/5930-90f62f725ca38e99.js",revision:"90f62f725ca38e99"},{url:"/_next/static/chunks/623.d0fa7c009574fa0d.js",revision:"d0fa7c009574fa0d"},{url:"/_next/static/chunks/6875-fab9093c6fcc36c1.js",revision:"fab9093c6fcc36c1"},{url:"/_next/static/chunks/7327-5db4c68661864e44.js",revision:"5db4c68661864e44"},{url:"/_next/static/chunks/7774-7006a67995efce43.js",revision:"7006a67995efce43"},{url:"/_next/static/chunks/7871-345a4991a944c4ce.js",revision:"345a4991a944c4ce"},{url:"/_next/static/chunks/8415-a5d5c182bd76efe7.js",revision:"a5d5c182bd76efe7"},{url:"/_next/static/chunks/9956-ea6450068b0a32c0.js",revision:"ea6450068b0a32c0"},{url:"/_next/static/chunks/c158f0e1.1fce66c229218a66.js",revision:"1fce66c229218a66"},{url:"/_next/static/chunks/cabb2d90-68dc3bcfc1981545.js",revision:"68dc3bcfc1981545"},{url:"/_next/static/chunks/framework-838c6ca2253d4294.js",revision:"838c6ca2253d4294"},{url:"/_next/static/chunks/main-e8c5f8b22ddbe42e.js",revision:"e8c5f8b22ddbe42e"},{url:"/_next/static/chunks/pages/_app-6f37a27dc9300fab.js",revision:"6f37a27dc9300fab"},{url:"/_next/static/chunks/pages/_error-f9eddd233c52a507.js",revision:"f9eddd233c52a507"},{url:"/_next/static/chunks/pages/auth/confirm-aa4a575c7f1ba43b.js",revision:"aa4a575c7f1ba43b"},{url:"/_next/static/chunks/pages/auth/login-33b2ddd7a3419b9c.js",revision:"33b2ddd7a3419b9c"},{url:"/_next/static/chunks/pages/auth/magic-link-a846fc648df3f0b9.js",revision:"a846fc648df3f0b9"},{url:"/_next/static/chunks/pages/dashboard-bf3493bc85dfb305.js",revision:"bf3493bc85dfb305"},{url:"/_next/static/chunks/pages/e/%5Buuid%5D-2678461d114ff231.js",revision:"2678461d114ff231"},{url:"/_next/static/chunks/pages/e/%5Buuid%5D/adminWaitingList-c7dad657fc7066c1.js",revision:"c7dad657fc7066c1"},{url:"/_next/static/chunks/pages/e/%5Buuid%5D/alerts-51214ac9cd72996e.js",revision:"51214ac9cd72996e"},{url:"/_next/static/chunks/pages/e/%5Buuid%5D/assign/%5BpassengerId%5D-836fb9f1077f6f16.js",revision:"836fb9f1077f6f16"},{url:"/_next/static/chunks/pages/e/%5Buuid%5D/details-eb6a0d7c470f968f.js",revision:"eb6a0d7c470f968f"},{url:"/_next/static/chunks/pages/e/%5Buuid%5D/options-f480b247e770e152.js",revision:"f480b247e770e152"},{url:"/_next/static/chunks/pages/e/%5Buuid%5D/prices-d7fa2446bc088b09.js",revision:"d7fa2446bc088b09"},{url:"/_next/static/chunks/pages/e/%5Buuid%5D/waitingList-6fe056c0498cc185.js",revision:"6fe056c0498cc185"},{url:"/_next/static/chunks/pages/index-819bcb5b4514303a.js",revision:"819bcb5b4514303a"},{url:"/_next/static/chunks/pages/new-a8ebfdf6455eb1b9.js",revision:"a8ebfdf6455eb1b9"},{url:"/_next/static/chunks/pages/new/details-4f1d110ed0a223d5.js",revision:"4f1d110ed0a223d5"},{url:"/_next/static/chunks/pages/new/prices-98b0b41515e4468b.js",revision:"98b0b41515e4468b"},{url:"/_next/static/chunks/pages/new/type-242f4df5fa70e6b6.js",revision:"242f4df5fa70e6b6"},{url:"/_next/static/chunks/pages/paymentConfirmation-6a941372e0533b85.js",revision:"6a941372e0533b85"},{url:"/_next/static/chunks/pages/profile-16080563335a07ee.js",revision:"16080563335a07ee"},{url:"/_next/static/chunks/polyfills-42372ed130431b0a.js",revision:"846118c33b2c0e922d7b3a7676f81f6f"},{url:"/_next/static/chunks/webpack-48836b9bf39f6a5a.js",revision:"48836b9bf39f6a5a"},{url:"/_next/static/css/0742d73c3229e134.css",revision:"0742d73c3229e134"},{url:"/_next/static/css/209b782d1a2e630e.css",revision:"209b782d1a2e630e"},{url:"/_next/static/media/layers-2x.9859cd12.png",revision:"9859cd12"},{url:"/_next/static/media/layers.ef6db872.png",revision:"ef6db872"},{url:"/_next/static/media/marker-icon.d577052a.png",revision:"d577052a"},{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:"bf83592cc1865c5c492b7ab09bb18f59"},{url:"/assets/site.webmanifest",revision:"053100cb84a50d2ae7f5492f7dd7f25e"},{url:"/favicon.ico",revision:"8eb6dd187ac1c4e26f8df8062bb42e09"},{url:"/leaflet_reset.css",revision:"0936d7c0f04ef89fe3c337decb621909"},{url:"/manifest.json",revision:"e76480838d8eb8908456941dcb59275e"}],{ignoreURLParametersMatching:[]}),e.cleanupOutdatedCaches(),e.registerRoute("/",new e.NetworkFirst({cacheName:"start-url",plugins:[{cacheWillUpdate:async({request:e,response:s,event:c,state:a})=>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")});