diff --git a/dist/worker.js b/dist/worker.js deleted file mode 100644 index e11c8fc..0000000 --- a/dist/worker.js +++ /dev/null @@ -1 +0,0 @@ -!function(a){var i={};function p(t){if(i[t])return i[t].exports;var n=i[t]={i:t,l:!1,exports:{}};return a[t].call(n.exports,n,n.exports,p),n.l=!0,n.exports}p.m=a,p.c=i,p.d=function(a,i,t){p.o(a,i)||Object.defineProperty(a,i,{enumerable:!0,get:t})},p.r=function(a){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},p.t=function(a,i){if(1&i&&(a=p(a)),8&i)return a;if(4&i&&"object"==typeof a&&a&&a.__esModule)return a;var t=Object.create(null);if(p.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:a}),2&i&&"string"!=typeof a)for(var n in a)p.d(t,n,function(i){return a[i]}.bind(null,n));return t},p.n=function(a){var i=a&&a.__esModule?function(){return a.default}:function(){return a};return p.d(i,"a",i),i},p.o=function(a,i){return Object.prototype.hasOwnProperty.call(a,i)},p.p="",p(p.s=1)}([function(a,i,p){"use strict";var t=this&&this.__awaiter||function(a,i,p,t){return new(p||(p=Promise))((function(n,o){function e(a){try{c(t.next(a))}catch(a){o(a)}}function l(a){try{c(t.throw(a))}catch(a){o(a)}}function c(a){var i;a.done?n(a.value):(i=a.value,i instanceof p?i:new p((function(a){a(i)}))).then(e,l)}c((t=t.apply(a,i||[])).next())}))},n=this&&this.__generator||function(a,i){var p,t,n,o,e={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(p)throw new TypeError("Generator is already executing.");for(;e;)try{if(p=1,t&&(n=2&o[0]?t.return:o[0]?t.throw||((n=t.return)&&n.call(t),0):t.next)&&!(n=n.call(t,o[1])).done)return n;switch(t=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return e.label++,{value:o[1],done:!1};case 5:e.label++,t=o[1],o=[0];continue;case 7:o=e.ops.pop(),e.trys.pop();continue;default:if(!(n=e.trys,(n=n.length>0&&n[n.length-1])||6!==o[0]&&2!==o[0])){e=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]{try{a.respondWith(async function(a){const i=new URL(a.request.url);let p={cacheControl:{browserTTL:0,edgeTTL:0,bypassCache:!1}};i.pathname.match(/(.*\.(ac3|avi|bmp|br|bz2|css|cue|dat|doc|docx|dts|eot|exe|flv|gif|gz|ico|img|iso|jpeg|jpg|js|json|map|mkv|mp3|mp4|mpeg|mpg|ogg|pdf|png|ppt|pptx|qt|rar|rm|svg|swf|tar|tgz|ttf|txt|wav|webp|webm|webmanifest|woff|woff2|xls|xlsx|xml|zip))$/)&&(p.cacheControl.edgeTTL=2592e3,p.cacheControl.browserTTL=2592e3);try{return await Object(t.getAssetFromKV)(a,p)}catch(i){try{let i=await Object(t.getAssetFromKV)(a,{mapRequestToAsset:a=>new Request(new URL(a.url).origin+"/404.html",a)});return new Response(i.body,{...i,status:404})}catch(a){}return new Response(i.message||i.toString(),{status:500})}}(a))}catch(i){0,a.respondWith(new Response("Internal Error",{status:500}))}})},function(a,i,p){"use strict";var t=p(3);a.exports=new t(p(4),p(5))},function(a,i,p){"use strict";function t(){this._types=Object.create(null),this._extensions=Object.create(null);for(var a=0;a