x((v-d)/a))&&k("overflow"),d+=u*a,!(u<(l=s<=g?y:g+_<=s?_:s-g));s+=b)a>x(v/(c=b-l))&&k("overflow"),a*=c;g=B(d-o,t=p.length+1,0==o),x(d/t)>v-m&&k("overflow"),m+=x(d/t),d%=t,p.splice(d++,0,m)}return S(p)}function g(e){var t,n,r,i,o,a,s,u,l,c,f,p,h,d,m,g=[];for(p=(e=O(e)).length,t=E,o=w,a=n=0;ax((v-n)/(h=r+1))&&k("overflow"),n+=(s-t)*h,t=s,a=0;a
v&&k("overflow"),f==t){for(u=n,l=b;!(u<(c=l<=o?y:o+_<=l?_:l-o));l+=b)m=u-c,d=b-c,g.push(C(D(c+m%d,0))),u=x(m/d);g.push(C(D(u,0))),o=B(n,h,r==i),n=0,++r}++n,++t}return g.join("")}if(i={version:"1.4.1",ucs2:{decode:O,encode:S},decode:m,encode:g,toASCII:function(e){return d(e,function(e){return l.test(e)?"xn--"+g(e):e})},toUnicode:function(e){return d(e,function(e){return u.test(e)?m(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return i});else if(t&&n)if(R.exports==t)n.exports=i;else for(o in i)i.hasOwnProperty(o)&&(t[o]=i[o]);else e.punycode=i}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],115:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){t=t||"&",n=n||"=";var i={};if("string"!=typeof e||0===e.length)return i;var o=/\+/g;e=e.split(t);var a=1e3;r&&"number"==typeof r.maxKeys&&(a=r.maxKeys);var s,u,l=e.length;0t.highWaterMark&&(t.highWaterMark=(m<=(n=e)?n=m:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),n)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0));var n}function E(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(_("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?v.nextTick(A,e):A(e))}function A(e){_("emit readable"),e.emit("readable"),S(e)}function x(e,t){t.readingMore||(t.readingMore=!0,v.nextTick(C,e,t))}function C(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;eo.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n).data=o.slice(a);break}++r}return t.length-=r,i}(e,t):function(e,t){var n=l.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0===(e-=a)){a===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r).data=o.slice(a);break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function B(e){var t=e._readableState;if(0=t.highWaterMark||t.ended))return _("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?B(this):E(this),null;if(0===(e=w(e,t))&&t.ended)return 0===t.length&&B(this),null;var r,i=t.needReadable;return _("need readable",i),(0===t.length||t.length-e>>0),o=this.head,a=0;o;)t=o.data,n=i,r=a,t.copy(n,r),a+=o.data.length,o=o.next;return i},e}(),r&&r.inspect&&r.inspect.custom&&(t.exports.prototype[r.inspect.custom]=function(){var e=r.inspect({length:this.length});return this.constructor.name+" "+e})},{"safe-buffer":144,util:2}],124:[function(e,t,n){"use strict";var o=e("process-nextick-args");function a(e,t){e.emit("error",t)}t.exports={destroy:function(e,t){var n=this,r=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return r||i?t?t(e):!e||this._writableState&&this._writableState.errorEmitted||o.nextTick(a,this,e):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?(o.nextTick(a,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":112}],125:[function(e,t,n){t.exports=e("events").EventEmitter},{events:102}],126:[function(e,t,n){(((n=t.exports=e("./lib/_stream_readable.js")).Stream=n).Readable=n).Writable=e("./lib/_stream_writable.js"),n.Duplex=e("./lib/_stream_duplex.js"),n.Transform=e("./lib/_stream_transform.js"),n.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":118,"./lib/_stream_passthrough.js":119,"./lib/_stream_readable.js":120,"./lib/_stream_transform.js":121,"./lib/_stream_writable.js":122}],127:[function(e,t,n){"use strict";t.exports={ABSOLUTE:"absolute",PATH_RELATIVE:"pathRelative",ROOT_RELATIVE:"rootRelative",SHORTEST:"shortest"}},{}],128:[function(e,t,n){"use strict";var m=e("./constants");function g(e,t){var n=t.removeEmptyQueries&&e.extra.relation.minimumPort;return e.query.string[n?"stripped":"full"]}function v(e,t){return!e.extra.relation.minimumQuery||t.output===m.ABSOLUTE||t.output===m.ROOT_RELATIVE}function b(e,t){var n=t.removeDirectoryIndexes&&e.extra.resourceIsIndex,r=e.extra.relation.minimumResource&&t.output!==m.ABSOLUTE&&t.output!==m.ROOT_RELATIVE;return!!e.resource&&!r&&!n}t.exports=function(e,t){var n,r,i,o,a,s,u,l,c,f,p,h,d="";return d+=(r=t,i="",((n=e).extra.relation.maximumHost||r.output===m.ABSOLUTE)&&(n.extra.relation.minimumScheme&&r.schemeRelative&&r.output!==m.ABSOLUTE?i+="//":i+=n.scheme+"://"),i),d+=(a=t,!(o=e).auth||a.removeAuth||!o.extra.relation.maximumHost&&a.output!==m.ABSOLUTE?"":o.auth+"@"),d+=(u=t,(s=e).host.full&&(s.extra.relation.maximumAuth||u.output===m.ABSOLUTE)?s.host.full:""),d+=(l=e).port&&!l.extra.portIsDefault&&l.extra.relation.maximumHost?":"+l.port:"",d+=function(e,t){var n="",r=e.path.absolute.string,i=e.path.relative.string,o=b(e,t);if(e.extra.relation.maximumHost||t.output===m.ABSOLUTE||t.output===m.ROOT_RELATIVE)n=r;else if(i.length<=r.length&&t.output===m.SHORTEST||t.output===m.PATH_RELATIVE){if(""===(n=i)){var a=v(e,t)&&!!g(e,t);e.extra.relation.maximumPath&&!o?n="./":!e.extra.relation.overridesQuery||o||a||(n="./")}}else n=r;return"/"!==n||o||!t.removeRootTrailingSlash||e.extra.relation.minimumPort&&t.output!==m.ABSOLUTE||(n=""),n}(e,t),d+=b(c=e,t)?c.resource:"",d+=v(f=e,p=t)?g(f,p):"",d+=(h=e).hash?h.hash:""}},{"./constants":127}],129:[function(e,t,n){"use strict";var r=e("./constants"),i=e("./format"),o=e("./options"),a=e("./util/object"),s=e("./parse"),u=e("./relate");function l(e,t){this.options=o(t,{defaultPorts:{ftp:21,http:80,https:443},directoryIndexes:["index.html"],ignore_www:!1,output:l.SHORTEST,rejectedSchemes:["data","javascript","mailto"],removeAuth:!1,removeDirectoryIndexes:!0,removeEmptyQueries:!1,removeRootTrailingSlash:!0,schemeRelative:!0,site:void 0,slashesDenoteHost:!0}),this.from=s.from(e,this.options,null)}l.prototype.relate=function(e,t,n){if(a.isPlainObject(t)?(n=t,t=e,e=null):t||(t=e,e=null),n=o(n,this.options),e=e||n.site,!(e=s.from(e,n,this.from))||!e.href)throw new Error("from value not defined.");if(e.extra.hrefInfo.minimumPathOnly)throw new Error("from value supplied is not absolute: "+e.href);return!1===(t=s.to(t,n)).valid?t.href:(t=u(e,t,n),t=i(t,n))},l.relate=function(e,t,n){return(new l).relate(e,t,n)},a.shallowMerge(l,r),t.exports=l},{"./constants":127,"./format":128,"./options":130,"./parse":133,"./relate":140,"./util/object":142}],130:[function(e,t,n){"use strict";var a=e("./util/object");t.exports=function(e,t){if(a.isPlainObject(e)){var n={};for(var r in t)t.hasOwnProperty(r)&&(void 0!==e[r]?n[r]=(i=e[r],(o=t[r])instanceof Object&&i instanceof Object?o instanceof Array&&i instanceof Array?o.concat(i):a.shallowMerge(i,o):i):n[r]=t[r]);return n}var i,o;return t}},{"./util/object":142}],131:[function(e,t,n){"use strict";t.exports=function(e,t){if(t.ignore_www){var n=e.host.full;if(n){var r=n;0===n.indexOf("www.")&&(r=n.substr(4)),e.host.stripped=r}}}},{}],132:[function(e,t,n){"use strict";t.exports=function(e){var t=!(e.scheme||e.auth||e.host.full||e.port),n=t&&!e.path.absolute.string,r=n&&!e.resource,i=r&&!e.query.string.full.length,o=i&&!e.hash;e.extra.hrefInfo.minimumPathOnly=t,e.extra.hrefInfo.minimumResourceOnly=n,e.extra.hrefInfo.minimumQueryOnly=r,e.extra.hrefInfo.minimumHashOnly=i,e.extra.hrefInfo.empty=o}},{}],133:[function(e,t,n){"use strict";var r=e("./hrefInfo"),i=e("./host"),o=e("./path"),a=e("./port"),s=e("./query"),u=e("./urlstring"),l=e("../util/path");function c(e,t){var n=u(e,t);return!1===n.valid||(i(n,t),a(n,t),o(n,t),s(n,t),r(n)),n}t.exports={from:function(e,t,n){if(e){var r=c(e,t),i=l.resolveDotSegments(r.path.absolute.array);return r.path.absolute.array=i,r.path.absolute.string="/"+l.join(i),r}return n},to:c}},{"../util/path":143,"./host":131,"./hrefInfo":132,"./path":134,"./port":135,"./query":136,"./urlstring":137}],134:[function(e,t,n){"use strict";function s(e){if("/"!==e){var t=[];return e.split("/").forEach(function(e){""!==e&&t.push(e)}),t}return[]}t.exports=function(e,t){var n,r,i=e.path.absolute.string;if(i){var o=i.lastIndexOf("/");if(-1>>=5)&&(t|=32),r+=c.encode(t),0>1,1==(1&o)?-a:a),n.rest=t}},{"./base64":147}],147:[function(e,t,n){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");n.encode=function(e){if(0<=e&&e=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},p.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=y.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var n;if(null!=this.sourceRoot&&(n=y.urlParse(this.sourceRoot))){var r=e.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(r))return this.sourcesContent[this._sources.indexOf(r)];if((!n.path||"/"==n.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},p.prototype.generatedPositionFor=function(e){var t=y.getArg(e,"source");if(null!=this.sourceRoot&&(t=y.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};var n={source:t=this._sources.indexOf(t),originalLine:y.getArg(e,"line"),originalColumn:y.getArg(e,"column")},r=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",y.compareByOriginalPositions,y.getArg(e,"bias",a.GREATEST_LOWER_BOUND));if(0<=r){var i=this._originalMappings[r];if(i.source===n.source)return{line:y.getArg(i,"generatedLine",null),column:y.getArg(i,"generatedColumn",null),lastColumn:y.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},n.BasicSourceMapConsumer=p,(r.prototype=Object.create(a.prototype)).constructor=a,r.prototype._version=3,Object.defineProperty(r.prototype,"sources",{get:function(){for(var e=[],t=0;tt._pos){var r=n.substr(t._pos);if("x-user-defined"===t._charset){for(var i=new l(r.length),o=0;ot._pos&&(t.push(new l(new Uint8Array(a.result.slice(t._pos)))),t._pos=a.result.byteLength)},a.onload=function(){t.push(null)},a.readAsArrayBuffer(n)}t._xhr.readyState===p.DONE&&"ms-stream"!==t._mode&&t.push(null)}}).call(this,n("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer)},{"./capability":157,_process:113,buffer:4,inherits:106,"readable-stream":126}],160:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:return this.write=p,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:-1}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�".repeat(n);if(1",'"',"`"," ","\r","\n","\t"]),N=["'"].concat(i),P=["%","/","?",";","#"].concat(N),q=["/","?","#"],z=/^[+a-z0-9A-Z_-]{0,63}$/,I=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,j={javascript:!0,"javascript:":!0},V={javascript:!0,"javascript:":!0},$={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},H=e("querystring");function o(e,t,n){if(e&&L.isObject(e)&&e instanceof O)return e;var r=new O;return r.parse(e,t,n),r}O.prototype.parse=function(e,t,n){if(!L.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),i=-1!==r&&r/=]+)/,s=[/=/],u=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^ \t\n\f\r"'`=<>]+)/.source],l="((?:"+(o=e("ncname").source.slice(1,-1))+"\\:)?"+o+")",w=new RegExp("^<"+l),E=/^\s*(\/?)>/,A=new RegExp("^<\\/"+l+"[^>]*>"),x=/^]+>/i,C=!1;"x".replace(/x(.)?/g,function(e,t){C=""===t});var k=i("area,base,basefont,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),O=i("a,abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,noscript,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,svg,textarea,tt,u,var"),S=i("colgroup,dd,dt,li,option,p,td,tfoot,th,thead,tr,source"),D=i("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),B=i("script,style"),T=i("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,ol,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track,ul"),R={};function F(e){var t,n=a.source+"(?:\\s*("+(t=e,s.concat(t.customAttrAssign||[]).map(function(e){return"(?:"+e.source+")"}).join("|"))+")[ \\t\\n\\f\\r]*(?:"+u.join("|")+"))?";if(e.customAttrSurround){for(var r=[],i=e.customAttrSurround.length-1;0<=i;i--)r[i]="(?:("+e.customAttrSurround[i][0].source+")\\s*"+n+"\\s*("+e.customAttrSurround[i][1].source+"))";r.push("(?:"+n+")"),n="(?:"+r.join("|")+")"}return new RegExp("^\\s*"+n)}function c(e,f){for(var o,t,n,r,a=[],s=F(f);e;){if(t=e,o&&B(o)){var i=o.toLowerCase(),u=R[i]||(R[i]=new RegExp("([\\s\\S]*?)"+i+"[^>]*>","i"));e=e.replace(u,function(e,t){return"script"!==i&&"style"!==i&&"noscript"!==i&&(t=t.replace(//g,"$1").replace(//g,"$1")),f.chars&&f.chars(t),""}),_(""+i+">",i)}else{var l,c=e.indexOf("<");if(0===c){if(/^\s*$/,""):e;a.parse.bare_returns=t;var i=v.minify(r,a);return i.error?(o.log(i.error),e):i.code.replace(/;$/,"")}}if(o.minifyCSS||(o.minifyCSS=fe),"function"!=typeof o.minifyCSS){var n=o.minifyCSS;"object"!=typeof n&&(n={}),o.minifyCSS=function(t){t=t.replace(/(url\s*\(\s*)("|'|)(.*?)\2(\s*\))/gi,function(e,t,n,r,i){return t+n+o.minifyURLs(r)+n+i});try{return new p(n).minify(t).styles}catch(e){return o.log(e),t}}}}(b=b||{}),b.collapseWhitespace&&(i=N(i,b,!0,!0));var _,w,a,E,s,A=[],x="",C="",k=[],O=[],S=[],D="",B="",t=Date.now(),o=[],u=[];function l(e){return e.replace(s,function(e,t,n){var r=u[+n];return r[1]+E+n+r[2]})}i=i.replace(/([\s\S]*?)/g,function(e,t){if(!a){a=pe(i);var n=new RegExp("^"+a+"([0-9]+)$");b.ignoreCustomComments?b.ignoreCustomComments.push(n):b.ignoreCustomComments=[n]}var r="\x3c!--"+a+o.length+"--\x3e";return o.push(t),r});var n=b.ignoreCustomFragments.map(function(e){return e.source});if(n.length){var r=new RegExp("\\s*(?:"+n.join("|")+")+\\s*","g");i=i.replace(r,function(e){if(!E){E=pe(i),s=new RegExp("(\\s*)"+E+"([0-9]+)(\\s*)","g");var t=b.minifyCSS;t&&(b.minifyCSS=function(e){return t(l(e))});var n=b.minifyJS;n&&(b.minifyJS=function(e,t){return n(l(e),t)})}var r=E+u.length;return u.push(/^(\s*)[\s\S]*?(\s*)$/.exec(e)),"\t"+r+"\t"})}function T(e,t){return b.canTrimWhitespace(e,t,ue)}function R(){for(var e=A.length-1;0$/);if(i)n=i[1];else if(/>$/.test(r)||(A[e]=z(r,null,t,b)))break}}function L(e){var t=A.length-1;if(1"),i&&!b.includeAutoGeneratedTags&&(R(),D="")},end:function(e,t,n){var r=e.toLowerCase();"svg"===r&&(b=y.pop()),e=b.caseSensitive?e:r,b.collapseWhitespace&&(O.length?e===O[O.length-1]&&O.pop():L("/"+e),S.length&&e===S[S.length-1]&&S.pop());var i=!1;e===C&&(C="",i=!w),b.removeOptionalTags&&(i&&te(D)&&R(),D="",!oe(e)||!B||ie(B)||"p"===B&&Y(e)||F(),B=$(e)?e:""),b.removeEmptyElements&&i&&function(e,t){switch(e){case"textarea":return!1;case"audio":case"script":case"video":if(ae("src",t))return!1;break;case"iframe":if(ae("src",t)||ae("srcdoc",t))return!1;break;case"object":if(ae("data",t))return!1;break;case"applet":if(ae("code",t))return!1}return!0}(e,t)?(R(),B=D=""):(n&&!b.includeAutoGeneratedTags?B="":A.push(""+e+">"),_="/"+e,P(e)?i&&(x+="|"):x="")},chars:function(t,e,n){if(e=""===e?"comment":e,n=""===n?"comment":n,b.decodeEntities&&t&&!he(C)&&(t=d(t)),b.collapseWhitespace){if(!O.length){if("comment"===e){var r=A[A.length-1];if(-1===r.indexOf(a)&&(r||(e=_),1":"--\x3e";e=/^\[if\s[^\]]+]|\[endif]$/.test(e)?r+(n=e,(i=b).processConditionalComments?n.replace(/^(\[if\s[^\]]+]>)([\s\S]*?)(":U(e))},customAttrAssign:b.customAttrAssign,customAttrSurround:b.customAttrSurround}),b.removeOptionalTags&&(te(D)&&R(),B&&!ie(B)&&F()),b.collapseWhitespace&&L("br");var f=function(e,t){var n,r=t.maxLineLength;if(r){for(var i,o=[],a="",s=0,u=e.length;s SymbolDef for all variables/functions defined in this scope",functions:"[Object/S] like `variables`, but only lists function declarations",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"},clone:function(e){var t=this._clone(e);return this.variables&&(t.variables=this.variables.clone()),this.functions&&(t.functions=this.functions.clone()),this.enclosed&&(t.enclosed=this.enclosed.slice()),t}},pe),xe=r("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Object/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(e){var t=this.body,n="(function(exports){'$ORIG';})(typeof "+e+"=='undefined'?("+e+"={}):"+e+");";return n=(n=Yt(n)).transform(new Wt(function(e){if(e instanceof ce&&"$ORIG"==e.value)return ie.splice(t)}))}},Ae),Ce=r("Lambda","name argnames uses_arguments",{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg*] array of function arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array"},_walk:function(r){return r._visit(this,function(){this.name&&this.name._walk(r);for(var e=this.argnames,t=0,n=e.length;t!?|~^")),P=/^0x[0-9a-f]+$/i,q=/^0[0-7]+$/,z=Y(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","||"]),I=Y(e(" \n\r\t\f\v \u2028\u2029 \ufeff")),j=Y(e("\n\r\u2028\u2029")),V=Y(e("[{(,;:")),Bt=Y(e("[]{}(),;:")),u={letter:new 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\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B2\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\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-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\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-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\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-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\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-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\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]"),digit:new RegExp("[\\u0030-\\u0039\\u0660-\\u0669\\u06F0-\\u06F9\\u07C0-\\u07C9\\u0966-\\u096F\\u09E6-\\u09EF\\u0A66-\\u0A6F\\u0AE6-\\u0AEF\\u0B66-\\u0B6F\\u0BE6-\\u0BEF\\u0C66-\\u0C6F\\u0CE6-\\u0CEF\\u0D66-\\u0D6F\\u0DE6-\\u0DEF\\u0E50-\\u0E59\\u0ED0-\\u0ED9\\u0F20-\\u0F29\\u1040-\\u1049\\u1090-\\u1099\\u17E0-\\u17E9\\u1810-\\u1819\\u1946-\\u194F\\u19D0-\\u19D9\\u1A80-\\u1A89\\u1A90-\\u1A99\\u1B50-\\u1B59\\u1BB0-\\u1BB9\\u1C40-\\u1C49\\u1C50-\\u1C59\\uA620-\\uA629\\uA8D0-\\uA8D9\\uA900-\\uA909\\uA9D0-\\uA9D9\\uA9F0-\\uA9F9\\uAA50-\\uAA59\\uABF0-\\uABF9\\uFF10-\\uFF19]"),non_spacing_mark:new 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:new 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:new RegExp("[\\u005F\\u203F\\u2040\\u2054\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFF3F]")};function Tt(e){return 97<=e&&e<=122||65<=e&&e<=90||170<=e&&u.letter.test(String.fromCharCode(e))}function Rt(e){return"string"==typeof e&&(e=e.charCodeAt(0)),55296<=e&&e<=56319}function Ft(e){return"string"==typeof e&&(e=e.charCodeAt(0)),56320<=e&&e<=57343}function Lt(e){return 48<=e&&e<=57}function f(e){return!v(e)&&/^[a-z_$][a-z0-9_$]*$/i.test(e)}function Mt(e){return 36==e||95==e||Tt(e)}function Ut(e){var t,n,r,i=e.charCodeAt(0);return Mt(i)||Lt(i)||8204==i||8205==i||(r=e,u.non_spacing_mark.test(r)||u.space_combining_mark.test(r))||(n=e,u.connector_punctuation.test(n))||(t=i,u.digit.test(String.fromCharCode(t)))}function Nt(e){return/^[a-z_$][a-z0-9_$]*$/i.test(e)}function Pt(e,t,n,r,i){this.message=e,this.filename=t,this.line=n,this.col=r,this.pos=i}function qt(e,t,n,r,i){throw new Pt(e,t,n,r,i)}function zt(e,t,n){return e.type==t&&(null==n||e.value==n)}((Pt.prototype=Object.create(Error.prototype)).constructor=Pt).prototype.name="SyntaxError",t(Pt);var It={};function jt(i,o,a,s){var u={text:i,filename:o,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:!1,regex_allowed:!1,comments_before:[],directives:{},directive_stack:[]};function l(){return u.text.charAt(u.pos)}function c(e,t){var n=u.text.charAt(u.pos++);if(e&&!n)throw It;return j(n)?(u.newline_before=u.newline_before||!t,++u.line,u.col=0,t||"\r"!=n||"\n"!=l()||(++u.pos,n="\n")):++u.col,n}function f(e){for(;0>=","<<=",">>>=","|=","^=","&="]),Kt=function(e,t){for(var n=0;n","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]],{}),Gt=Y(["atom","num","string","regexp","name"]);function Yt(e,u){u=K(u,{bare_returns:!1,expression:!1,filename:null,html5_comments:!0,shebang:!0,strict:!1,toplevel:null},!0);var l={input:"string"==typeof e?jt(e,u.filename,u.html5_comments,u.shebang):e,token:null,prev:null,peeked:null,in_function:0,in_directives:!0,in_loop:0,labels:[]};function c(e,t){return zt(l.token,e,t)}function f(){return l.peeked||(l.peeked=l.input())}function p(){return l.prev=l.token,l.peeked?(l.token=l.peeked,l.peeked=null):l.token=l.input(),l.in_directives=l.in_directives&&("string"==l.token.type||c("punc",";")),l.token}function h(){return l.prev}function d(e,t,n,r){var i=l.input.context();qt(e,i.filename,null!=t?t:i.tokline,null!=n?n:i.tokcol,null!=r?r:i.tokpos)}function n(e,t){d(t,e.line,e.col)}function m(e){null==e&&(e=l.token),n(e,"Unexpected token: "+e.type+" ("+e.value+")")}function g(e,t){if(c(e,t))return p();n(l.token,"Unexpected token "+l.token.type+" «"+l.token.value+"», expected "+e+" «"+t+"»")}function v(e){return g("punc",e)}function b(e){return e.nlb||!oe(e.comments_before,function(e){return!e.nlb})}function y(){return!u.strict&&(c("eof")||c("punc","}")||b(l.token))}function _(e){c("punc",";")?p():e||y()||m()}function w(){v("(");var e=V(!0);return v(")"),e}function t(r){return function(){var e=l.token,t=r.apply(null,arguments),n=h();return t.start=e,t.end=n,t}}function E(){(c("operator","/")||c("operator","/="))&&(l.peeked=null,l.token=l.input(l.token.value.substr(1)))}l.token=p();var A=t(function(e){switch(E(),l.token.type){case"string":if(l.in_directives){var t=f();-1==l.token.raw.indexOf("\\")&&(zt(t,"punc",";")||zt(t,"punc","}")||b(t)||zt(t,"eof"))?l.input.add_directive(l.token.value):l.in_directives=!1}var n=l.in_directives,r=x();return n?new ce(r.body):r;case"num":case"regexp":case"operator":case"atom":return x();case"name":return zt(f(),"punc",":")?function(){var t=U(X);H(function(e){return e.name==t.name},l.labels)&&d("Label "+t.name+" defined twice");v(":"),l.labels.push(t);var e=A();l.labels.pop(),e instanceof ge||t.references.forEach(function(e){e instanceof Le&&(e=e.label.start,d("Continue label `"+t.name+"` refers to non-IterationStatement.",e.line,e.col,e.pos))});return new me({body:e,label:t})}():x();case"punc":switch(l.token.value){case"{":return new he({start:l.token,body:O(),end:h()});case"[":case"(":return x();case";":return l.in_directives=!1,p(),new de;default:m()}case"keyword":switch(l.token.value){case"break":return p(),C(Fe);case"continue":return p(),C(Le);case"debugger":return p(),_(),new le;case"do":p();var i=$(A);g("keyword","while");var o=w();return _(!0),new be({body:i,condition:o});case"while":return p(),new ye({condition:w(),body:$(A)});case"for":return p(),function(){v("(");var e=null;if(!c("punc",";")&&(e=c("keyword","var")?(p(),D(!0)):V(!0,!0),c("operator","in")))return e instanceof $e?1\/\t\n\f\r ])/gi,"<\\/$1$2")).replace(/\x3c!--/g,"\\x3c!--")).replace(/--\x3e/g,"--\\x3e")),n}function r(e){return function e(t,n){if(n<=0)return"";if(1==n)return t;var r=e(t,n>>1);return r+=r,1&n&&(r+=t),r}(" ",s.indent_start+i-e*s.indent_level)}var h,d,m=!1,g=!1,v=0,b=!1,y=!1,_=-1,w="",E=s.source_map&&[],A=E?function(){E.forEach(function(t){try{s.source_map.add(t.token.file,t.line,t.col,t.token.line,t.token.col,t.name||"name"!=t.token.type?t.name:t.token.value)}catch(e){se.warn("Couldn't figure out mapping for {file}:{line},{col} → {cline},{ccol} [{name}]",{file:t.token.file,line:t.token.line,col:t.token.col,cline:t.line,ccol:t.col,name:t.name||""})}}),E=[]}:$,x=s.max_line_len?function(){if(a>s.max_line_len){if(v){var e=f.slice(0,v),t=f.slice(v);if(E){var n=t.length-a;E.forEach(function(e){e.line++,e.col+=n})}f=e+"\n"+t,l++,c++,a=t.length}a>s.max_line_len&&se.warn("Output exceeds {max_line_len} characters",s)}v&&(v=0,A())}:$,C=Y("( [ + * / - , .");function k(e){var t=(e=String(e)).charAt(0);b&&t&&(b=!1,"\n"!=t&&(k("\n"),S())),y&&t&&(y=!1,/[\s;})]/.test(t)||O()),_=-1;var n=w.charAt(w.length-1);if(g&&(g=!1,(":"==n&&"}"==t||(!t||";}".indexOf(t)<0)&&";"!=n)&&(s.semicolons||C(t)?(f+=";",a++,c++):(x(),f+="\n",c++,l++,a=0,/^\s+$/.test(e)&&(g=!0)),s.beautify||(m=!1))),!s.beautify&&s.preserve_line&&U[U.length-1])for(var r=U[U.length-1].start.line;l=s.width},has_parens:function(){return"("==f.slice(-1)},newline:B,print:k,space:O,comma:function(){k(","),O()},colon:function(){k(":"),O()},last:function(){return w},semicolon:T,force_semicolon:R,to_utf8:p,print_name:function(e){var t;k((t=(t=e).toString(),t=p(t,!0)))},print_string:function(e,t,n){var r=o(e,t);!0===n&&-1===r.indexOf("\\")&&(Qt.test(f)||R(),R()),k(r)},encode_string:o,next_indent:F,with_indent:D,with_block:function(e){var t;return k("{"),B(),D(F(),function(){t=e()}),S(),k("}"),t},with_parens:function(e){k("(");var t=e();return k(")"),t},with_square:function(e){k("[");var t=e();return k("]"),t},add_mapping:E?function(e,t){h=e,d=t}:$,option:function(e){return s[e]},prepend_comments:e?$:function(e){var r=this,t=e.start;if(t&&(!t.comments_before||t.comments_before._dumped!==r)){var i=t.comments_before;if(i||(i=t.comments_before=[]),i._dumped=r,e instanceof Be&&e.value){var o=new Dt(function(e){var t=o.parent();if(!(t instanceof Be||t instanceof tt&&t.left===e||"Call"==t.TYPE&&t.expression===e||t instanceof nt&&t.condition===e||t instanceof Qe&&t.expression===e||t instanceof Ye&&t.expressions[0]===e||t instanceof Ze&&t.expression===e||t instanceof et))return!0;var n=e.start.comments_before;n&&n._dumped!==r&&(n._dumped=r,i=i.concat(n))});o.push(e),e.value.walk(o)}if(0==c){0i&&(_=i)}}},line:function(){return l},col:function(){return a},pos:function(){return c},push_node:function(e){U.push(e)},pop_node:function(){return U.pop()},parent:function(e){return U[U.length-2-(e||0)]}}}function Xt(e,t){if(!(this instanceof Xt))return new Xt(e,t);Wt.call(this,this.before,this.after),this.options=K(e,{arguments:!t,booleans:!t,collapse_vars:!t,comparisons:!t,conditionals:!t,dead_code:!t,drop_console:!1,drop_debugger:!t,evaluate:!t,expression:!1,global_defs:{},hoist_funs:!1,hoist_props:!t,hoist_vars:!1,ie8:!1,if_return:!t,inline:!t,join_vars:!t,keep_fargs:!0,keep_fnames:!1,keep_infinity:!1,loops:!t,negate_iife:!t,passes:1,properties:!t,pure_getters:!t&&"strict",pure_funcs:null,reduce_funcs:!t,reduce_vars:!t,sequences:!t,side_effects:!t,switches:!t,top_retain:null,toplevel:!(!e||!e.top_retain),typeofs:!t,unsafe:!1,unsafe_comps:!1,unsafe_Function:!1,unsafe_math:!1,unsafe_proto:!1,unsafe_regexp:!1,unsafe_undefined:!1,unused:!t,warnings:!1},!0);var n=this.options.global_defs;if("object"==typeof n)for(var r in n)/^@/.test(r)&&ae(n,r)&&(n[r.slice(1)]=Yt(n[r],{expression:!0}));!0===this.options.inline&&(this.options.inline=3);var i=this.options.pure_funcs;this.pure_funcs="function"==typeof i?i:i?function(e){return i.indexOf(e.expression.print_to_string())<0}:G;var o=this.options.top_retain;o instanceof RegExp?this.top_retain=function(e){return o.test(e.name)}:"function"==typeof o?this.top_retain=o:o&&("string"==typeof o&&(o=o.split(/,/)),this.top_retain=function(e){return 0<=o.indexOf(e.name)});var a=this.options.toplevel;this.toplevel="string"==typeof a?{funcs:/funcs/.test(a),vars:/vars/.test(a)}:{funcs:a,vars:a};var s=this.options.sequences;this.sequences_limit=1==s?800:0|s,this.warnings_produced={}}function y(e,t){e.walk(new Dt(function(e){return e instanceof Ye?y(e.tail_node(),t):e instanceof bt?t(e.value):e instanceof nt&&(y(e.consequent,t),y(e.alternative,t)),!0}))}function h(e,t){var n=(t=K(t,{builtins:!1,cache:null,debug:!1,keep_quoted:!1,only_cache:!1,regex:null,reserved:null},!0)).reserved;Array.isArray(n)||(n=[]),t.builtins||function(t){function n(e){m(t,e)}["null","true","false","Infinity","-Infinity","undefined"].forEach(n),[Object,Array,Function,Number,String,Boolean,Error,Math,Date,RegExp].forEach(function(e){Object.getOwnPropertyNames(e).map(n),e.prototype&&Object.getOwnPropertyNames(e.prototype).map(n)})}(n);var r,i=-1;t.cache?(r=t.cache.props).each(function(e){m(n,e)}):r=new R;var o,a=t.regex,s=!1!==t.debug;s&&(o=!0===t.debug?"":t.debug);var u=[],l=[];return e.walk(new Dt(function(e){e instanceof st?p(e.key):e instanceof at?p(e.key.name):e instanceof Qe?p(e.property):e instanceof Ze&&y(e.property,p)})),e.transform(new Wt(function(e){e instanceof st?e.key=h(e.key):e instanceof at?e.key.name=h(e.key.name):e instanceof Qe?e.property=h(e.property):!t.keep_quoted&&e instanceof Ze&&(e.property=function n(e){return e.transform(new Wt(function(e){if(e instanceof Ye){var t=e.expressions.length-1;e.expressions[t]=n(e.expressions[t])}else e instanceof bt?e.value=h(e.value):e instanceof nt&&(e.consequent=n(e.consequent),e.alternative=n(e.alternative));return e}))}(e.property))}));function c(e){return!(0<=l.indexOf(e))&&(!(0<=n.indexOf(e))&&(t.only_cache?r.has(e):!/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(e)))}function f(e){return!(a&&!a.test(e))&&(!(0<=n.indexOf(e))&&(r.has(e)||0<=u.indexOf(e)))}function p(e){c(e)&&m(u,e),f(e)||m(l,e)}function h(e){if(!f(e))return e;var t=r.get(e);if(!t){if(s){var n="_$"+e+"$"+o+"_";c(n)&&(t=n)}if(!t)for(;!c(t=b(++i)););r.set(e,t)}return t}}!function(){function e(e,t){e.DEFMETHOD("_codegen",t)}var o=!1,a=null,s=null;function n(e,t){Array.isArray(e)?e.forEach(function(e){n(e,t)}):e.DEFMETHOD("needs_parens",t)}function r(e,n,r,t){var i=e.length-1;o=t,e.forEach(function(e,t){!0!==o||e instanceof ce||e instanceof de||e instanceof fe&&e.body instanceof bt||(o=!1),e instanceof de||(r.indent(),e.print(r),t==i&&n||(r.newline(),n&&r.newline())),!0===o&&e instanceof fe&&e.body instanceof bt&&(o=!1)}),o=!1}function i(e,t){t.print("{"),t.with_indent(t.next_indent(),function(){t.append_comments(e,!0)}),t.print("}")}function u(e,t,n){0"==n[0]&&e.left instanceof et&&"--"==e.left.operator?t.print(" "):t.space(),t.print(n),("<"==n||"<<"==n)&&e.right instanceof Xe&&"!"==e.right.operator&&e.right.expression instanceof Xe&&"--"==e.right.expression.operator?t.print(" "):t.space(),e.right.print(t)}),e(nt,function(e,t){e.condition.print(t),t.space(),t.print("?"),t.space(),e.consequent.print(t),t.space(),t.colon(),e.alternative.print(t)}),e(it,function(t,r){r.with_square(function(){var e=t.elements,n=e.length;0t.assignments))&&oe(t.orig,function(e){return!(e instanceof pt||e instanceof ht)})))))}function f(e,t){if(!((t=p(t))instanceof se)){var n;if(e instanceof it){var r=e.elements;if("length"==t)return U(r.length,e);"number"==typeof t&&t in r&&(n=r[t])}else if(e instanceof ot){t=""+t;for(var i=e.properties,o=i.length;0<=--o;){if(!(i[o]instanceof st))return;n||i[o].key!==t||(n=i[o].value)}}return n instanceof mt&&n.fixed_value()||n}}e(se,$);var n=new Dt(function(e){if(e instanceof ut){var t=e.definition();t&&(e instanceof mt&&t.references.push(e),t.fixed=!1)}});e(ke,function(e,t,n){return s(e),a(e,n,this),t(),u(e),!0}),e(rt,function(e){var t=this;if(t.left instanceof mt){var n=t.left.definition(),r=n.fixed;if((r||"="==t.operator)&&o(e,n,t.right))return n.references.push(t.left),n.assignments++,"="!=t.operator&&(n.chained=!0),n.fixed="="==t.operator?function(){return t.right}:function(){return Q(tt,t,{operator:t.operator.slice(0,-1),left:r instanceof se?r:r(),right:t.right})},l(e,n,!1),t.right.walk(e),l(e,n,!0),!0}}),e(tt,function(e){if(ee(this.operator))return this.left.walk(e),s(e),this.right.walk(e),u(e),!0}),e(qe,function(e){return s(e),this.expression.walk(e),u(e),s(e),L(this,e),u(e),!0}),e(nt,function(e){return this.condition.walk(e),s(e),this.consequent.walk(e),u(e),s(e),this.alternative.walk(e),u(e),!0}),e(Pe,function(e,t){return s(e),t(),u(e),!0}),e(Se,function(e,t,n){this.inlined=!1;var r=e.safe_ids;return e.safe_ids=Object.create(null),a(e,n,this),t(),e.safe_ids=r,!0}),e(be,function(e){var t=e.in_loop;return e.in_loop=this,s(e),this.body.walk(e),this.condition.walk(e),u(e),e.in_loop=t,!0}),e(_e,function(e){this.init&&this.init.walk(e);var t=e.in_loop;return(e.in_loop=this).condition&&(s(e),this.condition.walk(e),u(e)),s(e),this.body.walk(e),u(e),this.step&&(s(e),this.step.walk(e),u(e)),e.in_loop=t,!0}),e(we,function(e){this.init.walk(n),this.object.walk(e);var t=e.in_loop;return e.in_loop=this,s(e),this.body.walk(e),u(e),e.in_loop=t,!0}),e(Oe,function(r,e,t){var i,o=this;return o.inlined=!1,s(r),a(r,t,o),!o.name&&(i=r.parent())instanceof Ke&&i.expression===o&&o.argnames.forEach(function(e,t){var n=e.definition();o.uses_arguments||void 0!==n.fixed?n.fixed=!1:(n.fixed=function(){return i.args[t]||Q(At,i)},r.loop_ids[n.id]=r.in_loop,l(r,n,!0))}),e(),u(r),!0}),e(Me,function(e){return this.condition.walk(e),s(e),this.body.walk(e),u(e),this.alternative&&(s(e),this.alternative.walk(e),u(e)),!0}),e(me,function(e){return s(e),this.body.walk(e),u(e),!0}),e(dt,function(){this.definition().fixed=!1}),e(mt,function(e,t,n){var r,i,o,a,s=this.definition();s.references.push(this),1==s.references.length&&!s.fixed&&s.orig[0]instanceof pt&&(e.loop_ids[s.id]=e.in_loop),void 0!==s.fixed&&c(e,s)&&"m"!=s.single_use?s.fixed&&((r=this.fixed_value())instanceof Ce&&j(e,s)?s.recursive_refs++:r&&(o=e,a=s,n.option("unused")&&!a.scope.uses_eval&&!a.scope.uses_with&&a.references.length-a.recursive_refs==1&&o.loop_ids[a.id]===o.in_loop)?s.single_use=r instanceof Ce||s.scope===this.scope&&r.is_constant_expression():s.single_use=!1,function e(t,n,r,i,o){var a=t.parent(i);if(te(n,a)||!o&&a instanceof Ke&&a.expression===n&&(!(r instanceof Oe)||!(a instanceof Ge)&&r.contains_this()))return!0;if(a instanceof it)return e(t,a,a,i+1);if(a instanceof st&&n===a.value){var s=t.parent(i+1);return e(t,s,s,i+2)}return a instanceof We&&a.expression===n?!o&&e(t,a,f(r,a.property),i+1):void 0}(e,this,r,0,!!(i=r)&&(i.is_constant()||i instanceof Ce||i instanceof gt))&&(s.single_use?s.single_use="m":s.fixed=!1)):s.fixed=!1,function e(t,n,r,i,o,a,s){var u=t.parent(a);if(!o||!o.is_constant()){if(u instanceof rt&&"="==u.operator&&i===u.right||u instanceof Ke&&i!==u.expression||u instanceof Be&&i===u.value&&i.scope!==n.scope||u instanceof He&&i===u.value)return!(1s)&&(n.escaped=s));if(u instanceof it||u instanceof tt&&ee(u.operator)||u instanceof nt&&i!==u.condition||u instanceof Ye&&i===u.tail_node())e(t,n,r,u,u,a+1,s);else if(u instanceof st&&i===u.value){var l=t.parent(a+1);e(t,n,r,l,l,a+2,s)}else if(u instanceof We&&i===u.expression&&(e(t,n,r,u,o=f(o,u.property),a+1,s+1),o))return;0==a&&(n.direct_access=!0)}}(e,s,this.scope,this,r,0,1)}),e(xe,function(e,t,n){this.globals.each(function(e){r(n,e)}),a(e,n,this)}),e(ze,function(e){return s(e),L(this,e),u(e),this.bcatch&&(s(e),this.bcatch.walk(e),u(e)),this.bfinally&&this.bfinally.walk(e),!0}),e(Je,function(e,t){var n=this;if(("++"==n.operator||"--"==n.operator)&&n.expression instanceof mt){var r=n.expression.definition(),i=r.fixed;if(i&&o(e,r,!0))return r.references.push(n.expression),r.assignments++,r.chained=!0,r.fixed=function(){return Q(tt,n,{operator:n.operator.slice(0,-1),left:Q(Xe,n,{operator:"+",expression:i instanceof se?i:i()}),right:Q(yt,n,{value:1})})},l(e,r,!0),!0}}),e(He,function(e,t){var n=this,r=n.name.definition();if(n.value){if(o(e,r,n.value))return r.fixed=function(){return n.value},e.loop_ids[r.id]=e.in_loop,l(e,r,!1),t(),l(e,r,!0),!0;r.fixed=!1}}),e(ye,function(e){var t=e.in_loop;return e.in_loop=this,s(e),this.condition.walk(e),this.body.walk(e),u(e),e.in_loop=t,!0})}(function(e,t){e.DEFMETHOD("reduce_vars",t)}),xe.DEFMETHOD("reset_opt_flags",function(n){var r=n.option("reduce_vars"),i=new Dt(function(e,t){if(e._squeezed=!1,e._optimized=!1,r)return e.reduce_vars(i,t,n)});i.safe_ids=Object.create(null),i.in_loop=null,i.loop_ids=Object.create(null),this.walk(i)}),ut.DEFMETHOD("fixed_value",function(){var e=this.definition().fixed;return!e||e instanceof se?e:e()}),mt.DEFMETHOD("is_immutable",function(){var e=this.definition().orig;return 1==e.length&&e[0]instanceof ht});var t=Y("Array Boolean clearInterval clearTimeout console Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error escape eval EvalError Function isFinite isNaN JSON Math Number parseFloat parseInt RangeError ReferenceError RegExp Object setInterval setTimeout String SyntaxError TypeError unescape URIError");mt.DEFMETHOD("is_declared",function(e){return!this.definition().undeclared||e.option("unsafe")&&t(this.name)});var n,r,i,a,s,z=Y("Infinity NaN undefined");function X(e){return e instanceof Ct||e instanceof Et||e instanceof At}function u(e,l){var H,K,G;!function(){var e=l.self(),t=0;do{if(e instanceof Ie||e instanceof je)t++;else if(e instanceof ge)H=!0;else{if(e instanceof Ae){G=e;break}e instanceof ze&&(K=!0)}}while(e=l.parent(t++))}();for(var Y,t=10;Y=!1,i(e),l.option("dead_code")&&o(e,l),l.option("if_return")&&r(e,l),0O)O=!1;else{k=!1,u=0,C=x;for(B=o;!k&&B=e.sequences_limit&&u();var s=a.body;0=",">"],(r=function(e,t){e.DEFMETHOD("is_boolean",t)})(se,re),r(Xe,function(){return ne(this.operator,i)}),r(tt,function(){return ne(this.operator,a)||ee(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}),r(nt,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}),r(rt,function(){return"="==this.operator&&this.right.is_boolean()}),r(Ye,function(){return this.tail_node().is_boolean()}),r(St,G),r(Ot,G),function(e){e(se,re),e(yt,G);var t=Y("+ - ~ ++ --");e(Je,function(){return t(this.operator)});var n=Y("- * / % & | ^ << >> >>>");e(tt,function(e){return n(this.operator)||"+"==this.operator&&this.left.is_number(e)&&this.right.is_number(e)}),e(rt,function(e){return n(this.operator.slice(0,-1))||"="==this.operator&&this.right.is_number(e)}),e(Ye,function(e){return this.tail_node().is_number(e)}),e(nt,function(e){return this.consequent.is_number(e)&&this.alternative.is_number(e)})}(function(e,t){e.DEFMETHOD("is_number",t)}),(s=function(e,t){e.DEFMETHOD("is_string",t)})(se,re),s(bt,G),s(Xe,function(){return"typeof"==this.operator}),s(tt,function(e){return"+"==this.operator&&(this.left.is_string(e)||this.right.is_string(e))}),s(rt,function(e){return("="==this.operator||"+="==this.operator)&&this.right.is_string(e)}),s(Ye,function(e){return this.tail_node().is_string(e)}),s(nt,function(e){return this.consequent.is_string(e)&&this.alternative.is_string(e)});var l,ee=Y("&& ||"),c=Y("delete ++ --");function te(e,t){return t instanceof Je&&c(t.operator)?t.expression:t instanceof rt&&t.left===e?e:void 0}function E(e,t){return e.print_to_string().length>t.print_to_string().length?t:e}function I(e,t,n){return(F(e)?function(e,t){return E(Q(fe,e,{body:e}),Q(fe,t,{body:t})).body}:E)(t,n)}function h(e){for(var t in e)e[t]=Y(e[t])}l=function(e,t){e.DEFMETHOD("_find_defs",t)},se.DEFMETHOD("resolve_defines",function(e){if(e.option("global_defs")){var t=this._find_defs(e,"");if(t){for(var n,r=this,i=0;n=r,(r=e.parent(i++))instanceof We&&r.expression===n;);if(!te(n,r))return t;e.warn("global_defs "+this.print_to_string()+" redefined [{file}:{line},{col}]",this.start)}}}),l(se,$),l(Qe,function(e,t){return this.expression._find_defs(e,"."+this.property+t)}),l(mt,function(e,t){if(this.global()){var n,r=e.option("global_defs");if(r&&ae(r,n=this.name+t)){var i=function t(e,n){if(e instanceof se)return Q(e.CTOR,n,e);if(Array.isArray(e))return Q(it,n,{elements:e.map(function(e){return t(e,n)})});if(e&&"object"==typeof e){var r=[];for(var i in e)ae(e,i)&&r.push(Q(st,n,{key:i,value:t(e[i],n)}));return Q(ot,n,{properties:r})}return U(e,n)}(r[n],this),o=e.find_parent(xe);return i.walk(new Dt(function(e){e instanceof mt&&(e.scope=o,e.thedef=o.def_global(e))})),i}}});var d=["constructor","toString","valueOf"],m={Array:["indexOf","join","lastIndexOf","slice"].concat(d),Boolean:d,Function:d,Number:["toExponential","toFixed","toPrecision"].concat(d),Object:d,RegExp:["test"].concat(d),String:["charAt","charCodeAt","concat","indexOf","italics","lastIndexOf","match","replace","search","slice","split","substr","substring","toLowerCase","toUpperCase","trim"].concat(d)};h(m);var g={Array:["isArray"],Math:["abs","acos","asin","atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan","atan2","pow","max","min"],Number:["isFinite","isNaN"],Object:["create","getOwnPropertyDescriptor","getOwnPropertyNames","getPrototypeOf","isExtensible","isFrozen","isSealed","keys"],String:["fromCharCode"]};h(g),function(e){se.DEFMETHOD("evaluate",function(e){if(!e.option("evaluate"))return this;var t=[],n=this._eval(e,t,1);return t.forEach(function(e){delete e._eval}),!n||n instanceof RegExp?n:"function"==typeof n||"object"==typeof n?this:n});var t=Y("! ~ - + void");se.DEFMETHOD("is_constant",function(){return this instanceof vt?!(this instanceof _t):this instanceof Xe&&this.expression instanceof vt&&t(this.operator)}),e(ue,function(){throw new Error(B("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}),e(Ce,S),e(se,S),e(vt,function(){return this.getValue()}),e(Oe,function(e){if(e.option("unsafe")){var t=function(){};return t.node=this,t.toString=function(){return"function(){}"},t}return this}),e(it,function(e,t,n){if(e.option("unsafe")){for(var r=[],i=0,o=this.elements.length;i>":i=r>>o;break;case">>>":i=r>>>o;break;case"==":i=r==o;break;case"===":i=r===o;break;case"!=":i=r!=o;break;case"!==":i=r!==o;break;case"<":i=r":i=o=":i=o<=r;break;default:return this}return isNaN(i)&&e.find_parent(Ee)?this:i}),e(nt,function(e,t,n){var r=this.condition._eval(e,t,n);if(r===this.condition)return this;var i=r?this.consequent:this.alternative,o=i._eval(e,t,n);return o===i?this:o}),e(mt,function(e,t,n){var r,i=this.fixed_value();if(!i)return this;if(0<=t.indexOf(i))r=i._eval();else{if(this._eval=S,r=i._eval(e,t,n),delete this._eval,r===i)return this;i._eval=function(){return r},t.push(i)}if(r&&"object"==typeof r){var o=this.definition().escaped;if(o&&o=":return n.operator="<",n;case">":return n.operator="<=",n}switch(r){case"==":return n.operator="!=",n;case"!=":return n.operator="==",n;case"===":return n.operator="!==",n;case"!==":return n.operator="===",n;case"&&":return n.operator="||",n.left=n.left.negate(e,t),n.right=n.right.negate(e),i(this,n,t);case"||":return n.operator="&&",n.left=n.left.negate(e,t),n.right=n.right.negate(e),i(this,n,t)}return o(this)})}(function(e,n){e.DEFMETHOD("negate",function(e,t){return n.call(this,e,t)})});var v=Y("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");function A(e){return e&&e.aborts()}Ke.DEFMETHOD("is_expr_pure",function(e){if(e.option("unsafe")){var t=this.expression;if(q(t)&&v(t.name))return!0;if(t instanceof Qe&&q(t.expression)&&(g[t.expression.name]||re)(t.property))return!0}return this.pure||!e.pure_funcs(this)}),se.DEFMETHOD("is_call_pure",re),Qe.DEFMETHOD("is_call_pure",function(e){if(e.option("unsafe")){var t=this.expression,n=re;return t instanceof it?n=m.Array:t.is_boolean()?n=m.Boolean:t.is_number(e)?n=m.Number:t instanceof _t?n=m.RegExp:t.is_string(e)?n=m.String:this.may_throw_on_access(e)||(n=m.Object),n(this.property)}}),function(e){function t(e,t){for(var n=e.length;0<=--n;)if(e[n].has_side_effects(t))return!0;return!1}e(se,G),e(de,re),e(vt,re),e(gt,re),e(pe,function(e){return t(this.body,e)}),e(Ke,function(e){return!(this.is_expr_pure(e)||this.expression.is_call_pure(e)&&!this.expression.has_side_effects(e))||t(this.args,e)}),e(Ue,function(e){return this.expression.has_side_effects(e)||t(this.body,e)}),e(qe,function(e){return this.expression.has_side_effects(e)||t(this.body,e)}),e(ze,function(e){return t(this.body,e)||this.bcatch&&this.bcatch.has_side_effects(e)||this.bfinally&&this.bfinally.has_side_effects(e)}),e(Me,function(e){return this.condition.has_side_effects(e)||this.body&&this.body.has_side_effects(e)||this.alternative&&this.alternative.has_side_effects(e)}),e(me,function(e){return this.body.has_side_effects(e)}),e(fe,function(e){return this.body.has_side_effects(e)}),e(Ce,re),e(tt,function(e){return this.left.has_side_effects(e)||this.right.has_side_effects(e)}),e(rt,G),e(nt,function(e){return this.condition.has_side_effects(e)||this.consequent.has_side_effects(e)||this.alternative.has_side_effects(e)}),e(Je,function(e){return c(this.operator)||this.expression.has_side_effects(e)}),e(mt,function(e){return!this.is_declared(e)}),e(lt,re),e(ot,function(e){return t(this.properties,e)}),e(at,function(e){return this.value.has_side_effects(e)}),e(it,function(e){return t(this.elements,e)}),e(Qe,function(e){return this.expression.may_throw_on_access(e)||this.expression.has_side_effects(e)}),e(Ze,function(e){return this.expression.may_throw_on_access(e)||this.expression.has_side_effects(e)||this.property.has_side_effects(e)}),e(Ye,function(e){return t(this.expressions,e)}),e(Ve,function(e){return t(this.definitions,e)}),e(He,function(e){return this.value})}(function(e,t){e.DEFMETHOD("has_side_effects",t)}),function(e){function t(e,t){for(var n=e.length;0<=--n;)if(e[n].may_throw(t))return!0;return!1}e(se,G),e(vt,re),e(de,re),e(Ce,re),e(lt,re),e(gt,re),e(it,function(e){return t(this.elements,e)}),e(rt,function(e){return!!this.right.may_throw(e)||!(!e.has_directive("use strict")&&"="==this.operator&&this.left instanceof mt)&&this.left.may_throw(e)}),e(tt,function(e){return this.left.may_throw(e)||this.right.may_throw(e)}),e(pe,function(e){return t(this.body,e)}),e(Ke,function(e){return!!t(this.args,e)||!this.is_expr_pure(e)&&(!!this.expression.may_throw(e)||(!(this.expression instanceof Ce)||t(this.expression.body,e)))}),e(qe,function(e){return this.expression.may_throw(e)||t(this.body,e)}),e(nt,function(e){return this.condition.may_throw(e)||this.consequent.may_throw(e)||this.alternative.may_throw(e)}),e(Ve,function(e){return t(this.definitions,e)}),e(Qe,function(e){return this.expression.may_throw_on_access(e)||this.expression.may_throw(e)}),e(Me,function(e){return this.condition.may_throw(e)||this.body&&this.body.may_throw(e)||this.alternative&&this.alternative.may_throw(e)}),e(me,function(e){return this.body.may_throw(e)}),e(ot,function(e){return t(this.properties,e)}),e(at,function(e){return this.value.may_throw(e)}),e(Te,function(e){return this.value&&this.value.may_throw(e)}),e(Ye,function(e){return t(this.expressions,e)}),e(fe,function(e){return this.body.may_throw(e)}),e(Ze,function(e){return this.expression.may_throw_on_access(e)||this.expression.may_throw(e)||this.property.may_throw(e)}),e(Ue,function(e){return this.expression.may_throw(e)||t(this.body,e)}),e(mt,function(e){return!this.is_declared(e)}),e(ze,function(e){return this.bcatch?this.bcatch.may_throw(e):t(this.body,e)||this.bfinally&&this.bfinally.may_throw(e)}),e(Je,function(e){return!("typeof"==this.operator&&this.expression instanceof mt)&&this.expression.may_throw(e)}),e(He,function(e){return!!this.value&&this.value.may_throw(e)})}(function(e,t){e.DEFMETHOD("may_throw",t)}),function(e){function t(e){for(var t=e.length;0<=--t;)if(!e[t].is_constant_expression())return!1;return!0}e(se,re),e(vt,G),e(Ce,function(r){var i=this,o=!0;return i.walk(new Dt(function(e){if(!o)return!0;if(e instanceof mt){if(i.inlined)return!(o=!1);var t=e.definition();if(ne(t,i.enclosed)&&!i.variables.has(t.name)){if(r){var n=r.find_variable(e);if(t.undeclared?!n:n===t)return o="f",!0}o=!1}return!0}})),o}),e(Je,function(){return this.expression.is_constant_expression()}),e(tt,function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}),e(it,function(){return t(this.elements)}),e(ot,function(){return t(this.properties)}),e(at,function(){return this.value.is_constant_expression()})}(function(e,t){e.DEFMETHOD("is_constant_expression",t)}),function(e){function t(){var e=this.body.length;return 0t.eliminated)){if(y.warn("Dropping duplicated definition of variable {name} [{file}:{line},{col}]",b(e.name)),e.value){var r=Q(mt,e.name,e.name);t.references.push(r);var i=Q(rt,e,{operator:"=",left:r,right:e.value});C[t.id]===e&&(C[t.id]=i),m.push(i.transform(S))}return T(n,e),void t.eliminated++}}e.value?(0=p.argnames.length;if(u||p.argnames[o].__unused){if(h=s.args[o].drop_side_effect_free(i))s.args[n++]=h;else if(!u){s.args[n++]=Q(yt,s.args[o],{value:0});continue}}else s.args[n++]=s.args[o];r=n}s.args.length=r}if(i.option("unsafe"))if(q(e))switch(e.name){case"Array":if(1!=s.args.length)return Q(it,s,{elements:s.args}).optimize(i);break;case"Object":if(0==s.args.length)return Q(ot,s,{properties:[]});break;case"String":if(0==s.args.length)return Q(bt,s,{value:""});if(s.args.length<=1)return Q(tt,s,{left:s.args[0],operator:"+",right:Q(bt,s,{value:""})}).optimize(i);break;case"Number":if(0==s.args.length)return Q(yt,s,{value:0});if(1==s.args.length)return Q(Xe,s,{expression:s.args[0],operator:"+"}).optimize(i);case"Boolean":if(0==s.args.length)return Q(Ot,s);if(1==s.args.length)return Q(Xe,s,{expression:Q(Xe,s,{expression:s.args[0],operator:"!"}),operator:"!"}).optimize(i);break;case"RegExp":var l=[];if(oe(s.args,function(e){var t=e.evaluate(i);return l.unshift(t),e!==t}))try{return I(i,s,Q(_t,s,{value:RegExp.apply(RegExp,l)}))}catch(e){i.warn("Error converting {expr} [{file}:{line},{col}]",{expr:s.print_to_string(),file:s.start.file,line:s.start.line,col:s.start.col})}}else if(e instanceof Qe)switch(e.property){case"toString":if(0==s.args.length&&!e.expression.may_throw_on_access(i))return Q(tt,s,{left:Q(bt,s,{value:""}),operator:"+",right:e.expression}).optimize(i);break;case"join":var c;if(e.expression instanceof it)if(!(0=n;)t.push(s.args[r]);for(r=n;0<=--r;){var i=p.argnames[r],o=s.args[r];if(i.__unused||S.var_names()[i.name])o&&t.push(o);else{var a=Q(ct,i,i);i.definition().orig.push(a),!o&&D&&(o=Q(At,s)),L(e,t,a,o)}}e.reverse(),t.reverse()})(e,t),function(e,t){for(var n=t.length,r=0,i=p.body.length;r=Kt[n.operator]||e()),n=n.lift_sequences(t),t.option("comparisons"))switch(n.operator){case"===":case"!==":var i=!0;(n.left.is_string(t)&&n.right.is_string(t)||n.left.is_number(t)&&n.right.is_number(t)||n.left.is_boolean()&&n.right.is_boolean()||n.left.equivalent_to(n.right))&&(n.operator=n.operator.substr(0,2));case"==":case"!=":if(!i&&b(n.left,t))n.left=Q(wt,n.left);else if(t.option("typeofs")&&n.left instanceof bt&&"undefined"==n.left.value&&n.right instanceof Xe&&"typeof"==n.right.operator){var o=n.right.expression;(o instanceof mt?!o.is_declared(t):o instanceof We&&t.option("ie8"))||(n.right=o,n.left=Q(At,n.left).optimize(t),2==n.operator.length&&(n.operator+="="))}else if(n.left instanceof mt&&n.right instanceof mt&&n.left.definition()===n.right.definition()&&((u=n.left.fixed_value())instanceof it||u instanceof Ce||u instanceof ot))return Q("="==n.operator[0]?St:Ot,n);break;case"&&":case"||":var a=n.left;if(a.operator==n.operator&&(a=a.right),a instanceof tt&&a.operator==("&&"==n.operator?"!==":"===")&&n.right instanceof tt&&a.operator==n.right.operator&&(b(a.left,t)&&n.right.left instanceof wt||a.left instanceof wt&&b(n.right.left,t))&&!a.right.has_side_effects(t)&&a.right.equivalent_to(n.right.right)){var s=Q(tt,n,{operator:a.operator.slice(0,-1),left:Q(wt,n),right:a.right});return a!==n.left&&(s=Q(tt,n,{operator:n.operator,left:n.left.left,right:s})),s}}var u;if(t.option("booleans")&&"+"==n.operator&&t.in_boolean_context()){var l=n.left.evaluate(t),c=n.right.evaluate(t);if(l&&"string"==typeof l)return t.warn("+ in boolean context always true [{file}:{line},{col}]",n.start),M(n,[n.right,Q(St,n)]).optimize(t);if(c&&"string"==typeof c)return t.warn("+ in boolean context always true [{file}:{line},{col}]",n.start),M(n,[n.left,Q(St,n)]).optimize(t)}if(t.option("comparisons")&&n.is_boolean()){if(!(t.parent()instanceof tt)||t.parent()instanceof rt){var f=Q(Xe,n,{operator:"!",expression:n.negate(t,F(t))});n=I(t,n,f)}switch(n.operator){case">":e("<");break;case">=":e("<=")}}if("+"==n.operator){if(n.right instanceof bt&&""==n.right.getValue()&&n.left.is_string(t))return n.left;if(n.left instanceof bt&&""==n.left.getValue()&&n.right.is_string(t))return n.right;if(n.left instanceof tt&&"+"==n.left.operator&&n.left.left instanceof bt&&""==n.left.left.getValue()&&n.right.is_string(t))return n.left=n.left.right,n.transform(t)}if(t.option("evaluate")){switch(n.operator){case"&&":if(!(l=v(n.left)))return t.warn("Condition left of && always false [{file}:{line},{col}]",n.start),Z(t.parent(),t.self(),n.left).optimize(t);if(!(l instanceof se))return t.warn("Condition left of && always true [{file}:{line},{col}]",n.start),M(n,[n.left,n.right]).optimize(t);if(c=n.right.evaluate(t)){if(!(c instanceof se)){if("&&"==(p=t.parent()).operator&&p.left===t.self()||t.option("booleans")&&t.in_boolean_context())return t.warn("Dropping side-effect-free && [{file}:{line},{col}]",n.start),n.left.optimize(t)}}else{if(t.option("booleans")&&t.in_boolean_context())return t.warn("Boolean && always false [{file}:{line},{col}]",n.start),M(n,[n.left,Q(Ot,n)]).optimize(t);n.falsy=!0}if("||"==n.left.operator)if(!(h=n.left.right.evaluate(t)))return Q(nt,n,{condition:n.left.left,consequent:n.right,alternative:n.left.right}).optimize(t);break;case"||":var p,h;if(!(l=v(n.left)))return t.warn("Condition left of || always false [{file}:{line},{col}]",n.start),M(n,[n.left,n.right]).optimize(t);if(!(l instanceof se))return t.warn("Condition left of || always true [{file}:{line},{col}]",n.start),Z(t.parent(),t.self(),n.left).optimize(t);if(c=n.right.evaluate(t)){if(!(c instanceof se)){if(t.option("booleans")&&t.in_boolean_context())return t.warn("Boolean || always true [{file}:{line},{col}]",n.start),M(n,[n.left,Q(St,n)]).optimize(t);n.truthy=!0}}else if("||"==(p=t.parent()).operator&&p.left===t.self()||t.option("booleans")&&t.in_boolean_context())return t.warn("Dropping side-effect-free || [{file}:{line},{col}]",n.start),n.left.optimize(t);if("&&"==n.left.operator)if((h=n.left.right.evaluate(t))&&!(h instanceof se))return Q(nt,n,{condition:n.left.left,consequent:n.left.right,alternative:n.right}).optimize(t)}var d=!0;switch(n.operator){case"+":if(n.left instanceof vt&&n.right instanceof tt&&"+"==n.right.operator&&n.right.left instanceof vt&&n.right.is_string(t)&&(n=Q(tt,n,{operator:"+",left:Q(bt,n.left,{value:""+n.left.getValue()+n.right.left.getValue(),start:n.left.start,end:n.right.left.end}),right:n.right.right})),n.right instanceof vt&&n.left instanceof tt&&"+"==n.left.operator&&n.left.right instanceof vt&&n.left.is_string(t)&&(n=Q(tt,n,{operator:"+",left:n.left.left,right:Q(bt,n.right,{value:""+n.left.right.getValue()+n.right.getValue(),start:n.left.right.start,end:n.right.end})})),n.left instanceof tt&&"+"==n.left.operator&&n.left.is_string(t)&&n.left.right instanceof vt&&n.right instanceof tt&&"+"==n.right.operator&&n.right.left instanceof vt&&n.right.is_string(t)&&(n=Q(tt,n,{operator:"+",left:Q(tt,n.left,{operator:"+",left:n.left.left,right:Q(bt,n.left.right,{value:""+n.left.right.getValue()+n.right.left.getValue(),start:n.left.right.start,end:n.right.left.end})}),right:n.right.right})),n.right instanceof Xe&&"-"==n.right.operator&&n.left.is_number(t)){n=Q(tt,n,{operator:"-",left:n.left,right:n.right.expression});break}if(n.left instanceof Xe&&"-"==n.left.operator&&r()&&n.right.is_number(t)){n=Q(tt,n,{operator:"-",left:n.right,right:n.left.expression});break}case"*":d=t.option("unsafe_math");case"&":case"|":case"^":if(n.left.is_number(t)&&n.right.is_number(t)&&r()&&!(n.left instanceof tt&&n.left.operator!=n.operator&&Kt[n.left.operator]>=Kt[n.operator])){var m=Q(tt,n,{operator:n.operator,left:n.right,right:n.left});n=n.right instanceof vt&&!(n.left instanceof vt)?I(t,m,n):I(t,n,m)}d&&n.is_number(t)&&(n.right instanceof tt&&n.right.operator==n.operator&&(n=Q(tt,n,{operator:n.operator,left:Q(tt,n.left,{operator:n.operator,left:n.left,right:n.right.left,start:n.left.start,end:n.right.left.end}),right:n.right.right})),n.right instanceof vt&&n.left instanceof tt&&n.left.operator==n.operator&&(n.left.left instanceof vt?n=Q(tt,n,{operator:n.operator,left:Q(tt,n.left,{operator:n.operator,left:n.left.left,right:n.right,start:n.left.left.start,end:n.right.end}),right:n.left.right}):n.left.right instanceof vt&&(n=Q(tt,n,{operator:n.operator,left:Q(tt,n.left,{operator:n.operator,left:n.left.right,right:n.right,start:n.left.right.start,end:n.right.end}),right:n.left.left}))),n.left instanceof tt&&n.left.operator==n.operator&&n.left.right instanceof vt&&n.right instanceof tt&&n.right.operator==n.operator&&n.right.left instanceof vt&&(n=Q(tt,n,{operator:n.operator,left:Q(tt,n.left,{operator:n.operator,left:Q(tt,n.left.left,{operator:n.operator,left:n.left.right,right:n.right.left,start:n.left.right.start,end:n.right.left.end}),right:n.left.left}),right:n.right.right})))}}if(n.right instanceof tt&&n.right.operator==n.operator&&(ee(n.operator)||"+"==n.operator&&(n.right.left.is_string(t)||n.left.is_string(t)&&n.right.right.is_string(t))))return n.left=Q(tt,n.left,{operator:n.operator,left:n.left,right:n.right.left}),n.right=n.right.right,n.transform(t);var g=n.evaluate(t);return g!==n?(g=U(g,n).optimize(t),I(t,g,n)):n;function v(e){return!!e.truthy||!e.falsy&&(!!e.is_truthy()||e.evaluate(t))}}),e(mt,function(e,t){var n,r=e.resolve_defines(t);if(r)return r.optimize(t);if(!t.option("ie8")&&q(e)&&(!e.scope.uses_with||!t.find_parent(Ee)))switch(e.name){case"undefined":return Q(At,e).optimize(t);case"NaN":return Q(Et,e).optimize(t);case"Infinity":return Q(Ct,e).optimize(t)}if(t.option("reduce_vars")&&te(e,t.parent())!==e){var i=e.definition(),o=e.fixed_value(),a=i.single_use;if(a&&o instanceof Ce)if(i.scope===e.scope||t.option("reduce_funcs")&&1!=i.escaped&&!o.inlined){if(j(t,i))a=!1;else if((i.scope!==e.scope||i.orig[0]instanceof ft)&&"f"==(a=o.is_constant_expression(e.scope)))for(var s=e.scope;(s instanceof Se||s instanceof Oe)&&(s.inlined=!0),s=s.parent_scope;);}else a=!1;if(a&&o){var u;if(o instanceof Se&&(o._squeezed=!0,o=Q(Oe,o,o)),0>","<<",">>>","|","^","&"],O=["*","|","^","&"];e(rt,function(a,s){var e;if(s.option("dead_code")&&a.left instanceof mt&&(e=a.left.definition()).scope===s.find_parent(Ce)){var t,n=0,r=a;do{if(t=r,(r=s.parent(n++))instanceof Be){if(i(n,r))break;if(V(e.scope,[e]))break;return"="==a.operator?a.right:(e.fixed=!1,Q(tt,a,{operator:a.operator.slice(0,-1),left:a.left,right:a.right}).optimize(s))}}while(r instanceof tt&&r.right===t||r instanceof Ye&&r.tail_node()===t)}return"="==(a=a.lift_sequences(s)).operator&&a.left instanceof mt&&a.right instanceof tt&&(a.right.left instanceof mt&&a.right.left.name==a.left.name&&ne(a.right.operator,k)?(a.operator=a.right.operator+"=",a.right=a.right.right):a.right.right instanceof mt&&a.right.right.name==a.left.name&&ne(a.right.operator,O)&&!a.right.left.has_side_effects(s)&&(a.operator=a.right.operator+"=",a.right=a.right.left)),a;function i(e,t){var n=a.right;a.right=Q(wt,n);var r=t.may_throw(s);a.right=n;for(var i,o=a.left.definition().scope;(i=s.parent(e++))!==o;)if(i instanceof ze){if(i.bfinally)return!0;if(r&&i.bcatch)return!0}}}),e(nt,function(e,t){if(!t.option("conditionals"))return e;if(e.condition instanceof Ye){var n=e.condition.expressions.slice();return e.condition=n.pop(),n.push(e),M(e,n)}var r=e.condition.is_truthy()||e.condition.tail_node().evaluate(t);if(!r)return t.warn("Condition always false [{file}:{line},{col}]",e.start),M(e,[e.condition,e.alternative]).optimize(t);if(!(r instanceof se))return t.warn("Condition always true [{file}:{line},{col}]",e.start),M(e,[e.condition,e.consequent]).optimize(t);var i=r.negate(t,F(t));I(t,r,i)===i&&(e=Q(nt,e,{condition:i,consequent:e.alternative,alternative:e.consequent}));var o,a=e.condition,s=e.consequent,u=e.alternative;if(a instanceof mt&&s instanceof mt&&a.definition()===s.definition())return Q(tt,e,{operator:"||",left:a,right:u});if(s instanceof rt&&u instanceof rt&&s.operator==u.operator&&s.left.equivalent_to(u.left)&&(!e.condition.has_side_effects(t)||"="==s.operator&&!s.left.has_side_effects(t)))return Q(rt,e,{operator:s.operator,left:s.left,right:Q(nt,e,{condition:e.condition,consequent:s.right,alternative:u.right})});if(s instanceof Ke&&u.TYPE===s.TYPE&&0u;){(d=l[p].drop_side_effect_free(t))&&(f.unshift(d),c&&d.has_side_effects(t)&&(c=!1))}var h=l[u];for(h=h instanceof xt?Q(At,h):h,c||f.unshift(h);0<=--p;){var d;(d=l[p].drop_side_effect_free(t))?f.unshift(d):u--}return c?(f.push(h),M(e,f).optimize(t)):Q(Ze,e,{expression:Q(it,r,{elements:f}),property:Q(yt,i,{value:u})})}}if(t.option("arguments")&&r instanceof mt&&"arguments"==r.name&&1==r.definition().orig.length&&(n=r.scope)instanceof Ce&&i instanceof yt){u=i.getValue();var m=n.argnames[u];if(!m&&!t.option("keep_fargs"))for(;u>=n.argnames.length;)m=Q(ft,n,{name:n.make_var_name("argument_"+n.argnames.length),scope:n}),n.argnames.push(m),n.enclosed.push(n.def_variable(m));if(m){var g=Q(mt,e,m);return g.reference({}),g}}var v=e.evaluate(t);return v!==e?I(t,v=U(v,e).optimize(t),e):e}),Ce.DEFMETHOD("contains_this",function(){var t,n=this;return n.walk(new Dt(function(e){return!!t||(e instanceof gt?t=!0:e!==n&&e instanceof Ae||void 0)})),t}),We.DEFMETHOD("flatten_object",function(e,t){if(t.option("properties")){var n=this.expression;if(n instanceof ot)for(var r=n.properties,i=r.length;0<=--i;){var o=r[i];if(""+o.key==e){if(!oe(r,function(e){return e instanceof st}))break;var a=o.value;if(a instanceof Oe&&!(t.parent()instanceof Ge)&&a.contains_this())break;return Q(Ze,this,{expression:Q(it,n,{elements:r.map(function(e){return e.value})}),property:Q(yt,this,{value:i})})}}}}),e(Qe,function(e,t){"arguments"!=e.property&&"caller"!=e.property||t.warn("Function.protoype.{prop} not supported [{file}:{line},{col}]",{prop:e.property,file:e.start.file,line:e.start.line,col:e.start.col});var n=e.resolve_defines(t);if(n)return n.optimize(t);if(te(e,t.parent()))return e;if(t.option("unsafe_proto")&&e.expression instanceof Qe&&"prototype"==e.expression.property){var r=e.expression.expression;if(q(r))switch(r.name){case"Array":e.expression=Q(it,e.expression,{elements:[]});break;case"Function":e.expression=Q(Oe,e.expression,{argnames:[],body:[]});break;case"Number":e.expression=Q(yt,e.expression,{value:0});break;case"Object":e.expression=Q(ot,e.expression,{properties:[]});break;case"RegExp":e.expression=Q(_t,e.expression,{value:/t/});break;case"String":e.expression=Q(bt,e.expression,{value:""})}}var i=e.flatten_object(e.property,t);if(i)return i.optimize(t);var o=e.evaluate(t);return o!==e?I(t,o=U(o,e).optimize(t),e):e}),e(Te,function(e,t){return e.value&&b(e.value,t)&&(e.value=null),e}),e(He,function(e,t){var n=t.option("global_defs");return n&&ae(n,e.name.name)&&t.warn("global_defs "+e.name.name+" redefined [{file}:{line},{col}]",e.start),e})}(),function(){var t=function(e){for(var t=!0,n=0;n|%)([a-z0-9$_]+)/i.exec(e);if(!t)throw new Error("Can't understand property map: "+e);var n=t[1],r=t[2],i=t[3];switch(o+=",\n"+i+": ",a+=",\n"+n+": ",r){case"@":o+="M."+n+".map(from_moz)",a+="M."+i+".map(to_moz)";break;case">":o+="from_moz(M."+n+")",a+="to_moz(M."+i+")";break;case"=":o+="M."+n,a+="M."+i;break;case"%":o+="from_moz(M."+n+").body",a+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+e)}}),o+="\n})\n}",a+="\n}\n}",o=new Function("U2","my_start_token","my_end_token","from_moz","return("+o+")")(d,s,u,l),a=new Function("to_moz","to_moz_block","to_moz_scope","return("+a+")")(f,p,h),r[e]=o,c(t,a)}r.UpdateExpression=r.UnaryExpression=function(e){return new(("prefix"in e?e.prefix:"UnaryExpression"==e.type)?Xe:et)({start:s(e),end:u(e),operator:e.operator,expression:l(e.argument)})},e("EmptyStatement",de),e("BlockStatement",he,"body@body"),e("IfStatement",Me,"test>condition, consequent>body, alternate>alternative"),e("LabeledStatement",me,"label>label, body>body"),e("BreakStatement",Fe,"label>label"),e("ContinueStatement",Le,"label>label"),e("WithStatement",Ee,"object>expression, body>body"),e("SwitchStatement",Ue,"discriminant>expression, cases@body"),e("ReturnStatement",Te,"argument>value"),e("ThrowStatement",W,"argument>value"),e("WhileStatement",ye,"test>condition, body>body"),e("DoWhileStatement",be,"test>condition, body>body"),e("ForStatement",_e,"init>init, test>condition, update>step, body>body"),e("ForInStatement",we,"left>init, right>object, body>body"),e("DebuggerStatement",le),e("VariableDeclarator",He,"id>name, init>value"),e("CatchClause",Ie,"param>argname, body%body"),e("ThisExpression",gt),e("BinaryExpression",tt,"operator=operator, left>left, right>right"),e("LogicalExpression",tt,"operator=operator, left>left, right>right"),e("AssignmentExpression",rt,"operator=operator, left>left, right>right"),e("ConditionalExpression",nt,"test>condition, consequent>consequent, alternate>alternative"),e("NewExpression",Ge,"callee>expression, arguments@args"),e("CallExpression",Ke,"callee>expression, arguments@args"),c(xe,function(e){return h("Program",e)}),c(Se,function(e){return{type:"FunctionDeclaration",id:f(e.name),params:e.argnames.map(f),body:h("BlockStatement",e)}}),c(Oe,function(e){return{type:"FunctionExpression",id:f(e.name),params:e.argnames.map(f),body:h("BlockStatement",e)}}),c(ce,function(e){return{type:"ExpressionStatement",expression:{type:"Literal",value:e.value}}}),c(fe,function(e){return{type:"ExpressionStatement",expression:f(e.body)}}),c(Ne,function(e){return{type:"SwitchCase",test:f(e.expression),consequent:e.body.map(f)}}),c(ze,function(e){return{type:"TryStatement",block:p(e),handler:f(e.bcatch),guardedHandlers:[],finalizer:f(e.bfinally)}}),c(Ie,function(e){return{type:"CatchClause",param:f(e.argname),guard:null,body:p(e)}}),c(Ve,function(e){return{type:"VariableDeclaration",kind:"var",declarations:e.definitions.map(f)}}),c(Ye,function(e){return{type:"SequenceExpression",expressions:e.expressions.map(f)}}),c(We,function(e){var t=e instanceof Ze;return{type:"MemberExpression",object:f(e.expression),computed:t,property:t?f(e.property):{type:"Identifier",name:e.property}}}),c(Je,function(e){return{type:"++"==e.operator||"--"==e.operator?"UpdateExpression":"UnaryExpression",operator:e.operator,prefix:e instanceof Xe,argument:f(e.expression)}}),c(tt,function(e){return{type:"&&"==e.operator||"||"==e.operator?"LogicalExpression":"BinaryExpression",left:f(e.left),operator:e.operator,right:f(e.right)}}),c(it,function(e){return{type:"ArrayExpression",elements:e.elements.map(f)}}),c(ot,function(e){return{type:"ObjectExpression",properties:e.properties.map(f)}}),c(at,function(e){var t,n={type:"Literal",value:e.key instanceof J?e.key.name:e.key};return e instanceof st?t="init":e instanceof Z?t="get":e instanceof Q&&(t="set"),{type:"Property",kind:t,key:n,value:f(e.value)}}),c(ut,function(e){var t=e.definition();return{type:"Identifier",name:t?t.mangled_name||t.name:e.name}}),c(_t,function(e){var t=e.value;return{type:"Literal",value:t,raw:t.toString(),regex:{pattern:t.source,flags:t.toString().match(/[gimuy]*$/)[0]}}}),c(vt,function(e){var t=e.value;return"number"==typeof t&&(t<0||0===t&&1/t<0)?{type:"UnaryExpression",operator:"-",prefix:!0,argument:{type:"Literal",value:-t,raw:e.start.raw}}:{type:"Literal",value:t,raw:e.start.raw}}),c(a,function(e){return{type:"Identifier",name:String(e.value)}}),kt.DEFMETHOD("to_mozilla_ast",vt.prototype.to_mozilla_ast),wt.DEFMETHOD("to_mozilla_ast",vt.prototype.to_mozilla_ast),xt.DEFMETHOD("to_mozilla_ast",function(){return null}),pe.DEFMETHOD("to_mozilla_ast",he.prototype.to_mozilla_ast),Ce.DEFMETHOD("to_mozilla_ast",Oe.prototype.to_mozilla_ast);var o=null;function l(e){o.push(e);var t=null!=e?r[e.type](e):null;return o.pop(),t}function c(e,i){e.DEFMETHOD("to_mozilla_ast",function(){return t=i(e=this),n=e.start,r=e.end,null!=n.pos&&null!=r.endpos&&(t.range=[n.pos,r.endpos]),n.line&&(t.loc={start:{line:n.line,column:n.col},end:r.endline?{line:r.endline,column:r.endcol}:null},n.file&&(t.loc.source=n.file)),t;var e,t,n,r})}function f(e){return null!=e?e.to_mozilla_ast():null}function p(e){return{type:"BlockStatement",body:e.body.map(f)}}function h(e,t){var n=t.body.map(f);return t.body[0]instanceof fe&&t.body[0].body instanceof bt&&n.unshift(f(new de(t.body[0]))),{type:e,body:n}}se.from_mozilla_ast=function(e){var t=o;o=[];var n=l(e);return o=t,n}}();var _="undefined"==typeof atob?function(e){return new l(e,"base64").toString()}:atob,w="undefined"==typeof btoa?function(e){return new l(e).toString("base64")}:btoa;function E(t,n,e){n[t]&&e.forEach(function(e){n[e]&&("object"!=typeof n[e]&&(n[e]={}),t in n[e]||(n[e][t]=n[t]))})}function A(e){e&&("props"in e?e.props instanceof R||(e.props=R.fromObject(e.props)):e.props=new R)}function x(e){return{props:e.props.toObject()}}d.Dictionary=R,d.TreeWalker=Dt,d.TreeTransformer=Wt,d.minify=function(e,t){var n,r,i=se.warn_function;try{var o,a=(t=K(t,{compress:{},ie8:!1,keep_fnames:!1,mangle:{},nameCache:null,output:{},parse:{},rename:void 0,sourceMap:!1,timings:!1,toplevel:!1,warnings:!1,wrap:!1},!0)).timings&&{start:Date.now()};void 0===t.rename&&(t.rename=t.compress&&t.mangle),E("ie8",t,["compress","mangle","output"]),E("keep_fnames",t,["compress","mangle"]),E("toplevel",t,["compress","mangle"]),E("warnings",t,["compress"]),t.mangle&&(t.mangle=K(t.mangle,{cache:t.nameCache&&(t.nameCache.vars||{}),eval:!1,ie8:!1,keep_fnames:!1,properties:!1,reserved:[],toplevel:!1},!0),t.mangle.properties&&("object"!=typeof t.mangle.properties&&(t.mangle.properties={}),t.mangle.properties.keep_quoted&&(o=t.mangle.properties.reserved,Array.isArray(o)||(o=[]),t.mangle.properties.reserved=o),!t.nameCache||"cache"in t.mangle.properties||(t.mangle.properties.cache=t.nameCache.props||{})),A(t.mangle.cache),A(t.mangle.properties.cache)),t.sourceMap&&(t.sourceMap=K(t.sourceMap,{content:null,filename:null,includeSources:!1,root:null,url:null},!0));var s,u=[];if(t.warnings&&!se.warn_function&&(se.warn_function=function(e){u.push(e)}),a&&(a.parse=Date.now()),e instanceof xe)s=e;else{for(var l in"string"==typeof e&&(e=[e]),t.parse=t.parse||{},t.parse.toplevel=null,e)if(ae(e,l)&&(t.parse.filename=l,t.parse.toplevel=Yt(e[l],t.parse),t.sourceMap&&"inline"==t.sourceMap.content)){if(1
-
HTML Minifier (v3.5.11)
+
HTML Minifier (v3.5.12)
diff --git a/package.json b/package.json
index 8c3cb9bb..ddae2d88 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "html-minifier",
"description": "Highly configurable, well-tested, JavaScript-based HTML minifier.",
- "version": "3.5.11",
+ "version": "3.5.12",
"keywords": [
"cli",
"compress",