q78kgblog 0.0.0-1730686650344 → 0.0.0-1730689589752

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/404.html +1 -1
  2. package/about/index.html +1 -1
  3. package/archives/2023/02/index.html +1 -1
  4. package/archives/2023/04/index.html +1 -1
  5. package/archives/2023/05/index.html +1 -1
  6. package/archives/2023/08/index.html +1 -1
  7. package/archives/2023/09/index.html +1 -1
  8. package/archives/2023/index.html +1 -1
  9. package/archives/2024/01/index.html +1 -1
  10. package/archives/2024/02/index.html +1 -1
  11. package/archives/2024/index.html +1 -1
  12. package/archives/index.html +1 -1
  13. package/atom.xml +9 -9
  14. package/bangumis/index.html +1 -1
  15. package/bigpie/index.html +1 -1
  16. package/categories/Hexo/index.html +1 -1
  17. package/categories/index.html +1 -1
  18. package/categories//345/271/264/347/273/210/346/200/273/347/273/223/index.html +1 -1
  19. package/categories//347/264/240/346/235/220/index.html +1 -1
  20. package/categories//351/227/262/350/201/212/346/235/202/350/260/210/index.html +1 -1
  21. package/content.json +1 -1
  22. package/css/ariasakablog.css +1 -1
  23. package/fcircle/index.html +1 -1
  24. package/fontawesome/index.html +1 -1
  25. package/index.html +1 -1
  26. package/js/day.js +1 -1
  27. package/js/fixbugpjax.js +1 -1
  28. package/js/settings.js +2 -2
  29. package/links/index.html +1 -1
  30. package/othersite/index.html +1 -1
  31. package/package.json +1 -1
  32. package/posts/164ef646/index.html +1 -1
  33. package/posts/228c2ef8/index.html +1 -1
  34. package/posts/a9a6c1fb/index.html +1 -1
  35. package/posts/ad884987/index.html +1 -1
  36. package/posts/c262e439/index.html +1 -1
  37. package/posts/c81531cf/index.html +1 -1
  38. package/posts/de1f83f4/index.html +1 -1
  39. package/posts/e54f7476/index.html +1 -1
  40. package/random.html +1 -1
  41. package/sitemap.txt +1 -1
  42. package/sitemap.xml +2 -2
  43. package/sw.js +2 -2
  44. package/tags/AI/index.html +1 -1
  45. package/tags/Butterfly/index.html +1 -1
  46. package/tags/Cloudflare/index.html +1 -1
  47. package/tags/DiffSinger/index.html +1 -1
  48. package/tags/Hexo/index.html +1 -1
  49. package/tags/Next/index.html +1 -1
  50. package/tags/RAID/index.html +1 -1
  51. package/tags/Vercel/index.html +1 -1
  52. package/tags/Workers/index.html +1 -1
  53. package/tags/index.html +1 -1
  54. package/tags//344/270/273/351/242/230/index.html +1 -1
  55. package/tags//345/206/231/344/275/234/index.html +1 -1
  56. package/tags//345/245/263/346/200/247/346/204/217/350/257/206/index.html +1 -1
  57. package/tags//345/255/246/344/271/240/index.html +1 -1
  58. package/tags//345/256/266/351/207/214/344/272/221/index.html +1 -1
  59. package/tags//345/271/264/347/273/210/346/200/273/347/273/223/index.html +1 -1
  60. package/tags//346/212/230/350/205/276/index.html +1 -1
  61. package/tags//346/227/245/345/270/270/index.html +1 -1
  62. package/tags//346/234/215/345/212/241/345/231/250/index.html +1 -1
  63. package/tags//346/265/252/346/275/256/index.html +1 -1
  64. package/tags//347/256/200/347/210/261/index.html +1 -1
  65. package/tags//350/207/252/345/212/250/346/240/207/346/263/250/index.html +1 -1
  66. package/tags//350/256/272/346/226/207/index.html +1 -1
  67. package/tags//350/260/267/346/255/214/347/277/273/350/257/221/index.html +1 -1
  68. package/tags//350/264/237/350/275/275/345/235/207/350/241/241/index.html +1 -1
  69. package/tags//351/207/221/345/217/245/index.html +1 -1
  70. package/tags//351/255/224/346/224/271/index.html +1 -1
