1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-07 18:48:55 +08:00

Deploying to build from @ 6d512422cf 🚀

This commit is contained in:
lana-k
2021-04-30 16:43:29 +00:00
parent 7a47763510
commit 450c15f233
19 changed files with 244 additions and 1 deletions

2
js/app.ddb7d9aa.js Normal file

File diff suppressed because one or more lines are too long

1
js/app.ddb7d9aa.js.map Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-60ca3258"],{c973:function(e,n,r){function t(e,n,r,t,o,i,a){try{var c=e[i](a),s=c.value}catch(u){return void r(u)}c.done?n(s):Promise.resolve(s).then(t,o)}function o(e){return function(){var n=this,r=arguments;return new Promise((function(o,i){var a=e.apply(n,r);function c(e){t(a,o,i,c,s,"next",e)}function s(e){t(a,o,i,c,s,"throw",e)}c(void 0)}))}}r("d3b7"),e.exports=o,e.exports["default"]=e.exports,e.exports.__esModule=!0},fc00:function(e,n,r){var t=r("c973");r("96cf");var o=!1;function i(e){var n=confirm("New version of the app is available. Refresh now?");n&&e.waiting&&(o=!0,e.waiting.postMessage({type:"SKIP_WAITING"}))}"serviceWorker"in navigator&&window.addEventListener("load",t(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,navigator.serviceWorker.register("/service-worker.js");case 2:n=e.sent,n.waiting&&i(n),n.addEventListener("updatefound",(function(){var e=n.installing;e&&e.addEventListener("statechange",(function(){n.waiting&&navigator.serviceWorker.controller&&i(n)}))})),navigator.serviceWorker.addEventListener("controllerchange",(function(){o&&(window.location.reload(),o=!1)}));case 6:case"end":return e.stop()}}),e)}))))}}]);
//# sourceMappingURL=chunk-60ca3258.d05ccfc9.js.map

View File

@@ -0,0 +1 @@
{"version":3,"sources":["webpack:///./node_modules/@babel/runtime/helpers/asyncToGenerator.js","webpack:///./registerServiceWorker.js"],"names":["asyncGeneratorStep","gen","resolve","reject","_next","_throw","key","arg","info","value","error","done","Promise","then","_asyncToGenerator","fn","self","this","args","arguments","apply","err","undefined","module","exports","__esModule","refresh","invokeServiceWorkerUpdateFlow","registration","agree","confirm","waiting","postMessage","type","navigator","window","addEventListener","serviceWorker","register","newRegestration","installing","controller","location","reload"],"mappings":"mGAAA,SAASA,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQC,EAAKC,GACpE,IACE,IAAIC,EAAOP,EAAIK,GAAKC,GAChBE,EAAQD,EAAKC,MACjB,MAAOC,GAEP,YADAP,EAAOO,GAILF,EAAKG,KACPT,EAAQO,GAERG,QAAQV,QAAQO,GAAOI,KAAKT,EAAOC,GAIvC,SAASS,EAAkBC,GACzB,OAAO,WACL,IAAIC,EAAOC,KACPC,EAAOC,UACX,OAAO,IAAIP,SAAQ,SAAUV,EAASC,GACpC,IAAIF,EAAMc,EAAGK,MAAMJ,EAAME,GAEzB,SAASd,EAAMK,GACbT,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQ,OAAQI,GAGlE,SAASJ,EAAOgB,GACdrB,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQ,QAASgB,GAGnEjB,OAAMkB,O,UAKZC,EAAOC,QAAUV,EACjBS,EAAOC,QAAQ,WAAaD,EAAOC,QAASD,EAAOC,QAAQC,YAAa,G,+CCrCxE,IAAIC,GAAU,EAEd,SAASC,EAA+BC,GACtC,IAAMC,EAAQC,QAAQ,qDAClBD,GACED,EAAaG,UAEfL,GAAU,EACVE,EAAaG,QAAQC,YAAY,CAAEC,KAAM,kBAK3C,kBAAmBC,WACrBC,OAAOC,iBAAiB,OAAxB,2BAAgC,oHACHF,UAAUG,cAAcC,SAAS,sBAD9B,OACxBV,EADwB,OAI1BA,EAAaG,SACfJ,EAA8BC,GAIhCA,EAAaQ,iBAAiB,eAAe,WAC3C,IAAMG,EAAkBX,EAAaY,WACjCD,GAEFA,EAAgBH,iBAAiB,eAAe,WAC1CR,EAAaG,SAAWG,UAAUG,cAAcI,YAClDd,EAA8BC,SAOtCM,UAAUG,cAAcD,iBAAiB,oBAAoB,WACvDV,IACFS,OAAOO,SAASC,SAChBjB,GAAU,MAzBgB","file":"js/chunk-60ca3258.d05ccfc9.js","sourcesContent":["function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\n\nfunction _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n\n _next(undefined);\n });\n };\n}\n\nmodule.exports = _asyncToGenerator;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","let refresh = false\n\nfunction invokeServiceWorkerUpdateFlow (registration) {\n const agree = confirm('New version of the app is available. Refresh now?')\n if (agree) {\n if (registration.waiting) {\n // let waiting Service Worker know it should became active\n refresh = true\n registration.waiting.postMessage({ type: 'SKIP_WAITING' })\n }\n }\n}\n\nif ('serviceWorker' in navigator) {\n window.addEventListener('load', async () => {\n const registration = await navigator.serviceWorker.register('/service-worker.js')\n // ensure the case when the updatefound event was missed is also handled\n // by re-invoking the prompt when there's a waiting Service Worker\n if (registration.waiting) {\n invokeServiceWorkerUpdateFlow(registration)\n }\n\n // detect Service Worker update available and wait for it to become installed\n registration.addEventListener('updatefound', () => {\n const newRegestration = registration.installing\n if (newRegestration) {\n // wait until the new Service worker is actually installed (ready to take over)\n newRegestration.addEventListener('statechange', () => {\n if (registration.waiting && navigator.serviceWorker.controller) {\n invokeServiceWorkerUpdateFlow(registration)\n }\n })\n }\n })\n\n // detect controller change and refresh the page\n navigator.serviceWorker.addEventListener('controllerchange', () => {\n if (refresh) {\n window.location.reload()\n refresh = false\n }\n })\n })\n}\n"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long