"undefined"==typeofc.createDocumentFragment||"undefined"==typeofc.createElement}g=b}catch(d){g=j=!0}})();vare={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);if(g)returna.createDocumentFragment();
Copyright 2009-2012 by contributors, MIT License */
(function(definition){if(typeofdefine=="function")define(definition);elseif(typeofYUI=="function")YUI.add("es5",definition);elsedefinition()})(function(){if(!Function.prototype.bind)Function.prototype.bind=functionbind(that){vartarget=this;if(typeoftarget!="function")thrownewTypeError("Function.prototype.bind called on incompatible "+target);varargs=slice.call(arguments,1);varbound=function(){if(thisinstanceofbound){varresult=target.apply(this,args.concat(slice.call(arguments)));if(Object(result)===
"[object Function]")thrownewTypeError;while(++i<length)if(iinself)fun.call(thisp,self[i],i,object)};if(!Array.prototype.map)Array.prototype.map=functionmap(fun){varobject=toObject(this),self=splitString&&_toString(this)=="[object String]"?this.split(""):object,length=self.length>>>0,result=Array(length),thisp=arguments[1];if(_toString(fun)!="[object Function]")thrownewTypeError(fun+" is not a function");for(vari=0;i<length;i++)if(iinself)result[i]=fun.call(thisp,self[i],i,object);returnresult};
if(!Array.prototype.filter)Array.prototype.filter=functionfilter(fun){varobject=toObject(this),self=splitString&&_toString(this)=="[object String]"?this.split(""):object,length=self.length>>>0,result=[],value,thisp=arguments[1];if(_toString(fun)!="[object Function]")thrownewTypeError(fun+" is not a function");for(vari=0;i<length;i++)if(iinself){value=self[i];if(fun.call(thisp,value,i,object))result.push(value)}returnresult};if(!Array.prototype.every)Array.prototype.every=functionevery(fun){varobject=
toObject(this),self=splitString&&_toString(this)=="[object String]"?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if(_toString(fun)!="[object Function]")thrownewTypeError(fun+" is not a function");for(vari=0;i<length;i++)if(iinself&&!fun.call(thisp,self[i],i,object))returnfalse;returntrue};if(!Array.prototype.some)Array.prototype.some=functionsome(fun){varobject=toObject(this),self=splitString&&_toString(this)=="[object String]"?this.split(""):object,length=self.length>>>
0,thisp=arguments[1];if(_toString(fun)!="[object Function]")thrownewTypeError(fun+" is not a function");for(vari=0;i<length;i++)if(iinself&&fun.call(thisp,self[i],i,object))returntrue;returnfalse};if(!Array.prototype.reduce)Array.prototype.reduce=functionreduce(fun){varobject=toObject(this),self=splitString&&_toString(this)=="[object String]"?this.split(""):object,length=self.length>>>0;if(_toString(fun)!="[object Function]")thrownewTypeError(fun+" is not a function");if(!length&&arguments.length==
1)thrownewTypeError("reduce of empty array with no initial value");vari=0;varresult;if(arguments.length>=2)result=arguments[1];else{do{if(iinself){result=self[i++];break}if(++i>=length)thrownewTypeError("reduce of empty array with no initial value");}while(true)}for(;i<length;i++)if(iinself)result=fun.call(void0,result,self[i],i,object);returnresult};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=functionreduceRight(fun){varobject=toObject(this),self=splitString&&_toString(this)==
"[object String]"?this.split(""):object,length=self.length>>>0;if(_toString(fun)!="[object Function]")thrownewTypeError(fun+" is not a function");if(!length&&arguments.length==1)thrownewTypeError("reduceRight of empty array with no initial value");varresult,i=length-1;if(arguments.length>=2)result=arguments[1];else{do{if(iinself){result=self[i--];break}if(--i<0)thrownewTypeError("reduceRight of empty array with no initial value");}while(true)}doif(iinthis)result=fun.call(void0,result,
dontEnums.length;for(varkeyin{"toString":null})hasDontEnumBug=false;Object.keys=functionkeys(object){if(typeofobject!="object"&&typeofobject!="function"||object===null)thrownewTypeError("Object.keys called on a non-object");varkeys=[];for(varnameinobject)if(owns(object,name))keys.push(name);if(hasDontEnumBug)for(vari=0,ii=dontEnumsLength;i<ii;i++){vardontEnum=dontEnums[i];if(owns(object,dontEnum))keys.push(dontEnum)}returnkeys}}varnegativeDate=-621987552E5,negativeYearString="-000001";
if(!Date.prototype.toISOString||(newDate(negativeDate)).toISOString().indexOf(negativeYearString)===-1)Date.prototype.toISOString=functiontoISOString(){varresult,length,value,year,month;if(!isFinite(this))thrownewRangeError("Date.prototype.toISOString called on non-finite value.");year=this.getUTCFullYear();month=this.getUTCMonth();year+=Math.floor(month/12);month=(month%12+12)%12;result=[month+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];year=(year<0?"-":
functiontoJSON(key){varo=Object(this),tv=toPrimitive(o),toISO;if(typeoftv==="number"&&!isFinite(tv))returnnull;toISO=o.toISOString;if(typeoftoISO!="function")thrownewTypeError("toISOString property is not callable");returntoISO.call(o)};if(!Date.parse||"Date.parse is buggy")Date=function(NativeDate){functionDate(Y,M,D,h,m,s,ms){varlength=arguments.length;if(thisinstanceofNativeDate){vardate=length==1&&String(Y)===Y?newNativeDate(Date.parse(Y)):length>=7?newNativeDate(Y,M,D,h,m,s,ms):
newRegExp("^"+ws+ws+"*"),trimEndRegexp=newRegExp(ws+ws+"*$");String.prototype.trim=functiontrim(){if(this===undefined||this===null)thrownewTypeError("can't convert "+this+" to object");returnString(this).replace(trimBeginRegexp,"").replace(trimEndRegexp,"")}}functiontoInteger(n){n=+n;if(n!==n)n=0;elseif(n!==0&&n!==1/0&&n!==-(1/0))n=(n>0||-1)*Math.floor(Math.abs(n));returnn}functionisPrimitive(input){vartype=typeofinput;returninput===null||type==="undefined"||type==="boolean"||type===
"number"||type==="string"}functiontoPrimitive(input){varval,valueOf,toString;if(isPrimitive(input))returninput;valueOf=input.valueOf;if(typeofvalueOf==="function"){val=valueOf.call(input);if(isPrimitive(val))returnval}toString=input.toString;if(typeoftoString==="function"){val=toString.call(input);if(isPrimitive(val))returnval}thrownewTypeError;}vartoObject=function(o){if(o==null)thrownewTypeError("can't convert "+o+" to object");returnObject(o)}});