package/random.html CHANGED
@@ -1 +1 @@
1
- <body onload="dogo()"><script>function dogo(){var t=["https://yumetsuki.moe/posts/c262e439/","https://yumetsuki.moe/posts/164ef646/","https://yumetsuki.moe/posts/e54f7476/","https://yumetsuki.moe/posts/228c2ef8/","https://yumetsuki.moe/posts/ad884987/","https://yumetsuki.moe/posts/a9a6c1fb/","https://yumetsuki.moe/posts/c81531cf/","https://yumetsuki.moe/posts/de1f83f4/","https://yumetsuki.moe/manifest.json","https://yumetsuki.moe/othersite/index.html","https://yumetsuki.moe/tags/index.html","https://yumetsuki.moe/links/index.html","https://yumetsuki.moe/about/index.html","https://yumetsuki.moe/bangumis/index.html","https://yumetsuki.moe/bigpie/index.html","https://yumetsuki.moe/categories/index.html","https://yumetsuki.moe/fcircle/index.html","https://yumetsuki.moe/fontawesome/index.html"];n=Math.floor(Math.random()*t.length),location.href=t[n]}</script></body>
1
+ <body onload="dogo()"><script>function dogo(){var t=["https://yumetsuki.moe/posts/c262e439/","https://yumetsuki.moe/posts/164ef646/","https://yumetsuki.moe/posts/e54f7476/","https://yumetsuki.moe/posts/228c2ef8/","https://yumetsuki.moe/posts/ad884987/","https://yumetsuki.moe/posts/a9a6c1fb/","https://yumetsuki.moe/posts/c81531cf/","https://yumetsuki.moe/posts/de1f83f4/","https://yumetsuki.moe/manifest.json","https://yumetsuki.moe/othersite/index.html","https://yumetsuki.moe/tags/index.html","https://yumetsuki.moe/links/index.html","https://yumetsuki.moe/bangumis/index.html","https://yumetsuki.moe/about/index.html","https://yumetsuki.moe/bigpie/index.html","https://yumetsuki.moe/categories/index.html","https://yumetsuki.moe/fcircle/index.html","https://yumetsuki.moe/fontawesome/index.html"];n=Math.floor(Math.random()*t.length),location.href=t[n]}</script></body>
package/sitemap.txt CHANGED
@@ -10,8 +10,8 @@ https://yumetsuki.moe/manifest.json
10
10
  https://yumetsuki.moe/othersite/index.html
11
11
  https://yumetsuki.moe/tags/index.html
12
12
  https://yumetsuki.moe/links/index.html
13
- https://yumetsuki.moe/about/index.html
14
13
  https://yumetsuki.moe/bangumis/index.html
14
+ https://yumetsuki.moe/about/index.html
15
15
  https://yumetsuki.moe/bigpie/index.html
16
16
  https://yumetsuki.moe/categories/index.html
17
17
  https://yumetsuki.moe/fcircle/index.html
package/sitemap.xml CHANGED
@@ -110,7 +110,7 @@
110
110
  </url>
111
111
 
112
112
  <url>
113
- <loc>https://yumetsuki.moe/about/index.html</loc>
113
+ <loc>https://yumetsuki.moe/bangumis/index.html</loc>
114
114
 
115
115
  <lastmod>2024-11-04</lastmod>
116
116
 
@@ -119,7 +119,7 @@
119
119
  </url>
120
120
 
121
121
  <url>
122
- <loc>https://yumetsuki.moe/bangumis/index.html</loc>
122
+ <loc>https://yumetsuki.moe/about/index.html</loc>
123
123
 
