":r=n>o;break;case">=":r=n>=o;break;default:return this}return isNaN(r)&&e.find_parent(Ne)?this:r})),e(Ot,(function(e,t){var n=this.condition._eval(e,t);if(n===this.condition)return this;var i=n?this.consequent:this.alternative,r=i._eval(e,t);return r===i?this:r})),e(an,(function(e,t){var n,i=this.fixed_value();if(!i)return this;if(D(i,"_eval"))n=i._eval();else{if(this._eval=c,n=i._eval(e,t),delete this._eval,n===i)return this;i._eval=function(){return n}}if(n&&"object"==typeof n){var r=this.definition().escaped;if(r&&t>r)return this}return n}));var r={Array:Array,Math:Math,Number:Number,Object:Object,String:String},o=Ui({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]});e(St,(function(e,t){if(e.option("unsafe")){var n=this.property;if(n instanceof de&&(n=n._eval(e,t))===this.property)return this;var i,a=this.expression;if(Ci(a)){var s,u="hasOwnProperty"===a.name&&"call"===n&&(s=e.parent()&&e.parent().args)&&s&&s[0]&&s[0].evaluate(e);if(null==(u=u instanceof vt?u.expression:u)||u.thedef&&u.thedef.undeclared)return this.clone();var c=o.get(a.name);if(!c||!c.has(n))return this;i=r[a.name]}else{if(!(i=a._eval(e,t+1))||i===a||!D(i,n))return this;if("function"==typeof i)switch(n){case"name":return i.node.name?i.node.name.name:"";case"length":return i.node.argnames.length;default:return this}}return i[n]}return this})),e(Et,(function(e,t){var n=this.expression;if(e.option("unsafe")&&n instanceof St){var i,o=n.property;if(o instanceof de&&(o=o._eval(e,t))===n.property)return this;var a=n.expression;if(Ci(a)){var s="hasOwnProperty"===a.name&&"call"===o&&this.args[0]&&this.args[0].evaluate(e);if(null==(s=s instanceof vt?s.expression:s)||s.thedef&&s.thedef.undeclared)return this.clone();var u=Xi.get(a.name);if(!u||!u.has(o))return this;i=r[a.name]}else{if((i=a._eval(e,t+1))===a||!i)return this;var c=Hi.get(i.constructor.name);if(!c||!c.has(o))return this}for(var l=[],f=0,p=this.args.length;f=":return r.operator="<",r;case">":return r.operator="<=",r}switch(o){case"==":return r.operator="!=",r;case"!=":return r.operator="==",r;case"===":return r.operator="!==",r;case"!==":return r.operator="===",r;case"&&":return r.operator="||",r.left=r.left.negate(e,i),r.right=r.right.negate(e),n(this,r,i);case"||":return r.operator="&&",r.left=r.left.negate(e,i),r.right=r.right.negate(e),n(this,r,i);case"??":return r.right=r.right.negate(e),n(this,r,i)}return t(this)}))}((function(e,t){e.DEFMETHOD("negate",(function(e,n){return t.call(this,e,n)}))}));var zi=E("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");Et.DEFMETHOD("is_expr_pure",(function(e){if(e.option("unsafe")){var t=this.expression,n=this.args&&this.args[0]&&this.args[0].evaluate(e);if(t.expression&&"hasOwnProperty"===t.expression.name&&(null==n||n.thedef&&n.thedef.undeclared))return!1;if(Ci(t)&&zi.has(t.name))return!0;let i;if(t instanceof vt&&Ci(t.expression)&&(i=Xi.get(t.expression.name))&&i.has(t.property))return!0}return!!b(this,wn)||!e.pure_funcs(this)})),de.DEFMETHOD("is_call_pure",s),vt.DEFMETHOD("is_call_pure",(function(e){if(!e.option("unsafe"))return;const t=this.expression;let n;return t instanceof Rt?n=Hi.get("Array"):t.is_boolean()?n=Hi.get("Boolean"):t.is_number(e)?n=Hi.get("Number"):t instanceof hn?n=Hi.get("RegExp"):t.is_string(e)?n=Hi.get("String"):this.may_throw_on_access(e)||(n=Hi.get("Object")),n&&n.has(this.property)}));const Wi=new Set(["Number","String","Array","Object","Function","Promise"]);function Yi(e){return e&&e.aborts()}!function(e){function t(e,t){for(var n=e.length;--n>=0;)if(e[n].has_side_effects(t))return!0;return!1}e(de,u),e(Te,s),e(pn,s),e(ln,s),e(ve,(function(e){return t(this.body,e)})),e(Et,(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(nt,(function(e){return this.expression.has_side_effects(e)||t(this.body,e)})),e(ot,(function(e){return this.expression.has_side_effects(e)||t(this.body,e)})),e(at,(function(e){return t(this.body,e)||this.bcatch&&this.bcatch.has_side_effects(e)||this.bfinally&&this.bfinally.has_side_effects(e)})),e(tt,(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(be,(function(e){return this.body.has_side_effects(e)})),e(ge,(function(e){return this.body.has_side_effects(e)})),e(Pe,s),e(Pt,(function(e){return!(!this.extends||!this.extends.has_side_effects(e))||t(this.properties,e)})),e(Ct,(function(e){return this.left.has_side_effects(e)||this.right.has_side_effects(e)})),e(Ft,u),e(Ot,(function(e){return this.condition.has_side_effects(e)||this.consequent.has_side_effects(e)||this.alternative.has_side_effects(e)})),e(Tt,(function(e){return Li.has(this.operator)||this.expression.has_side_effects(e)})),e(an,(function(e){return!this.is_declared(e)&&!Wi.has(this.name)})),e(Zt,s),e(Ht,s),e(wt,(function(e){return t(this.properties,e)})),e(xt,(function(e){return this.computed_key()&&this.key.has_side_effects(e)||this.value.has_side_effects(e)})),e(Vt,(function(e){return this.computed_key()&&this.key.has_side_effects(e)||this.static&&this.value&&this.value.has_side_effects(e)})),e(Lt,(function(e){return this.computed_key()&&this.key.has_side_effects(e)})),e(It,(function(e){return this.computed_key()&&this.key.has_side_effects(e)})),e(kt,(function(e){return this.computed_key()&&this.key.has_side_effects(e)})),e(Rt,(function(e){return t(this.elements,e)})),e(vt,(function(e){return this.expression.may_throw_on_access(e)||this.expression.has_side_effects(e)})),e(At,(function(e){return this.expression.may_throw_on_access(e)||this.expression.has_side_effects(e)||this.property.has_side_effects(e)})),e(Dt,(function(e){return t(this.expressions,e)})),e(ct,(function(e){return t(this.definitions,e)})),e(_t,(function(){return this.value})),e(ze,s),e(Xe,(function(e){return t(this.segments,e)}))}((function(e,t){e.DEFMETHOD("has_side_effects",t)})),function(e){function t(e,t){for(var n=e.length;--n>=0;)if(e[n].may_throw(t))return!0;return!1}e(de,u),e(pn,s),e(Te,s),e(Pe,s),e(Ht,s),e(ln,s),e(Pt,(function(e){return!(!this.extends||!this.extends.may_throw(e))||t(this.properties,e)})),e(Rt,(function(e){return t(this.elements,e)})),e(Ft,(function(e){return!!this.right.may_throw(e)||!(!e.has_directive("use strict")&&"="==this.operator&&this.left instanceof an)&&this.left.may_throw(e)})),e(Ct,(function(e){return this.left.may_throw(e)||this.right.may_throw(e)})),e(ve,(function(e){return t(this.body,e)})),e(Et,(function(e){return!!t(this.args,e)||!this.is_expr_pure(e)&&(!!this.expression.may_throw(e)||(!(this.expression instanceof Pe)||t(this.expression.body,e)))})),e(ot,(function(e){return this.expression.may_throw(e)||t(this.body,e)})),e(Ot,(function(e){return this.condition.may_throw(e)||this.consequent.may_throw(e)||this.alternative.may_throw(e)})),e(ct,(function(e){return t(this.definitions,e)})),e(vt,(function(e){return this.expression.may_throw_on_access(e)||this.expression.may_throw(e)})),e(tt,(function(e){return this.condition.may_throw(e)||this.body&&this.body.may_throw(e)||this.alternative&&this.alternative.may_throw(e)})),e(be,(function(e){return this.body.may_throw(e)})),e(wt,(function(e){return t(this.properties,e)})),e(xt,(function(e){return this.value.may_throw(e)})),e(Vt,(function(e){return this.computed_key()&&this.key.may_throw(e)||this.static&&this.value&&this.value.may_throw(e)})),e(Lt,(function(e){return this.computed_key()&&this.key.may_throw(e)})),e(It,(function(e){return this.computed_key()&&this.key.may_throw(e)})),e(kt,(function(e){return this.computed_key()&&this.key.may_throw(e)})),e(qe,(function(e){return this.value&&this.value.may_throw(e)})),e(Dt,(function(e){return t(this.expressions,e)})),e(ge,(function(e){return this.body.may_throw(e)})),e(At,(function(e){return this.expression.may_throw_on_access(e)||this.expression.may_throw(e)||this.property.may_throw(e)})),e(nt,(function(e){return this.expression.may_throw(e)||t(this.body,e)})),e(an,(function(e){return!this.is_declared(e)&&!Wi.has(this.name)})),e(Zt,s),e(at,(function(e){return this.bcatch?this.bcatch.may_throw(e):t(this.body,e)||this.bfinally&&this.bfinally.may_throw(e)})),e(Tt,(function(e){return!("typeof"==this.operator&&this.expression instanceof an)&&this.expression.may_throw(e)})),e(_t,(function(e){return!!this.value&&this.value.may_throw(e)}))}((function(e,t){e.DEFMETHOD("may_throw",t)})),function(e){function t(e){let t=!0;return Cn(this,n=>{if(n instanceof an){if(oi(this,16))return t=!1,Fn;var r=n.definition();if(i(r,this.enclosed)&&!this.variables.has(r.name)){if(e){var o=e.find_variable(n);if(r.undeclared?!o:o===r)return t="f",!0}return t=!1,Fn}return!0}if(n instanceof ln&&this instanceof Ke)return t=!1,Fn}),t}e(de,s),e(pn,u),e(Pt,(function(e){if(this.extends&&!this.extends.is_constant_expression(e))return!1;for(const t of this.properties){if(t.computed_key()&&!t.key.is_constant_expression(e))return!1;if(t.static&&t.value&&!t.value.is_constant_expression(e))return!1}return t.call(this,e)})),e(Pe,t),e(Tt,(function(){return this.expression.is_constant_expression()})),e(Ct,(function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()})),e(Rt,(function(){return this.elements.every(e=>e.is_constant_expression())})),e(wt,(function(){return this.properties.every(e=>e.is_constant_expression())})),e(xt,(function(){return!(this.key instanceof de)&&this.value.is_constant_expression()}))}((function(e,t){e.DEFMETHOD("is_constant_expression",t)})),function(e){function t(){for(var e=0;e{if(e instanceof Ht){const n=e.definition();!t&&!n.global||o.has(n.id)||o.set(n.id,n)}}),n.value){if(n.name instanceof Ge)n.walk(_);else{var r=n.name.definition();g(c,r.id,n.value),r.chained||n.name.fixed_value()!==n.value||a.set(r.id,n)}n.value.has_side_effects(e)&&n.value.walk(_)}})),!0}return h(r,s)}}));t.walk(_),_=new Mn(h),o.forEach((function(e){var t=c.get(e.id);t&&t.forEach((function(e){e.walk(_)}))}));var d=new Rn((function(s,c,_){var h=d.parent();if(i){const e=r(s);if(e instanceof an){var E=e.definition(),g=o.has(E.id);if(s instanceof Ft){if(!g||a.has(E.id)&&a.get(E.id)!==s)return Di(h,s,s.right.transform(d))}else if(!g)return _?f.skip:p(dn,s,{value:0})}}if(l===t){if(s.name&&(s instanceof Kt&&!S(e.option("keep_classnames"),(E=s.name.definition()).name)||s instanceof Be&&!S(e.option("keep_fnames"),(E=s.name.definition()).name))&&(!o.has(E.id)||E.orig.length>1)&&(s.name=null),s instanceof Pe&&!(s instanceof Ve))for(var D=!e.option("keep_fargs"),v=s.argnames,A=v.length;--A>=0;){var T=v[A];T instanceof Le&&(T=T.expression),T instanceof Mt&&(T=T.left),T instanceof Ge||o.has(T.definition().id)?D=!1:(ai(T,1),D&&(v.pop(),e[T.unreferenced()?"warn":"info"]("Dropping unused function argument {name} [{file}:{line},{col}]",R(T))))}if((s instanceof Ue||s instanceof Bt)&&s!==t){const t=s.name.definition();if(!(t.global&&!n||o.has(t.id))){if(e[s.name.unreferenced()?"warn":"info"]("Dropping unused function {name} [{file}:{line},{col}]",R(s.name)),t.eliminated++,s instanceof Bt){const t=s.drop_side_effect_free(e);if(t)return p(ge,s,{body:t})}return _?f.skip:p(Te,s)}}if(s instanceof ct&&!(h instanceof we&&h.init===s)){var y=!(h instanceof Ie||s instanceof lt),b=[],C=[],O=[],F=[];switch(s.definitions.forEach((function(t){t.value&&(t.value=t.value.transform(d));var n=t.name instanceof Ge,r=n?new Yn(null,{name:""}):t.name.definition();if(y&&r.global)return O.push(t);if(!i&&!y||n&&(t.name.names.length||t.name.is_array||1!=e.option("pure_getters"))||o.has(r.id)){if(t.value&&a.has(r.id)&&a.get(r.id)!==t&&(t.value=t.value.drop_side_effect_free(e)),t.name instanceof Xt){var c=u.get(r.id);if(c.length>1&&(!t.value||r.orig.indexOf(t.name)>r.eliminated)){if(e.warn("Dropping duplicated definition of variable {name} [{file}:{line},{col}]",R(t.name)),t.value){var l=p(an,t.name,t.name);r.references.push(l);var f=p(Ft,t,{operator:"=",left:l,right:t.value});a.get(r.id)===t&&a.set(r.id,f),F.push(f.transform(d))}return m(c,t),void r.eliminated++}}t.value?(F.length>0&&(O.length>0?(F.push(t.value),t.value=Ei(t.value,F)):b.push(p(ge,s,{body:Ei(s,F)})),F=[]),O.push(t)):C.push(t)}else if(r.orig[0]instanceof tn){(_=t.value&&t.value.drop_side_effect_free(e))&&F.push(_),t.value=null,C.push(t)}else{var _;(_=t.value&&t.value.drop_side_effect_free(e))?(n||e.warn("Side effects in initialization of unused variable {name} [{file}:{line},{col}]",R(t.name)),F.push(_)):n||e[t.name.unreferenced()?"warn":"info"]("Dropping unused variable {name} [{file}:{line},{col}]",R(t.name)),r.eliminated++}})),(C.length>0||O.length>0)&&(s.definitions=C.concat(O),b.push(s)),F.length>0&&b.push(p(ge,s,{body:Ei(s,F)})),b.length){case 0:return _?f.skip:p(Te,s);case 1:return b[0];default:return _?f.splice(b):p(Ae,s,{body:b})}}if(s instanceof Re)return c(s,this),s.init instanceof Ae&&(M=s.init,s.init=M.body.pop(),M.body.push(s)),s.init instanceof ge?s.init=s.init.body:Ai(s.init)&&(s.init=null),M?_?f.splice(M.body):M:s;if(s instanceof be&&s.body instanceof Re){if(c(s,this),s.body instanceof Ae){var M=s.body;return s.body=M.body.pop(),M.body.push(s),_?f.splice(M.body):M}return s}if(s instanceof Ae)return c(s,this),_&&s.body.every(Ti)?f.splice(s.body):s;if(s instanceof ke){const e=l;return l=s,c(s,this),l=e,s}}function R(e){return{name:e.name,file:e.start.file,line:e.start.line,col:e.start.col}}}));function h(e,n){var i;const s=r(e);if(s instanceof an&&!di(e.left,zt)&&t.variables.get(s.name)===(i=s.definition()))return e instanceof Ft&&(e.right.walk(_),i.chained||e.left.fixed_value()!==e.right||a.set(i.id,e)),!0;if(e instanceof an){if(i=e.definition(),!o.has(i.id)&&(o.set(i.id,i),i.orig[0]instanceof tn)){const e=i.scope.is_block_scope()&&i.scope.get_defun_scope().variables.get(i.name);e&&o.set(e.id,e)}return!0}if(e instanceof ke){var u=l;return l=e,n(),l=u,!0}}t.transform(d)})),ke.DEFMETHOD("hoist_declarations",(function(e){var t=this;if(e.has_directive("use asm"))return t;if(!Array.isArray(t.body))return t;var n=e.option("hoist_funs"),i=e.option("hoist_vars");if(n||i){var r=[],o=[],a=new Map,s=0,u=0;Cn(t,e=>e instanceof ke&&e!==t||(e instanceof lt?(++u,!0):void 0)),i=i&&u>1;var c=new Rn((function(u){if(u!==t){if(u instanceof Ee)return r.push(u),p(Te,u);if(n&&u instanceof Ue&&!(c.parent()instanceof ht)&&c.parent()===t)return o.push(u),p(Te,u);if(i&&u instanceof lt){u.definitions.forEach((function(e){e.name instanceof Ge||(a.set(e.name.name,e),++s)}));var l=u.to_assignments(e),f=c.parent();if(f instanceof we&&f.init===u){if(null==l){var _=u.definitions[0].name;return p(an,_,_)}return l}return f instanceof Re&&f.init===u?l:l?p(ge,u,{body:l}):p(Te,u)}if(u instanceof ke)return u}}));if(t=t.transform(c),s>0){var l=[];const e=t instanceof Pe,n=e?t.args_as_names():null;if(a.forEach((t,i)=>{e&&n.some(e=>e.name===t.name.name)?a.delete(i):((t=t.clone()).value=null,l.push(t),a.set(i,t))}),l.length>0){for(var f=0;f"string"==typeof e.key)){a(o,this);const e=new Map,t=[];return c.properties.forEach((function(n){t.push(p(_t,o,{name:s(r,n.key,e),value:n.value}))})),i.set(u.id,e),f.splice(t)}}else if(o instanceof St&&o.expression instanceof an){const e=i.get(o.expression.definition().id);if(e){const t=e.get(String(Ni(o.property))),n=p(an,o,{name:t.name,scope:o.expression.scope,thedef:t});return n.reference({}),n}}function s(e,n,i){const r=p(e.CTOR,e,{name:t.make_var_name(e.name+"_"+n),scope:t}),o=t.def_variable(r);return i.set(String(n),o),t.enclosed.push(o),r}}));return t.transform(r)})),function(e){function t(e,t,n){var i=e.length;if(!i)return null;for(var r=[],o=!1,a=0;a0&&(u[0].body=s.concat(u[0].body)),e.body=u;n=u[u.length-1];){var d=n.body[n.body.length-1];if(d instanceof Ze&&t.loopcontrol_target(d)===e&&n.body.pop(),n.body.length||n instanceof ot&&(o||n.expression.has_side_effects(t)))break;u.pop()===o&&(o=null)}if(0==u.length)return p(Ae,e,{body:s.concat(p(ge,e.expression,{body:e.expression}))}).optimize(t);if(1==u.length&&(u[0]===a||u[0]===o)){var m=!1,h=new Mn((function(t){if(m||t instanceof Pe||t instanceof ge)return!0;t instanceof Ze&&h.loopcontrol_target(t)===e&&(m=!0)}));if(e.walk(h),!m){var E,g=u[0].body.slice();return(E=u[0].expression)&&g.unshift(p(ge,E,{body:E})),g.unshift(p(ge,e.expression,{body:e.expression})),p(Ae,e,{body:g}).optimize(t)}}return e;function D(e,n){n&&!Yi(n)?n.body=n.body.concat(e.body):xi(t,e,s)}})),ci(at,(function(e,t){if(wi(e.body,t),e.bcatch&&e.bfinally&&e.bfinally.body.every(Ai)&&(e.bfinally=null),t.option("dead_code")&&e.body.every(Ai)){var n=[];return e.bcatch&&xi(t,e.bcatch,n),e.bfinally&&n.push(...e.bfinally.body),p(Ae,e,{body:n}).optimize(t)}return e})),ct.DEFMETHOD("remove_initializers",(function(){var e=[];this.definitions.forEach((function(t){t.name instanceof Ht?(t.value=null,e.push(t)):Cn(t.name,n=>{n instanceof Ht&&e.push(p(_t,t,{name:n,value:null}))})})),this.definitions=e})),ct.DEFMETHOD("to_assignments",(function(e){var t=e.option("reduce_vars"),n=this.definitions.reduce((function(e,n){if(!n.value||n.name instanceof Ge){if(n.value){var i=p(_t,n,{name:n.name,value:n.value}),r=p(lt,n,{definitions:[i]});e.push(r)}}else{var o=p(an,n.name,n.name);e.push(p(Ft,n,{operator:"=",left:o,right:n.value})),t&&(o.definition().fixed=!1)}return(n=n.name.definition()).eliminated++,n.replaced--,e}),[]);return 0==n.length?null:Ei(this,n)})),ci(ct,(function(e){return 0==e.definitions.length?p(Te,e):e})),ci(mt,(function(e){return e})),ci(Et,(function(e,t){var n=e.expression,i=n;cr(e,t,e.args);var r=e.args.every(e=>!(e instanceof Le));if(t.option("reduce_vars")&&i instanceof an&&!b(e,Nn)){const e=i.fixed_value();Ji(e,t)||(i=e)}var o=i instanceof Pe;if(t.option("unused")&&r&&o&&!i.uses_arguments&&!i.pinned()){for(var a=0,s=0,u=0,c=e.args.length;u=i.argnames.length;if(l||oi(i.argnames[u],1)){if(D=e.args[u].drop_side_effect_free(t))e.args[a++]=D;else if(!l){e.args[a++]=p(dn,e.args[u],{value:0});continue}}else e.args[a++]=e.args[u];s=a}e.args.length=s}if(t.option("unsafe"))if(Ci(n))switch(n.name){case"Array":if(1!=e.args.length)return p(Rt,e,{elements:e.args}).optimize(t);if(e.args[0]instanceof dn&&e.args[0].value<=11){const t=[];for(let n=0;n=1&&e.args.length<=2&&e.args.every(e=>{var n=e.evaluate(t);return f.push(n),e!==n})&&y(f[0])){let[n,i]=f;n=A(new RegExp(n).source);const r=p(hn,e,{value:{source:n,flags:i}});if(r._eval(t)!==r)return r;t.warn("Error converting {expr} [{file}:{line},{col}]",{expr:e.print_to_string(),file:e.start.file,line:e.start.line,col:e.start.col})}}else if(n instanceof vt)switch(n.property){case"toString":if(0==e.args.length&&!n.expression.may_throw_on_access(t))return p(Ct,e,{left:p(_n,e,{value:""}),operator:"+",right:n.expression}).optimize(t);break;case"join":if(n.expression instanceof Rt)e:{var _;if(!(e.args.length>0&&(_=e.args[0].evaluate(t))===e.args[0])){var d,m=[],h=[];for(u=0,c=n.expression.elements.length;u0&&(m.push(p(_n,e,{value:h.join(_)})),h.length=0),m.push(E))}return h.length>0&&m.push(p(_n,e,{value:h.join(_)})),0==m.length?p(_n,e,{value:""}):1==m.length?m[0].is_string(t)?m[0]:p(Ct,m[0],{operator:"+",left:p(_n,e,{value:""}),right:m[0]}):""==_?(d=m[0].is_string(t)||m[1].is_string(t)?m.shift():p(_n,e,{value:""}),m.reduce((function(e,t){return p(Ct,t,{operator:"+",left:e,right:t})}),d).optimize(t)):((D=e.clone()).expression=D.expression.clone(),D.expression.expression=D.expression.expression.clone(),D.expression.expression.elements=m,Ki(t,e,D));var D}}break;case"charAt":if(n.expression.is_string(t)){var S=e.args[0],v=S?S.evaluate(t):0;if(v!==S)return p(At,n,{expression:n.expression,property:gi(0|v,S||n)}).optimize(t)}break;case"apply":if(2==e.args.length&&e.args[1]instanceof Rt)return(P=e.args[1].elements.slice()).unshift(e.args[0]),p(Et,e,{expression:p(vt,n,{expression:n.expression,property:"call"}),args:P}).optimize(t);break;case"call":var T=n.expression;if(T instanceof an&&(T=T.fixed_value()),T instanceof Pe&&!T.contains_this())return(e.args.length?Ei(this,[e.args[0],p(Et,e,{expression:n.expression,args:e.args.slice(1)})]):p(Et,e,{expression:n.expression,args:[]})).optimize(t)}if(t.option("unsafe_Function")&&Ci(n)&&"Function"==n.name){if(0==e.args.length)return p(Be,e,{argnames:[],body:[]}).optimize(t);if(e.args.every(e=>e instanceof _n))try{var C=fe(R="n(function("+e.args.slice(0,-1).map((function(e){return e.value})).join(",")+"){"+e.args[e.args.length-1].value+"})"),O={ie8:t.option("ie8")};C.figure_out_scope(O);var F,M=new ui(t.options);(C=C.transform(M)).figure_out_scope(O),jn.reset(),C.compute_char_frequency(O),C.mangle_names(O),Cn(C,e=>{if(pi(e))return F=e,Fn});var R=Un();return Ae.prototype._codegen.call(F,F,R),e.args=[p(_n,e,{value:F.argnames.map((function(e){return e.print_to_string()})).join(",")}),p(_n,e.args[e.args.length-1],{value:R.get().replace(/^{|}$/g,"")})],e}catch(n){if(!(n instanceof te))throw n;t.warn("Error parsing code passed to new Function [{file}:{line},{col}]",e.args[e.args.length-1].start),t.warn(n.toString())}}var w=o&&i.body[0],x=o&&!i.is_generator&&!i.async,N=x&&t.option("inline")&&!e.is_expr_pure(t);if(N&&w instanceof qe){let n=w.value;if(!n||n.is_constant_expression()){n=n?n.clone(!0):p(Sn,e);const i=e.args.concat(n);return Ei(e,i).optimize(t)}if(1===i.argnames.length&&i.argnames[0]instanceof qt&&e.args.length<2&&n instanceof an&&n.name===i.argnames[0].name){let n;return e.args[0]instanceof St&&(n=t.parent())instanceof Et&&n.expression===e?Ei(e,[p(dn,e,{value:0}),e.args[0].optimize(t)]):(e.args[0]||p(Sn)).optimize(t)}}if(N){var k,I,L=-1;let o,a,s;if(r&&!i.uses_arguments&&!i.pinned()&&!(t.parent()instanceof Pt)&&!(i.name&&i instanceof Be)&&(a=function(e){var n=i.body,r=n.length;if(t.option("inline")<3)return 1==r&&B(e);e=null;for(var o=0;o!e.value))return!1}else{if(e)return!1;a instanceof Te||(e=a)}}return B(e)}(w))&&(n===i||b(e,xn)||t.option("unused")&&1==(o=n.definition()).references.length&&!er(t,o)&&i.is_constant_expression(n.scope))&&!b(e,wn|Nn)&&!i.contains_this()&&function(){var n=new Set;do{if((k=t.parent(++L)).is_block_scope()&&k.block_scope&&k.block_scope.variables.forEach((function(e){n.add(e.name)})),k instanceof st)k.argname&&n.add(k.argname.name);else if(k instanceof Ce)I=[];else if(k instanceof an&&k.fixed_value()instanceof ke)return!1}while(!(k instanceof ke));var r=!(k instanceof Ie)||t.toplevel.vars,o=t.option("inline");return!!function(e,t){for(var n=i.body.length,r=0;r=0;){var s=o.definitions[a].name;if(s instanceof Ge||e.has(s.name)||Mi.has(s.name)||k.var_names().has(s.name))return!1;I&&I.push(s.definition())}}}return!0}(n,o>=3&&r)&&(!!function(e,t){for(var n=0,r=i.argnames.length;n=2&&r)&&(!!function(){var t=new Set;const n=e=>{if(e instanceof ke){var n=new Set;return e.enclosed.forEach((function(e){n.add(e.name)})),e.variables.forEach((function(e){n.delete(e)})),n.forEach((function(e){t.add(e)})),!0}};for(let t=0;t=0;){var s=o.definitions[a].name;if(s instanceof Ge||t.has(s.name))return!1}}return!0}()&&(!I||0==I.length||!ir(i,I))))}()&&(s=mi(t))&&!tr(s,i)&&!function(){let e,n=0;for(;e=t.parent(n++);){if(e instanceof Mt)return!0;if(e instanceof ve)break}return!1}()&&!(k instanceof Pt))return ai(i,256),s.add_child_scope(i),Ei(e,function(n){var r=[],o=[];if(function(t,n){for(var r=i.argnames.length,o=e.args.length;--o>=r;)n.push(e.args[o]);for(o=r;--o>=0;){var a=i.argnames[o],s=e.args[o];if(oi(a,1)||!a.name||k.var_names().has(a.name))s&&n.push(s);else{var u=p(Xt,a,a);a.definition().orig.push(u),!s&&I&&(s=p(Sn,e)),K(t,n,u,s)}}t.reverse(),n.reverse()}(r,o),function(e,t){for(var n=t.length,r=0,o=i.body.length;re.name!=l.name)){var f=i.variables.get(l.name),_=p(an,l,l);f.references.push(_),t.splice(n++,0,p(Ft,c,{operator:"=",left:_,right:p(Sn,l)}))}}}}(r,o),o.push(n),r.length){const e=k.body.indexOf(t.parent(L-1))+1;k.body.splice(e,0,p(lt,i,{definitions:r}))}return o.map(e=>e.clone(!0))}(a)).optimize(t)}if(x&&t.option("side_effects")&&i.body.every(Ai)){var P=e.args.concat(p(Sn,e));return Ei(e,P).optimize(t)}if(t.option("negate_iife")&&t.parent()instanceof ge&&bi(e))return e.negate(t,!0);var V=e.evaluate(t);return V!==e?(V=gi(V,e).optimize(t),Ki(t,V,e)):e;function B(t){return t?t instanceof qe?t.value?t.value.clone(!0):p(Sn,e):t instanceof ge?p(yt,t,{operator:"void",expression:t.body.clone(!0)}):void 0:p(Sn,e)}function K(t,n,i,r){var o=i.definition();k.variables.set(i.name,o),k.enclosed.push(o),k.var_names().has(i.name)||(k.add_var_name(i.name),t.push(p(_t,i,{name:i,value:null})));var a=p(an,i,i);o.references.push(a),r&&n.push(p(Ft,e,{operator:"=",left:a,right:r.clone()}))}})),ci(gt,(function(e,t){return t.option("unsafe")&&Ci(e.expression)&&["Object","RegExp","Function","Error","Array"].includes(e.expression.name)?p(Et,e,e).transform(t):e})),ci(Dt,(function(e,t){if(!t.option("side_effects"))return e;var n,i,r=[];n=Pn(t),i=e.expressions.length-1,e.expressions.forEach((function(e,o){o0&&ki(r[o],t);)o--;o0)return(n=this.clone()).right=Ei(this.right,t.slice(o)),(t=t.slice(0,o)).push(n),Ei(this,t).optimize(e)}}return this}));var Qi=E("== === != !== * & | ^");function er(e,t){for(var n,i=0;n=e.parent(i);i++)if(n instanceof Pe||n instanceof Pt){var r=n.name;if(r&&r.definition()===t)break}return n}function tr(e,t){for(const n of t.enclosed){if(t.variables.has(n.name))continue;const i=e.find_variable(n.name);if(i){if(i===n)continue;return!0}}return!1}function nr(e,t){return e instanceof an||e.TYPE===t.TYPE}function ir(e,t){const n=e=>{if(e instanceof an&&i(e.definition(),t))return Fn};return On(e,(t,i)=>{if(t instanceof ke&&t!==e){var r=i.parent();if(r instanceof Et&&r.expression===t)return;return!Cn(t,n)||Fn}})}ci(Ct,(function(e,t){function n(){return e.left.is_constant()||e.right.is_constant()||!e.left.has_side_effects(t)&&!e.right.has_side_effects(t)}function i(t){if(n()){t&&(e.operator=t);var i=e.left;e.left=e.right,e.right=i}}if(Qi.has(e.operator)&&e.right.is_constant()&&!e.left.is_constant()&&(e.left instanceof Ct&&ce[e.left.operator]>=ce[e.operator]||i()),e=e.lift_sequences(t),t.option("comparisons"))switch(e.operator){case"===":case"!==":var r=!0;(e.left.is_string(t)&&e.right.is_string(t)||e.left.is_number(t)&&e.right.is_number(t)||e.left.is_boolean()&&e.right.is_boolean()||e.left.equivalent_to(e.right))&&(e.operator=e.operator.substr(0,2));case"==":case"!=":if(!r&&ki(e.left,t))e.left=p(gn,e.left);else if(t.option("typeofs")&&e.left instanceof _n&&"undefined"==e.left.value&&e.right instanceof yt&&"typeof"==e.right.operator){var o=e.right.expression;(o instanceof an?!o.is_declared(t):o instanceof St&&t.option("ie8"))||(e.right=o,e.left=p(Sn,e.left).optimize(t),2==e.operator.length&&(e.operator+="="))}else if(e.left instanceof an&&e.right instanceof an&&e.left.definition()===e.right.definition()&&((u=e.left.fixed_value())instanceof Rt||u instanceof Pe||u instanceof wt||u instanceof Pt))return p("="==e.operator[0]?bn:yn,e);break;case"&&":case"||":var a=e.left;if(a.operator==e.operator&&(a=a.right),a instanceof Ct&&a.operator==("&&"==e.operator?"!==":"===")&&e.right instanceof Ct&&a.operator==e.right.operator&&(ki(a.left,t)&&e.right.left instanceof gn||a.left instanceof gn&&ki(e.right.left,t))&&!a.right.has_side_effects(t)&&a.right.equivalent_to(e.right.right)){var s=p(Ct,e,{operator:a.operator.slice(0,-1),left:p(gn,e),right:a.right});return a!==e.left&&(s=p(Ct,e,{operator:e.operator,left:e.left.left,right:s})),s}}var u;if("+"==e.operator&&t.in_boolean_context()){var c=e.left.evaluate(t),l=e.right.evaluate(t);if(c&&"string"==typeof c)return t.warn("+ in boolean context always true [{file}:{line},{col}]",e.start),Ei(e,[e.right,p(bn,e)]).optimize(t);if(l&&"string"==typeof l)return t.warn("+ in boolean context always true [{file}:{line},{col}]",e.start),Ei(e,[e.left,p(bn,e)]).optimize(t)}if(t.option("comparisons")&&e.is_boolean()){if(!(t.parent()instanceof Ct)||t.parent()instanceof Ft){var f=p(yt,e,{operator:"!",expression:e.negate(t,Pn(t))});e=Ki(t,e,f)}if(t.option("unsafe_comps"))switch(e.operator){case"<":i(">");break;case"<=":i(">=")}}if("+"==e.operator){if(e.right instanceof _n&&""==e.right.getValue()&&e.left.is_string(t))return e.left;if(e.left instanceof _n&&""==e.left.getValue()&&e.right.is_string(t))return e.right;if(e.left instanceof Ct&&"+"==e.left.operator&&e.left.left instanceof _n&&""==e.left.left.getValue()&&e.right.is_string(t))return e.left=e.left.right,e.transform(t)}if(t.option("evaluate")){switch(e.operator){case"&&":if(!(c=!!oi(e.left,2)||!oi(e.left,4)&&e.left.evaluate(t)))return t.warn("Condition left of && always false [{file}:{line},{col}]",e.start),Di(t.parent(),t.self(),e.left).optimize(t);if(!(c instanceof de))return t.warn("Condition left of && always true [{file}:{line},{col}]",e.start),Ei(e,[e.left,e.right]).optimize(t);if(l=e.right.evaluate(t)){if(!(l instanceof de)){if("&&"==(_=t.parent()).operator&&_.left===t.self()||t.in_boolean_context())return t.warn("Dropping side-effect-free && [{file}:{line},{col}]",e.start),e.left.optimize(t)}}else{if(t.in_boolean_context())return t.warn("Boolean && always false [{file}:{line},{col}]",e.start),Ei(e,[e.left,p(yn,e)]).optimize(t);ai(e,4)}if("||"==e.left.operator)if(!(d=e.left.right.evaluate(t)))return p(Ot,e,{condition:e.left.left,consequent:e.right,alternative:e.left.right}).optimize(t);break;case"||":var _,d;if(!(c=!!oi(e.left,2)||!oi(e.left,4)&&e.left.evaluate(t)))return t.warn("Condition left of || always false [{file}:{line},{col}]",e.start),Ei(e,[e.left,e.right]).optimize(t);if(!(c instanceof de))return t.warn("Condition left of || always true [{file}:{line},{col}]",e.start),Di(t.parent(),t.self(),e.left).optimize(t);if(l=e.right.evaluate(t)){if(!(l instanceof de)){if(t.in_boolean_context())return t.warn("Boolean || always true [{file}:{line},{col}]",e.start),Ei(e,[e.left,p(bn,e)]).optimize(t);ai(e,2)}}else if("||"==(_=t.parent()).operator&&_.left===t.self()||t.in_boolean_context())return t.warn("Dropping side-effect-free || [{file}:{line},{col}]",e.start),e.left.optimize(t);if("&&"==e.left.operator)if((d=e.left.right.evaluate(t))&&!(d instanceof de))return p(Ot,e,{condition:e.left.left,consequent:e.left.right,alternative:e.right}).optimize(t);break;case"??":if(ar(e.left))return e.right;if(!((c=e.left.evaluate(t))instanceof de))return null==c?e.right:e.left;if(t.in_boolean_context()){const n=e.right.evaluate(t);if(!(n instanceof de||n))return e.left}}var m=!0;switch(e.operator){case"+":if(e.left instanceof pn&&e.right instanceof Ct&&"+"==e.right.operator&&e.right.is_string(t)){var h=(g=p(Ct,e,{operator:"+",left:e.left,right:e.right.left})).optimize(t);g!==h&&(e=p(Ct,e,{operator:"+",left:h,right:e.right.right}))}if(e.right instanceof pn&&e.left instanceof Ct&&"+"==e.left.operator&&e.left.is_string(t)){var E=(g=p(Ct,e,{operator:"+",left:e.left.right,right:e.right})).optimize(t);g!==E&&(e=p(Ct,e,{operator:"+",left:e.left.left,right:E}))}if(e.left instanceof Ct&&"+"==e.left.operator&&e.left.is_string(t)&&e.right instanceof Ct&&"+"==e.right.operator&&e.right.is_string(t)){var g,D=(g=p(Ct,e,{operator:"+",left:e.left.right,right:e.right.left})).optimize(t);g!==D&&(e=p(Ct,e,{operator:"+",left:p(Ct,e.left,{operator:"+",left:e.left.left,right:D}),right:e.right.right}))}if(e.right instanceof yt&&"-"==e.right.operator&&e.left.is_number(t)){e=p(Ct,e,{operator:"-",left:e.left,right:e.right.expression});break}if(e.left instanceof yt&&"-"==e.left.operator&&n()&&e.right.is_number(t)){e=p(Ct,e,{operator:"-",left:e.right,right:e.left.expression});break}if(e.left instanceof Xe){h=e.left;if((E=e.right.evaluate(t))!=e.right)return h.segments[h.segments.length-1].value+=E.toString(),h}if(e.right instanceof Xe){E=e.right;if((h=e.left.evaluate(t))!=e.left)return E.segments[0].value=h.toString()+E.segments[0].value,E}if(e.left instanceof Xe&&e.right instanceof Xe){var S=(h=e.left).segments;E=e.right;S[S.length-1].value+=E.segments[0].value;for(var v=1;v=ce[e.operator])){var A=p(Ct,e,{operator:e.operator,left:e.right,right:e.left});e=e.right instanceof pn&&!(e.left instanceof pn)?Ki(t,A,e):Ki(t,e,A)}m&&e.is_number(t)&&(e.right instanceof Ct&&e.right.operator==e.operator&&(e=p(Ct,e,{operator:e.operator,left:p(Ct,e.left,{operator:e.operator,left:e.left,right:e.right.left,start:e.left.start,end:e.right.left.end}),right:e.right.right})),e.right instanceof pn&&e.left instanceof Ct&&e.left.operator==e.operator&&(e.left.left instanceof pn?e=p(Ct,e,{operator:e.operator,left:p(Ct,e.left,{operator:e.operator,left:e.left.left,right:e.right,start:e.left.left.start,end:e.right.end}),right:e.left.right}):e.left.right instanceof pn&&(e=p(Ct,e,{operator:e.operator,left:p(Ct,e.left,{operator:e.operator,left:e.left.right,right:e.right,start:e.left.right.start,end:e.right.end}),right:e.left.left}))),e.left instanceof Ct&&e.left.operator==e.operator&&e.left.right instanceof pn&&e.right instanceof Ct&&e.right.operator==e.operator&&e.right.left instanceof pn&&(e=p(Ct,e,{operator:e.operator,left:p(Ct,e.left,{operator:e.operator,left:p(Ct,e.left.left,{operator:e.operator,left:e.left.right,right:e.right.left,start:e.left.right.start,end:e.right.left.end}),right:e.left.left}),right:e.right.right})))}}if(e.right instanceof Ct&&e.right.operator==e.operator&&(Ii.has(e.operator)||"+"==e.operator&&(e.right.left.is_string(t)||e.left.is_string(t)&&e.right.right.is_string(t))))return e.left=p(Ct,e.left,{operator:e.operator,left:e.left,right:e.right.left}),e.right=e.right.right,e.transform(t);var T=e.evaluate(t);return T!==e?(T=gi(T,e).optimize(t),Ki(t,T,e)):e})),ci(sn,(function(e){return e})),ci(an,(function(e,t){if(!t.option("ie8")&&Ci(e)&&(!e.scope.uses_with||!t.find_parent(Ne)))switch(e.name){case"undefined":return p(Sn,e).optimize(t);case"NaN":return p(Dn,e).optimize(t);case"Infinity":return p(An,e).optimize(t)}var n=t.parent();if(t.option("reduce_vars")&&Pi(e,n)!==e){const f=e.definition();if(t.top_retain&&f.global&&t.top_retain(f))return f.fixed=!1,f.should_replace=!1,f.single_use=!1,e;var i=e.fixed_value(),r=f.single_use&&!(n instanceof Et&&n.is_expr_pure(t)||b(n,Nn));if(r&&(i instanceof Pe||i instanceof Pt))if(Ji(i,t))r=!1;else if(f.scope!==e.scope&&(1==f.escaped||oi(i,16)||function(e){for(var t,n=0;t=e.parent(n++);){if(t instanceof me)return!1;if(t instanceof Rt||t instanceof Nt||t instanceof wt)return!0}return!1}(t)))r=!1;else if(er(t,f))r=!1;else if((f.scope!==e.scope||f.orig[0]instanceof qt)&&"f"==(r=i.is_constant_expression(e.scope))){var o=e.scope;do{(o instanceof Ue||pi(o))&&ai(o,16)}while(o=o.parent_scope)}if(r&&i instanceof Pe){const o=mi(t);r=f.scope===e.scope&&!tr(o,i)||n instanceof Et&&n.expression===e&&!tr(o,i)}if(r&&i instanceof Pt){r=(!i.extends||!i.extends.may_throw(t)&&!i.extends.has_side_effects(t))&&!i.properties.some(e=>e.may_throw(t)||e.has_side_effects(t))}if(r&&i){if(i instanceof Bt&&(ai(i,256),i=p(Kt,i,i)),i instanceof Ue&&(ai(i,256),i=p(Be,i,i)),f.recursive_refs>0&&i.name instanceof $t){const e=i.name.definition();let t=i.variables.get(i.name.name),n=t&&t.orig[0];n instanceof Jt||(n=p(Jt,i.name,i.name),n.scope=i,i.name=n,t=i.def_function(n)),Cn(i,n=>{n instanceof an&&n.definition()===e&&(n.thedef=t,t.references.push(n))})}return(i instanceof Pe||i instanceof Pt)&&mi(t).add_child_scope(i),i.optimize(t)}if(i&&void 0===f.should_replace){let e;if(i instanceof ln)f.orig[0]instanceof qt||!f.references.every(e=>f.scope===e.scope)||(e=i);else{var a=i.evaluate(t);a===i||!t.option("unsafe_regexp")&&a instanceof RegExp||(e=gi(a,i))}if(e){var s,u=e.optimize(t).size();Cn(i,e=>{if(e instanceof an)return Fn})?s=function(){var n=e.optimize(t);return n===e?n.clone(!0):n}:(u=Math.min(u,i.size()),s=function(){var n=Vi(e.optimize(t),i);return n===e||n===i?n.clone(!0):n});var c=f.name.length,l=0;t.option("unused")&&!t.exposed(f)&&(l=(c+2+u)/(f.references.length-f.assignments)),f.should_replace=u<=c+l&&s}else f.should_replace=!1}if(f.should_replace)return f.should_replace()}return e})),ci(Sn,(function(e,t){if(t.option("unsafe_undefined")){var n=hi(t,"undefined");if(n){var i=p(an,e,{name:"undefined",scope:n.scope,thedef:n});return ai(i,8),i}}var r=Pi(t.self(),t.parent());return r&&nr(r,e)?e:p(yt,e,{operator:"void",expression:p(dn,e,{value:0})})})),ci(An,(function(e,t){var n=Pi(t.self(),t.parent());return n&&nr(n,e)?e:!t.option("keep_infinity")||n&&!nr(n,e)||hi(t,"Infinity")?p(Ct,e,{operator:"/",left:p(dn,e,{value:1}),right:p(dn,e,{value:0})}):e})),ci(Dn,(function(e,t){var n=Pi(t.self(),t.parent());return n&&!nr(n,e)||hi(t,"NaN")?p(Ct,e,{operator:"/",left:p(dn,e,{value:0}),right:p(dn,e,{value:0})}):e}));const rr=E("+ - / * % >> << >>> | ^ &"),or=E("* | ^ &");function ar(e){let t;return e instanceof gn||ki(e)||e instanceof an&&(t=e.definition().fixed)instanceof de&&ar(t)}function sr(e,t){return e instanceof an&&(e=e.fixed_value()),!!e&&(!(e instanceof Pe||e instanceof Pt)||(!(e instanceof Pe&&e.contains_this())||t.parent()instanceof gt))}function ur(e,t){return t.in_boolean_context()?Ki(t,e,Ei(e,[e,p(bn,e)]).optimize(t)):e}function cr(e,t,n){for(var i=0;i0&&s.args.length==u.args.length&&s.expression.equivalent_to(u.expression)&&!e.condition.has_side_effects(t)&&!s.expression.has_side_effects(t)&&"number"==typeof(o=function(){for(var e=s.args,t=u.args,n=0,i=e.length;n=2020&&function(e,t,n){if(t.may_throw(n))return!1;let i;if(e instanceof Ct&&"=="===e.operator&&((i=ar(e.left)&&e.left)||(i=ar(e.right)&&e.right))&&(i===e.left?e.right:e.left).equivalent_to(t))return!0;if(e instanceof Ct&&"||"===e.operator){let n,i;const r=e=>{if(!(e instanceof Ct)||"==="!==e.operator&&"=="!==e.operator)return!1;let r,o=0;return e.left instanceof gn&&(o++,n=e,r=e.right),e.right instanceof gn&&(o++,n=e,r=e.left),ki(e.left)&&(o++,i=e,r=e.right),ki(e.right)&&(o++,i=e,r=e.left),1===o&&!!r.equivalent_to(t)};if(!r(e.left))return!1;if(!r(e.right))return!1;if(n&&i&&n!==i)return!0}return!1}(a,u,t))return p(Ct,e,{operator:"??",left:u,right:s}).optimize(t);if(u instanceof Dt&&s.equivalent_to(u.expressions[u.expressions.length-1]))return Ei(e,[p(Ct,e,{operator:"||",left:a,right:Ei(e,u.expressions.slice(0,-1))}),s]).optimize(t);if(u instanceof Ct&&"&&"==u.operator&&s.equivalent_to(u.right))return p(Ct,e,{operator:"&&",left:p(Ct,e,{operator:"||",left:a,right:u.left}),right:s}).optimize(t);if(s instanceof Ot&&s.alternative.equivalent_to(u))return p(Ot,e,{condition:p(Ct,e,{left:e.condition,operator:"&&",right:s.condition}),consequent:s.consequent,alternative:u});if(s.equivalent_to(u))return Ei(e,[e.condition,s]).optimize(t);if(s instanceof Ct&&"||"==s.operator&&s.right.equivalent_to(u))return p(Ct,e,{operator:"||",left:p(Ct,e,{operator:"&&",left:e.condition,right:s.left}),right:u}).optimize(t);var l=t.in_boolean_context();return _(e.consequent)?d(e.alternative)?f(e.condition):p(Ct,e,{operator:"||",left:f(e.condition),right:e.alternative}):d(e.consequent)?_(e.alternative)?f(e.condition.negate(t)):p(Ct,e,{operator:"&&",left:f(e.condition.negate(t)),right:e.alternative}):_(e.alternative)?p(Ct,e,{operator:"||",left:f(e.condition.negate(t)),right:e.consequent}):d(e.alternative)?p(Ct,e,{operator:"&&",left:f(e.condition),right:e.consequent}):e;function f(e){return e.is_boolean()?e:p(yt,e,{operator:"!",expression:e.negate(t)})}function _(e){return e instanceof bn||l&&e instanceof pn&&e.getValue()||e instanceof yt&&"!"==e.operator&&e.expression instanceof pn&&!e.expression.getValue()}function d(e){return e instanceof yn||l&&e instanceof pn&&!e.getValue()||e instanceof yt&&"!"==e.operator&&e.expression instanceof pn&&e.expression.getValue()}})),ci(Tn,(function(e,t){if(t.in_boolean_context())return p(dn,e,{value:+e.value});var n=t.parent();return t.option("booleans_as_integers")?(n instanceof Ct&&("==="==n.operator||"!=="==n.operator)&&(n.operator=n.operator.replace(/=$/,"")),p(dn,e,{value:+e.value})):t.option("booleans")?n instanceof Ct&&("=="==n.operator||"!="==n.operator)?(t.warn("Non-strict equality against boolean: {operator} {value} [{file}:{line},{col}]",{operator:n.operator,value:e.value,file:n.start.file,line:n.start.line,col:n.start.col}),p(dn,e,{value:+e.value})):p(yt,e,{operator:"!",expression:p(dn,e,{value:1-e.value})}):e})),ci(At,(function(e,t){var n,i=e.expression,r=e.property;if(t.option("properties")){var o=r.evaluate(t);if(o!==r){if("string"==typeof o)if("undefined"==o)o=void 0;else(A=parseFloat(o)).toString()==o&&(o=A);r=e.property=Vi(r,gi(o,r).transform(t));var a=""+o;if(J(a)&&a.length<=r.size()+1)return p(vt,e,{expression:i,property:a,quote:r.quote}).optimize(t)}}e:if(t.option("arguments")&&i instanceof an&&"arguments"==i.name&&1==i.definition().orig.length&&(n=i.scope)instanceof Pe&&n.uses_arguments&&!(n instanceof Ke)&&r instanceof dn){for(var s=r.getValue(),u=new Set,c=n.argnames,l=0;l1)&&(_=null)}else if(!_&&!t.option("keep_fargs")&&s=n.argnames.length;)_=p(qt,n,{name:n.make_var_name("argument_"+n.argnames.length),scope:n}),n.argnames.push(_),n.enclosed.push(n.def_variable(_));if(_){var m=p(an,e,_);return m.reference({}),si(_,1),m}}if(Pi(e,t.parent()))return e;if(o!==r){var h=e.flatten_object(a,t);h&&(i=e.expression=h.expression,r=e.property=h.property)}if(t.option("properties")&&t.option("side_effects")&&r instanceof dn&&i instanceof Rt){s=r.getValue();var E=i.elements,g=E[s];e:if(sr(g,t)){for(var D=!0,S=[],v=E.length;--v>s;){(A=E[v].drop_side_effect_free(t))&&(S.unshift(A),D&&A.has_side_effects(t)&&(D=!1))}if(g instanceof Le)break e;for(g=g instanceof vn?p(Sn,g):g,D||S.unshift(g);--v>=0;){var A;if((A=E[v])instanceof Le)break e;(A=A.drop_side_effect_free(t))?S.unshift(A):s--}return D?(S.push(g),Ei(e,S).optimize(t)):p(At,e,{expression:p(Rt,i,{elements:S}),property:p(dn,r,{value:s})})}}var T=e.evaluate(t);return T!==e?Ki(t,T=gi(T,e).optimize(t),e):e})),Pe.DEFMETHOD("contains_this",(function(){return Cn(this,e=>e instanceof ln?Fn:e!==this&&e instanceof ke&&!(e instanceof Ke)||void 0)})),St.DEFMETHOD("flatten_object",(function(e,t){if(t.option("properties")){var n=t.option("unsafe_arrows")&&t.option("ecma")>=2015,i=this.expression;if(i instanceof wt)for(var r=i.properties,o=r.length;--o>=0;){var a=r[o];if(""+(a instanceof Lt?a.key.name:a.key)==e){if(!r.every(e=>e instanceof Nt||n&&e instanceof Lt&&!e.is_generator))break;if(!sr(a.value,t))break;return p(At,this,{expression:p(Rt,i,{elements:r.map((function(e){var t=e.value;t instanceof Ve&&(t=p(Be,t,t));var n=e.key;return n instanceof de&&!(n instanceof jt)?Ei(e,[n,t]):t}))}),property:p(dn,this,{value:o})})}}}})),ci(vt,(function(e,t){"arguments"!=e.property&&"caller"!=e.property||t.warn("Function.prototype.{prop} not supported [{file}:{line},{col}]",{prop:e.property,file:e.start.file,line:e.start.line,col:e.start.col});const n=t.parent();if(Pi(e,n))return e;if(t.option("unsafe_proto")&&e.expression instanceof vt&&"prototype"==e.expression.property){var i=e.expression.expression;if(Ci(i))switch(i.name){case"Array":e.expression=p(Rt,e.expression,{elements:[]});break;case"Function":e.expression=p(Be,e.expression,{argnames:[],body:[]});break;case"Number":e.expression=p(dn,e.expression,{value:0});break;case"Object":e.expression=p(wt,e.expression,{properties:[]});break;case"RegExp":e.expression=p(hn,e.expression,{value:{source:"t",flags:""}});break;case"String":e.expression=p(_n,e.expression,{value:""})}}if(!(n instanceof Et&&b(n,Nn))){const n=e.flatten_object(e.property,t);if(n)return n.optimize(t)}let r=e.evaluate(t);return r!==e?(r=gi(r,e).optimize(t),Ki(t,r,e)):e})),ci(Rt,(function(e,t){var n=ur(e,t);return n!==e?n:cr(e,0,e.elements)})),ci(wt,(function(e,t){var n=ur(e,t);if(n!==e)return n;for(var i=e.properties,r=0;r=2015&&!e.name&&!e.is_generator&&!e.uses_arguments&&!e.pinned()){if(!Cn(e,e=>{if(e instanceof ln)return Fn}))return p(Ke,e,e).optimize(t)}return e})),ci(Pt,(function(e){return e})),ci(et,(function(e,t){return e.expression&&!e.is_star&&ki(e.expression,t)&&(e.expression=null),e})),ci(Xe,(function(e,t){if(!t.option("evaluate")||t.parent()instanceof He)return e;for(var n=[],i=0;i=2015&&(!(n instanceof RegExp)||n.test(e.key+""))){var i=e.key,r=e.value;if((r instanceof Ke&&Array.isArray(r.body)&&!r.contains_this()||r instanceof Be)&&!r.name)return p(Lt,e,{async:r.async,is_generator:r.is_generator,key:i instanceof de?i:p(jt,e,{name:i}),value:p(Ve,r,r),quote:e.quote})}return e})),ci(Ge,(function(e,t){if(1==t.option("pure_getters")&&t.option("unused")&&!e.is_array&&Array.isArray(e.names)&&!function(e){for(var t=[/^VarDef$/,/^(Const|Let|Var)$/,/^Export$/],n=0,i=0,r=t.length;n1)throw new Error("inline source map only works with singular input");n.sourceMap.content=(i=e[f],r=void 0,(r=/(?:^|[^.])\/\/# sourceMappingURL=data:application\/json(;[\w=-]*)?;base64,([+/0-9A-Za-z]*=*)\s*$/.exec(i))?mr(r[2]):(de.warn("inline source map not found"),null))}c=n.parse.toplevel}s&&"strict"!==n.mangle.properties.keep_quoted&&pr(c,s),n.wrap&&(c=c.wrap_commonjs(n.wrap)),n.enclose&&(c=c.wrap_enclose(n.enclose)),u&&(u.rename=Date.now()),u&&(u.compress=Date.now()),n.compress&&(c=new ui(n.compress).compress(c)),u&&(u.scope=Date.now()),n.mangle&&c.figure_out_scope(n.mangle),u&&(u.mangle=Date.now()),n.mangle&&(jn.reset(),c.compute_char_frequency(n.mangle),c.mangle_names(n.mangle)),u&&(u.properties=Date.now()),n.mangle&&n.mangle.properties&&(c=dr(c,n.mangle.properties)),u&&(u.output=Date.now());var p={};if(n.output.ast&&(p.ast=c),!D(n.output,"code")||n.output.code){if(n.sourceMap&&("string"==typeof n.sourceMap.content&&(n.sourceMap.content=JSON.parse(n.sourceMap.content)),n.output.source_map=function(e){e=o(e,{file:null,root:null,orig:null,orig_line_diff:0,dest_line_diff:0});var n=new t.SourceMapGenerator({file:e.file,sourceRoot:e.root}),i=e.orig&&new t.SourceMapConsumer(e.orig);return i&&i.sources.forEach((function(e){var t=i.sourceContentFor(e,!0);t&&n.setSourceContent(e,t)})),{add:function(t,r,o,a,s,u){if(i){var c=i.originalPositionFor({line:a,column:s});if(null===c.source)return;t=c.source,a=c.line,s=c.column,u=c.name||u}n.addMapping({generated:{line:r+e.dest_line_diff,column:o},original:{line:a+e.orig_line_diff,column:s},source:t,name:u})},get:function(){return n},toString:function(){return JSON.stringify(n.toJSON())}}}({file:n.sourceMap.filename,orig:n.sourceMap.content,root:n.sourceMap.root}),n.sourceMap.includeSources)){if(e instanceof Ie)throw new Error("original source content unavailable");for(var f in e)D(e,f)&&n.output.source_map.get().setSourceContent(f,e[f])}delete n.output.ast,delete n.output.code;var _=Un(n.output);if(c.print(_),p.code=_.get(),n.sourceMap)if(n.sourceMap.asObject?p.map=n.output.source_map.get().toJSON():p.map=n.output.source_map.toString(),"inline"==n.sourceMap.url){var d="object"==typeof p.map?JSON.stringify(p.map):p.map;p.code+="\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+hr(d)}else n.sourceMap.url&&(p.code+="\n//# sourceMappingURL="+n.sourceMap.url)}return n.nameCache&&n.mangle&&(n.mangle.cache&&(n.nameCache.vars=Dr(n.mangle.cache)),n.mangle.properties&&n.mangle.properties.cache&&(n.nameCache.props=Dr(n.mangle.properties.cache))),u&&(u.end=Date.now(),p.timings={parse:.001*(u.rename-u.parse),rename:.001*(u.compress-u.rename),compress:.001*(u.scope-u.compress),scope:.001*(u.mangle-u.scope),mangle:.001*(u.properties-u.mangle),properties:.001*(u.output-u.properties),output:.001*(u.end-u.output),total:.001*(u.end-u.start)}),l.length&&(p.warnings=l),p}catch(e){return{error:e}}finally{de.warn_function=a}}!function(){var e=function(e){for(var t=!0,n=0;n1||e.guardedHandlers&&e.guardedHandlers.length)throw new Error("Multiple catch clauses are not supported.");return new at({start:i(e),end:r(e),body:s(e.block).body,bcatch:s(t[0]),bfinally:e.finalizer?new ut(s(e.finalizer)):null})},Property:function(e){var t=e.key,n={start:i(t||e.value),end:r(e.value),key:"Identifier"==t.type?t.name:t.value,value:s(e.value)};return e.computed&&(n.key=s(e.key)),e.method?(n.is_generator=e.value.generator,n.async=e.value.async,e.computed?n.key=s(e.key):n.key=new jt({name:n.key}),new Lt(n)):"init"==e.kind?("Identifier"!=t.type&&"Literal"!=t.type&&(n.key=s(t)),new Nt(n)):("string"!=typeof n.key&&"number"!=typeof n.key||(n.key=new jt({name:n.key})),n.value=new Ve(n.value),"get"==e.kind?new It(n):"set"==e.kind?new kt(n):"method"==e.kind?(n.async=e.value.async,n.is_generator=e.value.generator,n.quote=e.computed?'"':null,new Lt(n)):void 0)},MethodDefinition:function(e){var t={start:i(e),end:r(e),key:e.computed?s(e.key):new jt({name:e.key.name||e.key.value}),value:s(e.value),static:e.static};return"get"==e.kind?new It(t):"set"==e.kind?new kt(t):(t.is_generator=e.value.generator,t.async=e.value.async,new Lt(t))},FieldDefinition:function(e){let t;if(e.computed)t=s(e.key);else{if("Identifier"!==e.key.type)throw new Error("Non-Identifier key in FieldDefinition");t=s(e.key)}return new Vt({start:i(e),end:r(e),key:t,value:s(e.value),static:e.static})},ArrayExpression:function(e){return new Rt({start:i(e),end:r(e),elements:e.elements.map((function(e){return null===e?new vn:s(e)}))})},ObjectExpression:function(e){return new wt({start:i(e),end:r(e),properties:e.properties.map((function(e){return"SpreadElement"===e.type||(e.type="Property"),s(e)}))})},SequenceExpression:function(e){return new Dt({start:i(e),end:r(e),expressions:e.expressions.map(s)})},MemberExpression:function(e){return new(e.computed?At:vt)({start:i(e),end:r(e),property:e.computed?s(e.property):e.property.name,expression:s(e.object)})},SwitchCase:function(e){return new(e.test?ot:rt)({start:i(e),end:r(e),expression:s(e.test),body:e.consequent.map(s)})},VariableDeclaration:function(e){return new("const"===e.kind?pt:"let"===e.kind?ft:lt)({start:i(e),end:r(e),definitions:e.declarations.map(s)})},ImportDeclaration:function(e){var t=null,n=null;return e.specifiers.forEach((function(e){"ImportSpecifier"===e.type?(n||(n=[]),n.push(new dt({start:i(e),end:r(e),foreign_name:s(e.imported),name:s(e.local)}))):"ImportDefaultSpecifier"===e.type?t=s(e.local):"ImportNamespaceSpecifier"===e.type&&(n||(n=[]),n.push(new dt({start:i(e),end:r(e),foreign_name:new rn({name:"*"}),name:s(e.local)})))})),new mt({start:i(e),end:r(e),imported_name:t,imported_names:n,module_name:s(e.source)})},ExportAllDeclaration:function(e){return new ht({start:i(e),end:r(e),exported_names:[new dt({name:new un({name:"*"}),foreign_name:new un({name:"*"})})],module_name:s(e.source)})},ExportNamedDeclaration:function(e){return new ht({start:i(e),end:r(e),exported_definition:s(e.declaration),exported_names:e.specifiers&&e.specifiers.length?e.specifiers.map((function(e){return new dt({foreign_name:s(e.exported),name:s(e.local)})})):null,module_name:s(e.source)})},ExportDefaultDeclaration:function(e){return new ht({start:i(e),end:r(e),exported_value:s(e.declaration),is_default:!0})},Literal:function(e){var t=e.value,n={start:i(e),end:r(e)},o=e.regex;if(o&&o.pattern)return n.value={source:o.pattern,flags:o.flags},new hn(n);if(o){const i=e.raw||t,r=i.match(/^\/(.*)\/(\w*)$/);if(!r)throw new Error("Invalid regex source "+i);const[o,a,s]=r;return n.value={source:a,flags:s},new hn(n)}if(null===t)return new gn(n);switch(typeof t){case"string":return n.value=t,new _n(n);case"number":return n.value=t,new dn(n);case"boolean":return new(t?bn:yn)(n)}},MetaProperty:function(e){if("new"===e.meta.name&&"target"===e.property.name)return new Gt({start:i(e),end:r(e)})},Identifier:function(e){var t=a[a.length-2];return new("LabeledStatement"==t.type?on:"VariableDeclarator"==t.type&&t.id===e?"const"==t.kind?Wt:"let"==t.kind?Yt:Xt:/Import.*Specifier/.test(t.type)?t.local===e?nn:rn:"ExportSpecifier"==t.type?t.local===e?sn:un:"FunctionExpression"==t.type?t.id===e?Jt:qt:"FunctionDeclaration"==t.type?t.id===e?$t:qt:"ArrowFunctionExpression"==t.type?t.params.includes(e)?qt:an:"ClassExpression"==t.type?t.id===e?en:an:"Property"==t.type?t.key===e&&t.computed||t.value===e?an:jt:"FieldDefinition"==t.type?t.key===e&&t.computed||t.value===e?an:Zt:"ClassDeclaration"==t.type?t.id===e?Qt:an:"MethodDefinition"==t.type?t.computed?an:jt:"CatchClause"==t.type?tn:"BreakStatement"==t.type||"ContinueStatement"==t.type?cn:an)({start:i(e),end:r(e),name:e.name})},BigIntLiteral:e=>new mn({start:i(e),end:r(e),value:e.value})};function n(e){if("Literal"==e.type)return null!=e.raw?e.raw:e.value+""}function i(e){var t=e.loc,i=t&&t.start,r=e.range;return new _e({file:t&&t.source,line:i&&i.line,col:i&&i.column,pos:r?r[0]:e.start,endline:i&&i.line,endcol:i&&i.column,endpos:r?r[0]:e.start,raw:n(e)})}function r(e){var t=e.loc,i=t&&t.end,r=e.range;return new _e({file:t&&t.source,line:i&&i.line,col:i&&i.column,pos:r?r[1]:e.end,endline:i&&i.line,endcol:i&&i.column,endpos:r?r[1]:e.end,raw:n(e)})}function o(e,n,o){var a="function From_Moz_"+e+"(M){\n";a+="return new U2."+n.name+"({\nstart: my_start_token(M),\nend: my_end_token(M)";var c="function To_Moz_"+e+"(M){\n";c+="return {\ntype: "+JSON.stringify(e),o&&o.split(/\s*,\s*/).forEach((function(e){var t=/([a-z0-9$_]+)([=@>%])([a-z0-9$_]+)/i.exec(e);if(!t)throw new Error("Can't understand property map: "+e);var n=t[1],i=t[2],r=t[3];switch(a+=",\n"+r+": ",c+=",\n"+n+": ",i){case"@":a+="M."+n+".map(from_moz)",c+="M."+r+".map(to_moz)";break;case">":a+="from_moz(M."+n+")",c+="to_moz(M."+r+")";break;case"=":a+="M."+n,c+="M."+r;break;case"%":a+="from_moz(M."+n+").body",c+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+e)}})),a+="\n})\n}",c+="\n}\n}",a=new Function("U2","my_start_token","my_end_token","from_moz","return("+a+")")(kn,i,r,s),c=new Function("to_moz","to_moz_block","to_moz_scope","return("+c+")")(l,_,d),t[e]=a,u(n,c)}t.UpdateExpression=t.UnaryExpression=function(e){return new(("prefix"in e?e.prefix:"UnaryExpression"==e.type)?yt:bt)({start:i(e),end:r(e),operator:e.operator,expression:s(e.argument)})},t.ClassDeclaration=t.ClassExpression=function(e){return new("ClassDeclaration"===e.type?Bt:Kt)({start:i(e),end:r(e),name:s(e.id),extends:s(e.superClass),properties:e.body.body.map(s)})},o("EmptyStatement",Te),o("BlockStatement",Ae,"body@body"),o("IfStatement",tt,"test>condition, consequent>body, alternate>alternative"),o("LabeledStatement",be,"label>label, body>body"),o("BreakStatement",Ze,"label>label"),o("ContinueStatement",Je,"label>label"),o("WithStatement",Ne,"object>expression, body>body"),o("SwitchStatement",nt,"discriminant>expression, cases@body"),o("ReturnStatement",qe,"argument>value"),o("ThrowStatement",$e,"argument>value"),o("WhileStatement",Me,"test>condition, body>body"),o("DoWhileStatement",Fe,"test>condition, body>body"),o("ForStatement",Re,"init>init, test>condition, update>step, body>body"),o("ForInStatement",we,"left>init, right>object, body>body"),o("ForOfStatement",xe,"left>init, right>object, body>body, await=await"),o("AwaitExpression",Qe,"argument>expression"),o("YieldExpression",et,"argument>expression, delegate=is_star"),o("DebuggerStatement",he),o("VariableDeclarator",_t,"id>name, init>value"),o("CatchClause",st,"param>argname, body%body"),o("ThisExpression",ln),o("Super",fn),o("BinaryExpression",Ct,"operator=operator, left>left, right>right"),o("LogicalExpression",Ct,"operator=operator, left>left, right>right"),o("AssignmentExpression",Ft,"operator=operator, left>left, right>right"),o("ConditionalExpression",Ot,"test>condition, consequent>consequent, alternate>alternative"),o("NewExpression",gt,"callee>expression, arguments@args"),o("CallExpression",Et,"callee>expression, arguments@args"),u(Ie,(function(e){return d("Program",e)})),u(Le,(function(e){return{type:f()?"RestElement":"SpreadElement",argument:l(e.expression)}})),u(He,(function(e){return{type:"TaggedTemplateExpression",tag:l(e.prefix),quasi:l(e.template_string)}})),u(Xe,(function(e){for(var t=[],n=[],i=0;i({type:"BigIntLiteral",value:e.value})),Tn.DEFMETHOD("to_mozilla_ast",pn.prototype.to_mozilla_ast),gn.DEFMETHOD("to_mozilla_ast",pn.prototype.to_mozilla_ast),vn.DEFMETHOD("to_mozilla_ast",(function(){return null})),ve.DEFMETHOD("to_mozilla_ast",Ae.prototype.to_mozilla_ast),Pe.DEFMETHOD("to_mozilla_ast",Be.prototype.to_mozilla_ast);var a=null;function s(e){a.push(e);var n=null!=e?t[e.type](e):null;return a.pop(),n}function u(e,t){e.DEFMETHOD("to_mozilla_ast",(function(e){return n=this,i=t(this,e),r=n.start,o=n.end,r&&o?(null!=r.pos&&null!=o.endpos&&(i.range=[r.pos,o.endpos]),r.line&&(i.loc={start:{line:r.line,column:r.col},end:o.endline?{line:o.endline,column:o.endcol}:null},r.file&&(i.loc.source=r.file)),i):i;var n,i,r,o}))}de.from_mozilla_ast=function(e){var t=a;a=[];var n=s(e);return a=t,n};var c=null;function l(e){null===c&&(c=[]),c.push(e);var t=null!=e?e.to_mozilla_ast(c[c.length-2]):null;return c.pop(),0===c.length&&(c=null),t}function f(){for(var e=c.length;e--;)if(c[e]instanceof Ge)return!0;return!1}function _(e){return{type:"BlockStatement",body:e.body.map(l)}}function d(e,t){var n=t.body.map(l);return t.body[0]instanceof ge&&t.body[0].body instanceof _n&&n.unshift(l(new Te(t.body[0]))),{type:e,body:n}}}(),e.AST_Accessor=Ve,e.AST_Array=Rt,e.AST_Arrow=Ke,e.AST_Assign=Ft,e.AST_Atom=En,e.AST_Await=Qe,e.AST_Binary=Ct,e.AST_Block=ve,e.AST_BlockStatement=Ae,e.AST_Boolean=Tn,e.AST_Break=Ze,e.AST_Call=Et,e.AST_Case=ot,e.AST_Catch=st,e.AST_Class=Pt,e.AST_ClassExpression=Kt,e.AST_ConciseMethod=Lt,e.AST_Conditional=Ot,e.AST_Const=pt,e.AST_Constant=pn,e.AST_Continue=Je,e.AST_DWLoop=Oe,e.AST_Debugger=he,e.AST_DefClass=Bt,e.AST_Default=rt,e.AST_DefaultAssign=Mt,e.AST_Definitions=ct,e.AST_Defun=Ue,e.AST_Destructuring=Ge,e.AST_Directive=Ee,e.AST_Do=Fe,e.AST_Dot=vt,e.AST_EmptyStatement=Te,e.AST_Exit=Ye,e.AST_Expansion=Le,e.AST_Export=ht,e.AST_False=yn,e.AST_Finally=ut,e.AST_For=Re,e.AST_ForIn=we,e.AST_ForOf=xe,e.AST_Function=Be,e.AST_Hole=vn,e.AST_If=tt,e.AST_Import=mt,e.AST_Infinity=An,e.AST_IterationStatement=Ce,e.AST_Jump=We,e.AST_Label=on,e.AST_LabelRef=cn,e.AST_LabeledStatement=be,e.AST_Lambda=Pe,e.AST_Let=ft,e.AST_LoopControl=je,e.AST_NaN=Dn,e.AST_NameMapping=dt,e.AST_New=gt,e.AST_NewTarget=Gt,e.AST_Node=de,e.AST_Null=gn,e.AST_Number=dn,e.AST_Object=wt,e.AST_ObjectGetter=It,e.AST_ObjectKeyVal=Nt,e.AST_ObjectProperty=xt,e.AST_ObjectSetter=kt,e.AST_PrefixedTemplateString=He,e.AST_PropAccess=St,e.AST_RegExp=hn,e.AST_Return=qe,e.AST_Scope=ke,e.AST_Sequence=Dt,e.AST_SimpleStatement=ge,e.AST_Statement=me,e.AST_StatementWithBody=ye,e.AST_String=_n,e.AST_Sub=At,e.AST_Super=fn,e.AST_Switch=nt,e.AST_SwitchBranch=it,e.AST_Symbol=Ut,e.AST_SymbolBlockDeclaration=zt,e.AST_SymbolCatch=tn,e.AST_SymbolClass=en,e.AST_SymbolConst=Wt,e.AST_SymbolDeclaration=Ht,e.AST_SymbolDefClass=Qt,e.AST_SymbolDefun=$t,e.AST_SymbolExport=sn,e.AST_SymbolExportForeign=un,e.AST_SymbolFunarg=qt,e.AST_SymbolImport=nn,e.AST_SymbolImportForeign=rn,e.AST_SymbolLambda=Jt,e.AST_SymbolLet=Yt,e.AST_SymbolMethod=jt,e.AST_SymbolRef=an,e.AST_SymbolVar=Xt,e.AST_TemplateSegment=ze,e.AST_TemplateString=Xe,e.AST_This=ln,e.AST_Throw=$e,e.AST_Token=_e,e.AST_Toplevel=Ie,e.AST_True=bn,e.AST_Try=at,e.AST_Unary=Tt,e.AST_UnaryPostfix=bt,e.AST_UnaryPrefix=yt,e.AST_Undefined=Sn,e.AST_Var=lt,e.AST_VarDef=_t,e.AST_While=Me,e.AST_With=Ne,e.AST_Yield=et,e.Compressor=ui,e.OutputStream=Un,e.TreeTransformer=Rn,e.TreeWalker=Mn,e._INLINE=xn,e._JS_Parse_Error=te,e._NOINLINE=Nn,e._PURE=wn,e._has_annotation=b,e._tokenizer=oe,e.base54=jn,e.default_options=Zn,e.defaults=o,e.mangle_properties=dr,e.minify=Sr,e.parse=fe,e.push_uniq=_,e.reserve_quoted_keys=pr,e.string_template=d,e.to_ascii=mr}));
//# sourceMappingURL=bundle.min.js.map