New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cacheability

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cacheability - npm Package Compare versions

Comparing version 0.1.1 to 1.0.0

CHANGELOG.md

25

lib/browser/cacheability/index.js
import "core-js/modules/es6.symbol";
import "core-js/modules/web.dom.iterable";
import "core-js/modules/es6.array.is-array";
import "core-js/modules/es6.regexp.match";
import "core-js/modules/es6.regexp.split";
import "core-js/modules/es6.array.for-each";
import "core-js/modules/es6.object.assign";
import "core-js/modules/es7.object.values";
import "core-js/modules/es6.date.now";
import _kebabCase from "lodash/kebabCase";

@@ -14,6 +17,10 @@ import _isString from "lodash/isString";

function _sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
function _slicedToArray(arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return _sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

@@ -28,3 +35,17 @@

function Cacheability() {
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
_classCallCheck(this, Cacheability);
var cacheControl = args.cacheControl,
headers = args.headers,
metadata = args.metadata;
if (cacheControl) {
this.parseCacheControl(cacheControl);
} else if (headers) {
this.parseHeaders(headers);
} else if (metadata) {
this.metadata = metadata;
}
}

@@ -31,0 +52,0 @@

2

lib/browser/index.js

@@ -1,2 +0,2 @@

export { Cacheability } from "./cacheability";
export { Cacheability as default } from "./cacheability";
//# sourceMappingURL=index.js.map
import "isomorphic-fetch";
import { CacheControl, CacheHeaders, Metadata } from "../types";
export declare type CacheabilityCacheControl = CacheControl;
export declare type CacheabilityMetadata = Metadata;
import { CacheHeaders, ConstructorArgs, Metadata } from "~/types";
/**

@@ -9,4 +7,15 @@ * A utility class to parse, store and print http cache headers.

* ```typescript
* import { Cacheability } from "cacheability";
* const cacheability = new Cacheability();
* import Cacheability from "cacheability";
*
* const headers = new Headers({
* "cache-control": "public, max-age=60",
* "content-type": "application/json",
* "etag": "33a64df551425fcc55e4d42a148795d9f25f89d4",
* });
*
* const cacheability = new Cacheability({ headers });
* const { cacheControl, etag, ttl } = cacheability.metadata;
* // cacheControl is { maxAge: 60, public: true }
* // etag is 33a64df551425fcc55e4d42a148795d9f25f89d4
* // ttl is 1516060712991 if Date.now is 1516060501948
* ```

@@ -17,6 +26,6 @@ *

private static _headerKeys;
private static _getDirectives(cacheControl);
private static _parseCacheControl(cacheControl);
private static _parseHeaders(headers);
private static _setTTL({maxAge, noCache, noStore, sMaxage});
private static _getDirectives;
private static _parseCacheControl;
private static _parseHeaders;
private static _setTTL;
/**

@@ -29,2 +38,3 @@ * The property holds the cacheability instance's parsed cache

metadata: Metadata;
constructor(args?: ConstructorArgs);
/**

@@ -36,6 +46,10 @@ * The method checks whether the TTL timestamp stored in the cacheability

* cacheability.parseCacheControl("public, max-age=3");
*
* // One second elapses...
*
* const isValid = cacheability.checkTTL();
* // isValid is true
*
* // Three seconds elapse...
*
* const isStillValid = cacheability.checkTTL();

@@ -59,4 +73,5 @@ * // isStillValid is false

* } = cacheability.parseCacheControl("public, max-age=60, s-maxage=60");
*
* // cacheControl is { maxAge: 60, public: true, sMaxage: 60 }
* // if Date.now is 1516060501948, ttl is 1516060712991
* // ttl is 1516060712991 if Date.now is 1516060501948
* ```

@@ -80,6 +95,7 @@ *

* });
*
* const { cacheControl, etag, ttl } = cacheability.parseHeaders(headers);
* // cacheControl is { maxAge: 60, public: true }
* // etag is 33a64df551425fcc55e4d42a148795d9f25f89d4
* // if Date.now is 1516060501948, ttl is 1516060712991
* // ttl is 1516060712991 if Date.now is 1516060501948
* ```

@@ -96,3 +112,5 @@ *

* cacheability.parseCacheControl("public, max-age=60, s-maxage=60");
*
* // Five seconds elapse...
*
* const cacheControl = cacheability.printCacheControl();

@@ -99,0 +117,0 @@ * // cacheControl is "public, max-age=55, s-maxage=55"

@@ -9,6 +9,10 @@ "use strict";

function _sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
function _slicedToArray(arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return _sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
Object.defineProperty(exports, "__esModule", {

@@ -22,3 +26,17 @@ value: true

let Cacheability = class Cacheability {
class Cacheability {
constructor(args = {}) {
const cacheControl = args.cacheControl,
headers = args.headers,
metadata = args.metadata;
if (cacheControl) {
this.parseCacheControl(cacheControl);
} else if (headers) {
this.parseHeaders(headers);
} else if (metadata) {
this.metadata = metadata;
}
}
static _getDirectives(cacheControl) {

@@ -145,5 +163,6 @@ return cacheControl.split(", ");

};
}
Cacheability._headerKeys = ["cache-control", "etag"];
exports.Cacheability = Cacheability;
//# sourceMappingURL=index.js.map

@@ -1,4 +0,5 @@

import { CacheControl, Metadata } from "./types";
import { CacheControl, ConstructorArgs, Metadata } from "~/types";
export declare type CacheabilityArgs = ConstructorArgs;
export declare type CacheabilityCacheControl = CacheControl;
export declare type CacheabilityMetadata = Metadata;
export { Cacheability } from "./cacheability";
export { Cacheability as default } from "~/cacheability";

@@ -9,3 +9,3 @@ "use strict";

exports.Cacheability = cacheability_1.Cacheability;
exports.default = cacheability_1.Cacheability;
//# sourceMappingURL=index.js.map

@@ -0,1 +1,7 @@

export interface ConstructorArgs {
cacheControl?: string;
headers?: Headers | CacheHeaders;
metadata?: Metadata;
}
export interface CacheHeaders {

@@ -2,0 +8,0 @@ cacheControl?: string;

@@ -11,8 +11,26 @@ import "core-js/modules/es6.symbol";

function _sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
function _slicedToArray(arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return _sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
import "isomorphic-fetch";
export let Cacheability = class Cacheability {
export class Cacheability {
constructor(args = {}) {
const cacheControl = args.cacheControl,
headers = args.headers,
metadata = args.metadata;
if (cacheControl) {
this.parseCacheControl(cacheControl);
} else if (headers) {
this.parseHeaders(headers);
} else if (metadata) {
this.metadata = metadata;
}
}
static _getDirectives(cacheControl) {

@@ -141,4 +159,4 @@ return cacheControl.split(", ");

};
}
Cacheability._headerKeys = ["cache-control", "etag"];
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

export { Cacheability } from "./cacheability";
export { Cacheability as default } from "./cacheability";
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Cacheability=e():t.Cacheability=e()}("undefined"!=typeof self?self:this,function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=42)}([function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,e,r){var n=r(20)("wks"),o=r(11),i=r(0).Symbol,u="function"==typeof i;(t.exports=function(t){return n[t]||(n[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=n},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){var n=r(7),o=r(15);t.exports=r(5)?function(t,e,r){return n.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){var n=r(34),o=r(24);t.exports=function(t){return n(o(t))}},function(t,e,r){t.exports=!r(6)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){var n=r(14),o=r(30),i=r(19),u=Object.defineProperty;e.f=r(5)?Object.defineProperty:function(t,e,r){if(n(t),e=i(e,!0),n(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,r){var n=r(33),o=r(26);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e,r){var n=r(0),o=r(3),i=r(2),u=r(11)("src"),a="toString",f=Function[a],s=(""+f).split(a);r(18).inspectSource=function(t){return f.call(t)},(t.exports=function(t,e,r,a){var f="function"==typeof r;f&&(i(r,"name")||o(r,"name",e)),t[e]!==r&&(f&&(i(r,u)||o(r,u,t[e]?""+t[e]:s.join(String(e)))),t===n?t[e]=r:a?t[e]?t[e]=r:o(t,e,r):(delete t[e],o(t,e,r)))})(Function.prototype,a,function(){return"function"==typeof this&&this[u]||f.call(this)})},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,r){var n=r(0),o=r(18),i=r(3),u=r(10),a=r(45),f="prototype",s=function(t,e,r){var c,l,p,h,d=t&s.F,y=t&s.G,v=t&s.S,b=t&s.P,x=t&s.B,m=y?n:v?n[e]||(n[e]={}):(n[e]||{})[f],g=y?o:o[e]||(o[e]={}),w=g[f]||(g[f]={});y&&(r=e);for(c in r)p=((l=!d&&m&&void 0!==m[c])?m:r)[c],h=x&&l?a(p,n):b&&"function"==typeof p?a(Function.call,p):p,m&&u(m,c,p,t&s.U),g[c]!=p&&i(g,c,h),b&&w[c]!=p&&(w[c]=p)};n.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,e,r){var n=r(8);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e){var r=t.exports={version:"2.5.3"};"number"==typeof __e&&(__e=r)},function(t,e,r){var n=r(8);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,r){var n=r(0),o="__core-js_shared__",i=n[o]||(n[o]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,e,r){var n=r(7).f,o=r(2),i=r(1)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},function(t,e){t.exports=!1},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,r){var n=r(20)("keys"),o=r(11);t.exports=function(t){return n[t]||(n[t]=o(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){t.exports={}},function(t,e){t.exports=function(t){return t}},function(t,e,r){t.exports=!r(5)&&!r(6)(function(){return 7!=Object.defineProperty(r(31)("div"),"a",{get:function(){return 7}}).a})},function(t,e,r){var n=r(8),o=r(0).document,i=n(o)&&n(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,r){e.f=r(1)},function(t,e,r){var n=r(2),o=r(4),i=r(50)(!1),u=r(25)("IE_PROTO");t.exports=function(t,e){var r,a=o(t),f=0,s=[];for(r in a)r!=u&&n(a,r)&&s.push(r);for(;e.length>f;)n(a,r=e[f++])&&(~i(s,r)||s.push(r));return s}},function(t,e,r){var n=r(23);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(14),o=r(54),i=r(26),u=r(25)("IE_PROTO"),a=function(){},f="prototype",s=function(){var t,e=r(31)("iframe"),n=i.length;for(e.style.display="none",r(55).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;n--;)delete s[f][i[n]];return s()};t.exports=Object.create||function(t,e){var r;return null!==t?(a[f]=n(t),r=new a,a[f]=null,r[u]=t):r=s(),void 0===e?r:o(r,e)}},function(t,e,r){var n=r(33),o=r(26).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},function(t,e,r){var n=r(24);t.exports=function(t){return Object(n(t))}},function(t,e,r){"use strict";var n=r(3),o=r(10),i=r(6),u=r(24),a=r(1);t.exports=function(t,e,r){var f=a(t),s=r(u,f,""[t]),c=s[0],l=s[1];i(function(){var e={};return e[f]=function(){return 7},7!=""[t](e)})&&(o(String.prototype,t,c),n(RegExp.prototype,f,2==e?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)}))}},function(t,e,r){var n=r(73),o=r(74),i=r(75),u=RegExp("['’]","g");t.exports=function(t){return function(e){return n(i(o(e).replace(u,"")),t,"")}}},function(t,e){var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return r.test(t)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(43);r.d(e,"Cacheability",function(){return n.a})},function(t,e,r){"use strict";r.d(e,"a",function(){return j});var n=r(44),o=(r.n(n),r(58)),i=(r.n(o),r(65)),u=(r.n(i),r(66)),a=(r.n(u),r(68)),f=(r.n(a),r(70)),s=(r.n(f),r(72)),c=r.n(s),l=r(79),p=r.n(l),h=r(81),d=r.n(h),y=r(84),v=r.n(y),b=r(85),x=r.n(b),m=r(86),g=r.n(m),w=r(95);r.n(w);function O(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var u,a=t[Symbol.iterator]();!(n=(u=a.next()).done)&&(r.push(u.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}function S(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,n.key,n)}}var j=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,r,n;return e=t,n=[{key:"_getDirectives",value:function(t){return t.split(", ")}},{key:"_parseCacheControl",value:function(e){var r={};return e.length?(t._getDirectives(e).forEach(function(t){if(t.match(/=/)){var e=O(t.split("="),2),n=e[0],o=e[1];r[g()(n)]=Number(o)}else r[g()(t)]=!0}),r):r}},{key:"_parseHeaders",value:function(e){var r={};return t._headerKeys.forEach(function(t){var n=e.get(t);if(n){var o=g()(t);r[o]=n}}),r}},{key:"_setTTL",value:function(t){var e=t.maxAge,r=t.noCache,n=t.noStore,o=t.sMaxage;if(r||n)return 0;var i=o||e;if(!v()(i))return 1/0;var u=1e3*i;return Date.now()+u}}],(r=[{key:"checkTTL",value:function(){if(!this.metadata||!v()(this.metadata.ttl))throw new TypeError("checkTTL expected this._metadata.ttl to be a number.");return this.metadata.ttl>Date.now()}},{key:"parseCacheControl",value:function(e){if(!p()(e))throw new TypeError("parseCacheControl expected cacheControl to be a string.");var r=t._parseCacheControl(e);return this.metadata={cacheControl:r,ttl:t._setTTL(r)},this.metadata}},{key:"parseHeaders",value:function(e){if(!(e instanceof Headers||d()(e))){throw new TypeError("parseHeaders expected headers to be an instance of Headers or a plain object.")}var r=e instanceof Headers?t._parseHeaders(e):e,n=r.cacheControl,o=void 0===n?"":n,i=r.etag,u=t._parseCacheControl(o);return this.metadata={cacheControl:u,etag:i,ttl:t._setTTL(u)},this.metadata}},{key:"printCacheControl",value:function(){if(!this.metadata||!this.metadata.cacheControl)throw new TypeError("printCacheControl expected this._metadata.cacheControl to be an object");if(!Object.values(this.metadata.cacheControl).length)return"";var t=Object.assign({},this.metadata.cacheControl);if(t.sMaxage||t.maxAge){var e=this.checkTTL()?Math.round((this.metadata.ttl-Date.now())/1e3):0;t.sMaxage&&(t.sMaxage=e),t.maxAge&&(t.maxAge=e)}var r=[];return Object.keys(t).forEach(function(e){x()(t[e])?r.push(c()(e)):r.push("".concat(c()(e),"=").concat(t[e]))}),r.join(", ")}}])&&S(e.prototype,r),n&&S(e,n),t}();j._headerKeys=["cache-control","etag"]},function(t,e,r){"use strict";var n=r(0),o=r(2),i=r(5),u=r(13),a=r(10),f=r(47).KEY,s=r(6),c=r(20),l=r(21),p=r(11),h=r(1),d=r(32),y=r(48),v=r(49),b=r(53),x=r(14),m=r(8),g=r(4),w=r(19),O=r(15),S=r(36),j=r(56),_=r(57),E=r(7),T=r(9),A=_.f,P=E.f,C=j.f,L=n.Symbol,B=n.JSON,k=B&&B.stringify,R="prototype",F=h("_hidden"),D=h("toPrimitive"),I={}.propertyIsEnumerable,M=c("symbol-registry"),U=c("symbols"),N=c("op-symbols"),H=Object[R],G="function"==typeof L,V=n.QObject,q=!V||!V[R]||!V[R].findChild,z=i&&s(function(){return 7!=S(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=A(H,e);n&&delete H[e],P(t,e,r),n&&t!==H&&P(H,e,n)}:P,K=function(t){var e=U[t]=S(L[R]);return e._k=t,e},Z=G&&"symbol"==typeof L.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof L},J=function(t,e,r){return t===H&&J(N,e,r),x(t),e=w(e,!0),x(r),o(U,e)?(r.enumerable?(o(t,F)&&t[F][e]&&(t[F][e]=!1),r=S(r,{enumerable:O(0,!1)})):(o(t,F)||P(t,F,O(1,{})),t[F][e]=!0),z(t,e,r)):P(t,e,r)},W=function(t,e){x(t);for(var r,n=v(e=g(e)),o=0,i=n.length;i>o;)J(t,r=n[o++],e[r]);return t},$=function(t){var e=I.call(this,t=w(t,!0));return!(this===H&&o(U,t)&&!o(N,t))&&(!(e||!o(this,t)||!o(U,t)||o(this,F)&&this[F][t])||e)},X=function(t,e){if(t=g(t),e=w(e,!0),t!==H||!o(U,e)||o(N,e)){var r=A(t,e);return!r||!o(U,e)||o(t,F)&&t[F][e]||(r.enumerable=!0),r}},Y=function(t){for(var e,r=C(g(t)),n=[],i=0;r.length>i;)o(U,e=r[i++])||e==F||e==f||n.push(e);return n},Q=function(t){for(var e,r=t===H,n=C(r?N:g(t)),i=[],u=0;n.length>u;)!o(U,e=n[u++])||r&&!o(H,e)||i.push(U[e]);return i};G||(a((L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(r){this===H&&e.call(N,r),o(this,F)&&o(this[F],t)&&(this[F][t]=!1),z(this,t,O(1,r))};return i&&q&&z(H,t,{configurable:!0,set:e}),K(t)})[R],"toString",function(){return this._k}),_.f=X,E.f=J,r(37).f=j.f=Y,r(12).f=$,r(27).f=Q,i&&!r(22)&&a(H,"propertyIsEnumerable",$,!0),d.f=function(t){return K(h(t))}),u(u.G+u.W+u.F*!G,{Symbol:L});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)h(tt[et++]);for(var rt=T(h.store),nt=0;rt.length>nt;)y(rt[nt++]);u(u.S+u.F*!G,"Symbol",{for:function(t){return o(M,t+="")?M[t]:M[t]=L(t)},keyFor:function(t){if(!Z(t))throw TypeError(t+" is not a symbol!");for(var e in M)if(M[e]===t)return e},useSetter:function(){q=!0},useSimple:function(){q=!1}}),u(u.S+u.F*!G,"Object",{create:function(t,e){return void 0===e?S(t):W(S(t),e)},defineProperty:J,defineProperties:W,getOwnPropertyDescriptor:X,getOwnPropertyNames:Y,getOwnPropertySymbols:Q}),B&&u(u.S+u.F*(!G||s(function(){var t=L();return"[null]"!=k([t])||"{}"!=k({a:t})||"{}"!=k(Object(t))})),"JSON",{stringify:function(t){for(var e,r,n=[t],o=1;arguments.length>o;)n.push(arguments[o++]);if(r=e=n[1],(m(e)||void 0!==t)&&!Z(t))return b(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!Z(e))return e}),n[1]=e,k.apply(B,n)}}),L[R][D]||r(3)(L[R],D,L[R].valueOf),l(L,"Symbol"),l(Math,"Math",!0),l(n.JSON,"JSON",!0)},function(t,e,r){var n=r(46);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,r){var n=r(11)("meta"),o=r(8),i=r(2),u=r(7).f,a=0,f=Object.isExtensible||function(){return!0},s=!r(6)(function(){return f(Object.preventExtensions({}))}),c=function(t){u(t,n,{value:{i:"O"+ ++a,w:{}}})},l=t.exports={KEY:n,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,n)){if(!f(t))return"F";if(!e)return"E";c(t)}return t[n].i},getWeak:function(t,e){if(!i(t,n)){if(!f(t))return!0;if(!e)return!1;c(t)}return t[n].w},onFreeze:function(t){return s&&l.NEED&&f(t)&&!i(t,n)&&c(t),t}}},function(t,e,r){var n=r(0),o=r(18),i=r(22),u=r(32),a=r(7).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:u.f(t)})}},function(t,e,r){var n=r(9),o=r(27),i=r(12);t.exports=function(t){var e=n(t),r=o.f;if(r)for(var u,a=r(t),f=i.f,s=0;a.length>s;)f.call(t,u=a[s++])&&e.push(u);return e}},function(t,e,r){var n=r(4),o=r(51),i=r(52);t.exports=function(t){return function(e,r,u){var a,f=n(e),s=o(f.length),c=i(u,s);if(t&&r!=r){for(;s>c;)if((a=f[c++])!=a)return!0}else for(;s>c;c++)if((t||c in f)&&f[c]===r)return t||c||0;return!t&&-1}}},function(t,e,r){var n=r(35),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e,r){var n=r(35),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=n(t))<0?o(t+e,0):i(t,e)}},function(t,e,r){var n=r(23);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,r){var n=r(7),o=r(14),i=r(9);t.exports=r(5)?Object.defineProperties:function(t,e){o(t);for(var r,u=i(e),a=u.length,f=0;a>f;)n.f(t,r=u[f++],e[r]);return t}},function(t,e,r){var n=r(0).document;t.exports=n&&n.documentElement},function(t,e,r){var n=r(4),o=r(37).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(n(t))}},function(t,e,r){var n=r(12),o=r(15),i=r(4),u=r(19),a=r(2),f=r(30),s=Object.getOwnPropertyDescriptor;e.f=r(5)?s:function(t,e){if(t=i(t),e=u(e,!0),f)try{return s(t,e)}catch(t){}if(a(t,e))return o(!n.f.call(t,e),t[e])}},function(t,e,r){for(var n=r(59),o=r(9),i=r(10),u=r(0),a=r(3),f=r(28),s=r(1),c=s("iterator"),l=s("toStringTag"),p=f.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=o(h),y=0;y<d.length;y++){var v,b=d[y],x=h[b],m=u[b],g=m&&m.prototype;if(g&&(g[c]||a(g,c,p),g[l]||a(g,l,b),f[b]=p,x))for(v in n)g[v]||i(g,v,n[v],!0)}},function(t,e,r){"use strict";var n=r(60),o=r(61),i=r(28),u=r(4);t.exports=r(62)(Array,"Array",function(t,e){this._t=u(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?r:"values"==e?t[r]:[r,t[r]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},function(t,e,r){var n=r(1)("unscopables"),o=Array.prototype;void 0==o[n]&&r(3)(o,n,{}),t.exports=function(t){o[n][t]=!0}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,r){"use strict";var n=r(22),o=r(13),i=r(10),u=r(3),a=r(2),f=r(28),s=r(63),c=r(21),l=r(64),p=r(1)("iterator"),h=!([].keys&&"next"in[].keys()),d="values",y=function(){return this};t.exports=function(t,e,r,v,b,x,m){s(r,e,v);var g,w,O,S=function(t){if(!h&&t in T)return T[t];switch(t){case"keys":case d:return function(){return new r(this,t)}}return function(){return new r(this,t)}},j=e+" Iterator",_=b==d,E=!1,T=t.prototype,A=T[p]||T["@@iterator"]||b&&T[b],P=!h&&A||S(b),C=b?_?S("entries"):P:void 0,L="Array"==e?T.entries||A:A;if(L&&(O=l(L.call(new t)))!==Object.prototype&&O.next&&(c(O,j,!0),n||a(O,p)||u(O,p,y)),_&&A&&A.name!==d&&(E=!0,P=function(){return A.call(this)}),n&&!m||!h&&!E&&T[p]||u(T,p,P),f[e]=P,f[j]=y,b)if(g={values:_?P:S(d),keys:x?P:S("keys"),entries:C},m)for(w in g)w in T||i(T,w,g[w]);else o(o.P+o.F*(h||E),e,g);return g}},function(t,e,r){"use strict";var n=r(36),o=r(15),i=r(21),u={};r(3)(u,r(1)("iterator"),function(){return this}),t.exports=function(t,e,r){t.prototype=n(u,{next:o(1,r)}),i(t,e+" Iterator")}},function(t,e,r){var n=r(2),o=r(38),i=r(25)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,r){r(39)("match",1,function(t,e,r){return[function(r){"use strict";var n=t(this),o=void 0==r?void 0:r[e];return void 0!==o?o.call(r,n):new RegExp(r)[e](String(n))},r]})},function(t,e,r){r(39)("split",2,function(t,e,n){"use strict";var o=r(67),i=n,u=[].push,a="length";if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[a]||2!="ab".split(/(?:ab)*/)[a]||4!=".".split(/(.?)(.?)/)[a]||".".split(/()()/)[a]>1||"".split(/.?/)[a]){var f=void 0===/()??/.exec("")[1];n=function(t,e){var r=String(this);if(void 0===t&&0===e)return[];if(!o(t))return i.call(r,t,e);var n,s,c,l,p,h=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),y=0,v=void 0===e?4294967295:e>>>0,b=new RegExp(t.source,d+"g");for(f||(n=new RegExp("^"+b.source+"$(?!\\s)",d));(s=b.exec(r))&&!((c=s.index+s[0][a])>y&&(h.push(r.slice(y,s.index)),!f&&s[a]>1&&s[0].replace(n,function(){for(p=1;p<arguments[a]-2;p++)void 0===arguments[p]&&(s[p]=void 0)}),s[a]>1&&s.index<r[a]&&u.apply(h,s.slice(1)),l=s[0][a],y=c,h[a]>=v));)b.lastIndex===s.index&&b.lastIndex++;return y===r[a]?!l&&b.test("")||h.push(""):h.push(r.slice(y)),h[a]>v?h.slice(0,v):h}}else"0".split(void 0,0)[a]&&(n=function(t,e){return void 0===t&&0===e?[]:i.call(this,t,e)});return[function(r,o){var i=t(this),u=void 0==r?void 0:r[e];return void 0!==u?u.call(r,i,o):n.call(String(i),r,o)},n]})},function(t,e,r){var n=r(8),o=r(23),i=r(1)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e,r){var n=r(13);n(n.S+n.F,"Object",{assign:r(69)})},function(t,e,r){"use strict";var n=r(9),o=r(27),i=r(12),u=r(38),a=r(34),f=Object.assign;t.exports=!f||r(6)(function(){var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(t){e[t]=t}),7!=f({},t)[r]||Object.keys(f({},e)).join("")!=n})?function(t,e){for(var r=u(t),f=arguments.length,s=1,c=o.f,l=i.f;f>s;)for(var p,h=a(arguments[s++]),d=c?n(h).concat(c(h)):n(h),y=d.length,v=0;y>v;)l.call(h,p=d[v++])&&(r[p]=h[p]);return r}:f},function(t,e,r){var n=r(13),o=r(71)(!1);n(n.S,"Object",{values:function(t){return o(t)}})},function(t,e,r){var n=r(9),o=r(4),i=r(12).f;t.exports=function(t){return function(e){for(var r,u=o(e),a=n(u),f=a.length,s=0,c=[];f>s;)i.call(u,r=a[s++])&&c.push(t?[r,u[r]]:u[r]);return c}}},function(t,e,r){var n=r(40)(function(t,e,r){return t+(r?"-":"")+e.toLowerCase()});t.exports=n},function(t,e){t.exports=function(t,e,r,n){var o=-1,i=null==t?0:t.length;for(n&&i&&(r=t[++o]);++o<i;)r=e(r,t[o],o,t);return r}},function(t,e){t.exports=function(t){return t}},function(t,e,r){var n=r(76),o=r(77),i=r(29),u=r(78);t.exports=function(t,e,r){return t=i(t),void 0===(e=r?void 0:e)?o(t)?u(t):n(t):t.match(e)||[]}},function(t,e){var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;t.exports=function(t){return t.match(r)||[]}},function(t,e){var r=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;t.exports=function(t){return r.test(t)}},function(t,e){var r="a-z\\xdf-\\xf6\\xf8-\\xff",n="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",i="["+o+"]",u="\\d+",a="[\\u2700-\\u27bf]",f="["+r+"]",s="[^\\ud800-\\udfff"+o+u+"\\u2700-\\u27bf"+r+n+"]",c="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",p="["+n+"]",h="(?:"+f+"|"+s+")",d="(?:"+p+"|"+s+")",y="(?:['’](?:d|ll|m|re|s|t|ve))?",v="(?:['’](?:D|LL|M|RE|S|T|VE))?",b="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",x="[\\ufe0e\\ufe0f]?",m=x+b+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",c,l].join("|")+")"+x+b+")*"),g="(?:"+[a,c,l].join("|")+")"+m,w=RegExp([p+"?"+f+"+"+y+"(?="+[i,p,"$"].join("|")+")",d+"+"+v+"(?="+[i,p+h,"$"].join("|")+")",p+"?"+h+"+"+y,p+"+"+v,"\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)","\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",u,g].join("|"),"g");t.exports=function(t){return t.match(w)||[]}},function(t,e,r){var n=r(16),o=r(80),i=r(17),u="[object String]";t.exports=function(t){return"string"==typeof t||!o(t)&&i(t)&&n(t)==u}},function(t,e){var r=Array.isArray;t.exports=r},function(t,e,r){var n=r(16),o=r(82),i=r(17),u="[object Object]",a=Function.prototype,f=Object.prototype,s=a.toString,c=f.hasOwnProperty,l=s.call(Object);t.exports=function(t){if(!i(t)||n(t)!=u)return!1;var e=o(t);if(null===e)return!0;var r=c.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&s.call(r)==l}},function(t,e,r){var n=r(83)(Object.getPrototypeOf,Object);t.exports=n},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(16),o=r(17),i="[object Number]";t.exports=function(t){return"number"==typeof t||o(t)&&n(t)==i}},function(t,e,r){var n=r(16),o=r(17),i="[object Boolean]";t.exports=function(t){return!0===t||!1===t||o(t)&&n(t)==i}},function(t,e,r){var n=r(87),o=r(40)(function(t,e,r){return e=e.toLowerCase(),t+(r?n(e):e)});t.exports=o},function(t,e,r){var n=r(29),o=r(88);t.exports=function(t){return o(n(t).toLowerCase())}},function(t,e,r){var n=r(89)("toUpperCase");t.exports=n},function(t,e,r){var n=r(90),o=r(41),i=r(92),u=r(29);t.exports=function(t){return function(e){e=u(e);var r=o(e)?i(e):void 0,a=r?r[0]:e.charAt(0),f=r?n(r,1).join(""):e.slice(1);return a[t]()+f}}},function(t,e,r){var n=r(91);t.exports=function(t,e,r){var o=t.length;return r=void 0===r?o:r,!e&&r>=o?t:n(t,e,r)}},function(t,e){t.exports=function(t,e,r){var n=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(o);++n<o;)i[n]=t[n+e];return i}},function(t,e,r){var n=r(93),o=r(41),i=r(94);t.exports=function(t){return o(t)?i(t):n(t)}},function(t,e){t.exports=function(t){return t.split("")}},function(t,e){var r="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",f="(?:"+n+"|"+o+")"+"?",s="[\\ufe0e\\ufe0f]?",c=s+f+("(?:\\u200d(?:"+[i,u,a].join("|")+")"+s+f+")*"),l="(?:"+[i+n+"?",n,u,a,r].join("|")+")",p=RegExp(o+"(?="+o+")|"+l+c,"g");t.exports=function(t){return t.match(p)||[]}},function(t,e,r){r(96),t.exports=self.fetch.bind(self)},function(t,e){!function(t){"use strict";if(!t.fetch){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=function(t){return t&&DataView.prototype.isPrototypeOf(t)},o=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};c.prototype.append=function(t,e){t=a(t),e=f(e);var r=this.map[t];this.map[t]=r?r+","+e:e},c.prototype.delete=function(t){delete this.map[a(t)]},c.prototype.get=function(t){return t=a(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(a(t))},c.prototype.set=function(t,e){this.map[a(t)]=f(e)},c.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},c.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),s(t)},c.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),s(t)},c.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),s(t)},e.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var i=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},y.call(v.prototype),y.call(x.prototype),x.prototype.clone=function(){return new x(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},x.error=function(){var t=new x(null,{status:0,statusText:""});return t.type="error",t};var u=[301,302,303,307,308];x.redirect=function(t,e){if(-1===u.indexOf(e))throw new RangeError("Invalid status code");return new x(null,{status:e,headers:{location:t}})},t.Headers=c,t.Request=v,t.Response=x,t.fetch=function(t,r){return new Promise(function(n,o){var i=new v(t,r),u=new XMLHttpRequest;u.onload=function(){var t,e,r={status:u.status,statusText:u.statusText,headers:(t=u.getAllResponseHeaders()||"",e=new c,t.split(/\r?\n/).forEach(function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}}),e)};r.url="responseURL"in u?u.responseURL:r.headers.get("X-Request-URL");var o="response"in u?u.response:u.responseText;n(new x(o,r))},u.onerror=function(){o(new TypeError("Network request failed"))},u.ontimeout=function(){o(new TypeError("Network request failed"))},u.open(i.method,i.url,!0),"include"===i.credentials&&(u.withCredentials=!0),"responseType"in u&&e.blob&&(u.responseType="blob"),i.headers.forEach(function(t,e){u.setRequestHeader(e,t)}),u.send(void 0===i._bodyInit?null:i._bodyInit)})},t.fetch.polyfill=!0}function a(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function f(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var r={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return e.iterable&&(r[Symbol.iterator]=function(){return r}),r}function c(t){this.map={},t instanceof c?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function p(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function h(t){var e=new FileReader,r=p(e);return e.readAsArrayBuffer(t),r}function d(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(t){if(this._bodyInit=t,t)if("string"==typeof t)this._bodyText=t;else if(e.blob&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t;else if(e.formData&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t))this._bodyText=t.toString();else if(e.arrayBuffer&&e.blob&&n(t))this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!e.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(t)&&!o(t))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=d(t)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t,e,r,n=l(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=p(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}function v(t,e){var r,n,o=(e=e||{}).body;if(t instanceof v){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new c(e.headers)),this.method=(r=e.method||this.method||"GET",n=r.toUpperCase(),i.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function b(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}}),e}function x(t,e){e||(e={}),this.type="default",this.status="status"in e?e.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new c(e.headers),this.url=e.url||"",this._initBody(t)}}("undefined"!=typeof self?self:this)}])});
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Cacheability=e():t.Cacheability=e()}(window,function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=51)}([function(t,e,r){var n=r(32)("wks"),o=r(12),i=r(1).Symbol,u="function"==typeof i;(t.exports=function(t){return n[t]||(n[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=n},function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,e,r){var n=r(9),o=r(17);t.exports=r(10)?function(t,e,r){return n.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){var n=r(30),o=r(28);t.exports=function(t){return n(o(t))}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,r){var n=r(1),o=r(19),i=r(2),u=r(13),a=r(45),f=function(t,e,r){var s,c,l,p,h=t&f.F,d=t&f.G,y=t&f.S,v=t&f.P,b=t&f.B,x=d?n:y?n[e]||(n[e]={}):(n[e]||{}).prototype,m=d?o:o[e]||(o[e]={}),g=m.prototype||(m.prototype={});for(s in d&&(r=e),r)l=((c=!h&&x&&void 0!==x[s])?x:r)[s],p=b&&c?a(l,n):v&&"function"==typeof l?a(Function.call,l):l,x&&u(x,s,l,t&f.U),m[s]!=l&&i(m,s,p),v&&g[s]!=l&&(g[s]=l)};n.core=o,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){var n=r(43),o=r(26);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e,r){var n=r(18),o=r(47),i=r(33),u=Object.defineProperty;e.f=r(10)?Object.defineProperty:function(t,e,r){if(n(t),e=i(e,!0),n(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){t.exports=!r(6)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){e.f={}.propertyIsEnumerable},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},function(t,e,r){var n=r(1),o=r(2),i=r(7),u=r(12)("src"),a=Function.toString,f=(""+a).split("toString");r(19).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,r,a){var s="function"==typeof r;s&&(i(r,"name")||o(r,"name",e)),t[e]!==r&&(s&&(i(r,u)||o(r,u,t[e]?""+t[e]:f.join(String(e)))),t===n?t[e]=r:a?t[e]?t[e]=r:o(t,e,r):(delete t[e],o(t,e,r)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||a.call(this)})},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e){t.exports=!1},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,r){var n=r(4);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var r=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(t,e,r){var n=r(61),o=r(37)(function(t,e,r){return e=e.toLowerCase(),t+(r?n(e):e)});t.exports=o},function(t,e){t.exports=function(t){return t}},function(t,e,r){var n=r(28);t.exports=function(t){return Object(n(t))}},function(t,e){t.exports={}},function(t,e,r){var n=r(29);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,r){var n=r(32)("keys"),o=r(12);t.exports=function(t){return n[t]||(n[t]=o(t))}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e,r){var n=r(29);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e,r){var n=r(9).f,o=r(7),i=r(0)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},function(t,e,r){var n=r(19),o=r(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:r(16)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e,r){var n=r(4);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,r){var n=r(15),o=r(14);t.exports=function(t){return"number"==typeof t||o(t)&&"[object Number]"==n(t)}},function(t,e,r){var n=r(37)(function(t,e,r){return t+(r?"-":"")+e.toLowerCase()});t.exports=n},function(t,e){var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return r.test(t)}},function(t,e,r){var n=r(70),o=r(69),i=r(68),u=RegExp("['’]","g");t.exports=function(t){return function(e){return n(i(o(e).replace(u,"")),t,"")}}},function(t,e,r){"use strict";var n=r(2),o=r(13),i=r(6),u=r(28),a=r(0);t.exports=function(t,e,r){var f=a(t),s=r(u,f,""[t]),c=s[0],l=s[1];i(function(){var e={};return e[f]=function(){return 7},7!=""[t](e)})&&(o(String.prototype,t,c),n(RegExp.prototype,f,2==e?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)}))}},function(t,e,r){var n=r(43),o=r(26).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},function(t,e,r){var n=r(18),o=r(95),i=r(26),u=r(27)("IE_PROTO"),a=function(){},f=function(){var t,e=r(46)("iframe"),n=i.length;for(e.style.display="none",r(94).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),f=t.F;n--;)delete f.prototype[i[n]];return f()};t.exports=Object.create||function(t,e){var r;return null!==t?(a.prototype=n(t),r=new a,a.prototype=null,r[u]=t):r=f(),void 0===e?r:o(r,e)}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(41),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e,r){var n=r(7),o=r(3),i=r(97)(!1),u=r(27)("IE_PROTO");t.exports=function(t,e){var r,a=o(t),f=0,s=[];for(r in a)r!=u&&n(a,r)&&s.push(r);for(;e.length>f;)n(a,r=e[f++])&&(~i(s,r)||s.push(r));return s}},function(t,e,r){e.f=r(0)},function(t,e,r){var n=r(101);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,r){var n=r(4),o=r(1).document,i=n(o)&&n(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,r){t.exports=!r(10)&&!r(6)(function(){return 7!=Object.defineProperty(r(46)("div"),"a",{get:function(){return 7}}).a})},function(t,e,r){var n=r(15),o=r(14);t.exports=function(t){return!0===t||!1===t||o(t)&&"[object Boolean]"==n(t)}},function(t,e,r){var n=r(15),o=r(63),i=r(14),u=Function.prototype,a=Object.prototype,f=u.toString,s=a.hasOwnProperty,c=f.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=n(t))return!1;var e=o(t);if(null===e)return!0;var r=s.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&f.call(r)==c}},function(t,e,r){var n=r(15),o=r(64),i=r(14);t.exports=function(t){return"string"==typeof t||!o(t)&&i(t)&&"[object String]"==n(t)}},function(t,e,r){"use strict";r.r(e),r(102),r(91),r(84),r(83),r(82),r(80),r(75),r(73),r(71);var n=r(35),o=r.n(n),i=r(50),u=r.n(i),a=r(49),f=r.n(a),s=r(34),c=r.n(s),l=r(48),p=r.n(l),h=r(20),d=r.n(h);function y(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,n.key,n)}}r(53);var v=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);var r=e.cacheControl,n=e.headers,o=e.metadata;r?this.parseCacheControl(r):n?this.parseHeaders(n):o&&(this.metadata=o)}var e,r,n;return e=t,n=[{key:"_getDirectives",value:function(t){return t.split(", ")}},{key:"_parseCacheControl",value:function(e){var r={};return e.length?(t._getDirectives(e).forEach(function(t){if(t.match(/=/)){var e=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var u,a=t[Symbol.iterator]();!(n=(u=a.next()).done)&&(r.push(u.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(t.split("="),2),n=e[0],o=e[1];r[d()(n)]=Number(o)}else r[d()(t)]=!0}),r):r}},{key:"_parseHeaders",value:function(e){var r={};return t._headerKeys.forEach(function(t){var n=e.get(t);if(n){var o=d()(t);r[o]=n}}),r}},{key:"_setTTL",value:function(t){var e=t.maxAge,r=t.noCache,n=t.noStore,o=t.sMaxage;if(r||n)return 0;var i=o||e;if(!c()(i))return 1/0;var u=1e3*i;return Date.now()+u}}],(r=[{key:"checkTTL",value:function(){if(!this.metadata||!c()(this.metadata.ttl))throw new TypeError("checkTTL expected this._metadata.ttl to be a number.");return this.metadata.ttl>Date.now()}},{key:"parseCacheControl",value:function(e){if(!u()(e))throw new TypeError("parseCacheControl expected cacheControl to be a string.");var r=t._parseCacheControl(e);return this.metadata={cacheControl:r,ttl:t._setTTL(r)},this.metadata}},{key:"parseHeaders",value:function(e){if(!(e instanceof Headers||f()(e)))throw new TypeError("parseHeaders expected headers to be an instance of Headers or a plain object.");var r=e instanceof Headers?t._parseHeaders(e):e,n=r.cacheControl,o=void 0===n?"":n,i=r.etag,u=t._parseCacheControl(o);return this.metadata={cacheControl:u,etag:i,ttl:t._setTTL(u)},this.metadata}},{key:"printCacheControl",value:function(){if(!this.metadata||!this.metadata.cacheControl)throw new TypeError("printCacheControl expected this._metadata.cacheControl to be an object");if(!Object.values(this.metadata.cacheControl).length)return"";var t=Object.assign({},this.metadata.cacheControl);if(t.sMaxage||t.maxAge){var e=this.checkTTL()?Math.round((this.metadata.ttl-Date.now())/1e3):0;t.sMaxage&&(t.sMaxage=e),t.maxAge&&(t.maxAge=e)}var r=[];return Object.keys(t).forEach(function(e){p()(t[e])?r.push(o()(e)):r.push("".concat(o()(e),"=").concat(t[e]))}),r.join(", ")}}])&&y(e.prototype,r),n&&y(e,n),t}();v._headerKeys=["cache-control","etag"],r.d(e,"default",function(){return v})},function(t,e){!function(t){"use strict";if(!t.fetch){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=function(t){return t&&DataView.prototype.isPrototypeOf(t)},o=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};c.prototype.append=function(t,e){t=a(t),e=f(e);var r=this.map[t];this.map[t]=r?r+","+e:e},c.prototype.delete=function(t){delete this.map[a(t)]},c.prototype.get=function(t){return t=a(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(a(t))},c.prototype.set=function(t,e){this.map[a(t)]=f(e)},c.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},c.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),s(t)},c.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),s(t)},c.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),s(t)},e.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var i=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},y.call(v.prototype),y.call(x.prototype),x.prototype.clone=function(){return new x(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},x.error=function(){var t=new x(null,{status:0,statusText:""});return t.type="error",t};var u=[301,302,303,307,308];x.redirect=function(t,e){if(-1===u.indexOf(e))throw new RangeError("Invalid status code");return new x(null,{status:e,headers:{location:t}})},t.Headers=c,t.Request=v,t.Response=x,t.fetch=function(t,r){return new Promise(function(n,o){var i=new v(t,r),u=new XMLHttpRequest;u.onload=function(){var t,e,r={status:u.status,statusText:u.statusText,headers:(t=u.getAllResponseHeaders()||"",e=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}}),e)};r.url="responseURL"in u?u.responseURL:r.headers.get("X-Request-URL");var o="response"in u?u.response:u.responseText;n(new x(o,r))},u.onerror=function(){o(new TypeError("Network request failed"))},u.ontimeout=function(){o(new TypeError("Network request failed"))},u.open(i.method,i.url,!0),"include"===i.credentials?u.withCredentials=!0:"omit"===i.credentials&&(u.withCredentials=!1),"responseType"in u&&e.blob&&(u.responseType="blob"),i.headers.forEach(function(t,e){u.setRequestHeader(e,t)}),u.send(void 0===i._bodyInit?null:i._bodyInit)})},t.fetch.polyfill=!0}function a(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function f(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var r={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return e.iterable&&(r[Symbol.iterator]=function(){return r}),r}function c(t){this.map={},t instanceof c?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function p(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function h(t){var e=new FileReader,r=p(e);return e.readAsArrayBuffer(t),r}function d(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(t){if(this._bodyInit=t,t)if("string"==typeof t)this._bodyText=t;else if(e.blob&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t;else if(e.formData&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t))this._bodyText=t.toString();else if(e.arrayBuffer&&e.blob&&n(t))this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!e.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(t)&&!o(t))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=d(t)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t,e,r,n=l(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,r=p(e=new FileReader),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}function v(t,e){var r,n,o=(e=e||{}).body;if(t instanceof v){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new c(e.headers)),this.method=(n=(r=e.method||this.method||"GET").toUpperCase(),i.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function b(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}}),e}function x(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new c(e.headers),this.url=e.url||"",this._initBody(t)}}("undefined"!=typeof self?self:this)},function(t,e,r){r(52),t.exports=self.fetch.bind(self)},function(t,e){var r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",a="(?:"+r+"|"+n+")?",f="[\\ufe0e\\ufe0f]?"+a+"(?:\\u200d(?:"+[o,i,u].join("|")+")[\\ufe0e\\ufe0f]?"+a+")*",s="(?:"+[o+r+"?",r,i,u,"[\\ud800-\\udfff]"].join("|")+")",c=RegExp(n+"(?="+n+")|"+s+f,"g");t.exports=function(t){return t.match(c)||[]}},function(t,e){t.exports=function(t){return t.split("")}},function(t,e,r){var n=r(55),o=r(36),i=r(54);t.exports=function(t){return o(t)?i(t):n(t)}},function(t,e){t.exports=function(t,e,r){var n=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(o);++n<o;)i[n]=t[n+e];return i}},function(t,e,r){var n=r(57);t.exports=function(t,e,r){var o=t.length;return r=void 0===r?o:r,!e&&r>=o?t:n(t,e,r)}},function(t,e,r){var n=r(58),o=r(36),i=r(56),u=r(21);t.exports=function(t){return function(e){e=u(e);var r=o(e)?i(e):void 0,a=r?r[0]:e.charAt(0),f=r?n(r,1).join(""):e.slice(1);return a[t]()+f}}},function(t,e,r){var n=r(59)("toUpperCase");t.exports=n},function(t,e,r){var n=r(21),o=r(60);t.exports=function(t){return o(n(t).toLowerCase())}},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(62)(Object.getPrototypeOf,Object);t.exports=n},function(t,e){var r=Array.isArray;t.exports=r},function(t,e){var r="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",n="["+r+"]",o="\\d+",i="[a-z\\xdf-\\xf6\\xf8-\\xff]",u="[^\\ud800-\\udfff"+r+o+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",s="[A-Z\\xc0-\\xd6\\xd8-\\xde]",c="(?:"+i+"|"+u+")",l="(?:"+s+"|"+u+")",p="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",h="[\\ufe0e\\ufe0f]?"+p+"(?:\\u200d(?:"+["[^\\ud800-\\udfff]",a,f].join("|")+")[\\ufe0e\\ufe0f]?"+p+")*",d="(?:"+["[\\u2700-\\u27bf]",a,f].join("|")+")"+h,y=RegExp([s+"?"+i+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[n,s,"$"].join("|")+")",l+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[n,s+c,"$"].join("|")+")",s+"?"+c+"+(?:['’](?:d|ll|m|re|s|t|ve))?",s+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",o,d].join("|"),"g");t.exports=function(t){return t.match(y)||[]}},function(t,e){var r=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;t.exports=function(t){return r.test(t)}},function(t,e){var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;t.exports=function(t){return t.match(r)||[]}},function(t,e,r){var n=r(67),o=r(66),i=r(21),u=r(65);t.exports=function(t,e,r){return t=i(t),void 0===(e=r?void 0:e)?o(t)?u(t):n(t):t.match(e)||[]}},function(t,e){t.exports=function(t){return t}},function(t,e){t.exports=function(t,e,r,n){var o=-1,i=null==t?0:t.length;for(n&&i&&(r=t[++o]);++o<i;)r=e(r,t[o],o,t);return r}},function(t,e,r){var n=r(5);n(n.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,r){var n=r(8),o=r(3),i=r(11).f;t.exports=function(t){return function(e){for(var r,u=o(e),a=n(u),f=a.length,s=0,c=[];f>s;)i.call(u,r=a[s++])&&c.push(t?[r,u[r]]:u[r]);return c}}},function(t,e,r){var n=r(5),o=r(72)(!1);n(n.S,"Object",{values:function(t){return o(t)}})},function(t,e,r){"use strict";var n=r(8),o=r(25),i=r(11),u=r(22),a=r(30),f=Object.assign;t.exports=!f||r(6)(function(){var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(t){e[t]=t}),7!=f({},t)[r]||Object.keys(f({},e)).join("")!=n})?function(t,e){for(var r=u(t),f=arguments.length,s=1,c=o.f,l=i.f;f>s;)for(var p,h=a(arguments[s++]),d=c?n(h).concat(c(h)):n(h),y=d.length,v=0;y>v;)l.call(h,p=d[v++])&&(r[p]=h[p]);return r}:f},function(t,e,r){var n=r(5);n(n.S+n.F,"Object",{assign:r(74)})},function(t,e,r){"use strict";var n=r(6);t.exports=function(t,e){return!!t&&n(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,r){var n=r(4),o=r(24),i=r(0)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),n(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},function(t,e,r){var n=r(77);t.exports=function(t,e){return new(n(t))(e)}},function(t,e,r){var n=r(45),o=r(30),i=r(22),u=r(42),a=r(78);t.exports=function(t,e){var r=1==t,f=2==t,s=3==t,c=4==t,l=6==t,p=5==t||l,h=e||a;return function(e,a,d){for(var y,v,b=i(e),x=o(b),m=n(a,d,3),g=u(x.length),w=0,S=r?h(e,g):f?h(e,0):void 0;g>w;w++)if((p||w in x)&&(v=m(y=x[w],w,b),t))if(r)S[w]=v;else if(v)switch(t){case 3:return!0;case 5:return y;case 6:return w;case 2:S.push(y)}else if(c)return!1;return l?-1:s||c?c:S}}},function(t,e,r){"use strict";var n=r(5),o=r(79)(0),i=r(76)([].forEach,!0);n(n.P+n.F*!i,"Array",{forEach:function(t){return o(this,t,arguments[1])}})},function(t,e,r){var n=r(4),o=r(29),i=r(0)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e,r){r(38)("split",2,function(t,e,n){"use strict";var o=r(81),i=n,u=[].push;if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length){var a=void 0===/()??/.exec("")[1];n=function(t,e){var r=String(this);if(void 0===t&&0===e)return[];if(!o(t))return i.call(r,t,e);var n,f,s,c,l,p=[],h=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,y=void 0===e?4294967295:e>>>0,v=new RegExp(t.source,h+"g");for(a||(n=new RegExp("^"+v.source+"$(?!\\s)",h));(f=v.exec(r))&&!((s=f.index+f[0].length)>d&&(p.push(r.slice(d,f.index)),!a&&f.length>1&&f[0].replace(n,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(f[l]=void 0)}),f.length>1&&f.index<r.length&&u.apply(p,f.slice(1)),c=f[0].length,d=s,p.length>=y));)v.lastIndex===f.index&&v.lastIndex++;return d===r.length?!c&&v.test("")||p.push(""):p.push(r.slice(d)),p.length>y?p.slice(0,y):p}}else"0".split(void 0,0).length&&(n=function(t,e){return void 0===t&&0===e?[]:i.call(this,t,e)});return[function(r,o){var i=t(this),u=void 0==r?void 0:r[e];return void 0!==u?u.call(r,i,o):n.call(String(i),r,o)},n]})},function(t,e,r){r(38)("match",1,function(t,e,r){return[function(r){"use strict";var n=t(this),o=void 0==r?void 0:r[e];return void 0!==o?o.call(r,n):new RegExp(r)[e](String(n))},r]})},function(t,e,r){var n=r(5);n(n.S,"Array",{isArray:r(24)})},function(t,e,r){var n=r(7),o=r(22),i=r(27)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,r){"use strict";var n=r(40),o=r(17),i=r(31),u={};r(2)(u,r(0)("iterator"),function(){return this}),t.exports=function(t,e,r){t.prototype=n(u,{next:o(1,r)}),i(t,e+" Iterator")}},function(t,e,r){"use strict";var n=r(16),o=r(5),i=r(13),u=r(2),a=r(23),f=r(86),s=r(31),c=r(85),l=r(0)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,r,d,y,v,b){f(r,e,d);var x,m,g,w=function(t){if(!p&&t in _)return _[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},S=e+" Iterator",O="values"==y,j=!1,_=t.prototype,E=_[l]||_["@@iterator"]||y&&_[y],T=E||w(y),A=y?O?w("entries"):T:void 0,P="Array"==e&&_.entries||E;if(P&&(g=c(P.call(new t)))!==Object.prototype&&g.next&&(s(g,S,!0),n||"function"==typeof g[l]||u(g,l,h)),O&&E&&"values"!==E.name&&(j=!0,T=function(){return E.call(this)}),n&&!b||!p&&!j&&_[l]||u(_,l,T),a[e]=T,a[S]=h,y)if(x={values:O?T:w("values"),keys:v?T:w("keys"),entries:A},b)for(m in x)m in _||i(_,m,x[m]);else o(o.P+o.F*(p||j),e,x);return x}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,r){var n=r(0)("unscopables"),o=Array.prototype;void 0==o[n]&&r(2)(o,n,{}),t.exports=function(t){o[n][t]=!0}},function(t,e,r){"use strict";var n=r(89),o=r(88),i=r(23),u=r(3);t.exports=r(87)(Array,"Array",function(t,e){this._t=u(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?r:"values"==e?t[r]:[r,t[r]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},function(t,e,r){for(var n=r(90),o=r(8),i=r(13),u=r(1),a=r(2),f=r(23),s=r(0),c=s("iterator"),l=s("toStringTag"),p=f.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=o(h),y=0;y<d.length;y++){var v,b=d[y],x=h[b],m=u[b],g=m&&m.prototype;if(g&&(g[c]||a(g,c,p),g[l]||a(g,l,b),f[b]=p,x))for(v in n)g[v]||i(g,v,n[v],!0)}},function(t,e,r){var n=r(11),o=r(17),i=r(3),u=r(33),a=r(7),f=r(47),s=Object.getOwnPropertyDescriptor;e.f=r(10)?s:function(t,e){if(t=i(t),e=u(e,!0),f)try{return s(t,e)}catch(t){}if(a(t,e))return o(!n.f.call(t,e),t[e])}},function(t,e,r){var n=r(3),o=r(39).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(n(t))}},function(t,e,r){var n=r(1).document;t.exports=n&&n.documentElement},function(t,e,r){var n=r(9),o=r(18),i=r(8);t.exports=r(10)?Object.defineProperties:function(t,e){o(t);for(var r,u=i(e),a=u.length,f=0;a>f;)n.f(t,r=u[f++],e[r]);return t}},function(t,e,r){var n=r(41),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=n(t))<0?o(t+e,0):i(t,e)}},function(t,e,r){var n=r(3),o=r(42),i=r(96);t.exports=function(t){return function(e,r,u){var a,f=n(e),s=o(f.length),c=i(u,s);if(t&&r!=r){for(;s>c;)if((a=f[c++])!=a)return!0}else for(;s>c;c++)if((t||c in f)&&f[c]===r)return t||c||0;return!t&&-1}}},function(t,e,r){var n=r(8),o=r(25),i=r(11);t.exports=function(t){var e=n(t),r=o.f;if(r)for(var u,a=r(t),f=i.f,s=0;a.length>s;)f.call(t,u=a[s++])&&e.push(u);return e}},function(t,e,r){var n=r(1),o=r(19),i=r(16),u=r(44),a=r(9).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:u.f(t)})}},function(t,e,r){var n=r(12)("meta"),o=r(4),i=r(7),u=r(9).f,a=0,f=Object.isExtensible||function(){return!0},s=!r(6)(function(){return f(Object.preventExtensions({}))}),c=function(t){u(t,n,{value:{i:"O"+ ++a,w:{}}})},l=t.exports={KEY:n,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,n)){if(!f(t))return"F";if(!e)return"E";c(t)}return t[n].i},getWeak:function(t,e){if(!i(t,n)){if(!f(t))return!0;if(!e)return!1;c(t)}return t[n].w},onFreeze:function(t){return s&&l.NEED&&f(t)&&!i(t,n)&&c(t),t}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,r){"use strict";var n=r(1),o=r(7),i=r(10),u=r(5),a=r(13),f=r(100).KEY,s=r(6),c=r(32),l=r(31),p=r(12),h=r(0),d=r(44),y=r(99),v=r(98),b=r(24),x=r(18),m=r(4),g=r(3),w=r(33),S=r(17),O=r(40),j=r(93),_=r(92),E=r(9),T=r(8),A=_.f,P=E.f,C=j.f,L=n.Symbol,k=n.JSON,B=k&&k.stringify,D=h("_hidden"),R=h("toPrimitive"),F={}.propertyIsEnumerable,M=c("symbol-registry"),I=c("symbols"),U=c("op-symbols"),N=Object.prototype,H="function"==typeof L,G=n.QObject,z=!G||!G.prototype||!G.prototype.findChild,V=i&&s(function(){return 7!=O(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=A(N,e);n&&delete N[e],P(t,e,r),n&&t!==N&&P(N,e,n)}:P,q=function(t){var e=I[t]=O(L.prototype);return e._k=t,e},Z=H&&"symbol"==typeof L.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof L},K=function(t,e,r){return t===N&&K(U,e,r),x(t),e=w(e,!0),x(r),o(I,e)?(r.enumerable?(o(t,D)&&t[D][e]&&(t[D][e]=!1),r=O(r,{enumerable:S(0,!1)})):(o(t,D)||P(t,D,S(1,{})),t[D][e]=!0),V(t,e,r)):P(t,e,r)},J=function(t,e){x(t);for(var r,n=v(e=g(e)),o=0,i=n.length;i>o;)K(t,r=n[o++],e[r]);return t},W=function(t){var e=F.call(this,t=w(t,!0));return!(this===N&&o(I,t)&&!o(U,t))&&(!(e||!o(this,t)||!o(I,t)||o(this,D)&&this[D][t])||e)},$=function(t,e){if(t=g(t),e=w(e,!0),t!==N||!o(I,e)||o(U,e)){var r=A(t,e);return!r||!o(I,e)||o(t,D)&&t[D][e]||(r.enumerable=!0),r}},X=function(t){for(var e,r=C(g(t)),n=[],i=0;r.length>i;)o(I,e=r[i++])||e==D||e==f||n.push(e);return n},Y=function(t){for(var e,r=t===N,n=C(r?U:g(t)),i=[],u=0;n.length>u;)!o(I,e=n[u++])||r&&!o(N,e)||i.push(I[e]);return i};H||(a((L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(r){this===N&&e.call(U,r),o(this,D)&&o(this[D],t)&&(this[D][t]=!1),V(this,t,S(1,r))};return i&&z&&V(N,t,{configurable:!0,set:e}),q(t)}).prototype,"toString",function(){return this._k}),_.f=$,E.f=K,r(39).f=j.f=X,r(11).f=W,r(25).f=Y,i&&!r(16)&&a(N,"propertyIsEnumerable",W,!0),d.f=function(t){return q(h(t))}),u(u.G+u.W+u.F*!H,{Symbol:L});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;Q.length>tt;)h(Q[tt++]);for(var et=T(h.store),rt=0;et.length>rt;)y(et[rt++]);u(u.S+u.F*!H,"Symbol",{for:function(t){return o(M,t+="")?M[t]:M[t]=L(t)},keyFor:function(t){if(!Z(t))throw TypeError(t+" is not a symbol!");for(var e in M)if(M[e]===t)return e},useSetter:function(){z=!0},useSimple:function(){z=!1}}),u(u.S+u.F*!H,"Object",{create:function(t,e){return void 0===e?O(t):J(O(t),e)},defineProperty:K,defineProperties:J,getOwnPropertyDescriptor:$,getOwnPropertyNames:X,getOwnPropertySymbols:Y}),k&&u(u.S+u.F*(!H||s(function(){var t=L();return"[null]"!=B([t])||"{}"!=B({a:t})||"{}"!=B(Object(t))})),"JSON",{stringify:function(t){for(var e,r,n=[t],o=1;arguments.length>o;)n.push(arguments[o++]);if(r=e=n[1],(m(e)||void 0!==t)&&!Z(t))return b(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!Z(e))return e}),n[1]=e,B.apply(k,n)}}),L.prototype[R]||r(2)(L.prototype,R,L.prototype.valueOf),l(L,"Symbol"),l(Math,"Math",!0),l(n.JSON,"JSON",!0)}])});
//# sourceMappingURL=cacheability.js.map
{
"name": "cacheability",
"version": "0.1.1",
"version": "1.0.0",
"description": "A utility class to parse, store and print http cache headers.",

@@ -29,5 +29,5 @@ "author": "Dylan Aubrey <dylanaubrey@gmail.com>",

"analyze:bundle": "webpack-bundle-analyzer bundle/stats.json lib/umd --mode static --report bundle/report.html --no-open",
"build": "npm run clean && npm run test && npm run compile && npm run analyze:bundle && npm run document",
"build": "yarn run clean && yarn run test && yarn run compile && yarn run analyze:bundle && yarn run document",
"clean": "gulp clean",
"compile": "npm run compile:main && npm run compile:module && npm run compile:browser && npm run compile:umd",
"compile": "yarn run compile:main && yarn run compile:module && yarn run compile:browser && yarn run compile:umd",
"compile:browser": "cross-env BABEL_ENV=browser gulp browser",

@@ -37,19 +37,28 @@ "compile:main": "cross-env BABEL_ENV=main gulp main",

"compile:umd": "cross-env BABEL_ENV=browser gulp umd",
"cut-off": "cut-off",
"cutoff:post-version": "yarn run document",
"debug:web": "cross-env BABEL_ENV=debug karma start --no-single-run --browsers Chrome",
"document": "gulp document",
"lint": "gulp lint",
"publish:pkg": "npm run build && npm publish",
"test": "npm run lint && npm run type-check && npm run test:web && npm run test:node",
"lint": "yarn run tslint && yarn run markdownLint",
"markdownLint": "markdownlint README.md",
"publish-cutoff": "publish-cutoff",
"test": "yarn run lint && yarn run type-check && yarn run test:web && yarn run test:node",
"test:node": "cross-env TS_NODE_PROJECT=\"./tsconfig.test.json\" nyc mocha --opts \"./mocha.opts\"",
"test:web": "cross-env BABEL_ENV=browser karma start --single-run --browsers ChromeHeadless --reporters mocha,coverage-istanbul",
"tslint": "gulp tslint",
"type-check": "gulp type-check"
},
"husky": {
"hooks": {
"pre-push": "yarn run test"
}
},
"peerDependencies": {
"isomorphic-fetch": "^2.2.1",
"lodash": "^4.17.0"
"lodash": "^4.17.5"
},
"devDependencies": {
"@babel/core": "^7.0.0-beta.36",
"@babel/preset-env": "^7.0.0-beta.36",
"@babel/preset-stage-0": "^7.0.0-beta.36",
"@babel/core": "7.0.0-beta.44",
"@babel/preset-env": "7.0.0-beta.44",
"@babel/preset-stage-0": "7.0.0-beta.44",
"@types/chai": "^4.0.8",

@@ -59,9 +68,11 @@ "@types/isomorphic-fetch": "0.0.34",

"@types/mocha": "^5.0.0",
"@types/node": "^9.3.0",
"awesome-typescript-loader": "^4.0.0",
"@types/node": "^10.3.0",
"awesome-typescript-loader": "^5.0.0",
"babel-eslint": "^8.0.2",
"babel-plugin-lodash": "^3.3.2",
"babel-plugin-module-resolver": "^3.1.1",
"chai": "^4.0.2",
"codecov": "^3.0.0",
"cross-env": "^5.1.3",
"cutoff": "^0.0.12",
"del": "^3.0.0",

@@ -79,2 +90,3 @@ "eslint": "^4.13.1",

"gulp-typescript": "^4.0.2",
"husky": "^1.0.0-rc.8",
"isomorphic-fetch": "^2.2.1",

@@ -85,3 +97,3 @@ "istanbul-instrumenter-loader": "^3.0.0",

"karma-chrome-launcher": "^2.2.0",
"karma-coverage-istanbul-reporter": "^1.3.0",
"karma-coverage-istanbul-reporter": "^2.0.1",
"karma-mocha": "^1.3.0",

@@ -91,10 +103,12 @@ "karma-mocha-reporter": "^2.2.5",

"karma-webpack": "^3.0.0",
"lodash": "^4.17.4",
"lodash": "^4.17.5",
"lodash-webpack-plugin": "^0.11.4",
"markdownlint-cli": "^0.10.0",
"merge-stream": "^1.0.1",
"mocha": "^5.1.0",
"nyc": "^11.4.1",
"nyc": "^12.0.2",
"source-map-loader": "^0.2.3",
"source-map-support": "^0.5.0",
"ts-node": "^5.0.1",
"ts-node": "^6.1.0",
"tsconfig-paths": "^3.3.2",
"tslint": "^5.8.0",

@@ -104,3 +118,3 @@ "typedoc": "^0.11.1",

"uglifyjs-webpack-plugin": "^1.1.6",
"webpack": "^3.10.0",
"webpack": "^4.10.2",
"webpack-bundle-analyzer": "^2.9.1",

@@ -107,0 +121,0 @@ "webpack-stream": "^4.0.0"

# cacheability
A utility class to parse, store and print http cache headers.
[![Build Status](https://travis-ci.org/dylanaubrey/cacheability.svg?branch=master)](https://travis-ci.org/dylanaubrey/cacheability)
[![codecov](https://codecov.io/gh/dylanaubrey/cacheability/branch/master/graph/badge.svg)](https://codecov.io/gh/dylanaubrey/cacheability)
[![Quality Gate](https://sonarcloud.io/api/badges/gate?key=sonarqube:cacheability)](https://sonarcloud.io/dashboard?id=sonarqube%3Acacheability)
[![Build Status](https://travis-ci.org/bad-batch/cacheability.svg?branch=master)](https://travis-ci.org/bad-batch/cacheability)
[![codecov](https://codecov.io/gh/bad-batch/cacheability/branch/master/graph/badge.svg)](https://codecov.io/gh/bad-batch/cacheability)
[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=sonarqube%3Acacheability&metric=alert_status)](https://sonarcloud.io/dashboard?id=sonarqube%3Acacheability)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![npm version](https://badge.fury.io/js/cacheability.svg)](https://badge.fury.io/js/cacheability)
[![dependencies Status](https://david-dm.org/dylanaubrey/cacheability/status.svg)](https://david-dm.org/dylanaubrey/cacheability)
[![devDependencies Status](https://david-dm.org/dylanaubrey/cacheability/dev-status.svg)](https://david-dm.org/dylanaubrey/cacheability?type=dev)
[![dependencies Status](https://david-dm.org/bad-batch/cacheability/status.svg)](https://david-dm.org/bad-batch/cacheability)
[![devDependencies Status](https://david-dm.org/bad-batch/cacheability/dev-status.svg)](https://david-dm.org/bad-batch/cacheability?type=dev)
### Installation
## Installation
```bash
yarn add cacheability
```
npm install cacheability --save
```
### Documentation
Please read the documentation on the cacheability [github pages](https://dylanaubrey.github.io/cacheability).
## Documentation
Please read the documentation on the cacheability [github pages](https://bad-batch.github.io/cacheability/).
## License
Cacheability is [MIT Licensed](LICENSE).

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc