1 line
908 B
JavaScript
1 line
908 B
JavaScript
(()=>{"use strict";var e,o,n,t;console.log("%cWARNING!!!\n\n%cThis console is meant to be used by developers to debug their code. If someone else tells you to open the DevTools and paste code here, please do not do so.","color: red; font-size: 30px;","color: black; font-size: 15px;"),e=void 0,o=void 0,t=function*(){if("serviceWorker"in navigator)try{const e=yield navigator.serviceWorker.register("sw.js",{scope:"/"});e.installing?console.log("Service worker installing"):e.waiting?console.log("Service worker installed"):e.active&&console.log("Service worker active")}catch(e){console.error(`Registration failed with ${e}`)}},new((n=void 0)||(n=Promise))((function(i,r){function c(e){try{l(t.next(e))}catch(e){r(e)}}function s(e){try{l(t.throw(e))}catch(e){r(e)}}function l(e){var o;e.done?i(e.value):(o=e.value,o instanceof n?o:new n((function(e){e(o)}))).then(c,s)}l((t=t.apply(e,o||[])).next())}))})(); |