1 |
- !function(a,b){"undefined"==typeof a.HTMLVideoElement&&(b.createElement("video"),b.createElement("audio"),b.createElement("track")),function(a,b){"use strict";"function"==typeof define&&define.amd?define(b):"object"==typeof exports?module.exports=b():a.returnExports=b()}(this,function(){var b,c=Array,d=c.prototype,e=Object,f=e.prototype,g=Function.prototype,h=String,i=h.prototype,j=Number,k=j.prototype,l=d.slice,m=d.splice,n=d.push,o=d.unshift,p=d.concat,q=g.call,r=Math.max,s=Math.min,t=f.toString,u="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,v=Function.prototype.toString,w=function(a){try{return v.call(a),!0}catch(b){return!1}},x="[object Function]",y="[object GeneratorFunction]";b=function(a){if("function"!=typeof a)return!1;if(u)return w(a);var b=t.call(a);return b===x||b===y};var z,A=RegExp.prototype.exec,B=function(a){try{return A.call(a),!0}catch(b){return!1}},C="[object RegExp]";z=function(a){return"object"!=typeof a?!1:u?B(a):t.call(a)===C};var D,E=String.prototype.valueOf,F=function(a){try{return E.call(a),!0}catch(b){return!1}},G="[object String]";D=function(a){return"string"==typeof a?!0:"object"!=typeof a?!1:u?F(a):t.call(a)===G};var H=function(a){var b,c=e.defineProperty&&function(){try{var a={};e.defineProperty(a,"x",{enumerable:!1,value:a});for(var b in a)return!1;return a.x===a}catch(c){return!1}}();return b=c?function(a,b,c,d){!d&&b in a||e.defineProperty(a,b,{configurable:!0,enumerable:!1,writable:!0,value:c})}:function(a,b,c,d){!d&&b in a||(a[b]=c)},function(c,d,e){for(var f in d)a.call(d,f)&&b(c,f,d[f],e)}}(f.hasOwnProperty),I=function(a){var b=typeof a;return null===a||"object"!==b&&"function"!==b},J=j.isNaN||function(a){return a!==a},K={ToInteger:function(a){var b=+a;return J(b)?b=0:0!==b&&b!==1/0&&b!==-(1/0)&&(b=(b>0||-1)*Math.floor(Math.abs(b))),b},ToPrimitive:function(a){var c,d,e;if(I(a))return a;if(d=a.valueOf,b(d)&&(c=d.call(a),I(c)))return c;if(e=a.toString,b(e)&&(c=e.call(a),I(c)))return c;throw new TypeError},ToObject:function(a){if(null==a)throw new TypeError("can't convert "+a+" to object");return e(a)},ToUint32:function(a){return a>>>0}},L=function(){};H(g,{bind:function(a){var c=this;if(!b(c))throw new TypeError("Function.prototype.bind called on incompatible "+c);for(var d,f=l.call(arguments,1),g=function(){if(this instanceof d){var b=c.apply(this,p.call(f,l.call(arguments)));return e(b)===b?b:this}return c.apply(a,p.call(f,l.call(arguments)))},h=r(0,c.length-f.length),i=[],j=0;h>j;j++)n.call(i,"$"+j);return d=Function("binder","return function ("+i.join(",")+"){ return binder.apply(this, arguments); }")(g),c.prototype&&(L.prototype=c.prototype,d.prototype=new L,L.prototype=null),d}});var M=q.bind(f.hasOwnProperty),N=q.bind(f.toString),O=q.bind(i.slice),P=q.bind(i.split),Q=q.bind(i.indexOf),R=q.bind(n),S=c.isArray||function(a){return"[object Array]"===N(a)},T=1!==[].unshift(0);H(d,{unshift:function(){return o.apply(this,arguments),this.length}},T),H(c,{isArray:S});var U=e("a"),V="a"!==U[0]||!(0 in U),W=function(a){var b=!0,c=!0;return a&&(a.call("foo",function(a,c,d){"object"!=typeof d&&(b=!1)}),a.call([1],function(){"use strict";c="string"==typeof this},"x")),!!a&&b&&c};H(d,{forEach:function(a){var c,d=K.ToObject(this),e=V&&D(this)?P(this,""):d,f=-1,g=K.ToUint32(e.length);if(arguments.length>1&&(c=arguments[1]),!b(a))throw new TypeError("Array.prototype.forEach callback must be a function");for(;++f<g;)f in e&&("undefined"==typeof c?a(e[f],f,d):a.call(c,e[f],f,d))}},!W(d.forEach)),H(d,{map:function(a){var d,e=K.ToObject(this),f=V&&D(this)?P(this,""):e,g=K.ToUint32(f.length),h=c(g);if(arguments.length>1&&(d=arguments[1]),!b(a))throw new TypeError("Array.prototype.map callback must be a function");for(var i=0;g>i;i++)i in f&&("undefined"==typeof d?h[i]=a(f[i],i,e):h[i]=a.call(d,f[i],i,e));return h}},!W(d.map)),H(d,{filter:function(a){var c,d,e=K.ToObject(this),f=V&&D(this)?P(this,""):e,g=K.ToUint32(f.length),h=[];if(arguments.length>1&&(d=arguments[1]),!b(a))throw new TypeError("Array.prototype.filter callback must be a function");for(var i=0;g>i;i++)i in f&&(c=f[i],("undefined"==typeof d?a(c,i,e):a.call(d,c,i,e))&&R(h,c));return h}},!W(d.filter)),H(d,{every:function(a){var c,d=K.ToObject(this),e=V&&D(this)?P(this,""):d,f=K.ToUint32(e.length);if(arguments.length>1&&(c=arguments[1]),!b(a))throw new TypeError("Array.prototype.every callback must be a function");for(var g=0;f>g;g++)if(g in e&&!("undefined"==typeof c?a(e[g],g,d):a.call(c,e[g],g,d)))return!1;return!0}},!W(d.every)),H(d,{some:function(a){var c,d=K.ToObject(this),e=V&&D(this)?P(this,""):d,f=K.ToUint32(e.length);if(arguments.length>1&&(c=arguments[1]),!b(a))throw new TypeError("Array.prototype.some callback must be a function");for(var g=0;f>g;g++)if(g in e&&("undefined"==typeof c?a(e[g],g,d):a.call(c,e[g],g,d)))return!0;return!1}},!W(d.some));var X=!1;d.reduce&&(X="object"==typeof d.reduce.call("es5",function(a,b,c,d){return d})),H(d,{reduce:function(a){var c=K.ToObject(this),d=V&&D(this)?P(this,""):c,e=K.ToUint32(d.length);if(!b(a))throw new TypeError("Array.prototype.reduce callback must be a function");if(0===e&&1===arguments.length)throw new TypeError("reduce of empty array with no initial value");var f,g=0;if(arguments.length>=2)f=arguments[1];else for(;;){if(g in d){f=d[g++];break}if(++g>=e)throw new TypeError("reduce of empty array with no initial value")}for(;e>g;g++)g in d&&(f=a(f,d[g],g,c));return f}},!X);var Y=!1;d.reduceRight&&(Y="object"==typeof d.reduceRight.call("es5",function(a,b,c,d){return d})),H(d,{reduceRight:function(a){var c=K.ToObject(this),d=V&&D(this)?P(this,""):c,e=K.ToUint32(d.length);if(!b(a))throw new TypeError("Array.prototype.reduceRight callback must be a function");if(0===e&&1===arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var f,g=e-1;if(arguments.length>=2)f=arguments[1];else for(;;){if(g in d){f=d[g--];break}if(--g<0)throw new TypeError("reduceRight of empty array with no initial value")}if(0>g)return f;do g in d&&(f=a(f,d[g],g,c));while(g--);return f}},!Y);var Z=d.indexOf&&-1!==[0,1].indexOf(1,2);H(d,{indexOf:function(a){var b=V&&D(this)?P(this,""):K.ToObject(this),c=K.ToUint32(b.length);if(0===c)return-1;var d=0;for(arguments.length>1&&(d=K.ToInteger(arguments[1])),d=d>=0?d:r(0,c+d);c>d;d++)if(d in b&&b[d]===a)return d;return-1}},Z);var $=d.lastIndexOf&&-1!==[0,1].lastIndexOf(0,-3);H(d,{lastIndexOf:function(a){var b=V&&D(this)?P(this,""):K.ToObject(this),c=K.ToUint32(b.length);if(0===c)return-1;var d=c-1;for(arguments.length>1&&(d=s(d,K.ToInteger(arguments[1]))),d=d>=0?d:c-Math.abs(d);d>=0;d--)if(d in b&&a===b[d])return d;return-1}},$);var _=function(){var a=[1,2],b=a.splice();return 2===a.length&&S(b)&&0===b.length}();H(d,{splice:function(a,b){return 0===arguments.length?[]:m.apply(this,arguments)}},!_);var aa=function(){var a={};return d.splice.call(a,0,0,1),1===a.length}();H(d,{splice:function(a,b){if(0===arguments.length)return[];var c=arguments;return this.length=r(K.ToInteger(this.length),0),arguments.length>0&&"number"!=typeof b&&(c=l.call(arguments),c.length<2?R(c,this.length-a):c[1]=K.ToInteger(b)),m.apply(this,c)}},!aa);var ba=function(){var a=new c(1e5);return a[8]="x",a.splice(1,1),7===a.indexOf("x")}(),ca=function(){var a=256,b=[];return b[a]="a",b.splice(a+1,0,"b"),"a"===b[a]}();H(d,{splice:function(a,b){for(var c,d=K.ToObject(this),e=[],f=K.ToUint32(d.length),g=K.ToInteger(a),i=0>g?r(f+g,0):s(g,f),j=s(r(K.ToInteger(b),0),f-i),k=0;j>k;)c=h(i+k),M(d,c)&&(e[k]=d[c]),k+=1;var m,n=l.call(arguments,2),o=n.length;if(j>o){for(k=i;f-j>k;)c=h(k+j),m=h(k+o),M(d,c)?d[m]=d[c]:delete d[m],k+=1;for(k=f;k>f-j+o;)delete d[k-1],k-=1}else if(o>j)for(k=f-j;k>i;)c=h(k+j-1),m=h(k+o-1),M(d,c)?d[m]=d[c]:delete d[m],k-=1;k=i;for(var p=0;p<n.length;++p)d[k]=n[p],k+=1;return d.length=f-j+o,e}},!ba||!ca);var da="1,2"!==[1,2].join(void 0),ea=d.join;H(d,{join:function(a){return ea.call(this,"undefined"==typeof a?",":a)}},da);var fa=function(a){for(var b=K.ToObject(this),c=K.ToUint32(b.length),d=0;d<arguments.length;)b[c+d]=arguments[d],d+=1;return b.length=c+d,c+d},ga=function(){var a={},b=Array.prototype.push.call(a,void 0);return 1!==b||1!==a.length||"undefined"!=typeof a[0]||!M(a,0)}();H(d,{push:function(a){return S(this)?n.apply(this,arguments):fa.apply(this,arguments)}},ga);var ha=function(){var a=[],b=a.push(void 0);return 1!==b||1!==a.length||"undefined"!=typeof a[0]||!M(a,0)}();H(d,{push:fa},ha);var ia=!{toString:null}.propertyIsEnumerable("toString"),ja=function(){}.propertyIsEnumerable("prototype"),ka=!M("x","0"),la=function(a){var b=a.constructor;return b&&b.prototype===a},ma={$window:!0,$console:!0,$parent:!0,$self:!0,$frame:!0,$frames:!0,$frameElement:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0},na=function(){if("undefined"==typeof a)return!1;for(var b in a)try{!ma["$"+b]&&M(a,b)&&null!==a[b]&&"object"==typeof a[b]&&la(a[b])}catch(c){return!0}return!1}(),oa=function(b){if("undefined"==typeof a||!na)return la(b);try{return la(b)}catch(c){return!1}},pa=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],qa=pa.length,ra=function(a){return"[object Arguments]"===N(a)},sa=function(a){return null!==a&&"object"==typeof a&&"number"==typeof a.length&&a.length>=0&&!S(a)&&b(a.callee)},ta=ra(arguments)?ra:sa;H(e,{keys:function(a){var c=b(a),d=ta(a),e=null!==a&&"object"==typeof a,f=e&&D(a);if(!e&&!c&&!d)throw new TypeError("Object.keys called on a non-object");var g=[],i=ja&&c;if(f&&ka||d)for(var j=0;j<a.length;++j)R(g,h(j));if(!d)for(var k in a)i&&"prototype"===k||!M(a,k)||R(g,h(k));if(ia)for(var l=oa(a),m=0;qa>m;m++){var n=pa[m];l&&"constructor"===n||!M(a,n)||R(g,n)}return g}});var ua=e.keys&&function(){return 2===e.keys(arguments).length}(1,2),va=e.keys&&function(){var a=e.keys(arguments);return 1!==arguments.length||1!==a.length||1!==a[0]}(1),wa=e.keys;H(e,{keys:function(a){return wa(ta(a)?l.call(a):a)}},!ua||va);var xa=-621987552e5,ya="-000001",za=Date.prototype.toISOString&&-1===new Date(xa).toISOString().indexOf(ya),Aa=Date.prototype.toISOString&&"1969-12-31T23:59:59.999Z"!==new Date(-1).toISOString();H(Date.prototype,{toISOString:function(){var a,b,c,d,e;if(!isFinite(this))throw new RangeError("Date.prototype.toISOString called on non-finite value.");for(d=this.getUTCFullYear(),e=this.getUTCMonth(),d+=Math.floor(e/12),e=(e%12+12)%12,a=[e+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()],d=(0>d?"-":d>9999?"+":"")+O("00000"+Math.abs(d),d>=0&&9999>=d?-4:-6),b=a.length;b--;)c=a[b],10>c&&(a[b]="0"+c);return d+"-"+l.call(a,0,2).join("-")+"T"+l.call(a,2).join(":")+"."+O("000"+this.getUTCMilliseconds(),-3)+"Z"}},za||Aa);var Ba=function(){try{return Date.prototype.toJSON&&null===new Date(NaN).toJSON()&&-1!==new Date(xa).toJSON().indexOf(ya)&&Date.prototype.toJSON.call({toISOString:function(){return!0}})}catch(a){return!1}}();Ba||(Date.prototype.toJSON=function(a){var c=e(this),d=K.ToPrimitive(c);if("number"==typeof d&&!isFinite(d))return null;var f=c.toISOString;if(!b(f))throw new TypeError("toISOString property is not callable");return f.call(c)});var Ca=1e15===Date.parse("+033658-09-27T01:46:40.000Z"),Da=!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")),Ea=isNaN(Date.parse("2000-01-01T00:00:00.000Z"));if(Ea||Da||!Ca){var Fa=Math.pow(2,31)-1,Ga=(Math.floor(Fa/1e3),J(new Date(1970,0,1,0,0,0,Fa+1).getTime()));Date=function(a){var b=function(c,d,e,f,g,i,j){var k,l=arguments.length;if(this instanceof a){var m=i,n=j;if(Ga&&l>=7&&j>Fa){var o=Math.floor(j/Fa)*Fa,p=Math.floor(o/1e3);m+=p,n-=1e3*p}k=1===l&&h(c)===c?new a(b.parse(c)):l>=7?new a(c,d,e,f,g,m,n):l>=6?new a(c,d,e,f,g,m):l>=5?new a(c,d,e,f,g):l>=4?new a(c,d,e,f):l>=3?new a(c,d,e):l>=2?new a(c,d):l>=1?new a(c):new a}else k=a.apply(this,arguments);return I(k)||H(k,{constructor:b},!0),k},c=new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"),d=[0,31,59,90,120,151,181,212,243,273,304,334,365],e=function(a,b){var c=b>1?1:0;return d[b]+Math.floor((a-1969+c)/4)-Math.floor((a-1901+c)/100)+Math.floor((a-1601+c)/400)+365*(a-1970)},f=function(b){var c=0,d=b;if(Ga&&d>Fa){var e=Math.floor(d/Fa)*Fa,f=Math.floor(e/1e3);c+=f,d-=1e3*f}return j(new a(1970,0,1,0,0,c,d))};for(var g in a)M(a,g)&&(b[g]=a[g]);H(b,{now:a.now,UTC:a.UTC},!0),b.prototype=a.prototype,H(b.prototype,{constructor:b},!0);var i=function(b){var d=c.exec(b);if(d){var g,h=j(d[1]),i=j(d[2]||1)-1,k=j(d[3]||1)-1,l=j(d[4]||0),m=j(d[5]||0),n=j(d[6]||0),o=Math.floor(1e3*j(d[7]||0)),p=Boolean(d[4]&&!d[8]),q="-"===d[9]?1:-1,r=j(d[10]||0),s=j(d[11]||0),t=m>0||n>0||o>0;return(t?24:25)>l&&60>m&&60>n&&1e3>o&&i>-1&&12>i&&24>r&&60>s&&k>-1&&k<e(h,i+1)-e(h,i)&&(g=60*(24*(e(h,i)+k)+l+r*q),g=1e3*(60*(g+m+s*q)+n)+o,p&&(g=f(g)),g>=-864e13&&864e13>=g)?g:NaN}return a.parse.apply(this,arguments)};return H(b,{parse:i}),b}(Date)}Date.now||(Date.now=function(){return(new Date).getTime()});var Ha=k.toFixed&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==0xde0b6b3a7640080.toFixed(0)),Ia={base:1e7,size:6,data:[0,0,0,0,0,0],multiply:function(a,b){for(var c=-1,d=b;++c<Ia.size;)d+=a*Ia.data[c],Ia.data[c]=d%Ia.base,d=Math.floor(d/Ia.base)},divide:function(a){for(var b=Ia.size,c=0;--b>=0;)c+=Ia.data[b],Ia.data[b]=Math.floor(c/a),c=c%a*Ia.base},numToString:function(){for(var a=Ia.size,b="";--a>=0;)if(""!==b||0===a||0!==Ia.data[a]){var c=h(Ia.data[a]);""===b?b=c:b+=O("0000000",0,7-c.length)+c}return b},pow:function Za(a,b,c){return 0===b?c:b%2===1?Za(a,b-1,c*a):Za(a*a,b/2,c)},log:function(a){for(var b=0,c=a;c>=4096;)b+=12,c/=4096;for(;c>=2;)b+=1,c/=2;return b}},Ja=function(a){var b,c,d,e,f,g,i,k;if(b=j(a),b=J(b)?0:Math.floor(b),0>b||b>20)throw new RangeError("Number.toFixed called with invalid number of decimals");if(c=j(this),J(c))return"NaN";if(-1e21>=c||c>=1e21)return h(c);if(d="",0>c&&(d="-",c=-c),e="0",c>1e-21)if(f=Ia.log(c*Ia.pow(2,69,1))-69,g=0>f?c*Ia.pow(2,-f,1):c/Ia.pow(2,f,1),g*=4503599627370496,f=52-f,f>0){for(Ia.multiply(0,g),i=b;i>=7;)Ia.multiply(1e7,0),i-=7;for(Ia.multiply(Ia.pow(10,i,1),0),i=f-1;i>=23;)Ia.divide(1<<23),i-=23;Ia.divide(1<<i),Ia.multiply(1,1),Ia.divide(2),e=Ia.numToString()}else Ia.multiply(0,g),Ia.multiply(1<<-f,0),e=Ia.numToString()+O("0.00000000000000000000",2,2+b);return b>0?(k=e.length,e=b>=k?d+O("0.0000000000000000000",0,b-k+2)+e:d+O(e,0,k-b)+"."+O(e,k-b)):e=d+e,e};H(k,{toFixed:Ja},Ha);var Ka=function(){try{return"1"===1..toPrecision(void 0)}catch(a){return!0}}(),La=k.toPrecision;H(k,{toPrecision:function(a){return"undefined"==typeof a?La.call(this):La.call(this,a)}},Ka),2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||".".split(/()()/).length>1?!function(){var a="undefined"==typeof/()??/.exec("")[1],b=Math.pow(2,32)-1;i.split=function(c,d){var e=this;if("undefined"==typeof c&&0===d)return[];if(!z(c))return P(this,c,d);var f,g,h,i,j=[],k=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(c.sticky?"y":""),m=0,o=new RegExp(c.source,k+"g");e+="",a||(f=new RegExp("^"+o.source+"$(?!\\s)",k));var p="undefined"==typeof d?b:K.ToUint32(d);for(g=o.exec(e);g&&(h=g.index+g[0].length,!(h>m&&(R(j,O(e,m,g.index)),!a&&g.length>1&&g[0].replace(f,function(){for(var a=1;a<arguments.length-2;a++)"undefined"==typeof arguments[a]&&(g[a]=void 0)}),g.length>1&&g.index<e.length&&n.apply(j,l.call(g,1)),i=g[0].length,m=h,j.length>=p)));)o.lastIndex===g.index&&o.lastIndex++,g=o.exec(e);return m===e.length?(i||!o.test(""))&&R(j,""):R(j,O(e,m)),j.length>p?O(j,0,p):j}}():"0".split(void 0,0).length&&(i.split=function(a,b){return"undefined"==typeof a&&0===b?[]:P(this,a,b)});var Ma=i.replace,Na=function(){var a=[];return"x".replace(/x(.)?/g,function(b,c){R(a,c)}),1===a.length&&"undefined"==typeof a[0]}();Na||(i.replace=function(a,c){var d=b(c),e=z(a)&&/\)[*?]/.test(a.source);if(d&&e){var f=function(b){var d=arguments.length,e=a.lastIndex;a.lastIndex=0;var f=a.exec(b)||[];return a.lastIndex=e,R(f,arguments[d-2],arguments[d-1]),c.apply(this,f)};return Ma.call(this,a,f)}return Ma.call(this,a,c)});var Oa=i.substr,Pa="".substr&&"b"!=="0b".substr(-1);H(i,{substr:function(a,b){var c=a;return 0>a&&(c=r(this.length+a,0)),Oa.call(this,c,b)}},Pa);var Qa=" \n\x0B\f\r \u2028\u2029\ufeff",Ra="",Sa="["+Qa+"]",Ta=new RegExp("^"+Sa+Sa+"*"),Ua=new RegExp(Sa+Sa+"*$"),Va=i.trim&&(Qa.trim()||!Ra.trim());H(i,{trim:function(){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");return h(this).replace(Ta,"").replace(Ua,"")}},Va);var Wa=i.lastIndexOf&&-1!=="abcあい".lastIndexOf("あい",2);H(i,{lastIndexOf:function(a){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");for(var b=h(this),c=h(a),d=arguments.length>1?j(arguments[1]):NaN,e=J(d)?1/0:K.ToInteger(d),f=s(r(e,0),b.length),g=c.length,i=f+g;i>0;){i=r(0,i-g);var k=Q(O(b,i,f+g),c);if(-1!==k)return i+k}return-1}},Wa);var Xa=i.lastIndexOf;if(H(i,{lastIndexOf:function(a){return Xa.apply(this,arguments)}},1!==i.lastIndexOf.length),(8!==parseInt(Qa+"08")||22!==parseInt(Qa+"0x16"))&&(parseInt=function(a){var b=/^[\-+]?0[xX]/;return function(c,d){var e=h(c).trim(),f=j(d)||(b.test(e)?16:10);return a(e,f)}}(parseInt)),"RangeError: test"!==String(new RangeError("test"))){var Ya=(Error.prototype.toString,function(){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");var a=this.name;"undefined"==typeof a?a="Error":"string"!=typeof a&&(a=h(a));var b=this.message;return"undefined"==typeof b?b="":"string"!=typeof b&&(b=h(b)),a?b?a+": "+b:a:b});Error.prototype.toString=Ya}}),function(a,b){"use strict";"function"==typeof define&&define.amd?define(b):"object"==typeof exports?module.exports=b():a.returnExports=b()}(this,function(){var a,c,d,e,f=Function.prototype.call,g=Object.prototype,h=f.bind(g.hasOwnProperty),i=f.bind(g.propertyIsEnumerable),j=f.bind(g.toString),k=h(g,"__defineGetter__");k&&(a=f.bind(g.__defineGetter__),c=f.bind(g.__defineSetter__),d=f.bind(g.__lookupGetter__),e=f.bind(g.__lookupSetter__)),Object.getPrototypeOf||(Object.getPrototypeOf=function(a){var b=a.__proto__;return b||null===b?b:"[object Function]"===j(a.constructor)?a.constructor.prototype:a instanceof Object?g:null});var l=function(a){try{return a.sentinel=0,0===Object.getOwnPropertyDescriptor(a,"sentinel").value}catch(b){return!1}};if(Object.defineProperty){var m=l({}),n="undefined"==typeof b||l(b.createElement("div"));if(!n||!m)var o=Object.getOwnPropertyDescriptor}if(!Object.getOwnPropertyDescriptor||o){var p="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(a,b){if("object"!=typeof a&&"function"!=typeof a||null===a)throw new TypeError(p+a);if(o)try{return o.call(Object,a,b)}catch(c){}var f;if(!h(a,b))return f;if(f={enumerable:i(a,b),configurable:!0},k){var j=a.__proto__,l=a!==g;l&&(a.__proto__=g);var m=d(a,b),n=e(a,b);if(l&&(a.__proto__=j),m||n)return m&&(f.get=m),n&&(f.set=n),f}return f.value=a[b],f.writable=!0,f}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(a){return Object.keys(a)}),!Object.create){var q,r=!({__proto__:null}instanceof Object),s=function(){if(!b.domain)return!1;try{return!!new ActiveXObject("htmlfile")}catch(a){return!1}},t=function(){var a,b;return b=new ActiveXObject("htmlfile"),b.write("<script></script>"),b.close(),a=b.parentWindow.Object.prototype,b=null,a},u=function(){var a,c=b.createElement("iframe"),d=b.body||b.documentElement;return c.style.display="none",d.appendChild(c),c.src="javascript:",a=c.contentWindow.Object.prototype,d.removeChild(c),c=null,a};q=r||"undefined"==typeof b?function(){return{__proto__:null}}:function(){var a=s()?t():u();delete a.constructor,delete a.hasOwnProperty,delete a.propertyIsEnumerable,delete a.isPrototypeOf,delete a.toLocaleString,delete a.toString,delete a.valueOf;var b=function(){};return b.prototype=a,q=function(){return new b},new b},Object.create=function(a,b){var c,d=function(){};if(null===a)c=q();else{if("object"!=typeof a&&"function"!=typeof a)throw new TypeError("Object prototype may only be an Object or null");d.prototype=a,c=new d,c.__proto__=a}return void 0!==b&&Object.defineProperties(c,b),c}}var v=function(a){try{return Object.defineProperty(a,"sentinel",{}),"sentinel"in a}catch(b){return!1}};if(Object.defineProperty){var w=v({}),x="undefined"==typeof b||v(b.createElement("div"));if(!w||!x)var y=Object.defineProperty,z=Object.defineProperties}if(!Object.defineProperty||y){var A="Property description must be an object: ",B="Object.defineProperty called on non-object: ",C="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(b,f,h){if("object"!=typeof b&&"function"!=typeof b||null===b)throw new TypeError(B+b);if("object"!=typeof h&&"function"!=typeof h||null===h)throw new TypeError(A+h);if(y)try{return y.call(Object,b,f,h)}catch(i){}if("value"in h)if(k&&(d(b,f)||e(b,f))){var j=b.__proto__;b.__proto__=g,delete b[f],b[f]=h.value,b.__proto__=j}else b[f]=h.value;else{if(!k&&("get"in h||"set"in h))throw new TypeError(C);"get"in h&&a(b,f,h.get),"set"in h&&c(b,f,h.set)}return b}}(!Object.defineProperties||z)&&(Object.defineProperties=function(a,b){if(z)try{return z.call(Object,a,b)}catch(c){}return Object.keys(b).forEach(function(c){"__proto__"!==c&&Object.defineProperty(a,c,b[c])}),a}),Object.seal||(Object.seal=function(a){if(Object(a)!==a)throw new TypeError("Object.seal can only be called on Objects.");return a}),Object.freeze||(Object.freeze=function(a){if(Object(a)!==a)throw new TypeError("Object.freeze can only be called on Objects.");return a});try{Object.freeze(function(){})}catch(D){Object.freeze=function(a){return function(b){return"function"==typeof b?b:a(b)}}(Object.freeze)}Object.preventExtensions||(Object.preventExtensions=function(a){if(Object(a)!==a)throw new TypeError("Object.preventExtensions can only be called on Objects.");return a}),Object.isSealed||(Object.isSealed=function(a){if(Object(a)!==a)throw new TypeError("Object.isSealed can only be called on Objects.");return!1}),Object.isFrozen||(Object.isFrozen=function(a){if(Object(a)!==a)throw new TypeError("Object.isFrozen can only be called on Objects.");return!1}),Object.isExtensible||(Object.isExtensible=function(a){if(Object(a)!==a)throw new TypeError("Object.isExtensible can only be called on Objects.");for(var b="";h(a,b);)b+="?";a[b]=!0;var c=h(a,b);return delete a[b],c})})}(window,document);
|