"use strict";var precacheConfig=[["/index.html","a380b409bcf54e3f9fec4bb317dc1690"],["/static/css/main.14c5d77c.css","6495793c5d7000048aaae8e20acda9e1"],["/static/js/0.c1f8d81b.chunk.js","8fcb55f137ab8d5bf34a88214f6eb8ab"],["/static/js/1.dc4b7e59.chunk.js","94c7d99503ee19fe4bb91684e9331898"],["/static/js/10.fc01d937.chunk.js","e65e9c820515ef7aac43b4a1ae712ee5"],["/static/js/11.81b49a9d.chunk.js","3896d41723171fe68b8a59933620755c"],["/static/js/2.2d453243.chunk.js","40767c018be6a9b67bc703b78c9f64f0"],["/static/js/3.54e7dc8f.chunk.js","552fdc93c29a56cd6de3f8c0f68a2927"],["/static/js/4.6f9a6c57.chunk.js","6f062f713b39d249247ca1577a7364eb"],["/static/js/5.2f25d4e5.chunk.js","2a7a20e67a56bf7bf0e4687b8bea3407"],["/static/js/6.e2c76eae.chunk.js","8f6e9c990f7128d201b113445c891186"],["/static/js/7.c796955e.chunk.js","232b518cb1c21c3056612846d7bb9a76"],["/static/js/8.423c377b.chunk.js","e7acffeeccd61185515e0ed99973ce07"],["/static/js/9.8b2b08e6.chunk.js","4ce2071579a3a410f5344bcbe9a8ac4b"],["/static/js/main.5229535f.js","79205b7be4295bbc9178440d0678bcf3"],["/static/media/bonus.1e34d799.png","1e34d7996b31020ff898a056c3d6150a"],["/static/media/dailishang@2x.3cfb10ac.png","3cfb10acbf52b08b29866e6ce4b347ee"],["/static/media/kids.5e11885d.png","5e11885d63324458a3b3fb15267c1e0c"],["/static/media/noresult.f99c56da.png","f99c56dacfdd89267f06cd361f5b84a0"],["/static/media/tiyan.072f8e4b.jpg","072f8e4b0ebd6a3ddb70653b13d03afb"],["/static/media/tuiguangHeader.a79c384b.png","a79c384bee644bbe8dde9b87ff4d2196"],["/static/media/wallets.849be2dd.png","849be2ddee9b7e055f6557294ca26c47"],["/static/media/zhuce@2x.8f7726d0.png","8f7726d0256179643b0a001c01cc5275"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,t){var a=new URL(e);return"/"===a.pathname.slice(-1)&&(a.pathname+=t),a.toString()},cleanResponse=function(t){return t.redirected?("body"in t?Promise.resolve(t.body):t.blob()).then(function(e){return new Response(e,{headers:t.headers,status:t.status,statusText:t.statusText})}):Promise.resolve(t)},createCacheKey=function(e,t,a,n){var c=new URL(e);return n&&c.pathname.match(n)||(c.search+=(c.search?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(a)),c.toString()},isPathWhitelisted=function(e,t){if(0===e.length)return!0;var a=new URL(t).pathname;return e.some(function(e){return a.match(e)})},stripIgnoredUrlParameters=function(e,a){var t=new URL(e);return t.hash="",t.search=t.search.slice(1).split("&").map(function(e){return e.split("=")}).filter(function(t){return a.every(function(e){return!e.test(t[0])})}).map(function(e){return e.join("=")}).join("&"),t.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(e){var t=e[0],a=e[1],n=new URL(t,self.location),c=createCacheKey(n,hashParamName,a,/\.\w{8}\./);return[n.toString(),c]}));function setOfCachedUrls(e){return e.keys().then(function(e){return e.map(function(e){return e.url})}).then(function(e){return new Set(e)})}self.addEventListener("install",function(e){e.waitUntil(caches.open(cacheName).then(function(n){return setOfCachedUrls(n).then(function(a){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(t){if(!a.has(t)){var e=new Request(t,{credentials:"same-origin"});return fetch(e).then(function(e){if(!e.ok)throw new Error("Request for "+t+" returned a response with status "+e.status);return cleanResponse(e).then(function(e){return n.put(t,e)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(e){var a=new Set(urlsToCacheKeys.values());e.waitUntil(caches.open(cacheName).then(function(t){return t.keys().then(function(e){return Promise.all(e.map(function(e){if(!a.has(e.url))return t.delete(e)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(t){if("GET"===t.request.method){var e,a=stripIgnoredUrlParameters(t.request.url,ignoreUrlParametersMatching),n="index.html";(e=urlsToCacheKeys.has(a))||(a=addDirectoryIndex(a,n),e=urlsToCacheKeys.has(a));var c="/index.html";!e&&"navigate"===t.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],t.request.url)&&(a=new URL(c,self.location).toString(),e=urlsToCacheKeys.has(a)),e&&t.respondWith(caches.open(cacheName).then(function(e){return e.match(urlsToCacheKeys.get(a)).then(function(e){if(e)return e;throw Error("The cached response that was expected is missing.")})}).catch(function(e){return console.warn('Couldn\'t serve response for "%s" from cache: %O',t.request.url,e),fetch(t.request)}))}});