124
124
  <lastmod>2024-11-04</lastmod>
125
125
 
package/sw.js CHANGED
@@ -1,2 +1,2 @@
1
- (function(m,f){typeof module=="object"&&typeof module.exports=="object"?f():typeof define=="function"&&define.amd?define([],f):(m=typeof globalThis<"u"?globalThis:m||self)&&f()})(this,function(){function m(u,r,s,t,n,a,i){try{var o=u[a](i),c=o.value}catch(e){s(e);return}o.done?r(c):Promise.resolve(c).then(t,n)}function f(u){return function(){var r=this,s=arguments;return new Promise(function(t,n){var a=u.apply(r,s);function i(c){m(a,t,n,i,o,"next",c)}function o(c){m(a,t,n,i,o,"throw",c)}i(void 0)})}}function l(u,r){var s,t,n,a,i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(e){return function(p){return c([e,p])}}function c(e){if(s)throw new TypeError("Generator is already executing.");for(;i;)try{if(s=1,t&&(n=e[0]&2?t.return:e[0]?t.throw||((n=t.return)&&n.call(t),0):t.next)&&!(n=n.call(t,e[1])).done)return n;switch(t=0,n&&(e=[e[0]&2,n.value]),e[0]){case 0:case 1:n=e;break;case 4:return i.label++,{value:e[1],done:!1};case 5:i.label++,t=e[1],e=[0];continue;case 7:e=i.ops.pop(),i.trys.pop();continue;default:if(n=i.trys,!(n=n.length>0&&n[n.length-1])&&(e[0]===6||e[0]===2)){i=0;continue}if(e[0]===3&&(!n||e[1]>n[0]&&e[1]<n[3])){i.label=e[1];break}if(e[0]===6&&i.label<n[1]){i.label=n[1],n=e;break}if(n&&i.label<n[2]){i.label=n[2],i.ops.push(e);break}n[2]&&i.ops.pop(),i.trys.pop();continue}e=r.call(u,i)}catch(p){e=[6,p],t=0}finally{s=n=0}if(e[0]&5)throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}}var h={CACHE_NAME:"ICDNCache",UPDATE_INTERVAL:6e4,STARTUP_DELAY:5e3,TARGET_DOMAIN:"yumetsuki.moe",DEFAULT_VERSION:"latest"},b=[];self.addEventListener("install",function(){var u=f(function(r){return l(this,function(s){return self.skipWaiting(),r.waitUntil(caches.open(h.CACHE_NAME).then(function(t){return console.log("Opened cache"),t.addAll(b)})),[2]})});return function(r){return u.apply(this,arguments)}}()),self.addEventListener("fetch",function(){var u=f(function(r){return l(this,function(s){try{r.respondWith(T(r.request))}catch(t){console.error("Fetch error:",t),d(urlPath).indexOf(".html")!==-1?r.respondWith(fetch("/404.html")):r.respondWith(y(r.request,t.message))}return[2]})});return function(r){return u.apply(this,arguments)}}());var y=function(){var u=f(function(r,s){return l(this,function(t){return[2,new Response(`<h1>CDN\u5206\u6D41\u5668\u9047\u5230\u4E86\u81F4\u547D\u9519\u8BEF</h1>
2
- <b>`.concat(s,"</b>"),{headers:{"content-type":"text/html; charset=utf-8"}})]})});return function(s,t){return u.apply(this,arguments)}}(),g=function(){var u=f(function(r,s){var t,n;return l(this,function(a){return t=new AbortController,n=function(){var i=f(function(o){var c;return l(this,function(e){switch(e.label){case 0:return c=Response.bind,[4,o.arrayBuffer()];case 1:return[2,new(c.apply(Response,[void 0,e.sent(),{status:o.status,headers:o.headers}]))]}})});return function(c){return i.apply(this,arguments)}}(),[2,(Promise.any||(Promise.any=function(i){return new Promise(function(o,c){i=Array.isArray(i)?i:[];var e=i.length,p=[];if(e===0)return c(new AggregateError("All promises were rejected"));i.forEach(function(R){R.then(function(v){o(v)},function(v){e--,p.push(v),e===0&&c(new AggregateError(p))})})})}),Promise.any(r.map(function(i){return new Promise(function(o,c){fetch(i,{signal:t.signal}).then(n).then(function(e){e.status==200?(t.abort(),o(e)):c(e)})})})))]})});return function(s,t){return u.apply(this,arguments)}}(),d=function(u){return u=u.split("?")[0].split("#")[0],u.match(/\/$/)&&(u+="index"),u.match(/\.[a-zA-Z]+$/)||(u+=".html"),u},A=function(u,r,s){var t=["https://cdn.cbd.int/".concat(u,"@").concat(r)];for(var n in t)t[n]+=s;return t},w=["https://mirrors.cloud.tencent.com/npm/q78kgblog/latest"],x=function(){var u=f(function(r){return l(this,function(s){return[2,g(r,r[0]).then(function(t){return t.json()}).then(res.version)]})});return function(s){return u.apply(this,arguments)}}();self.db={read:function(u,r){return r||(r={type:"text"}),new Promise(function(s,t){caches.open(h.CACHE_NAME).then(function(n){n.match(new Request("https://LOCALCACHE/".concat(encodeURIComponent(u)))).then(function(a){a||s(null),a.text().then(function(i){return s(i)})}).catch(function(){s(null)})})})},write:function(u,r){return new Promise(function(s,t){caches.open(h.CACHE_NAME).then(function(n){n.put(new Request("https://LOCALCACHE/".concat(encodeURIComponent(u))),new Response(r)),s()}).catch(function(){t()})})}};var _=function(){var u=f(function(r){return l(this,function(s){return[2,g(r,r[0]).then(function(t){return t.json()}).then(function(){var t=f(function(n){return l(this,function(a){switch(a.label){case 0:return[4,db.write("blog_version",n.version)];case 1:return a.sent(),[2]}})});return function(n){return t.apply(this,arguments)}}())]})});return function(s){return u.apply(this,arguments)}}();setInterval(f(function(){return l(this,function(u){switch(u.label){case 0:return[4,_(w)];case 1:return u.sent(),[2]}})}),h.UPDATE_INTERVAL),setTimeout(f(function(){return l(this,function(u){switch(u.label){case 0:return[4,_(w)];case 1:return u.sent(),[2]}})}),h.STARTUP_DELAY);var E={html:"text/html",htm:"text/html",js:"text/javascript",css:"text/css",jpg:"image/jpeg",jpeg:"image/jpeg",ico:"image/x-icon",png:"image/png"};function C(u){var r=u.split(".").pop().toLowerCase();return E[r]||"text/plain"}var T=function(){var u=f(function(r){var s,t,n,a,i,o,c;return l(this,function(e){switch(e.label){case 0:return s=new URL(r.url),t=s.pathname,n=s.hostname,n!==h.TARGET_DOMAIN?[3,6]:[4,db.read("blog_version")];case 1:a=e.sent()||h.DEFAULT_VERSION,e.label=2;case 2:return e.trys.push([2,5,,6]),[4,g(A("q78kgblog",a,d(t)))];case 3:return[4,e.sent().arrayBuffer()];case 4:return i=e.sent(),o=d(t).split("/").pop().split("\\").pop(),[2,new Response(i,{headers:{"Content-Type":"".concat(C(o),";charset=utf-8")}})];case 5:return c=e.sent(),[2,(console.error("Resource fetch error:",c),y(r,"\u8D44\u6E90\u52A0\u8F7D\u5931\u8D25"))];case 6:return[2,fetch(r)]}})});return function(s){return u.apply(this,arguments)}}()});
1
+ (function(m,f){typeof module=="object"&&typeof module.exports=="object"?f():typeof define=="function"&&define.amd?define([],f):(m=typeof globalThis<"u"?globalThis:m||self)&&f()})(this,function(){function m(u,r,s,n,e,a,i){try{var o=u[a](i),c=o.value}catch(t){s(t);return}o.done?r(c):Promise.resolve(c).then(n,e)}function f(u){return function(){var r=this,s=arguments;return new Promise(function(n,e){var a=u.apply(r,s);function i(c){m(a,n,e,i,o,"next",c)}function o(c){m(a,n,e,i,o,"throw",c)}i(void 0)})}}function l(u,r){var s,n,e,a,i={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(t){return function(h){return c([t,h])}}function c(t){if(s)throw new TypeError("Generator is already executing.");for(;i;)try{if(s=1,n&&(e=t[0]&2?n.return:t[0]?n.throw||((e=n.return)&&e.call(n),0):n.next)&&!(e=e.call(n,t[1])).done)return e;switch(n=0,e&&(t=[t[0]&2,e.value]),t[0]){case 0:case 1:e=t;break;case 4:return i.label++,{value:t[1],done:!1};case 5:i.label++,n=t[1],t=[0];continue;case 7:t=i.ops.pop(),i.trys.pop();continue;default:if(e=i.trys,!(e=e.length>0&&e[e.length-1])&&(t[0]===6||t[0]===2)){i=0;continue}if(t[0]===3&&(!e||t[1]>e[0]&&t[1]<e[3])){i.label=t[1];break}if(t[0]===6&&i.label<e[1]){i.label=e[1],e=t;break}if(e&&i.label<e[2]){i.label=e[2],i.ops.push(t);break}e[2]&&i.ops.pop(),i.trys.pop();continue}t=r.call(u,i)}catch(h){t=[6,h],n=0}finally{s=e=0}if(t[0]&5)throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}var g={CACHE_NAME:"ICDNCache",UPDATE_INTERVAL:6e4,STARTUP_DELAY:5e3,TARGET_DOMAIN:"yumetsuki.moe",DEFAULT_VERSION:"latest"},E=[];self.addEventListener("install",function(){var u=f(function(r){return l(this,function(s){return self.skipWaiting(),r.waitUntil(caches.open(g.CACHE_NAME).then(function(n){return console.log("Opened cache"),n.addAll(E)})),[2]})});return function(r){return u.apply(this,arguments)}}()),self.addEventListener("fetch",function(){var u=f(function(r){return l(this,function(s){try{r.respondWith(R(r.request))}catch(n){console.error("Fetch error:",n),v(urlPath).indexOf(".html")!==-1?r.respondWith(fetch("/404.html")):r.respondWith(y(r.request,n.message))}return[2]})});return function(r){return u.apply(this,arguments)}}());var y=function(){var u=f(function(r,s){return l(this,function(n){return[2,new Response(`<h1>CDN\u5206\u6D41\u5668\u9047\u5230\u4E86\u81F4\u547D\u9519\u8BEF</h1>
2
+ <b>`.concat(s,"</b>"),{headers:{"content-type":"text/html; charset=utf-8"}})]})});return function(s,n){return u.apply(this,arguments)}}(),d=function(){var u=f(function(r,s){var n,e;return l(this,function(a){return n=new AbortController,e=function(){var i=f(function(o){var c;return l(this,function(t){switch(t.label){case 0:return c=Response.bind,[4,o.arrayBuffer()];case 1:return[2,new(c.apply(Response,[void 0,t.sent(),{status:o.status,headers:o.headers}]))]}})});return function(c){return i.apply(this,arguments)}}(),[2,(Promise.any||(Promise.any=function(i){return new Promise(function(o,c){i=Array.isArray(i)?i:[];var t=i.length,h=[];if(t===0)return c(new AggregateError("All promises were rejected"));i.forEach(function(p){p.then(function(w){o(w)},function(w){t--,h.push(w),t===0&&c(new AggregateError(h))})})})}),Promise.any(r.map(function(i){return new Promise(function(o,c){fetch(i,{signal:n.signal}).then(e).then(function(t){t.status==200?(n.abort(),o(t)):c(t)})})})))]})});return function(s,n){return u.apply(this,arguments)}}(),v=function(u){return u=u.split("?")[0].split("#")[0],u.match(/\/$/)&&(u+="index"),u.match(/\.[a-zA-Z]+$/)||(u+=".html"),u},A=function(u,r,s){var n=["https://cdn.cbd.int/".concat(u,"@").concat(r)];for(var e in n)n[e]+=s;return n},_=["https://mirrors.cloud.tencent.com/npm/q78kgblog/latest"],x=function(){var u=f(function(r){return l(this,function(s){return[2,d(r,r[0]).then(function(n){return n.json()}).then(function(n){return n.version})]})});return function(s){return u.apply(this,arguments)}}();self.db={read:function(u,r){return r||(r={type:"text"}),new Promise(function(s,n){caches.open(g.CACHE_NAME).then(function(e){e.match(new Request("https://LOCALCACHE/".concat(encodeURIComponent(u)))).then(function(a){a||s(null),a.text().then(function(i){return s(i)})}).catch(function(){s(null)})})})},write:function(u,r){return new Promise(function(s,n){caches.open(g.CACHE_NAME).then(function(e){e.put(new Request("https://LOCALCACHE/".concat(encodeURIComponent(u))),new Response(r)),s()}).catch(function(){n()})})}};var b=function(){var u=f(function(r){return l(this,function(s){return[2,d(r,r[0]).then(function(n){return n.json()}).then(function(){var n=f(function(e){return l(this,function(a){switch(a.label){case 0:return[4,db.write("blog_version",e.version)];case 1:return a.sent(),[2]}})});return function(e){return n.apply(this,arguments)}}())]})});return function(s){return u.apply(this,arguments)}}();setInterval(f(function(){return l(this,function(u){switch(u.label){case 0:return[4,b(_)];case 1:return u.sent(),[2]}})}),g.UPDATE_INTERVAL),setTimeout(f(function(){return l(this,function(u){switch(u.label){case 0:return[4,b(_)];case 1:return u.sent(),[2]}})}),g.STARTUP_DELAY);var C={html:"text/html",htm:"text/html",js:"text/javascript",css:"text/css",jpg:"image/jpeg",jpeg:"image/jpeg",ico:"image/x-icon",png:"image/png"};function T(u){var r=u.split(".").pop().toLowerCase();return C[r]||"text/plain"}var R=function(){var u=f(function(r){var s,n,e,a,i,o,c,t,h;return l(this,function(p){switch(p.label){case 0:if(s=new URL(r.url),n=s.pathname,e=s.hostname,e!==g.TARGET_DOMAIN)return[3,6];p.label=1;case 1:return p.trys.push([1,5,,6]),[4,db.read("blog_version")];case 2:if(a=p.sent()||g.DEFAULT_VERSION,i=A("q78kgblog",a,v(n)),!i||i.length===0)throw new Error("\u65E0\u6548\u7684\u8D44\u6E90URL");return[4,d(i)];case 3:if(o=p.sent(),!o)throw new Error("\u8D44\u6E90\u83B7\u53D6\u5931\u8D25");return[4,o.arrayBuffer()];case 4:return c=p.sent(),t=v(n).split("/").pop().split("\\").pop(),[2,new Response(c,{headers:{"Content-Type":"".concat(T(t),";charset=utf-8")}})];case 5:return h=p.sent(),[2,(console.error("Resource fetch error:",h),y(r,"\u8D44\u6E90\u52A0\u8F7D\u5931\u8D25: ".concat(h.message)))];case 6:return[2,fetch(r)]}})});return function(s){return u.apply(this,arguments)}}()});