Skip to content

Commit 39b4330

Browse files
committed
Update Vue and dependencies versions
1 parent 92e05b7 commit 39b4330

12 files changed

+8306
-1755
lines changed

dev-dist/sw.js

+106-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,106 @@
1-
if(!self.define){let e,n={};const s=(s,t)=>(s=new URL(s+".js",t).href,n[s]||new Promise((n=>{if("document"in self){const e=document.createElement("script");e.src=s,e.onload=n,document.head.appendChild(e)}else e=s,importScripts(s),n()})).then((()=>{let e=n[s];if(!e)throw new Error(`Module ${s} didn’t register its module`);return e})));self.define=(t,o)=>{const i=e||("document"in self?document.currentScript.src:"")||location.href;if(n[i])return;let l={};const r=e=>s(e,i),c={module:{uri:i},exports:l,require:r};n[i]=Promise.all(t.map((e=>c[e]||r(e)))).then((e=>(o(...e),l)))}}define(["./workbox-57eab708"],(function(e){"use strict";self.addEventListener("message",(e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()})),e.precacheAndRoute([{revision:null,url:"index.html"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html"),{allowlist:[/^\/$/]})),e.registerRoute(/^https:\/\/fonts\.googleapis\.com\/.*/i,new e.CacheFirst({cacheName:"google-fonts-cache",plugins:[new e.ExpirationPlugin({maxEntries:10,maxAgeSeconds:31536e3}),new e.CacheableResponsePlugin({statuses:[0,200]})]}),"GET"),e.registerRoute(/\/api\/.*\/*.json/,new e.NetworkOnly({plugins:[new e.BackgroundSyncPlugin("syncQueue",{maxRetentionTime:1440})]}),"POST")}));
1+
/**
2+
* Copyright 2018 Google Inc. All Rights Reserved.
3+
* Licensed under the Apache License, Version 2.0 (the "License");
4+
* you may not use this file except in compliance with the License.
5+
* You may obtain a copy of the License at
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
* Unless required by applicable law or agreed to in writing, software
8+
* distributed under the License is distributed on an "AS IS" BASIS,
9+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
* See the License for the specific language governing permissions and
11+
* limitations under the License.
12+
*/
13+
14+
// If the loader is already loaded, just stop.
15+
if (!self.define) {
16+
let registry = {};
17+
18+
// Used for `eval` and `importScripts` where we can't get script URL by other means.
19+
// In both cases, it's safe to use a global var because those functions are synchronous.
20+
let nextDefineUri;
21+
22+
const singleRequire = (uri, parentUri) => {
23+
uri = new URL(uri + ".js", parentUri).href;
24+
return registry[uri] || (
25+
26+
new Promise(resolve => {
27+
if ("document" in self) {
28+
const script = document.createElement("script");
29+
script.src = uri;
30+
script.onload = resolve;
31+
document.head.appendChild(script);
32+
} else {
33+
nextDefineUri = uri;
34+
importScripts(uri);
35+
resolve();
36+
}
37+
})
38+
39+
.then(() => {
40+
let promise = registry[uri];
41+
if (!promise) {
42+
throw new Error(`Module ${uri} didn’t register its module`);
43+
}
44+
return promise;
45+
})
46+
);
47+
};
48+
49+
self.define = (depsNames, factory) => {
50+
const uri = nextDefineUri || ("document" in self ? document.currentScript.src : "") || location.href;
51+
if (registry[uri]) {
52+
// Module is already loading or loaded.
53+
return;
54+
}
55+
let exports = {};
56+
const require = depUri => singleRequire(depUri, uri);
57+
const specialDeps = {
58+
module: { uri },
59+
exports,
60+
require
61+
};
62+
registry[uri] = Promise.all(depsNames.map(
63+
depName => specialDeps[depName] || require(depName)
64+
)).then(deps => {
65+
factory(...deps);
66+
return exports;
67+
});
68+
};
69+
}
70+
define(['./workbox-6e90ec2f'], (function (workbox) { 'use strict';
71+
72+
self.addEventListener('message', event => {
73+
if (event.data && event.data.type === 'SKIP_WAITING') {
74+
self.skipWaiting();
75+
}
76+
});
77+
78+
/**
79+
* The precacheAndRoute() method efficiently caches and responds to
80+
* requests for URLs in the manifest.
81+
* See https://goo.gl/S9QRab
82+
*/
83+
workbox.precacheAndRoute([{
84+
"url": "index.html",
85+
"revision": "0.bh272g909ug"
86+
}], {});
87+
workbox.cleanupOutdatedCaches();
88+
workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), {
89+
allowlist: [/^\/$/]
90+
}));
91+
workbox.registerRoute(/^https:\/\/fonts\.googleapis\.com\/.*/i, new workbox.CacheFirst({
92+
"cacheName": "google-fonts-cache",
93+
plugins: [new workbox.ExpirationPlugin({
94+
maxEntries: 10,
95+
maxAgeSeconds: 31536000
96+
}), new workbox.CacheableResponsePlugin({
97+
statuses: [0, 200]
98+
})]
99+
}), 'GET');
100+
workbox.registerRoute(/\/api\/.*\/*.json/, new workbox.NetworkOnly({
101+
plugins: [new workbox.BackgroundSyncPlugin("syncQueue", {
102+
maxRetentionTime: 1440
103+
})]
104+
}), 'POST');
105+
106+
}));

dev-dist/workbox-507d0293.js

-1
This file was deleted.

dev-dist/workbox-57eab708.js

-1
This file was deleted.

0 commit comments

Comments
 (0)