-
Notifications
You must be signed in to change notification settings - Fork 1
/
sw-esm.js
2 lines (2 loc) · 64 KB
/
sw-esm.js
1
2
!function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var r={};e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)e.d(n,o,function(e){return t[e]}.bind(null,o));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="./",e(e.s="9/Ks")}({"2Gk3":function(){"use strict";try{self["workbox:cacheable-response:6.5.3"]&&_()}catch(t){}},"9/Ks":function(t,e,r){"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(i=void 0,i=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o.key,"string"),"symbol"===n(i)?i:String(i)),o)}var i}function i(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function a(t){var e="function"==typeof Map?new Map:void 0;return a=function(t){function r(){return u(t,arguments,f(this).constructor)}if(null===t||-1===Function.toString.call(t).indexOf("[native code]"))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),l(r,t)},a(t)}function u(){return u=c()?Reflect.construct.bind():function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&l(o,r.prototype),o},u.apply(null,arguments)}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function l(t,e){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},l(t,e)}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function h(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=void 0,o=function(t,e){if("object"!==y(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n.key,"string"),"symbol"===y(o)?o:String(o)),n)}var o}function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function v(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=void 0,o=function(t,e){if("object"!==p(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n.key,"string"),"symbol"===p(o)?o:String(o)),n)}var o}function d(t,e){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},d(t,e)}function b(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=m(t);if(e){var o=m(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return function(t,e){if(e&&("object"===p(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,r)}}function m(t){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},m(t)}function g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}function w(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function S(){return S=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}()?Reflect.construct.bind():function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&P(o,r.prototype),o},S.apply(null,arguments)}function P(t,e){return P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},P(t,e)}function j(t){return function(t){if(Array.isArray(t))return _(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||O(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(t,e){if(t){if("string"==typeof t)return _(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_(t,e):void 0}}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function R(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=void 0,o=function(t,e){if("object"!==g(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==g(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n.key,"string"),"symbol"===g(o)?o:String(o)),n)}var o}function k(t,e,r){var n;if("string"==typeof t){var o=new URL(t,location.href);n=new me((function(t){return t.url.href===o.href}),e,r)}else if(t instanceof RegExp)n=new ge(t,e,r);else if("function"==typeof t)n=new me(t,e,r);else{if(!(t instanceof me))throw new de("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});n=t}return Pe().registerRoute(n),n}function T(t,e){var r=e();return t.waitUntil(r),r}function C(t){if(!t)throw new de("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof t){var e=new URL(t,location.href);return{cacheKey:e.href,url:e.href}}var r=t.revision,n=t.url;if(!n)throw new de("add-to-cache-list-unexpected-type",{entry:t});if(!r){var o=new URL(n,location.href);return{cacheKey:o.href,url:o.href}}var i=new URL(n,location.href),a=new URL(n,location.href);return i.searchParams.set(Re,r),{cacheKey:i.href,url:a.href}}function A(t){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},A(t)}function E(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function x(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){function i(t){E(u,n,o,i,a,"next",t)}function a(t){E(u,n,o,i,a,"throw",t)}var u=t.apply(e,r);i(void 0)}))}}function U(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=void 0,o=function(t,e){if("object"!==A(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==A(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n.key,"string"),"symbol"===A(o)?o:String(o)),n)}var o}function I(t,e,r){return e&&U(t.prototype,e),r&&U(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function q(t){return q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},q(t)}function N(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function L(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=void 0,o=function(t,e){if("object"!==q(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==q(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n.key,"string"),"symbol"===q(o)?o:String(o)),n)}var o}function K(t,e,r){return e&&L(t.prototype,e),r&&L(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function M(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function W(){var t;return t=function*(t,e){var r=null;if(t.url&&(r=new URL(t.url).origin),r!==self.location.origin)throw new de("cross-origin-copy-response",{origin:r});var n=t.clone(),o={headers:new Headers(n.headers),status:n.status,statusText:n.statusText},i=e?e(o):o,a=function(){if(void 0===pe){var t=new Response("");if("body"in t)try{new Response(t.body),pe=!0}catch(t){pe=!1}pe=!1}return pe}()?n.body:yield n.blob();return new Response(a,i)},W=function(){var e=this,r=arguments;return new Promise((function(n,o){function i(t){M(u,n,o,i,a,"next",t)}function a(t){M(u,n,o,i,a,"throw",t)}var u=t.apply(e,r);i(void 0)}))},W.apply(this,arguments)}function D(){return D=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},D.apply(this,arguments)}function B(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function F(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return H(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return H(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function H(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function $(t,e){var r,n=new URL(t),o=F(e);try{for(o.s();!(r=o.n()).done;){n.searchParams.delete(r.value)}}catch(t){o.e(t)}finally{o.f()}return n.href}function G(){var t;return t=function*(t,e,r,n){var o=$(e.url,r);if(e.url===o)return t.match(e,n);var i,a=D(D({},n),{ignoreSearch:!0}),u=F(yield t.keys(e,a));try{for(u.s();!(i=u.n()).done;){var c=i.value;if(o===$(c.url,r))return t.match(c,n)}}catch(t){u.e(t)}finally{u.f()}},G=function(){var e=this,r=arguments;return new Promise((function(n,o){function i(t){B(u,n,o,i,a,"next",t)}function a(t){B(u,n,o,i,a,"throw",t)}var u=t.apply(e,r);i(void 0)}))},G.apply(this,arguments)}function X(t){return X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},X(t)}function V(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=void 0,o=function(t,e){if("object"!==X(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==X(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n.key,"string"),"symbol"===X(o)?o:String(o)),n)}var o}function J(t,e,r){return e&&V(t.prototype,e),r&&V(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Q(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return z(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return z(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function z(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Y(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function Z(){var t;return t=function*(){var t,e=Q(Ae);try{for(e.s();!(t=e.n()).done;){var r=t.value;yield r()}}catch(t){e.e(t)}finally{e.f()}},Z=function(){var e=this,r=arguments;return new Promise((function(n,o){function i(t){Y(u,n,o,i,a,"next",t)}function a(t){Y(u,n,o,i,a,"throw",t)}var u=t.apply(e,r);i(void 0)}))},Z.apply(this,arguments)}function tt(t){return new Promise((function(e){return setTimeout(e,t)}))}function et(t){return et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},et(t)}function rt(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function nt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){function i(t){rt(u,n,o,i,a,"next",t)}function a(t){rt(u,n,o,i,a,"throw",t)}var u=t.apply(e,r);i(void 0)}))}}function ot(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=at(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function it(t){return function(t){if(Array.isArray(t))return ut(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||at(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function at(t,e){if(t){if("string"==typeof t)return ut(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ut(t,e):void 0}}function ut(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function ct(){return ct=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},ct.apply(this,arguments)}function lt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=void 0,o=function(t,e){if("object"!==et(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==et(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n.key,"string"),"symbol"===et(o)?o:String(o)),n)}var o}function ft(t){return"string"==typeof t?new Request(t):t}function st(t){return st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},st(t)}function yt(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=dt(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function ht(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function pt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){function i(t){ht(u,n,o,i,a,"next",t)}function a(t){ht(u,n,o,i,a,"throw",t)}var u=t.apply(e,r);i(void 0)}))}}function vt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(t,e)||dt(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dt(t,e){if(t){if("string"==typeof t)return bt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?bt(t,e):void 0}}function bt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function mt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=void 0,o=function(t,e){if("object"!==st(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==st(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n.key,"string"),"symbol"===st(o)?o:String(o)),n)}var o}function gt(t){return gt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gt(t)}function wt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(t,e)||St(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function St(t,e){if(t){if("string"==typeof t)return Pt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Pt(t,e):void 0}}function Pt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function jt(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function Ot(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){function i(t){jt(u,n,o,i,a,"next",t)}function a(t){jt(u,n,o,i,a,"throw",t)}var u=t.apply(e,r);i(void 0)}))}}function _t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=void 0,o=function(t,e){if("object"!==gt(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==gt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n.key,"string"),"symbol"===gt(o)?o:String(o)),n)}var o}function Rt(t,e){return Rt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Rt(t,e)}function kt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Tt(t);if(e){var o=Tt(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return function(t,e){if(e&&("object"===gt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,r)}}function Tt(t){return Tt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Tt(t)}function Ct(t){return Ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ct(t)}function At(){return At=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},At.apply(this,arguments)}function Et(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(t,e)||Nt(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xt(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function Ut(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){function i(t){xt(u,n,o,i,a,"next",t)}function a(t){xt(u,n,o,i,a,"throw",t)}var u=t.apply(e,r);i(void 0)}))}}function It(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Nt(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function qt(t){return function(t){if(Array.isArray(t))return Lt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Nt(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nt(t,e){if(t){if("string"==typeof t)return Lt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Lt(t,e):void 0}}function Lt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Kt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=void 0,o=function(t,e){if("object"!==Ct(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Ct(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n.key,"string"),"symbol"===Ct(o)?o:String(o)),n)}var o}function Mt(t){return function(t){if(Array.isArray(t))return Wt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Wt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Wt(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Dt(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return Bt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Bt(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function Bt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Ft(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.ignoreURLParametersMatching,n=void 0===r?[/^utm_/,/^fbclid$/]:r,o=e.directoryIndex,i=void 0===o?"index.html":o,a=e.cleanURLs,u=void 0===a||a,c=e.urlManipulation;return function*(){var e=new URL(t,location.href);e.hash="",yield e.href;var r=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=function(){var r=o[n];e.some((function(t){return t.test(r)}))&&t.searchParams.delete(r)},n=0,o=Mt(t.searchParams.keys());n<o.length;n++)r();return t}(e,n);if(yield r.href,i&&r.pathname.endsWith("/")){var o=new URL(r.href);o.pathname+=i,yield o.href}if(u){var a=new URL(r.href);a.pathname+=".html",yield a.href}if(c){var l,f=Dt(c({url:e}));try{for(f.s();!(l=f.n()).done;){var s=l.value;yield s.href}}catch(t){f.e(t)}finally{f.f()}}}()}function Ht(t){return Ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ht(t)}function $t(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return Gt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Gt(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function Gt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Xt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=void 0,o=function(t,e){if("object"!==Ht(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Ht(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n.key,"string"),"symbol"===Ht(o)?o:String(o)),n)}var o}function Vt(t,e){return Vt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Vt(t,e)}function Jt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Qt(t);if(e){var o=Qt(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return function(t,e){if(e&&("object"===Ht(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,r)}}function Qt(t){return Qt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Qt(t)}function zt(t){return We().getCacheKeyForURL(t)}function Yt(t,e){!function(t){We().precache(t)}(t),function(t){var e=We();k(new De(e,t))}(e)}function Zt(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function te(t){return te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},te(t)}function ee(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function re(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){function i(t){ee(u,n,o,i,a,"next",t)}function a(t){ee(u,n,o,i,a,"throw",t)}var u=t.apply(e,r);i(void 0)}))}}function ne(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=void 0,o=function(t,e){if("object"!==te(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==te(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n.key,"string"),"symbol"===te(o)?o:String(o)),n)}var o}function oe(t,e){return oe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},oe(t,e)}function ie(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=ae(t);if(e){var o=ae(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return function(t,e){if(e&&("object"===te(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,r)}}function ae(t){return ae=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ae(t)}function ue(t){return ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ue(t)}function ce(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=void 0,o=function(t,e){if("object"!==ue(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==ue(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n.key,"string"),"symbol"===ue(o)?o:String(o)),n)}var o}function le(t){return le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},le(t)}function fe(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function se(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=void 0,o=function(t,e){if("object"!==le(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==le(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n.key,"string"),"symbol"===le(o)?o:String(o)),n)}var o}function ye(t,e,r){return e&&se(t.prototype,e),r&&se(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}r.r(e);r("xgXd");var he,pe,ve=function(t){for(var e=t,r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return n.length>0&&(e+=" :: ".concat(JSON.stringify(n))),e},de=function(t){function e(t,e){var r,n=ve(t,e);return(r=y.call(this,n)).name=t,r.details=e,r}!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&l(t,e)}(e,t);var r,n,a,u,s,y=(r=e,n=c(),function(){var t,e=f(r);if(n){var o=f(this).constructor;t=Reflect.construct(e,arguments,o)}else t=e.apply(this,arguments);return i(this,t)});return a=e,u&&o(a.prototype,u),s&&o(a,s),Object.defineProperty(a,"prototype",{writable:!1}),a}(a(Error)),be=(r("I3Xu"),function(t){return t&&"object"===s(t)?t:{handle:t}}),me=function(){function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"GET";!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.handler=be(r),this.match=e,this.method=n}var e,r,n;return e=t,(r=[{key:"setCatchHandler",value:function(t){this.catchHandler=be(t)}}])&&h(e.prototype,r),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),ge=function(t){function e(t,r,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);return i.call(this,(function(e){var r=e.url,n=t.exec(r.href);if(n&&(r.origin===location.origin||0===n.index))return n.slice(1)}),r,n)}!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&d(t,e)}(e,t);var r,n,o,i=b(e);return r=e,n&&v(r.prototype,n),o&&v(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r}(me),we=function(t){return new URL(String(t),location.href).href.replace(new RegExp("^".concat(location.origin)),"")},Se=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._routes=new Map,this._defaultHandlerMap=new Map}var e,r,n;return e=t,r=[{key:"routes",get:function(){return this._routes}},{key:"addFetchListener",value:function(){var t=this;self.addEventListener("fetch",(function(e){var r=t.handleRequest({request:e.request,event:e});r&&e.respondWith(r)}))}},{key:"addCacheListener",value:function(){var t=this;self.addEventListener("message",(function(e){if(e.data&&"CACHE_URLS"===e.data.type){var r=Promise.all(e.data.payload.urlsToCache.map((function(r){"string"==typeof r&&(r=[r]);var n=S(Request,j(r));return t.handleRequest({request:n,event:e})})));e.waitUntil(r),e.ports&&e.ports[0]&&r.then((function(){return e.ports[0].postMessage(!0)}))}}))}},{key:"handleRequest",value:function(t){var e=this,r=t.request,n=t.event,o=new URL(r.url,location.href);if(o.protocol.startsWith("http")){var i=o.origin===location.origin,a=this.findMatchingRoute({event:n,request:r,sameOrigin:i,url:o}),u=a.params,c=a.route,l=c&&c.handler,f=r.method;if(!l&&this._defaultHandlerMap.has(f)&&(l=this._defaultHandlerMap.get(f)),l){var s;try{s=l.handle({url:o,request:r,event:n,params:u})}catch(t){s=Promise.reject(t)}var y=c&&c.catchHandler;return s instanceof Promise&&(this._catchHandler||y)&&(s=s.catch(function(){var t,i=(t=function*(t){if(y)try{return yield y.handle({url:o,request:r,event:n,params:u})}catch(e){e instanceof Error&&(t=e)}if(e._catchHandler)return e._catchHandler.handle({url:o,request:r,event:n});throw t},function(){var e=this,r=arguments;return new Promise((function(n,o){function i(t){w(u,n,o,i,a,"next",t)}function a(t){w(u,n,o,i,a,"throw",t)}var u=t.apply(e,r);i(void 0)}))});return function(t){return i.apply(this,arguments)}}())),s}}}},{key:"findMatchingRoute",value:function(t){var e,r=t.url,n=t.sameOrigin,o=t.request,i=t.event,a=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=O(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}(this._routes.get(o.method)||[]);try{for(a.s();!(e=a.n()).done;){var u=e.value,c=void 0,l=u.match({url:r,sameOrigin:n,request:o,event:i});if(l)return c=l,(Array.isArray(c)&&0===c.length||l.constructor===Object&&0===Object.keys(l).length||"boolean"==typeof l)&&(c=void 0),{route:u,params:c}}}catch(t){a.e(t)}finally{a.f()}return{}}},{key:"setDefaultHandler",value:function(t){this._defaultHandlerMap.set(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",be(t))}},{key:"setCatchHandler",value:function(t){this._catchHandler=be(t)}},{key:"registerRoute",value:function(t){this._routes.has(t.method)||this._routes.set(t.method,[]),this._routes.get(t.method).push(t)}},{key:"unregisterRoute",value:function(t){if(!this._routes.has(t.method))throw new de("unregister-route-but-not-found-with-method",{method:t.method});var e=this._routes.get(t.method).indexOf(t);if(!(e>-1))throw new de("unregister-route-route-not-registered");this._routes.get(t.method).splice(e,1)}}],r&&R(e.prototype,r),n&&R(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),Pe=function(){return he||((he=new Se).addFetchListener(),he.addCacheListener()),he},je={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},Oe=function(t){return[je.prefix,t,je.suffix].filter((function(t){return t&&t.length>0})).join("-")},_e={updateDetails:function(t){!function(t){for(var e=0,r=Object.keys(je);e<r.length;e++)t(r[e])}((function(e){"string"==typeof t[e]&&(je[e]=t[e])}))},getGoogleAnalyticsName:function(t){return t||Oe(je.googleAnalytics)},getPrecacheName:function(t){return t||Oe(je.precache)},getPrefix:function(){return je.prefix},getRuntimeName:function(t){return t||Oe(je.runtime)},getSuffix:function(){return je.suffix}},Re=(r("Gpc1"),"__WB_REVISION__"),ke=I((function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=function(){var t=x((function*(t){var e=t.state;e&&(e.originalRequest=t.request)}));return function(e){return t.apply(this,arguments)}}(),this.cachedResponseWillBeUsed=function(){var t=x((function*(t){var r=t.state,n=t.cachedResponse;if("install"===t.event.type&&r&&r.originalRequest&&r.originalRequest instanceof Request){var o=r.originalRequest.url;n?e.notUpdatedURLs.push(o):e.updatedURLs.push(o)}return n}));return function(e){return t.apply(this,arguments)}}()})),Te=K((function t(e){var r=this,n=e.precacheController;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.cacheKeyWillBeUsed=function(){var t,e=(t=function*(t){var e=t.request,n=t.params,o=(null==n?void 0:n.cacheKey)||r._precacheController.getCacheKeyForURL(e.url);return o?new Request(o,{headers:e.headers}):e},function(){var e=this,r=arguments;return new Promise((function(n,o){function i(t){N(u,n,o,i,a,"next",t)}function a(t){N(u,n,o,i,a,"throw",t)}var u=t.apply(e,r);i(void 0)}))});return function(t){return e.apply(this,arguments)}}(),this._precacheController=n})),Ce=J((function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.promise=new Promise((function(t,r){e.resolve=t,e.reject=r}))})),Ae=new Set,Ee=(r("myed"),function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._cacheKeys={},ct(this,r),this.event=r.event,this._strategy=e,this._handlerDeferred=new Ce,this._extendLifetimePromises=[],this._plugins=it(e.plugins),this._pluginStateMap=new Map;var n,o=ot(this._plugins);try{for(o.s();!(n=o.n()).done;){this._pluginStateMap.set(n.value,{})}}catch(t){o.e(t)}finally{o.f()}this.event.waitUntil(this._handlerDeferred.promise)}var e,r,n,o,i,a,u,c,l,f;return e=t,r=[{key:"fetch",value:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(){var t=nt((function*(t){var e=this.event,r=ft(t);if("navigate"===r.mode&&e instanceof FetchEvent&&e.preloadResponse){var n=yield e.preloadResponse;if(n)return n}var o=this.hasCallback("fetchDidFail")?r.clone():null;try{var i,a=ot(this.iterateCallbacks("requestWillFetch"));try{for(a.s();!(i=a.n()).done;){var u=i.value;r=yield u({request:r.clone(),event:e})}}catch(t){a.e(t)}finally{a.f()}}catch(t){if(t instanceof Error)throw new de("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}var c=r.clone();try{var l;l=yield fetch(r,"navigate"===r.mode?void 0:this._strategy.fetchOptions);var f,s=ot(this.iterateCallbacks("fetchDidSucceed"));try{for(s.s();!(f=s.n()).done;){var y=f.value;l=yield y({event:e,request:c,response:l})}}catch(t){s.e(t)}finally{s.f()}return l}catch(t){throw o&&(yield this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:o.clone(),request:c.clone()})),t}}));return function(e){return t.apply(this,arguments)}}())},{key:"fetchAndCachePut",value:(f=nt((function*(t){var e=yield this.fetch(t),r=e.clone();return this.waitUntil(this.cachePut(t,r)),e})),function(t){return f.apply(this,arguments)})},{key:"cacheMatch",value:(l=nt((function*(t){var e,r=ft(t),n=this._strategy,o=n.cacheName,i=n.matchOptions,a=yield this.getCacheKey(r,"read"),u=ct(ct({},i),{cacheName:o});e=yield caches.match(a,u);var c,l=ot(this.iterateCallbacks("cachedResponseWillBeUsed"));try{for(l.s();!(c=l.n()).done;){var f=c.value;e=(yield f({cacheName:o,matchOptions:i,cachedResponse:e,request:a,event:this.event}))||void 0}}catch(t){l.e(t)}finally{l.f()}return e})),function(t){return l.apply(this,arguments)})},{key:"cachePut",value:(c=nt((function*(t,e){var r=ft(t);yield tt(0);var n=yield this.getCacheKey(r,"write");if(!e)throw new de("cache-put-with-no-response",{url:we(n.url)});var o=yield this._ensureResponseSafeToCache(e);if(!o)return!1;var i=this._strategy,a=i.cacheName,u=i.matchOptions,c=yield self.caches.open(a),l=this.hasCallback("cacheDidUpdate"),f=l?yield function(t,e,r,n){return G.apply(this,arguments)}(c,n.clone(),["__WB_REVISION__"],u):null;try{yield c.put(n,l?o.clone():o)}catch(t){if(t instanceof Error)throw"QuotaExceededError"===t.name&&(yield function(){return Z.apply(this,arguments)}()),t}var s,y=ot(this.iterateCallbacks("cacheDidUpdate"));try{for(y.s();!(s=y.n()).done;){var h=s.value;yield h({cacheName:a,oldResponse:f,newResponse:o.clone(),request:n,event:this.event})}}catch(t){y.e(t)}finally{y.f()}return!0})),function(t,e){return c.apply(this,arguments)})},{key:"getCacheKey",value:(u=nt((function*(t,e){var r="".concat(t.url," | ").concat(e);if(!this._cacheKeys[r]){var n,o=t,i=ot(this.iterateCallbacks("cacheKeyWillBeUsed"));try{for(i.s();!(n=i.n()).done;){var a=n.value;o=ft(yield a({mode:e,request:o,event:this.event,params:this.params}))}}catch(t){i.e(t)}finally{i.f()}this._cacheKeys[r]=o}return this._cacheKeys[r]})),function(t,e){return u.apply(this,arguments)})},{key:"hasCallback",value:function(t){var e,r=ot(this._strategy.plugins);try{for(r.s();!(e=r.n()).done;)if(t in e.value)return!0}catch(t){r.e(t)}finally{r.f()}return!1}},{key:"runCallbacks",value:(a=nt((function*(t,e){var r,n=ot(this.iterateCallbacks(t));try{for(n.s();!(r=n.n()).done;){var o=r.value;yield o(e)}}catch(t){n.e(t)}finally{n.f()}})),function(t,e){return a.apply(this,arguments)})},{key:"iterateCallbacks",value:function*(t){var e,r=this,n=ot(this._strategy.plugins);try{var o=function*(){var n=e.value;if("function"==typeof n[t]){var o=r._pluginStateMap.get(n);yield function(e){var r=ct(ct({},e),{state:o});return n[t](r)}}};for(n.s();!(e=n.n()).done;)yield*o()}catch(t){n.e(t)}finally{n.f()}}},{key:"waitUntil",value:function(t){return this._extendLifetimePromises.push(t),t}},{key:"doneWaiting",value:(i=nt((function*(){for(var t;t=this._extendLifetimePromises.shift();)yield t})),function(){return i.apply(this,arguments)})},{key:"destroy",value:function(){this._handlerDeferred.resolve(null)}},{key:"_ensureResponseSafeToCache",value:(o=nt((function*(t){var e,r=t,n=!1,o=ot(this.iterateCallbacks("cacheWillUpdate"));try{for(o.s();!(e=o.n()).done;){var i=e.value;if(r=(yield i({request:this.request,response:r,event:this.event}))||void 0,n=!0,!r)break}}catch(t){o.e(t)}finally{o.f()}return n||r&&200!==r.status&&(r=void 0),r})),function(t){return o.apply(this,arguments)})}],r&<(e.prototype,r),n&<(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}()),xe=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.cacheName=_e.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}var e,r,n,o,i;return e=t,r=[{key:"handle",value:function(t){return vt(this.handleAll(t),1)[0]}},{key:"handleAll",value:function(t){t instanceof FetchEvent&&(t={event:t,request:t.request});var e=t.event,r="string"==typeof t.request?new Request(t.request):t.request,n=new Ee(this,{event:e,request:r,params:"params"in t?t.params:void 0}),o=this._getResponse(n,r,e);return[o,this._awaitComplete(o,n,r,e)]}},{key:"_getResponse",value:(i=pt((function*(t,e,r){yield t.runCallbacks("handlerWillStart",{event:r,request:e});var n=void 0;try{if(!(n=yield this._handle(e,t))||"error"===n.type)throw new de("no-response",{url:e.url})}catch(u){if(u instanceof Error){var o,i=yt(t.iterateCallbacks("handlerDidError"));try{for(i.s();!(o=i.n()).done;){var a=o.value;if(n=yield a({error:u,event:r,request:e}))break}}catch(t){i.e(t)}finally{i.f()}}if(!n)throw u}var u,c=yt(t.iterateCallbacks("handlerWillRespond"));try{for(c.s();!(u=c.n()).done;){var l=u.value;n=yield l({event:r,request:e,response:n})}}catch(t){c.e(t)}finally{c.f()}return n})),function(t,e,r){return i.apply(this,arguments)})},{key:"_awaitComplete",value:(o=pt((function*(t,e,r,n){var o,i;try{o=yield t}catch(i){}try{yield e.runCallbacks("handlerDidRespond",{event:n,request:r,response:o}),yield e.doneWaiting()}catch(t){t instanceof Error&&(i=t)}if(yield e.runCallbacks("handlerDidComplete",{event:n,request:r,response:o,error:i}),e.destroy(),i)throw i})),function(t,e,r,n){return o.apply(this,arguments)})}],r&&mt(e.prototype,r),n&&mt(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),Ue=function(t){function e(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r.cacheName=_e.getPrecacheName(r.cacheName),(t=c.call(this,r))._fallbackToNetwork=!1!==r.fallbackToNetwork,t.plugins.push(e.copyRedirectedCacheableResponsesPlugin),t}!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Rt(t,e)}(e,t);var r,n,o,i,a,u,c=kt(e);return r=e,n=[{key:"_handle",value:(u=Ot((function*(t,e){var r=yield e.cacheMatch(t);return r||(e.event&&"install"===e.event.type?yield this._handleInstall(t,e):yield this._handleFetch(t,e))})),function(t,e){return u.apply(this,arguments)})},{key:"_handleFetch",value:(a=Ot((function*(t,e){var r,n=e.params||{};if(!this._fallbackToNetwork)throw new de("missing-precache-entry",{cacheName:this.cacheName,url:t.url});var o=n.integrity,i=t.integrity,a=!i||i===o;return r=yield e.fetch(new Request(t,{integrity:"no-cors"!==t.mode?i||o:void 0})),o&&a&&"no-cors"!==t.mode&&(this._useDefaultCacheabilityPluginIfNeeded(),yield e.cachePut(t,r.clone())),r})),function(t,e){return a.apply(this,arguments)})},{key:"_handleInstall",value:(i=Ot((function*(t,e){this._useDefaultCacheabilityPluginIfNeeded();var r=yield e.fetch(t);if(!(yield e.cachePut(t,r.clone())))throw new de("bad-precaching-response",{url:t.url,status:r.status});return r})),function(t,e){return i.apply(this,arguments)})},{key:"_useDefaultCacheabilityPluginIfNeeded",value:function(){var t,r=null,n=0,o=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=St(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}(this.plugins.entries());try{for(o.s();!(t=o.n()).done;){var i=wt(t.value,2),a=i[1];a!==e.copyRedirectedCacheableResponsesPlugin&&(a===e.defaultPrecacheCacheabilityPlugin&&(r=i[0]),a.cacheWillUpdate&&n++)}}catch(t){o.e(t)}finally{o.f()}0===n?this.plugins.push(e.defaultPrecacheCacheabilityPlugin):n>1&&null!==r&&this.plugins.splice(r,1)}}],n&&_t(r.prototype,n),o&&_t(r,o),Object.defineProperty(r,"prototype",{writable:!1}),e}(xe);Ue.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:function(t){return Ot((function*(){var e=t.response;return!e||e.status>=400?null:e}))()}},Ue.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:function(t){return Ot((function*(){var e=t.response;return e.redirected?yield function(t,e){return W.apply(this,arguments)}(e):e}))()}};var Ie,qe,Ne,Le,Ke,Me=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.cacheName,n=e.plugins,o=void 0===n?[]:n,i=e.fallbackToNetwork,a=void 0===i||i;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new Ue({cacheName:_e.getPrecacheName(r),plugins:[].concat(qt(o),[new Te({precacheController:this})]),fallbackToNetwork:a}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}var e,r,n,o;return e=t,r=[{key:"strategy",get:function(){return this._strategy}},{key:"precache",value:function(t){this.addToCacheList(t),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}},{key:"addToCacheList",value:function(t){var e,r=[],n=It(t);try{for(n.s();!(e=n.n()).done;){var o=e.value;"string"==typeof o?r.push(o):o&&void 0===o.revision&&r.push(o.url);var i=C(o),a=i.cacheKey,u=i.url,c="string"!=typeof o&&o.revision?"reload":"default";if(this._urlsToCacheKeys.has(u)&&this._urlsToCacheKeys.get(u)!==a)throw new de("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(u),secondEntry:a});if("string"!=typeof o&&o.integrity){if(this._cacheKeysToIntegrities.has(a)&&this._cacheKeysToIntegrities.get(a)!==o.integrity)throw new de("add-to-cache-list-conflicting-integrities",{url:u});this._cacheKeysToIntegrities.set(a,o.integrity)}if(this._urlsToCacheKeys.set(u,a),this._urlsToCacheModes.set(u,c),r.length>0){var l="Workbox is precaching URLs without revision "+"info: ".concat(r.join(", "),"\nThis is generally NOT safe. ")+"Learn more at https://bit.ly/wb-precache";console.warn(l)}}}catch(t){n.e(t)}finally{n.f()}}},{key:"install",value:function(t){var e=this;return T(t,Ut((function*(){var r=new ke;e.strategy.plugins.push(r);var n,o=It(e._urlsToCacheKeys);try{for(o.s();!(n=o.n()).done;){var i=Et(n.value,2),a=i[0],u=i[1],c=e._cacheKeysToIntegrities.get(u),l=e._urlsToCacheModes.get(a),f=new Request(a,{integrity:c,cache:l,credentials:"same-origin"});yield Promise.all(e.strategy.handleAll({params:{cacheKey:u},request:f,event:t}))}}catch(t){o.e(t)}finally{o.f()}return{updatedURLs:r.updatedURLs,notUpdatedURLs:r.notUpdatedURLs}})))}},{key:"activate",value:function(t){var e=this;return T(t,Ut((function*(){var t,r=yield self.caches.open(e.strategy.cacheName),n=yield r.keys(),o=new Set(e._urlsToCacheKeys.values()),i=[],a=It(n);try{for(a.s();!(t=a.n()).done;){var u=t.value;o.has(u.url)||(yield r.delete(u),i.push(u.url))}}catch(t){a.e(t)}finally{a.f()}return{deletedURLs:i}})))}},{key:"getURLsToCacheKeys",value:function(){return this._urlsToCacheKeys}},{key:"getCachedURLs",value:function(){return qt(this._urlsToCacheKeys.keys())}},{key:"getCacheKeyForURL",value:function(t){var e=new URL(t,location.href);return this._urlsToCacheKeys.get(e.href)}},{key:"getIntegrityForCacheKey",value:function(t){return this._cacheKeysToIntegrities.get(t)}},{key:"matchPrecache",value:(o=Ut((function*(t){var e=t instanceof Request?t.url:t,r=this.getCacheKeyForURL(e);if(r)return(yield self.caches.open(this.strategy.cacheName)).match(r)})),function(t){return o.apply(this,arguments)})},{key:"createHandlerBoundToURL",value:function(t){var e=this,r=this.getCacheKeyForURL(t);if(!r)throw new de("non-precached-url",{url:t});return function(n){return n.request=new Request(t),n.params=At({cacheKey:r},n.params),e.strategy.handle(n)}}}],r&&Kt(e.prototype,r),n&&Kt(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),We=function(){return Ie||(Ie=new Me),Ie},De=function(t){function e(t,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);return i.call(this,(function(e){var n,o=e.request,i=t.getURLsToCacheKeys(),a=$t(Ft(o.url,r));try{for(a.s();!(n=a.n()).done;){var u=i.get(n.value);if(u)return{cacheKey:u,integrity:t.getIntegrityForCacheKey(u)}}}catch(t){a.e(t)}finally{a.f()}}),t.strategy)}!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Vt(t,e)}(e,t);var r,n,o,i=Jt(e);return r=e,n&&Xt(r.prototype,n),o&&Xt(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r}(me),Be=function(t){return"navigate"===t.request.mode},Fe={cacheWillUpdate:(qe=function*(t){var e=t.response;return 200===e.status||0===e.status?e:null},Ne=function(){var t=this,e=arguments;return new Promise((function(r,n){function o(t){Zt(a,r,n,o,i,"next",t)}function i(t){Zt(a,r,n,o,i,"throw",t)}var a=qe.apply(t,e);o(void 0)}))},function(){return Ne.apply(this,arguments)})},He=function(t){function e(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(t=u.call(this,r)).plugins.some((function(t){return"cacheWillUpdate"in t}))||t.plugins.unshift(Fe),t._networkTimeoutSeconds=r.networkTimeoutSeconds||0,t}!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&oe(t,e)}(e,t);var r,n,o,i,a,u=ie(e);return r=e,n=[{key:"_handle",value:(a=re((function*(t,e){var r,n=[],o=[];if(this._networkTimeoutSeconds){var i=this._getTimeoutPromise({request:t,logs:n,handler:e});r=i.id,o.push(i.promise)}var a=this._getNetworkPromise({timeoutId:r,request:t,logs:n,handler:e});o.push(a);var u=yield e.waitUntil(re((function*(){return(yield e.waitUntil(Promise.race(o)))||(yield a)}))());if(!u)throw new de("no-response",{url:t.url});return u})),function(t,e){return a.apply(this,arguments)})},{key:"_getTimeoutPromise",value:function(t){var e,r=this,n=t.request,o=t.handler,i=new Promise((function(t){var i=function(){var e=re((function*(){t(yield o.cacheMatch(n))}));return function(){return e.apply(this,arguments)}}();e=setTimeout(i,1e3*r._networkTimeoutSeconds)}));return{promise:i,id:e}}},{key:"_getNetworkPromise",value:(i=re((function*(t){var e,r,n=t.timeoutId,o=t.request,i=t.handler;try{r=yield i.fetchAndCachePut(o)}catch(t){t instanceof Error&&(e=t)}return n&&clearTimeout(n),!e&&r||(r=yield i.cacheMatch(o)),r})),function(t){return i.apply(this,arguments)})}],n&&ne(r.prototype,n),o&&ne(r,o),Object.defineProperty(r,"prototype",{writable:!1}),e}(xe),$e={get googleAnalytics(){return _e.getGoogleAnalyticsName()},get precache(){return _e.getPrecacheName()},get prefix(){return _e.getPrefix()},get runtime(){return _e.getRuntimeName()},get suffix(){return _e.getSuffix()}},Ge=(r("2Gk3"),function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._statuses=e.statuses,this._headers=e.headers}var e,r,n;return e=t,(r=[{key:"isResponseCacheable",value:function(t){var e=this,r=!0;return this._statuses&&(r=this._statuses.includes(t.status)),this._headers&&r&&(r=Object.keys(this._headers).some((function(r){return t.headers.get(r)===e._headers[r]}))),r}}])&&ce(e.prototype,r),n&&ce(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}()),Xe=ye((function t(e){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.cacheWillUpdate=function(){var t=function(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){function i(t){fe(u,n,o,i,a,"next",t)}function a(t){fe(u,n,o,i,a,"throw",t)}var u=t.apply(e,r);i(void 0)}))}}((function*(t){var e=t.response;return r._cacheableResponse.isResponseCacheable(e)?e:null}));return function(e){return t.apply(this,arguments)}}(),this._cacheableResponse=new Ge(e)})),Ve={};k((function(t){return Be(t.event)}),new He({cacheName:$e.precache,networkTimeoutSeconds:5,plugins:[new Xe({statuses:[200]})]})),Le=function(t){return Be(t.event)?caches.match(zt("/200.html")||zt("/index.html")):Response.error()},Pe().setCatchHandler(Le),Yt([{'revision':'146e60a1b2bf34380e0c6303e6c7e071','url':'./200.html'},{'revision':'ba626c72c8740daa5f23c93e5f63a8bd','url':'./assets/discord-mark-white.svg'},{'revision':'4bd04926ad19de136a5d3423cac10f77','url':'./assets/eclogo.png'},{'revision':'a0b00583d93c2f7084ad151ee0849934','url':'./assets/github-mark-white.svg'},{'revision':'59e221032ab061cad83b6ce2bcddbde8','url':'./assets/icons/android-chrome-192x192.png'},{'revision':'cf3fdf7af60a294d6d3f48cb7ad82488','url':'./assets/icons/android-chrome-512x512.png'},{'revision':'a0e46feb3cc577478b127936e739dd08','url':'./assets/icons/apple-touch-icon.png'},{'revision':'d712b605ed58419c7e6d4ab885d147b7','url':'./assets/icons/favicon-16x16.png'},{'revision':'2f7ce797cf8f198dedb9a9f38b7ef13b','url':'./assets/icons/favicon-32x32.png'},{'revision':'ba817517b2c4e1ba1ce802c4d4fafdb4','url':'./assets/icons/mstile-150x150.png'},{'revision':'ba25387eaa06939b5b0bd0db455534d0','url':'./assets/images/aliensstranded.png'},{'revision':'8606bceaff17786f663b095318c610bb','url':'./assets/images/articwolf.png'},{'revision':'2f41265ea9c892103f115d3bc7607cfd','url':'./assets/images/astralpathfinder.png'},{'revision':null,'url':'./bundle.76c7c.esm.js'},{'revision':null,'url':'./bundle.9f548.css'},{'revision':null,'url':'./polyfills.006b0.esm.js'}],Ke||Ve)},Gpc1:function(){"use strict";try{self["workbox:precaching:6.5.3"]&&_()}catch(t){}},I3Xu:function(){"use strict";try{self["workbox:routing:6.5.3"]&&_()}catch(t){}},myed:function(){"use strict";try{self["workbox:strategies:6.5.3"]&&_()}catch(t){}},xgXd:function(){"use strict";try{self["workbox:core:6.5.3"]&&_()}catch(t){}}});
//# sourceMappingURL=sw-esm.js.map