mirror of
https://github.com/iptv-org/iptv-org.github.io.git
synced 2025-05-13 02:20:06 -04:00
Rebuild /docs
This commit is contained in:
parent
3bf37aa123
commit
f0ff03f9cf
114 changed files with 199 additions and 1626 deletions
|
@ -1,61 +1,56 @@
|
|||
const m = [
|
||||
"/_app/immutable/chunks/0-2c3b3d68.js",
|
||||
"/_app/immutable/chunks/1-ff9c490e.js",
|
||||
"/_app/immutable/chunks/2-8806dd6f.js",
|
||||
"/_app/immutable/chunks/3-0c1d7edf.js",
|
||||
"/_app/immutable/assets/HTMLPreview-0d24e5da.css",
|
||||
"/_app/immutable/chunks/HTMLPreview-edbf9cc3.js",
|
||||
"/_app/immutable/chunks/_layout-da46b06b.js",
|
||||
"/_app/immutable/chunks/index-44df08c7.js",
|
||||
"/_app/immutable/chunks/singletons-b6a05648.js",
|
||||
"/_app/immutable/chunks/stores-500e7bc6.js",
|
||||
"/_app/immutable/start-17d442ae.js",
|
||||
"/_app/immutable/components/error.svelte-a7192f92.js",
|
||||
"/_app/immutable/assets/_layout-6748d0a2.css",
|
||||
"/_app/immutable/modules/pages/_layout.js-9cbb603b.js",
|
||||
"/_app/immutable/components/pages/_layout.svelte-3df27be0.js",
|
||||
"/_app/immutable/assets/_page-dfa854c9.css",
|
||||
"/_app/immutable/components/pages/_page.svelte-89a06bc0.js",
|
||||
"/_app/immutable/components/pages/channel/_page.svelte-be2bdf96.js"
|
||||
], h = [
|
||||
"/.nojekyll",
|
||||
"/favicon.png",
|
||||
"/logo_512.png",
|
||||
"/manifest.json"
|
||||
], o = "1683168466183", i = `cache_${o}`, p = m.concat(h), r = new Set(p);
|
||||
const s = /* @__PURE__ */ location.pathname.split("/").slice(0, -1).join("/"), h = [
|
||||
s + "/_app/immutable/entry/app.70c4c452.js",
|
||||
s + "/_app/immutable/assets/0.abdbdac9.css",
|
||||
s + "/_app/immutable/nodes/0.5ae73821.js",
|
||||
s + "/_app/immutable/nodes/1.8e8ad9b1.js",
|
||||
s + "/_app/immutable/assets/2.dfa854c9.css",
|
||||
s + "/_app/immutable/nodes/2.dfaa40b7.js",
|
||||
s + "/_app/immutable/nodes/3.cc7ef865.js",
|
||||
s + "/_app/immutable/assets/HTMLPreview.0d24e5da.css",
|
||||
s + "/_app/immutable/chunks/HTMLPreview.47874c98.js",
|
||||
s + "/_app/immutable/chunks/index.a38b3e2d.js",
|
||||
s + "/_app/immutable/chunks/singletons.d3f61ab1.js",
|
||||
s + "/_app/immutable/chunks/stores.d306f65a.js",
|
||||
s + "/_app/immutable/entry/start.faf4cd9b.js"
|
||||
], m = [
|
||||
s + "/.nojekyll",
|
||||
s + "/favicon.png",
|
||||
s + "/logo_512.png",
|
||||
s + "/manifest.json"
|
||||
], i = "1695055356819", l = `cache_${i}`, r = h.concat(m), d = new Set(r);
|
||||
self.addEventListener("install", (e) => {
|
||||
e.waitUntil(
|
||||
caches.open(i).then((s) => s.addAll(p)).then(() => {
|
||||
caches.open(l).then((t) => t.addAll(r)).then(() => {
|
||||
self.skipWaiting();
|
||||
}).catch(console.error)
|
||||
);
|
||||
});
|
||||
self.addEventListener("activate", (e) => {
|
||||
e.waitUntil(
|
||||
caches.keys().then(async (s) => {
|
||||
for (const t of s)
|
||||
t !== i && await caches.delete(t);
|
||||
caches.keys().then(async (t) => {
|
||||
for (const a of t)
|
||||
a !== l && await caches.delete(a);
|
||||
self.clients.claim();
|
||||
}).catch(console.error)
|
||||
);
|
||||
});
|
||||
async function u(e) {
|
||||
const s = await caches.open(`offline_${o}`);
|
||||
const t = await caches.open(`offline_${i}`);
|
||||
try {
|
||||
const t = await fetch(e);
|
||||
return s.put(e, t.clone()), t;
|
||||
} catch (t) {
|
||||
const a = await s.match(e);
|
||||
if (a)
|
||||
return a;
|
||||
throw t;
|
||||
const a = await fetch(e);
|
||||
return t.put(e, a.clone()), a;
|
||||
} catch (a) {
|
||||
const c = await t.match(e);
|
||||
if (c)
|
||||
return c;
|
||||
throw a;
|
||||
}
|
||||
}
|
||||
self.addEventListener("fetch", (e) => {
|
||||
if (e.request.method !== "GET" || e.request.headers.has("range"))
|
||||
return;
|
||||
const s = new URL(e.request.url), t = s.protocol.startsWith("http"), a = s.hostname === self.location.hostname && s.port !== self.location.port, c = s.host === self.location.host, n = c && r.has(s.pathname), l = e.request.cache === "only-if-cached" && !n;
|
||||
t && c && !a && !l && e.respondWith(
|
||||
(async () => n && await caches.match(e.request) || u(e.request))()
|
||||
const t = new URL(e.request.url), a = t.protocol.startsWith("http"), c = t.hostname === self.location.hostname && t.port !== self.location.port, n = t.host === self.location.host, o = n && d.has(t.pathname), p = e.request.cache === "only-if-cached" && !o;
|
||||
a && n && !c && !p && e.respondWith(
|
||||
(async () => o && await caches.match(e.request) || u(e.request))()
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue