Comparing version 4.6.4 to 4.6.5
@@ -10,7 +10,7 @@ { | ||
"authors": [ | ||
"Kris Kowal <kris@cixar.com> (http://github.com/kriskowal/)", | ||
"Sami Samhuri <sami.samhuri@gmail.com> (http://samhuri.net/)", | ||
"Florian Schäfer <florian.schaefer@gmail.com> (http://github.com/fschaefer)", | ||
"Irakli Gozalishvili <rfobic@gmail.com> (http://jeditoolkit.com)", | ||
"Kit Cambridge <kitcambridge@gmail.com> (http://kitcambridge.github.com)", | ||
"Kris Kowal <kris@cixar.com> (https://github.com/kriskowal/)", | ||
"Sami Samhuri <sami.samhuri@gmail.com> (https://samhuri.net/)", | ||
"Florian Schäfer <florian.schaefer@gmail.com> (https://github.com/fschaefer)", | ||
"Irakli Gozalishvili <rfobic@gmail.com> (https://gozala.io)", | ||
"Kit Cambridge <kitcambridge@gmail.com> (https://github.com/kitcambridge)", | ||
"Jordan Harband <ljharb@gmail.com> (https://github.com/ljharb/)" | ||
@@ -17,0 +17,0 @@ ], |
@@ -0,1 +1,7 @@ | ||
4.6.5 | ||
- [Fix] IE 8 has a broken `Object.defineProperty` | ||
- [patch] replace dead link in comment with archive.org link | ||
- [Docs] update all possible http: links to https: | ||
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud` | ||
4.6.4 | ||
@@ -471,3 +477,3 @@ - [Fix] `Object.defineProperty`: when shimmed in Chrome <= 36, properly handle writability | ||
- Revised Object.getPrototypeOf to work in more cases | ||
in response to http://ejohn.org/blog/objectgetprototypeof/ | ||
in response to https://johnresig.com/blog/objectgetprototypeof/ | ||
[issue #2] (fschaefer) | ||
@@ -474,0 +480,0 @@ |
@@ -58,6 +58,6 @@ /*! | ||
// ES5 15.2.3.2 | ||
// http://es5.github.com/#x15.2.3.2 | ||
// https://es5.github.io/#x15.2.3.2 | ||
if (!Object.getPrototypeOf) { | ||
// https://github.com/es-shims/es5-shim/issues#issue/2 | ||
// http://ejohn.org/blog/objectgetprototypeof/ | ||
// https://johnresig.com/blog/objectgetprototypeof/ | ||
// recommended by fschaefer on github | ||
@@ -88,3 +88,3 @@ // | ||
// ES5 15.2.3.3 | ||
// http://es5.github.com/#x15.2.3.3 | ||
// https://es5.github.io/#x15.2.3.3 | ||
@@ -190,3 +190,3 @@ // check whether getOwnPropertyDescriptor works if it's given. Otherwise, shim partially. | ||
// ES5 15.2.3.4 | ||
// http://es5.github.com/#x15.2.3.4 | ||
// https://es5.github.io/#x15.2.3.4 | ||
if (!Object.getOwnPropertyNames) { | ||
@@ -199,3 +199,3 @@ Object.getOwnPropertyNames = function getOwnPropertyNames(object) { | ||
// ES5 15.2.3.5 | ||
// http://es5.github.com/#x15.2.3.5 | ||
// https://es5.github.io/#x15.2.3.5 | ||
if (!Object.create) { | ||
@@ -335,3 +335,3 @@ | ||
// ES5 15.2.3.6 | ||
// http://es5.github.com/#x15.2.3.6 | ||
// https://es5.github.io/#x15.2.3.6 | ||
@@ -342,4 +342,4 @@ // Patch for WebKit and IE8 standard mode | ||
// IE8 Reference: | ||
// http://msdn.microsoft.com/en-us/library/dd282900.aspx | ||
// http://msdn.microsoft.com/en-us/library/dd229916.aspx | ||
// https://msdn.microsoft.com/en-us/library/dd282900.aspx | ||
// https://msdn.microsoft.com/en-us/library/dd229916.aspx | ||
// WebKit Bugs: | ||
@@ -444,3 +444,3 @@ // https://bugs.webkit.org/show_bug.cgi?id=36423 | ||
// ES5 15.2.3.7 | ||
// http://es5.github.com/#x15.2.3.7 | ||
// https://es5.github.io/#x15.2.3.7 | ||
if (!Object.defineProperties || definePropertiesFallback) { | ||
@@ -467,3 +467,3 @@ Object.defineProperties = function defineProperties(object, properties) { | ||
// ES5 15.2.3.8 | ||
// http://es5.github.com/#x15.2.3.8 | ||
// https://es5.github.io/#x15.2.3.8 | ||
if (!Object.seal) { | ||
@@ -482,3 +482,3 @@ Object.seal = function seal(object) { | ||
// ES5 15.2.3.9 | ||
// http://es5.github.com/#x15.2.3.9 | ||
// https://es5.github.io/#x15.2.3.9 | ||
if (!Object.freeze) { | ||
@@ -512,3 +512,3 @@ Object.freeze = function freeze(object) { | ||
// ES5 15.2.3.10 | ||
// http://es5.github.com/#x15.2.3.10 | ||
// https://es5.github.io/#x15.2.3.10 | ||
if (!Object.preventExtensions) { | ||
@@ -527,3 +527,3 @@ Object.preventExtensions = function preventExtensions(object) { | ||
// ES5 15.2.3.11 | ||
// http://es5.github.com/#x15.2.3.11 | ||
// https://es5.github.io/#x15.2.3.11 | ||
if (!Object.isSealed) { | ||
@@ -539,3 +539,3 @@ Object.isSealed = function isSealed(object) { | ||
// ES5 15.2.3.12 | ||
// http://es5.github.com/#x15.2.3.12 | ||
// https://es5.github.io/#x15.2.3.12 | ||
if (!Object.isFrozen) { | ||
@@ -551,3 +551,3 @@ Object.isFrozen = function isFrozen(object) { | ||
// ES5 15.2.3.13 | ||
// http://es5.github.com/#x15.2.3.13 | ||
// https://es5.github.io/#x15.2.3.13 | ||
if (!Object.isExtensible) { | ||
@@ -554,0 +554,0 @@ Object.isExtensible = function isExtensible(object) { |
@@ -6,3 +6,3 @@ /*! | ||
*/ | ||
(function(t,r){"use strict";if(typeof define==="function"&&define.amd){define(r)}else if(typeof exports==="object"){module.exports=r()}else{t.returnExports=r()}})(this,function(){var t=Array;var r=t.prototype;var e=Object;var n=e.prototype;var i=Function;var a=i.prototype;var o=String;var f=o.prototype;var u=Number;var l=u.prototype;var s=r.slice;var c=r.splice;var v=r.push;var p=r.unshift;var h=r.concat;var y=r.join;var d=a.call;var g=a.apply;var b=Math.max;var w=Math.min;var T=Math.floor;var m=Math.abs;var S=Math.pow;var D=Math.round;var x=Math.log;var O=Math.LOG10E;var E=Math.log10||function log10(t){return x(t)*O};var j=n.toString;var I=typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol";var U;var F=Function.prototype.toString,$=/^\s*class /,M=function isES6ClassFn(t){try{var r=F.call(t);var e=r.replace(/\/\/.*\n/g,"");var n=e.replace(/\/\*[.\s\S]*\*\//g,"");var i=n.replace(/\n/gm," ").replace(/ {2}/g," ");return $.test(i)}catch(a){return false}},N=function tryFunctionObject(t){try{if(M(t)){return false}F.call(t);return true}catch(r){return false}},C="[object Function]",P="[object GeneratorFunction]",U=function isCallable(t){if(!t){return false}if(typeof t!=="function"&&typeof t!=="object"){return false}if(I){return N(t)}if(M(t)){return false}var r=j.call(t);return r===C||r===P};var k;var A=RegExp.prototype.exec,R=function tryRegexExec(t){try{A.call(t);return true}catch(r){return false}},J="[object RegExp]";k=function isRegex(t){if(typeof t!=="object"){return false}return I?R(t):j.call(t)===J};var Y;var z=String.prototype.valueOf,Z=function tryStringObject(t){try{z.call(t);return true}catch(r){return false}},G="[object String]";Y=function isString(t){if(typeof t==="string"){return true}if(typeof t!=="object"){return false}return I?Z(t):j.call(t)===G};var H=e.defineProperty&&function(){try{var t={};e.defineProperty(t,"x",{enumerable:false,value:t});for(var r in t){return false}return t.x===t}catch(n){return false}}();var W=function(t){var r;if(H){r=function(t,r,n,i){if(!i&&r in t){return}e.defineProperty(t,r,{configurable:true,enumerable:false,writable:true,value:n})}}else{r=function(t,r,e,n){if(!n&&r in t){return}t[r]=e}}return function defineProperties(e,n,i){for(var a in n){if(t.call(n,a)){r(e,a,n[a],i)}}}}(n.hasOwnProperty);if(e.defineProperty){var B=function(){};var L={};var X={toString:L};e.defineProperty(B,"prototype",{value:X,writable:false});if((new B).toString!==L){var q=e.defineProperty;var K=e.getOwnPropertyDescriptor;W(e,{defineProperty:function defineProperty(t,r,e){var n=o(r);if(typeof t==="function"&&n==="prototype"){var i=K(t,n);if(i.writable&&!e.writable&&"value"in e){try{t[n]=e.value}catch(a){}}return q(t,n,{configurable:"configurable"in e?e.configurable:i.configurable,enumerable:"enumerable"in e?e.enumerable:i.enumerable,writable:e.writable})}return q(t,n,e)}},true)}}var Q=function isPrimitive(t){var r=typeof t;return t===null||r!=="object"&&r!=="function"};var V=u.isNaN||function isActualNaN(t){return t!==t};var _={ToInteger:function ToInteger(t){var r=+t;if(V(r)){r=0}else if(r!==0&&r!==1/0&&r!==-(1/0)){r=(r>0||-1)*T(m(r))}return r},ToPrimitive:function ToPrimitive(t){var r,e,n;if(Q(t)){return t}e=t.valueOf;if(U(e)){r=e.call(t);if(Q(r)){return r}}n=t.toString;if(U(n)){r=n.call(t);if(Q(r)){return r}}throw new TypeError},ToObject:function(t){if(t==null){throw new TypeError("can't convert "+t+" to object")}return e(t)},ToUint32:function ToUint32(t){return t>>>0}};var tt=function Empty(){};W(a,{bind:function bind(t){var r=this;if(!U(r)){throw new TypeError("Function.prototype.bind called on incompatible "+r)}var n=s.call(arguments,1);var a;var o=function(){if(this instanceof a){var i=g.call(r,this,h.call(n,s.call(arguments)));if(e(i)===i){return i}return this}return g.call(r,t,h.call(n,s.call(arguments)))};var f=b(0,r.length-n.length);var u=[];for(var l=0;l<f;l++){v.call(u,"$"+l)}a=i("binder","return function ("+y.call(u,",")+"){ return binder.apply(this, arguments); }")(o);if(r.prototype){tt.prototype=r.prototype;a.prototype=new tt;tt.prototype=null}return a}});var rt=d.bind(n.hasOwnProperty);var et=d.bind(n.toString);var nt=d.bind(s);var it=g.bind(s);if(typeof document==="object"&&document&&document.documentElement){try{nt(document.documentElement.childNodes)}catch(at){var ot=nt;var ft=it;nt=function arraySliceIE(t){var r=[];var e=t.length;while(e-- >0){r[e]=t[e]}return ft(r,ot(arguments,1))};it=function arraySliceApplyIE(t,r){return ft(nt(t),r)}}}var ut=d.bind(f.slice);var lt=d.bind(f.split);var st=d.bind(f.indexOf);var ct=d.bind(v);var vt=d.bind(n.propertyIsEnumerable);var pt=d.bind(r.sort);var ht=t.isArray||function isArray(t){return et(t)==="[object Array]"};var yt=[].unshift(0)!==1;W(r,{unshift:function(){p.apply(this,arguments);return this.length}},yt);W(t,{isArray:ht});var dt=e("a");var gt=dt[0]!=="a"||!(0 in dt);var bt=function properlyBoxed(t){var r=true;var e=true;var n=false;if(t){try{t.call("foo",function(t,e,n){if(typeof n!=="object"){r=false}});t.call([1],function(){"use strict";e=typeof this==="string"},"x")}catch(i){n=true}}return!!t&&!n&&r&&e};W(r,{forEach:function forEach(t){var r=_.ToObject(this);var e=gt&&Y(this)?lt(this,""):r;var n=-1;var i=_.ToUint32(e.length);var a;if(arguments.length>1){a=arguments[1]}if(!U(t)){throw new TypeError("Array.prototype.forEach callback must be a function")}while(++n<i){if(n in e){if(typeof a==="undefined"){t(e[n],n,r)}else{t.call(a,e[n],n,r)}}}}},!bt(r.forEach));W(r,{map:function map(r){var e=_.ToObject(this);var n=gt&&Y(this)?lt(this,""):e;var i=_.ToUint32(n.length);var a=t(i);var o;if(arguments.length>1){o=arguments[1]}if(!U(r)){throw new TypeError("Array.prototype.map callback must be a function")}for(var f=0;f<i;f++){if(f in n){if(typeof o==="undefined"){a[f]=r(n[f],f,e)}else{a[f]=r.call(o,n[f],f,e)}}}return a}},!bt(r.map));W(r,{filter:function filter(t){var r=_.ToObject(this);var e=gt&&Y(this)?lt(this,""):r;var n=_.ToUint32(e.length);var i=[];var a;var o;if(arguments.length>1){o=arguments[1]}if(!U(t)){throw new TypeError("Array.prototype.filter callback must be a function")}for(var f=0;f<n;f++){if(f in e){a=e[f];if(typeof o==="undefined"?t(a,f,r):t.call(o,a,f,r)){ct(i,a)}}}return i}},!bt(r.filter));W(r,{every:function every(t){var r=_.ToObject(this);var e=gt&&Y(this)?lt(this,""):r;var n=_.ToUint32(e.length);var i;if(arguments.length>1){i=arguments[1]}if(!U(t)){throw new TypeError("Array.prototype.every callback must be a function")}for(var a=0;a<n;a++){if(a in e&&!(typeof i==="undefined"?t(e[a],a,r):t.call(i,e[a],a,r))){return false}}return true}},!bt(r.every));W(r,{some:function some(t){var r=_.ToObject(this);var e=gt&&Y(this)?lt(this,""):r;var n=_.ToUint32(e.length);var i;if(arguments.length>1){i=arguments[1]}if(!U(t)){throw new TypeError("Array.prototype.some callback must be a function")}for(var a=0;a<n;a++){if(a in e&&(typeof i==="undefined"?t(e[a],a,r):t.call(i,e[a],a,r))){return true}}return false}},!bt(r.some));var wt=false;if(r.reduce){wt=typeof r.reduce.call("es5",function(t,r,e,n){return n})==="object"}W(r,{reduce:function reduce(t){var r=_.ToObject(this);var e=gt&&Y(this)?lt(this,""):r;var n=_.ToUint32(e.length);if(!U(t)){throw new TypeError("Array.prototype.reduce callback must be a function")}if(n===0&&arguments.length===1){throw new TypeError("reduce of empty array with no initial value")}var i=0;var a;if(arguments.length>=2){a=arguments[1]}else{do{if(i in e){a=e[i++];break}if(++i>=n){throw new TypeError("reduce of empty array with no initial value")}}while(true)}for(;i<n;i++){if(i in e){a=t(a,e[i],i,r)}}return a}},!wt);var Tt=false;if(r.reduceRight){Tt=typeof r.reduceRight.call("es5",function(t,r,e,n){return n})==="object"}W(r,{reduceRight:function reduceRight(t){var r=_.ToObject(this);var e=gt&&Y(this)?lt(this,""):r;var n=_.ToUint32(e.length);if(!U(t)){throw new TypeError("Array.prototype.reduceRight callback must be a function")}if(n===0&&arguments.length===1){throw new TypeError("reduceRight of empty array with no initial value")}var i;var a=n-1;if(arguments.length>=2){i=arguments[1]}else{do{if(a in e){i=e[a--];break}if(--a<0){throw new TypeError("reduceRight of empty array with no initial value")}}while(true)}if(a<0){return i}do{if(a in e){i=t(i,e[a],a,r)}}while(a--);return i}},!Tt);var mt=r.indexOf&&[0,1].indexOf(1,2)!==-1;W(r,{indexOf:function indexOf(t){var r=gt&&Y(this)?lt(this,""):_.ToObject(this);var e=_.ToUint32(r.length);if(e===0){return-1}var n=0;if(arguments.length>1){n=_.ToInteger(arguments[1])}n=n>=0?n:b(0,e+n);for(;n<e;n++){if(n in r&&r[n]===t){return n}}return-1}},mt);var St=r.lastIndexOf&&[0,1].lastIndexOf(0,-3)!==-1;W(r,{lastIndexOf:function lastIndexOf(t){var r=gt&&Y(this)?lt(this,""):_.ToObject(this);var e=_.ToUint32(r.length);if(e===0){return-1}var n=e-1;if(arguments.length>1){n=w(n,_.ToInteger(arguments[1]))}n=n>=0?n:e-m(n);for(;n>=0;n--){if(n in r&&t===r[n]){return n}}return-1}},St);var Dt=function(){var t=[1,2];var r=t.splice();return t.length===2&&ht(r)&&r.length===0}();W(r,{splice:function splice(t,r){if(arguments.length===0){return[]}return c.apply(this,arguments)}},!Dt);var xt=function(){var t={};r.splice.call(t,0,0,1);return t.length===1}();W(r,{splice:function splice(t,r){if(arguments.length===0){return[]}var e=arguments;this.length=b(_.ToInteger(this.length),0);if(arguments.length>0&&typeof r!=="number"){e=nt(arguments);if(e.length<2){ct(e,this.length-t)}else{e[1]=_.ToInteger(r)}}return c.apply(this,e)}},!xt);var Ot=function(){var r=new t(1e5);r[8]="x";r.splice(1,1);return r.indexOf("x")===7}();var Et=function(){var t=256;var r=[];r[t]="a";r.splice(t+1,0,"b");return r[t]==="a"}();W(r,{splice:function splice(t,r){var e=_.ToObject(this);var n=[];var i=_.ToUint32(e.length);var a=_.ToInteger(t);var f=a<0?b(i+a,0):w(a,i);var u=arguments.length===0?0:arguments.length===1?i-f:w(b(_.ToInteger(r),0),i-f);var l=0;var s;while(l<u){s=o(f+l);if(rt(e,s)){n[l]=e[s]}l+=1}var c=nt(arguments,2);var v=c.length;var p;if(v<u){l=f;var h=i-u;while(l<h){s=o(l+u);p=o(l+v);if(rt(e,s)){e[p]=e[s]}else{delete e[p]}l+=1}l=i;var y=i-u+v;while(l>y){delete e[l-1];l-=1}}else if(v>u){l=i-u;while(l>f){s=o(l+u-1);p=o(l+v-1);if(rt(e,s)){e[p]=e[s]}else{delete e[p]}l-=1}}l=f;for(var d=0;d<c.length;++d){e[l]=c[d];l+=1}e.length=i-u+v;return n}},!Ot||!Et);var jt=r.join;var It;try{It=Array.prototype.join.call("123",",")!=="1,2,3"}catch(at){It=true}if(It){W(r,{join:function join(t){var r=typeof t==="undefined"?",":t;return jt.call(Y(this)?lt(this,""):this,r)}},It)}var Ut=[1,2].join(undefined)!=="1,2";if(Ut){W(r,{join:function join(t){var r=typeof t==="undefined"?",":t;return jt.call(this,r)}},Ut)}var Ft=function push(t){var r=_.ToObject(this);var e=_.ToUint32(r.length);var n=0;while(n<arguments.length){r[e+n]=arguments[n];n+=1}r.length=e+n;return e+n};var $t=function(){var t={};var r=Array.prototype.push.call(t,undefined);return r!==1||t.length!==1||typeof t[0]!=="undefined"||!rt(t,0)}();W(r,{push:function push(t){if(ht(this)){return v.apply(this,arguments)}return Ft.apply(this,arguments)}},$t);var Mt=function(){var t=[];var r=t.push(undefined);return r!==1||t.length!==1||typeof t[0]!=="undefined"||!rt(t,0)}();W(r,{push:Ft},Mt);W(r,{slice:function(t,r){var e=Y(this)?lt(this,""):this;return it(e,arguments)}},gt);var Nt=function(){try{[1,2].sort(null)}catch(t){try{[1,2].sort({})}catch(r){return false}}return true}();var Ct=function(){try{[1,2].sort(/a/);return false}catch(t){}return true}();var Pt=function(){try{[1,2].sort(undefined);return true}catch(t){}return false}();W(r,{sort:function sort(t){if(typeof t==="undefined"){return pt(this)}if(!U(t)){throw new TypeError("Array.prototype.sort callback must be a function")}return pt(this,t)}},Nt||!Pt||!Ct);var kt=!vt({toString:null},"toString");var At=vt(function(){},"prototype");var Rt=!rt("x","0");var Jt=function(t){var r=t.constructor;return r&&r.prototype===t};var Yt={$applicationCache:true,$console:true,$external:true,$frame:true,$frameElement:true,$frames:true,$innerHeight:true,$innerWidth:true,$onmozfullscreenchange:true,$onmozfullscreenerror:true,$outerHeight:true,$outerWidth:true,$pageXOffset:true,$pageYOffset:true,$parent:true,$scrollLeft:true,$scrollTop:true,$scrollX:true,$scrollY:true,$self:true,$webkitIndexedDB:true,$webkitStorageInfo:true,$window:true,$width:true,$height:true,$top:true,$localStorage:true};var zt=function(){if(typeof window==="undefined"){return false}for(var t in window){try{if(!Yt["$"+t]&&rt(window,t)&&window[t]!==null&&typeof window[t]==="object"){Jt(window[t])}}catch(r){return true}}return false}();var Zt=function(t){if(typeof window==="undefined"||!zt){return Jt(t)}try{return Jt(t)}catch(r){return false}};var Gt=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];var Ht=Gt.length;var Wt=function isArguments(t){return et(t)==="[object Arguments]"};var Bt=function isArguments(t){return t!==null&&typeof t==="object"&&typeof t.length==="number"&&t.length>=0&&!ht(t)&&U(t.callee)};var Lt=Wt(arguments)?Wt:Bt;W(e,{keys:function keys(t){var r=U(t);var e=Lt(t);var n=t!==null&&typeof t==="object";var i=n&&Y(t);if(!n&&!r&&!e){throw new TypeError("Object.keys called on a non-object")}var a=[];var f=At&&r;if(i&&Rt||e){for(var u=0;u<t.length;++u){ct(a,o(u))}}if(!e){for(var l in t){if(!(f&&l==="prototype")&&rt(t,l)){ct(a,o(l))}}}if(kt){var s=Zt(t);for(var c=0;c<Ht;c++){var v=Gt[c];if(!(s&&v==="constructor")&&rt(t,v)){ct(a,v)}}}return a}});var Xt=e.keys&&function(){return e.keys(arguments).length===2}(1,2);var qt=e.keys&&function(){var t=e.keys(arguments);return arguments.length!==1||t.length!==1||t[0]!==1}(1);var Kt=e.keys;W(e,{keys:function keys(t){if(Lt(t)){return Kt(nt(t))}return Kt(t)}},!Xt||qt);var Qt=new Date(-0xc782b5b342b24).getUTCMonth()!==0;var Vt=new Date(-0x55d318d56a724);var _t=new Date(14496624e5);var tr=Vt.toUTCString()!=="Mon, 01 Jan -45875 11:59:59 GMT";var rr;var er;var nr=Vt.getTimezoneOffset();if(nr<-720){rr=Vt.toDateString()!=="Tue Jan 02 -45875";er=!/^Thu Dec 10 2015 \d\d:\d\d:\d\d GMT[-+]\d\d\d\d(?: |$)/.test(String(_t))}else{rr=Vt.toDateString()!=="Mon Jan 01 -45875";er=!/^Wed Dec 09 2015 \d\d:\d\d:\d\d GMT[-+]\d\d\d\d(?: |$)/.test(String(_t))}var ir=d.bind(Date.prototype.getFullYear);var ar=d.bind(Date.prototype.getMonth);var or=d.bind(Date.prototype.getDate);var fr=d.bind(Date.prototype.getUTCFullYear);var ur=d.bind(Date.prototype.getUTCMonth);var lr=d.bind(Date.prototype.getUTCDate);var sr=d.bind(Date.prototype.getUTCDay);var cr=d.bind(Date.prototype.getUTCHours);var vr=d.bind(Date.prototype.getUTCMinutes);var pr=d.bind(Date.prototype.getUTCSeconds);var hr=d.bind(Date.prototype.getUTCMilliseconds);var yr=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];var dr=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var gr=function daysInMonth(t,r){return or(new Date(r,t,0))};W(Date.prototype,{getFullYear:function getFullYear(){if(!this||!(this instanceof Date)){throw new TypeError("this is not a Date object.")}var t=ir(this);if(t<0&&ar(this)>11){return t+1}return t},getMonth:function getMonth(){if(!this||!(this instanceof Date)){throw new TypeError("this is not a Date object.")}var t=ir(this);var r=ar(this);if(t<0&&r>11){return 0}return r},getDate:function getDate(){if(!this||!(this instanceof Date)){throw new TypeError("this is not a Date object.")}var t=ir(this);var r=ar(this);var e=or(this);if(t<0&&r>11){if(r===12){return e}var n=gr(0,t+1);return n-e+1}return e},getUTCFullYear:function getUTCFullYear(){if(!this||!(this instanceof Date)){throw new TypeError("this is not a Date object.")}var t=fr(this);if(t<0&&ur(this)>11){return t+1}return t},getUTCMonth:function getUTCMonth(){if(!this||!(this instanceof Date)){throw new TypeError("this is not a Date object.")}var t=fr(this);var r=ur(this);if(t<0&&r>11){return 0}return r},getUTCDate:function getUTCDate(){if(!this||!(this instanceof Date)){throw new TypeError("this is not a Date object.")}var t=fr(this);var r=ur(this);var e=lr(this);if(t<0&&r>11){if(r===12){return e}var n=gr(0,t+1);return n-e+1}return e}},Qt);W(Date.prototype,{toUTCString:function toUTCString(){if(!this||!(this instanceof Date)){throw new TypeError("this is not a Date object.")}var t=sr(this);var r=lr(this);var e=ur(this);var n=fr(this);var i=cr(this);var a=vr(this);var o=pr(this);return yr[t]+", "+(r<10?"0"+r:r)+" "+dr[e]+" "+n+" "+(i<10?"0"+i:i)+":"+(a<10?"0"+a:a)+":"+(o<10?"0"+o:o)+" GMT"}},Qt||tr);W(Date.prototype,{toDateString:function toDateString(){if(!this||!(this instanceof Date)){throw new TypeError("this is not a Date object.")}var t=this.getDay();var r=this.getDate();var e=this.getMonth();var n=this.getFullYear();return yr[t]+" "+dr[e]+" "+(r<10?"0"+r:r)+" "+n}},Qt||rr);if(Qt||er){Date.prototype.toString=function toString(){if(!this||!(this instanceof Date)){throw new TypeError("this is not a Date object.")}var t=this.getDay();var r=this.getDate();var e=this.getMonth();var n=this.getFullYear();var i=this.getHours();var a=this.getMinutes();var o=this.getSeconds();var f=this.getTimezoneOffset();var u=T(m(f)/60);var l=T(m(f)%60);return yr[t]+" "+dr[e]+" "+(r<10?"0"+r:r)+" "+n+" "+(i<10?"0"+i:i)+":"+(a<10?"0"+a:a)+":"+(o<10?"0"+o:o)+" GMT"+(f>0?"-":"+")+(u<10?"0"+u:u)+(l<10?"0"+l:l)};if(H){e.defineProperty(Date.prototype,"toString",{configurable:true,enumerable:false,writable:true})}}var br=-621987552e5;var wr="-000001";var Tr=Date.prototype.toISOString&&new Date(br).toISOString().indexOf(wr)===-1;var mr=Date.prototype.toISOString&&new Date(-1).toISOString()!=="1969-12-31T23:59:59.999Z";var Sr=d.bind(Date.prototype.getTime);W(Date.prototype,{toISOString:function toISOString(){if(!isFinite(this)||!isFinite(Sr(this))){throw new RangeError("Date.prototype.toISOString called on non-finite value.")}var t=fr(this);var r=ur(this);t+=T(r/12);r=(r%12+12)%12;var e=[r+1,lr(this),cr(this),vr(this),pr(this)];t=(t<0?"-":t>9999?"+":"")+ut("00000"+m(t),0<=t&&t<=9999?-4:-6);for(var n=0;n<e.length;++n){e[n]=ut("00"+e[n],-2)}return t+"-"+nt(e,0,2).join("-")+"T"+nt(e,2).join(":")+"."+ut("000"+hr(this),-3)+"Z"}},Tr||mr);var Dr=function(){try{return Date.prototype.toJSON&&new Date(NaN).toJSON()===null&&new Date(br).toJSON().indexOf(wr)!==-1&&Date.prototype.toJSON.call({toISOString:function(){return true}})}catch(t){return false}}();if(!Dr){Date.prototype.toJSON=function toJSON(t){var r=e(this);var n=_.ToPrimitive(r);if(typeof n==="number"&&!isFinite(n)){return null}var i=r.toISOString;if(!U(i)){throw new TypeError("toISOString property is not callable")}return i.call(r)}}var xr=Date.parse("+033658-09-27T01:46:40.000Z")===1e15;var Or=!isNaN(Date.parse("2012-04-04T24:00:00.500Z"))||!isNaN(Date.parse("2012-11-31T23:59:59.000Z"))||!isNaN(Date.parse("2012-12-31T23:59:60.000Z"));var Er=isNaN(Date.parse("2000-01-01T00:00:00.000Z"));if(Er||Or||!xr){var jr=S(2,31)-1;var Ir=V(new Date(1970,0,1,0,0,0,jr+1).getTime());Date=function(t){var r=function Date(e,n,i,a,f,u,l){var s=arguments.length;var c;if(this instanceof t){var v=u;var p=l;if(Ir&&s>=7&&l>jr){var h=T(l/jr)*jr;var y=T(h/1e3);v+=y;p-=y*1e3}c=s===1&&o(e)===e?new t(r.parse(e)):s>=7?new t(e,n,i,a,f,v,p):s>=6?new t(e,n,i,a,f,v):s>=5?new t(e,n,i,a,f):s>=4?new t(e,n,i,a):s>=3?new t(e,n,i):s>=2?new t(e,n):s>=1?new t(e instanceof t?+e:e):new t}else{c=t.apply(this,arguments)}if(!Q(c)){W(c,{constructor:r},true)}return c};var e=new RegExp("^"+"(\\d{4}|[+-]\\d{6})"+"(?:-(\\d{2})"+"(?:-(\\d{2})"+"(?:"+"T(\\d{2})"+":(\\d{2})"+"(?:"+":(\\d{2})"+"(?:(\\.\\d{1,}))?"+")?"+"("+"Z|"+"(?:"+"([-+])"+"(\\d{2})"+":(\\d{2})"+")"+")?)?)?)?"+"$");var n=[0,31,59,90,120,151,181,212,243,273,304,334,365];var i=function dayFromMonth(t,r){var e=r>1?1:0;return n[r]+T((t-1969+e)/4)-T((t-1901+e)/100)+T((t-1601+e)/400)+365*(t-1970)};var a=function toUTC(r){var e=0;var n=r;if(Ir&&n>jr){var i=T(n/jr)*jr;var a=T(i/1e3);e+=a;n-=a*1e3}return u(new t(1970,0,1,0,0,e,n))};for(var f in t){if(rt(t,f)){r[f]=t[f]}}W(r,{now:t.now,UTC:t.UTC},true);r.prototype=t.prototype;W(r.prototype,{constructor:r},true);var l=function parse(r){var n=e.exec(r);if(n){var o=u(n[1]),f=u(n[2]||1)-1,l=u(n[3]||1)-1,s=u(n[4]||0),c=u(n[5]||0),v=u(n[6]||0),p=T(u(n[7]||0)*1e3),h=Boolean(n[4]&&!n[8]),y=n[9]==="-"?1:-1,d=u(n[10]||0),g=u(n[11]||0),b;var w=c>0||v>0||p>0;if(s<(w?24:25)&&c<60&&v<60&&p<1e3&&f>-1&&f<12&&d<24&&g<60&&l>-1&&l<i(o,f+1)-i(o,f)){b=((i(o,f)+l)*24+s+d*y)*60;b=((b+c+g*y)*60+v)*1e3+p;if(h){b=a(b)}if(-864e13<=b&&b<=864e13){return b}}return NaN}return t.parse.apply(this,arguments)};W(r,{parse:l});return r}(Date)}if(!Date.now){Date.now=function now(){return(new Date).getTime()}}var Ur=l.toFixed&&(8e-5.toFixed(3)!=="0.000"||.9.toFixed(0)!=="1"||1.255.toFixed(2)!=="1.25"||(1000000000000000128).toFixed(0)!=="1000000000000000128");var Fr={base:1e7,size:6,data:[0,0,0,0,0,0],multiply:function multiply(t,r){var e=-1;var n=r;while(++e<Fr.size){n+=t*Fr.data[e];Fr.data[e]=n%Fr.base;n=T(n/Fr.base)}},divide:function divide(t){var r=Fr.size;var e=0;while(--r>=0){e+=Fr.data[r];Fr.data[r]=T(e/t);e=e%t*Fr.base}},numToString:function numToString(){var t=Fr.size;var r="";while(--t>=0){if(r!==""||t===0||Fr.data[t]!==0){var e=o(Fr.data[t]);if(r===""){r=e}else{r+=ut("0000000",0,7-e.length)+e}}}return r},pow:function pow(t,r,e){return r===0?e:r%2===1?pow(t,r-1,e*t):pow(t*t,r/2,e)},log:function log(t){var r=0;var e=t;while(e>=4096){r+=12;e/=4096}while(e>=2){r+=1;e/=2}return r}};var $r=function toFixed(t){var r,e,n,i,a,f,l,s;r=u(t);r=V(r)?0:T(r);if(r<0||r>20){throw new RangeError("Number.toFixed called with invalid number of decimals")}e=u(this);if(V(e)){return"NaN"}if(e<=-1e21||e>=1e21){return o(e)}n="";if(e<0){n="-";e=-e}i="0";if(e>1e-21){a=Fr.log(e*Fr.pow(2,69,1))-69;f=a<0?e*Fr.pow(2,-a,1):e/Fr.pow(2,a,1);f*=4503599627370496;a=52-a;if(a>0){Fr.multiply(0,f);l=r;while(l>=7){Fr.multiply(1e7,0);l-=7}Fr.multiply(Fr.pow(10,l,1),0);l=a-1;while(l>=23){Fr.divide(1<<23);l-=23}Fr.divide(1<<l);Fr.multiply(1,1);Fr.divide(2);i=Fr.numToString()}else{Fr.multiply(0,f);Fr.multiply(1<<-a,0);i=Fr.numToString()+ut("0.00000000000000000000",2,2+r)}}if(r>0){s=i.length;if(s<=r){i=n+ut("0.0000000000000000000",0,r-s+2)+i}else{i=n+ut(i,0,s-r)+"."+ut(i,s-r)}}else{i=n+i}return i};W(l,{toFixed:$r},Ur);var Mr=function(){try{return(-6.9e-11).toExponential(4)!=="-6.9000e-11"}catch(t){return false}}();var Nr=function(){try{1..toExponential(Infinity);1..toExponential(-Infinity);return true}catch(t){return false}}();var Cr=d.bind(l.toExponential);var Pr=d.bind(l.toString);var kr=d.bind(l.valueOf);W(l,{toExponential:function toExponential(t){var r=kr(this);if(typeof t==="undefined"){return Cr(r)}var e=_.ToInteger(t);if(V(r)){return"NaN"}if(e<0||e>20){return Cr(r,e)}var n="";if(r<0){n="-";r=-r}if(r===Infinity){return n+"Infinity"}if(typeof t!=="undefined"&&(e<0||e>20)){throw new RangeError("Fraction digits "+t+" out of range")}var i="";var a=0;var o="";var f="";if(r===0){a=0;e=0;i="0"}else{var u=E(r);a=T(u);var l=0;if(typeof t!=="undefined"){var s=S(10,a-e);l=D(r/s);if(2*r>=(2*l+1)*s){l+=1}if(l>=S(10,e+1)){l/=10;a+=1}}else{e=16;var c=D(S(10,u-a+e));var v=e;while(e-- >0){c=D(S(10,u-a+e));if(m(c*S(10,a-e)-r)<=m(l*S(10,a-v)-r)){v=e;l=c}}}i=Pr(l,10);if(typeof t==="undefined"){while(ut(i,-1)==="0"){i=ut(i,0,-1);f+=1}}}if(e!==0){i=ut(i,0,1)+"."+ut(i,1)}if(a===0){o="+";f="0"}else{o=a>0?"+":"-";f=Pr(m(a),10)}i+="e"+o+f;return n+i}},Mr||Nr);var Ar=function(){try{return 1..toPrecision(undefined)==="1"}catch(t){return true}}();var Rr=d.bind(l.toPrecision);W(l,{toPrecision:function toPrecision(t){return typeof t==="undefined"?Rr(this):Rr(this,t)}},Ar);if("ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||"tesst".split(/(s)*/)[1]==="t"||"test".split(/(?:)/,-1).length!==4||"".split(/.?/).length||".".split(/()()/).length>1){(function(){var t=typeof/()??/.exec("")[1]==="undefined";var r=S(2,32)-1;f.split=function split(e,n){var i=String(this);if(typeof e==="undefined"&&n===0){return[]}if(!k(e)){return lt(this,e,n)}var a=[];var o=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,u,l,s,c;var p=new RegExp(e.source,o+"g");if(!t){u=new RegExp("^"+p.source+"$(?!\\s)",o)}var h=typeof n==="undefined"?r:_.ToUint32(n);l=p.exec(i);while(l){s=l.index+l[0].length;if(s>f){ct(a,ut(i,f,l.index));if(!t&&l.length>1){l[0].replace(u,function(){for(var t=1;t<arguments.length-2;t++){if(typeof arguments[t]==="undefined"){l[t]=void 0}}})}if(l.length>1&&l.index<i.length){v.apply(a,nt(l,1))}c=l[0].length;f=s;if(a.length>=h){break}}if(p.lastIndex===l.index){p.lastIndex++}l=p.exec(i)}if(f===i.length){if(c||!p.test("")){ct(a,"")}}else{ct(a,ut(i,f))}return a.length>h?nt(a,0,h):a}})()}else if("0".split(void 0,0).length){f.split=function split(t,r){if(typeof t==="undefined"&&r===0){return[]}return lt(this,t,r)}}var Jr=f.replace;var Yr=function(){var t=[];"x".replace(/x(.)?/g,function(r,e){ct(t,e)});return t.length===1&&typeof t[0]==="undefined"}();if(!Yr){f.replace=function replace(t,r){var e=U(r);var n=k(t)&&/\)[*?]/.test(t.source);if(!e||!n){return Jr.call(this,t,r)}var i=function(e){var n=arguments.length;var i=t.lastIndex;t.lastIndex=0;var a=t.exec(e)||[];t.lastIndex=i;ct(a,arguments[n-2],arguments[n-1]);return r.apply(this,a)};return Jr.call(this,t,i)}}var zr=f.substr;var Zr="".substr&&"0b".substr(-1)!=="b";W(f,{substr:function substr(t,r){var e=t;if(t<0){e=b(this.length+t,0)}return zr.call(this,e,r)}},Zr);var Gr="\t\n\x0B\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003"+"\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028"+"\u2029\ufeff";var Hr="\u200b";var Wr="["+Gr+"]";var Br=new RegExp("^"+Wr+Wr+"*");var Lr=new RegExp(Wr+Wr+"*$");var Xr=f.trim&&(Gr.trim()||!Hr.trim());W(f,{trim:function trim(){if(typeof this==="undefined"||this===null){throw new TypeError("can't convert "+this+" to object")}return o(this).replace(Br,"").replace(Lr,"")}},Xr);var qr=d.bind(String.prototype.trim);var Kr=f.lastIndexOf&&"abc\u3042\u3044".lastIndexOf("\u3042\u3044",2)!==-1;W(f,{lastIndexOf:function lastIndexOf(t){if(typeof this==="undefined"||this===null){throw new TypeError("can't convert "+this+" to object")}var r=o(this);var e=o(t);var n=arguments.length>1?u(arguments[1]):NaN;var i=V(n)?Infinity:_.ToInteger(n);var a=w(b(i,0),r.length);var f=e.length;var l=a+f;while(l>0){l=b(0,l-f);var s=st(ut(r,l,a+f),e);if(s!==-1){return l+s}}return-1}},Kr);var Qr=f.lastIndexOf;W(f,{lastIndexOf:function lastIndexOf(t){return Qr.apply(this,arguments)}},f.lastIndexOf.length!==1);var Vr=/^[-+]?0[xX]/;if(parseInt(Gr+"08")!==8||parseInt(Gr+"0x16")!==22){parseInt=function(t){return function parseInt(r,e){var n=qr(String(r));var i=u(e)||(Vr.test(n)?16:10);return t(n,i)}}(parseInt)}var _r=function(){if(typeof Symbol!=="function"){return false}try{parseInt(Object(Symbol.iterator));return true}catch(t){}try{parseInt(Symbol.iterator);return true}catch(t){}return false}();if(_r){var te=Symbol.prototype.valueOf;parseInt=function(t){return function parseInt(r,e){var n=typeof r==="symbol";if(!n&&r&&typeof r==="object"){try{te.call(r);n=true}catch(i){}}if(n){""+r}var a=qr(String(r));var o=u(e)||(Vr.test(a)?16:10);return t(a,o)}}(parseInt)}if(1/parseFloat("-0")!==-Infinity){parseFloat=function(t){return function parseFloat(r){var e=qr(String(r));var n=t(e);return n===0&&ut(e,0,1)==="-"?-0:n}}(parseFloat)}if(String(new RangeError("test"))!=="RangeError: test"){var re=function toString(){if(typeof this==="undefined"||this===null){throw new TypeError("can't convert "+this+" to object")}var t=this.name;if(typeof t==="undefined"){t="Error"}else if(typeof t!=="string"){t=o(t)}var r=this.message;if(typeof r==="undefined"){r=""}else if(typeof r!=="string"){r=o(r)}if(!t){return r}if(!r){return t}return t+": "+r};Error.prototype.toString=re}if(H){var ee=function(t,r){if(vt(t,r)){var e=Object.getOwnPropertyDescriptor(t,r);if(e.configurable){e.enumerable=false;Object.defineProperty(t,r,e)}}};ee(Error.prototype,"message");if(Error.prototype.message!==""){Error.prototype.message=""}ee(Error.prototype,"name")}if(String(/a/gim)!=="/a/gim"){var ne=function toString(){var t="/"+this.source+"/";if(this.global){t+="g"}if(this.ignoreCase){t+="i"}if(this.multiline){t+="m"}return t};RegExp.prototype.toString=ne}}); | ||
(function(t,r){"use strict";if(typeof define==="function"&&define.amd){define(r)}else if(typeof exports==="object"){module.exports=r()}else{t.returnExports=r()}})(this,function(){var t=Array;var r=t.prototype;var e=Object;var n=e.prototype;var i=Function;var a=i.prototype;var o=String;var f=o.prototype;var u=Number;var l=u.prototype;var s=r.slice;var c=r.splice;var v=r.push;var p=r.unshift;var h=r.concat;var y=r.join;var d=a.call;var g=a.apply;var b=Math.max;var w=Math.min;var T=Math.floor;var m=Math.abs;var S=Math.pow;var D=Math.round;var x=Math.log;var O=Math.LOG10E;var E=Math.log10||function log10(t){return x(t)*O};var j=n.toString;var I=typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol";var U;var F=Function.prototype.toString,$=/^\s*class /,M=function isES6ClassFn(t){try{var r=F.call(t);var e=r.replace(/\/\/.*\n/g,"");var n=e.replace(/\/\*[.\s\S]*\*\//g,"");var i=n.replace(/\n/gm," ").replace(/ {2}/g," ");return $.test(i)}catch(a){return false}},N=function tryFunctionObject(t){try{if(M(t)){return false}F.call(t);return true}catch(r){return false}},C="[object Function]",P="[object GeneratorFunction]",U=function isCallable(t){if(!t){return false}if(typeof t!=="function"&&typeof t!=="object"){return false}if(I){return N(t)}if(M(t)){return false}var r=j.call(t);return r===C||r===P};var k;var A=RegExp.prototype.exec,R=function tryRegexExec(t){try{A.call(t);return true}catch(r){return false}},J="[object RegExp]";k=function isRegex(t){if(typeof t!=="object"){return false}return I?R(t):j.call(t)===J};var Y;var z=String.prototype.valueOf,Z=function tryStringObject(t){try{z.call(t);return true}catch(r){return false}},G="[object String]";Y=function isString(t){if(typeof t==="string"){return true}if(typeof t!=="object"){return false}return I?Z(t):j.call(t)===G};var H=e.defineProperty&&function(){try{var t={};e.defineProperty(t,"x",{enumerable:false,value:t});for(var r in t){return false}return t.x===t}catch(n){return false}}();var W=function(t){var r;if(H){r=function(t,r,n,i){if(!i&&r in t){return}e.defineProperty(t,r,{configurable:true,enumerable:false,writable:true,value:n})}}else{r=function(t,r,e,n){if(!n&&r in t){return}t[r]=e}}return function defineProperties(e,n,i){for(var a in n){if(t.call(n,a)){r(e,a,n[a],i)}}}}(n.hasOwnProperty);if(e.defineProperty&&H){var B=function(){};var L={};var X={toString:L};e.defineProperty(B,"prototype",{value:X,writable:false});if((new B).toString!==L){var q=e.defineProperty;var K=e.getOwnPropertyDescriptor;W(e,{defineProperty:function defineProperty(t,r,e){var n=o(r);if(typeof t==="function"&&n==="prototype"){var i=K(t,n);if(i.writable&&!e.writable&&"value"in e){try{t[n]=e.value}catch(a){}}return q(t,n,{configurable:"configurable"in e?e.configurable:i.configurable,enumerable:"enumerable"in e?e.enumerable:i.enumerable,writable:e.writable})}return q(t,n,e)}},true)}}var Q=function isPrimitive(t){var r=typeof t;return t===null||r!=="object"&&r!=="function"};var V=u.isNaN||function isActualNaN(t){return t!==t};var _={ToInteger:function ToInteger(t){var r=+t;if(V(r)){r=0}else if(r!==0&&r!==1/0&&r!==-(1/0)){r=(r>0||-1)*T(m(r))}return r},ToPrimitive:function ToPrimitive(t){var r,e,n;if(Q(t)){return t}e=t.valueOf;if(U(e)){r=e.call(t);if(Q(r)){return r}}n=t.toString;if(U(n)){r=n.call(t);if(Q(r)){return r}}throw new TypeError},ToObject:function(t){if(t==null){throw new TypeError("can't convert "+t+" to object")}return e(t)},ToUint32:function ToUint32(t){return t>>>0}};var tt=function Empty(){};W(a,{bind:function bind(t){var r=this;if(!U(r)){throw new TypeError("Function.prototype.bind called on incompatible "+r)}var n=s.call(arguments,1);var a;var o=function(){if(this instanceof a){var i=g.call(r,this,h.call(n,s.call(arguments)));if(e(i)===i){return i}return this}return g.call(r,t,h.call(n,s.call(arguments)))};var f=b(0,r.length-n.length);var u=[];for(var l=0;l<f;l++){v.call(u,"$"+l)}a=i("binder","return function ("+y.call(u,",")+"){ return binder.apply(this, arguments); }")(o);if(r.prototype){tt.prototype=r.prototype;a.prototype=new tt;tt.prototype=null}return a}});var rt=d.bind(n.hasOwnProperty);var et=d.bind(n.toString);var nt=d.bind(s);var it=g.bind(s);if(typeof document==="object"&&document&&document.documentElement){try{nt(document.documentElement.childNodes)}catch(at){var ot=nt;var ft=it;nt=function arraySliceIE(t){var r=[];var e=t.length;while(e-- >0){r[e]=t[e]}return ft(r,ot(arguments,1))};it=function arraySliceApplyIE(t,r){return ft(nt(t),r)}}}var ut=d.bind(f.slice);var lt=d.bind(f.split);var st=d.bind(f.indexOf);var ct=d.bind(v);var vt=d.bind(n.propertyIsEnumerable);var pt=d.bind(r.sort);var ht=t.isArray||function isArray(t){return et(t)==="[object Array]"};var yt=[].unshift(0)!==1;W(r,{unshift:function(){p.apply(this,arguments);return this.length}},yt);W(t,{isArray:ht});var dt=e("a");var gt=dt[0]!=="a"||!(0 in dt);var bt=function properlyBoxed(t){var r=true;var e=true;var n=false;if(t){try{t.call("foo",function(t,e,n){if(typeof n!=="object"){r=false}});t.call([1],function(){"use strict";e=typeof this==="string"},"x")}catch(i){n=true}}return!!t&&!n&&r&&e};W(r,{forEach:function forEach(t){var r=_.ToObject(this);var e=gt&&Y(this)?lt(this,""):r;var n=-1;var i=_.ToUint32(e.length);var a;if(arguments.length>1){a=arguments[1]}if(!U(t)){throw new TypeError("Array.prototype.forEach callback must be a function")}while(++n<i){if(n in e){if(typeof a==="undefined"){t(e[n],n,r)}else{t.call(a,e[n],n,r)}}}}},!bt(r.forEach));W(r,{map:function map(r){var e=_.ToObject(this);var n=gt&&Y(this)?lt(this,""):e;var i=_.ToUint32(n.length);var a=t(i);var o;if(arguments.length>1){o=arguments[1]}if(!U(r)){throw new TypeError("Array.prototype.map callback must be a function")}for(var f=0;f<i;f++){if(f in n){if(typeof o==="undefined"){a[f]=r(n[f],f,e)}else{a[f]=r.call(o,n[f],f,e)}}}return a}},!bt(r.map));W(r,{filter:function filter(t){var r=_.ToObject(this);var e=gt&&Y(this)?lt(this,""):r;var n=_.ToUint32(e.length);var i=[];var a;var o;if(arguments.length>1){o=arguments[1]}if(!U(t)){throw new TypeError("Array.prototype.filter callback must be a function")}for(var f=0;f<n;f++){if(f in e){a=e[f];if(typeof o==="undefined"?t(a,f,r):t.call(o,a,f,r)){ct(i,a)}}}return i}},!bt(r.filter));W(r,{every:function every(t){var r=_.ToObject(this);var e=gt&&Y(this)?lt(this,""):r;var n=_.ToUint32(e.length);var i;if(arguments.length>1){i=arguments[1]}if(!U(t)){throw new TypeError("Array.prototype.every callback must be a function")}for(var a=0;a<n;a++){if(a in e&&!(typeof i==="undefined"?t(e[a],a,r):t.call(i,e[a],a,r))){return false}}return true}},!bt(r.every));W(r,{some:function some(t){var r=_.ToObject(this);var e=gt&&Y(this)?lt(this,""):r;var n=_.ToUint32(e.length);var i;if(arguments.length>1){i=arguments[1]}if(!U(t)){throw new TypeError("Array.prototype.some callback must be a function")}for(var a=0;a<n;a++){if(a in e&&(typeof i==="undefined"?t(e[a],a,r):t.call(i,e[a],a,r))){return true}}return false}},!bt(r.some));var wt=false;if(r.reduce){wt=typeof r.reduce.call("es5",function(t,r,e,n){return n})==="object"}W(r,{reduce:function reduce(t){var r=_.ToObject(this);var e=gt&&Y(this)?lt(this,""):r;var n=_.ToUint32(e.length);if(!U(t)){throw new TypeError("Array.prototype.reduce callback must be a function")}if(n===0&&arguments.length===1){throw new TypeError("reduce of empty array with no initial value")}var i=0;var a;if(arguments.length>=2){a=arguments[1]}else{do{if(i in e){a=e[i++];break}if(++i>=n){throw new TypeError("reduce of empty array with no initial value")}}while(true)}for(;i<n;i++){if(i in e){a=t(a,e[i],i,r)}}return a}},!wt);var Tt=false;if(r.reduceRight){Tt=typeof r.reduceRight.call("es5",function(t,r,e,n){return n})==="object"}W(r,{reduceRight:function reduceRight(t){var r=_.ToObject(this);var e=gt&&Y(this)?lt(this,""):r;var n=_.ToUint32(e.length);if(!U(t)){throw new TypeError("Array.prototype.reduceRight callback must be a function")}if(n===0&&arguments.length===1){throw new TypeError("reduceRight of empty array with no initial value")}var i;var a=n-1;if(arguments.length>=2){i=arguments[1]}else{do{if(a in e){i=e[a--];break}if(--a<0){throw new TypeError("reduceRight of empty array with no initial value")}}while(true)}if(a<0){return i}do{if(a in e){i=t(i,e[a],a,r)}}while(a--);return i}},!Tt);var mt=r.indexOf&&[0,1].indexOf(1,2)!==-1;W(r,{indexOf:function indexOf(t){var r=gt&&Y(this)?lt(this,""):_.ToObject(this);var e=_.ToUint32(r.length);if(e===0){return-1}var n=0;if(arguments.length>1){n=_.ToInteger(arguments[1])}n=n>=0?n:b(0,e+n);for(;n<e;n++){if(n in r&&r[n]===t){return n}}return-1}},mt);var St=r.lastIndexOf&&[0,1].lastIndexOf(0,-3)!==-1;W(r,{lastIndexOf:function lastIndexOf(t){var r=gt&&Y(this)?lt(this,""):_.ToObject(this);var e=_.ToUint32(r.length);if(e===0){return-1}var n=e-1;if(arguments.length>1){n=w(n,_.ToInteger(arguments[1]))}n=n>=0?n:e-m(n);for(;n>=0;n--){if(n in r&&t===r[n]){return n}}return-1}},St);var Dt=function(){var t=[1,2];var r=t.splice();return t.length===2&&ht(r)&&r.length===0}();W(r,{splice:function splice(t,r){if(arguments.length===0){return[]}return c.apply(this,arguments)}},!Dt);var xt=function(){var t={};r.splice.call(t,0,0,1);return t.length===1}();W(r,{splice:function splice(t,r){if(arguments.length===0){return[]}var e=arguments;this.length=b(_.ToInteger(this.length),0);if(arguments.length>0&&typeof r!=="number"){e=nt(arguments);if(e.length<2){ct(e,this.length-t)}else{e[1]=_.ToInteger(r)}}return c.apply(this,e)}},!xt);var Ot=function(){var r=new t(1e5);r[8]="x";r.splice(1,1);return r.indexOf("x")===7}();var Et=function(){var t=256;var r=[];r[t]="a";r.splice(t+1,0,"b");return r[t]==="a"}();W(r,{splice:function splice(t,r){var e=_.ToObject(this);var n=[];var i=_.ToUint32(e.length);var a=_.ToInteger(t);var f=a<0?b(i+a,0):w(a,i);var u=arguments.length===0?0:arguments.length===1?i-f:w(b(_.ToInteger(r),0),i-f);var l=0;var s;while(l<u){s=o(f+l);if(rt(e,s)){n[l]=e[s]}l+=1}var c=nt(arguments,2);var v=c.length;var p;if(v<u){l=f;var h=i-u;while(l<h){s=o(l+u);p=o(l+v);if(rt(e,s)){e[p]=e[s]}else{delete e[p]}l+=1}l=i;var y=i-u+v;while(l>y){delete e[l-1];l-=1}}else if(v>u){l=i-u;while(l>f){s=o(l+u-1);p=o(l+v-1);if(rt(e,s)){e[p]=e[s]}else{delete e[p]}l-=1}}l=f;for(var d=0;d<c.length;++d){e[l]=c[d];l+=1}e.length=i-u+v;return n}},!Ot||!Et);var jt=r.join;var It;try{It=Array.prototype.join.call("123",",")!=="1,2,3"}catch(at){It=true}if(It){W(r,{join:function join(t){var r=typeof t==="undefined"?",":t;return jt.call(Y(this)?lt(this,""):this,r)}},It)}var Ut=[1,2].join(undefined)!=="1,2";if(Ut){W(r,{join:function join(t){var r=typeof t==="undefined"?",":t;return jt.call(this,r)}},Ut)}var Ft=function push(t){var r=_.ToObject(this);var e=_.ToUint32(r.length);var n=0;while(n<arguments.length){r[e+n]=arguments[n];n+=1}r.length=e+n;return e+n};var $t=function(){var t={};var r=Array.prototype.push.call(t,undefined);return r!==1||t.length!==1||typeof t[0]!=="undefined"||!rt(t,0)}();W(r,{push:function push(t){if(ht(this)){return v.apply(this,arguments)}return Ft.apply(this,arguments)}},$t);var Mt=function(){var t=[];var r=t.push(undefined);return r!==1||t.length!==1||typeof t[0]!=="undefined"||!rt(t,0)}();W(r,{push:Ft},Mt);W(r,{slice:function(t,r){var e=Y(this)?lt(this,""):this;return it(e,arguments)}},gt);var Nt=function(){try{[1,2].sort(null)}catch(t){try{[1,2].sort({})}catch(r){return false}}return true}();var Ct=function(){try{[1,2].sort(/a/);return false}catch(t){}return true}();var Pt=function(){try{[1,2].sort(undefined);return true}catch(t){}return false}();W(r,{sort:function sort(t){if(typeof t==="undefined"){return pt(this)}if(!U(t)){throw new TypeError("Array.prototype.sort callback must be a function")}return pt(this,t)}},Nt||!Pt||!Ct);var kt=!vt({toString:null},"toString");var At=vt(function(){},"prototype");var Rt=!rt("x","0");var Jt=function(t){var r=t.constructor;return r&&r.prototype===t};var Yt={$applicationCache:true,$console:true,$external:true,$frame:true,$frameElement:true,$frames:true,$innerHeight:true,$innerWidth:true,$onmozfullscreenchange:true,$onmozfullscreenerror:true,$outerHeight:true,$outerWidth:true,$pageXOffset:true,$pageYOffset:true,$parent:true,$scrollLeft:true,$scrollTop:true,$scrollX:true,$scrollY:true,$self:true,$webkitIndexedDB:true,$webkitStorageInfo:true,$window:true,$width:true,$height:true,$top:true,$localStorage:true};var zt=function(){if(typeof window==="undefined"){return false}for(var t in window){try{if(!Yt["$"+t]&&rt(window,t)&&window[t]!==null&&typeof window[t]==="object"){Jt(window[t])}}catch(r){return true}}return false}();var Zt=function(t){if(typeof window==="undefined"||!zt){return Jt(t)}try{return Jt(t)}catch(r){return false}};var Gt=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];var Ht=Gt.length;var Wt=function isArguments(t){return et(t)==="[object Arguments]"};var Bt=function isArguments(t){return t!==null&&typeof t==="object"&&typeof t.length==="number"&&t.length>=0&&!ht(t)&&U(t.callee)};var Lt=Wt(arguments)?Wt:Bt;W(e,{keys:function keys(t){var r=U(t);var e=Lt(t);var n=t!==null&&typeof t==="object";var i=n&&Y(t);if(!n&&!r&&!e){throw new TypeError("Object.keys called on a non-object")}var a=[];var f=At&&r;if(i&&Rt||e){for(var u=0;u<t.length;++u){ct(a,o(u))}}if(!e){for(var l in t){if(!(f&&l==="prototype")&&rt(t,l)){ct(a,o(l))}}}if(kt){var s=Zt(t);for(var c=0;c<Ht;c++){var v=Gt[c];if(!(s&&v==="constructor")&&rt(t,v)){ct(a,v)}}}return a}});var Xt=e.keys&&function(){return e.keys(arguments).length===2}(1,2);var qt=e.keys&&function(){var t=e.keys(arguments);return arguments.length!==1||t.length!==1||t[0]!==1}(1);var Kt=e.keys;W(e,{keys:function keys(t){if(Lt(t)){return Kt(nt(t))}return Kt(t)}},!Xt||qt);var Qt=new Date(-0xc782b5b342b24).getUTCMonth()!==0;var Vt=new Date(-0x55d318d56a724);var _t=new Date(14496624e5);var tr=Vt.toUTCString()!=="Mon, 01 Jan -45875 11:59:59 GMT";var rr;var er;var nr=Vt.getTimezoneOffset();if(nr<-720){rr=Vt.toDateString()!=="Tue Jan 02 -45875";er=!/^Thu Dec 10 2015 \d\d:\d\d:\d\d GMT[-+]\d\d\d\d(?: |$)/.test(String(_t))}else{rr=Vt.toDateString()!=="Mon Jan 01 -45875";er=!/^Wed Dec 09 2015 \d\d:\d\d:\d\d GMT[-+]\d\d\d\d(?: |$)/.test(String(_t))}var ir=d.bind(Date.prototype.getFullYear);var ar=d.bind(Date.prototype.getMonth);var or=d.bind(Date.prototype.getDate);var fr=d.bind(Date.prototype.getUTCFullYear);var ur=d.bind(Date.prototype.getUTCMonth);var lr=d.bind(Date.prototype.getUTCDate);var sr=d.bind(Date.prototype.getUTCDay);var cr=d.bind(Date.prototype.getUTCHours);var vr=d.bind(Date.prototype.getUTCMinutes);var pr=d.bind(Date.prototype.getUTCSeconds);var hr=d.bind(Date.prototype.getUTCMilliseconds);var yr=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];var dr=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var gr=function daysInMonth(t,r){return or(new Date(r,t,0))};W(Date.prototype,{getFullYear:function getFullYear(){if(!this||!(this instanceof Date)){throw new TypeError("this is not a Date object.")}var t=ir(this);if(t<0&&ar(this)>11){return t+1}return t},getMonth:function getMonth(){if(!this||!(this instanceof Date)){throw new TypeError("this is not a Date object.")}var t=ir(this);var r=ar(this);if(t<0&&r>11){return 0}return r},getDate:function getDate(){if(!this||!(this instanceof Date)){throw new TypeError("this is not a Date object.")}var t=ir(this);var r=ar(this);var e=or(this);if(t<0&&r>11){if(r===12){return e}var n=gr(0,t+1);return n-e+1}return e},getUTCFullYear:function getUTCFullYear(){if(!this||!(this instanceof Date)){throw new TypeError("this is not a Date object.")}var t=fr(this);if(t<0&&ur(this)>11){return t+1}return t},getUTCMonth:function getUTCMonth(){if(!this||!(this instanceof Date)){throw new TypeError("this is not a Date object.")}var t=fr(this);var r=ur(this);if(t<0&&r>11){return 0}return r},getUTCDate:function getUTCDate(){if(!this||!(this instanceof Date)){throw new TypeError("this is not a Date object.")}var t=fr(this);var r=ur(this);var e=lr(this);if(t<0&&r>11){if(r===12){return e}var n=gr(0,t+1);return n-e+1}return e}},Qt);W(Date.prototype,{toUTCString:function toUTCString(){if(!this||!(this instanceof Date)){throw new TypeError("this is not a Date object.")}var t=sr(this);var r=lr(this);var e=ur(this);var n=fr(this);var i=cr(this);var a=vr(this);var o=pr(this);return yr[t]+", "+(r<10?"0"+r:r)+" "+dr[e]+" "+n+" "+(i<10?"0"+i:i)+":"+(a<10?"0"+a:a)+":"+(o<10?"0"+o:o)+" GMT"}},Qt||tr);W(Date.prototype,{toDateString:function toDateString(){if(!this||!(this instanceof Date)){throw new TypeError("this is not a Date object.")}var t=this.getDay();var r=this.getDate();var e=this.getMonth();var n=this.getFullYear();return yr[t]+" "+dr[e]+" "+(r<10?"0"+r:r)+" "+n}},Qt||rr);if(Qt||er){Date.prototype.toString=function toString(){if(!this||!(this instanceof Date)){throw new TypeError("this is not a Date object.")}var t=this.getDay();var r=this.getDate();var e=this.getMonth();var n=this.getFullYear();var i=this.getHours();var a=this.getMinutes();var o=this.getSeconds();var f=this.getTimezoneOffset();var u=T(m(f)/60);var l=T(m(f)%60);return yr[t]+" "+dr[e]+" "+(r<10?"0"+r:r)+" "+n+" "+(i<10?"0"+i:i)+":"+(a<10?"0"+a:a)+":"+(o<10?"0"+o:o)+" GMT"+(f>0?"-":"+")+(u<10?"0"+u:u)+(l<10?"0"+l:l)};if(H){e.defineProperty(Date.prototype,"toString",{configurable:true,enumerable:false,writable:true})}}var br=-621987552e5;var wr="-000001";var Tr=Date.prototype.toISOString&&new Date(br).toISOString().indexOf(wr)===-1;var mr=Date.prototype.toISOString&&new Date(-1).toISOString()!=="1969-12-31T23:59:59.999Z";var Sr=d.bind(Date.prototype.getTime);W(Date.prototype,{toISOString:function toISOString(){if(!isFinite(this)||!isFinite(Sr(this))){throw new RangeError("Date.prototype.toISOString called on non-finite value.")}var t=fr(this);var r=ur(this);t+=T(r/12);r=(r%12+12)%12;var e=[r+1,lr(this),cr(this),vr(this),pr(this)];t=(t<0?"-":t>9999?"+":"")+ut("00000"+m(t),0<=t&&t<=9999?-4:-6);for(var n=0;n<e.length;++n){e[n]=ut("00"+e[n],-2)}return t+"-"+nt(e,0,2).join("-")+"T"+nt(e,2).join(":")+"."+ut("000"+hr(this),-3)+"Z"}},Tr||mr);var Dr=function(){try{return Date.prototype.toJSON&&new Date(NaN).toJSON()===null&&new Date(br).toJSON().indexOf(wr)!==-1&&Date.prototype.toJSON.call({toISOString:function(){return true}})}catch(t){return false}}();if(!Dr){Date.prototype.toJSON=function toJSON(t){var r=e(this);var n=_.ToPrimitive(r);if(typeof n==="number"&&!isFinite(n)){return null}var i=r.toISOString;if(!U(i)){throw new TypeError("toISOString property is not callable")}return i.call(r)}}var xr=Date.parse("+033658-09-27T01:46:40.000Z")===1e15;var Or=!isNaN(Date.parse("2012-04-04T24:00:00.500Z"))||!isNaN(Date.parse("2012-11-31T23:59:59.000Z"))||!isNaN(Date.parse("2012-12-31T23:59:60.000Z"));var Er=isNaN(Date.parse("2000-01-01T00:00:00.000Z"));if(Er||Or||!xr){var jr=S(2,31)-1;var Ir=V(new Date(1970,0,1,0,0,0,jr+1).getTime());Date=function(t){var r=function Date(e,n,i,a,f,u,l){var s=arguments.length;var c;if(this instanceof t){var v=u;var p=l;if(Ir&&s>=7&&l>jr){var h=T(l/jr)*jr;var y=T(h/1e3);v+=y;p-=y*1e3}c=s===1&&o(e)===e?new t(r.parse(e)):s>=7?new t(e,n,i,a,f,v,p):s>=6?new t(e,n,i,a,f,v):s>=5?new t(e,n,i,a,f):s>=4?new t(e,n,i,a):s>=3?new t(e,n,i):s>=2?new t(e,n):s>=1?new t(e instanceof t?+e:e):new t}else{c=t.apply(this,arguments)}if(!Q(c)){W(c,{constructor:r},true)}return c};var e=new RegExp("^"+"(\\d{4}|[+-]\\d{6})"+"(?:-(\\d{2})"+"(?:-(\\d{2})"+"(?:"+"T(\\d{2})"+":(\\d{2})"+"(?:"+":(\\d{2})"+"(?:(\\.\\d{1,}))?"+")?"+"("+"Z|"+"(?:"+"([-+])"+"(\\d{2})"+":(\\d{2})"+")"+")?)?)?)?"+"$");var n=[0,31,59,90,120,151,181,212,243,273,304,334,365];var i=function dayFromMonth(t,r){var e=r>1?1:0;return n[r]+T((t-1969+e)/4)-T((t-1901+e)/100)+T((t-1601+e)/400)+365*(t-1970)};var a=function toUTC(r){var e=0;var n=r;if(Ir&&n>jr){var i=T(n/jr)*jr;var a=T(i/1e3);e+=a;n-=a*1e3}return u(new t(1970,0,1,0,0,e,n))};for(var f in t){if(rt(t,f)){r[f]=t[f]}}W(r,{now:t.now,UTC:t.UTC},true);r.prototype=t.prototype;W(r.prototype,{constructor:r},true);var l=function parse(r){var n=e.exec(r);if(n){var o=u(n[1]),f=u(n[2]||1)-1,l=u(n[3]||1)-1,s=u(n[4]||0),c=u(n[5]||0),v=u(n[6]||0),p=T(u(n[7]||0)*1e3),h=Boolean(n[4]&&!n[8]),y=n[9]==="-"?1:-1,d=u(n[10]||0),g=u(n[11]||0),b;var w=c>0||v>0||p>0;if(s<(w?24:25)&&c<60&&v<60&&p<1e3&&f>-1&&f<12&&d<24&&g<60&&l>-1&&l<i(o,f+1)-i(o,f)){b=((i(o,f)+l)*24+s+d*y)*60;b=((b+c+g*y)*60+v)*1e3+p;if(h){b=a(b)}if(-864e13<=b&&b<=864e13){return b}}return NaN}return t.parse.apply(this,arguments)};W(r,{parse:l});return r}(Date)}if(!Date.now){Date.now=function now(){return(new Date).getTime()}}var Ur=l.toFixed&&(8e-5.toFixed(3)!=="0.000"||.9.toFixed(0)!=="1"||1.255.toFixed(2)!=="1.25"||(1000000000000000128).toFixed(0)!=="1000000000000000128");var Fr={base:1e7,size:6,data:[0,0,0,0,0,0],multiply:function multiply(t,r){var e=-1;var n=r;while(++e<Fr.size){n+=t*Fr.data[e];Fr.data[e]=n%Fr.base;n=T(n/Fr.base)}},divide:function divide(t){var r=Fr.size;var e=0;while(--r>=0){e+=Fr.data[r];Fr.data[r]=T(e/t);e=e%t*Fr.base}},numToString:function numToString(){var t=Fr.size;var r="";while(--t>=0){if(r!==""||t===0||Fr.data[t]!==0){var e=o(Fr.data[t]);if(r===""){r=e}else{r+=ut("0000000",0,7-e.length)+e}}}return r},pow:function pow(t,r,e){return r===0?e:r%2===1?pow(t,r-1,e*t):pow(t*t,r/2,e)},log:function log(t){var r=0;var e=t;while(e>=4096){r+=12;e/=4096}while(e>=2){r+=1;e/=2}return r}};var $r=function toFixed(t){var r,e,n,i,a,f,l,s;r=u(t);r=V(r)?0:T(r);if(r<0||r>20){throw new RangeError("Number.toFixed called with invalid number of decimals")}e=u(this);if(V(e)){return"NaN"}if(e<=-1e21||e>=1e21){return o(e)}n="";if(e<0){n="-";e=-e}i="0";if(e>1e-21){a=Fr.log(e*Fr.pow(2,69,1))-69;f=a<0?e*Fr.pow(2,-a,1):e/Fr.pow(2,a,1);f*=4503599627370496;a=52-a;if(a>0){Fr.multiply(0,f);l=r;while(l>=7){Fr.multiply(1e7,0);l-=7}Fr.multiply(Fr.pow(10,l,1),0);l=a-1;while(l>=23){Fr.divide(1<<23);l-=23}Fr.divide(1<<l);Fr.multiply(1,1);Fr.divide(2);i=Fr.numToString()}else{Fr.multiply(0,f);Fr.multiply(1<<-a,0);i=Fr.numToString()+ut("0.00000000000000000000",2,2+r)}}if(r>0){s=i.length;if(s<=r){i=n+ut("0.0000000000000000000",0,r-s+2)+i}else{i=n+ut(i,0,s-r)+"."+ut(i,s-r)}}else{i=n+i}return i};W(l,{toFixed:$r},Ur);var Mr=function(){try{return(-6.9e-11).toExponential(4)!=="-6.9000e-11"}catch(t){return false}}();var Nr=function(){try{1..toExponential(Infinity);1..toExponential(-Infinity);return true}catch(t){return false}}();var Cr=d.bind(l.toExponential);var Pr=d.bind(l.toString);var kr=d.bind(l.valueOf);W(l,{toExponential:function toExponential(t){var r=kr(this);if(typeof t==="undefined"){return Cr(r)}var e=_.ToInteger(t);if(V(r)){return"NaN"}if(e<0||e>20){return Cr(r,e)}var n="";if(r<0){n="-";r=-r}if(r===Infinity){return n+"Infinity"}if(typeof t!=="undefined"&&(e<0||e>20)){throw new RangeError("Fraction digits "+t+" out of range")}var i="";var a=0;var o="";var f="";if(r===0){a=0;e=0;i="0"}else{var u=E(r);a=T(u);var l=0;if(typeof t!=="undefined"){var s=S(10,a-e);l=D(r/s);if(2*r>=(2*l+1)*s){l+=1}if(l>=S(10,e+1)){l/=10;a+=1}}else{e=16;var c=D(S(10,u-a+e));var v=e;while(e-- >0){c=D(S(10,u-a+e));if(m(c*S(10,a-e)-r)<=m(l*S(10,a-v)-r)){v=e;l=c}}}i=Pr(l,10);if(typeof t==="undefined"){while(ut(i,-1)==="0"){i=ut(i,0,-1);f+=1}}}if(e!==0){i=ut(i,0,1)+"."+ut(i,1)}if(a===0){o="+";f="0"}else{o=a>0?"+":"-";f=Pr(m(a),10)}i+="e"+o+f;return n+i}},Mr||Nr);var Ar=function(){try{return 1..toPrecision(undefined)==="1"}catch(t){return true}}();var Rr=d.bind(l.toPrecision);W(l,{toPrecision:function toPrecision(t){return typeof t==="undefined"?Rr(this):Rr(this,t)}},Ar);if("ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||"tesst".split(/(s)*/)[1]==="t"||"test".split(/(?:)/,-1).length!==4||"".split(/.?/).length||".".split(/()()/).length>1){(function(){var t=typeof/()??/.exec("")[1]==="undefined";var r=S(2,32)-1;f.split=function split(e,n){var i=String(this);if(typeof e==="undefined"&&n===0){return[]}if(!k(e)){return lt(this,e,n)}var a=[];var o=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,u,l,s,c;var p=new RegExp(e.source,o+"g");if(!t){u=new RegExp("^"+p.source+"$(?!\\s)",o)}var h=typeof n==="undefined"?r:_.ToUint32(n);l=p.exec(i);while(l){s=l.index+l[0].length;if(s>f){ct(a,ut(i,f,l.index));if(!t&&l.length>1){l[0].replace(u,function(){for(var t=1;t<arguments.length-2;t++){if(typeof arguments[t]==="undefined"){l[t]=void 0}}})}if(l.length>1&&l.index<i.length){v.apply(a,nt(l,1))}c=l[0].length;f=s;if(a.length>=h){break}}if(p.lastIndex===l.index){p.lastIndex++}l=p.exec(i)}if(f===i.length){if(c||!p.test("")){ct(a,"")}}else{ct(a,ut(i,f))}return a.length>h?nt(a,0,h):a}})()}else if("0".split(void 0,0).length){f.split=function split(t,r){if(typeof t==="undefined"&&r===0){return[]}return lt(this,t,r)}}var Jr=f.replace;var Yr=function(){var t=[];"x".replace(/x(.)?/g,function(r,e){ct(t,e)});return t.length===1&&typeof t[0]==="undefined"}();if(!Yr){f.replace=function replace(t,r){var e=U(r);var n=k(t)&&/\)[*?]/.test(t.source);if(!e||!n){return Jr.call(this,t,r)}var i=function(e){var n=arguments.length;var i=t.lastIndex;t.lastIndex=0;var a=t.exec(e)||[];t.lastIndex=i;ct(a,arguments[n-2],arguments[n-1]);return r.apply(this,a)};return Jr.call(this,t,i)}}var zr=f.substr;var Zr="".substr&&"0b".substr(-1)!=="b";W(f,{substr:function substr(t,r){var e=t;if(t<0){e=b(this.length+t,0)}return zr.call(this,e,r)}},Zr);var Gr="\t\n\x0B\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003"+"\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028"+"\u2029\ufeff";var Hr="\u200b";var Wr="["+Gr+"]";var Br=new RegExp("^"+Wr+Wr+"*");var Lr=new RegExp(Wr+Wr+"*$");var Xr=f.trim&&(Gr.trim()||!Hr.trim());W(f,{trim:function trim(){if(typeof this==="undefined"||this===null){throw new TypeError("can't convert "+this+" to object")}return o(this).replace(Br,"").replace(Lr,"")}},Xr);var qr=d.bind(String.prototype.trim);var Kr=f.lastIndexOf&&"abc\u3042\u3044".lastIndexOf("\u3042\u3044",2)!==-1;W(f,{lastIndexOf:function lastIndexOf(t){if(typeof this==="undefined"||this===null){throw new TypeError("can't convert "+this+" to object")}var r=o(this);var e=o(t);var n=arguments.length>1?u(arguments[1]):NaN;var i=V(n)?Infinity:_.ToInteger(n);var a=w(b(i,0),r.length);var f=e.length;var l=a+f;while(l>0){l=b(0,l-f);var s=st(ut(r,l,a+f),e);if(s!==-1){return l+s}}return-1}},Kr);var Qr=f.lastIndexOf;W(f,{lastIndexOf:function lastIndexOf(t){return Qr.apply(this,arguments)}},f.lastIndexOf.length!==1);var Vr=/^[-+]?0[xX]/;if(parseInt(Gr+"08")!==8||parseInt(Gr+"0x16")!==22){parseInt=function(t){return function parseInt(r,e){var n=qr(String(r));var i=u(e)||(Vr.test(n)?16:10);return t(n,i)}}(parseInt)}var _r=function(){if(typeof Symbol!=="function"){return false}try{parseInt(Object(Symbol.iterator));return true}catch(t){}try{parseInt(Symbol.iterator);return true}catch(t){}return false}();if(_r){var te=Symbol.prototype.valueOf;parseInt=function(t){return function parseInt(r,e){var n=typeof r==="symbol";if(!n&&r&&typeof r==="object"){try{te.call(r);n=true}catch(i){}}if(n){""+r}var a=qr(String(r));var o=u(e)||(Vr.test(a)?16:10);return t(a,o)}}(parseInt)}if(1/parseFloat("-0")!==-Infinity){parseFloat=function(t){return function parseFloat(r){var e=qr(String(r));var n=t(e);return n===0&&ut(e,0,1)==="-"?-0:n}}(parseFloat)}if(String(new RangeError("test"))!=="RangeError: test"){var re=function toString(){if(typeof this==="undefined"||this===null){throw new TypeError("can't convert "+this+" to object")}var t=this.name;if(typeof t==="undefined"){t="Error"}else if(typeof t!=="string"){t=o(t)}var r=this.message;if(typeof r==="undefined"){r=""}else if(typeof r!=="string"){r=o(r)}if(!t){return r}if(!r){return t}return t+": "+r};Error.prototype.toString=re}if(H){var ee=function(t,r){if(vt(t,r)){var e=Object.getOwnPropertyDescriptor(t,r);if(e.configurable){e.enumerable=false;Object.defineProperty(t,r,e)}}};ee(Error.prototype,"message");if(Error.prototype.message!==""){Error.prototype.message=""}ee(Error.prototype,"name")}if(String(/a/gim)!=="/a/gim"){var ne=function toString(){var t="/"+this.source+"/";if(this.global){t+="g"}if(this.ignoreCase){t+="i"}if(this.multiline){t+="m"}return t};RegExp.prototype.toString=ne}}); | ||
//# sourceMappingURL=es5-shim.map |
{ | ||
"name": "es5-shim", | ||
"version": "4.6.4", | ||
"version": "4.6.5", | ||
"description": "ECMAScript 5 compatibility shims for legacy JavaScript engines", | ||
"homepage": "http://github.com/es-shims/es5-shim/", | ||
"homepage": "https://github.com/es-shims/es5-shim/", | ||
"contributors": [ | ||
"Kris Kowal <kris@cixar.com> (http://github.com/kriskowal/)", | ||
"Sami Samhuri <sami.samhuri@gmail.com> (http://samhuri.net/)", | ||
"Florian Schäfer <florian.schaefer@gmail.com> (http://github.com/fschaefer)", | ||
"Irakli Gozalishvili <rfobic@gmail.com> (http://jeditoolkit.com)", | ||
"Kit Cambridge <kitcambridge@gmail.com> (http://kitcambridge.github.com)", | ||
"Kris Kowal <kris@cixar.com> (https://github.com/kriskowal/)", | ||
"Sami Samhuri <sami.samhuri@gmail.com> (https://samhuri.net/)", | ||
"Florian Schäfer <florian.schaefer@gmail.com> (https://github.com/fschaefer)", | ||
"Irakli Gozalishvili <rfobic@gmail.com> (https://gozala.io)", | ||
"Kit Cambridge <kitcambridge@gmail.com> (https://github.com/kitcambridge)", | ||
"Jordan Harband <ljharb@gmail.com> (https://github.com/ljharb/)" | ||
@@ -16,3 +16,3 @@ ], | ||
"mail": "ljharb@gmail.com", | ||
"url": "http://github.com/es-shims/es5-shim/issues" | ||
"url": "https://github.com/es-shims/es5-shim/issues" | ||
}, | ||
@@ -23,3 +23,3 @@ "license": "MIT", | ||
"type": "git", | ||
"url": "http://github.com/es-shims/es5-shim.git" | ||
"url": "https://github.com/es-shims/es5-shim.git" | ||
}, | ||
@@ -40,5 +40,5 @@ "scripts": { | ||
"devDependencies": { | ||
"@ljharb/eslint-config": "^20.1.0", | ||
"aud": "^1.1.5", | ||
"eslint": "^8.5.0", | ||
"@ljharb/eslint-config": "^20.2.0", | ||
"aud": "^2.0.0", | ||
"eslint": "^8.8.0", | ||
"in-publish": "^2.0.1", | ||
@@ -45,0 +45,0 @@ "jasmine-node": "^1.16.2", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
471557
32