var k="thq_sr",n=Date.now(),p=parseInt(sessionStorage.getItem(k)||"0",10);if(!(p&&n-p<60000)){sessionStorage.setItem(k,String(n));if("serviceWorker" in navigator){navigator.serviceWorker.getRegistrations().then(function(r){return Promise.all(r.map(function(w){return w.unregister()}))}).then(function(){return caches.keys()}).then(function(c){return Promise.all(c.map(function(n2){return caches.delete(n2)}))}).then(function(){window.location.reload()}).catch(function(){window.location.reload()})}else{window.location.reload()}}