diff --git a/.gitignore b/.gitignore index 8f55445..6d612da 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,6 @@ node_modules *.log *.log.* .webpack -dist/* .vscode .DS_Store /nbproject/* diff --git a/README.md b/README.md index 34fb2ad..3c90693 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ With PageInfoJS you can gather information about time to load the DOM as well cr when: - Elements are loaded, -- DOM loading percentage change, +- DOM loading percentage changes, - DOM is completely loaded. -You can work information about time too: +You can work with information about time too: - DOM loading start timestamp, - Elapsed time in milliseconds to completely load the DOM, @@ -17,13 +17,34 @@ You can work information about time too: ## How to use -Include the PageInfo.js script on `` element and you can work with the PageInfoJS at the end of your html, after +Include the `/dist/PageInfo.js` or `/dist/PageInfo.gz` script on `` element and you can work with the PageInfoJS at the end of your html, after close the `` tag, or include your js script there. -See the files on /example directory for a simples real world example. + +**See the files on /example directory for a simple real world example.** + +## Compiling the code +Clone this repo and you can use npm and webpack to compile the code, install the requirements: + +``` +git clone https://github.com/Maykonn/PageInfoJS.git +npm install +``` + +In your dev environment you can run (will compile the code and open the example app at localhost:8080/): +``` +npm run start +``` + +Build the code to production at `/dist` directory (minify, uglify, remove comments, logs, etc): +``` +npm run build +``` + +The `npm run build` command will generate two file at /dist directory, PageInfo.gz and PageInfo.js. ## Working with custom callbacks -Using custom callbacks for PageInfoJS events you can declare an array of callbacks: +To use the custom callbacks for PageInfoJS events you can declare an array of callbacks: ```JS var myCallbacks = []; ``` @@ -45,6 +66,12 @@ myCallbacks[PageInfoJS.EventsList.DOM.ElementLoaded] = function (element, PageIn - PageInfoJS.EventsList.DOM.ElementsLoadingPercentageIncremented - PageInfoJS.EventsList.DOM.AllElementsLoaded +And pass the callbacks array for the PageInfoJS instance: + +```JS +var PageInfo = new PageInfoJS(myCallbacks); +``` + ## Working with timestamps Getting the start timestamp of the DOM loading: diff --git a/dist/PageInfo.gz b/dist/PageInfo.gz new file mode 100644 index 0000000..02917b2 Binary files /dev/null and b/dist/PageInfo.gz differ diff --git a/dist/PageInfo.js b/dist/PageInfo.js new file mode 100644 index 0000000..7bb2fef --- /dev/null +++ b/dist/PageInfo.js @@ -0,0 +1 @@ +!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,{configurable:!1,enumerable:!0,get: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=1)}([function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={DOM:{ElementLoaded:"DOMElementLoaded",ElementsLoadingPercentageIncremented:"DOMElementsLoadingPercentageIncremented",AllElementsLoaded:"DOMAllElementsLoadedEventName"}}},function(t,e,r){r(2),t.exports=r(5)},function(t,e,r){(function(n,o){var i,a;!function(n,o){i=o,void 0!==(a="function"==typeof i?i.call(e,r,e,t):i)&&(t.exports=a)}(0,function(){"use strict";var t,e=Function.call.bind(Function.apply),r=Function.call.bind(Function.call),i=Array.isArray,a=Object.keys,u=function(t){try{return t(),!1}catch(t){return!0}},c=function(t){try{return t()}catch(t){return!1}},s=function(t){return function(){return!e(t,this,arguments)}}(u),f=!!Object.defineProperty&&function(){return!u(function(){Object.defineProperty({},"x",{get:function(){}})})}(),l="foo"===function(){}.name,p=Function.call.bind(Array.prototype.forEach),h=Function.call.bind(Array.prototype.reduce),y=Function.call.bind(Array.prototype.filter),v=Function.call.bind(Array.prototype.some),b=function(t,e,r,n){!n&&e in t||(f?Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:!0,value:r}):t[e]=r)},d=function(t,e,r){p(a(e),function(n){b(t,n,e[n],!!r)})},g=Function.call.bind(Object.prototype.toString),m=function(t){return"function"==typeof t},O={getter:function(t,e,r){if(!f)throw new TypeError("getters require true ES5 support");Object.defineProperty(t,e,{configurable:!0,enumerable:!1,get:r})},proxy:function(t,e,r){if(!f)throw new TypeError("getters require true ES5 support");var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,{configurable:n.configurable,enumerable:n.enumerable,get:function(){return t[e]},set:function(r){t[e]=r}})},redefine:function(t,e,r){if(f){var n=Object.getOwnPropertyDescriptor(t,e);n.value=r,Object.defineProperty(t,e,n)}else t[e]=r},defineByDescriptor:function(t,e,r){f?Object.defineProperty(t,e,r):"value"in r&&(t[e]=r.value)},preserveToString:function(t,e){e&&m(e.toString)&&b(t,"toString",e.toString.bind(e),!0)}},w=Object.create||function(t,e){var r=function(){};r.prototype=t;var n=new r;return void 0!==e&&a(e).forEach(function(t){O.defineByDescriptor(n,t,e[t])}),n},j=function(t,e){return!!Object.setPrototypeOf&&c(function(){var r=function e(r){var n=new t(r);return Object.setPrototypeOf(n,e.prototype),n};return Object.setPrototypeOf(r,t),r.prototype=w(t.prototype,{constructor:{value:r}}),e(r)})},T=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n)return n;throw Error("unable to locate global object")}(),E=T.isFinite,S=Function.call.bind(String.prototype.indexOf),I=Function.apply.bind(Array.prototype.indexOf),P=Function.call.bind(Array.prototype.concat),_=Function.call.bind(String.prototype.slice),C=Function.call.bind(Array.prototype.push),M=Function.apply.bind(Array.prototype.push),x=Function.call.bind(Array.prototype.shift),A=Math.max,N=Math.min,R=Math.floor,k=Math.abs,L=Math.exp,D=Math.log,F=Math.sqrt,z=Function.call.bind(Object.prototype.hasOwnProperty),q=function(){},G=T.Map,H=G&&G.prototype.delete,W=G&&G.prototype.get,V=G&&G.prototype.has,B=G&&G.prototype.set,J=T.Symbol||{},U=J.species||"@@species",X=Number.isNaN||function(t){return t!==t},Y=Number.isFinite||function(t){return"number"==typeof t&&E(t)},Z=m(Math.sign)?Math.sign:function(t){var e=+t;return 0===e?e:X(e)?e:0>e?-1:1},K=function(t){return"[object Arguments]"===g(t)},Q=function(t){return null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==g(t)&&"[object Function]"===g(t.callee)},tt=K(arguments)?K:Q,et={primitive:function(t){return null===t||"function"!=typeof t&&"object"!=typeof t},string:function(t){return"[object String]"===g(t)},regex:function(t){return"[object RegExp]"===g(t)},symbol:function(t){return"function"==typeof T.Symbol&&"symbol"==typeof t}},rt=function(t,e,r){var n=t[e];b(t,e,r,!0),O.preserveToString(t[e],n)},nt="function"==typeof J&&"function"==typeof J.for&&et.symbol(J()),ot=et.symbol(J.iterator)?J.iterator:"_es6-shim iterator_";T.Set&&"function"==typeof(new T.Set)["@@iterator"]&&(ot="@@iterator"),T.Reflect||b(T,"Reflect",{},!0);var it=T.Reflect,at=String,ut="undefined"!=typeof document&&document?document.all:null,ct=null==ut?function(t){return null==t}:function(t){return null==t&&t!==ut},st={Call:function(t,r){var n=arguments.length>2?arguments[2]:[];if(!st.IsCallable(t))throw new TypeError(t+" is not a function");return e(t,r,n)},RequireObjectCoercible:function(t,e){if(ct(t))throw new TypeError(e||"Cannot call method on "+t);return t},TypeIsObject:function(t){return void 0!==t&&null!==t&&!0!==t&&!1!==t&&("function"==typeof t||"object"==typeof t||t===ut)},ToObject:function(t,e){return Object(st.RequireObjectCoercible(t,e))},IsCallable:m,IsConstructor:function(t){return st.IsCallable(t)},ToInt32:function(t){return st.ToNumber(t)>>0},ToUint32:function(t){return st.ToNumber(t)>>>0},ToNumber:function(t){if("[object Symbol]"===g(t))throw new TypeError("Cannot convert a Symbol value to a number");return+t},ToInteger:function(t){var e=st.ToNumber(t);return X(e)?0:0!==e&&Y(e)?(e>0?1:-1)*R(k(e)):e},ToLength:function(t){var e=st.ToInteger(t);return e>0?e>Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:e:0},SameValue:function(t,e){return t===e?0!==t||1/t==1/e:X(t)&&X(e)},SameValueZero:function(t,e){return t===e||X(t)&&X(e)},IsIterable:function(t){return st.TypeIsObject(t)&&(void 0!==t[ot]||tt(t))},GetIterator:function(e){if(tt(e))return new t(e,"value");var r=st.GetMethod(e,ot);if(!st.IsCallable(r))throw new TypeError("value is not an iterable");var n=st.Call(r,e);if(!st.TypeIsObject(n))throw new TypeError("bad iterator");return n},GetMethod:function(t,e){var r=st.ToObject(t)[e];if(!ct(r)){if(!st.IsCallable(r))throw new TypeError("Method not callable: "+e);return r}},IteratorComplete:function(t){return!!t.done},IteratorClose:function(t,e){var r=st.GetMethod(t,"return");if(void 0!==r){var n,o;try{n=st.Call(r,t)}catch(t){o=t}if(!e){if(o)throw o;if(!st.TypeIsObject(n))throw new TypeError("Iterator's return method returned a non-object.")}}},IteratorNext:function(t){var e=arguments.length>1?t.next(arguments[1]):t.next();if(!st.TypeIsObject(e))throw new TypeError("bad iterator");return e},IteratorStep:function(t){var e=st.IteratorNext(t);return!st.IteratorComplete(e)&&e},Construct:function(t,e,r,n){var o=void 0===r?t:r;if(!n&&it.construct)return it.construct(t,e,o);var i=o.prototype;st.TypeIsObject(i)||(i=Object.prototype);var a=w(i),u=st.Call(t,a,e);return st.TypeIsObject(u)?u:a},SpeciesConstructor:function(t,e){var r=t.constructor;if(void 0===r)return e;if(!st.TypeIsObject(r))throw new TypeError("Bad constructor");var n=r[U];if(ct(n))return e;if(!st.IsConstructor(n))throw new TypeError("Bad @@species");return n},CreateHTML:function(t,e,r,n){var o=st.ToString(t),i="<"+e;if(""!==r){i+=" "+r+'="'+st.ToString(n).replace(/"/g,""")+'"'}return i+">"+o+""},IsRegExp:function(t){if(!st.TypeIsObject(t))return!1;var e=t[J.match];return void 0!==e?!!e:et.regex(t)},ToString:function(t){return at(t)}};if(f&&nt){var ft=function(t){if(et.symbol(J[t]))return J[t];var e=J.for("Symbol."+t);return Object.defineProperty(J,t,{configurable:!1,enumerable:!1,writable:!1,value:e}),e};if(!et.symbol(J.search)){var lt=ft("search"),pt=String.prototype.search;b(RegExp.prototype,lt,function(t){return st.Call(pt,t,[this])});var ht=function(t){var e=st.RequireObjectCoercible(this);if(!ct(t)){var r=st.GetMethod(t,lt);if(void 0!==r)return st.Call(r,t,[e])}return st.Call(pt,e,[st.ToString(t)])};rt(String.prototype,"search",ht)}if(!et.symbol(J.replace)){var yt=ft("replace"),vt=String.prototype.replace;b(RegExp.prototype,yt,function(t,e){return st.Call(vt,t,[this,e])});var bt=function(t,e){var r=st.RequireObjectCoercible(this);if(!ct(t)){var n=st.GetMethod(t,yt);if(void 0!==n)return st.Call(n,t,[r,e])}return st.Call(vt,r,[st.ToString(t),e])};rt(String.prototype,"replace",bt)}if(!et.symbol(J.split)){var dt=ft("split"),gt=String.prototype.split;b(RegExp.prototype,dt,function(t,e){return st.Call(gt,t,[this,e])});var mt=function(t,e){var r=st.RequireObjectCoercible(this);if(!ct(t)){var n=st.GetMethod(t,dt);if(void 0!==n)return st.Call(n,t,[r,e])}return st.Call(gt,r,[st.ToString(t),e])};rt(String.prototype,"split",mt)}var Ot=et.symbol(J.match),wt=Ot&&function(){var t={};return t[J.match]=function(){return 42},42!=="a".match(t)}();if(!Ot||wt){var jt=ft("match"),Tt=String.prototype.match;b(RegExp.prototype,jt,function(t){return st.Call(Tt,t,[this])});var Et=function(t){var e=st.RequireObjectCoercible(this);if(!ct(t)){var r=st.GetMethod(t,jt);if(void 0!==r)return st.Call(r,t,[e])}return st.Call(Tt,e,[st.ToString(t)])};rt(String.prototype,"match",Et)}}var St=function(t,e,r){O.preserveToString(e,t),Object.setPrototypeOf&&Object.setPrototypeOf(t,e),f?p(Object.getOwnPropertyNames(t),function(n){n in q||r[n]||O.proxy(t,n,e)}):p(Object.keys(t),function(n){n in q||r[n]||(e[n]=t[n])}),e.prototype=t.prototype,O.redefine(t.prototype,"constructor",e)},It=function(){return this},Pt=function(t){f&&!z(t,U)&&O.getter(t,U,It)},_t=function(t,e){var r=e||function(){return this};b(t,ot,r),!t[ot]&&et.symbol(ot)&&(t[ot]=r)},Ct=function(t,e,r){f?Object.defineProperty(t,e,{configurable:!0,enumerable:!0,writable:!0,value:r}):t[e]=r},Mt=function(t,e,r){if(Ct(t,e,r),!st.SameValue(t[e],r))throw new TypeError("property is nonconfigurable")},xt=function(t,e,r,n){if(!st.TypeIsObject(t))throw new TypeError("Constructor requires `new`: "+e.name);var o=e.prototype;st.TypeIsObject(o)||(o=r);var i=w(o);for(var a in n)if(z(n,a)){var u=n[a];b(i,a,u,!0)}return i};if(String.fromCodePoint&&1!==String.fromCodePoint.length){var At=String.fromCodePoint;rt(String,"fromCodePoint",function(t){return st.Call(At,this,arguments)})}var Nt={fromCodePoint:function(t){for(var e,r=[],n=0,o=arguments.length;o>n;n++){if(e=+arguments[n],!st.SameValue(e,st.ToInteger(e))||0>e||e>1114111)throw new RangeError("Invalid code point "+e);65536>e?C(r,String.fromCharCode(e)):(e-=65536,C(r,String.fromCharCode(55296+(e>>10))),C(r,String.fromCharCode(e%1024+56320)))}return r.join("")},raw:function(t){var e=st.ToObject(t,"bad callSite"),r=st.ToObject(e.raw,"bad raw value"),n=r.length,o=st.ToLength(n);if(0>=o)return"";for(var i,a,u,c,s=[],f=0;o>f&&(i=st.ToString(f),u=st.ToString(r[i]),C(s,u),o>f+1);)a=arguments.length>f+1?arguments[f+1]:"",c=st.ToString(a),C(s,c),f+=1;return s.join("")}};String.raw&&"xy"!==String.raw({raw:{0:"x",1:"y",length:2}})&&rt(String,"raw",Nt.raw),d(String,Nt);var Rt=function t(e,r){if(1>r)return"";if(r%2)return t(e,r-1)+e;var n=t(e,r/2);return n+n},kt={repeat:function(t){var e=st.ToString(st.RequireObjectCoercible(this)),r=st.ToInteger(t);if(0>r||r>=1/0)throw new RangeError("repeat count must be less than infinity and not overflow maximum string size");return Rt(e,r)},startsWith:function(t){var e=st.ToString(st.RequireObjectCoercible(this));if(st.IsRegExp(t))throw new TypeError('Cannot call method "startsWith" with a regex');var r,n=st.ToString(t);arguments.length>1&&(r=arguments[1]);var o=A(st.ToInteger(r),0);return _(e,o,o+n.length)===n},endsWith:function(t){var e=st.ToString(st.RequireObjectCoercible(this));if(st.IsRegExp(t))throw new TypeError('Cannot call method "endsWith" with a regex');var r,n=st.ToString(t),o=e.length;arguments.length>1&&(r=arguments[1]);var i=void 0===r?o:st.ToInteger(r),a=N(A(i,0),o);return _(e,a-n.length,a)===n},includes:function(t){if(st.IsRegExp(t))throw new TypeError('"includes" does not accept a RegExp');var e,r=st.ToString(t);return arguments.length>1&&(e=arguments[1]),-1!==S(this,r,e)},codePointAt:function(t){var e=st.ToString(st.RequireObjectCoercible(this)),r=st.ToInteger(t),n=e.length;if(r>=0&&n>r){var o=e.charCodeAt(r),i=r+1===n;if(55296>o||o>56319||i)return o;var a=e.charCodeAt(r+1);return 56320>a||a>57343?o:1024*(o-55296)+(a-56320)+65536}}};if(String.prototype.includes&&!1!=="a".includes("a",1/0)&&rt(String.prototype,"includes",kt.includes),String.prototype.startsWith&&String.prototype.endsWith){var Lt=u(function(){"/a/".startsWith(/a/)}),Dt=c(function(){return!1==="abc".startsWith("a",1/0)});Lt&&Dt||(rt(String.prototype,"startsWith",kt.startsWith),rt(String.prototype,"endsWith",kt.endsWith))}if(nt){c(function(){var t=/a/;return t[J.match]=!1,"/a/".startsWith(t)})||rt(String.prototype,"startsWith",kt.startsWith);c(function(){var t=/a/;return t[J.match]=!1,"/a/".endsWith(t)})||rt(String.prototype,"endsWith",kt.endsWith);c(function(){var t=/a/;return t[J.match]=!1,"/a/".includes(t)})||rt(String.prototype,"includes",kt.includes)}d(String.prototype,kt);var Ft="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff",zt=RegExp("(^["+Ft+"]+)|(["+Ft+"]+$)","g"),qt=function(){return st.ToString(st.RequireObjectCoercible(this)).replace(zt,"")},Gt="…​￾",Ht=RegExp("["+Gt+"]","g"),Wt=/^[-+]0x[0-9a-f]+$/i,Vt=Gt.trim().length!==Gt.length;b(String.prototype,"trim",qt,Vt);var Bt=function(t){return{value:t,done:0===arguments.length}},$t=function(t){st.RequireObjectCoercible(t),this._s=st.ToString(t),this._i=0};$t.prototype.next=function(){var t=this._s,e=this._i;if(void 0===t||e>=t.length)return this._s=void 0,Bt();var r,n,o=t.charCodeAt(e);return 55296>o||o>56319||e+1===t.length?n=1:(r=t.charCodeAt(e+1),n=56320>r||r>57343?1:2),this._i=e+n,Bt(t.substr(e,n))},_t($t.prototype),_t(String.prototype,function(){return new $t(this)});var Jt={from:function(t){var e,n=this;arguments.length>1&&(e=arguments[1]);var o,i;if(void 0===e)o=!1;else{if(!st.IsCallable(e))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(i=arguments[2]),o=!0}var a,u,c,s=void 0!==(tt(t)||st.GetMethod(t,ot));if(s){u=st.IsConstructor(n)?Object(new n):[];var f,l,p=st.GetIterator(t);for(c=0;;){if(!1===(f=st.IteratorStep(p)))break;l=f.value;try{o&&(l=void 0===i?e(l,c):r(e,i,l,c)),u[c]=l}catch(t){throw st.IteratorClose(p,!0),t}c+=1}a=c}else{var h=st.ToObject(t);a=st.ToLength(h.length),u=st.IsConstructor(n)?Object(new n(a)):Array(a);var y;for(c=0;a>c;++c)y=h[c],o&&(y=void 0===i?e(y,c):r(e,i,y,c)),Mt(u,c,y)}return u.length=a,u},of:function(){for(var t=arguments.length,e=this,r=i(e)||!st.IsCallable(e)?Array(t):st.Construct(e,[t]),n=0;t>n;++n)Mt(r,n,arguments[n]);return r.length=t,r}};d(Array,Jt),Pt(Array),t=function(t,e){this.i=0,this.array=t,this.kind=e},d(t.prototype,{next:function(){var e=this.i,r=this.array;if(!(this instanceof t))throw new TypeError("Not an ArrayIterator");if(void 0!==r)for(var n=st.ToLength(r.length);n>e;e++){var o,i=this.kind;return"key"===i?o=e:"value"===i?o=r[e]:"entry"===i&&(o=[e,r[e]]),this.i=e+1,Bt(o)}return this.array=void 0,Bt()}}),_t(t.prototype),Array.of===Jt.of||function(){var t=function(t){this.length=t};t.prototype=[];var e=Array.of.apply(t,[1,2]);return e instanceof t&&2===e.length}()||rt(Array,"of",Jt.of);var Ut={copyWithin:function(t,e){var r,n=st.ToObject(this),o=st.ToLength(n.length),i=st.ToInteger(t),a=st.ToInteger(e),u=0>i?A(o+i,0):N(i,o),c=0>a?A(o+a,0):N(a,o);arguments.length>2&&(r=arguments[2]);var s=void 0===r?o:st.ToInteger(r),f=0>s?A(o+s,0):N(s,o),l=N(f-c,o-u),p=1;for(u>c&&c+l>u&&(p=-1,c+=l-1,u+=l-1);l>0;)c in n?n[u]=n[c]:delete n[u],c+=p,u+=p,l-=1;return n},fill:function(t){var e;arguments.length>1&&(e=arguments[1]);var r;arguments.length>2&&(r=arguments[2]);var n=st.ToObject(this),o=st.ToLength(n.length);e=st.ToInteger(void 0===e?0:e),r=st.ToInteger(void 0===r?o:r);for(var i=0>e?A(o+e,0):N(e,o),a=0>r?o+r:r,u=i;o>u&&a>u;++u)n[u]=t;return n},find:function(t){var e=st.ToObject(this),n=st.ToLength(e.length);if(!st.IsCallable(t))throw new TypeError("Array#find: predicate must be a function");for(var o,i=arguments.length>1?arguments[1]:null,a=0;n>a;a++)if(o=e[a],i){if(r(t,i,o,a,e))return o}else if(t(o,a,e))return o},findIndex:function(t){var e=st.ToObject(this),n=st.ToLength(e.length);if(!st.IsCallable(t))throw new TypeError("Array#findIndex: predicate must be a function");for(var o=arguments.length>1?arguments[1]:null,i=0;n>i;i++)if(o){if(r(t,o,e[i],i,e))return i}else if(t(e[i],i,e))return i;return-1},keys:function(){return new t(this,"key")},values:function(){return new t(this,"value")},entries:function(){return new t(this,"entry")}};if(Array.prototype.keys&&!st.IsCallable([1].keys().next)&&delete Array.prototype.keys,Array.prototype.entries&&!st.IsCallable([1].entries().next)&&delete Array.prototype.entries,Array.prototype.keys&&Array.prototype.entries&&!Array.prototype.values&&Array.prototype[ot]&&(d(Array.prototype,{values:Array.prototype[ot]}),et.symbol(J.unscopables)&&(Array.prototype[J.unscopables].values=!0)),l&&Array.prototype.values&&"values"!==Array.prototype.values.name){var Xt=Array.prototype.values;rt(Array.prototype,"values",function(){return st.Call(Xt,this,arguments)}),b(Array.prototype,ot,Array.prototype.values,!0)}d(Array.prototype,Ut),0>1/[!0].indexOf(!0,-0)&&b(Array.prototype,"indexOf",function(t){var e=I(this,arguments);return 0===e&&0>1/e?0:e},!0),_t(Array.prototype,function(){return this.values()}),Object.getPrototypeOf&&_t(Object.getPrototypeOf([].values()));var Yt=function(){return c(function(){return 0===Array.from({length:-1}).length})}(),Zt=function(){var t=Array.from([0].entries());return 1===t.length&&i(t[0])&&0===t[0][0]&&0===t[0][1]}();if(Yt&&Zt||rt(Array,"from",Jt.from),!function(){return c(function(){return Array.from([0],void 0)})}()){var Kt=Array.from;rt(Array,"from",function(t){return arguments.length>1&&void 0!==arguments[1]?st.Call(Kt,this,arguments):r(Kt,this,t)})}var Qt=-(Math.pow(2,32)-1),te=function(t,e){var n={length:Qt};return n[e?(n.length>>>0)-1:0]=!0,c(function(){return r(t,n,function(){throw new RangeError("should not reach here")},[]),!0})};if(!te(Array.prototype.forEach)){var ee=Array.prototype.forEach;rt(Array.prototype,"forEach",function(t){return st.Call(ee,0>this.length?[]:this,arguments)})}if(!te(Array.prototype.map)){var re=Array.prototype.map;rt(Array.prototype,"map",function(t){return st.Call(re,0>this.length?[]:this,arguments)})}if(!te(Array.prototype.filter)){var ne=Array.prototype.filter;rt(Array.prototype,"filter",function(t){return st.Call(ne,0>this.length?[]:this,arguments)})}if(!te(Array.prototype.some)){var oe=Array.prototype.some;rt(Array.prototype,"some",function(t){return st.Call(oe,0>this.length?[]:this,arguments)})}if(!te(Array.prototype.every)){var ie=Array.prototype.every;rt(Array.prototype,"every",function(t){return st.Call(ie,0>this.length?[]:this,arguments)})}if(!te(Array.prototype.reduce)){var ae=Array.prototype.reduce;rt(Array.prototype,"reduce",function(t){return st.Call(ae,0>this.length?[]:this,arguments)})}if(!te(Array.prototype.reduceRight,!0)){var ue=Array.prototype.reduceRight;rt(Array.prototype,"reduceRight",function(t){return st.Call(ue,0>this.length?[]:this,arguments)})}if(v(Gt,function(t){return 0==+(t+0+t)})){var ce=Number,se=/^0b[01]+$/i,fe=/^0o[0-7]+$/i,le=se.test.bind(se),pe=fe.test.bind(fe),he=function(t){var e;if("function"==typeof t.valueOf&&(e=t.valueOf(),et.primitive(e)))return e;if("function"==typeof t.toString&&(e=""+t,et.primitive(e)))return e;throw new TypeError("No default value")},ye=Ht.test.bind(Ht),ve=Wt.test.bind(Wt),be=function(){var t=function(e){var r;"string"==typeof(r=arguments.length>0?et.primitive(e)?e:he(e):0)&&(r=st.Call(qt,r),le(r)?r=parseInt(_(r,2),2):pe(r)?r=parseInt(_(r,2),8):(ye(r)||ve(r))&&(r=NaN));var n=this,o=c(function(){return ce.prototype.valueOf.call(n),!0});return n instanceof t&&!o?new ce(r):ce(r)};return t}();St(ce,be,{}),d(be,{NaN:ce.NaN,MAX_VALUE:ce.MAX_VALUE,MIN_VALUE:ce.MIN_VALUE,NEGATIVE_INFINITY:ce.NEGATIVE_INFINITY,POSITIVE_INFINITY:ce.POSITIVE_INFINITY}),Number=be,O.redefine(T,"Number",be)}var de=Math.pow(2,53)-1;d(Number,{MAX_SAFE_INTEGER:de,MIN_SAFE_INTEGER:-de,EPSILON:2.220446049250313e-16,parseInt:T.parseInt,parseFloat:T.parseFloat,isFinite:Y,isInteger:function(t){return Y(t)&&st.ToInteger(t)===t},isSafeInteger:function(t){return Number.isInteger(t)&&k(t)<=Number.MAX_SAFE_INTEGER},isNaN:X}),b(Number,"parseInt",T.parseInt,Number.parseInt!==T.parseInt),1===[,1].find(function(){return!0})&&rt(Array.prototype,"find",Ut.find),0!==[,1].findIndex(function(){return!0})&&rt(Array.prototype,"findIndex",Ut.findIndex);var ge=Function.bind.call(Function.bind,Object.prototype.propertyIsEnumerable),me=function(t,e){f&&ge(t,e)&&Object.defineProperty(t,e,{enumerable:!1})},Oe=function(){for(var t=+this,e=arguments.length,r=e-t,n=Array(0>r?0:r),o=t;e>o;++o)n[o-t]=arguments[o];return n},we=function(t){return function(e,r){return e[r]=t[r],e}},je=function(t,e){var r,n=a(Object(e));return st.IsCallable(Object.getOwnPropertySymbols)&&(r=y(Object.getOwnPropertySymbols(Object(e)),ge(e))),h(P(n,r||[]),we(e),t)},Te={assign:function(t,e){var r=st.ToObject(t,"Cannot convert undefined or null to object");return h(st.Call(Oe,1,arguments),je,r)},is:function(t,e){return st.SameValue(t,e)}};if(Object.assign&&Object.preventExtensions&&function(){var t=Object.preventExtensions({1:2});try{Object.assign(t,"xy")}catch(e){return"y"===t[1]}}()&&rt(Object,"assign",Te.assign),d(Object,Te),f){var Ee={setPrototypeOf:function(t,e){var n,o=function(t,e){if(!st.TypeIsObject(t))throw new TypeError("cannot set prototype on a non-object");if(null!==e&&!st.TypeIsObject(e))throw new TypeError("can only set prototype to an object or null"+e)},i=function(t,e){return o(t,e),r(n,t,e),t};try{n=t.getOwnPropertyDescriptor(t.prototype,"__proto__").set,r(n,{},null)}catch(e){if(t.prototype!=={}.__proto__)return;n=function(t){this.__proto__=t},i.polyfill=i(i({},null),t.prototype)instanceof t}return i}(Object)};d(Object,Ee)}if(Object.setPrototypeOf&&Object.getPrototypeOf&&null!==Object.getPrototypeOf(Object.setPrototypeOf({},null))&&null===Object.getPrototypeOf(Object.create(null))&&function(){var t=Object.create(null),e=Object.getPrototypeOf,r=Object.setPrototypeOf;Object.getPrototypeOf=function(r){var n=e(r);return n===t?null:n},Object.setPrototypeOf=function(e,n){return r(e,null===n?t:n)},Object.setPrototypeOf.polyfill=!1}(),!!u(function(){Object.keys("foo")})){var Se=Object.keys;rt(Object,"keys",function(t){return Se(st.ToObject(t))}),a=Object.keys}if(u(function(){Object.keys(/a/g)})){var Ie=Object.keys;rt(Object,"keys",function(t){if(et.regex(t)){var e=[];for(var r in t)z(t,r)&&C(e,r);return e}return Ie(t)}),a=Object.keys}if(Object.getOwnPropertyNames){if(!!u(function(){Object.getOwnPropertyNames("foo")})){var Pe="object"==typeof window?Object.getOwnPropertyNames(window):[],_e=Object.getOwnPropertyNames;rt(Object,"getOwnPropertyNames",function(t){var e=st.ToObject(t);if("[object Window]"===g(e))try{return _e(e)}catch(t){return P([],Pe)}return _e(e)})}}if(Object.getOwnPropertyDescriptor){if(!!u(function(){Object.getOwnPropertyDescriptor("foo","bar")})){var Ce=Object.getOwnPropertyDescriptor;rt(Object,"getOwnPropertyDescriptor",function(t,e){return Ce(st.ToObject(t),e)})}}if(Object.seal){if(!!u(function(){Object.seal("foo")})){var Me=Object.seal;rt(Object,"seal",function(t){return st.TypeIsObject(t)?Me(t):t})}}if(Object.isSealed){if(!!u(function(){Object.isSealed("foo")})){var xe=Object.isSealed;rt(Object,"isSealed",function(t){return!st.TypeIsObject(t)||xe(t)})}}if(Object.freeze){if(!!u(function(){Object.freeze("foo")})){var Ae=Object.freeze;rt(Object,"freeze",function(t){return st.TypeIsObject(t)?Ae(t):t})}}if(Object.isFrozen){if(!!u(function(){Object.isFrozen("foo")})){var Ne=Object.isFrozen;rt(Object,"isFrozen",function(t){return!st.TypeIsObject(t)||Ne(t)})}}if(Object.preventExtensions){if(!!u(function(){Object.preventExtensions("foo")})){var Re=Object.preventExtensions;rt(Object,"preventExtensions",function(t){return st.TypeIsObject(t)?Re(t):t})}}if(Object.isExtensible){if(!!u(function(){Object.isExtensible("foo")})){var ke=Object.isExtensible;rt(Object,"isExtensible",function(t){return!!st.TypeIsObject(t)&&ke(t)})}}if(Object.getPrototypeOf){if(!!u(function(){Object.getPrototypeOf("foo")})){var Le=Object.getPrototypeOf;rt(Object,"getPrototypeOf",function(t){return Le(st.ToObject(t))})}}var De=f&&function(){var t=Object.getOwnPropertyDescriptor(RegExp.prototype,"flags");return t&&st.IsCallable(t.get)}();if(f&&!De){var Fe=function(){if(!st.TypeIsObject(this))throw new TypeError("Method called on incompatible type: must be an object.");var t="";return this.global&&(t+="g"),this.ignoreCase&&(t+="i"),this.multiline&&(t+="m"),this.unicode&&(t+="u"),this.sticky&&(t+="y"),t};O.getter(RegExp.prototype,"flags",Fe)}var ze=f&&c(function(){return RegExp(/a/g,"i")+""=="/a/i"}),qe=nt&&f&&function(){var t=/./;return t[J.match]=!1,RegExp(t)===t}(),Ge=c(function(){return"/abc/"===RegExp.prototype.toString.call({source:"abc"})}),He=Ge&&c(function(){return"/a/b"===RegExp.prototype.toString.call({source:"a",flags:"b"})});if(!Ge||!He){var We=RegExp.prototype.toString;b(RegExp.prototype,"toString",function(){var t=st.RequireObjectCoercible(this);return et.regex(t)?r(We,t):"/"+at(t.source)+"/"+at(t.flags)},!0),O.preserveToString(RegExp.prototype.toString,We)}if(f&&(!ze||qe)){var Ve=Object.getOwnPropertyDescriptor(RegExp.prototype,"flags").get,Be=Object.getOwnPropertyDescriptor(RegExp.prototype,"source")||{},$e=function(){return this.source},Je=st.IsCallable(Be.get)?Be.get:$e,Ue=RegExp,Xe=function(){return function t(e,r){var n=st.IsRegExp(e);if(!(this instanceof t)&&n&&void 0===r&&e.constructor===t)return e;var o=e,i=r;return et.regex(e)?(o=st.Call(Je,e),i=void 0===r?st.Call(Ve,e):r,new t(o,i)):(n&&(o=e.source,i=void 0===r?e.flags:r),new Ue(e,r))}}();St(Ue,Xe,{$input:!0}),RegExp=Xe,O.redefine(T,"RegExp",Xe)}if(f){var Ye={input:"$_",lastMatch:"$&",lastParen:"$+",leftContext:"$`",rightContext:"$'"};p(a(Ye),function(t){t in RegExp&&!(Ye[t]in RegExp)&&O.getter(RegExp,Ye[t],function(){return RegExp[t]})})}Pt(RegExp);var Ze=1/Number.EPSILON,Ke=function(t){return t+Ze-Ze},Qe=Math.pow(2,-23),tr=Math.pow(2,127)*(2-Qe),er=Math.pow(2,-126),rr=Math.E,nr=Math.LOG2E,or=Math.LOG10E,ir=Number.prototype.clz;delete Number.prototype.clz;var ar={acosh:function(t){var e=+t;return X(e)||1>t?NaN:1===e?0:e===1/0?e:D(e/rr+F(e+1)*F(e-1)/rr)+1},asinh:function t(e){var r=+e;return 0!==r&&E(r)?0>r?-t(-r):D(r+F(r*r+1)):r},atanh:function(t){var e=+t;return X(e)||-1>e||e>1?NaN:-1===e?-1/0:1===e?1/0:0===e?e:.5*D((1+e)/(1-e))},cbrt:function(t){var e=+t;if(0===e)return e;var r,n=0>e;return n&&(e=-e),e===1/0?r=1/0:(r=L(D(e)/3),r=(e/(r*r)+2*r)/3),n?-r:r},clz32:function(t){var e=+t,r=st.ToUint32(e);return 0===r?32:ir?st.Call(ir,r):31-R(D(r+.5)*nr)},cosh:function(t){var e=+t;return 0===e?1:X(e)?NaN:E(e)?(0>e&&(e=-e),e>21?L(e)/2:(L(e)+L(-e))/2):1/0},expm1:function(t){var e=+t;if(e===-1/0)return-1;if(!E(e)||0===e)return e;if(k(e)>.5)return L(e)-1;for(var r=e,n=0,o=1;n+r!==n;)n+=r,o+=1,r*=e/o;return n},hypot:function(t,e){for(var r=0,n=0,o=0;arguments.length>o;++o){var i=k(+arguments[o]);i>n?(r*=n/i*(n/i),r+=1,n=i):r+=i>0?i/n*(i/n):i}return n===1/0?1/0:n*F(r)},log2:function(t){return D(t)*nr},log10:function(t){return D(t)*or},log1p:function(t){var e=+t;return-1>e||X(e)?NaN:0===e||e===1/0?e:-1===e?-1/0:1+e-1==0?e:e*(D(1+e)/(1+e-1))},sign:Z,sinh:function(t){var e=+t;return E(e)&&0!==e?1>k(e)?(Math.expm1(e)-Math.expm1(-e))/2:(L(e-1)-L(-e-1))*rr/2:e},tanh:function(t){var e=+t;return X(e)||0===e?e:20>e?e>-20?(Math.expm1(e)-Math.expm1(-e))/(L(e)+L(-e)):-1:1},trunc:function(t){var e=+t;return 0>e?-R(-e):R(e)},imul:function(t,e){var r=st.ToUint32(t),n=st.ToUint32(e),o=r>>>16&65535,i=65535&r,a=n>>>16&65535,u=65535&n;return i*u+(o*u+i*a<<16>>>0)|0},fround:function(t){var e=+t;if(0===e||e===1/0||e===-1/0||X(e))return e;var r=Z(e),n=k(e);if(er>n)return r*Ke(n/er/Qe)*er*Qe;var o=(1+Qe/Number.EPSILON)*n,i=o-(o-n);return i>tr||X(i)?r*(1/0):r*i}};d(Math,ar),b(Math,"log1p",ar.log1p,-1e-17!==Math.log1p(-1e-17)),b(Math,"asinh",ar.asinh,Math.asinh(-1e7)!==-Math.asinh(1e7)),b(Math,"tanh",ar.tanh,-2e-17!==Math.tanh(-2e-17)),b(Math,"acosh",ar.acosh,Math.acosh(Number.MAX_VALUE)===1/0),b(Math,"cbrt",ar.cbrt,Math.abs(1-Math.cbrt(1e-300)/1e-100)/Number.EPSILON>8),b(Math,"sinh",ar.sinh,-2e-17!==Math.sinh(-2e-17));var ur=Math.expm1(10);b(Math,"expm1",ar.expm1,ur>22025.465794806718||22025.465794806718>ur);var cr=Math.round,sr=0===Math.round(.5-Number.EPSILON/4)&&1===Math.round(Number.EPSILON/3.99-.5),fr=Ze+1,lr=2*Ze-1,pr=[fr,lr].every(function(t){return Math.round(t)===t});b(Math,"round",function(t){var e=R(t),r=-1===e?-0:e+1;return.5>t-e?e:r},!sr||!pr),O.preserveToString(Math.round,cr);var hr=Math.imul;-5!==Math.imul(4294967295,5)&&(Math.imul=ar.imul,O.preserveToString(Math.imul,hr)),2!==Math.imul.length&&rt(Math,"imul",function(t,e){return st.Call(hr,Math,arguments)});var yr=function(){var t=T.setTimeout;if("function"==typeof t||"object"==typeof t){st.IsPromise=function(t){return!!st.TypeIsObject(t)&&void 0!==t._promise};var e,n=function(t){if(!st.IsConstructor(t))throw new TypeError("Bad promise constructor");var e=this,r=function(t,r){if(void 0!==e.resolve||void 0!==e.reject)throw new TypeError("Bad Promise implementation!");e.resolve=t,e.reject=r};if(e.resolve=void 0,e.reject=void 0,e.promise=new t(r),!st.IsCallable(e.resolve)||!st.IsCallable(e.reject))throw new TypeError("Bad promise constructor")};"undefined"!=typeof window&&st.IsCallable(window.postMessage)&&(e=function(){var t=[],e=function(e){C(t,e),window.postMessage("zero-timeout-message","*")},r=function(e){if(e.source===window&&"zero-timeout-message"===e.data){if(e.stopPropagation(),0===t.length)return;x(t)()}};return window.addEventListener("message",r,!0),e});var i,a,u=st.IsCallable(T.setImmediate)?T.setImmediate:"object"==typeof o&&o.nextTick?o.nextTick:function(){var t=T.Promise,e=t&&t.resolve&&t.resolve();return e&&function(t){return e.then(t)}}()||(st.IsCallable(e)?e():function(e){t(e,0)}),c=function(t){return t},s=function(t){throw t},f={},l=function(t,e,r){u(function(){p(t,e,r)})},p=function(t,e,r){var n,o;if(e===f)return t(r);try{n=t(r),o=e.resolve}catch(t){n=t,o=e.reject}o(n)},h=function(t,e){var r=t._promise,n=r.reactionLength;if(n>0&&(l(r.fulfillReactionHandler0,r.reactionCapability0,e),r.fulfillReactionHandler0=void 0,r.rejectReactions0=void 0,r.reactionCapability0=void 0,n>1))for(var o=1,i=0;n>o;o++,i+=3)l(r[i+0],r[i+2],e),t[i+0]=void 0,t[i+1]=void 0,t[i+2]=void 0;r.result=e,r.state=1,r.reactionLength=0},y=function(t,e){var r=t._promise,n=r.reactionLength;if(n>0&&(l(r.rejectReactionHandler0,r.reactionCapability0,e),r.fulfillReactionHandler0=void 0,r.rejectReactions0=void 0,r.reactionCapability0=void 0,n>1))for(var o=1,i=0;n>o;o++,i+=3)l(r[i+1],r[i+2],e),t[i+0]=void 0,t[i+1]=void 0,t[i+2]=void 0;r.result=e,r.state=2,r.reactionLength=0},v=function(t){var e=!1;return{resolve:function(r){var n;if(!e){if(e=!0,r===t)return y(t,new TypeError("Self resolution"));if(!st.TypeIsObject(r))return h(t,r);try{n=r.then}catch(e){return y(t,e)}if(!st.IsCallable(n))return h(t,r);u(function(){g(t,r,n)})}},reject:function(r){if(!e)return e=!0,y(t,r)}}},b=function(t,e,n,o){t===a?r(t,e,n,o,f):r(t,e,n,o)},g=function(t,e,r){var n=v(t),o=n.resolve,i=n.reject;try{b(r,e,o,i)}catch(t){i(t)}},m=function(){var t=function(e){if(!(this instanceof t))throw new TypeError('Constructor Promise requires "new"');if(this&&this._promise)throw new TypeError("Bad construction");if(!st.IsCallable(e))throw new TypeError("not a valid resolver");var r=xt(this,t,i,{_promise:{result:void 0,state:0,reactionLength:0,fulfillReactionHandler0:void 0,rejectReactionHandler0:void 0,reactionCapability0:void 0}}),n=v(r),o=n.reject;try{e(n.resolve,o)}catch(t){o(t)}return r};return t}();i=m.prototype;var O=function(t,e,r,n){var o=!1;return function(i){if(!o&&(o=!0,e[t]=i,0==--n.count)){(0,r.resolve)(e)}}},w=function(t,e,r){for(var n,o,i=t.iterator,a=[],u={count:1},c=0;;){try{if(!1===(n=st.IteratorStep(i))){t.done=!0;break}o=n.value}catch(e){throw t.done=!0,e}a[c]=void 0;var s=e.resolve(o),f=O(c,a,r,u);u.count+=1,b(s.then,s,f,r.reject),c+=1}if(0==--u.count){(0,r.resolve)(a)}return r.promise},j=function(t,e,r){for(var n,o,i,a=t.iterator;;){try{if(!1===(n=st.IteratorStep(a))){t.done=!0;break}o=n.value}catch(e){throw t.done=!0,e}i=e.resolve(o),b(i.then,i,r.resolve,r.reject)}return r.promise};return d(m,{all:function(t){var e=this;if(!st.TypeIsObject(e))throw new TypeError("Promise is not object");var r,o,i=new n(e);try{return r=st.GetIterator(t),o={iterator:r,done:!1},w(o,e,i)}catch(t){var a=t;if(o&&!o.done)try{st.IteratorClose(r,!0)}catch(t){a=t}var u=i.reject;return u(a),i.promise}},race:function(t){var e=this;if(!st.TypeIsObject(e))throw new TypeError("Promise is not object");var r,o,i=new n(e);try{return r=st.GetIterator(t),o={iterator:r,done:!1},j(o,e,i)}catch(t){var a=t;if(o&&!o.done)try{st.IteratorClose(r,!0)}catch(t){a=t}var u=i.reject;return u(a),i.promise}},reject:function(t){var e=this;if(!st.TypeIsObject(e))throw new TypeError("Bad promise constructor");var r=new n(e);return(0,r.reject)(t),r.promise},resolve:function(t){var e=this;if(!st.TypeIsObject(e))throw new TypeError("Bad promise constructor");if(st.IsPromise(t)){var r=t.constructor;if(r===e)return t}var o=new n(e);return(0,o.resolve)(t),o.promise}}),d(i,{catch:function(t){return this.then(null,t)},then:function(t,e){var r=this;if(!st.IsPromise(r))throw new TypeError("not a promise");var o,i=st.SpeciesConstructor(r,m);o=arguments.length>2&&arguments[2]===f&&i===m?f:new n(i);var a,u=st.IsCallable(t)?t:c,p=st.IsCallable(e)?e:s,h=r._promise;if(0===h.state){if(0===h.reactionLength)h.fulfillReactionHandler0=u,h.rejectReactionHandler0=p,h.reactionCapability0=o;else{var y=3*(h.reactionLength-1);h[y+0]=u,h[y+1]=p,h[y+2]=o}h.reactionLength+=1}else if(1===h.state)a=h.result,l(u,o,a);else{if(2!==h.state)throw new TypeError("unexpected Promise state");a=h.result,l(p,o,a)}return o.promise}}),f=new n(m),a=i.then,m}}();if(T.Promise&&(delete T.Promise.accept,delete T.Promise.defer,delete T.Promise.prototype.chain),"function"==typeof yr){d(T,{Promise:yr});var vr=j(T.Promise,function(t){return t.resolve(42).then(function(){})instanceof t}),br=!u(function(){T.Promise.reject(42).then(null,5).then(null,q)}),dr=u(function(){T.Promise.call(3,q)}),gr=function(t){var e=t.resolve(5);e.constructor={};var r=t.resolve(e);try{r.then(null,q).then(null,q)}catch(t){return!0}return e===r}(T.Promise),mr=f&&function(){var t=0,e=Object.defineProperty({},"then",{get:function(){t+=1}});return Promise.resolve(e),1===t}(),Or=function t(e){var r=new Promise(e);e(3,function(){}),this.then=r.then,this.constructor=t};Or.prototype=Promise.prototype,Or.all=Promise.all;var wr=c(function(){return!!Or.all([1,2])});if(vr&&br&&dr&&!gr&&mr&&!wr||(Promise=yr,rt(T,"Promise",yr)),1!==Promise.all.length){var jr=Promise.all;rt(Promise,"all",function(t){return st.Call(jr,this,arguments)})}if(1!==Promise.race.length){var Tr=Promise.race;rt(Promise,"race",function(t){return st.Call(Tr,this,arguments)})}if(1!==Promise.resolve.length){var Er=Promise.resolve;rt(Promise,"resolve",function(t){return st.Call(Er,this,arguments)})}if(1!==Promise.reject.length){var Sr=Promise.reject;rt(Promise,"reject",function(t){return st.Call(Sr,this,arguments)})}me(Promise,"all"),me(Promise,"race"),me(Promise,"resolve"),me(Promise,"reject"),Pt(Promise)}var Ir=function(t){var e=a(h(t,function(t,e){return t[e]=!0,t},{}));return t.join(":")===e.join(":")},Pr=Ir(["z","a","bb"]),_r=Ir(["z",1,"a","3",2]);if(f){var Cr=function(t,e){return e||Pr?ct(t)?"^"+st.ToString(t):"string"==typeof t?"$"+t:"number"==typeof t?_r?t:"n"+t:"boolean"==typeof t?"b"+t:null:null},Mr=function(){return Object.create?Object.create(null):{}},xr=function(t,e,n){if(i(n)||et.string(n))p(n,function(t){if(!st.TypeIsObject(t))throw new TypeError("Iterator value "+t+" is not an entry object");e.set(t[0],t[1])});else if(n instanceof t)r(t.prototype.forEach,n,function(t,r){e.set(r,t)});else{var o,a;if(!ct(n)){if(a=e.set,!st.IsCallable(a))throw new TypeError("bad map");o=st.GetIterator(n)}if(void 0!==o)for(;;){var u=st.IteratorStep(o);if(!1===u)break;var c=u.value;try{if(!st.TypeIsObject(c))throw new TypeError("Iterator value "+c+" is not an entry object");r(a,e,c[0],c[1])}catch(t){throw st.IteratorClose(o,!0),t}}}},Ar=function(t,e,n){if(i(n)||et.string(n))p(n,function(t){e.add(t)});else if(n instanceof t)r(t.prototype.forEach,n,function(t){e.add(t)});else{var o,a;if(!ct(n)){if(a=e.add,!st.IsCallable(a))throw new TypeError("bad set");o=st.GetIterator(n)}if(void 0!==o)for(;;){var u=st.IteratorStep(o);if(!1===u)break;var c=u.value;try{r(a,e,c)}catch(t){throw st.IteratorClose(o,!0),t}}}},Nr={Map:function(){var t={},e=function(t,e){this.key=t,this.value=e,this.next=null,this.prev=null};e.prototype.isRemoved=function(){return this.key===t};var n=function(t){return!!t._es6map},o=function(t,e){if(!st.TypeIsObject(t)||!n(t))throw new TypeError("Method Map.prototype."+e+" called on incompatible receiver "+st.ToString(t))},i=function(t,e){o(t,"[[MapIterator]]"),this.head=t._head,this.i=this.head,this.kind=e};i.prototype={next:function(){var t=this.i,e=this.kind,r=this.head;if(void 0===this.i)return Bt();for(;t.isRemoved()&&t!==r;)t=t.prev;for(var n;t.next!==r;)if(t=t.next,!t.isRemoved())return n="key"===e?t.key:"value"===e?t.value:[t.key,t.value],this.i=t,Bt(n);return this.i=void 0,Bt()}},_t(i.prototype);var a,u=function t(){if(!(this instanceof t))throw new TypeError('Constructor Map requires "new"');if(this&&this._es6map)throw new TypeError("Bad construction");var r=xt(this,t,a,{_es6map:!0,_head:null,_map:G?new G:null,_size:0,_storage:Mr()}),n=new e(null,null);return n.next=n.prev=n,r._head=n,arguments.length>0&&xr(t,r,arguments[0]),r};return a=u.prototype,O.getter(a,"size",function(){if(void 0===this._size)throw new TypeError("size method called on incompatible Map");return this._size}),d(a,{get:function(t){o(this,"get");var e,r=Cr(t,!0);if(null!==r)return e=this._storage[r],e?e.value:void 0;if(this._map)return e=W.call(this._map,t),e?e.value:void 0;for(var n=this._head,i=n;(i=i.next)!==n;)if(st.SameValueZero(i.key,t))return i.value},has:function(t){o(this,"has");var e=Cr(t,!0);if(null!==e)return void 0!==this._storage[e];if(this._map)return V.call(this._map,t);for(var r=this._head,n=r;(n=n.next)!==r;)if(st.SameValueZero(n.key,t))return!0;return!1},set:function(t,r){o(this,"set");var n,i=this._head,a=i,u=Cr(t,!0);if(null!==u){if(void 0!==this._storage[u])return this._storage[u].value=r,this;n=this._storage[u]=new e(t,r),a=i.prev}else this._map&&(V.call(this._map,t)?W.call(this._map,t).value=r:(n=new e(t,r),B.call(this._map,t,n),a=i.prev));for(;(a=a.next)!==i;)if(st.SameValueZero(a.key,t))return a.value=r,this;return n=n||new e(t,r),st.SameValue(-0,t)&&(n.key=0),n.next=this._head,n.prev=this._head.prev,n.prev.next=n,n.next.prev=n,this._size+=1,this},delete:function(e){o(this,"delete");var r=this._head,n=r,i=Cr(e,!0);if(null!==i){if(void 0===this._storage[i])return!1;n=this._storage[i].prev,delete this._storage[i]}else if(this._map){if(!V.call(this._map,e))return!1;n=W.call(this._map,e).prev,H.call(this._map,e)}for(;(n=n.next)!==r;)if(st.SameValueZero(n.key,e))return n.key=t,n.value=t,n.prev.next=n.next,n.next.prev=n.prev,this._size-=1,!0;return!1},clear:function(){o(this,"clear"),this._map=G?new G:null,this._size=0,this._storage=Mr();for(var e=this._head,r=e,n=r.next;(r=n)!==e;)r.key=t,r.value=t,n=r.next,r.next=r.prev=e;e.next=e.prev=e},keys:function(){return o(this,"keys"),new i(this,"key")},values:function(){return o(this,"values"),new i(this,"value")},entries:function(){return o(this,"entries"),new i(this,"key+value")},forEach:function(t){o(this,"forEach");for(var e=arguments.length>1?arguments[1]:null,n=this.entries(),i=n.next();!i.done;i=n.next())e?r(t,e,i.value[1],i.value[0],this):t(i.value[1],i.value[0],this)}}),_t(a,a.entries),u}(),Set:function(){var t,e=function(t){return t._es6set&&void 0!==t._storage},n=function(t,r){if(!st.TypeIsObject(t)||!e(t))throw new TypeError("Set.prototype."+r+" called on incompatible receiver "+st.ToString(t))},o=function e(){if(!(this instanceof e))throw new TypeError('Constructor Set requires "new"');if(this&&this._es6set)throw new TypeError("Bad construction");var r=xt(this,e,t,{_es6set:!0,"[[SetData]]":null,_storage:Mr()});if(!r._es6set)throw new TypeError("bad set");return arguments.length>0&&Ar(e,r,arguments[0]),r};t=o.prototype;var i=function(t){var e=t;if("^null"===e)return null;if("^undefined"!==e){var r=e.charAt(0);return"$"===r?_(e,1):"n"===r?+_(e,1):"b"===r?"btrue"===e:+e}},u=function(t){if(!t["[[SetData]]"]){var e=new Nr.Map;t["[[SetData]]"]=e,p(a(t._storage),function(t){var r=i(t);e.set(r,r)}),t["[[SetData]]"]=e}t._storage=null};return O.getter(o.prototype,"size",function(){return n(this,"size"),this._storage?a(this._storage).length:(u(this),this["[[SetData]]"].size)}),d(o.prototype,{has:function(t){n(this,"has");var e;return this._storage&&null!==(e=Cr(t))?!!this._storage[e]:(u(this),this["[[SetData]]"].has(t))},add:function(t){n(this,"add");var e;return this._storage&&null!==(e=Cr(t))?(this._storage[e]=!0,this):(u(this),this["[[SetData]]"].set(t,t),this)},delete:function(t){n(this,"delete");var e;if(this._storage&&null!==(e=Cr(t))){var r=z(this._storage,e);return delete this._storage[e]&&r}return u(this),this["[[SetData]]"].delete(t)},clear:function(){n(this,"clear"),this._storage&&(this._storage=Mr()),this["[[SetData]]"]&&this["[[SetData]]"].clear()},values:function(){return n(this,"values"),u(this),this["[[SetData]]"].values()},entries:function(){return n(this,"entries"),u(this),this["[[SetData]]"].entries()},forEach:function(t){n(this,"forEach");var e=arguments.length>1?arguments[1]:null,o=this;u(o),this["[[SetData]]"].forEach(function(n,i){e?r(t,e,i,i,o):t(i,i,o)})}}),b(o.prototype,"keys",o.prototype.values,!0),_t(o.prototype,o.prototype.values),o}()};if(T.Map||T.Set){c(function(){return 2===new Map([[1,2]]).get(1)})||(T.Map=function t(){if(!(this instanceof t))throw new TypeError('Constructor Map requires "new"');var e=new G;return arguments.length>0&&xr(t,e,arguments[0]),delete e.constructor,Object.setPrototypeOf(e,T.Map.prototype),e},T.Map.prototype=w(G.prototype),b(T.Map.prototype,"constructor",T.Map,!0),O.preserveToString(T.Map,G));var Rr=new Map,kr=function(){var t=new Map([[1,0],[2,0],[3,0],[4,0]]);return t.set(-0,t),t.get(0)===t&&t.get(-0)===t&&t.has(0)&&t.has(-0)}(),Lr=Rr.set(1,2)===Rr;kr&&Lr||rt(Map.prototype,"set",function(t,e){return r(B,this,0===t?0:t,e),this}),kr||(d(Map.prototype,{get:function(t){return r(W,this,0===t?0:t)},has:function(t){return r(V,this,0===t?0:t)}},!0),O.preserveToString(Map.prototype.get,W),O.preserveToString(Map.prototype.has,V));var Dr=new Set,Fr=function(t){return t.delete(0),t.add(-0),!t.has(0)}(Dr),zr=Dr.add(1)===Dr;if(!Fr||!zr){var qr=Set.prototype.add;Set.prototype.add=function(t){return r(qr,this,0===t?0:t),this},O.preserveToString(Set.prototype.add,qr)}if(!Fr){var Gr=Set.prototype.has;Set.prototype.has=function(t){return r(Gr,this,0===t?0:t)},O.preserveToString(Set.prototype.has,Gr);var Hr=Set.prototype.delete;Set.prototype.delete=function(t){return r(Hr,this,0===t?0:t)},O.preserveToString(Set.prototype.delete,Hr)}var Wr=j(T.Map,function(t){var e=new t([]);return e.set(42,42),e instanceof t}),Vr=Object.setPrototypeOf&&!Wr,Br=function(){try{return!(T.Map()instanceof T.Map)}catch(t){return t instanceof TypeError}}();0===T.Map.length&&!Vr&&Br||(T.Map=function t(){if(!(this instanceof t))throw new TypeError('Constructor Map requires "new"');var e=new G;return arguments.length>0&&xr(t,e,arguments[0]),delete e.constructor,Object.setPrototypeOf(e,t.prototype),e},T.Map.prototype=G.prototype,b(T.Map.prototype,"constructor",T.Map,!0),O.preserveToString(T.Map,G));var $r=j(T.Set,function(t){var e=new t([]);return e.add(42,42),e instanceof t}),Jr=Object.setPrototypeOf&&!$r,Ur=function(){try{return!(T.Set()instanceof T.Set)}catch(t){return t instanceof TypeError}}();if(0!==T.Set.length||Jr||!Ur){var Xr=T.Set;T.Set=function t(){if(!(this instanceof t))throw new TypeError('Constructor Set requires "new"');var e=new Xr;return arguments.length>0&&Ar(t,e,arguments[0]),delete e.constructor,Object.setPrototypeOf(e,t.prototype),e},T.Set.prototype=Xr.prototype,b(T.Set.prototype,"constructor",T.Set,!0),O.preserveToString(T.Set,Xr)}var Yr=new T.Map,Zr=!c(function(){return Yr.keys().next().done});if(("function"!=typeof T.Map.prototype.clear||0!==(new T.Set).size||0!==Yr.size||"function"!=typeof T.Map.prototype.keys||"function"!=typeof T.Set.prototype.keys||"function"!=typeof T.Map.prototype.forEach||"function"!=typeof T.Set.prototype.forEach||s(T.Map)||s(T.Set)||"function"!=typeof Yr.keys().next||Zr||!Wr)&&d(T,{Map:Nr.Map,Set:Nr.Set},!0),T.Set.prototype.keys!==T.Set.prototype.values&&b(T.Set.prototype,"keys",T.Set.prototype.values,!0),_t(Object.getPrototypeOf((new T.Map).keys())),_t(Object.getPrototypeOf((new T.Set).keys())),l&&"has"!==T.Set.prototype.has.name){var Kr=T.Set.prototype.has;rt(T.Set.prototype,"has",function(t){return r(Kr,this,t)})}}d(T,Nr),Pt(T.Map),Pt(T.Set)}var Qr=function(t){if(!st.TypeIsObject(t))throw new TypeError("target must be an object")},tn={apply:function(){return st.Call(st.Call,null,arguments)},construct:function(t,e){if(!st.IsConstructor(t))throw new TypeError("First argument must be a constructor.");var r=arguments.length>2?arguments[2]:t;if(!st.IsConstructor(r))throw new TypeError("new.target must be a constructor.");return st.Construct(t,e,r,"internal")},deleteProperty:function(t,e){if(Qr(t),f){var r=Object.getOwnPropertyDescriptor(t,e);if(r&&!r.configurable)return!1}return delete t[e]},has:function(t,e){return Qr(t),e in t}};Object.getOwnPropertyNames&&Object.assign(tn,{ownKeys:function(t){Qr(t);var e=Object.getOwnPropertyNames(t);return st.IsCallable(Object.getOwnPropertySymbols)&&M(e,Object.getOwnPropertySymbols(t)),e}});var en=function(t){return!u(t)};if(Object.preventExtensions&&Object.assign(tn,{isExtensible:function(t){return Qr(t),Object.isExtensible(t)},preventExtensions:function(t){return Qr(t),en(function(){Object.preventExtensions(t)})}}),f){var rn=function(t,e,r){var n=Object.getOwnPropertyDescriptor(t,e);if(!n){var o=Object.getPrototypeOf(t);if(null===o)return;return rn(o,e,r)}return"value"in n?n.value:n.get?st.Call(n.get,r):void 0},nn=function(t,e,n,o){var i=Object.getOwnPropertyDescriptor(t,e);if(!i){var a=Object.getPrototypeOf(t);if(null!==a)return nn(a,e,n,o);i={value:void 0,writable:!0,enumerable:!0,configurable:!0}}if("value"in i){if(!i.writable)return!1;if(!st.TypeIsObject(o))return!1;return Object.getOwnPropertyDescriptor(o,e)?it.defineProperty(o,e,{value:n}):it.defineProperty(o,e,{value:n,writable:!0,enumerable:!0,configurable:!0})}return!!i.set&&(r(i.set,o,n),!0)};Object.assign(tn,{defineProperty:function(t,e,r){return Qr(t),en(function(){Object.defineProperty(t,e,r)})},getOwnPropertyDescriptor:function(t,e){return Qr(t),Object.getOwnPropertyDescriptor(t,e)},get:function(t,e){return Qr(t),rn(t,e,arguments.length>2?arguments[2]:t)},set:function(t,e,r){return Qr(t),nn(t,e,r,arguments.length>3?arguments[3]:t)}})}if(Object.getPrototypeOf){var on=Object.getPrototypeOf;tn.getPrototypeOf=function(t){return Qr(t),on(t)}}if(Object.setPrototypeOf&&tn.getPrototypeOf){var an=function(t,e){for(var r=e;r;){if(t===r)return!0;r=tn.getPrototypeOf(r)}return!1};Object.assign(tn,{setPrototypeOf:function(t,e){if(Qr(t),null!==e&&!st.TypeIsObject(e))throw new TypeError("proto must be an object or null");return e===it.getPrototypeOf(t)||!(it.isExtensible&&!it.isExtensible(t))&&(!an(t,e)&&(Object.setPrototypeOf(t,e),!0))}})}var un=function(t,e){if(st.IsCallable(T.Reflect[t])){c(function(){return T.Reflect[t](1),T.Reflect[t](NaN),T.Reflect[t](!0),!0})&&rt(T.Reflect,t,e)}else b(T.Reflect,t,e)};Object.keys(tn).forEach(function(t){un(t,tn[t])});var cn=T.Reflect.getPrototypeOf;if(l&&cn&&"getPrototypeOf"!==cn.name&&rt(T.Reflect,"getPrototypeOf",function(t){return r(cn,T.Reflect,t)}),T.Reflect.setPrototypeOf&&c(function(){return T.Reflect.setPrototypeOf(1,{}),!0})&&rt(T.Reflect,"setPrototypeOf",tn.setPrototypeOf),T.Reflect.defineProperty&&(c(function(){var t=!T.Reflect.defineProperty(1,"test",{value:1}),e="function"!=typeof Object.preventExtensions||!T.Reflect.defineProperty(Object.preventExtensions({}),"test",{});return t&&e})||rt(T.Reflect,"defineProperty",tn.defineProperty)),T.Reflect.construct&&(c(function(){var t=function(){};return T.Reflect.construct(function(){},[],t)instanceof t})||rt(T.Reflect,"construct",tn.construct)),new Date(NaN)+""!="Invalid Date"){var sn=Date.prototype.toString,fn=function(){var t=+this;return t!==t?"Invalid Date":st.Call(sn,this)};rt(Date.prototype,"toString",fn)}var ln={anchor:function(t){return st.CreateHTML(this,"a","name",t)},big:function(){return st.CreateHTML(this,"big","","")},blink:function(){return st.CreateHTML(this,"blink","","")},bold:function(){return st.CreateHTML(this,"b","","")},fixed:function(){return st.CreateHTML(this,"tt","","")},fontcolor:function(t){return st.CreateHTML(this,"font","color",t)},fontsize:function(t){return st.CreateHTML(this,"font","size",t)},italics:function(){return st.CreateHTML(this,"i","","")},link:function(t){return st.CreateHTML(this,"a","href",t)},small:function(){return st.CreateHTML(this,"small","","")},strike:function(){return st.CreateHTML(this,"strike","","")},sub:function(){return st.CreateHTML(this,"sub","","")},sup:function(){return st.CreateHTML(this,"sup","","")}};p(Object.keys(ln),function(t){var e=String.prototype[t],n=!1;if(st.IsCallable(e)){var o=r(e,"",' " '),i=P([],o.match(/"/g)).length;n=o!==o.toLowerCase()||i>2}else n=!0;n&&rt(String.prototype,t,ln[t])});var pn=function(){if(!nt)return!1;var t="object"==typeof JSON&&"function"==typeof JSON.stringify?JSON.stringify:null;if(!t)return!1;if(void 0!==t(J()))return!0;if("[null]"!==t([J()]))return!0;var e={a:J()};return e[J()]=!0,"{}"!==t(e)}(),hn=c(function(){return!nt||"{}"===JSON.stringify(Object(J()))&&"[{}]"===JSON.stringify([Object(J())])});if(pn||!hn){var yn=JSON.stringify;rt(JSON,"stringify",function(t){if("symbol"!=typeof t){var e;arguments.length>1&&(e=arguments[1]);var n=[t];if(i(e))n.push(e);else{var o=st.IsCallable(e)?e:null;n.push(function(t,e){var n=o?r(o,this,t,e):e;if("symbol"!=typeof n)return et.symbol(n)?we({})(n):n})}return arguments.length>2&&n.push(arguments[2]),yn.apply(this,n)}})}return T})}).call(e,r(3),r(4))},function(t,e){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e){function r(){throw Error("setTimeout has not been defined")}function n(){throw Error("clearTimeout has not been defined")}function o(t){if(f===setTimeout)return setTimeout(t,0);if((f===r||!f)&&setTimeout)return f=setTimeout,setTimeout(t,0);try{return f(t,0)}catch(e){try{return f.call(null,t,0)}catch(e){return f.call(this,t,0)}}}function i(t){if(l===clearTimeout)return clearTimeout(t);if((l===n||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{return l(t)}catch(e){try{return l.call(null,t)}catch(e){return l.call(this,t)}}}function a(){v&&h&&(v=!1,h.length?y=h.concat(y):b=-1,y.length&&u())}function u(){if(!v){var t=o(a);v=!0;for(var e=y.length;e;){for(h=y,y=[];++b1)for(var r=1;arguments.length>r;r++)e[r-1]=arguments[r];y.push(new c(t,e)),1!==y.length||v||o(u)},c.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=s,p.addListener=s,p.once=s,p.off=s,p.removeListener=s,p.removeAllListeners=s,p.emit=s,p.prependListener=s,p.prependOnceListener=s,p.listeners=function(t){return[]},p.binding=function(t){throw Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw Error("process.chdir is not supported")},p.umask=function(){return 0}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var o=r(6),i=n(o),a=r(0),u=n(a);!function(t){t.PageInfoJS=i.default,t.PageInfoJS.EventsList=u.default}(window)},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var r=0;e.length>r;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)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),a=r(0),u=n(a),c=r(7),s=n(c),f=r(8),l=n(f);e.default=function(){function t(e){var r=this;o(this,t),this.Time=new s.default,new Promise(function(t){r._Events=new l.default(e),r._elements=window.document.getElementsByTagName("*"),r._elementsNumber=r._elements.length,t()}).then(function(){r._loadedElementsNumber=0,r._analyzeDOM()})}return i(t,[{key:"getElementsNumber",value:function(){return this._elementsNumber}},{key:"getLoadedElementsNumber",value:function(){return this._loadedElementsNumber}},{key:"_analyzeDOM",value:function(){var t=this,e=function(){t._Events.has(u.default.DOM.AllElementsLoaded)&&t._Events.get(u.default.DOM.AllElementsLoaded)(t)};if(0===t._elementsNumber)return e();for(var r=function(r){if(t._loadedElementsNumber+=1,t._Events.has(u.default.DOM.ElementLoaded)&&t._Events.get(u.default.DOM.ElementLoaded)(r,t),t._Events.has(u.default.DOM.ElementsLoadingPercentageIncremented)){var n=100/t._elementsNumber*t._loadedElementsNumber<<0;t._Events.get(u.default.DOM.ElementsLoadingPercentageIncremented)(n,r,t)}if(t._loadedElementsNumber===t._elementsNumber)return e()},n=t._elementsNumber;n--;)!function(e){var n=function(){return r(t._elements[e])};switch(t._elements[e].tagName){case"BODY":t._elements[e].onload=n;break;case"IMG":var o=new Image;o.onload=n,o.onerror=n,o.src=t._elements[e].src;break;default:n()}}(n)}}]),t}()},function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var r=0;e.length>r;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)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();e.default=function(){function t(){var e=this;n(this,t),this._startTimestamp=(new Date).getTime(),this._DOMLoadedTimestamp=0,this._elapsedTimeToLoadDOM=0,window.document.addEventListener("DOMContentLoaded",function(){e._calculateElapsedTimeToLoadDOM()},!1)}return o(t,[{key:"getStartTimestamp",value:function(){return this._startTimestamp}},{key:"getDOMLoadedTimestamp",value:function(){return this._DOMLoadedTimestamp}},{key:"getElapsedTimeToLoadDOM",value:function(){return this._elapsedTimeToLoadDOM}},{key:"_calculateElapsedTimeToLoadDOM",value:function(){this._DOMLoadedTimestamp=(new Date).getTime(),this._elapsedTimeToLoadDOM=this._DOMLoadedTimestamp-this._startTimestamp}}]),t}()},function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var r=0;e.length>r;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)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();e.default=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;n(this,t),this._Collection=void 0!==e?e:[]}return o(t,[{key:"has",value:function(t){return void 0!==this._Collection[t]}},{key:"get",value:function(t){return this._Collection[t]}},{key:"set",value:function(t,e){if("function"==typeof e)return this._Collection[t]=e,this;throw Error("Function "+name+" must be a function")}},{key:"delete",value:function(t){var e=this._Collection.indexOf(t);e>-1&&this._Collection.splice(e,1)}}]),t}()}]); \ No newline at end of file