-
Notifications
You must be signed in to change notification settings - Fork 0
/
sw.js
1 lines (1 loc) · 7.45 KB
/
sw.js
1
importScripts("workbox-sw.js");var PROJECT_NAME="balm-ui",PROJECT_VERSION="v8690",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:"982ce4422878aed7885730300f02559d",url:"css/app.6266feec.css"},{revision:"d41d8cd98f00b204e9800998ecf8427e",url:"css/ie/latest.d41d8cd9.css"},{revision:"d41d8cd98f00b204e9800998ecf8427e",url:"css/ie/lte10.d41d8cd9.css"},{revision:"4860ecadd34a605234ade69f57f5b58d",url:"index.html"},{revision:"a7f23c27658ddc31e2c650cf6a17891d",url:"js/app.a7f23c27.js"},{revision:"7c204ae77c8dcd5a0d98b18d30d7f841",url:"js/async/10.ba0e31ee.js"},{revision:"83ddee7795cdd03daee636189adb3a9a",url:"js/async/11.5368239c.js"},{revision:"29aec96d15d98a05f3a5557191b0c98c",url:"js/async/12.d50a336f.js"},{revision:"1a6634134ec9b51c7f128cc5a3ad94d5",url:"js/async/13.c56e8e81.js"},{revision:"1ca0e05be4c0f326f88f1b7f38c24df8",url:"js/async/14.d822b163.js"},{revision:"01fd8913fdaf9cb75ee3133adb16c409",url:"js/async/15.3cf360d7.js"},{revision:"0673125db33561af9ad7358824f7ba0d",url:"js/async/16.d5fde6e3.js"},{revision:"5610fb8b35d2e4008f97fbb4823bb518",url:"js/async/17.e8b96c7c.js"},{revision:"757839a356c3281bf7daff9f4f28d3d7",url:"js/async/18.bc268c90.js"},{revision:"bd53dbc12edfbb553a431f8378c96276",url:"js/async/19.fffd6567.js"},{revision:"7936c98db314fda3efc33da751fd4b48",url:"js/async/20.ae37339f.js"},{revision:"2953bc5bea97138a4e96c14561744650",url:"js/async/21.395de00b.js"},{revision:"cd084afd1e25cdc88bdf65d04fe8ecb1",url:"js/async/22.d924b5eb.js"},{revision:"d93ce1eadda63b8c14a51c19b577336a",url:"js/async/23.0f009097.js"},{revision:"5ec58d39591c6a289597a7c0ca0a0687",url:"js/async/24.de994ff2.js"},{revision:"9939e6bbf29a6b6e5b847529be769231",url:"js/async/25.7d6e1ce0.js"},{revision:"52d40e426658b59bc5da904e505e16a3",url:"js/async/26.7a03c58f.js"},{revision:"6b703bf8458471b842d73f022e8adef1",url:"js/async/27.73b6cb0f.js"},{revision:"82988558cc97c9aa2669e41dc48e1289",url:"js/async/28.bd49c615.js"},{revision:"f21f6365d00593fca15f70b5a9f46154",url:"js/async/29.f2922218.js"},{revision:"f8b8d13a1d3dc497e515559011c82d5a",url:"js/async/3.6f2e6b1a.js"},{revision:"8b72e1f89e8104550d33e44296beca4a",url:"js/async/30.2d64b610.js"},{revision:"8cf2ff7b9d02c2dc58a173b43c6e62bf",url:"js/async/31.bb1be838.js"},{revision:"a2fc938c9d16bad3399c31e3e74a3531",url:"js/async/32.bf3dabb5.js"},{revision:"aa3ec611ea7b63135c9bd90d78a084b3",url:"js/async/33.5784d5f3.js"},{revision:"41513e22d42f8d0b2541a26098462999",url:"js/async/34.52bf7835.js"},{revision:"26d1fb7737e21353842a417a81f94fa3",url:"js/async/35.6535be4f.js"},{revision:"3231993fd7817ac8bdccb5b5aa899d00",url:"js/async/36.76813202.js"},{revision:"53bee76cca27282c7753298460de96d1",url:"js/async/37.03992df1.js"},{revision:"cc9378f87135a597c90393bc5e5c5af7",url:"js/async/38.0fbc73ee.js"},{revision:"89eb342fb3bd102739c809bde5c41e21",url:"js/async/39.49073be0.js"},{revision:"b93524bcad90e787069a76a83232f8a1",url:"js/async/4.3c811440.js"},{revision:"f2c00c57ec0979e08414ec94ebbed586",url:"js/async/40.a60276b7.js"},{revision:"3a1c0aab8c76548c5dd9e18b30d6e4dd",url:"js/async/41.bfb0ae15.js"},{revision:"aeda5a9847a9cf74ba20e96d544e87f1",url:"js/async/42.e8fce198.js"},{revision:"f1e72e6f7a8b1bf14e0794dd2e61f623",url:"js/async/43.838883d4.js"},{revision:"2b1310b86b272974726b6bf6fd9b2a40",url:"js/async/44.81f5eeee.js"},{revision:"654b3dc2e895640e8ec721aec6892819",url:"js/async/45.b4a0ae4b.js"},{revision:"14ff5727514b14288749c54d724f0cd4",url:"js/async/46.96b53408.js"},{revision:"f8c5ae2b59e241c196bbde064d2475ef",url:"js/async/47.3c71a7a9.js"},{revision:"4fd89d34fc2c998c2c33e449cd170f57",url:"js/async/48.ef24d05e.js"},{revision:"de6bf5878dd464cc4a823ae1ddd1d905",url:"js/async/49.ad61b1dd.js"},{revision:"49be9f0d9dc2610f80107e925bbd794e",url:"js/async/5.6d614ff1.js"},{revision:"d6bed3f8329dad3ae2755b4c17f40744",url:"js/async/50.2416ece6.js"},{revision:"7cb89f463ca458c5ce568259d45d8786",url:"js/async/51.589ae285.js"},{revision:"80a487e3dca349dc551c57a16544b9c2",url:"js/async/52.ab045099.js"},{revision:"cdc9903e707641c3398b9fb63cb83e77",url:"js/async/53.59777624.js"},{revision:"9cd8fb2bebd1323369983c4c6ef6ad5c",url:"js/async/54.bcdfa1d7.js"},{revision:"27c5f7c95297ec1e29c0928924e2a956",url:"js/async/55.3710336d.js"},{revision:"73eccfd236a83abe7d13b2b42f142a9d",url:"js/async/56.33e35af3.js"},{revision:"4f29494bf5bbee3c27632ed378f6281e",url:"js/async/57.65ba21a5.js"},{revision:"c377144c6a3d2880419e387b637332d0",url:"js/async/58.838ab343.js"},{revision:"cf70914a622efc0c63b7b457f781c4e7",url:"js/async/59.639bc736.js"},{revision:"db04a78d5822d7d9747c7be212e9bd2e",url:"js/async/6.9463b41b.js"},{revision:"7726b3257e2a8cd1940a1e062b3b6e12",url:"js/async/60.fd409ea7.js"},{revision:"60eb5079c7e22d69103b354a56fdff58",url:"js/async/61.5a8795b2.js"},{revision:"44bacd47dfb3d84d3e9d991f2ec4c1ea",url:"js/async/62.44b30103.js"},{revision:"702947b23cbe8b93bebda146bc86ee46",url:"js/async/63.bba63751.js"},{revision:"39498be9ddd5bc79c82833c8d8fec30c",url:"js/async/64.1f6305fb.js"},{revision:"cb5301abd4e9fbaf49b08a8f6038c466",url:"js/async/65.e01a9b1d.js"},{revision:"697b921d263215562b5fb12c31782187",url:"js/async/66.c58f5e2c.js"},{revision:"e4649e5f4f21d31d02b346b98bb9f39e",url:"js/async/67.9df259ae.js"},{revision:"da39398cd460e33afd332e043bca6971",url:"js/async/68.29b6b66b.js"},{revision:"f4130f1cacb29936659d7816153c983c",url:"js/async/69.5dbd8650.js"},{revision:"759c19dc6709d26908597268af159583",url:"js/async/7.27ed5d31.js"},{revision:"a2c579868310d22a8f63cbd39a8bb2f1",url:"js/async/70.f09e451e.js"},{revision:"38abb9535b2a9d7d54b10549490bb018",url:"js/async/71.259f357c.js"},{revision:"f27fb0a1aecabadf3ec07989f2288a3f",url:"js/async/72.6f70d85e.js"},{revision:"9481b06e70ce0fc585f30c486aa2196a",url:"js/async/73.06e287c8.js"},{revision:"87c838c6543a9963de8103ed075d3e22",url:"js/async/74.e4a329bf.js"},{revision:"f57abdc282d877b33ccf01227addfef1",url:"js/async/75.5c7d39ec.js"},{revision:"83bbb92eea81d1c58c58c5322fc4a94a",url:"js/async/76.024e566a.js"},{revision:"2e972911038f9860ea84ea19453b83e0",url:"js/async/77.e7269c5c.js"},{revision:"c5d394eca31fe3f52c49aa0887768b3b",url:"js/async/8.b0643f61.js"},{revision:"36cf923e7267fe1b4e8705c345d002f9",url:"js/async/9.6ad3e00a.js"},{revision:"ee50a78d2b2cde5736ddc67f5494c808",url:"js/vendor/balm-ui.ee50a78d.js"},{revision:"08f3f85329e3ed11c0956f1f147aeeef",url:"js/vendor/hello.08f3f853.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()}));