{"size": 1903, "ext": "js", "max_stars_repo_path": "website/public/serviceworker-v1.min.3b670f07e91c506468df879f46040abc66c3be76ba5dbb98ae3a4b3bf63913c0.js", "max_stars_repo_name": "dongzl/leetcode-java", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "website/public/serviceworker-v1.min.3b670f07e91c506468df879f46040abc66c3be76ba5dbb98ae3a4b3bf63913c0.js", "max_issues_repo_name": "dongzl/leetcode-java", "max_issues_repo_issues_event_min_datetime": "2020-11-26T08:45:22.000Z", "max_issues_repo_issues_event_max_datetime": "2020-12-04T04:13:31.000Z", "max_forks_repo_path": "docs/serviceworker-v1.min.3b670f07e91c506468df879f46040abc66c3be76ba5dbb98ae3a4b3bf63913c0.js", "max_forks_repo_name": "dongzl/leetcode-java", "max_forks_repo_forks_event_min_datetime": "2020-12-13T15:27:10.000Z", "max_forks_repo_forks_event_max_datetime": "2020-12-13T15:27:10.000Z"}
{"max_stars_count": null, "max_issues_count": 20, "max_forks_count": 1, "avg_line_length": 1903.0, "max_line_length": 1903, "alphanum_fraction": 0.7756174461}
'use strict';(function(){'use strict';var cacheVersion='-toolbox-v1';var dynamicVendorCacheName='dynamic-vendor'+cacheVersion;var staticVendorCacheName='static-vendor'+cacheVersion;var staticAssetsCacheName='static-assets'+cacheVersion;var contentCacheName='content'+cacheVersion;var maxEntries=50;self.importScripts("/leetcode/js/sw-toolbox.js");self.toolbox.options.debug=false;self.toolbox.router.get('/(.*)',self.toolbox.cacheFirst,{cache:{name:staticAssetsCacheName,maxEntries:maxEntries}});self.toolbox.router.get('/css',self.toolbox.fastest,{origin:/fonts\.googleapis\.com/,cache:{name:dynamicVendorCacheName,maxEntries:maxEntries}});self.toolbox.router.get('/(.*)',self.toolbox.networkOnly,{origin:/disqus\.com/});self.toolbox.router.get('/(.*)',self.toolbox.networkOnly,{origin:/disquscdn\.com/});self.toolbox.router.get('/(.*)',self.toolbox.cacheFirst,{origin:/(fonts\.gstatic\.com|www\.google-analytics\.com|www\.googletagmanager\.com|cdnjs\.cloudflare\.com)/,cache:{name:staticVendorCacheName,maxEntries:maxEntries}});self.toolbox.router.get('/(.*)',self.toolbox.cacheFirst,{origin:/(img\.halfrost\.com)/,cache:{name:staticAssetsCacheName,maxEntries:maxEntries}});self.toolbox.router.get('/content/(.*)',self.toolbox.fastest,{cache:{name:contentCacheName,maxEntries:maxEntries}});self.toolbox.router.get('/*',function(request,values,options){if(!request.url.match(/(\/ghost\/|\/page\/)/)&&request.headers.get('accept').includes('text/html')){return self.toolbox.fastest(request,values,options);}else{if(request.cache==='only-if-cached'&&request.mode!=='same-origin'){return;}else{return self.toolbox.networkOnly(request,values,options);}}},{cache:{name:contentCacheName,maxEntries:maxEntries}});self.addEventListener('install',function(event){return event.waitUntil(self.skipWaiting());});self.addEventListener('activate',function(event){return event.waitUntil(self.clients.claim());});})();