-
Notifications
You must be signed in to change notification settings - Fork 0
/
sw.js
1 lines (1 loc) · 9.95 KB
/
sw.js
1
importScripts("workbox-sw.js");var PROJECT_NAME="balm-ui-pro",PROJECT_VERSION="v0320",CACHE_NAMES=[PROJECT_NAME+"-precache-"+PROJECT_VERSION,PROJECT_NAME+"-runtime-"+PROJECT_VERSION,PROJECT_NAME+"-ga-"+PROJECT_VERSION,"images"];workbox.core.setCacheNameDetails({prefix:PROJECT_NAME,suffix:PROJECT_VERSION,precache:"precache",runtime:"runtime",googleAnalytics:"ga"}),workbox.precaching.precacheAndRoute([{revision:"e813e39adb6e514ed2c71ae9a7bfc90e",url:"css/app.7e9f78b4.css"},{revision:"1195c5c4fcfa009b5739e06394999415",url:"index.html"},{revision:"1f3dc8fc7cad7bd0e5d6ff913a109009",url:"js/app.55739efb.js"},{revision:"18d9d1aaaf1910c45bf5fab0e17988d8",url:"js/chunk/1027.82ab06e4.js"},{revision:"d04001ec2f908128c20a07572a83f4e4",url:"js/chunk/1181.65478768.js"},{revision:"f2307125f676aa182df0fecc6682e04a",url:"js/chunk/1379.a4cc34af.js"},{revision:"8e3fbaecf775714b3ce27bb32bf37ca0",url:"js/chunk/1388.f0d355b5.js"},{revision:"10ca4ae9a9e4a4824baddcd59f86e1d8",url:"js/chunk/17.365ab47c.js"},{revision:"10674479a8668755bcf19bfff05161ce",url:"js/chunk/1770.39dac724.js"},{revision:"8081d1a02717f604f35d7dfb8f77fa9d",url:"js/chunk/1839.b46e94da.js"},{revision:"2b3cd47199372117c24bc48857feb658",url:"js/chunk/1877.9aff32f9.js"},{revision:"a5880f290cbd61ccc097cab42378db39",url:"js/chunk/1883.1a2d7408.js"},{revision:"369e7a2ab8f4c9cef165164a2eb47bee",url:"js/chunk/2005.0b7987ce.js"},{revision:"ec7f3ba74e959a5dc4e1463e90e0cb57",url:"js/chunk/2039.4fe6c8a2.js"},{revision:"6fda4f363c854ca91c9c803e8b466129",url:"js/chunk/2192.a0285813.js"},{revision:"fb077a6ef1c03601bcde7423cdf07458",url:"js/chunk/2203.1e043d20.js"},{revision:"5520dadb6eff3c05c30266c55c069576",url:"js/chunk/2274.814b5523.js"},{revision:"8c7450c30b87d13b666b46f162aa4846",url:"js/chunk/2476.e27b7f37.js"},{revision:"9eb134f54b47391ef7af31715a7cc9b5",url:"js/chunk/2486.9c4c9bc6.js"},{revision:"3baec4cf1979ee2f75ea5ba31e46e0b1",url:"js/chunk/2507.a83ddb21.js"},{revision:"6e9f4514c535e6cc9cd9eee609e08895",url:"js/chunk/2947.1917c209.js"},{revision:"04acd779f628081987381930c12720d5",url:"js/chunk/3000.bdfe20d2.js"},{revision:"f13f7bb3a9930e68e07a5b1b2ef94f36",url:"js/chunk/3015.f8f12c47.js"},{revision:"0487adca0820ec854372467e9a2db086",url:"js/chunk/309.7820239b.js"},{revision:"4cdebf5998e076531979ba08aa30ec4b",url:"js/chunk/3095.9d6385b7.js"},{revision:"07df474af9d0025c1e306206589ec435",url:"js/chunk/3125.59a6ef7d.js"},{revision:"c26ada658c0d9cb00ff2b23618061219",url:"js/chunk/3139.6471c452.js"},{revision:"a5fa384ac031c4d7247683e0bf63362e",url:"js/chunk/3155.281452f5.js"},{revision:"50b71350fa01e3a446f1dd3f25ce8a40",url:"js/chunk/3266.51c4cb75.js"},{revision:"11e39090038ef1abd84e62563aacd0df",url:"js/chunk/3372.35848910.js"},{revision:"020415fa485511724f60c3cdbb4e608c",url:"js/chunk/3470.9bb6bf9c.js"},{revision:"543d8f2fa1b458b772fef64a20c29800",url:"js/chunk/3520.c5c9cc1c.js"},{revision:"7eeae00d05a987238f35202473a2eb36",url:"js/chunk/361.a5a7d9d3.js"},{revision:"681b81b9d985521fecee6d1cf2d53a3f",url:"js/chunk/3640.2528f639.js"},{revision:"5a1e5302db2dc2bcfae1d2ba49b6ad13",url:"js/chunk/3641.e5910462.js"},{revision:"04cdc0b9cef9f19a726ad6a0f8d9c90c",url:"js/chunk/3764.f886a4ac.js"},{revision:"9fefac2b34e763cb245aea17636415e1",url:"js/chunk/3814.52616db0.js"},{revision:"8112ecd2c3676dcb1f8ca9aaaaf46eec",url:"js/chunk/3934.a0162a2d.js"},{revision:"0c8a28948774bd93892b1f7e7d8a5fb3",url:"js/chunk/3944.4b2c184b.js"},{revision:"06aab83d39bf1fbf82938917e0e80fef",url:"js/chunk/3972.04367e82.js"},{revision:"dd732b08e085b13a7927ee8cc6899050",url:"js/chunk/4019.bbfb7ebb.js"},{revision:"cec470ebcf0f2617ae036583cf33715c",url:"js/chunk/4048.d3df0606.js"},{revision:"d643fd8f5c318564d06945217d5f21de",url:"js/chunk/4123.b7942f3e.js"},{revision:"4adecf6c82f53c722e553747ca3e83f4",url:"js/chunk/4131.5c5c3afa.js"},{revision:"a48d2a3283f19e2615d928c6bd572093",url:"js/chunk/4200.397b972f.js"},{revision:"8e1d0dbbdc3c3aa2fd18043acc141b81",url:"js/chunk/4202.63b6c57c.js"},{revision:"40e26ca5334fed62ea1d2eb939b59999",url:"js/chunk/445.73bd02bc.js"},{revision:"b8f28e39d91e52864d934a921bb25d17",url:"js/chunk/4536.6fa208a5.js"},{revision:"d62cc19fb241260cdad3aa245b05fb7a",url:"js/chunk/4659.d509b65d.js"},{revision:"911c28622ec411fa54a71ed4c55da2e6",url:"js/chunk/4699.1fbca4b9.js"},{revision:"14c4269b21c5f5405a7c84f2acf8b84e",url:"js/chunk/4886.7749bb34.js"},{revision:"9bf50b2d9cf6c73ab1862828c8b90fd3",url:"js/chunk/4944.a6d0621a.js"},{revision:"7f5fa2b3ff928079c26ab9ac0f4b1e6f",url:"js/chunk/5051.4bda33d5.js"},{revision:"44f932a4e7966347cdcde1eb4784b2d4",url:"js/chunk/5145.7f6fcfb4.js"},{revision:"c78c7d95d05c1c2553557ca1e16b19a6",url:"js/chunk/5166.0714f776.js"},{revision:"81f59da26bf6eb982b5a2bba97a73691",url:"js/chunk/5211.00b6ff95.js"},{revision:"9e622006a09856a7483d90c2b9682f8b",url:"js/chunk/5381.194af688.js"},{revision:"5752a49175a428c45080336b923293ca",url:"js/chunk/5453.b510f826.js"},{revision:"6ffebf9861e44b166f5f2ef232caebdd",url:"js/chunk/5519.0c2f682e.js"},{revision:"75d2682cd7bcb18252a7b54bb5a4cf80",url:"js/chunk/5672.5b996230.js"},{revision:"8828fc535de2af23899e5ad61a0d6799",url:"js/chunk/5707.c3e45c32.js"},{revision:"35d379be71d8b20036b7335d9f830aa4",url:"js/chunk/5719.f34e3433.js"},{revision:"90f4e16ae2bfc6fd13c23177b0160f83",url:"js/chunk/5838.68a4fb65.js"},{revision:"e4fca04eea55a7abfbaf917b53c27500",url:"js/chunk/5890.8b3f0a5d.js"},{revision:"8354bf3208584987ae9bdac07b66c7a6",url:"js/chunk/5921.efe35e20.js"},{revision:"f8e1b445bc1125f2e8e49f0207929c9e",url:"js/chunk/5935.66fc3ea4.js"},{revision:"945a96886a650087849fab1d9a37bdc8",url:"js/chunk/5950.95fdde44.js"},{revision:"a21003cb65f33f624a641558280e7af3",url:"js/chunk/5951.9fa6c582.js"},{revision:"2b6b192c42e4f1ed84c3f0f48e454f51",url:"js/chunk/6005.631506bb.js"},{revision:"722815012547610574f0cb6747b84950",url:"js/chunk/6018.1aac2e56.js"},{revision:"85931fdca829b8c73567a04396cd35c9",url:"js/chunk/6253.27626abf.js"},{revision:"b9f52e4a6e10a52c45eca74332563d76",url:"js/chunk/6507.aa64ec1a.js"},{revision:"ab420fe4e652f99c0643c9cfc47c2055",url:"js/chunk/6513.0741a91b.js"},{revision:"7a5c8e372b64241f6ffd08aefcb7e0fd",url:"js/chunk/6718.1eeb34dc.js"},{revision:"86f83732bc7da437f3bff93ff9747565",url:"js/chunk/6761.f4b81877.js"},{revision:"8ed786a6f7e5801a3a923de0183f4bc1",url:"js/chunk/6907.e2f558d4.js"},{revision:"22fa5f4d362e1853daf334798b2f3cb6",url:"js/chunk/697.7cd146c1.js"},{revision:"8f4a41728e5ad79a34c9a15c9a871379",url:"js/chunk/7055.9905c0dd.js"},{revision:"3b5b526e8872b6900bcfaccde736bd33",url:"js/chunk/7121.741958d5.js"},{revision:"fade692ffb4d09c7927f41db26e6dce9",url:"js/chunk/7238.37bc4dae.js"},{revision:"3023c9695b22c78c5815b309cc635a59",url:"js/chunk/7322.c558c674.js"},{revision:"8c71fe96107e17e6bba164cd2752397e",url:"js/chunk/7410.79c1098a.js"},{revision:"205c8f62b75383ee7d4c51a25734d0f5",url:"js/chunk/7432.35628c40.js"},{revision:"686be3f0ba664a8fbb1c5c4d2c8a321c",url:"js/chunk/7567.9d91dcea.js"},{revision:"ea0cdc9ab349045cd8b3aa7326334409",url:"js/chunk/7586.66f48259.js"},{revision:"df3a3a1038acbf24bdbb56ed9c79a3ac",url:"js/chunk/7641.0f3ac89a.js"},{revision:"bd993566b282469caa063384681a528e",url:"js/chunk/7669.8e1afd5d.js"},{revision:"0c151e0aeb825ae91005ad4a427c1ba6",url:"js/chunk/767.4f7e3c85.js"},{revision:"cec6daca59fd63923c636949747569d5",url:"js/chunk/7674.8e46fd5b.js"},{revision:"e257df0f4feafd65a6377feea58897b5",url:"js/chunk/8236.eeeb9802.js"},{revision:"8da30385ceb50c90d4327a613c47ef2c",url:"js/chunk/8241.68866f42.js"},{revision:"8386ae4a1f9a16f579ba88d1c7fffd5c",url:"js/chunk/8253.da3c3a29.js"},{revision:"b424bc8d61f4da0a3c9359c94f01b9e0",url:"js/chunk/8273.de1ffdd5.js"},{revision:"cae296d8c82d155b6e29aaa52ab6776d",url:"js/chunk/829.9a50c930.js"},{revision:"c472d22a4ce0299f102c28e544e2451a",url:"js/chunk/8388.5a21ff4f.js"},{revision:"51b22238af75fe483f2f65fe01e8e0a0",url:"js/chunk/8513.16bb1d4f.js"},{revision:"0edd3c417c1255ec500dd950a2831d9a",url:"js/chunk/852.4f2c3e7c.js"},{revision:"b3f482ba8964e219895d674c7cb59aa1",url:"js/chunk/8632.a91fbc3b.js"},{revision:"ba9be0fec7db70f99201b02a82d17be0",url:"js/chunk/8661.ec5b903d.js"},{revision:"aa3dfde252ad2b9924392fae2088f3c6",url:"js/chunk/8715.daa23d74.js"},{revision:"742e2437a59dc0e301474ca12071a7b3",url:"js/chunk/8920.b5448a38.js"},{revision:"d0c90e88bef4ef8ae753ff4ddb17d87a",url:"js/chunk/9002.74481b63.js"},{revision:"c4388338c3f6e8b00f42dab4ae1fe339",url:"js/chunk/901.589d7d9c.js"},{revision:"d459c8c8f1c0d907743cd89ae58fbbc5",url:"js/chunk/9011.12ca065e.js"},{revision:"775f513d028da4fdb15d91942e3bdb57",url:"js/chunk/9106.8fd68193.js"},{revision:"b0a4e2e43a858b9b9ec340ae5af411f8",url:"js/chunk/9232.7bf205f7.js"},{revision:"7c1f8520019f907659bffeff9302639f",url:"js/chunk/9454.de6d0330.js"},{revision:"4dee1f185e90c78468e94e89a41f37a7",url:"js/chunk/9512.8af79034.js"},{revision:"f40cbfd285f06e8d9b5eec7dca819ac4",url:"js/chunk/9750.d9870aa6.js"},{revision:"9dd8912f8fbc7629496d665ef29b12d3",url:"js/chunk/9759.b139c3b3.js"},{revision:"4297caf0605517f13f1a84e2cbae77a8",url:"js/chunk/9913.704dcb96.js"},{revision:"cccdbcf02964620f70f0f914d13b200f",url:"js/chunk/9930.9b152a60.js"},{revision:"1580f31761fe92f4ffecf54293820713",url:"js/chunk/9978.e8e7307d.js"},{revision:"7f18882caf646c8a7c8cd9dbab0bf74a",url:"workbox-sw.js"}]),workbox.routing.registerRoute((function(e){return"script"===e.request.destination||"style"===e.request.destination}),new workbox.strategies.StaleWhileRevalidate),workbox.routing.registerRoute((function(e){return"image"===e.request.destination}),new workbox.strategies.CacheFirst({cacheName:"images",plugins:[new workbox.cacheableResponse.CacheableResponsePlugin({statuses:[0,200]}),new workbox.expiration.ExpirationPlugin({maxEntries:60,maxAgeSeconds:2592e3})]})),workbox.routing.registerRoute(/\.(?:ico)|json|ttf|woff2?$/,new workbox.strategies.StaleWhileRevalidate),workbox.googleAnalytics.initialize(),self.addEventListener("activate",(function(e){e.waitUntil(caches.keys().then((function(e){return Promise.all(e.map((function(e){if(-1===CACHE_NAMES.indexOf(e))return caches.delete(e)})))})).then((function(){self.clients.claim()})))})),self.addEventListener("message",(function(e){"skipWaiting"===e.data.action&&self.skipWaiting()}));