-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathservice-worker.js
1 lines (1 loc) · 10.6 KB
/
service-worker.js
1
"use strict";function setOfCachedUrls(e){return e.keys().then(function(e){return e.map(function(e){return e.url})}).then(function(e){return new Set(e)})}var precacheConfig=[["/index.html","6c5f0f943657502fe720437d5a4b0ee1"],["/static/css/main.38d3650a.css","9a1c456321a26e947ffb23dabc261f01"],["/static/js/main.711a6bc9.js","93bfbc4123adda1a6b51e380a9c1d027"],["/static/media/mm1.f01d88b2.jpeg","f01d88b2a8772c1831b944dc3e4b11f7"],["/static/media/mm10.df6dca98.jpeg","df6dca983a5cf8a2861cb864864309c8"],["/static/media/mm100.995348fc.jpeg","995348fca8898f4756d474bd8eeb366d"],["/static/media/mm101.c0c24c1a.jpeg","c0c24c1afdf8ec9b8d267b2355ba8d59"],["/static/media/mm102.62da5016.jpeg","62da501631b9631c1e48205bcd058eb9"],["/static/media/mm103.f56f8649.jpeg","f56f864981ff90b3ddedb27a265f693a"],["/static/media/mm104.cc389203.jpeg","cc3892038c8f05e4def859a24e5cbb6f"],["/static/media/mm105.1466f0ad.jpeg","1466f0ad02bee755984c51ca3193beaa"],["/static/media/mm106.7bfb635e.jpeg","7bfb635e69d9ad03315977272017e8e0"],["/static/media/mm107.e92bd1e2.jpeg","e92bd1e27910d6a87f303885882b042e"],["/static/media/mm11.c4e3b8e7.jpeg","c4e3b8e72874adc2dfc40d235f826570"],["/static/media/mm12.d85215d7.jpeg","d85215d7fd868fa5ef1c0a8a07095d50"],["/static/media/mm13.3e31225a.jpeg","3e31225ad78a0a93dbaf3a5a6b60a40a"],["/static/media/mm14.03b95941.jpeg","03b9594189410ee46242064dd3367f9c"],["/static/media/mm15.512e5cd8.jpeg","512e5cd8ffc66e4cf642e26294b7946b"],["/static/media/mm16.7770363d.jpeg","7770363de93cbc827df2547b21c18e4d"],["/static/media/mm17.c5a50fe5.jpeg","c5a50fe532385e55b77d5561788d9e7b"],["/static/media/mm18.7911238d.jpeg","7911238d65604b7375958e9e01c724bc"],["/static/media/mm19.20720c44.jpeg","20720c44c5a9f231328e26ac675e5036"],["/static/media/mm2.e0ac4e9f.jpeg","e0ac4e9f919c85ceb9cf4244a65967fa"],["/static/media/mm20.f671f784.jpeg","f671f784ae90c45c5023da3aded2b00f"],["/static/media/mm21.e3305e80.jpeg","e3305e8055989e91d5ea019e157e802d"],["/static/media/mm22.605f05e3.jpeg","605f05e3e88cb897a3125b4586ba80b7"],["/static/media/mm23.baee8fc6.jpeg","baee8fc6c2e9cdb8e08fc26cf7bf1831"],["/static/media/mm24.fa9569f7.jpeg","fa9569f715eead088dcd0c57cd33bd7f"],["/static/media/mm25.2922752c.jpeg","2922752c8a7adeaaecaeb9a6ae0f681b"],["/static/media/mm26.524dbe6b.jpeg","524dbe6b582a120f9d5b4741a3ca8480"],["/static/media/mm27.d541aba2.jpeg","d541aba249e4d4c6dd952b40b6945bad"],["/static/media/mm28.507e4004.jpeg","507e40044d00c645bc997f8f77a9ab5b"],["/static/media/mm29.e0af12ff.jpeg","e0af12ff31fe62ac731029f8bf1a9312"],["/static/media/mm3.26855bf8.jpeg","26855bf89991d515d318e893089db105"],["/static/media/mm30.20f75e13.jpeg","20f75e136355aad780420fafe9b5e6b9"],["/static/media/mm31.f9f1d290.jpeg","f9f1d29024d8cbb435f09ab1c250c265"],["/static/media/mm32.b813bb89.jpeg","b813bb89164b27a8f39a90bb2feb4a68"],["/static/media/mm33.dcabf5c7.jpeg","dcabf5c770aa9deb16a28a9463adc1af"],["/static/media/mm34.acdefbfe.jpeg","acdefbfe09fc567f446b2f9fdb3270a2"],["/static/media/mm35.43459e8e.jpeg","43459e8e324c5555dca0d2a35c4cd223"],["/static/media/mm36.baaed3c2.jpeg","baaed3c2c44b6d6aa065d7d0bab80d56"],["/static/media/mm37.079f28d4.jpeg","079f28d40870e73d0799a623cd8c2324"],["/static/media/mm38.7f8663d3.jpeg","7f8663d39c29fd3a3060ed5d97b231ca"],["/static/media/mm39.5169f328.jpeg","5169f32854629aca8ea4054683c5aa52"],["/static/media/mm4.1c65aa38.jpeg","1c65aa388596793e80c0808d154e1de3"],["/static/media/mm40.8e102f67.jpeg","8e102f67e28e21c07a903c31ab23e65d"],["/static/media/mm41.9d173754.jpeg","9d1737547bbe65fb92b985b21c585bdd"],["/static/media/mm42.c959bf97.jpeg","c959bf975913bc0ed5081ea3e9441b54"],["/static/media/mm43.3137cc9d.jpeg","3137cc9d731d498db16c74ef0fe8e12b"],["/static/media/mm44.1f178197.jpeg","1f1781978e9b802698fb2f12d62376c7"],["/static/media/mm45.c7db8575.jpeg","c7db85759bb13d98da115921ff61a12f"],["/static/media/mm46.1064691a.jpeg","1064691a63418f6048bf53bfe240e995"],["/static/media/mm47.764ed878.jpeg","764ed878ea5c795f0d4c0343eb7913e0"],["/static/media/mm48.a3c64202.jpeg","a3c64202164d974949d99f23180f3d8e"],["/static/media/mm49.ca246238.jpeg","ca2462386ccaf8916d601515faeea131"],["/static/media/mm5.1674f9e5.jpeg","1674f9e5a4634f0199f3a12107c16b2b"],["/static/media/mm50.af17a673.jpeg","af17a673d2cb617147f7aacc49266d1f"],["/static/media/mm51.b54dded7.jpeg","b54dded733a95cdfcbaefc81585169d1"],["/static/media/mm52.6e7da6a9.jpeg","6e7da6a9e66c37cf99a205231c2f9826"],["/static/media/mm53.9eca91c3.jpeg","9eca91c33e571807736c5736589547f2"],["/static/media/mm54.52e90179.jpeg","52e9017942579412a6cfbdebcaca3bc1"],["/static/media/mm55.14b7650d.jpeg","14b7650d98d0caf4dcba3a974cba880e"],["/static/media/mm56.75381ade.jpeg","75381ade0fa0ed8d479011c9e9f9a60c"],["/static/media/mm57.1cbb8886.jpeg","1cbb88867a36b7d772dd8c699fd0b1b2"],["/static/media/mm58.446b6d2a.jpeg","446b6d2a42cc07a6c4c0d2caef3f1518"],["/static/media/mm59.95843dd7.jpeg","95843dd70e715201a430353f37acb428"],["/static/media/mm6.86b000b0.jpeg","86b000b03d83afa2b8ce950e8e8d254e"],["/static/media/mm60.0f3cb718.jpeg","0f3cb718b56916094689420b04193616"],["/static/media/mm61.827f55f3.jpeg","827f55f36cf9512816e3990543c66dd8"],["/static/media/mm62.16599ec7.jpeg","16599ec79cfd2012512cef60995b9985"],["/static/media/mm63.5feafa0c.jpeg","5feafa0c95bb3fc57cb9408e26bafe2f"],["/static/media/mm64.2dc5b85d.jpeg","2dc5b85d7571a3e717d07c5e5e9b8d85"],["/static/media/mm65.d42ea73c.jpeg","d42ea73cfa633d847262b7cb25fced04"],["/static/media/mm66.ccc7dbf3.jpeg","ccc7dbf358f54fba6b0e9bd34f2f3d52"],["/static/media/mm67.124fe3e8.jpeg","124fe3e8149f84bcafcb363f90c155ef"],["/static/media/mm68.d75f0c99.jpeg","d75f0c997e602a7db3ec26a0bc5d11af"],["/static/media/mm69.817a1c87.jpeg","817a1c87d85e47db3082c6b4a9812ad6"],["/static/media/mm7.4ca7cec4.jpeg","4ca7cec450152c1769a067150e6684b4"],["/static/media/mm70.8f4cba3e.jpeg","8f4cba3e3d50373b336d5f58b9645968"],["/static/media/mm71.6a8b4ba3.jpeg","6a8b4ba35ef8b28df8f9176f00e50cec"],["/static/media/mm72.ba8bec20.jpeg","ba8bec20620bd181bff48bd4e61d7248"],["/static/media/mm73.acccaadf.jpeg","acccaadf2abb1e57ad63ab6558a8c069"],["/static/media/mm74.81efec04.jpeg","81efec047246c139ab8c284d82a388df"],["/static/media/mm75.a311a114.jpeg","a311a114c3c68805d5489045e4c21ea0"],["/static/media/mm76.0d212fb4.jpeg","0d212fb44b1136a12db826399355653f"],["/static/media/mm77.6ea2333a.jpeg","6ea2333a25ea327a98fb6250943c504b"],["/static/media/mm78.c6e63294.jpeg","c6e63294b52513405a4207c21fd85c5a"],["/static/media/mm79.4c38bd9e.jpeg","4c38bd9e55e857cb2a4b522f86ae5f9e"],["/static/media/mm8.e6f2de38.jpeg","e6f2de3864537746a174bf06e6949a13"],["/static/media/mm80.436fea35.jpeg","436fea3530c1d89357cceabf105f1742"],["/static/media/mm81.386c0556.jpeg","386c0556bf6fda63493424a1d29f1e24"],["/static/media/mm82.f065b7e5.jpeg","f065b7e5fc5118ee1159bad1fe0ef3cf"],["/static/media/mm83.859ecaed.jpeg","859ecaedfffecc85243cc8ce7578408a"],["/static/media/mm84.13abc933.jpeg","13abc93346267d5854579dab184c669a"],["/static/media/mm85.72aa73fc.jpeg","72aa73fc9b8f78d678622fb956cee2ff"],["/static/media/mm86.1f6272bc.jpeg","1f6272bcb0ff79d4e2e9ca2f2c3df3ab"],["/static/media/mm87.4f744243.jpeg","4f7442437278347c6a8c4e9b2da56c5e"],["/static/media/mm88.a0e98504.jpeg","a0e98504eaf3b234f53025089a46db50"],["/static/media/mm89.2604cfb5.jpeg","2604cfb5daf52ff4dc285a2e6a85d6f3"],["/static/media/mm9.87ac92a5.jpeg","87ac92a54cd4098b84e13686085c7a01"],["/static/media/mm90.d4feea59.jpeg","d4feea59c1709f34e917d2026a5f5522"],["/static/media/mm91.c0ab0584.jpeg","c0ab0584dcdb2e5f2335fadb37fbdeaa"],["/static/media/mm92.311b0608.jpeg","311b0608c4283aedf8dbb73629d85082"],["/static/media/mm93.249de5b6.jpeg","249de5b62424816fd80c274e0d4bd384"],["/static/media/mm94.ad4fddf4.jpeg","ad4fddf4519e0595f7bc3d9b64bc2289"],["/static/media/mm95.b2175036.jpeg","b217503649572f3cbcfcc9d54a052c81"],["/static/media/mm96.d5b45ea8.jpeg","d5b45ea80ff88a0ce585fe784fbba6b7"],["/static/media/mm97.b33c8dc4.jpeg","b33c8dc45ad348c61c9d5b879758caf1"],["/static/media/mm98.06d7e954.jpeg","06d7e954be63efb57607b837784a6186"],["/static/media/mm99.d1544748.jpeg","d154474888818c720b996e883b5e26e3"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,a){var c=new URL(e);return"/"===c.pathname.slice(-1)&&(c.pathname+=a),c.toString()},cleanResponse=function(e){return e.redirected?("body"in e?Promise.resolve(e.body):e.blob()).then(function(a){return new Response(a,{headers:e.headers,status:e.status,statusText:e.statusText})}):Promise.resolve(e)},createCacheKey=function(e,a,c,t){var d=new URL(e);return t&&d.pathname.match(t)||(d.search+=(d.search?"&":"")+encodeURIComponent(a)+"="+encodeURIComponent(c)),d.toString()},isPathWhitelisted=function(e,a){if(0===e.length)return!0;var c=new URL(a).pathname;return e.some(function(e){return c.match(e)})},stripIgnoredUrlParameters=function(e,a){var c=new URL(e);return c.hash="",c.search=c.search.slice(1).split("&").map(function(e){return e.split("=")}).filter(function(e){return a.every(function(a){return!a.test(e[0])})}).map(function(e){return e.join("=")}).join("&"),c.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(e){var a=e[0],c=e[1],t=new URL(a,self.location),d=createCacheKey(t,hashParamName,c,/\.\w{8}\./);return[t.toString(),d]}));self.addEventListener("install",function(e){e.waitUntil(caches.open(cacheName).then(function(e){return setOfCachedUrls(e).then(function(a){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(c){if(!a.has(c)){var t=new Request(c,{credentials:"same-origin"});return fetch(t).then(function(a){if(!a.ok)throw new Error("Request for "+c+" returned a response with status "+a.status);return cleanResponse(a).then(function(a){return e.put(c,a)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(e){var a=new Set(urlsToCacheKeys.values());e.waitUntil(caches.open(cacheName).then(function(e){return e.keys().then(function(c){return Promise.all(c.map(function(c){if(!a.has(c.url))return e.delete(c)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(e){if("GET"===e.request.method){var a,c=stripIgnoredUrlParameters(e.request.url,ignoreUrlParametersMatching);(a=urlsToCacheKeys.has(c))||(c=addDirectoryIndex(c,"index.html"),a=urlsToCacheKeys.has(c));!a&&"navigate"===e.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],e.request.url)&&(c=new URL("/index.html",self.location).toString(),a=urlsToCacheKeys.has(c)),a&&e.respondWith(caches.open(cacheName).then(function(e){return e.match(urlsToCacheKeys.get(c)).then(function(e){if(e)return e;throw Error("The cached response that was expected is missing.")})}).catch(function(a){return console.warn('Couldn\'t serve response for "%s" from cache: %O',e.request.url,a),fetch(e.request)}))}});