| 
					
				 | 
			
			
				@@ -13,29 +13,31 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 // If the loader is already loaded, just stop. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 if (!self.define) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  const registry = {}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  let registry = {}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   // Used for `eval` and `importScripts` where we can't get script URL by other means. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   // In both cases, it's safe to use a global var because those functions are synchronous. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   let nextDefineUri; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   const singleRequire = (uri, parentUri) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    uri = new URL(uri + '.js', parentUri).href; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    return ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      registry[uri] || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      new Promise(resolve => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if ('document' in self) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          const script = document.createElement('script'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          script.src = uri; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          script.onload = resolve; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          document.head.appendChild(script); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          nextDefineUri = uri; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          importScripts(uri); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          resolve(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }).then(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        const promise = registry[uri]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    uri = new URL(uri + ".js", parentUri).href; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    return registry[uri] || ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        new Promise(resolve => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if ("document" in self) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            const script = document.createElement("script"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            script.src = uri; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            script.onload = resolve; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            document.head.appendChild(script); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            nextDefineUri = uri; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            importScripts(uri); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            resolve(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      .then(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        let promise = registry[uri]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (!promise) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           throw new Error(`Module ${uri} didn’t register its module`); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -45,31 +47,27 @@ if (!self.define) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   self.define = (depsNames, factory) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    const uri = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      nextDefineUri || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      ('document' in self ? document.currentScript.src : '') || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      location.href; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    const uri = nextDefineUri || ("document" in self ? document.currentScript.src : "") || location.href; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     if (registry[uri]) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // Module is already loading or loaded. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    const exports = {}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    let exports = {}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const require = depUri => singleRequire(depUri, uri); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const specialDeps = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       module: { uri }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       exports, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       require 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    registry[uri] = Promise.all( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      depsNames.map(depName => specialDeps[depName] || require(depName)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    ).then(deps => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    registry[uri] = Promise.all(depsNames.map( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      depName => specialDeps[depName] || require(depName) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    )).then(deps => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       factory(...deps); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       return exports; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-define(['./workbox-5357ef54'], function (workbox) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  'use strict'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+define(['./workbox-5357ef54'], (function (workbox) { 'use strict'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   self.skipWaiting(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   workbox.clientsClaim(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -79,42 +77,16 @@ define(['./workbox-5357ef54'], function (workbox) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    * requests for URLs in the manifest. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    * See https://goo.gl/S9QRab 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  workbox.precacheAndRoute( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        url: 'registerSW.js', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        revision: '3ca0b8505b4bec776b69afdba2768812' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        url: 'index.html', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        revision: '0.1b6d4v58fbg' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    ], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    {} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  workbox.precacheAndRoute([{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    "url": "registerSW.js", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    "revision": "6137f3202e711e407da62c90631d3729" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    "url": "index.html", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    "revision": "0.4248ndag8lg" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }], {}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   workbox.cleanupOutdatedCaches(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  workbox.registerRoute( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    new workbox.NavigationRoute(workbox.createHandlerBoundToURL('index.html'), { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      allowlist: [/^\/$/] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-// 监听install事件 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-self.addEventListener('install', function (e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  // console.log('Service Worker 状态: install'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  console.log('install,更新'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  self.skipWaiting(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-// 监听activate事件 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-self.addEventListener('activate', function (e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  // console.log('Service Worker 状态: activate'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  console.log('activate,更新'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  e.waitUntil(clients.claim()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    allowlist: [/^\/$/] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  })); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-self.addEventListener('fetch', function (e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  // 需要缓存的xhr请求 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  // console.log("fetch 事件") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+})); 
			 |