Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

XHR a new filename each release. better.

  • Loading branch information...
commit 17b1ea9671a290ce73f0e7830d2e4dd79867c56b 1 parent 68736a5
@paulirish paulirish authored
View
2  download/index.html
@@ -250,4 +250,4 @@
</section>
- <script src="/i/js/builderapp.min.js?july31" async data-currentbuildversion="{{ site.latest_version }}"></script>
+ <script src="/i/js/builderapp.min.js?sept3" async data-currentbuildversion="{{ site.latest_version }}"></script>
View
2  i/js/builderapp.js
@@ -257,7 +257,7 @@ jQuery(function($){
dataType: 'text',
cache: false,
type: 'GET',
- url: '/downloads/modernizr-latest.js',
+ url: '/downloads/modernizr-' + _currentBuildVersion + '.js',
success:function(script) {
// Call the modulr function to create a modular build
var modularBuild = Modulizr.ize(script, [].slice.call(tests,0), function(){}),
View
2  i/js/builderapp.min.js
@@ -9,4 +9,4 @@
* This section does the conditional build
*/(function(a){var b={_dependencies:{canvastext:["canvas"],csstransforms3d:["prefixes","domprefixes","testprop","testbundle","teststyles","testallprops"],flexbox:["domprefixes","testprop","testallprops"],cssgradients:["prefixes"],opacity:["prefixes"],indexedDB:["domprefixes"],backgroundsize:["domprefixes","testprop","testallprops"],borderimage:["domprefixes","testprop","testallprops"],borderradius:["domprefixes","testprop","testallprops"],boxshadow:["domprefixes","testprop","testallprops"],cssanimations:["domprefixes","testprop","testallprops"],csscolumns:["domprefixes","testprop","testallprops"],cssreflections:["domprefixes","testprop","testallprops"],csstransitions:["domprefixes","testprop","testallprops"],testallprops:["domprefixes","testprop"],"flexbox-legacy":["domprefixes","testprop","testallprops"],prefixed:["domprefixes","testprop","testallprops"],csstransforms:["domprefixes","testprop","testallprops"],mq:["teststyles"],hashchange:["hasevent"],draganddrop:["hasevent"],generatedcontent:["smile","testbundle","teststyles"],svg:["ns"],inlinesvg:["ns"],smil:["ns"],svgclippaths:["ns"],input:["webforms","inputelem"],inputtypes:["webforms","inputelem","smile"],touch:["prefixes","testbundle","teststyles"],fontface:["testbundle","teststyles"],testbundle:["teststyles"],respond:["mq","teststyles"],websockets:["domprefixes"],a_download:[],audio_audiodata_api:[],audio_webaudio_api:[],battery_api:["domprefixes","testprop","testallprops","prefixed"],battery_level:["domprefixes","testprop","testallprops","prefixed"],canvas_todataurl_type:["canvas"],contenteditable:[],contextmenu:[],cookies:[],cors:[],css_backgroundcliptext:["prefixes"],css_backgroundrepeat:["teststyles"],css_backgroundsizecover:["teststyles"],css_boxsizing:["testallprops"],css_cubicbezierrange:["prefixes"],css_displayrunin:["teststyles"],css_displaytable:[],css_hyphens:["prefixes","testallprops"],css_mask:["testallprops"],css_mediaqueries:["teststyles","mq"],css_overflow_scrolling:["testallprops"],css_pointerevents:[],css_remunit:[],css_resize:["testallprops"],css_scrollbars:["prefixes","teststyles"],css_userselect:["testallprops"],custom_protocol_handler:[],dataview_api:[],dom_classlist:[],dom_createElement_attrs:[],dom_dataset:[],dom_microdata:[],elem_datalist:[],elem_details:[],elem_output:[],elem_progress_meter:[],elem_ruby:[],elem_time:[],elem_track:[],emoji:["canvas","canvastext"],es5_strictmode:[],event_deviceorientation_motion:[],file_api:[],file_filesystem:["domprefixes"],forms_placeholder:["webforms","input","inputelem","smile","inputtypes"],forms_speechinput:[],forms_validation:[],fullscreen_api:["domprefixes"],gamepad:[],getusermedia:[],ie8compat:[],img_apng:["canvas"],img_webp:[],json:[],lists_reversed:[],mathml:[],network_connection:[],network_eventsource:[],notification:["domprefixes","testprop","testallprops","prefixed"],performance:["domprefixes","testprop","testallprops","prefixed"],quota_management_api:["domprefixes","testprop","testallprops","prefixed"],requestanimationframe:["domprefixes","testprop","testallprops","prefixed"],script_async:[],script_defer:[],unicode:["teststyles"],url_data_uri:[],userdata:[],web_intents:[],webgl_extensions:["webgl"],websockets_binary:[],window_framed:[],workers_blobworkers:[],workers_dataworkers:[],workers_sharedworkers:[],"blob-constructor":[],"css-backgroundcliptext":[],"css-backgroundposition-fourvalues":[],"css-backgroundposition-xy":["teststyles"],"css-calc":["prefixes"],"css-lastchild":["teststyles"],"css-regions":["prefixed"],"css-subpixelfont":["teststyles"],"network-xhr2":[],"style-scoped":[],"svg-filters":[],"forms-fileinput":[],vibrate:[],vibration:[]},ize:function(a,b,c){var d,e,f,g,h,i,j,k,l,m=[],n=[],o=[],p="_"+ +(new Date),q=RegExp(/\s{4}\n/g);this.wantedHash=function(){var a={},c;for(c=0;c<b.length;c++)a[b[c].replace("-","_")]=!0;return a}();for(j in this._dependencies)if(this._dependencies.hasOwnProperty(j)&&this.wantedHash[j])for(l=0;l<this._dependencies[j].length;l++)b.push(this._dependencies[j][l]),c&&c(this._dependencies[j][l]),this.wantedHash[this._dependencies[j][l]]=!0;a=this._handleSpecialCases(a,b),a=this._removeComments(a),d=a.replace(/tests\['(.*)'\]/g,function(a,b){return o[o.length]={code:a,name:b},"TEST__"+b+"__"}),e=d.replace(/ret\['(.*)'\]/g,function(a,b){return n[n.length]={code:a,name:b},"TRET__"+b+"__"}),f=e.replace(/("|')((?:\\\1|.)+?)\1/g,function(a){return m[m.length]=a,"STR__"+(m.length-1)+"__"}),g=this._pullOutTests(f,b);for(i=0;i<m.length;i++)g=g.replace(RegExp("STR__"+i+"__","g"),function(){return m[i]});for(k=0;k<n.length;k++)g=g.replace(RegExp("TRET__"+n[k].name+"__","g"),function(a){return n[k].code});for(h=0;h<o.length;h++)g=g.replace(RegExp("TEST__"+o[h].name+"__","g"),function(a){return o[h].code});while(q.test(g))g=g.replace(q,"");return g},_handleSpecialCases:function(a,b){var c=function(a,b){return a=a.replace(RegExp("\\/\\*>>"+b+"\\*\\/[\\s|\\S]*?\\/\\*>>"+b+"\\*\\/","ig"),""),a},d={shiv:function(a){return c(a,"shiv")},mq:function(a){return c(a,"mq")},cssclasses:function(a){return c(a,"cssclasses")},addtest:function(a){return c(a,"addtest")},prefixed:function(a){return c(a,"prefixed")},teststyles:function(a){return c(a,"teststyles")},testprop:function(a){return c(a,"testprop")},testallprops:function(a){return c(a,"testallprops")},hasevent:function(a){return c(a,"hasevent")},prefixes:function(a){return c(a,"prefixes")},domprefixes:function(a){return c(a,"domprefixes")},input:function(a){return c(a,"input")},inputtypes:function(a){return c(a,"inputtypes")},ns:function(a){return c(a,"ns")},smile:function(a){return c(a,"smile")},inputelem:function(a){return c(a,"inputelem")},webforms:function(a){return c(a,"webforms")},touch:function(a){return c(a,"touch")},csstransforms3d:function(a){return c(a,"csstransforms3d")},generatedcontent:function(a){return c(a,"generatedcontent")},fontface:function(a){return c(a,"fontface")},testbundle:function(a){return c(a,"testbundle")}},e=this.wantedHash;for(var f in d)d.hasOwnProperty(f)&&(e[f]||(a=d[f](a)));return a},_pullOutTests:function(a,b){var c,d,e,f,g,h,i,j,k={},l,m,n=0;for(d=0;d<a.length;d++){c=a.substr(d,6);if(c==="TEST__"||c==="TRET__"){f=d,e=0;while(a.substr(d+e+6,2)!=="__")e++;h=a.substr(d+6,e).toLowerCase(),d+=e;while(a.substr(d,8)!=="function")d++;d+=8;while(a.charAt(d)!=="{")d++;j=1,d++;while(j)i=a.charAt(d),i==="{"?j++:i==="}"&&j--,d++;if(a.substr(d,2)===")("){d+=2,parenStack=1;while(parenStack)a.charAt(d)===")"?parenStack--:a.charAt(d)==="("&&parenStack++,d++}g=d+1,k[h]={start:f,end:g}}}var o=this.wantedHash;for(var p in k)k.hasOwnProperty(p)&&(o[p]||(l=k[p].start,m=k[p].end,a=a.substr(0,l-n)+a.substr(m-n),n+=m-l));return a},_removeComments:function(a){a=("__"+a+"__").split("");var b={singleQuote:!1,doubleQuote:!1,regex:!1,blockComment:!1,lineComment:!1,condComp:!1};for(var c=0,d=a.length;c<d;c++){if(b.regex){a[c]==="/"&&a[c-1]!=="\\"&&(b.regex=!1);continue}if(b.singleQuote){a[c]==="'"&&a[c-1]!=="\\"&&(b.singleQuote=!1);continue}if(b.doubleQuote){a[c]==='"'&&a[c-1]!=="\\"&&(b.doubleQuote=!1);continue}if(b.blockComment){a[c]==="*"&&a[c+1]==="/"&&(a[c+1]="",b.blockComment=!1),a[c]="";continue}if(b.lineComment){if(a[c+1]==="\n"||a[c+1]==="\r")b.lineComment=!1;a[c]="";continue}if(b.condComp){a[c-2]==="@"&&a[c-1]==="*"&&a[c]==="/"&&(b.condComp=!1);continue}b.doubleQuote=a[c]==='"',b.singleQuote=a[c]==="'";if(a[c]==="/"){if(a[c+1]==="*"&&a[c+2]==="@"){b.condComp=!0;continue}if(a[c+1]==="*"){a[c]="",b.blockComment=!0;continue}if(a[c+1]==="/"){a[c]="",b.lineComment=!0;continue}b.regex=!0}}return a.join("").slice(2,-2)},_indexOf:function(a,b){var c=Array.prototype;if(c.indexOf&&a.indexOf===c.indexOf)return a.indexOf(b);for(var d=0,e=a.length;d<e;d++)if(a[d]===b)return d;return-1}};a.Modulizr=b})(this),function(){var a=this,b=a._,c={},d=Array.prototype,e=Object.prototype,f=d.slice,g=d.unshift,h=e.toString,i=e.hasOwnProperty,j=d.forEach,k=d.map,l=d.reduce,m=d.reduceRight,n=d.filter,o=d.every,p=d.some,q=d.indexOf,r=d.lastIndexOf;e=Array.isArray;var s=Object.keys,t=function(a){return new y(a)};typeof module!="undefined"&&module.exports?(module.exports=t,t._=t):a._=t,t.VERSION="1.1.4";var u=t.each=t.forEach=function(a,b,d){if(a!=null)if(j&&a.forEach===j)a.forEach(b,d);else if(t.isNumber(a.length)){for(var e=0,f=a.length;e<f;e++)if(b.call(d,a[e],e,a)===c)break}else for(e in a)if(i.call(a,e)&&b.call(d,a[e],e,a)===c)break};t.map=function(a,b,c){var d=[];return a==null?d:k&&a.map===k?a.map(b,c):(u(a,function(a,e,f){d[d.length]=b.call(c,a,e,f)}),d)},t.reduce=t.foldl=t.inject=function(a,b,c,d){var e=c!==void 0;a==null&&(a=[]);if(l&&a.reduce===l)return d&&(b=t.bind(b,d)),e?a.reduce(b,c):a.reduce(b);u(a,function(a,f,g){!e&&f===0?(c=a,e=!0):c=b.call(d,c,a,f,g)});if(!e)throw new TypeError("Reduce of empty array with no initial value");return c},t.reduceRight=t.foldr=function(a,b,c,d){return a==null&&(a=[]),m&&a.reduceRight===m?(d&&(b=t.bind(b,d)),c!==void 0?a.reduceRight(b,c):a.reduceRight(b)):(a=(t.isArray(a)?a.slice():t.toArray(a)).reverse(),t.reduce(a,b,c,d))},t.find=t.detect=function(a,b,c){var d;return v(a,function(a,e,f){if(b.call(c,a,e,f))return d=a,!0}),d},t.filter=t.select=function(a,b,c){var d=[];return a==null?d:n&&a.filter===n?a.filter(b,c):(u(a,function(a,e,f){b.call(c,a,e,f)&&(d[d.length]=a)}),d)},t.reject=function(a,b,c){var d=[];return a==null?d:(u(a,function(a,e,f){b.call(c,a,e,f)||(d[d.length]=a)}),d)},t.every=t.all=function(a,b,d){b=b||t.identity;var e=!0;return a==null?e:o&&a.every===o?a.every(b,d):(u(a,function(a,f,g){if(!(e=e&&b.call(d,a,f,g)))return c}),e)};var v=t.some=t.any=function(a,b,d){b=b||t.identity;var e=!1;return a==null?e:p&&a.some===p?a.some(b,d):(u(a,function(a,f,g){if(e=b.call(d,a,f,g))return c}),e)};t.include=t.contains=function(a,b){var c=!1;return a==null?c:q&&a.indexOf===q?a.indexOf(b)!=-1:(v(a,function(a){if(c=a===b)return!0}),c)},t.invoke=function(a,b){var c=f.call(arguments,2);return t.map(a,function(a){return(b?a[b]:a).apply(a,c)})},t.pluck=function(a,b){return t.map(a,function(a){return a[b]})},t.max=function(a,b,c){if(!b&&t.isArray(a))return Math.max.apply(Math,a);var d={computed:-Infinity};return u(a,function(a,e,f){e=b?b.call(c,a,e,f):a,e>=d.computed&&(d={value:a,computed:e})}),d.value},t.min=function(a,b,c){if(!b&&t.isArray(a))return Math.min.apply(Math,a);var d={computed:Infinity};return u(a,function(a,e,f){e=b?b.call(c,a,e,f):a,e<d.computed&&(d={value:a,computed:e})}),d.value},t.sortBy=function(a,b,c){return t.pluck(t.map(a,function(a,d,e){return{value:a,criteria:b.call(c,a,d,e)}}).sort(function(a,b){var c=a.criteria,d=b.criteria;return c<d?-1:c>d?1:0}),"value")},t.sortedIndex=function(a,b,c){c=c||t.identity;for(var d=0,e=a.length;d<e;){var f=d+e>>1;c(a[f])<c(b)?d=f+1:e=f}return d},t.toArray=function(a){return a?a.toArray?a.toArray():t.isArray(a)?a:t.isArguments(a)?f.call(a):t.values(a):[]},t.size=function(a){return t.toArray(a).length},t.first=t.head=function(a,b,c){return b&&!c?f.call(a,0,b):a[0]},t.rest=t.tail=function(a,b,c){return f.call(a,t.isUndefined(b)||c?1:b)},t.last=function(a){return a[a.length-1]},t.compact=function(a){return t.filter(a,function(a){return!!a})},t.flatten=function(a){return t.reduce(a,function(a,b){return t.isArray(b)?a.concat(t.flatten(b)):(a[a.length]=b,a)},[])},t.without=function(a){var b=f.call(arguments,1);return t.filter(a,function(a){return!t.include(b,a)})},t.uniq=t.unique=function(a,b){return t.reduce(a,function(a,c,d){if(0==d||(b===!0?t.last(a)!=c:!t.include(a,c)))a[a.length]=c;return a},[])},t.intersect=function(a){var b=f.call(arguments,1);return t.filter(t.uniq(a),function(a){return t.every(b,function(b){return t.indexOf(b,a)>=0})})},t.zip=function(){for(var a=f.call(arguments),b=t.max(t.pluck(a,"length")),c=Array(b),d=0;d<b;d++)c[d]=t.pluck(a,""+d);return c},t.indexOf=function(a,b,c){if(a==null)return-1;if(c)return c=t.sortedIndex(a,b),a[c]===b?c:-1;if(q&&a.indexOf===q)return a.indexOf(b);c=0;for(var d=a.length;c<d;c++)if(a[c]===b)return c;return-1},t.lastIndexOf=function(a,b){if(a==null)return-1;if(r&&a.lastIndexOf===r)return a.lastIndexOf(b);for(var c=a.length;c--;)if(a[c]===b)return c;return-1},t.range=function(a,b,c){var d=f.call(arguments),e=d.length<=1;a=e?0:d[0],b=e?d[0]:d[1],c=d[2]||1,d=Math.max(Math.ceil((b-a)/c),0),e=0;for(var g=Array(d);e<d;)g[e++]=a,a+=c;return g},t.bind=function(a,b){var c=f.call(arguments,2);return function(){return a.apply(b||{},c.concat(f.call(arguments)))}},t.bindAll=function(a){var b=f.call(arguments,1);return b.length==0&&(b=t.functions(a)),u(b,function(b){a[b]=t.bind(a[b],a)}),a},t.memoize=function(a,b){var c={};return b=b||t.identity,function(){var d=b.apply(this,arguments);return d in c?c[d]:c[d]=a.apply(this,arguments)}},t.delay=function(a,b){var c=f.call(arguments,2);return setTimeout(function(){return a.apply(a,c)},b)},t.defer=function(a){return t.delay.apply(t,[a,1].concat(f.call(arguments,1)))};var w=function(a,b,c){var d;return function(){var e=this,f=arguments,g=function(){d=null,a.apply(e,f)};c&&clearTimeout(d);if(c||!d)d=setTimeout(g,b)}};t.throttle=function(a,b){return w(a,b,!1)},t.debounce=function(a,b){return w(a,b,!0)},t.wrap=function(a,b){return function(){var c=[a].concat(f.call(arguments));return b.apply(this,c)}},t.compose=function(){var a=f.call(arguments);return function(){for(var b=f.call(arguments),c=a.length-1;c>=0;c--)b=[a[c].apply(this,b)];return b[0]}},t.keys=s||function(a){if(t.isArray(a))return t.range(0,a.length);var b=[],c;for(c in a)i.call(a,c)&&(b[b.length]=c);return b},t.values=function(a){return t.map(a,t.identity)},t.functions=t.methods=function(a){return t.filter(t.keys(a),function(b){return t.isFunction(a[b])}).sort()},t.extend=function(a){return u(f.call(arguments,1),function(b){for(var c in b)a[c]=b[c]}),a},t.clone=function(a){return t.isArray(a)?a.slice():t.extend({},a)},t.tap=function(a,b){return b(a),a},t.isEqual=function(a,b){if(a===b)return!0;var c=typeof a;if(c!=typeof b)return!1;if(a==b)return!0;if(!a&&b||a&&!b)return!1;a._chain&&(a=a._wrapped),b._chain&&(b=b._wrapped);if(a.isEqual)return a.isEqual(b);if(t.isDate(a)&&t.isDate(b))return a.getTime()===b.getTime();if(t.isNaN(a)&&t.isNaN(b))return!1;if(t.isRegExp(a)&&t.isRegExp(b))return a.source===b.source&&a.global===b.global&&a.ignoreCase===b.ignoreCase&&a.multiline===b.multiline;if(c!=="object")return!1;if(a.length&&a.length!==b.length)return!1;c=t.keys(a);var d=t.keys(b);if(c.length!=d.length)return!1;for(var e in a)if(!(e in b)||!t.isEqual(a[e],b[e]))return!1;return!0},t.isEmpty=function(a){if(t.isArray(a)||t.isString(a))return a.length===0;for(var b in a)if(i.call(a,b))return!1;return!0},t.isElement=function(a){return!!a&&a.nodeType==1},t.isArray=e||function(a){return h.call(a)==="[object Array]"},t.isArguments=function(a){return!!a&&!!i.call(a,"callee")},t.isFunction=function(a){return!!(a&&a.constructor&&a.call&&a.apply)},t.isString=function(a){return!!(a===""||a&&a.charCodeAt&&a.substr)},t.isNumber=function(a){return!!(a===0||a&&a.toExponential&&a.toFixed)},t.isNaN=function(a){return a!==a},t.isBoolean=function(a){return a===!0||a===!1},t.isDate=function(a){return!!(a&&a.getTimezoneOffset&&a.setUTCFullYear)},t.isRegExp=function(a){return!(!(a&&a.test&&a.exec)||!a.ignoreCase&&a.ignoreCase!==!1)},t.isNull=function(a){return a===null},t.isUndefined=function(a){return a===void 0},t.noConflict=function(){return a._=b,this},t.identity=function(a){return a},t.times=function(a,b,c){for(var d=0;d<a;d++)b.call(c,d)},t.mixin=function(a){u(t.functions(a),function(b){A(b,t[b]=a[b])})};var x=0;t.uniqueId=function(a){var b=x++;return a?a+b:b},t.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g},t.template=function(a,b){var c=t.templateSettings;return c="var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(c.interpolate,function(a,b){return"',"+b.replace(/\\'/g,"'")+",'"}).replace(c.evaluate||null,function(a,b){return"');"+b.replace(/\\'/g,"'").replace(/[\r\n\t]/g," ")+"__p.push('"}).replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"');}return __p.join('');",c=Function("obj",c),b?c(b):c};var y=function(a){this._wrapped=a};t.prototype=y.prototype;var z=function(a,b){return b?t(a).chain():a},A=function(a,b){y.prototype[a]=function(){var a=f.call(arguments);return g.call(a,this._wrapped),z(b.apply(t,a),this._chain)}};t.mixin(t),u(["pop","push","reverse","shift","sort","splice","unshift"],function(a){var b=d[a];y.prototype[a]=function(){return b.apply(this._wrapped,arguments),z(this._wrapped,this._chain)}}),u(["concat","join","slice"],function(a){var b=d[a];y.prototype[a]=function(){return z(b.apply(this._wrapped,arguments),this._chain)}}),y.prototype.chain=function(){return this._chain=!0,this},y.prototype.value=function(){return this._wrapped}}(),function(a){function p(a){return o.letter.test(a)}function q(a){return a=a.charCodeAt(0),a>=48&&a<=57}function r(a){return q(a)||p(a)}function s(a){return o.non_spacing_mark.test(a)||o.space_combining_mark.test(a)}function t(a){return o.connector_punctuation.test(a)}function u(a){return a=="$"||a=="_"||p(a)}function v(a){return u(a)||s(a)||q(a)||t(a)||a=="\u200c"||a=="\u200d"}function w(a){if(g.test(a))return parseInt(a.substr(2),16);if(h.test(a))return parseInt(a.substr(1),8);if(i.test(a))return parseFloat(a)}function x(a,b,c,d){this.message=a,this.line=b+1,this.col=c+1,this.pos=d+1,this.stack=Error().stack}function y(a,b,c,d){}function z(a,b,c){return a.type==b&&(c==null||a.value==c)}function B(a){function g(){return c.text.charAt(c.pos)}function h(a,b){var d=c.text.charAt(c.pos++);if(a&&!d)throw A;return d=="\n"?(c.newline_before=c.newline_before||!b,++c.line,c.col=0):++c.col,d}function i(){return!c.peek()}function n(a,b){var d=c.text.indexOf(a,c.pos);if(b&&d==-1)throw A;return d}function o(){c.tokline=c.line,c.tokcol=c.col,c.tokpos=c.pos}function p(a,b,e){c.regex_allowed=a=="operator"&&!Q(D,b)||a=="keyword"&&Q(d,b)||a=="punc"&&Q(l,b);var f={type:a,value:b,line:c.tokline,col:c.tokcol,pos:c.tokpos,endpos:c.pos,nlb:c.newline_before};return e||(f.comments_before=c.comments_before,c.comments_before=[]),c.newline_before=!1,f}function s(){while(Q(k,g()))h()}function t(a){var b="",c=g(),d=0;while(c&&a(c,d++))b+=h(),c=g();return b}function x(a){y(a,c.tokline,c.tokcol,c.tokpos)}function z(a){var b=!1,c=!1,d=!1,e=a==".",f=t(function(f,g){return f=="x"||f=="X"?d?!1:d=!0:!!d||f!="E"&&f!="e"?f=="-"?c||g==0&&!a?!0:!1:f=="+"?c:(c=!1,f=="."?!e&&!d?e=!0:!1:r(f)):b?!1:b=c=!0});a&&(f=a+f);var g=w(f);if(!isNaN(g))return p("num",g);x("Invalid syntax: "+f)}function B(a){var b=h(!0,a);switch(b){case"n":return"\n";case"r":return"\r";case"t":return"\t";case"b":return"\b";case"v":return" ";case"f":return"\f";case"0":return"\0";case"x":return String.fromCharCode(C(2));case"u":return String.fromCharCode(C(4));case"\n":return"";default:return b}}function C(a){var b=0;for(;a>0;--a){var c=parseInt(h(!0),16);isNaN(c)&&x("Invalid hex-character pattern in string"),b=b<<4|c}return b}function E(){return N("Unterminated string constant",function(){var a=h(),b="";for(;;){var c=h(!0);if(c=="\\"){var d=0,e=null;c=t(function(a){if(a>="0"&&a<="7"){if(!e)return e=a,++d;if(e<="3"&&d<=2)return++d;if(e>="4"&&d<=1)return++d}return!1}),d>0?c=String.fromCharCode(parseInt(c,8)):c=B(!0)}else if(c==a)break;b+=c}return p("string",b)})}function F(){h();var a=n("\n"),b;return a==-1?(b=c.text.substr(c.pos),c.pos=c.text.length):(b=c.text.substring(c.pos,a),c.pos=a),p("comment1",b,!0)}function G(){return h(),N("Unterminated multiline comment",function(){var a=n("*/",!0),b=c.text.substring(c.pos,a);return c.pos=a+2,c.line+=b.split("\n").length-1,c.newline_before=b.indexOf("\n")>=0,/^@cc_on/i.test(b)&&(R("WARNING: at line "+c.line),R('*** Found "conditional comment": '+b),R("*** UglifyJS DISCARDS ALL COMMENTS. This means your code might no longer work properly in Internet Explorer.")),p("comment2",b,!0)})}function H(){var a=!1,b="",c;while((c=g())!=null)if(!a)if(c=="\\")a=!0,h();else if(v(c))b+=h();else break;else c!="u"&&x("Expecting UnicodeEscapeSequence -- uXXXX"),c=B(),v(c)||x("Unicode char: "+c.charCodeAt(0)+" is not valid in identifier"),b+=c,a=!1;return b}function I(a){return N("Unterminated regular expression",function(){var b=!1,c,d=!1;while(c=h(!0))if(b)a+="\\"+c,b=!1;else if(c=="[")d=!0,a+=c;else if(c=="]"&&d)d=!1,a+=c;else{if(c=="/"&&!d)break;c=="\\"?b=!0:a+=c}var e=H();return p("regexp",[a,e])})}function J(a){function b(a){if(!g())return a;var c=a+g();return Q(j,c)?(h(),b(c)):a}return p("operator",b(a||h()))}function K(){h();var a=c.regex_allowed;switch(g()){case"/":return c.comments_before.push(F()),c.regex_allowed=a,O();case"*":return c.comments_before.push(G()),c.regex_allowed=a,O()}return c.regex_allowed?I(""):J("/")}function L(){return h(),q(g())?z("."):p("punc",".")}function M(){var a=H();return Q(b,a)?Q(j,a)?p("operator",a):Q(e,a)?p("atom",a):p("keyword",a):p("name",a)}function N(a,b){try{return b()}catch(c){if(c===A)x(a);else throw c}}function O(a){if(a!=null)return I(a);s(),o();var b=g();if(!b)return p("eof");if(q(b))return z();if(b=='"'||b=="'")return E();if(Q(m,b))return p("punc",h());if(b==".")return L();if(b=="/")return K();if(Q(f,b))return J();if(b=="\\"||u(b))return M();x("Unexpected character '"+b+"'")}var c={text:a.replace(/\r\n?|[\n\u2028\u2029]/g,"\n").replace(/^\uFEFF/,""),pos:0,tokpos:0,line:0,tokline:0,col:0,tokcol:0,newline_before:!1,regex_allowed:!1,comments_before:[]};return O.context=function(a){return a&&(c=a),c},O}function I(a,b,c){this.name=a,this.start=b,this.end=c}function J(a,b,c){function e(a,b){return z(d.token,a,b)}function f(){return d.peeked||(d.peeked=d.input())}function g(){return d.prev=d.token,d.peeked?(d.token=d.peeked,d.peeked=null):d.token=d.input(),d.token}function h(){return d.prev}function i(a,b,c,e){var f=d.input.context();y(a,b!=null?b:f.tokline,c!=null?c:f.tokcol,e!=null?e:f.tokpos)}function j(a,b){i(b,a.line,a.col)}function k(a){a==null&&(a=d.token),j(a,"Unexpected token: "+a.type+" ("+a.value+")")}function l(a,b){if(e(a,b))return g();j(d.token,"Unexpected token "+d.token.type+", expected "+a)}function m(a){return l("punc",a)}function n(){return!b&&(d.token.nlb||e("eof")||e("punc","}"))}function o(){e("punc",";")?g():n()||k()}function p(){return N(arguments)}function q(){m("(");var a=bk();return m(")"),a}function r(a,b,c){return a instanceof I?a:new I(a,b,c)}function s(a){return c?function(){var b=d.token,c=a.apply(this,arguments);return c[0]=r(c[0],b,h()),c}:a}function u(a){d.labels.push(a);var c=d.token,e=t();return b&&!Q(G,e[0])&&k(c),d.labels.pop(),p("label",a,e)}function v(){return p("stat",L(bk,o))}function w(a){var b;return n()||(b=e("name")?d.token.value:null),b!=null?(g(),P(b,d.labels)||i("Label "+b+" without matching loop or statement")):d.in_loop==0&&i(a+" not inside a loop or switch"),o(),p(a,b)}function x(){m("(");var a=null;if(!e("punc",";")){a=e("keyword","var")?(g(),V(!0)):bk(!0,!0);if(e("operator","in"))return a[0]=="var"&&a[1].length>1&&i("Only one variable declaration allowed in for..in loop"),J(a)}return A(a)}function A(a){m(";");var b=e("punc",";")?null:bk();m(";");var c=e("punc",")")?null:bk();return m(")"),p("for",a,b,c,bl(t))}function J(a){var b=a[0]=="var"?p("name",a[1][0]):a;g();var c=bk();return m(")"),p("for-in",a,b,c,bl(t))}function O(){var a=q(),b=t(),c;return e("keyword","else")&&(g(),c=t()),p("if",a,b,c)}function R(){m("{");var a=[];while(!e("punc","}"))e("eof")&&k(),a.push(t());return g(),a}function T(){var a=R(),b,c;if(e("keyword","catch")){g(),m("("),e("name")||i("Name expected");var f=d.token.value;g(),m(")"),b=[f,R()]}return e("keyword","finally")&&(g(),c=R()),!b&&!c&&i("Missing catch/finally blocks"),p("try",a,b,c)}function U(a){var b=[];for(;;){e("name")||k();var c=d.token.value;g(),e("operator","=")?(g(),b.push([c,bk(!1,a)])):b.push([c]);if(!e("punc",","))break;g()}return b}function V(a){return p("var",U(a))}function W(){return p("const",U())}function X(){var a=Y(!1),b;return e("punc","(")?(g(),b=Z(")")):b=[],bc(p("new",a,b),!0)}function Z(a,b,c){var d=!0,f=[];while(!e("punc",a)){d?d=!1:m(",");if(b&&e("punc",a))break;e("punc",",")&&c?f.push(["atom","undefined"]):f.push(bk(!1))}return g(),f}function $(){return p("array",Z("]",!b,!0))}function _(){var a=!0,c=[];while(!e("punc","}")){a?a=!1:m(",");if(!b&&e("punc","}"))break;var f=d.token.type,h=ba();f!="name"||h!="get"&&h!="set"||!!e("punc",":")?(m(":"),c.push([h,bk(!1)])):c.push([bb(),M(!1),h])}return g(),p("object",c)}function ba(){switch(d.token.type){case"num":case"string":return L(d.token.value,g)}return bb()}function bb(){switch(d.token.type){case"name":case"operator":case"keyword":case"atom":return L(d.token.value,g);default:k()}}function bc(a,b){return e("punc",".")?(g(),bc(p("dot",a,bb()),b)):e("punc","[")?(g(),bc(p("sub",a,L(bk,K(m,"]"))),b)):b&&e("punc","(")?(g(),bc(p("call",a,Z(")")),!0)):a}function bd(a){if(e("operator")&&Q(C,d.token.value))return be("unary-prefix",L(d.token.value,g),bd(a));var b=Y(a);while(e("operator")&&Q(D,d.token.value)&&!d.token.nlb)b=be("unary-postfix",d.token.value,b),g();return b}function be(a,b,c){return(b=="++"||b=="--")&&!bi(c)&&i("Invalid use of "+b+" operator"),p(a,b,c)}function bf(a,b,c){var f=e("operator")?d.token.value:null;f&&f=="in"&&c&&(f=null);var h=f!=null?F[f]:null;if(h!=null&&h>b){g();var i=bf(bd(!0),h,c);return bf(p("binary",f,a,i),b,c)}return a}function bg(a){return bf(bd(!0),0,a)}function bh(a){var b=bg(a);if(e("operator","?")){g();var c=bk(!1);return m(":"),p("conditional",b,c,bk(!1,a))}return b}function bi(a){if(!b)return!0;switch(a[0]+""){case"dot":case"sub":case"new":case"call":return!0;case"name":return a[1]!="this"}}function bj(a){var b=bh(a),c=d.token.value;if(e("operator")&&Q(E,c)){if(bi(b))return g(),p("assign",E[c],b,bj(a));i("Invalid assignment")}return b}function bl(a){try{return++d.in_loop,a()}catch(b){}finally{--d.in_loop}}var d={input:typeof a=="string"?B(a,!0):a,token:null,prev:null,peeked:null,in_function:0,in_loop:0,labels:[]};d.token=g();var t=s(function(){if(e("operator","/")||e("operator","/="))d.peeked=null,d.token=d.input(d.token.value.substr(1));switch(d.token.type){case"num":case"string":case"regexp":case"operator":case"atom":return v();case"name":return z(f(),"punc",":")?u(L(d.token.value,g,g)):v();case"punc":switch(d.token.value){case"{":return p("block",R());case"[":case"(":return v();case";":return g(),p("block");default:k()};case"keyword":switch(L(d.token.value,g)){case"break":return w("break");case"continue":return w("continue");case"debugger":return o(),p("debugger");case"do":return function(a){return l("keyword","while"),p("do",L(q,o),a)}(bl(t));case"for":return x();case"function":return M(!0);case"if":return O();case"return":return d.in_function==0&&i("'return' outside of function"),p("return",e("punc",";")?(g(),null):n()?null:L(bk,o));case"switch":return p("switch",q(),S());case"throw":return d.token.nlb&&i("Illegal newline after 'throw'"),p("throw",L(bk,o));case"try":return T();case"var":return L(V,o);case"const":return L(W,o);case"while":return p("while",q(),bl(t));case"with":return p("with",q(),t());default:k()}}}),M=function(a){var b=e("name")?L(d.token.value,g):null;return a&&!b&&k(),m("("),p(a?"defun":"function",b,function(a,b){while(!e("punc",")"))a?a=!1:m(","),e("name")||k(),b.push(d.token.value),g();return g(),b}(!0,[]),function(){++d.in_function;var a=d.in_loop;d.in_loop=0;var b=R();return--d.in_function,d.in_loop=a,b}())},S=K(bl,function(){m("{");var a=[],b=null;while(!e("punc","}"))e("eof")&&k(),e("keyword","case")?(g(),b=[],a.push([bk(),b]),m(":")):e("keyword","default")?(g(),m(":"),b=[],a.push([null,b])):(b||k(),b.push(t()));return g(),a}),Y=s(function(a){if(e("operator","new"))return g(),X();if(e("punc")){switch(d.token.value){case"(":return g(),bc(L(bk,K(m,")")),a);case"[":return g(),bc($(),a);case"{":return g(),bc(_(),a)}k()}if(e("keyword","function"))return g(),bc(M(!1),a);if(Q(H,d.token.type)){var b=d.token.type=="regexp"?p("regexp",d.token.value[0],d.token.value[1]):p(d.token.type,d.token.value);return bc(L(b,g),a)}k()}),bk=s(function(a,b){arguments.length==0&&(a=!0);var c=bj(b);return a&&e("punc",",")?(g(),p("seq",c,bk(!0,b))):c});return p("toplevel",function(a){while(!e("eof"))a.push(t());return a}([]))}function K(a){var b=N(arguments,1);return function(){return a.apply(this,b.concat(N(arguments)))}}function L(a){a instanceof Function&&(a=a());for(var b=1,c=arguments.length;--c>0;++b)arguments[b]();return a}function M(a){var b={};for(var c=0;c<a.length;++c)b[a[c]]=!0;return b}function N(a,b){return Array.prototype.slice.call(a,b||0)}function O(a){return a.split("")}function P(a,b){for(var c=b.length;--c>=0;)if(b[c]==a)return!0;return!1}function Q(a,b){return Object.prototype.hasOwnProperty.call(a,b)}var b=M(["break","case","catch","const","continue","debugger","default","delete","do","else","finally","for","function","if","in","instanceof","new","return","switch","throw","try","typeof","var","void","while","with"]),c=M(["abstract","boolean","byte","char","class","double","enum","export","extends","final","float","goto","implements","import","int","interface","long","native","package","private","protected","public","short","static","super","synchronized","throws","transient","volatile"]),d=M(["return","new","delete","throw","else","case"]),e=M(["false","null","true","undefined"]),f=M(O("+-*&%=<>!?|~^")),g=/^0x[0-9a-f]+$/i,h=/^0[0-7]+$/,i=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i,j=M(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","||"]),k=M(O(" \u00a0\n\r\t\f \u200b\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000")),l=M(O("[{}(,.;:")),m=M(O("[]{}(),;:")),n=M(O("gmsiy")),o={letter:RegExp("[\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u0523\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0621-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971\\u0972\\u097B-\\u097F\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D28\\u0D2A-\\u0D39\\u0D3D\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC\\u0EDD\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8B\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10D0-\\u10FA\\u10FC\\u1100-\\u1159\\u115F-\\u11A2\\u11A8-\\u11F9\\u1200-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u1676\\u1681-\\u169A\\u16A0-\\u16EA\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u1900-\\u191C\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19A9\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u2094\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2C6F\\u2C71-\\u2C7D\\u2C80-\\u2CE4\\u2D00-\\u2D25\\u2D30-\\u2D65\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31B7\\u31F0-\\u31FF\\u3400\\u4DB5\\u4E00\\u9FC3\\uA000-\\uA48C\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA65F\\uA662-\\uA66E\\uA67F-\\uA697\\uA717-\\uA71F\\uA722-\\uA788\\uA78B\\uA78C\\uA7FB-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA90A-\\uA925\\uA930-\\uA946\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAC00\\uD7A3\\uF900-\\uFA2D\\uFA30-\\uFA6A\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]"
),non_spacing_mark:RegExp("[\\u0300-\\u036F\\u0483-\\u0487\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065E\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0711\\u0730-\\u074A\\u07A6-\\u07B0\\u07EB-\\u07F3\\u0816-\\u0819\\u081B-\\u0823\\u0825-\\u0827\\u0829-\\u082D\\u0900-\\u0902\\u093C\\u0941-\\u0948\\u094D\\u0951-\\u0955\\u0962\\u0963\\u0981\\u09BC\\u09C1-\\u09C4\\u09CD\\u09E2\\u09E3\\u0A01\\u0A02\\u0A3C\\u0A41\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A70\\u0A71\\u0A75\\u0A81\\u0A82\\u0ABC\\u0AC1-\\u0AC5\\u0AC7\\u0AC8\\u0ACD\\u0AE2\\u0AE3\\u0B01\\u0B3C\\u0B3F\\u0B41-\\u0B44\\u0B4D\\u0B56\\u0B62\\u0B63\\u0B82\\u0BC0\\u0BCD\\u0C3E-\\u0C40\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C62\\u0C63\\u0CBC\\u0CBF\\u0CC6\\u0CCC\\u0CCD\\u0CE2\\u0CE3\\u0D41-\\u0D44\\u0D4D\\u0D62\\u0D63\\u0DCA\\u0DD2-\\u0DD4\\u0DD6\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F71-\\u0F7E\\u0F80-\\u0F84\\u0F86\\u0F87\\u0F90-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u102D-\\u1030\\u1032-\\u1037\\u1039\\u103A\\u103D\\u103E\\u1058\\u1059\\u105E-\\u1060\\u1071-\\u1074\\u1082\\u1085\\u1086\\u108D\\u109D\\u135F\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17B7-\\u17BD\\u17C6\\u17C9-\\u17D3\\u17DD\\u180B-\\u180D\\u18A9\\u1920-\\u1922\\u1927\\u1928\\u1932\\u1939-\\u193B\\u1A17\\u1A18\\u1A56\\u1A58-\\u1A5E\\u1A60\\u1A62\\u1A65-\\u1A6C\\u1A73-\\u1A7C\\u1A7F\\u1B00-\\u1B03\\u1B34\\u1B36-\\u1B3A\\u1B3C\\u1B42\\u1B6B-\\u1B73\\u1B80\\u1B81\\u1BA2-\\u1BA5\\u1BA8\\u1BA9\\u1C2C-\\u1C33\\u1C36\\u1C37\\u1CD0-\\u1CD2\\u1CD4-\\u1CE0\\u1CE2-\\u1CE8\\u1CED\\u1DC0-\\u1DE6\\u1DFD-\\u1DFF\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2CEF-\\u2CF1\\u2DE0-\\u2DFF\\u302A-\\u302F\\u3099\\u309A\\uA66F\\uA67C\\uA67D\\uA6F0\\uA6F1\\uA802\\uA806\\uA80B\\uA825\\uA826\\uA8C4\\uA8E0-\\uA8F1\\uA926-\\uA92D\\uA947-\\uA951\\uA980-\\uA982\\uA9B3\\uA9B6-\\uA9B9\\uA9BC\\uAA29-\\uAA2E\\uAA31\\uAA32\\uAA35\\uAA36\\uAA43\\uAA4C\\uAAB0\\uAAB2-\\uAAB4\\uAAB7\\uAAB8\\uAABE\\uAABF\\uAAC1\\uABE5\\uABE8\\uABED\\uFB1E\\uFE00-\\uFE0F\\uFE20-\\uFE26]"),space_combining_mark:RegExp("[\\u0903\\u093E-\\u0940\\u0949-\\u094C\\u094E\\u0982\\u0983\\u09BE-\\u09C0\\u09C7\\u09C8\\u09CB\\u09CC\\u09D7\\u0A03\\u0A3E-\\u0A40\\u0A83\\u0ABE-\\u0AC0\\u0AC9\\u0ACB\\u0ACC\\u0B02\\u0B03\\u0B3E\\u0B40\\u0B47\\u0B48\\u0B4B\\u0B4C\\u0B57\\u0BBE\\u0BBF\\u0BC1\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCC\\u0BD7\\u0C01-\\u0C03\\u0C41-\\u0C44\\u0C82\\u0C83\\u0CBE\\u0CC0-\\u0CC4\\u0CC7\\u0CC8\\u0CCA\\u0CCB\\u0CD5\\u0CD6\\u0D02\\u0D03\\u0D3E-\\u0D40\\u0D46-\\u0D48\\u0D4A-\\u0D4C\\u0D57\\u0D82\\u0D83\\u0DCF-\\u0DD1\\u0DD8-\\u0DDF\\u0DF2\\u0DF3\\u0F3E\\u0F3F\\u0F7F\\u102B\\u102C\\u1031\\u1038\\u103B\\u103C\\u1056\\u1057\\u1062-\\u1064\\u1067-\\u106D\\u1083\\u1084\\u1087-\\u108C\\u108F\\u109A-\\u109C\\u17B6\\u17BE-\\u17C5\\u17C7\\u17C8\\u1923-\\u1926\\u1929-\\u192B\\u1930\\u1931\\u1933-\\u1938\\u19B0-\\u19C0\\u19C8\\u19C9\\u1A19-\\u1A1B\\u1A55\\u1A57\\u1A61\\u1A63\\u1A64\\u1A6D-\\u1A72\\u1B04\\u1B35\\u1B3B\\u1B3D-\\u1B41\\u1B43\\u1B44\\u1B82\\u1BA1\\u1BA6\\u1BA7\\u1BAA\\u1C24-\\u1C2B\\u1C34\\u1C35\\u1CE1\\u1CF2\\uA823\\uA824\\uA827\\uA880\\uA881\\uA8B4-\\uA8C3\\uA952\\uA953\\uA983\\uA9B4\\uA9B5\\uA9BA\\uA9BB\\uA9BD-\\uA9C0\\uAA2F\\uAA30\\uAA33\\uAA34\\uAA4D\\uAA7B\\uABE3\\uABE4\\uABE6\\uABE7\\uABE9\\uABEA\\uABEC]"),connector_punctuation:RegExp("[\\u005F\\u203F\\u2040\\u2054\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFF3F]")};x.prototype.toString=function(){return this.message+" (line: "+this.line+", col: "+this.col+", pos: "+this.pos+")"+"\n\n"+this.stack};var A={},C=M(["typeof","void","delete","--","++","!","~","-","+"]),D=M(["--","++"]),E=function(a,b,c){while(c<a.length)b[a[c]]=a[c].substr(0,a[c].length-1),c++;return b}(["+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&="],{"=":!0},0),F=function(a,b){for(var c=0,d=1;c<a.length;++c,++d){var e=a[c];for(var f=0;f<e.length;++f)b[e[f]]=d}return b}([["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]],{}),G=M(["for","do","while","switch"]),H=M(["atom","num","string","regexp","name"]);I.prototype.toString=function(){return this.name};var R=function(){},S={};(function(a){a.tokenizer=B,a.parse=J,a.slice=N,a.curry=K,a.member=P,a.array_to_hash=M,a.PRECEDENCE=F,a.KEYWORDS_ATOM=e,a.RESERVED_WORDS=c,a.KEYWORDS=b,a.ATOMIC_START_TOKEN=H,a.OPERATORS=j,a.is_alphanumeric_char=r,a.set_logger=function(a){R=a}})(S),a.parsejs=S}(this),function(a){function g(){function a(a){return[this[0],I(a,function(a){var b=[a[0]];return a.length>1&&(b[1]=g(a[1])),b})]}function b(a){var b=[this[0]];return a!=null&&b.push(I(a,g)),b}function g(a){if(a==null)return null;try{f.push(a);var b=a[0],c=e[b];if(c){var g=c.apply(a,a.slice(1));if(g!=null)return g}return c=d[b],c.apply(a,a.slice(1))}catch(h){}finally{f.pop()}}function h(a){if(a==null)return null;try{return f.push(a),d[a[0]].apply(a,a.slice(1))}catch(b){}finally{f.pop()}}function i(a,b){var c={},d;for(d in a)H(a,d)&&(c[d]=e[d],e[d]=a[d]);var f=b();for(d in c)H(c,d)&&(c[d]?e[d]=c[d]:delete e[d]);return f}var d={string:function(a){return[this[0],a]},num:function(a){return[this[0],a]},name:function(a){return[this[0],a]},toplevel:function(a){return[this[0],I(a,g)]},block:b,splice:b,"var":a,"const":a,"try":function(a,b,c){return[this[0],I(a,g),b!=null?[b[0],I(b[1],g)]:null,c!=null?I(c,g):null]},"throw":function(a){return[this[0],g(a)]},"new":function(a,b){return[this[0],g(a),I(b,g)]},"switch":function(a,b){return[this[0],g(a),I(b,function(a){return[a[0]?g(a[0]):null,I(a[1],g)]})]},"break":function(a){return[this[0],a]},"continue":function(a){return[this[0],a]},conditional:function(a,b,c){return[this[0],g(a),g(b),g(c)]},assign:function(a,b,c){return[this[0],a,g(b),g(c)]},dot:function(a){return[this[0],g(a)].concat(c(arguments,1))},call:function(a,b){return[this[0],g(a),I(b,g)]},"function":function(a,b,c){return[this[0],a,b.slice(),I(c,g)]},"debugger":function(){return[this[0]]},defun:function(a,b,c){return[this[0],a,b.slice(),I(c,g)]},"if":function(a,b,c){return[this[0],g(a),g(b),g(c)]},"for":function(a,b,c,d){return[this[0],g(a),g(b),g(c),g(d)]},"for-in":function(a,b,c,d){return[this[0],g(a),g(b),g(c),g(d)]},"while":function(a,b){return[this[0],g(a),g(b)]},"do":function(a,b){return[this[0],g(a),g(b)]},"return":function(a){return[this[0],g(a)]},binary:function(a,b,c){return[this[0],a,g(b),g(c)]},"unary-prefix":function(a,b){return[this[0],a,g(b)]},"unary-postfix":function(a,b){return[this[0],a,g(b)]},sub:function(a,b){return[this[0],g(a),g(b)]},object:function(a){return[this[0],I(a,function(a){return a.length==2?[a[0],g(a[1])]:[a[0],g(a[1]),a[2]]})]},regexp:function(a,b){return[this[0],a,b]},array:function(a){return[this[0],I(a,g)]},stat:function(a){return[this[0],g(a)]},seq:function(){return[this[0]].concat(I(c(arguments),g))},label:function(a,b){return[this[0],a,g(b)]},"with":function(a,b){return[this[0],g(a),g(b)]},atom:function(a){return[this[0],a]}},e={},f=[];return{walk:g,dive:h,with_walkers:i,parent:function(){return f[f.length-2]},stack:function(){return f}}}function h(a){this.names={},this.mangled={},this.rev_mangled={},this.cname=-1,this.refs={},this.uses_with=!1,this.uses_eval=!1,this.parent=a,this.children=[],a?(this.level=a.level+1,a.children.push(this)):this.level=0}function j(a){function f(a){b=new h(b),b.labels=new h;var c=b.body=a();return c.scope=b,b=b.parent,c}function i(a,c){return b.define(a,c)}function j(a){b.refs[a]=!0}function k(a,b,c){var e=this[0]=="defun";return[this[0],e?i(a,"defun"):a,b,f(function(){return e||i(a,"lambda"),I(b,function(a){i(a,"arg")}),I(c,d)})]}function l(a){return function(b){I(b,function(b){i(b[0],a),b[1]&&j(b[0])})}}function m(a){a&&(b.labels.refs[a]=!0)}var b=null,c=g(),d=c.walk,e=[];return f(function(){function g(a,b){for(b=a.children.length;--b>=0;)g(a.children[b]);for(b in a.refs)if(H(a.refs,b))for(var c=a.has(b),d=a;d;d=d.parent){d.refs[b]=c;if(d===c)break}}var f=c.with_walkers({"function":k,defun:k,label:function(a,c){b.labels.define(a)},"break":m,"continue":m,"with":function(a,c){for(var d=b;d;d=d.parent)d.uses_with=!0},"var":l("var"),"const":l("const"),"try":function(a,b,c){if(b!=null)return[this[0],I(a,d),[i(b[0],"catch"),I(b[1],d)],c!=null?I(c,d):null]},name:function(a){a=="eval"&&e.push(b),j(a)}},function(){return d(a)});return I(e,function(a){if(!a.has("eval"))while(a)a.uses_eval=!0,a=a.parent}),g(b),f})}function k(a,b){function h(a,c){return!b.toplevel&&!f.parent?a:b.except&&d(a,b.except)?a:f.get_mangled(a,c)}function i(a){if(b.defines)return!f.has(a)&&H(b.defines,a)?b.defines[a]:null}function k(a,c,d){if(!b.no_functions){var g=this[0]=="defun",i;a&&(g?a=h(a):d.scope.references(a)?(i={},!f.uses_eval&&!f.uses_with?a=i[a]=f.next_mangled():i[a]=a):a=null)}return d=l(d.scope,function(){return c=I(c,function(a){return h(a)}),I(d,e)},i),[this[0],a,c,d]}function l(a,b,c){var d=f;f=a;if(c)for(var e in c)H(c,e)&&a.set_mangle(e,c[e]);for(var e in a.names)H(a.names,e)&&h(e,!0);var g=b();return g.scope=a,f=d,g}function m(a){return[this[0],I(a,function(a){return[h(a[0]),e(a[1])]})]}function n(a){if(a)return[this[0],f.labels.get_mangled(a)]}var c=g(),e=c.walk,f;return b=b||{},c.with_walkers({"function":k,defun:function(){var a=k.apply(this,arguments);switch(c.parent()[0]){case"toplevel":case"function":case"defun":return I.at_top(a)}return a},label:function(a,b){return f.labels.refs[a]?[this[0],f.labels.get_mangled(a,!0),e(b)]:e(b)},"break":n,"continue":n,"var":m,"const":m,name:function(a){return i(a)||[this[0],h(a)]},"try":function(a,b,c){return[this[0],I(a,e),b!=null?[h(b[0]),I(b[1],e)]:null,c!=null?I(c,e):null]},toplevel:function(a){var b=this;return l(b.scope,function(){return[b[0],I(a,e)]})}},function(){return e(j(a))})}function m(a,b){return C(a).length>C(b[0]=="stat"?b[1]:b).length?b:a}function n(a){return a[0]=="block"&&a[1]&&a[1].length>0?a[1][a[1].length-1]:a}function o(a){if(a)switch(n(a)[0]){case"return":case"break":case"continue":case"throw":return!0}}function p(a){return a[0]=="unary-prefix"&&d(a[1],["!","delete"])||a[0]=="binary"&&d(a[1],["in","instanceof","==","!=","===","!==","<","<=",">=",">"])||a[0]=="binary"&&d(a[1],["&&","||"])&&p(a[2])&&p(a[3])||a[0]=="conditional"&&p(a[2])&&p(a[3])||a[0]=="assign"&&a[1]===!0&&p(a[3])||a[0]=="seq"&&p(a[a.length-1])}function q(a){return!a||a[0]=="block"&&(!a[1]||a[1].length==0)}function r(a){return a[0]=="string"||a[0]=="unary-prefix"&&a[1]=="typeof"||a[0]=="binary"&&a[1]=="+"&&(r(a[2])||r(a[3]))}function t(a){q(a)||l("Dropping unreachable code: "+C(a,!0))}function u(a){function d(a){a=I(a,c);for(var b=0;b<a.length;++b){var e=a[b];if(e[0]!="if")continue;if(e[3]&&c(e[3]))continue;var f=c(e[2]);if(!o(f))continue;var g=c(e[1]),h=d(a.slice(b+1)),i=h.length==1?h[0]:["block",h];return a.slice(0,b).concat([[e[0],g,f,i]])}return a}function e(a,b,c){return c=d(c),[this[0],a,b,c]}function f(a){return[this[0],a!=null?d(a):null]}var b=g(),c=b.walk;return b.with_walkers({defun:e,"function":e,block:f,splice:f,toplevel:function(a){return[this[0],d(a)]},"try":function(a,b,c){return[this[0],d(a),b!=null?[b[0],d(b[1])]:null,c!=null?d(c):null]}},function(){return c(a)})}function v(a,b){function h(){throw e}function i(){throw f}function j(){return b.call(this,this,c,h,i)}function k(a){if(a=="++"||a=="--")return j.apply(this,arguments)}var c=g(),d=c.walk,e={},f={};return c.with_walkers({"try":j,"throw":j,"return":j,"new":j,"switch":j,"break":j,"continue":j,assign:j,call:j,"if":j,"for":j,"for-in":j,"while":j,"do":j,"return":j,"unary-prefix":k,"unary-postfix":k,defun:j},function(){for(;;)try{d(a);break}catch(b){if(b===e)break;if(b===f)continue;throw b}})}function w(a){function e(a,b){var e=d;d=b,a=I(a,c);var f={},g=I(b.names,function(a,c){return a!="var"?I.skip:b.references(c)?(f[c]=!0,[c]):I.skip});return g.length>0&&(v(["block",a],function(a,b,c,d){if(a[0]=="assign"&&a[1]===!0&&a[2][0]=="name"&&H(f,a[2][1])){for(var e=g.length;--e>=0;)if(g[e][0]==a[2][1]){g[e][1]&&c(),g[e][1]=a[3],g.push(g.splice(e,1)[0]);break}var h=b.parent();if(h[0]=="seq"){var i=h[2];i.unshift(0,h.length),h.splice.apply(h,i)}else h[0]=="stat"?h.splice(0,h.length,"block"):c();d()}c()}),a.unshift(["var",g])),d=e,a}function f(a){var c=null;for(var d=a.length;--d>=0;){var e=a[d];if(!e[1])continue;e=["assign",!0,["name",e[0]],e[1]],c==null?c=e:c=["seq",e,c]}return c==null?b.parent()[0]=="for-in"?["name",a[0][0]]:I.skip:["stat",c]}function h(a){return[this[0],e(a,this.scope)]}var b=g(),c=b.walk,d;return b.with_walkers({"function":function(a,b,c){for(var d=b.length;--d>=0&&!c.scope.references(b[d]);)b.pop();return c.scope.references(a)||(a=null),[this[0],a,b,e(c,c.scope)]},defun:function(a,b,c){if(!d.references(a))return I.skip;for(var f=b.length;--f>=0&&!c.scope.references(b[f]);)b.pop();return[this[0],a,b,e(c,c.scope)]},"var":f,toplevel:h},function(){return c(j(a))})}function x(a,b){function h(a){var d=["unary-prefix","!",a];switch(a[0]){case"unary-prefix":return a[1]=="!"&&p(a[2])?a[2]:d;case"seq":return a=c(a),a[a.length-1]=h(a[a.length-1]),a;case"conditional":return m(d,["conditional",a[1],h(a[2]),h(a[3])]);case"binary":var e=a[1],f=a[2],g=a[3];if(!b.keep_comps)switch(e){case"<=":return["binary",">",f,g];case"<":return["binary",">=",f,g];case">=":return["binary","<",f,g];case">":return["binary","<=",f,g]}switch(e){case"==":return["binary","!=",f,g];case"!=":return["binary","==",f,g];case"===":return["binary","!==",f,g];case"!==":return["binary","===",f,g];case"&&":return m(d,["binary","||",h(f),h(g)]);case"||":return m(d,["binary","&&",h(f),h(g)])}}return d}function i(a,b,c){var d=function(){return a[0]=="unary-prefix"&&a[1]=="!"?c?["conditional",a[2],c,b]:["binary","||",a[2],b]:c?m(["conditional",a,b,c],["conditional",h(a),c,b]):["binary","&&",a,b]};return s(a,function(a,d){return t(d?c:b),d?b:c},d)}function j(a){return a!=null&&a[0]=="block"&&a[1]&&(a[1].length==1?a=a[1][0]:a[1].length==0&&(a=["block"])),a}function k(a,b,c){return[this[0],a,b,n(c,"lambda")]}function n(a,c){return a=I(a,f),a=_(a).reduce(function(a,b){return b[0]=="block"?b[1]&&a.push.apply(a,b[1]):a.push(b),a},[]),a=function(b,c){return _(a).forEach(function(a){c&&(a[0]=="var"&&c[0]=="var"||a[0]=="const"&&c[0]=="const")?c[1]=c[1].concat(a[1]):(b.push(a),c=a)}),b}([]),b.dead_code&&(a=function(c,e){return _(a).forEach(function(a){e?a[0]=="function"||a[0]=="defun"?c.push(a):a[0]=="var"||a[0]=="const"?(b.no_warnings||l("Variables declared in unreachable code"),a[1]=I(a[1],function(a){return a[1]&&!b.no_warnings&&t(["assign",!0,["name",a[0]],a[1]]),[a[0]]}),c.push(a)):b.no_warnings||t(a):(c.push(a),d(a[0],["return","throw","break","continue"])&&(e=!0))}),c}([])),b.make_seqs&&(a=function(b,c){return _(a).forEach(function(a){c&&c[0]=="stat"&&a[0]=="stat"?c[1]=["seq",c[1],a[1]]:(b.push(a),c=a)}),b.length>=2&&b[b.length-2][0]=="stat"&&(b[b.length-1][0]=="return"||b[b.length-1][0]=="throw")&&b[b.length-1][1]&&b.splice(b.length-2,2,[b[b.length-1][0],["seq",b[b.length-2][1],b[b.length-1][1]]]),b}([])),a}function r(a,b,c){return s(a,function(a,d){return d?(b=f(b),t(c),b||["block"]):(c=f(c),t(b),c||["block"])},function(){return w(a,b,c)})}function v(a,b,c){var d=[["if",h(a),c]];return b[0]=="block"?b[1]&&(d=d.concat(b[1])):d.push(b),f(["block",d])}function w(a,b,c){a=f(a),b=f(b),c=f(c),q(b)?(a=h(a),b=c,c=null):q(c)?c=null:function(){var d=C(a),e=h(a),f=C(e);if(f.length<d.length){var g=b;b=c,c=g,a=e}}();if(q(c)&&q(b))return["stat",a];var d=["if",a,b,c];return b[0]=="if"&&q(b[3])&&q(c)?d=m(d,f(["if",["binary","&&",a,b[1]],b[2]])):b[0]=="stat"?c?c[0]=="stat"?d=m(d,["stat",i(a,b[1],c[1])]):o(c)&&(d=v(a,b,c)):d=m(d,["stat",i(a,b[1])]):c&&b[0]==c[0]&&(b[0]=="return"||b[0]=="throw")&&b[1]&&c[1]?d=m(d,[b[0],i(a,b[1],c[1])]):c&&o(b)?(d=[["if",a,b]],c[0]=="block"?c[1]&&(d=d.concat(c[1])):d.push(c),d=f(["block",d])):b&&o(c)&&(d=v(a,b,c)),d}function x(a,b){return s(a,function(a,c){return c?["for",null,null,null,f(b)]:(t(b),["block"])})}b=F(b,{make_seqs:!0,dead_code:!0,no_warnings:!1,keep_comps:!0});var e=g(),f=e.walk;return e.with_walkers({sub:function(a,b){if(b[0]=="string"){var c=b[1];if(G(c))return["dot",f(a),c];if(/^[1-9][0-9]*$/.test(c)||c==="0")return["sub",f(a),["num",parseInt(c,10)]]}},"if":r,toplevel:function(a){return["toplevel",n(a)]},"switch":function(a,b){var c=b.length-1;return["switch",f(a),I(b,function(a,b){var d=n(a[1]);if(b==c&&d.length>0){var e=d[d.length-1];e[0]=="break"&&!e[1]&&d.pop()}return[a[0]?f(a[0]):null,d]})]},"function":k,defun:k,block:function(a){if(a)return j(["block",n(a)])},binary:function(a,b,c){return s(["binary",a,f(b),f(c)],function(b){return m(f(b),this)},function(){return function(){if(a!="=="&&a!="!=")return;var d=f(b),e=f(c);return d&&d[0]=="unary-prefix"&&d[1]=="!"&&d[2][0]=="num"?b=["num",+!d[2][1]]:e&&e[0]=="unary-prefix"&&e[1]=="!"&&e[2][0]=="num"&&(c=["num",+!e[2][1]]),["binary",a,b,c]}()||this})},conditional:function(a,b,c){return i(f(a),f(b),f(c))},"try":function(a,b,c){return["try",n(a),b!=null?[b[0],n(b[1])]:null,c!=null?n(c):null]},"unary-prefix":function(a,b){b=f(b);var c=["unary-prefix",a,b];return a=="!"&&(c=m(c,h(b))),s(c,function(a,b){return f(a)},function(){return c})},name:function(a){switch(a){case"true":return["unary-prefix","!",["num",0]];case"false":return["unary-prefix","!",["num",1]]}},"while":x,assign:function(a,b,c){b=f(b),c=f(c);var d=["+","-","/","*","%",">>","<<",">>>","|","^","&"];return a===!0&&b[0]==="name"&&c[0]==="binary"&&~d.indexOf(c[1])&&c[2][0]==="name"&&c[2][1]===b[1]?[this[0],c[1],b,c[3]]:[this[0],a,b,c]}},function(){for(var b=0;b<2;++b)a=u(a),a=f(a);return a})}function z(a,b){var c=0,d=0;return a=a.replace(/[\\\b\f\n\r\t\x22\x27\u2028\u2029\0]/g,function(a){switch(a){case"\\":return"\\\\";case"\b":return"\\b";case"\f":return"\\f";case"\n":return"\\n";case"\r":return"\\r";case"\t":return"\\t";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case'"':return++c,'"';case"'":return++d,"'";case"\0":return"\\0"}return a}),b&&(a=A(a)),c>d?"'"+a.replace(/\x27/g,"\\'")+"'":'"'+a.replace(/\x22/g,'\\"')+'"'}function A(a){return a.replace(/[\u0080-\uffff]/g,function(a){var b=a.charCodeAt(0).toString(16);while(b.length<4)b="0"+b;return"\\u"+b})}function C(a,h){function m(a){var b=z(a,h.ascii_only);return h.inline_script&&(b=b.replace(/<\x2fscript([>\/\t\n\f\r ])/gi,"<\\/script$1")),b}function n(a){return a=a+"",h.ascii_only&&(a=A(a)),a}function o(a){return a==null&&(a=""),i&&(a=E(" ",h.indent_start+j*h.indent_level)+a),a}function p(a,b){b==null&&(b=1),j+=b;try{return a.apply(null,c(arguments,1))}catch(d){}finally{j-=b}}function r(a){if(i)return a.join(" ");var b=[];for(var c=0;c<a.length;++c){var d=a[c+1];b.push(a[c]),d&&(/[a-z0-9_\x24]$/i.test(a[c]+"")&&/^[a-z0-9_\x24]/i.test(d+"")||/[\+\-]$/.test(a[c]+"")&&/^[\+\-]/.test(d+""))&&b.push(" ")}return b.join("")}function s(a){return a.join(","+l)}function t(a){var b=C(a);for(var c=1;c<arguments.length;++c){var d=arguments[c];if(d instanceof Function&&d(a)||a[0]==d)return"("+b+")"}return b}function u(a){if(a.length==1)return a[0];if(a.length==2){var b=a[1];return a=a[0],a.length>b.length?b:a}return u([a[0],u(a.slice(1))])}function v(a){if(a[0]=="function"||a[0]=="object"){var b=c(x.stack()),d=b.pop(),e=b.pop();while(e){if(e[0]=="stat")return!0;if((e[0]=="seq"||e[0]=="call"||e[0]=="dot"||e[0]=="sub"||e[0]=="conditional")&&e[1]===d||(e[0]=="binary"||e[0]=="assign"||e[0]=="unary-postfix")&&e[2]===d)d=e,e=b.pop();else return!1}}return!H(y,a[0])}function w(a){var b=a.toString(10),c=[b.replace(/^0\./,".")],d;return Math.floor(a)===a?(a<0?c.push("-0x"+(-a).toString(16).toLowerCase(),"-0"+(-a).toString(8)):c.push("0x"+a.toString(16).toLowerCase(),"0"+a.toString(8)),(d=/^(.*?)(0+)$/.exec(a))&&c.push(d[1]+"e"+d[2].length)):(d=/^0?\.(0+)(.*)$/.exec(a))&&c.push(d[2]+"e-"+(d[1].length+d[2].length),b.substr(b.indexOf("."))),u(c)}function D(a){if(a==null)return";";if(a[0]=="do")return N([a]);var b=a;for(;;){var c=b[0];if(c=="if"){if(!b[3])return C(["block",[a]]);b=b[3]}else if(c=="while"||c=="do")b=b[2];else if(c=="for"||c=="for-in")b=b[4];else break}return C(a)}function J(a,b,c,d,e){var f=d||"function";return a&&(f+=" "+n(a)),f+="("+s(I(b,n))+")",f=r([f,N(c)]),!e&&v(this)?"("+f+")":f}function K(a){switch(a[0]){case"with":case"while":return q(a[2]);case"for":case"for-in":return q(a[4]);case"if":if(q(a[2])&&!a[3])return!0;if(a[3])return q(a[3])?!0:K(a[3]);return K(a[2])}}function L(a,b){for(var c=[],d=a.length-1,e=0;e<=d;++e){var f=a[e],g=C(f);g!=";"&&(!i&&e==d&&!K(f)&&(g=g.replace(/;+\s*$/,"")),c.push(g))}return b?c:I(c,o)}function M(a){var b=a.length;return b==0?"{}":"{"+k+I(a,function(a,c){var d=a[1].length>0,e=p(function(){return o(a[0]?r(["case",C(a[0])+":"]):"default:")},.5)+(d?k+p(function(){return L(a[1]).join(k)}):"");return!i&&d&&c<b-1&&(e+=";"),e}).join(k)+k+o("}")}function N(a){return a?a.length==0?"{}":"{"+k+p(function(){return L(a).join(k)})+k+o("}"):";"}function O(a){var b=a[0],c=a[1];return c!=null&&(b=r([n(b),"=",t(c,"seq")])),b}h=F(h,{indent_start:0,indent_level:4,quote_keys:!1,space_colon:!1,beautify:!1,ascii_only:!1,inline_script:!1});var i=!!h.beautify,j=0,k=i?"\n":"",l=i?" ":"",x=g(),C=x.walk;return x.with_walkers({string:m,num:w,name:n,"debugger":function(){return"debugger"},toplevel:function(a){return L(a).join(k+k)},splice:function(a){var b=x.parent();return H(B,b)?N.apply(this,arguments):I(L(a,!0),function(a,b){return b>0?o(a):a}).join(k)},block:N,"var":function(a){return"var "+s(I(a,O))+";"},"const":function(a){return"const "+s(I(a,O))+";"},"try":function(a,b,c){var d=["try",N(a)];return b&&d.push("catch","("+b[0]+")",N(b[1])),c&&d.push("finally",N(c)),r(d)},"throw":function(a){return r(["throw",C(a)])+";"},"new":function(a,b){return b=b.length>0?"("+s(I(b,function(a){return t(a,"seq")}))+")":"",r(["new",t(a,"seq","binary","conditional","assign",function(a){var b=g(),c={};try{b.with_walkers({call:function(){throw c},"function":function(){return this}},function(){b.walk(a)})}catch(d){if(d===c)return!0;throw d}})+b])},"switch":function(a,b){return r(["switch","("+C(a)+")",M(b)])},"break":function(a){var b="break";return a!=null&&(b+=" "+n(a)),b+";"},"continue":function(a){var b="continue";return a!=null&&(b+=" "+n(a)),b+";"},conditional:function(a,b,c){return r([t(a,"assign","seq","conditional"),"?",t(b,"seq"),":",t(c,"seq")])},assign:function(a,b,c){return a&&a!==!0?a+="=":a="=",r([C(b),a,t(c,"seq")])},dot:function(a){var b=C(a),c=1;a[0]=="num"?/\./.test(a[1])||(b+="."):v(a)&&(b="("+b+")");while(c<arguments.length)b+="."+n(arguments[c++]);return b},call:function(a,b){var c=C(a);return c.charAt(0)!="("&&v(a)&&(c="("+c+")"),c+"("+s(I(b,function(a){return t(a,"seq")}))+")"},"function":J,defun:J,"if":function(a,b,c){var d=["if","("+C(a)+")",c?D(b):C(b)];return c&&d.push("else",C(c)),r(d)},"for":function(a,b,c,d){var e=["for"];a=(a!=null?C(a):"").replace(/;*\s*$/,";"+l),b=(b!=null?C(b):"").replace(/;*\s*$/,";"+l),c=(c!=null?C(c):"").replace(/;*\s*$/,"");var f=a+b+c;return f=="; ; "&&(f=";;"),e.push("("+f+")",C(d)),r(e)},"for-in":function(a,b,c,d){return r(["for","("+(a?C(a).replace(/;+$/,""):C(b)),"in",C(c)+")",C(d)])},"while":function(a,b){return r(["while","("+C(a)+")",C(b)])},"do":function(a,b){return r(["do",C(b),"while","("+C(a)+")"])+";"},"return":function(a){var b=["return"];return a!=null&&b.push(C(a)),r(b)+";"},binary:function(a,b,c){var f=C(b),g=C(c);if(d(b[0],["assign","conditional","seq"])||b[0]=="binary"&&e[a]>e[b[1]]||b[0]=="function"&&v(this))f="("+f+")";return d(c[0],["assign","conditional","seq"])||c[0]=="binary"&&e[a]>=e[c[1]]&&(c[1]!=a||!d(a,["&&","||","*"]))?g="("+g+")":!i&&h.inline_script&&(a=="<"||a=="<<")&&c[0]=="regexp"&&/^script/i.test(c[1])&&(g=" "+g),r([f,a,g])},"unary-prefix":function(a,c){var d=C(c);return c[0]=="num"||c[0]=="unary-prefix"&&!H(f,a+c[1])||!v(c)||(d="("+d+")"),a+(b.is_alphanumeric_char(a.charAt(0))?" ":"")+d},"unary-postfix":function(a,b){var c=C(b);return b[0]=="num"||b[0]=="unary-postfix"&&!H(f,a+b[1])||!v(b)||(c="("+c+")"),c+a},sub:function(a,b){var c=C(a);return v(a)&&(c="("+c+")"),c+"["+C(b)+"]"},object:function(a){var b=v(this);if(a.length==0)return b?"({})":"{}";var c="{"+k+p(function(){return I(a,function(a){if(a.length==3)return o(J(a[0],a[1][2],a[1][3],a[2],!0));var b=a[0],c=t(a[1],"seq");return h.quote_keys?b=m(b):(typeof b=="number"||!i&&+b+""==b)&&parseFloat(b)>=0?b=w(+b):G(b)||(b=m(b)),o(r(i&&h.space_colon?[b,":",c]:[b+":",c]))}).join(","+k)})+k+o("}");return b?"("+c+")":c},regexp:function(a,b){return"/"+a+"/"+b},array:function(a){return a.length==0?"[]":r(["[",s(I(a,function(b,c){return!i&&b[0]=="atom"&&b[1]=="undefined"?c===a.length-1?",":"":t(b,"seq")})),"]"])},stat:function(a){return C(a).replace(/;*\s*$/,";")},seq:function(){return s(I(c(arguments),C))},label:function(a,b){return r([n(a),":",C(b)])},"with":function(a,b){return r(["with","("+C(a)+")",C(b)])},atom:function(a){return n(a)}},function(){return C(a)})}function D(a,c){var d=[0];return b.parse(function(){function h(a){return a.pos-f}function i(a){f=a.pos,d.push(f)}function j(){var a=e.apply(this,arguments);a:{if(g&&g.type=="keyword")break a;if(h(a)>c)switch(a.type){case"keyword":case"atom":case"name":case"punc":i(a);break a}}return g=a,a}var e=b.tokenizer(a),f=0,g;return j.context=function(){return e.context.apply(this,arguments)},j}()),d.map(function(b,c){return a.substring(b,d[c+1]||a.length)}).join("\n")}function E(a,b){if(b>0){if(b==1)return a;var c=E(a,b>>1);return c+=c,b&1&&(c+=a),c}return""}function F(a,b){var c={};a===!0&&(a={});for(var d in b)H(b,d)&&(c[d]=a&&H(a,d)?a[d]:b[d]);return c}function G(a){return/^[a-z_$][a-z0-9_$]*$/i.test(a)&&a!="this"&&!H(b.KEYWORDS_ATOM,a)&&!H(b.RESERVED_WORDS,a)&&!H(b.KEYWORDS,a)}function H(a,b){return Object.prototype.hasOwnProperty.call(a,b)}var b=a.parsejs,c=b.slice,d=b.member,e=b.PRECEDENCE,f=b.OPERATORS,i=function(){var a="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_0123456789";return function(b){var c="",d=54;do c+=a.charAt(b%d),b=Math.floor(b/d),d=64;while(b>0);return c}}();h.prototype={has:function(a){for(var b=this;b;b=b.parent)if(H(b.names,a))return b},has_mangled:function(a){for(var b=this;b;b=b.parent)if(H(b.rev_mangled,a))return b},toJSON:function(){return{names:this.names,uses_eval:this.uses_eval,uses_with:this.uses_with}},next_mangled:function(){for(;;){var a=i(++this.cname),b;b=this.has_mangled(a);if(b&&this.refs[b.rev_mangled[a]]===b)continue;b=this.has(a);if(b&&b!==this&&this.refs[a]===b&&!b.has_mangled(a))continue;if(H(this.refs,a)&&this.refs[a]==null)continue;if(!G(a))continue;return a}},set_mangle:function(a,b){return this.rev_mangled[b]=a,this.mangled[a]=b},get_mangled:function(a,b){if(this.uses_eval||this.uses_with)return a;var c=this.has(a);return c?H(c.mangled,a)?c.mangled[a]:b?c.set_mangle(a,c.next_mangled()):a:a},references:function(a){return a&&!this.parent||this.uses_with||this.uses_eval||this.refs[a]},define:function(a,b){if(a!=null){if(b=="var"||!H(this.names,a))this.names[a]=b||"var";return a}}};var l=function(){},s=function(){function b(c){switch(c[0]){case"string":case"num":return c[1];case"name":case"atom":switch(c[1]){case"true":return!0;case"false":return!1;case"null":return null}break;case"unary-prefix":switch(c[1]){case"!":return!b(c[2]);case"typeof":return typeof b(c[2]);case"~":return~b(c[2]);case"-":return-b(c[2]);case"+":return+b(c[2])}break;case"binary":var d=c[2],e=c[3];switch(c[1]){case"&&":return b(d)&&b(e);case"||":return b(d)||b(e);case"|":return b(d)|b(e);case"&":return b(d)&b(e);case"^":return b(d)^b(e);case"+":return b(d)+b(e);case"*":return b(d)*b(e);case"/":return b(d)/b(e);case"%":return b(d)%b(e);case"-":return b(d)-b(e);case"<<":return b(d)<<b(e);case">>":return b(d)>>b(e);case">>>":return b(d)>>>b(e);case"==":return b(d)==b(e);case"===":return b(d)===b(e);case"!=":return b(d)!=b(e);case"!==":return b(d)!==b(e);case"<":return b(d)<b(e);case"<=":return b(d)<=b(e);case">":return b(d)>b(e);case">=":return b(d)>=b(e);case"in":return b(d)in b(e);case"instanceof":return b(d)instanceof b(e)}}throw a}var a={};return function(c,d,e){try{var f=b(c),g;switch(typeof f){case"string":g=["string",f];break;case"number":g=["num",f];break;case"boolean":g=["name",f+""];break;default:if(f===null){g=["atom","null"];break}throw Error("Can't handle constant of type: "+typeof f)}return d.call(c,g,f)}catch(h){if(h===a){if(c[0]!="binary"||c[1]!="==="&&c[1]!="!=="||!(r(c[2])&&r(c[3])||p(c[2])&&p(c[3]))){if(e&&c[0]=="binary"&&(c[1]=="||"||c[1]=="&&"))try{var i=b(c[2]);c=c[1]=="&&"&&(i?c[3]:i)||c[1]=="||"&&(i?i:c[3])||c}catch(j){}}else c[1]=c[1].substr(0,2);return e?e.call(c,c):null}throw h}}}(),y=b.array_to_hash(["name","array","object","string","dot","sub","call","regexp","defun"]),B=b.array_to_hash(["if","while","do","for","for-in","with"]),I;(function(){function b(a){this.v=a}function c(a){this.v=a}I=function(d,e,f){function j(){var j=e.call(f,d[i],i);j instanceof b?(j=j.v,j instanceof c?h.push.apply(h,j.v):h.push(j)):j!=a&&(j instanceof c?g.push.apply(g,j.v):g.push(j))}var g=[],h=[],i;if(d instanceof Array)for(i=0;i<d.length;++i)j();else for(i in d)H(d,i)&&j();return h.concat(g)},I.at_top=function(a){return new b(a)},I.splice=function(a){return new c(a)};var a=I.skip={}})();var J={};(function(a){a.ast_walker=g,a.ast_mangle=k,a.ast_squeeze=x,a.ast_lift_variables=w,a.gen_code=C,a.ast_add_scope=j,a.set_logger=function(a){l=a},a.make_string=z,a.split_lines=D,a.MAP=I})(J),a.process=J}(this),function(a){function j(a){function h(a,b){var c=e,d;return e=a,d=b(),e=c,d}function i(a,b,c){return[this[0],a,b,h(c.scope,f(g,c,d))]}var b=c.ast_walker(),d=b.walk,e;return b.with_walkers({toplevel:function(a){return[this[0],h(this.scope,f(g,a,d))]},"function":i,defun:i,"new":function(a,b){if(a[0]=="name"){if(a[1]=="Array"&&!e.has("Array"))return b.length!=1?["array",b]:d(["call",["name","Array"],b]);if(a[1]=="Object"&&!e.has("Object"))return b.length?d(["call",["name","Object"],b]):["object",[]];if((a[1]=="RegExp"||a[1]=="Function"||a[1]=="Error")&&!e.has(a[1]))return d(["call",["name",a[1]],b])}},call:function(a,b){if(a[0]=="dot"&&a[2]=="toString"&&b.length==0)return["binary","+",a[1],["string",""]];if(a[0]=="name"){if(a[1]=="Array"&&b.length!=1&&!e.has("Array"))return["array",b];if(a[1]=="Object"&&!b.length&&!e.has("Object"))return["object",[]];if(a[1]=="String"&&!e.has("String"))return["binary","+",b[0],["string",""]]}}},function(){return d(c.ast_add_scope(a))})}var b=a.parsejs,c=a.process,d=b.slice,e=b.member,f=b.curry,g=c.MAP,h=b.PRECEDENCE,i=b.OPERATORS,k={};(function(a){a.ast_squeeze_more=j})(k),a.process.ast_squeeze_more=k.ast_squeeze_more}(this),function(a){a.uglify=function(b,c){function k(a){var b="";for(var c=0;c<a.length;++c){var d=a[c];d.type=="comment1"?b+="//"+d.value+"\n":b+="/*"+d.value+"*/"}return b}function l(a){var b="";if(g.show_copyright){var c=[],d=e.tokenizer(a,!1),h;h=d();var i=null;while(/^comment/.test(h.type)&&(!i||i==h.type))c.push(h),i=h.type,h=d();b+=k(c)}var j=m("parse",function(){return e.parse(a)});return g.mangle&&(j=m("mangle",function(){return f.ast_mangle(j,g.mangle_toplevel)})),g.squeeze&&(j=m("squeeze",function(){return j=f.ast_squeeze(j,{make_seqs:g.make_seqs,dead_code:g.dead_code,extra:g.extra}),g.unsafe&&(j=f.ast_squeeze_more(j)),j})),g.ast?sys.inspect(j,null,null):(b+=m("generate",function(){return f.gen_code(j,g.beautify&&g.beautify_options)}),!g.beautify&&g.max_line_length&&(b=m("split",function(){return f.split_lines(b,g.max_line_length)})),b)}function m(a,b){if(!g.verbose)return b();var c=(new Date).getTime();try{return b()}catch(d){}}var d={parser:a.parsejs,uglify:a.process},e=d.parser,f=d.uglify;f.set_logger(function(a){});var g={ast:!1,mangle:!0,mangle_toplevel:!1,squeeze:!0,make_seqs:!0,dead_code:!0,beautify:!1,verbose:!1,show_copyright:!0,out_same_file:!1,max_line_length:32768,extra:!1,unsafe:!1,beautify_options:{indent_level:4,indent_start:0,quote_keys:!1,space_colon:!1},output:!0},h=c,i;a:while(h.length>0){var j=h.shift();switch(j){case"-b":case"--beautify":g.beautify=!0;break;case"-i":case"--indent":g.beautify_options.indent_level=h.shift();break;case"-q":case"--quote-keys":g.beautify_options.quote_keys=!0;break;case"-mt":case"--mangle-toplevel":g.mangle_toplevel=!0;break;case"--no-mangle":case"-nm":g.mangle=!1;break;case"--no-squeeze":case"-ns":g.squeeze=!1;break;case"--no-seqs":g.make_seqs=!1;break;case"--no-dead-code":g.dead_code=!1;break;case"--no-copyright":case"-nc":g.show_copyright=!1;break;case"-o":case"--output":g.output=h.shift();break;case"--overwrite":g.out_same_file=!0;break;case"-v":case"--verbose":g.verbose=!0;break;case"--ast":g.ast=!0;break;case"--extra":g.extra=!0;break;case"--unsafe":g.unsafe=!0;break;case"--max-line-len":g.max_line_length=h.shift();break;default:i=j;break a}}return l(b)}}(this),jQuery
-(function(a){function c(){var b=window.location.hash;if(b.length>1){b=b.substr(1);var c=b.split("-");a('input[type="checkbox"]').removeAttr("checked");for(var d in c)if(c[d].match(/cssclassprefix/)){var e=c[d].substr(15).replace(/\!/g,"-");a("#cssprefix").val(e)}else c[d]=="dontmin"?a("#dontmin").attr("checked","checked"):a('input[value="'+c[d]+'"]').attr("checked","checked");var f=a("#cssclasses input:checkbox").is(":checked");a("#cssprefixcontainer").toggle(f),a("#generate").click()}}var b=a('script[src*="builderapp"]').data("currentbuildversion");a("a.toggle-group").live("click",function(){var b=a(this).closest(".features"),c=a(b).find(":checkbox");return c.each(function(){var b=a(this),c,d;b.attr("checked",!b.is(":checked"));if(b.is(":checked")){c=Modulizr._dependencies[b.closest("li").attr("id").replace("_","-")];for(d in c)a("#"+c[d]).find("input:checkbox").attr("checked","checked")}else _(Modulizr._dependencies).each(function(c,d){_(c).contains(b.closest("li").attr("id").replace("_","-"))&&a("#"+d).find("input:checkbox").removeAttr("checked")})}),a("#modulizrize").html(""),a("#generatedSource").removeClass("sourceView").val(""),!1}),a("fieldset").not("#group-plugins, #group-extensibility").find("legend.wt").append('<a href="#" class="toggle-group">toggle</a>'),a("li input:checkbox").change(function(){var b=a(this),c,d;if(b.is(":checked")){c=Modulizr._dependencies[b.closest("li").attr("id").replace("_","-")]||Modulizr._dependencies[b.closest("li").attr("id")];for(d in c)a("#"+c[d]).find("input:checkbox").attr("checked","checked")}else _(Modulizr._dependencies).each(function(c,d){(_(c).contains(b.closest("li").attr("id").replace("_","-"))||_(c).contains(b.closest("li").attr("id")))&&a("#"+d).find("input:checkbox").removeAttr("checked")});a("#modulizrize").html(""),a("#generatedSource").removeClass("sourceView").val("")}),a("#cssclasses input:checkbox").change(function(){var b=a(this).is(":checked");a("#cssprefixcontainer").toggle(b)}),a("#printshiv input:checkbox").change(function(){a(this).is(":checked")&&a("#shiv input:checkbox").removeAttr("checked")}),a("#shiv input:checkbox").change(function(){a(this).is(":checked")&&a("#printshiv input:checkbox").removeAttr("checked")}),a("#dontmin").change(function(){a("#generate").click()}),a("#generate").find("span").remove().end().click(function(){function g(a){return a.replace("return a.history&&history.pushState","return !!(a.history&&history.pushState)")}function h(f){f=";"+f+";";var g;if(a("#cssclasses input").is(":checked")&&a.trim(a("#cssprefix").val())){g=a("#cssprefix").val().replace(/\s+/g,"");var h=f.match(/["']\ js\ ["']\s*\+\s*([a-zA-Z]+).join\(["'] ["']\)/);h&&h.length>1&&(f=f.replace(/["']\ js\ ["']\s*\+\s*([a-zA-Z]+).join\(["'] ["']\)/,'" '+g+"js "+g+'"+'+h[1]+'.join(" '+g+'")'));var i=f.match(/className\s*\+=\s*["']\s['"]/);i&&i.length&&(f=f.replace(/className\s*\+=\s*["']\s['"]/,'className+=" '+g+'"'))}return e&&(d&&c.push("load"),f="/* Modernizr "+b+" (Custom Build) | MIT & BSD\n * Build: http://modernizr.com/download/#-"+_(c).map(function(a){return a.replace("-","_")}).join("-")+(g?"-cssclassprefix:"+g.replace(/\-/g,"!"):"")+"\n */\n"+f),f}function i(b){var d="";a("#cssclasses input").is(":checked")&&a.trim(a("#cssprefix").val())&&(d="-cssclassprefix:"+a("#cssprefix").val().replace(/\s+/g,"").replace(/\-/g,"!")),window.location="#-"+_(c).map(function(a){return a.replace("-","_")}).join("-")+d,a("#generatedSource").addClass("sourceView").val(b)}function j(c,d){var e=c+(d||"");a("#dontmin").is(":checked")||(e=uglify(e,["--extra","--unsafe"])),window._gaq&&_gaq.push(["_trackPageview","/build/"+[].slice.call(a("ul li input:checked").map(function(b,c){return a(this).closest("li")[0].id||undefined}),0).join("^")]),window.GoSquared&&window.GoSquared.DefaultTracker&&window.GoSquared.DefaultTracker.TrackView&&GoSquared.DefaultTracker.TrackView("/build/"+b+"/","Download: "+b),e=g(h(e)),i(e),window.URL=window.webkitURL||window.URL,window.BlobBuilder=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder;var f=document.querySelector(".btn2"),j=document.querySelector("#generatedSource"),k="modernizr.custom."+(+(new Date)+"").substr(8),l=document.querySelector("#saveasbro");f.style.display="none";if(Modernizr.download&&Modernizr.bloburls&&Modernizr.blobbuilder){var m=new BlobBuilder;m.append(j.value),f.download=k+".js",f.href=window.URL.createObjectURL(m.getBlob("application/octet-stream")),f.style.display="inline-block",f.onclick=function(a){setTimeout(function(){window.URL.revokeObjectURL(f.href)},1500)}}else l.contentWindow.postMessage(JSON.stringify({name:k,data:j.value,formdata:Modernizr.formdata}),"http://saveasbro.com"),window.onmessage=function(a){a=a||window.event;var b=a.origin||a.domain||a.uri;if(b!=="http://saveasbro.com")return;f.href="http://saveasbro.com/download/"+a.data,f.style.display="inline-block"};a("#buildArea").fadeIn()}function k(b,c){function f(a){e+=a;if(--d)return;j(b,e)}var d=0,e=c,g=a("#community-feature-detects input:checked");d=g.length,d?g.each(function(){a.ajax({dataType:"text",cache:!1,type:"GET",url:"/i/js/modernizr-git/feature-detects/"+this.value.replace(/_/g,"-")+".js",success:function(a){f(a)}})}):j(b,c)}var c=[],d=a("#load input:checked").length,e=!0;if(!Modernizr.download){var f=document.createElement("iframe");f.src="http://saveasbro.com/",f.setAttribute("style","position: absolute; visibility: hidden; left: -999em;"),f.id="saveasbro",document.body.appendChild(f)}return a(".features input:checked").each(function(){this.value!=="load"&&this.value!=="selectioncomment"&&c.push(this.value.replace("_","-"))}),a.ajax({dataType:"text",cache:!1,type:"GET",url:"/downloads/modernizr-latest.js",success:function(b){function g(a,b){f[a]=b,e&&k(d,f.printshiv+f.load),e=!0}var d=Modulizr.ize(b,[].slice.call(c,0),function(){}),e,f={};a("#load input:checked").length?a.ajax({dataType:"text",cache:!1,type:"GET",url:"/i/js/modernizr.load.1.5.4.js",success:function(a){g("load",a)}}):g("load",""),a("#printshiv input:checked").length?a.ajax({dataType:"text",cache:!1,type:"GET",url:"/i/js/html5shiv-printshiv-3.6.js",success:function(a){g("printshiv",a)}}):g("printshiv","")}}),!1}),c()}),function(a,b){var c=b.fn,d,e=Object.prototype.toString.call(window.opera)=="[object Opera]",f=function(a){var b=a.createElement("details"),c,d,e;return"open"in b?(d=a.body||function(){var b=a.documentElement;return c=!0,b.insertBefore(a.createElement("body"),b.firstElementChild||b.firstChild)}(),b.innerHTML="<summary>a</summary>b",b.style.display="block",d.appendChild(b),e=b.offsetHeight,b.open=!0,e=e!=b.offsetHeight,d.removeChild(b),c&&d.parentNode.removeChild(d),e):!1}(a),g=function(a,b,c,d){var e=typeof a.attr("open")=="string",f=e&&d||!e&&!d;f?(a.removeClass("open").prop("open",!1).triggerHandler("close.details"),b.attr("aria-expanded",!1),c.hide()):(a.addClass("open").prop("open",!0).triggerHandler("open.details"),b.attr("aria-expanded",!0),c.show())};c.noSelect=function(){var a="none";return this.bind("selectstart dragstart mousedown",function(){return!1}).css({MozUserSelect:a,msUserSelect:a,webkitUserSelect:a,userSelect:a})},f?(d=c.details=function(){return this.each(function(){var a=b(this),c=b("summary",a);c.attr({role:"button","aria-expanded":a.prop("open")}).on("click",function(){var b=a.prop("open");c.attr("aria-expanded",!b),a.triggerHandler((b?"close":"open")+".details")})})},d.support=f):(d=c.details=function(){return this.each(function(){var a=b(this),c=b("summary",a),d=a.children(":not(summary)"),f=a.contents(":not(summary)");c.length||(c=b("<summary>").text("Details").prependTo(a)),d.length!=f.length&&(f.filter(function(){return this.nodeType==3&&/[^ \t\n\f\r]/.test(this.data)}).wrap("<span>"),d=a.children(":not(summary)")),g(a,c,d),c.attr("role","button").noSelect().prop("tabIndex",0).on("click",function(){c.focus(),g(a,c,d,!0)}).keyup(function(a){if(32==a.keyCode&&!e||13==a.keyCode)a.preventDefault(),c.click()})})},d.support=f)}(document,jQuery),$(function(){$("html").addClass($.fn.details.support?"details":"no-details"),$("details").details()});
+(function(a){function c(){var b=window.location.hash;if(b.length>1){b=b.substr(1);var c=b.split("-");a('input[type="checkbox"]').removeAttr("checked");for(var d in c)if(c[d].match(/cssclassprefix/)){var e=c[d].substr(15).replace(/\!/g,"-");a("#cssprefix").val(e)}else c[d]=="dontmin"?a("#dontmin").attr("checked","checked"):a('input[value="'+c[d]+'"]').attr("checked","checked");var f=a("#cssclasses input:checkbox").is(":checked");a("#cssprefixcontainer").toggle(f),a("#generate").click()}}var b=a('script[src*="builderapp"]').data("currentbuildversion");a("a.toggle-group").live("click",function(){var b=a(this).closest(".features"),c=a(b).find(":checkbox");return c.each(function(){var b=a(this),c,d;b.attr("checked",!b.is(":checked"));if(b.is(":checked")){c=Modulizr._dependencies[b.closest("li").attr("id").replace("_","-")];for(d in c)a("#"+c[d]).find("input:checkbox").attr("checked","checked")}else _(Modulizr._dependencies).each(function(c,d){_(c).contains(b.closest("li").attr("id").replace("_","-"))&&a("#"+d).find("input:checkbox").removeAttr("checked")})}),a("#modulizrize").html(""),a("#generatedSource").removeClass("sourceView").val(""),!1}),a("fieldset").not("#group-plugins, #group-extensibility").find("legend.wt").append('<a href="#" class="toggle-group">toggle</a>'),a("li input:checkbox").change(function(){var b=a(this),c,d;if(b.is(":checked")){c=Modulizr._dependencies[b.closest("li").attr("id").replace("_","-")]||Modulizr._dependencies[b.closest("li").attr("id")];for(d in c)a("#"+c[d]).find("input:checkbox").attr("checked","checked")}else _(Modulizr._dependencies).each(function(c,d){(_(c).contains(b.closest("li").attr("id").replace("_","-"))||_(c).contains(b.closest("li").attr("id")))&&a("#"+d).find("input:checkbox").removeAttr("checked")});a("#modulizrize").html(""),a("#generatedSource").removeClass("sourceView").val("")}),a("#cssclasses input:checkbox").change(function(){var b=a(this).is(":checked");a("#cssprefixcontainer").toggle(b)}),a("#printshiv input:checkbox").change(function(){a(this).is(":checked")&&a("#shiv input:checkbox").removeAttr("checked")}),a("#shiv input:checkbox").change(function(){a(this).is(":checked")&&a("#printshiv input:checkbox").removeAttr("checked")}),a("#dontmin").change(function(){a("#generate").click()}),a("#generate").find("span").remove().end().click(function(){function g(a){return a.replace("return a.history&&history.pushState","return !!(a.history&&history.pushState)")}function h(f){f=";"+f+";";var g;if(a("#cssclasses input").is(":checked")&&a.trim(a("#cssprefix").val())){g=a("#cssprefix").val().replace(/\s+/g,"");var h=f.match(/["']\ js\ ["']\s*\+\s*([a-zA-Z]+).join\(["'] ["']\)/);h&&h.length>1&&(f=f.replace(/["']\ js\ ["']\s*\+\s*([a-zA-Z]+).join\(["'] ["']\)/,'" '+g+"js "+g+'"+'+h[1]+'.join(" '+g+'")'));var i=f.match(/className\s*\+=\s*["']\s['"]/);i&&i.length&&(f=f.replace(/className\s*\+=\s*["']\s['"]/,'className+=" '+g+'"'))}return e&&(d&&c.push("load"),f="/* Modernizr "+b+" (Custom Build) | MIT & BSD\n * Build: http://modernizr.com/download/#-"+_(c).map(function(a){return a.replace("-","_")}).join("-")+(g?"-cssclassprefix:"+g.replace(/\-/g,"!"):"")+"\n */\n"+f),f}function i(b){var d="";a("#cssclasses input").is(":checked")&&a.trim(a("#cssprefix").val())&&(d="-cssclassprefix:"+a("#cssprefix").val().replace(/\s+/g,"").replace(/\-/g,"!")),window.location="#-"+_(c).map(function(a){return a.replace("-","_")}).join("-")+d,a("#generatedSource").addClass("sourceView").val(b)}function j(c,d){var e=c+(d||"");a("#dontmin").is(":checked")||(e=uglify(e,["--extra","--unsafe"])),window._gaq&&_gaq.push(["_trackPageview","/build/"+[].slice.call(a("ul li input:checked").map(function(b,c){return a(this).closest("li")[0].id||undefined}),0).join("^")]),window.GoSquared&&window.GoSquared.DefaultTracker&&window.GoSquared.DefaultTracker.TrackView&&GoSquared.DefaultTracker.TrackView("/build/"+b+"/","Download: "+b),e=g(h(e)),i(e),window.URL=window.webkitURL||window.URL,window.BlobBuilder=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder;var f=document.querySelector(".btn2"),j=document.querySelector("#generatedSource"),k="modernizr.custom."+(+(new Date)+"").substr(8),l=document.querySelector("#saveasbro");f.style.display="none";if(Modernizr.download&&Modernizr.bloburls&&Modernizr.blobbuilder){var m=new BlobBuilder;m.append(j.value),f.download=k+".js",f.href=window.URL.createObjectURL(m.getBlob("application/octet-stream")),f.style.display="inline-block",f.onclick=function(a){setTimeout(function(){window.URL.revokeObjectURL(f.href)},1500)}}else l.contentWindow.postMessage(JSON.stringify({name:k,data:j.value,formdata:Modernizr.formdata}),"http://saveasbro.com"),window.onmessage=function(a){a=a||window.event;var b=a.origin||a.domain||a.uri;if(b!=="http://saveasbro.com")return;f.href="http://saveasbro.com/download/"+a.data,f.style.display="inline-block"};a("#buildArea").fadeIn()}function k(b,c){function f(a){e+=a;if(--d)return;j(b,e)}var d=0,e=c,g=a("#community-feature-detects input:checked");d=g.length,d?g.each(function(){a.ajax({dataType:"text",cache:!1,type:"GET",url:"/i/js/modernizr-git/feature-detects/"+this.value.replace(/_/g,"-")+".js",success:function(a){f(a)}})}):j(b,c)}var c=[],d=a("#load input:checked").length,e=!0;if(!Modernizr.download){var f=document.createElement("iframe");f.src="http://saveasbro.com/",f.setAttribute("style","position: absolute; visibility: hidden; left: -999em;"),f.id="saveasbro",document.body.appendChild(f)}return a(".features input:checked").each(function(){this.value!=="load"&&this.value!=="selectioncomment"&&c.push(this.value.replace("_","-"))}),a.ajax({dataType:"text",cache:!1,type:"GET",url:"/downloads/modernizr-"+b+".js",success:function(b){function g(a,b){f[a]=b,e&&k(d,f.printshiv+f.load),e=!0}var d=Modulizr.ize(b,[].slice.call(c,0),function(){}),e,f={};a("#load input:checked").length?a.ajax({dataType:"text",cache:!1,type:"GET",url:"/i/js/modernizr.load.1.5.4.js",success:function(a){g("load",a)}}):g("load",""),a("#printshiv input:checked").length?a.ajax({dataType:"text",cache:!1,type:"GET",url:"/i/js/html5shiv-printshiv-3.6.js",success:function(a){g("printshiv",a)}}):g("printshiv","")}}),!1}),c()}),function(a,b){var c=b.fn,d,e=Object.prototype.toString.call(window.opera)=="[object Opera]",f=function(a){var b=a.createElement("details"),c,d,e;return"open"in b?(d=a.body||function(){var b=a.documentElement;return c=!0,b.insertBefore(a.createElement("body"),b.firstElementChild||b.firstChild)}(),b.innerHTML="<summary>a</summary>b",b.style.display="block",d.appendChild(b),e=b.offsetHeight,b.open=!0,e=e!=b.offsetHeight,d.removeChild(b),c&&d.parentNode.removeChild(d),e):!1}(a),g=function(a,b,c,d){var e=typeof a.attr("open")=="string",f=e&&d||!e&&!d;f?(a.removeClass("open").prop("open",!1).triggerHandler("close.details"),b.attr("aria-expanded",!1),c.hide()):(a.addClass("open").prop("open",!0).triggerHandler("open.details"),b.attr("aria-expanded",!0),c.show())};c.noSelect=function(){var a="none";return this.bind("selectstart dragstart mousedown",function(){return!1}).css({MozUserSelect:a,msUserSelect:a,webkitUserSelect:a,userSelect:a})},f?(d=c.details=function(){return this.each(function(){var a=b(this),c=b("summary",a);c.attr({role:"button","aria-expanded":a.prop("open")}).on("click",function(){var b=a.prop("open");c.attr("aria-expanded",!b),a.triggerHandler((b?"close":"open")+".details")})})},d.support=f):(d=c.details=function(){return this.each(function(){var a=b(this),c=b("summary",a),d=a.children(":not(summary)"),f=a.contents(":not(summary)");c.length||(c=b("<summary>").text("Details").prependTo(a)),d.length!=f.length&&(f.filter(function(){return this.nodeType==3&&/[^ \t\n\f\r]/.test(this.data)}).wrap("<span>"),d=a.children(":not(summary)")),g(a,c,d),c.attr("role","button").noSelect().prop("tabIndex",0).on("click",function(){c.focus(),g(a,c,d,!0)}).keyup(function(a){if(32==a.keyCode&&!e||13==a.keyCode)a.preventDefault(),c.click()})})},d.support=f)}(document,jQuery),$(function(){$("html").addClass($.fn.details.support?"details":"no-details"),$("details").details()});
Please sign in to comment.
Something went wrong with that request. Please try again.