(function(){var o=window,r=document;var q=" -webkit- -moz- -o- -ms- -khtml- ".split(" ");try{function k(c,f,e,b){c.style.cssText=q.join(f+":"+e+";")+(b||"")}function p(c,f,e,b){f+=":";c.style.cssText=(f+q.join(e+";"+f)).slice(0,-f.length)+(b||"")}var z=r.documentElement,x=r.createElement("div"),u=r.createElement("div"),j;p(x,"display","box","width:42px;padding:0;");k(u,"box-flex","1","width:10px;");x.appendChild(u);z.appendChild(x);j=u.offsetWidth;x.removeChild(u);z.removeChild(x);if(j!==42){throw (j)+" Flexible Box Model not supported"}var h=new XMLHttpRequest();if(!h.upload){throw"XMLHttpRequestUpload not supported"}try{var s=new FormData()}catch(t){throw"FormData not supported"}if(!o.File){throw"File API not supported"}var d="createObjectURL",g="revokeObjectURL";if(!o.URL){if(o.webkitURL){o.URL=o.webkitURL}else{o.URL={};if(o.createBlobURL){o.URL[d]=function(b){return o.createBlobURL(b)}}else{if(o[d]){o.URL[d]=function(b){return o[d](b)}}else{o.URL[d]=function(b){return""}}}if(o.revokeBlobURL){o.URL[g]=function(b){return o.revokeBlobURL(b)}}else{if(o[g]){o.URL[g]=function(b){return o[g](b)}}else{o.URL[g]=function(b){return""}}}}}var m=o.File.prototype;if(!m.slice){var v=["webkitSlice","mozSlice"];for(var n=0,l=v.length;n