-
Notifications
You must be signed in to change notification settings - Fork 0
/
riot.csp.min.js
4 lines (4 loc) · 101 KB
/
riot.csp.min.js
1
2
3
4
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.cspTmpl=e.cspTmpl||{})}(this,function(e){"use strict";function t(e){return this instanceof t?(this.maxIterations=e,void(this.count=0)):new t(e)}function n(e){var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:this;return"undefined"!=typeof e?t[e]:t}function u(e){if(!(this instanceof u))return new u(e);this.context=e;for(var t=0;t<v.length;t++)this.context[v[t]]||(this.context[v[t]]=a(x[t]))}function r(e){return e.prototype}function i(e,t){e.__proto__=t}function a(e){var t=Object.create(e.prototype),n=function(){if(!(this instanceof n)){var u=e.apply(null,arguments);return i(u,t),u}e.apply(this,arguments)};return i(n,e),n.prototype=t,n.wrapped=!0,n}function o(e){return e&&"object"==typeof e&&"default"in e?e.default:e}function s(e,t){return t={exports:{}},e(t,t.exports),t.exports}function l(e,t){var n=f(e),u=Object.create(t||{});return E(D(n,u))}function c(e){var t=Object.create(e||{});return function(){var e=Array.prototype.slice.call(arguments),n=e.slice(-1)[0];e=e.slice(0,-1),"string"==typeof n&&(n=O("function a(){ "+n+"}").body[0].body);var u=f(n);return A(u,e,t)}}function f(e){var t="string"==typeof e?O(e):e;return P(t)}function D(e,n){function r(e){for(var t=void 0,n=0;n<e.length;n++){var u=e[n];if("EmptyStatement"!==u.type&&(t=i(u),t instanceof g))return t}return t}function i(e){if(e)switch(e.type){case"Program":return r(e.body);case"BlockStatement":o();var u=r(e.body);return s(),u;case"SequenceExpression":return r(e.expressions);case"FunctionDeclaration":var c=e.params.map(y),f=A(e.body,c,m);return n[e.id.name]=f;case"FunctionExpression":var c=e.params.map(y);return A(e.body,c,m);case"ReturnStatement":var f=i(e.argument);return new g("return",f);case"BreakStatement":return new g("break");case"ContinueStatement":return new g("continue");case"ExpressionStatement":return i(e.expression);case"AssignmentExpression":return l(m,e.left,e.right,e.operator);case"UpdateExpression":return l(m,e.argument,null,e.operator);case"VariableDeclaration":e.declarations.forEach(function(t){var u="let"===e.kind?m:n;t.init?u[t.id.name]=i(t.init):u[t.id.name]=void 0});break;case"SwitchStatement":var h=null,C=!1,f=i(e.discriminant),u=void 0;o();for(var F=0;null==u;)if(F<e.cases.length){if(e.cases[F].test?C=C||i(e.cases[F].test)===f:null==h&&(h=F),C){var v=r(e.cases[F].consequent);if(v instanceof g){if("break"==v.type)break;u=v}}F+=1}else{if(C||null==h)break;F=h,C=!0}return s(),u;case"IfStatement":if(i(e.test))return i(e.consequent);if(e.alternate)return i(e.alternate);case"ForStatement":var B=t(L),u=void 0;for(o(),i(e.init);i(e.test);i(e.update)){var v=i(e.body);if(v instanceof g){if("continue"==v.type)continue;if("break"==v.type)break;u=v;break}B.check()}return s(),u;case"ForInStatement":var B=t(L),u=void 0,f=i(e.right),x=e.left,w=n;o(),"VariableDeclaration"==x.type&&(i(x),x=x.declarations[0].id,"let"===x.kind&&(w=m));for(var b in f){l(w,x,{type:"Literal",value:b});var v=i(e.body);if(v instanceof g){if("continue"==v.type)continue;if("break"==v.type)break;u=v;break}B.check()}return s(),u;case"WhileStatement":for(var B=t(L);i(e.test);)i(e.body),B.check();break;case"TryStatement":try{i(e.block)}catch(t){o();var S=e.handlers[0];S&&(m[S.param.name]=t,i(S.body)),s()}finally{e.finalizer&&i(e.finalizer)}break;case"Literal":return e.value;case"UnaryExpression":var k=i(e.argument);switch(e.operator){case"+":return+k;case"-":return-k;case"~":return~k;case"!":return!k;case"void":return void k;case"typeof":return typeof k;default:return p(e)}case"ArrayExpression":for(var I=m.Array(),F=0;F<e.elements.length;F++)I.push(i(e.elements[F]));return I;case"ObjectExpression":for(var I=m.Object(),F=0;F<e.properties.length;F++){var P=e.properties[F],f=null===P.value?P.value:i(P.value);I[P.key.value||P.key.name]=f}return I;case"NewExpression":var O=e.arguments.map(function(e){return i(e)}),w=i(e.callee);return D.applyNew(w,O);case"BinaryExpression":var N=i(e.left),v=i(e.right);switch(e.operator){case"==":return N===v;case"===":return N===v;case"!=":return N!=v;case"!==":return N!==v;case"+":return N+v;case"-":return N-v;case"*":return N*v;case"/":return N/v;case"%":return N%v;case"<":return N<v;case"<=":return N<=v;case">":return N>v;case">=":return N>=v;case"|":return N|v;case"&":return N&v;case"^":return N^v;case"in":return N in v;case"instanceof":return N instanceof v;default:return p(e)}case"LogicalExpression":switch(e.operator){case"&&":return i(e.left)&&i(e.right);case"||":return i(e.left)||i(e.right);default:return p(e)}case"ThisExpression":return m.this;case"Identifier":if("undefined"===e.name)return;if(d(m,e.name,D))return E(m[e.name]);throw new ReferenceError(e.name+" is not defined");case"CallExpression":var O=e.arguments.map(function(e){return i(e)}),T=null,w=i(e.callee);return"MemberExpression"===e.callee.type&&(T=i(e.callee.object)),w.apply(T,O);case"MemberExpression":var I=i(e.object);if(e.computed)var P=i(e.property);else var P=e.property.name;return I=D.getPropertyObject(I,P),a(I[P]);case"ConditionalExpression":var k=i(e.test);return i(k?e.consequent:e.alternate);case"EmptyStatement":return;default:return p(e)}}function a(e){return e===Function&&(e=f),E(e)}function o(){m=Object.create(m)}function s(){m=Object.getPrototypeOf(m)}function l(e,t,n,u){var r=null;if("Identifier"===t.type?(r=t.name,e=h(e,r,D)):"MemberExpression"===t.type&&(r=t.computed?i(t.property):t.property.name,e=i(t.object)),F(e,r,D))switch(u){case void 0:return e[r]=i(n);case"=":return e[r]=i(n);case"+=":return e[r]+=i(n);case"-=":return e[r]-=i(n);case"++":return e[r]++;case"--":return e[r]--}}var f=c(n),D=u(n),m=n;return i(e)}function p(e){console.error(e);var t=new Error("Unsupported expression: "+e.type);throw t.node=e,t}function h(e,t,n){var u=n.getPrototypeOf(e);return!u||m(e,t)?e:h(u,t,n)}function d(e,t,n){var u=n.getPrototypeOf(e),r=m(e,t);return void 0!==e[t]||(!u||r?r:d(u,t,n))}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function C(e,t){return Object.prototype.propertyIsEnumerable.call(e,t)}function F(e,t,n){return"__proto__"!==t&&!n.isPrimitive(e)&&(null==e||(m(e,t)?!!C(e,t):F(n.getPrototypeOf(e),t,n)))}function A(e,t,u){return function(){var r=Object.create(u),i=n();r.window=r.global=i,this==i?r.this=null:r.this=this;var a=Array.prototype.slice.call(arguments);r.arguments=arguments,a.forEach(function(e,n){var u=t[n];u&&(r[u]=e)});var o=D(e,r);if(o instanceof g)return o.value}}function E(e){return e instanceof g?e.value:e}function y(e){return e.name}function g(e,t){this.type=e,this.value=t}t.prototype.check=function(){if(this.count+=1,this.count>this.maxIterations)throw new Error("Infinite loop detected - reached max iterations")};var v=["Object","String","Boolean","Number","RegExp","Date","Array"],B={string:"String",boolean:"Boolean",number:"Number"},x=v.map(n),w=x.map(r);u.prototype.replace=function(e){var t,n=x.indexOf(e),u=w.indexOf(e);return~n?(t=v[n],this.context[t]):~u?(t=v[u],this.context[t].prototype):e},u.prototype.getPropertyObject=function(e,t){return B[typeof e]?this.getPrototypeOf(e):e},u.prototype.isPrimitive=function(e){return!!~x.indexOf(e)||!!~w.indexOf(e)},u.prototype.getPrototypeOf=function(e){if(null==e)return e;var t,n=B[typeof e];if(t=n?this.context[n].prototype:Object.getPrototypeOf(e),!t||t===Object.prototype)return null;var u=this.replace(t);return u===e&&(u=this.replace(Object.prototype)),u},u.prototype.applyNew=function(e,t){if(e.wrapped){var n=Object.getPrototypeOf(e),u=new(Function.prototype.bind.apply(n,arguments));return i(u,e.prototype),u}return new(Function.prototype.bind.apply(e,arguments))};var b="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},S=s(function(e,t){!function(e,n){"function"==typeof define&&define.amd?define(["exports"],n):n("undefined"!=typeof t?t:e.esprima={})}(b,function(e){function t(e,t){if(!e)throw new Error("ASSERT: "+t)}function n(e){return e>=48&&e<=57}function u(e){return"0123456789abcdefABCDEF".indexOf(e)>=0}function r(e){return"01234567".indexOf(e)>=0}function i(e){var t="0"!==e,n="01234567".indexOf(e);return sn<An&&r(an[sn])&&(t=!0,n=8*n+"01234567".indexOf(an[sn++]),"0123".indexOf(e)>=0&&sn<An&&r(an[sn])&&(n=8*n+"01234567".indexOf(an[sn++]))),{code:n,octal:t}}function a(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(e)>=0}function o(e){return 10===e||13===e||8232===e||8233===e}function s(e){return e<65536?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10))+String.fromCharCode(56320+(e-65536&1023))}function l(e){return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||92===e||e>=128&&rn.NonAsciiIdentifierStart.test(s(e))}function c(e){return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||92===e||e>=128&&rn.NonAsciiIdentifierPart.test(s(e))}function f(e){switch(e){case"enum":case"export":case"import":case"super":return!0;default:return!1}}function D(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function p(e){return"eval"===e||"arguments"===e}function h(e){switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e||"let"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function d(e,n,u,r,i){var a;t("number"==typeof u,"Comment must have valid position"),yn.lastCommentStart=u,a={type:e,value:n},gn.range&&(a.range=[u,r]),gn.loc&&(a.loc=i),gn.comments.push(a),gn.attachComment&&(gn.leadingComments.push(a),gn.trailingComments.push(a)),gn.tokenize&&(a.type=a.type+"Comment",gn.delegate&&(a=gn.delegate(a)),gn.tokens.push(a))}function m(e){var t,n,u,r;for(t=sn-e,n={start:{line:ln,column:sn-cn-e}};sn<An;)if(u=an.charCodeAt(sn),++sn,o(u))return fn=!0,gn.comments&&(r=an.slice(t+e,sn-1),n.end={line:ln,column:sn-cn-1},d("Line",r,t,sn-1,n)),13===u&&10===an.charCodeAt(sn)&&++sn,++ln,void(cn=sn);gn.comments&&(r=an.slice(t+e,sn),n.end={line:ln,column:sn-cn},d("Line",r,t,sn,n))}function C(){var e,t,n,u;for(gn.comments&&(e=sn-2,t={start:{line:ln,column:sn-cn-2}});sn<An;)if(n=an.charCodeAt(sn),o(n))13===n&&10===an.charCodeAt(sn+1)&&++sn,fn=!0,++ln,++sn,cn=sn;else if(42===n){if(47===an.charCodeAt(sn+1))return++sn,++sn,void(gn.comments&&(u=an.slice(e+2,sn-2),t.end={line:ln,column:sn-cn},d("Block",u,e,sn,t)));++sn}else++sn;gn.comments&&(t.end={line:ln,column:sn-cn},u=an.slice(e+2,sn),d("Block",u,e,sn,t)),ne()}function F(){var e,t;for(fn=!1,t=0===sn;sn<An;)if(e=an.charCodeAt(sn),a(e))++sn;else if(o(e))fn=!0,++sn,13===e&&10===an.charCodeAt(sn)&&++sn,++ln,cn=sn,t=!0;else if(47===e)if(e=an.charCodeAt(sn+1),47===e)++sn,++sn,m(2),t=!0;else{if(42!==e)break;++sn,++sn,C()}else if(t&&45===e){if(45!==an.charCodeAt(sn+1)||62!==an.charCodeAt(sn+2))break;sn+=3,m(3)}else{if(60!==e)break;if("!--"!==an.slice(sn+1,sn+4))break;++sn,++sn,++sn,++sn,m(4)}}function A(e){var t,n,r,i=0;for(n="u"===e?4:2,t=0;t<n;++t){if(!(sn<An&&u(an[sn])))return"";r=an[sn++],i=16*i+"0123456789abcdef".indexOf(r.toLowerCase())}return String.fromCharCode(i)}function E(){var e,t;for(e=an[sn],t=0,"}"===e&&te();sn<An&&(e=an[sn++],u(e));)t=16*t+"0123456789abcdef".indexOf(e.toLowerCase());return(t>1114111||"}"!==e)&&te(),s(t)}function y(e){var t,n,u;return t=an.charCodeAt(e),t>=55296&&t<=56319&&(u=an.charCodeAt(e+1),u>=56320&&u<=57343&&(n=t,t=1024*(n-55296)+u-56320+65536)),t}function g(){var e,t,n;for(e=y(sn),n=s(e),sn+=n.length,92===e&&(117!==an.charCodeAt(sn)&&te(),++sn,"{"===an[sn]?(++sn,t=E()):(t=A("u"),e=t.charCodeAt(0),t&&"\\"!==t&&l(e)||te()),n=t);sn<An&&(e=y(sn),c(e));)t=s(e),n+=t,sn+=t.length,92===e&&(n=n.substr(0,n.length-1),117!==an.charCodeAt(sn)&&te(),++sn,"{"===an[sn]?(++sn,t=E()):(t=A("u"),e=t.charCodeAt(0),t&&"\\"!==t&&c(e)||te()),n+=t);return n}function v(){var e,t;for(e=sn++;sn<An;){if(t=an.charCodeAt(sn),92===t)return sn=e,g();if(t>=55296&&t<57343)return sn=e,g();if(!c(t))break;++sn}return an.slice(e,sn)}function B(){var e,t,n;return e=sn,t=92===an.charCodeAt(sn)?g():v(),n=1===t.length?Xt.Identifier:h(t)?Xt.Keyword:"null"===t?Xt.NullLiteral:"true"===t||"false"===t?Xt.BooleanLiteral:Xt.Identifier,{type:n,value:t,lineNumber:ln,lineStart:cn,start:e,end:sn}}function x(){var e,t;switch(e={type:Xt.Punctuator,value:"",lineNumber:ln,lineStart:cn,start:sn,end:sn},t=an[sn]){case"(":gn.tokenize&&(gn.openParenToken=gn.tokenValues.length),++sn;break;case"{":gn.tokenize&&(gn.openCurlyToken=gn.tokenValues.length),yn.curlyStack.push("{"),++sn;break;case".":++sn,"."===an[sn]&&"."===an[sn+1]&&(sn+=2,t="...");break;case"}":++sn,yn.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++sn;break;default:t=an.substr(sn,4),">>>="===t?sn+=4:(t=t.substr(0,3),"==="===t||"!=="===t||">>>"===t||"<<="===t||">>="===t?sn+=3:(t=t.substr(0,2),"&&"===t||"||"===t||"=="===t||"!="===t||"+="===t||"-="===t||"*="===t||"/="===t||"++"===t||"--"===t||"<<"===t||">>"===t||"&="===t||"|="===t||"^="===t||"%="===t||"<="===t||">="===t||"=>"===t?sn+=2:(t=an[sn],"<>=!+-*%&|^/".indexOf(t)>=0&&++sn)))}return sn===e.start&&te(),e.end=sn,e.value=t,e}function w(e){for(var t="";sn<An&&u(an[sn]);)t+=an[sn++];return 0===t.length&&te(),l(an.charCodeAt(sn))&&te(),{type:Xt.NumericLiteral,value:parseInt("0x"+t,16),lineNumber:ln,lineStart:cn,start:e,end:sn}}function b(e){var t,u;for(u="";sn<An&&(t=an[sn],"0"===t||"1"===t);)u+=an[sn++];return 0===u.length&&te(),sn<An&&(t=an.charCodeAt(sn),(l(t)||n(t))&&te()),{type:Xt.NumericLiteral,value:parseInt(u,2),lineNumber:ln,lineStart:cn,start:e,end:sn}}function S(e,t){var u,i;for(r(e)?(i=!0,u="0"+an[sn++]):(i=!1,++sn,u="");sn<An&&r(an[sn]);)u+=an[sn++];return i||0!==u.length||te(),(l(an.charCodeAt(sn))||n(an.charCodeAt(sn)))&&te(),{type:Xt.NumericLiteral,value:parseInt(u,8),octal:i,lineNumber:ln,lineStart:cn,start:t,end:sn}}function k(){var e,t;for(e=sn+1;e<An;++e){if(t=an[e],"8"===t||"9"===t)return!1;if(!r(t))return!0}return!0}function I(){var e,u,i;if(i=an[sn],t(n(i.charCodeAt(0))||"."===i,"Numeric literal must start with a decimal digit or a decimal point"),u=sn,e="","."!==i){if(e=an[sn++],i=an[sn],"0"===e){if("x"===i||"X"===i)return++sn,w(u);if("b"===i||"B"===i)return++sn,b(u);if("o"===i||"O"===i)return S(i,u);if(r(i)&&k())return S(i,u)}for(;n(an.charCodeAt(sn));)e+=an[sn++];i=an[sn]}if("."===i){for(e+=an[sn++];n(an.charCodeAt(sn));)e+=an[sn++];i=an[sn]}if("e"===i||"E"===i)if(e+=an[sn++],i=an[sn],"+"!==i&&"-"!==i||(e+=an[sn++]),n(an.charCodeAt(sn)))for(;n(an.charCodeAt(sn));)e+=an[sn++];else te();return l(an.charCodeAt(sn))&&te(),{type:Xt.NumericLiteral,value:parseFloat(e),lineNumber:ln,lineStart:cn,start:u,end:sn}}function P(){var e,n,u,a,s,l="",c=!1;for(e=an[sn],t("'"===e||'"'===e,"String literal must starts with a quote"),n=sn,++sn;sn<An;){if(u=an[sn++],u===e){e="";break}if("\\"===u)if(u=an[sn++],u&&o(u.charCodeAt(0)))++ln,"\r"===u&&"\n"===an[sn]&&++sn,cn=sn;else switch(u){case"u":case"x":if("{"===an[sn])++sn,l+=E();else{if(a=A(u),!a)throw te();l+=a}break;case"n":l+="\n";break;case"r":l+="\r";break;case"t":l+="\t";break;case"b":l+="\b";break;case"f":l+="\f";break;case"v":l+="\v";break;case"8":case"9":l+=u,ne();break;default:r(u)?(s=i(u),c=s.octal||c,l+=String.fromCharCode(s.code)):l+=u}else{if(o(u.charCodeAt(0)))break;l+=u}}return""!==e&&(sn=n,te()),{type:Xt.StringLiteral,value:l,octal:c,lineNumber:mn,lineStart:Cn,start:n,end:sn}}function L(){var e,t,u,i,a,s,l,c,f="";for(i=!1,s=!1,t=sn,a="`"===an[sn],u=2,++sn;sn<An;){if(e=an[sn++],"`"===e){u=1,s=!0,i=!0;break}if("$"===e){if("{"===an[sn]){yn.curlyStack.push("${"),++sn,i=!0;break}f+=e}else if("\\"===e)if(e=an[sn++],o(e.charCodeAt(0)))++ln,"\r"===e&&"\n"===an[sn]&&++sn,cn=sn;else switch(e){case"n":f+="\n";break;case"r":f+="\r";break;case"t":f+="\t";break;case"u":case"x":"{"===an[sn]?(++sn,f+=E()):(l=sn,c=A(e),c?f+=c:(sn=l,f+=e));break;case"b":f+="\b";break;case"f":f+="\f";break;case"v":f+="\v";break;default:"0"===e?(n(an.charCodeAt(sn))&&X(un.TemplateOctalLiteral),f+="\0"):r(e)?X(un.TemplateOctalLiteral):f+=e}else o(e.charCodeAt(0))?(++ln,"\r"===e&&"\n"===an[sn]&&++sn,cn=sn,f+="\n"):f+=e}return i||te(),a||yn.curlyStack.pop(),{type:Xt.Template,value:{cooked:f,raw:an.slice(t+1,sn-u)},head:a,tail:s,lineNumber:ln,lineStart:cn,start:t,end:sn}}function O(e,t){var n="",u=e;t.indexOf("u")>=0&&(u=u.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(e,t,u){var r=parseInt(t||u,16);return r>1114111&&te(null,un.InvalidRegExp),r<=65535?String.fromCharCode(r):n}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n));try{RegExp(u)}catch(e){te(null,un.InvalidRegExp)}try{return new RegExp(e,t)}catch(e){return null}}function N(){var e,n,u,r,i;for(e=an[sn],t("/"===e,"Regular expression literal must start with a slash"),n=an[sn++],u=!1,r=!1;sn<An;)if(e=an[sn++],n+=e,"\\"===e)e=an[sn++],o(e.charCodeAt(0))&&te(null,un.UnterminatedRegExp),n+=e;else if(o(e.charCodeAt(0)))te(null,un.UnterminatedRegExp);else if(u)"]"===e&&(u=!1);else{if("/"===e){r=!0;break}"["===e&&(u=!0)}return r||te(null,un.UnterminatedRegExp),i=n.substr(1,n.length-2),{value:i,literal:n}}function T(){var e,t,n,u;for(t="",n="";sn<An&&(e=an[sn],c(e.charCodeAt(0)));)if(++sn,"\\"===e&&sn<An)if(e=an[sn],"u"===e){if(++sn,u=sn,e=A("u"))for(n+=e,t+="\\u";u<sn;++u)t+=an[u];else sn=u,n+="u",t+="\\u";ne()}else t+="\\",ne();else n+=e,t+=e;return{value:n,literal:t}}function R(){var e,t,n,u;return Fn=!0,En=null,F(),e=sn,t=N(),n=T(),u=O(t.value,n.value),Fn=!1,gn.tokenize?{type:Xt.RegularExpression,value:u,regex:{pattern:t.value,flags:n.value},lineNumber:ln,lineStart:cn,start:e,end:sn}:{literal:t.literal+n.literal,value:u,regex:{pattern:t.value,flags:n.value},start:e,end:sn}}function j(){var e,t,n,u;return F(),e=sn,t={start:{line:ln,column:sn-cn}},n=R(),t.end={line:ln,column:sn-cn},gn.tokenize||(gn.tokens.length>0&&(u=gn.tokens[gn.tokens.length-1],u.range[0]===e&&"Punctuator"===u.type&&("/"!==u.value&&"/="!==u.value||gn.tokens.pop())),gn.tokens.push({type:"RegularExpression",value:n.literal,regex:n.regex,range:[e,sn],loc:t})),n}function _(e){return e.type===Xt.Identifier||e.type===Xt.Keyword||e.type===Xt.BooleanLiteral||e.type===Xt.NullLiteral}function M(){function e(e){return e&&e.length>1&&e[0]>="a"&&e[0]<="z"}var t,n,u;switch(n=gn.tokenValues[gn.tokenValues.length-1],t=null!==n,n){case"this":case"]":t=!1;break;case")":u=gn.tokenValues[gn.openParenToken-1],t="if"===u||"while"===u||"for"===u||"with"===u;break;case"}":t=!1,e(gn.tokenValues[gn.openCurlyToken-3])?(u=gn.tokenValues[gn.openCurlyToken-4],t=!!u&&en.indexOf(u)<0):e(gn.tokenValues[gn.openCurlyToken-4])&&(u=gn.tokenValues[gn.openCurlyToken-5],t=!u||en.indexOf(u)<0)}return t?j():x()}function U(){var e,t;return sn>=An?{type:Xt.EOF,lineNumber:ln,lineStart:cn,start:sn,end:sn}:(e=an.charCodeAt(sn),l(e)?(t=B(),on&&D(t.value)&&(t.type=Xt.Keyword),t):40===e||41===e||59===e?x():39===e||34===e?P():46===e?n(an.charCodeAt(sn+1))?I():x():n(e)?I():gn.tokenize&&47===e?M():96===e||125===e&&"${"===yn.curlyStack[yn.curlyStack.length-1]?L():e>=55296&&e<57343&&(e=y(sn),l(e))?B():x())}function Y(){var e,t,n,u;return e={start:{line:ln,column:sn-cn}},t=U(),e.end={line:ln,column:sn-cn},t.type!==Xt.EOF&&(n=an.slice(t.start,t.end),u={type:Jt[t.type],value:n,range:[t.start,t.end],loc:e},t.regex&&(u.regex={pattern:t.regex.pattern,flags:t.regex.flags}),gn.tokenValues&&gn.tokenValues.push("Punctuator"===u.type||"Keyword"===u.type?u.value:null),gn.tokenize&&(gn.range||delete u.range,gn.loc||delete u.loc,gn.delegate&&(u=gn.delegate(u))),gn.tokens.push(u)),t}function V(){var e;return Fn=!0,Dn=sn,pn=ln,hn=cn,F(),e=En,dn=sn,mn=ln,Cn=cn,En="undefined"!=typeof gn.tokens?Y():U(),Fn=!1,e}function H(){Fn=!0,F(),Dn=sn,pn=ln,hn=cn,dn=sn,mn=ln,Cn=cn,En="undefined"!=typeof gn.tokens?Y():U(),Fn=!1}function $(){this.line=mn,this.column=dn-Cn}function K(){this.start=new $,this.end=null}function q(e){this.start={line:e.lineNumber,column:e.start-e.lineStart},this.end=null}function W(){gn.range&&(this.range=[dn,0]),gn.loc&&(this.loc=new K)}function z(e){gn.range&&(this.range=[e.start,0]),gn.loc&&(this.loc=new q(e))}function G(e){var t,n;for(t=0;t<gn.errors.length;t++)if(n=gn.errors[t],n.index===e.index&&n.message===e.message)return;gn.errors.push(e)}function Z(e,t){var n=new Error(e);try{throw n}catch(e){Object.create&&Object.defineProperty&&(n=Object.create(e),Object.defineProperty(n,"column",{value:t}))}finally{return n}}function Q(e,t,n){var u,r,i;return u="Line "+e+": "+n,r=t-(Fn?cn:hn)+1,i=Z(u,r),i.lineNumber=e,i.description=n,i.index=t,i}function X(e){var n,u;throw n=Array.prototype.slice.call(arguments,1),u=e.replace(/%(\d)/g,function(e,u){return t(u<n.length,"Message reference must be in range"),n[u]}),Q(pn,Dn,u)}function J(e){var n,u,r;if(n=Array.prototype.slice.call(arguments,1),u=e.replace(/%(\d)/g,function(e,u){return t(u<n.length,"Message reference must be in range"),n[u]}),r=Q(ln,Dn,u),!gn.errors)throw r;G(r)}function ee(e,t){var n,u=t||un.UnexpectedToken;return e?(t||(u=e.type===Xt.EOF?un.UnexpectedEOS:e.type===Xt.Identifier?un.UnexpectedIdentifier:e.type===Xt.NumericLiteral?un.UnexpectedNumber:e.type===Xt.StringLiteral?un.UnexpectedString:e.type===Xt.Template?un.UnexpectedTemplate:un.UnexpectedToken,e.type===Xt.Keyword&&(f(e.value)?u=un.UnexpectedReserved:on&&D(e.value)&&(u=un.StrictReservedWord))),n=e.type===Xt.Template?e.value.raw:e.value):n="ILLEGAL",u=u.replace("%0",n),e&&"number"==typeof e.lineNumber?Q(e.lineNumber,e.start,u):Q(Fn?ln:pn,Fn?sn:Dn,u)}function te(e,t){throw ee(e,t)}function ne(e,t){var n=ee(e,t);if(!gn.errors)throw n;G(n)}function ue(e){var t=V();t.type===Xt.Punctuator&&t.value===e||te(t)}function re(){var e;gn.errors?(e=En,e.type===Xt.Punctuator&&","===e.value?V():e.type===Xt.Punctuator&&";"===e.value?(V(),ne(e)):ne(e,un.UnexpectedToken)):ue(",")}function ie(e){var t=V();t.type===Xt.Keyword&&t.value===e||te(t)}function ae(e){return En.type===Xt.Punctuator&&En.value===e}function oe(e){return En.type===Xt.Keyword&&En.value===e}function se(e){return En.type===Xt.Identifier&&En.value===e}function le(){var e;return En.type===Xt.Punctuator&&(e=En.value,"="===e||"*="===e||"/="===e||"%="===e||"+="===e||"-="===e||"<<="===e||">>="===e||">>>="===e||"&="===e||"^="===e||"|="===e)}function ce(){return 59===an.charCodeAt(dn)||ae(";")?void V():void(fn||(Dn=dn,pn=mn,hn=Cn,En.type===Xt.EOF||ae("}")||te(En)))}function fe(e){var t,n=vn,u=Bn,r=xn;return vn=!0,Bn=!0,xn=null,t=e(),null!==xn&&te(xn),vn=n,Bn=u,xn=r,t}function De(e){var t,n=vn,u=Bn,r=xn;return vn=!0,Bn=!0,xn=null,t=e(),vn=vn&&n,Bn=Bn&&u,xn=r||xn,t}function pe(e,t){var n,u,r=new W,i=[];for(ue("[");!ae("]");)if(ae(","))V(),i.push(null);else{if(ae("...")){u=new W,V(),e.push(En),n=Je(t),i.push(u.finishRestElement(n));break}i.push(Ce(e,t)),ae("]")||ue(",")}return ue("]"),r.finishArrayPattern(i)}function he(e,t){var n,u,r,i=new W,a=ae("[");if(En.type===Xt.Identifier){if(u=En,n=Je(),ae("="))return e.push(u),V(),r=ze(),i.finishProperty("init",n,!1,new z(u).finishAssignmentPattern(n,r),!1,!0);if(!ae(":"))return e.push(u),i.finishProperty("init",n,!1,n,!1,!0)}else n=ye();return ue(":"),r=Ce(e,t),i.finishProperty("init",n,a,r,!1,!1)}function de(e,t){var n=new W,u=[];for(ue("{");!ae("}");)u.push(he(e,t)),ae("}")||ue(",");return V(),n.finishObjectPattern(u)}function me(e,t){return ae("[")?pe(e,t):ae("{")?de(e,t):(oe("let")&&("const"!==t&&"let"!==t||ne(En,un.UnexpectedToken)),e.push(En),Je(t))}function Ce(e,t){var n,u,r,i=En;return n=me(e,t),ae("=")&&(V(),u=yn.allowYield,yn.allowYield=!0,r=fe(ze),yn.allowYield=u,n=new z(i).finishAssignmentPattern(n,r)),n}function Fe(){var e,t=[],n=new W;for(ue("[");!ae("]");)ae(",")?(V(),t.push(null)):ae("...")?(e=new W,V(),e.finishSpreadElement(De(ze)),ae("]")||(Bn=vn=!1,ue(",")),t.push(e)):(t.push(De(ze)),ae("]")||ue(","));return V(),n.finishArrayExpression(t)}function Ae(e,t,n){var u,r;return Bn=vn=!1,u=on,r=fe(bt),on&&t.firstRestricted&&ne(t.firstRestricted,t.message),on&&t.stricted&&ne(t.stricted,t.message),on=u,e.finishFunctionExpression(null,t.params,t.defaults,r,n)}function Ee(){var e,t,n=new W,u=yn.allowYield;return yn.allowYield=!1,e=It(),yn.allowYield=u,yn.allowYield=!1,t=Ae(n,e,!1),yn.allowYield=u,t}function ye(){var e,t,n=new W;switch(e=V(),e.type){case Xt.StringLiteral:case Xt.NumericLiteral:return on&&e.octal&&ne(e,un.StrictOctalLiteral),n.finishLiteral(e);case Xt.Identifier:case Xt.BooleanLiteral:case Xt.NullLiteral:case Xt.Keyword:return n.finishIdentifier(e.value);case Xt.Punctuator:if("["===e.value)return t=fe(ze),ue("]"),t}te(e)}function ge(){switch(En.type){case Xt.Identifier:case Xt.StringLiteral:case Xt.BooleanLiteral:case Xt.NullLiteral:case Xt.NumericLiteral:case Xt.Keyword:return!0;case Xt.Punctuator:return"["===En.value}return!1}function ve(e,t,n,u){var r,i,a,o,s=yn.allowYield;if(e.type===Xt.Identifier){if("get"===e.value&&ge())return n=ae("["),t=ye(),a=new W,ue("("),ue(")"),yn.allowYield=!1,r=Ae(a,{params:[],defaults:[],stricted:null,firstRestricted:null,message:null},!1),yn.allowYield=s,u.finishProperty("get",t,n,r,!1,!1);if("set"===e.value&&ge())return n=ae("["),t=ye(),a=new W,ue("("),i={params:[],defaultCount:0,defaults:[],firstRestricted:null,paramSet:{}},ae(")")?ne(En):(yn.allowYield=!1,kt(i),yn.allowYield=s,0===i.defaultCount&&(i.defaults=[])),ue(")"),yn.allowYield=!1,r=Ae(a,i,!1),yn.allowYield=s,u.finishProperty("set",t,n,r,!1,!1)}else if(e.type===Xt.Punctuator&&"*"===e.value&&ge())return n=ae("["),t=ye(),a=new W,yn.allowYield=!0,o=It(),yn.allowYield=s,yn.allowYield=!1,r=Ae(a,o,!0),yn.allowYield=s,u.finishProperty("init",t,n,r,!0,!1);return t&&ae("(")?(r=Ee(),u.finishProperty("init",t,n,r,!0,!1)):null}function Be(e){var t,n,u,r,i,a=En,o=new W;return t=ae("["),ae("*")?V():n=ye(),(u=ve(a,n,t,o))?u:(n||te(En),t||(r=n.type===tn.Identifier&&"__proto__"===n.name||n.type===tn.Literal&&"__proto__"===n.value,e.value&&r&&J(un.DuplicateProtoProperty),e.value|=r),ae(":")?(V(),i=De(ze),o.finishProperty("init",n,t,i,!1,!1)):a.type===Xt.Identifier?ae("=")?(xn=En,V(),i=fe(ze),o.finishProperty("init",n,t,new z(a).finishAssignmentPattern(n,i),!1,!0)):o.finishProperty("init",n,t,n,!1,!0):void te(En))}function xe(){var e=[],t={value:!1},n=new W;for(ue("{");!ae("}");)e.push(Be(t)),ae("}")||re();return ue("}"),n.finishObjectExpression(e)}function we(e){var t;switch(e.type){case tn.Identifier:case tn.MemberExpression:case tn.RestElement:case tn.AssignmentPattern:break;case tn.SpreadElement:e.type=tn.RestElement,we(e.argument);break;case tn.ArrayExpression:for(e.type=tn.ArrayPattern,t=0;t<e.elements.length;t++)null!==e.elements[t]&&we(e.elements[t]);break;case tn.ObjectExpression:for(e.type=tn.ObjectPattern,t=0;t<e.properties.length;t++)we(e.properties[t].value);break;case tn.AssignmentExpression:e.type=tn.AssignmentPattern,we(e.left)}}function be(e){var t,n;return(En.type!==Xt.Template||e.head&&!En.head)&&te(),t=new W,n=V(),t.finishTemplateElement({raw:n.value.raw,cooked:n.value.cooked},n.tail)}function Se(){var e,t,n,u=new W;for(e=be({head:!0}),t=[e],n=[];!e.tail;)n.push(Ge()),e=be({head:!1}),t.push(e);return u.finishTemplateLiteral(t,n)}function ke(){var e,t,n,u,r=[];if(ue("("),ae(")"))return V(),ae("=>")||ue("=>"),{type:nn.ArrowParameterPlaceHolder,params:[],rawParams:[]};if(n=En,ae("..."))return e=lt(r),ue(")"),ae("=>")||ue("=>"),{type:nn.ArrowParameterPlaceHolder,params:[e]};if(vn=!0,e=De(ze),ae(",")){for(Bn=!1,t=[e];dn<An&&ae(",");){if(V(),ae("...")){for(vn||te(En),t.push(lt(r)),ue(")"),ae("=>")||ue("=>"),vn=!1,u=0;u<t.length;u++)we(t[u]);return{type:nn.ArrowParameterPlaceHolder,params:t}}t.push(De(ze))}e=new z(n).finishSequenceExpression(t)}if(ue(")"),ae("=>")){if(e.type===tn.Identifier&&"yield"===e.name)return{type:nn.ArrowParameterPlaceHolder,params:[e]};if(vn||te(En),e.type===tn.SequenceExpression)for(u=0;u<e.expressions.length;u++)we(e.expressions[u]);else we(e);e={type:nn.ArrowParameterPlaceHolder,params:e.type===tn.SequenceExpression?e.expressions:[e]}}return vn=!1,e}function Ie(){var e,t,n,u;if(ae("("))return vn=!1,De(ke);if(ae("["))return De(Fe);if(ae("{"))return De(xe);if(e=En.type,u=new W,e===Xt.Identifier)"module"===yn.sourceType&&"await"===En.value&&ne(En),n=u.finishIdentifier(V().value);else if(e===Xt.StringLiteral||e===Xt.NumericLiteral)Bn=vn=!1,on&&En.octal&&ne(En,un.StrictOctalLiteral),n=u.finishLiteral(V());else if(e===Xt.Keyword){if(!on&&yn.allowYield&&oe("yield"))return Le();if(!on&&oe("let"))return u.finishIdentifier(V().value);if(Bn=vn=!1,oe("function"))return Lt();if(oe("this"))return V(),u.finishThisExpression();if(oe("class"))return Tt();te(V())}else e===Xt.BooleanLiteral?(Bn=vn=!1,t=V(),t.value="true"===t.value,n=u.finishLiteral(t)):e===Xt.NullLiteral?(Bn=vn=!1,t=V(),t.value=null,n=u.finishLiteral(t)):ae("/")||ae("/=")?(Bn=vn=!1,sn=dn,t="undefined"!=typeof gn.tokens?j():R(),V(),n=u.finishLiteral(t)):e===Xt.Template?n=Se():te(V());return n}function Pe(){var e,t=[];if(ue("("),!ae(")"))for(;dn<An&&(ae("...")?(e=new W,V(),e.finishSpreadElement(fe(ze))):e=fe(ze),t.push(e),!ae(")"));)re();return ue(")"),t}function Le(){var e,t=new W;return e=V(),_(e)||te(e),t.finishIdentifier(e.value)}function Oe(){return ue("."),Le()}function Ne(){var e;return ue("["),e=fe(Ge),ue("]"),e}function Te(){var e,t,n=new W;if(ie("new"),ae(".")){if(V(),En.type===Xt.Identifier&&"target"===En.value&&yn.inFunctionBody)return V(),n.finishMetaProperty("new","target");te(En)}return e=fe(je),t=ae("(")?Pe():[],Bn=vn=!1,n.finishNewExpression(e,t)}function Re(){var e,t,n,u,r,i=yn.allowIn;for(r=En,yn.allowIn=!0,oe("super")&&yn.inFunctionBody?(t=new W,V(),t=t.finishSuper(),ae("(")||ae(".")||ae("[")||te(En)):t=De(oe("new")?Te:Ie);;)if(ae("."))vn=!1,Bn=!0,u=Oe(),t=new z(r).finishMemberExpression(".",t,u);else if(ae("("))vn=!1,Bn=!1,n=Pe(),t=new z(r).finishCallExpression(t,n);else if(ae("["))vn=!1,Bn=!0,u=Ne(),t=new z(r).finishMemberExpression("[",t,u);else{if(En.type!==Xt.Template||!En.head)break;e=Se(),t=new z(r).finishTaggedTemplateExpression(t,e)}return yn.allowIn=i,t}function je(){var e,n,u,r;for(t(yn.allowIn,"callee of new expression always allow in keyword."),r=En,oe("super")&&yn.inFunctionBody?(n=new W,V(),n=n.finishSuper(),ae("[")||ae(".")||te(En)):n=De(oe("new")?Te:Ie);;)if(ae("["))vn=!1,Bn=!0,u=Ne(),n=new z(r).finishMemberExpression("[",n,u);else if(ae("."))vn=!1,Bn=!0,u=Oe(),n=new z(r).finishMemberExpression(".",n,u);else{if(En.type!==Xt.Template||!En.head)break;e=Se(),n=new z(r).finishTaggedTemplateExpression(n,e)}return n}function _e(){var e,t,n=En;return e=De(Re),fn||En.type!==Xt.Punctuator||(ae("++")||ae("--"))&&(on&&e.type===tn.Identifier&&p(e.name)&&J(un.StrictLHSPostfix),Bn||J(un.InvalidLHSInAssignment),Bn=vn=!1,t=V(),e=new z(n).finishPostfixExpression(t.value,e)),e}function Me(){var e,t,n;return En.type!==Xt.Punctuator&&En.type!==Xt.Keyword?t=_e():ae("++")||ae("--")?(n=En,e=V(),t=De(Me),on&&t.type===tn.Identifier&&p(t.name)&&J(un.StrictLHSPrefix),Bn||J(un.InvalidLHSInAssignment),t=new z(n).finishUnaryExpression(e.value,t),Bn=vn=!1):ae("+")||ae("-")||ae("~")||ae("!")?(n=En,e=V(),t=De(Me),t=new z(n).finishUnaryExpression(e.value,t),Bn=vn=!1):oe("delete")||oe("void")||oe("typeof")?(n=En,e=V(),t=De(Me),t=new z(n).finishUnaryExpression(e.value,t),on&&"delete"===t.operator&&t.argument.type===tn.Identifier&&J(un.StrictDelete),Bn=vn=!1):t=_e(),t}function Ue(e,t){var n=0;if(e.type!==Xt.Punctuator&&e.type!==Xt.Keyword)return 0;switch(e.value){case"||":n=1;break;case"&&":n=2;break;case"|":n=3;break;case"^":n=4;break;case"&":n=5;break;case"==":case"!=":case"===":case"!==":n=6;break;
case"<":case">":case"<=":case">=":case"instanceof":n=7;break;case"in":n=t?7:0;break;case"<<":case">>":case">>>":n=8;break;case"+":case"-":n=9;break;case"*":case"/":case"%":n=11}return n}function Ye(){var e,t,n,u,r,i,a,o,s,l;if(e=En,s=De(Me),u=En,r=Ue(u,yn.allowIn),0===r)return s;for(Bn=vn=!1,u.prec=r,V(),t=[e,En],a=fe(Me),i=[s,u,a];(r=Ue(En,yn.allowIn))>0;){for(;i.length>2&&r<=i[i.length-2].prec;)a=i.pop(),o=i.pop().value,s=i.pop(),t.pop(),n=new z(t[t.length-1]).finishBinaryExpression(o,s,a),i.push(n);u=V(),u.prec=r,i.push(u),t.push(En),n=fe(Me),i.push(n)}for(l=i.length-1,n=i[l],t.pop();l>1;)n=new z(t.pop()).finishBinaryExpression(i[l-1].value,i[l-2],n),l-=2;return n}function Ve(){var e,t,n,u,r;return r=En,e=De(Ye),ae("?")&&(V(),t=yn.allowIn,yn.allowIn=!0,n=fe(ze),yn.allowIn=t,ue(":"),u=fe(ze),e=new z(r).finishConditionalExpression(e,n,u),Bn=vn=!1),e}function He(){return ae("{")?bt():fe(ze)}function $e(e,n){var u;switch(n.type){case tn.Identifier:St(e,n,n.name);break;case tn.RestElement:$e(e,n.argument);break;case tn.AssignmentPattern:$e(e,n.left);break;case tn.ArrayPattern:for(u=0;u<n.elements.length;u++)null!==n.elements[u]&&$e(e,n.elements[u]);break;case tn.YieldExpression:break;default:for(t(n.type===tn.ObjectPattern,"Invalid type"),u=0;u<n.properties.length;u++)$e(e,n.properties[u].value)}}function Ke(e){var t,n,u,r,i,a,o,s;switch(i=[],a=0,r=[e],e.type){case tn.Identifier:break;case nn.ArrowParameterPlaceHolder:r=e.params;break;default:return null}for(o={paramSet:{}},t=0,n=r.length;t<n;t+=1)switch(u=r[t],u.type){case tn.AssignmentPattern:r[t]=u.left,u.right.type===tn.YieldExpression&&(u.right.argument&&te(En),u.right.type=tn.Identifier,u.right.name="yield",delete u.right.argument,delete u.right.delegate),i.push(u.right),++a,$e(o,u.left);break;default:$e(o,u),r[t]=u,i.push(null)}if(on||!yn.allowYield)for(t=0,n=r.length;t<n;t+=1)u=r[t],u.type===tn.YieldExpression&&te(En);return o.message===un.StrictParamDupe&&(s=on?o.stricted:o.firstRestricted,te(s,o.message)),0===a&&(i=[]),{params:r,defaults:i,stricted:o.stricted,firstRestricted:o.firstRestricted,message:o.message}}function qe(e,t){var n,u,r;return fn&&ne(En),ue("=>"),n=on,u=yn.allowYield,yn.allowYield=!0,r=He(),on&&e.firstRestricted&&te(e.firstRestricted,e.message),on&&e.stricted&&ne(e.stricted,e.message),on=n,yn.allowYield=u,t.finishArrowFunctionExpression(e.params,e.defaults,r,r.type!==tn.BlockStatement)}function We(){var e,t,n,u;return e=null,t=new W,n=!1,ie("yield"),fn||(u=yn.allowYield,yn.allowYield=!1,n=ae("*"),n?(V(),e=ze()):ae(";")||ae("}")||ae(")")||En.type===Xt.EOF||(e=ze()),yn.allowYield=u),t.finishYieldExpression(e,n)}function ze(){var e,t,n,u,r;return r=En,e=En,!yn.allowYield&&oe("yield")?We():(t=Ve(),t.type===nn.ArrowParameterPlaceHolder||ae("=>")?(Bn=vn=!1,u=Ke(t),u?(xn=null,qe(u,new z(r))):t):(le()&&(Bn||J(un.InvalidLHSInAssignment),on&&t.type===tn.Identifier&&(p(t.name)&&ne(e,un.StrictLHSAssignment),D(t.name)&&ne(e,un.StrictReservedWord)),ae("=")?we(t):Bn=vn=!1,e=V(),n=fe(ze),t=new z(r).finishAssignmentExpression(e.value,t,n),xn=null),t))}function Ge(){var e,t,n=En;if(e=fe(ze),ae(",")){for(t=[e];dn<An&&ae(",");)V(),t.push(fe(ze));e=new z(n).finishSequenceExpression(t)}return e}function Ze(){if(En.type===Xt.Keyword)switch(En.value){case"export":return"module"!==yn.sourceType&&ne(En,un.IllegalExportDeclaration),Yt();case"import":return"module"!==yn.sourceType&&ne(En,un.IllegalImportDeclaration),qt();case"const":return st({inFor:!1});case"function":return Pt(new W);case"class":return Nt()}return oe("let")&&ot()?st({inFor:!1}):wt()}function Qe(){for(var e=[];dn<An&&!ae("}");)e.push(Ze());return e}function Xe(){var e,t=new W;return ue("{"),e=Qe(),ue("}"),t.finishBlockStatement(e)}function Je(e){var t,n=new W;return t=V(),t.type===Xt.Keyword&&"yield"===t.value?(on&&ne(t,un.StrictReservedWord),yn.allowYield||te(t)):t.type!==Xt.Identifier?on&&t.type===Xt.Keyword&&D(t.value)?ne(t,un.StrictReservedWord):(on||"let"!==t.value||"var"!==e)&&te(t):"module"===yn.sourceType&&t.type===Xt.Identifier&&"await"===t.value&&ne(t),n.finishIdentifier(t.value)}function et(e){var t,n=null,u=new W,r=[];return t=me(r,"var"),on&&p(t.name)&&J(un.StrictVarName),ae("=")?(V(),n=fe(ze)):t.type===tn.Identifier||e.inFor||ue("="),u.finishVariableDeclarator(t,n)}function tt(e){var t,n;for(t={inFor:e.inFor},n=[et(t)];ae(",");)V(),n.push(et(t));return n}function nt(e){var t;return ie("var"),t=tt({inFor:!1}),ce(),e.finishVariableDeclaration(t)}function ut(e,t){var n,u=null,r=new W,i=[];return n=me(i,e),on&&n.type===tn.Identifier&&p(n.name)&&J(un.StrictVarName),"const"===e?oe("in")||se("of")||(ue("="),u=fe(ze)):(!t.inFor&&n.type!==tn.Identifier||ae("="))&&(ue("="),u=fe(ze)),r.finishVariableDeclarator(n,u)}function rt(e,t){for(var n=[ut(e,t)];ae(",");)V(),n.push(ut(e,t));return n}function it(){return{index:sn,lineNumber:ln,lineStart:cn,hasLineTerminator:fn,lastIndex:Dn,lastLineNumber:pn,lastLineStart:hn,startIndex:dn,startLineNumber:mn,startLineStart:Cn,lookahead:En,tokenCount:gn.tokens?gn.tokens.length:0}}function at(e){sn=e.index,ln=e.lineNumber,cn=e.lineStart,fn=e.hasLineTerminator,Dn=e.lastIndex,pn=e.lastLineNumber,hn=e.lastLineStart,dn=e.startIndex,mn=e.startLineNumber,Cn=e.startLineStart,En=e.lookahead,gn.tokens&&gn.tokens.splice(e.tokenCount,gn.tokens.length)}function ot(){var e,t;return t=it(),V(),e=En.type===Xt.Identifier||ae("[")||ae("{")||oe("let")||oe("yield"),at(t),e}function st(e){var n,u,r=new W;return n=V().value,t("let"===n||"const"===n,"Lexical declaration must be either let or const"),u=rt(n,e),ce(),r.finishLexicalDeclaration(u,n)}function lt(e){var t,n=new W;return V(),ae("{")&&X(un.ObjectPatternAsRestParameter),e.push(En),t=Je(),ae("=")&&X(un.DefaultRestParameter),ae(")")||X(un.ParameterAfterRestParameter),n.finishRestElement(t)}function ct(e){return ue(";"),e.finishEmptyStatement()}function ft(e){var t=Ge();return ce(),e.finishExpressionStatement(t)}function Dt(e){var t,n,u;return ie("if"),ue("("),t=Ge(),ue(")"),n=wt(),oe("else")?(V(),u=wt()):u=null,e.finishIfStatement(t,n,u)}function pt(e){var t,n,u;return ie("do"),u=yn.inIteration,yn.inIteration=!0,t=wt(),yn.inIteration=u,ie("while"),ue("("),n=Ge(),ue(")"),ae(";")&&V(),e.finishDoWhileStatement(t,n)}function ht(e){var t,n,u;return ie("while"),ue("("),t=Ge(),ue(")"),u=yn.inIteration,yn.inIteration=!0,n=wt(),yn.inIteration=u,e.finishWhileStatement(t,n)}function dt(e){var t,n,u,r,i,a,o,s,l,c,f,D,p=yn.allowIn;if(t=i=a=null,n=!0,ie("for"),ue("("),ae(";"))V();else if(oe("var"))t=new W,V(),yn.allowIn=!1,c=tt({inFor:!0}),yn.allowIn=p,1===c.length&&oe("in")?(t=t.finishVariableDeclaration(c),V(),o=t,s=Ge(),t=null):1===c.length&&null===c[0].init&&se("of")?(t=t.finishVariableDeclaration(c),V(),o=t,s=ze(),t=null,n=!1):(t=t.finishVariableDeclaration(c),ue(";"));else if(oe("const")||oe("let"))t=new W,l=V().value,on||"in"!==En.value?(yn.allowIn=!1,c=rt(l,{inFor:!0}),yn.allowIn=p,1===c.length&&null===c[0].init&&oe("in")?(t=t.finishLexicalDeclaration(c,l),V(),o=t,s=Ge(),t=null):1===c.length&&null===c[0].init&&se("of")?(t=t.finishLexicalDeclaration(c,l),V(),o=t,s=ze(),t=null,n=!1):(ce(),t=t.finishLexicalDeclaration(c,l))):(t=t.finishIdentifier(l),V(),o=t,s=Ge(),t=null);else if(r=En,yn.allowIn=!1,t=De(ze),yn.allowIn=p,oe("in"))Bn||J(un.InvalidLHSInForIn),V(),we(t),o=t,s=Ge(),t=null;else if(se("of"))Bn||J(un.InvalidLHSInForLoop),V(),we(t),o=t,s=ze(),t=null,n=!1;else{if(ae(",")){for(u=[t];ae(",");)V(),u.push(fe(ze));t=new z(r).finishSequenceExpression(u)}ue(";")}return"undefined"==typeof o&&(ae(";")||(i=Ge()),ue(";"),ae(")")||(a=Ge())),ue(")"),D=yn.inIteration,yn.inIteration=!0,f=fe(wt),yn.inIteration=D,"undefined"==typeof o?e.finishForStatement(t,i,a,f):n?e.finishForInStatement(o,s,f):e.finishForOfStatement(o,s,f)}function mt(e){var t,n=null;return ie("continue"),59===an.charCodeAt(dn)?(V(),yn.inIteration||X(un.IllegalContinue),e.finishContinueStatement(null)):fn?(yn.inIteration||X(un.IllegalContinue),e.finishContinueStatement(null)):(En.type===Xt.Identifier&&(n=Je(),t="$"+n.name,Object.prototype.hasOwnProperty.call(yn.labelSet,t)||X(un.UnknownLabel,n.name)),ce(),null!==n||yn.inIteration||X(un.IllegalContinue),e.finishContinueStatement(n))}function Ct(e){var t,n=null;return ie("break"),59===an.charCodeAt(Dn)?(V(),yn.inIteration||yn.inSwitch||X(un.IllegalBreak),e.finishBreakStatement(null)):(fn?yn.inIteration||yn.inSwitch||X(un.IllegalBreak):En.type===Xt.Identifier&&(n=Je(),t="$"+n.name,Object.prototype.hasOwnProperty.call(yn.labelSet,t)||X(un.UnknownLabel,n.name)),ce(),null!==n||yn.inIteration||yn.inSwitch||X(un.IllegalBreak),e.finishBreakStatement(n))}function Ft(e){var t=null;return ie("return"),yn.inFunctionBody||J(un.IllegalReturn),32===an.charCodeAt(Dn)&&l(an.charCodeAt(Dn+1))?(t=Ge(),ce(),e.finishReturnStatement(t)):fn?e.finishReturnStatement(null):(ae(";")||ae("}")||En.type===Xt.EOF||(t=Ge()),ce(),e.finishReturnStatement(t))}function At(e){var t,n;return on&&J(un.StrictModeWith),ie("with"),ue("("),t=Ge(),ue(")"),n=wt(),e.finishWithStatement(t,n)}function Et(){var e,t,n=[],u=new W;for(oe("default")?(V(),e=null):(ie("case"),e=Ge()),ue(":");dn<An&&!(ae("}")||oe("default")||oe("case"));)t=Ze(),n.push(t);return u.finishSwitchCase(e,n)}function yt(e){var t,n,u,r,i;if(ie("switch"),ue("("),t=Ge(),ue(")"),ue("{"),n=[],ae("}"))return V(),e.finishSwitchStatement(t,n);for(r=yn.inSwitch,yn.inSwitch=!0,i=!1;dn<An&&!ae("}");)u=Et(),null===u.test&&(i&&X(un.MultipleDefaultsInSwitch),i=!0),n.push(u);return yn.inSwitch=r,ue("}"),e.finishSwitchStatement(t,n)}function gt(e){var t;return ie("throw"),fn&&X(un.NewlineAfterThrow),t=Ge(),ce(),e.finishThrowStatement(t)}function vt(){var e,t,n,u,r=[],i={},a=new W;for(ie("catch"),ue("("),ae(")")&&te(En),e=me(r),n=0;n<r.length;n++)t="$"+r[n].value,Object.prototype.hasOwnProperty.call(i,t)&&J(un.DuplicateBinding,r[n].value),i[t]=!0;return on&&p(e.name)&&J(un.StrictCatchVariable),ue(")"),u=Xe(),a.finishCatchClause(e,u)}function Bt(e){var t,n=null,u=null;return ie("try"),t=Xe(),oe("catch")&&(n=vt()),oe("finally")&&(V(),u=Xe()),n||u||X(un.NoCatchOrFinally),e.finishTryStatement(t,n,u)}function xt(e){return ie("debugger"),ce(),e.finishDebuggerStatement()}function wt(){var e,t,n,u,r=En.type;if(r===Xt.EOF&&te(En),r===Xt.Punctuator&&"{"===En.value)return Xe();if(Bn=vn=!0,u=new W,r===Xt.Punctuator)switch(En.value){case";":return ct(u);case"(":return ft(u)}else if(r===Xt.Keyword)switch(En.value){case"break":return Ct(u);case"continue":return mt(u);case"debugger":return xt(u);case"do":return pt(u);case"for":return dt(u);case"function":return Pt(u);case"if":return Dt(u);case"return":return Ft(u);case"switch":return yt(u);case"throw":return gt(u);case"try":return Bt(u);case"var":return nt(u);case"while":return ht(u);case"with":return At(u)}return e=Ge(),e.type===tn.Identifier&&ae(":")?(V(),n="$"+e.name,Object.prototype.hasOwnProperty.call(yn.labelSet,n)&&X(un.Redeclaration,"Label",e.name),yn.labelSet[n]=!0,t=wt(),delete yn.labelSet[n],u.finishLabeledStatement(e,t)):(ce(),u.finishExpressionStatement(e))}function bt(){var e,t,n,u,r,i,a,o,s=[],l=new W;for(ue("{");dn<An&&En.type===Xt.StringLiteral&&(t=En,e=Ze(),s.push(e),e.expression.type===tn.Literal);)n=an.slice(t.start+1,t.end-1),"use strict"===n?(on=!0,u&&ne(u,un.StrictOctalLiteral)):!u&&t.octal&&(u=t);for(r=yn.labelSet,i=yn.inIteration,a=yn.inSwitch,o=yn.inFunctionBody,yn.labelSet={},yn.inIteration=!1,yn.inSwitch=!1,yn.inFunctionBody=!0;dn<An&&!ae("}");)s.push(Ze());return ue("}"),yn.labelSet=r,yn.inIteration=i,yn.inSwitch=a,yn.inFunctionBody=o,l.finishBlockStatement(s)}function St(e,t,n){var u="$"+n;on?(p(n)&&(e.stricted=t,e.message=un.StrictParamName),Object.prototype.hasOwnProperty.call(e.paramSet,u)&&(e.stricted=t,e.message=un.StrictParamDupe)):e.firstRestricted||(p(n)?(e.firstRestricted=t,e.message=un.StrictParamName):D(n)?(e.firstRestricted=t,e.message=un.StrictReservedWord):Object.prototype.hasOwnProperty.call(e.paramSet,u)&&(e.stricted=t,e.message=un.StrictParamDupe)),e.paramSet[u]=!0}function kt(e){var t,n,u,r,i=[];if(t=En,"..."===t.value)return n=lt(i),St(e,n.argument,n.argument.name),e.params.push(n),e.defaults.push(null),!1;for(n=Ce(i),u=0;u<i.length;u++)St(e,i[u],i[u].value);return n.type===tn.AssignmentPattern&&(r=n.right,n=n.left,++e.defaultCount),e.params.push(n),e.defaults.push(r),!ae(")")}function It(e){var t;if(t={params:[],defaultCount:0,defaults:[],firstRestricted:e},ue("("),!ae(")"))for(t.paramSet={};dn<An&&kt(t);)ue(",");return ue(")"),0===t.defaultCount&&(t.defaults=[]),{params:t.params,defaults:t.defaults,stricted:t.stricted,firstRestricted:t.firstRestricted,message:t.message}}function Pt(e,t){var n,u,r,i,a,o,s,l,c,f=null,h=[],d=[];return c=yn.allowYield,ie("function"),l=ae("*"),l&&V(),t&&ae("(")||(u=En,f=Je(),on?p(u.value)&&ne(u,un.StrictFunctionName):p(u.value)?(a=u,o=un.StrictFunctionName):D(u.value)&&(a=u,o=un.StrictReservedWord)),yn.allowYield=!l,i=It(a),h=i.params,d=i.defaults,r=i.stricted,a=i.firstRestricted,i.message&&(o=i.message),s=on,n=bt(),on&&a&&te(a,o),on&&r&&ne(r,o),on=s,yn.allowYield=c,e.finishFunctionDeclaration(f,h,d,n,l)}function Lt(){var e,t,n,u,r,i,a,o,s,l=null,c=[],f=[],h=new W;return s=yn.allowYield,ie("function"),o=ae("*"),o&&V(),yn.allowYield=!o,ae("(")||(e=En,l=on||o||!oe("yield")?Je():Le(),on?p(e.value)&&ne(e,un.StrictFunctionName):p(e.value)?(n=e,u=un.StrictFunctionName):D(e.value)&&(n=e,u=un.StrictReservedWord)),r=It(n),c=r.params,f=r.defaults,t=r.stricted,n=r.firstRestricted,r.message&&(u=r.message),a=on,i=bt(),on&&n&&te(n,u),on&&t&&ne(t,u),on=a,yn.allowYield=s,h.finishFunctionExpression(l,c,f,i,o)}function Ot(){var e,t,n,u,r,i,a,o=!1;for(e=new W,ue("{"),u=[];!ae("}");)ae(";")?V():(r=new W,t=En,n=!1,i=ae("["),ae("*")?V():(a=ye(),"static"===a.name&&(ge()||ae("*"))&&(t=En,n=!0,i=ae("["),ae("*")?V():a=ye())),r=ve(t,a,i,r),r?(r.static=n,"init"===r.kind&&(r.kind="method"),n?r.computed||"prototype"!==(r.key.name||r.key.value.toString())||te(t,un.StaticPrototype):r.computed||"constructor"!==(r.key.name||r.key.value.toString())||("method"===r.kind&&r.method&&!r.value.generator||te(t,un.ConstructorSpecialMethod),o?te(t,un.DuplicateConstructor):o=!0,r.kind="constructor"),r.type=tn.MethodDefinition,delete r.method,delete r.shorthand,u.push(r)):te(En));return V(),e.finishClassBody(u)}function Nt(e){var t,n=null,u=null,r=new W,i=on;return on=!0,ie("class"),e&&En.type!==Xt.Identifier||(n=Je()),oe("extends")&&(V(),u=fe(Re)),t=Ot(),on=i,r.finishClassDeclaration(n,u,t)}function Tt(){var e,t=null,n=null,u=new W,r=on;return on=!0,ie("class"),En.type===Xt.Identifier&&(t=Je()),oe("extends")&&(V(),n=fe(Re)),e=Ot(),on=r,u.finishClassExpression(t,n,e)}function Rt(){var e=new W;return En.type!==Xt.StringLiteral&&X(un.InvalidModuleSpecifier),e.finishLiteral(V())}function jt(){var e,t,n,u=new W;return oe("default")?(n=new W,V(),t=n.finishIdentifier("default")):t=Je(),se("as")&&(V(),e=Le()),u.finishExportSpecifier(t,e)}function _t(e){var t,n=null,u=null,r=[];if(En.type===Xt.Keyword)switch(En.value){case"let":case"const":return n=st({inFor:!1}),e.finishExportNamedDeclaration(n,r,null);case"var":case"class":case"function":return n=Ze(),e.finishExportNamedDeclaration(n,r,null)}for(ue("{");!ae("}")&&(t=t||oe("default"),r.push(jt()),ae("}")||(ue(","),!ae("}"))););return ue("}"),se("from")?(V(),u=Rt(),ce()):t?X(En.value?un.UnexpectedToken:un.MissingFromClause,En.value):ce(),e.finishExportNamedDeclaration(n,r,u)}function Mt(e){var t=null,n=null;return ie("default"),oe("function")?(t=Pt(new W,!0),e.finishExportDefaultDeclaration(t)):oe("class")?(t=Nt(!0),e.finishExportDefaultDeclaration(t)):(se("from")&&X(un.UnexpectedToken,En.value),n=ae("{")?xe():ae("[")?Fe():ze(),ce(),e.finishExportDefaultDeclaration(n))}function Ut(e){var t;return ue("*"),se("from")||X(En.value?un.UnexpectedToken:un.MissingFromClause,En.value),V(),t=Rt(),ce(),e.finishExportAllDeclaration(t)}function Yt(){var e=new W;return yn.inFunctionBody&&X(un.IllegalExportDeclaration),ie("export"),oe("default")?Mt(e):ae("*")?Ut(e):_t(e)}function Vt(){var e,t,n=new W;return t=Le(),se("as")&&(V(),e=Je()),n.finishImportSpecifier(e,t)}function Ht(){var e=[];for(ue("{");!ae("}")&&(e.push(Vt()),ae("}")||(ue(","),!ae("}"))););return ue("}"),e}function $t(){var e,t=new W;return e=Le(),t.finishImportDefaultSpecifier(e)}function Kt(){var e,t=new W;return ue("*"),se("as")||X(un.NoAsAfterImportNamespace),V(),e=Le(),t.finishImportNamespaceSpecifier(e)}function qt(){var e,t=[],n=new W;return yn.inFunctionBody&&X(un.IllegalImportDeclaration),ie("import"),En.type===Xt.StringLiteral?e=Rt():(ae("{")?t=t.concat(Ht()):ae("*")?t.push(Kt()):_(En)&&!oe("default")?(t.push($t()),ae(",")&&(V(),ae("*")?t.push(Kt()):ae("{")?t=t.concat(Ht()):te(En))):te(V()),se("from")||X(En.value?un.UnexpectedToken:un.MissingFromClause,En.value),V(),e=Rt()),ce(),n.finishImportDeclaration(t,e)}function Wt(){for(var e,t,n,u,r=[];dn<An&&(t=En,t.type===Xt.StringLiteral)&&(e=Ze(),r.push(e),e.expression.type===tn.Literal);)n=an.slice(t.start+1,t.end-1),"use strict"===n?(on=!0,u&&ne(u,un.StrictOctalLiteral)):!u&&t.octal&&(u=t);for(;dn<An&&(e=Ze(),"undefined"!=typeof e);)r.push(e);return r}function zt(){var e,t;return H(),t=new W,e=Wt(),t.finishProgram(e,yn.sourceType)}function Gt(){var e,t,n,u=[];for(e=0;e<gn.tokens.length;++e)t=gn.tokens[e],n={type:t.type,value:t.value},t.regex&&(n.regex={pattern:t.regex.pattern,flags:t.regex.flags}),gn.range&&(n.range=t.range),gn.loc&&(n.loc=t.loc),u.push(n);gn.tokens=u}function Zt(e,t,n){var u,r;u=String,"string"==typeof e||e instanceof String||(e=u(e)),an=e,sn=0,ln=an.length>0?1:0,cn=0,dn=sn,mn=ln,Cn=cn,An=an.length,En=null,yn={allowIn:!0,allowYield:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1,curlyStack:[]},gn={},t=t||{},t.tokens=!0,gn.tokens=[],gn.tokenValues=[],gn.tokenize=!0,gn.delegate=n,gn.openParenToken=-1,gn.openCurlyToken=-1,gn.range="boolean"==typeof t.range&&t.range,gn.loc="boolean"==typeof t.loc&&t.loc,"boolean"==typeof t.comment&&t.comment&&(gn.comments=[]),"boolean"==typeof t.tolerant&&t.tolerant&&(gn.errors=[]);try{if(H(),En.type===Xt.EOF)return gn.tokens;for(V();En.type!==Xt.EOF;)try{V()}catch(e){if(gn.errors){G(e);break}throw e}r=gn.tokens,"undefined"!=typeof gn.errors&&(r.errors=gn.errors)}catch(e){throw e}finally{gn={}}return r}function Qt(e,t){var n,u;u=String,"string"==typeof e||e instanceof String||(e=u(e)),an=e,sn=0,ln=an.length>0?1:0,cn=0,dn=sn,mn=ln,Cn=cn,An=an.length,En=null,yn={allowIn:!0,allowYield:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1,curlyStack:[],sourceType:"script"},on=!1,gn={},"undefined"!=typeof t&&(gn.range="boolean"==typeof t.range&&t.range,gn.loc="boolean"==typeof t.loc&&t.loc,gn.attachComment="boolean"==typeof t.attachComment&&t.attachComment,gn.loc&&null!==t.source&&void 0!==t.source&&(gn.source=u(t.source)),"boolean"==typeof t.tokens&&t.tokens&&(gn.tokens=[]),"boolean"==typeof t.comment&&t.comment&&(gn.comments=[]),"boolean"==typeof t.tolerant&&t.tolerant&&(gn.errors=[]),gn.attachComment&&(gn.range=!0,gn.comments=[],gn.bottomRightStack=[],gn.trailingComments=[],gn.leadingComments=[]),"module"===t.sourceType&&(yn.sourceType=t.sourceType,on=!0));try{n=zt(),"undefined"!=typeof gn.comments&&(n.comments=gn.comments),"undefined"!=typeof gn.tokens&&(Gt(),n.tokens=gn.tokens),"undefined"!=typeof gn.errors&&(n.errors=gn.errors)}catch(e){throw e}finally{gn={}}return n}var Xt,Jt,en,tn,nn,un,rn,an,on,sn,ln,cn,fn,Dn,pn,hn,dn,mn,Cn,Fn,An,En,yn,gn,vn,Bn,xn;Xt={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9,Template:10},Jt={},Jt[Xt.BooleanLiteral]="Boolean",Jt[Xt.EOF]="<end>",Jt[Xt.Identifier]="Identifier",Jt[Xt.Keyword]="Keyword",Jt[Xt.NullLiteral]="Null",Jt[Xt.NumericLiteral]="Numeric",Jt[Xt.Punctuator]="Punctuator",Jt[Xt.StringLiteral]="String",Jt[Xt.RegularExpression]="RegularExpression",Jt[Xt.Template]="Template",en=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],tn={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},nn={ArrowParameterPlaceHolder:"ArrowParameterPlaceHolder"},un={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",DefaultRestParameter:"Unexpected token =",ObjectPatternAsRestParameter:"Unexpected token {",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ConstructorSpecialMethod:"Class constructor may not be an accessor",DuplicateConstructor:"A class may only have one constructor",StaticPrototype:"Classes may not have static property named prototype",MissingFromClause:"Unexpected token",NoAsAfterImportNamespace:"Unexpected token",InvalidModuleSpecifier:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalExportDeclaration:"Unexpected token",DuplicateBinding:"Duplicate binding %0"},rn={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\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\u2118-\u211D\u2124\u2126\u2128\u212A-\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\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDE00-\uDE11\uDE13-\uDE2B\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDE00-\uDE2F\uDE44\uDE80-\uDEAA]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF98]|\uD809[\uDC00-\uDC6E]|[\uD80C\uD840-\uD868\uD86A-\uD86C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B2\u08E4-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA69D\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2D\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDD0-\uDDDA\uDE00-\uDE11\uDE13-\uDE37\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF01-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF98]|\uD809[\uDC00-\uDC6E]|[\uD80C\uD840-\uD868\uD86A-\uD86C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/
},z.prototype=W.prototype={processComment:function(){var e,t,n,u,r,i,a=gn.bottomRightStack,o=a[a.length-1];if(!(this.type===tn.Program&&this.body.length>0)){if(this.type===tn.BlockStatement&&0===this.body.length){for(t=[],r=gn.leadingComments.length-1;r>=0;--r)i=gn.leadingComments[r],this.range[1]>=i.range[1]&&(t.unshift(i),gn.leadingComments.splice(r,1),gn.trailingComments.splice(r,1));if(t.length)return void(this.innerComments=t)}if(gn.trailingComments.length>0){for(u=[],r=gn.trailingComments.length-1;r>=0;--r)i=gn.trailingComments[r],i.range[0]>=this.range[1]&&(u.unshift(i),gn.trailingComments.splice(r,1));gn.trailingComments=[]}else o&&o.trailingComments&&o.trailingComments[0].range[0]>=this.range[1]&&(u=o.trailingComments,delete o.trailingComments);for(;o&&o.range[0]>=this.range[0];)e=a.pop(),o=a[a.length-1];if(e){if(e.leadingComments){for(n=[],r=e.leadingComments.length-1;r>=0;--r)i=e.leadingComments[r],i.range[1]<=this.range[0]&&(n.unshift(i),e.leadingComments.splice(r,1));e.leadingComments.length||(e.leadingComments=void 0)}}else if(gn.leadingComments.length>0)for(n=[],r=gn.leadingComments.length-1;r>=0;--r)i=gn.leadingComments[r],i.range[1]<=this.range[0]&&(n.unshift(i),gn.leadingComments.splice(r,1));n&&n.length>0&&(this.leadingComments=n),u&&u.length>0&&(this.trailingComments=u),a.push(this)}},finish:function(){gn.range&&(this.range[1]=Dn),gn.loc&&(this.loc.end={line:pn,column:Dn-hn},gn.source&&(this.loc.source=gn.source)),gn.attachComment&&this.processComment()},finishArrayExpression:function(e){return this.type=tn.ArrayExpression,this.elements=e,this.finish(),this},finishArrayPattern:function(e){return this.type=tn.ArrayPattern,this.elements=e,this.finish(),this},finishArrowFunctionExpression:function(e,t,n,u){return this.type=tn.ArrowFunctionExpression,this.id=null,this.params=e,this.defaults=t,this.body=n,this.generator=!1,this.expression=u,this.finish(),this},finishAssignmentExpression:function(e,t,n){return this.type=tn.AssignmentExpression,this.operator=e,this.left=t,this.right=n,this.finish(),this},finishAssignmentPattern:function(e,t){return this.type=tn.AssignmentPattern,this.left=e,this.right=t,this.finish(),this},finishBinaryExpression:function(e,t,n){return this.type="||"===e||"&&"===e?tn.LogicalExpression:tn.BinaryExpression,this.operator=e,this.left=t,this.right=n,this.finish(),this},finishBlockStatement:function(e){return this.type=tn.BlockStatement,this.body=e,this.finish(),this},finishBreakStatement:function(e){return this.type=tn.BreakStatement,this.label=e,this.finish(),this},finishCallExpression:function(e,t){return this.type=tn.CallExpression,this.callee=e,this.arguments=t,this.finish(),this},finishCatchClause:function(e,t){return this.type=tn.CatchClause,this.param=e,this.body=t,this.finish(),this},finishClassBody:function(e){return this.type=tn.ClassBody,this.body=e,this.finish(),this},finishClassDeclaration:function(e,t,n){return this.type=tn.ClassDeclaration,this.id=e,this.superClass=t,this.body=n,this.finish(),this},finishClassExpression:function(e,t,n){return this.type=tn.ClassExpression,this.id=e,this.superClass=t,this.body=n,this.finish(),this},finishConditionalExpression:function(e,t,n){return this.type=tn.ConditionalExpression,this.test=e,this.consequent=t,this.alternate=n,this.finish(),this},finishContinueStatement:function(e){return this.type=tn.ContinueStatement,this.label=e,this.finish(),this},finishDebuggerStatement:function(){return this.type=tn.DebuggerStatement,this.finish(),this},finishDoWhileStatement:function(e,t){return this.type=tn.DoWhileStatement,this.body=e,this.test=t,this.finish(),this},finishEmptyStatement:function(){return this.type=tn.EmptyStatement,this.finish(),this},finishExpressionStatement:function(e){return this.type=tn.ExpressionStatement,this.expression=e,this.finish(),this},finishForStatement:function(e,t,n,u){return this.type=tn.ForStatement,this.init=e,this.test=t,this.update=n,this.body=u,this.finish(),this},finishForOfStatement:function(e,t,n){return this.type=tn.ForOfStatement,this.left=e,this.right=t,this.body=n,this.finish(),this},finishForInStatement:function(e,t,n){return this.type=tn.ForInStatement,this.left=e,this.right=t,this.body=n,this.each=!1,this.finish(),this},finishFunctionDeclaration:function(e,t,n,u,r){return this.type=tn.FunctionDeclaration,this.id=e,this.params=t,this.defaults=n,this.body=u,this.generator=r,this.expression=!1,this.finish(),this},finishFunctionExpression:function(e,t,n,u,r){return this.type=tn.FunctionExpression,this.id=e,this.params=t,this.defaults=n,this.body=u,this.generator=r,this.expression=!1,this.finish(),this},finishIdentifier:function(e){return this.type=tn.Identifier,this.name=e,this.finish(),this},finishIfStatement:function(e,t,n){return this.type=tn.IfStatement,this.test=e,this.consequent=t,this.alternate=n,this.finish(),this},finishLabeledStatement:function(e,t){return this.type=tn.LabeledStatement,this.label=e,this.body=t,this.finish(),this},finishLiteral:function(e){return this.type=tn.Literal,this.value=e.value,this.raw=an.slice(e.start,e.end),e.regex&&(this.regex=e.regex),this.finish(),this},finishMemberExpression:function(e,t,n){return this.type=tn.MemberExpression,this.computed="["===e,this.object=t,this.property=n,this.finish(),this},finishMetaProperty:function(e,t){return this.type=tn.MetaProperty,this.meta=e,this.property=t,this.finish(),this},finishNewExpression:function(e,t){return this.type=tn.NewExpression,this.callee=e,this.arguments=t,this.finish(),this},finishObjectExpression:function(e){return this.type=tn.ObjectExpression,this.properties=e,this.finish(),this},finishObjectPattern:function(e){return this.type=tn.ObjectPattern,this.properties=e,this.finish(),this},finishPostfixExpression:function(e,t){return this.type=tn.UpdateExpression,this.operator=e,this.argument=t,this.prefix=!1,this.finish(),this},finishProgram:function(e,t){return this.type=tn.Program,this.body=e,this.sourceType=t,this.finish(),this},finishProperty:function(e,t,n,u,r,i){return this.type=tn.Property,this.key=t,this.computed=n,this.value=u,this.kind=e,this.method=r,this.shorthand=i,this.finish(),this},finishRestElement:function(e){return this.type=tn.RestElement,this.argument=e,this.finish(),this},finishReturnStatement:function(e){return this.type=tn.ReturnStatement,this.argument=e,this.finish(),this},finishSequenceExpression:function(e){return this.type=tn.SequenceExpression,this.expressions=e,this.finish(),this},finishSpreadElement:function(e){return this.type=tn.SpreadElement,this.argument=e,this.finish(),this},finishSwitchCase:function(e,t){return this.type=tn.SwitchCase,this.test=e,this.consequent=t,this.finish(),this},finishSuper:function(){return this.type=tn.Super,this.finish(),this},finishSwitchStatement:function(e,t){return this.type=tn.SwitchStatement,this.discriminant=e,this.cases=t,this.finish(),this},finishTaggedTemplateExpression:function(e,t){return this.type=tn.TaggedTemplateExpression,this.tag=e,this.quasi=t,this.finish(),this},finishTemplateElement:function(e,t){return this.type=tn.TemplateElement,this.value=e,this.tail=t,this.finish(),this},finishTemplateLiteral:function(e,t){return this.type=tn.TemplateLiteral,this.quasis=e,this.expressions=t,this.finish(),this},finishThisExpression:function(){return this.type=tn.ThisExpression,this.finish(),this},finishThrowStatement:function(e){return this.type=tn.ThrowStatement,this.argument=e,this.finish(),this},finishTryStatement:function(e,t,n){return this.type=tn.TryStatement,this.block=e,this.guardedHandlers=[],this.handlers=t?[t]:[],this.handler=t,this.finalizer=n,this.finish(),this},finishUnaryExpression:function(e,t){return this.type="++"===e||"--"===e?tn.UpdateExpression:tn.UnaryExpression,this.operator=e,this.argument=t,this.prefix=!0,this.finish(),this},finishVariableDeclaration:function(e){return this.type=tn.VariableDeclaration,this.declarations=e,this.kind="var",this.finish(),this},finishLexicalDeclaration:function(e,t){return this.type=tn.VariableDeclaration,this.declarations=e,this.kind=t,this.finish(),this},finishVariableDeclarator:function(e,t){return this.type=tn.VariableDeclarator,this.id=e,this.init=t,this.finish(),this},finishWhileStatement:function(e,t){return this.type=tn.WhileStatement,this.test=e,this.body=t,this.finish(),this},finishWithStatement:function(e,t){return this.type=tn.WithStatement,this.object=e,this.body=t,this.finish(),this},finishExportSpecifier:function(e,t){return this.type=tn.ExportSpecifier,this.exported=t||e,this.local=e,this.finish(),this},finishImportDefaultSpecifier:function(e){return this.type=tn.ImportDefaultSpecifier,this.local=e,this.finish(),this},finishImportNamespaceSpecifier:function(e){return this.type=tn.ImportNamespaceSpecifier,this.local=e,this.finish(),this},finishExportNamedDeclaration:function(e,t,n){return this.type=tn.ExportNamedDeclaration,this.declaration=e,this.specifiers=t,this.source=n,this.finish(),this},finishExportDefaultDeclaration:function(e){return this.type=tn.ExportDefaultDeclaration,this.declaration=e,this.finish(),this},finishExportAllDeclaration:function(e){return this.type=tn.ExportAllDeclaration,this.source=e,this.finish(),this},finishImportSpecifier:function(e,t){return this.type=tn.ImportSpecifier,this.local=e||t,this.imported=t,this.finish(),this},finishImportDeclaration:function(e,t){return this.type=tn.ImportDeclaration,this.specifiers=e,this.source=t,this.finish(),this},finishYieldExpression:function(e,t){return this.type=tn.YieldExpression,this.argument=e,this.delegate=t,this.finish(),this}},e.version="2.7.3",e.tokenize=Zt,e.parse=Qt,e.Syntax=function(){var e,t={};"function"==typeof Object.create&&(t=Object.create(null));for(e in tn)tn.hasOwnProperty(e)&&(t[e]=tn[e]);return"function"==typeof Object.freeze&&Object.freeze(t),t}()})}),k=o(S),I=s(function(e){function t(e){function r(e){for(var t=null,n=0;n<e.length;n++){var u=e[n];if("EmptyStatement"!==u.type){var t=i(u);"remove"===t&&e.splice(n--,1)}}}function i(e){var u=a[a.length-1],l=!1;a.push(e);var c=!1;n(e,u)&&(t(e.body),c=!0),"VariableDeclarator"===e.type&&o.push(e),"FunctionDeclaration"===e.type&&(s.push(e),l=!0);for(var f in e)"type"===f||c&&"body"===f||f in e&&e[f]&&"object"==typeof e[f]&&(e[f].type?i(e[f]):Array.isArray(e[f])&&r(e[f]));if(a.pop(),l)return"remove"}var a=[],o=[],s=[];return Array.isArray(e)?(r(e),u(e,o,s)):i(e),e}function n(e,t){return"Program"===e.type||(!("BlockStatement"!==e.type||!t||"FunctionExpression"!==t.type&&"FunctionDeclaration"!==t.type)||void 0)}function u(e,t,n){if(t&&t.length){for(var u=[],r=0;r<t.length;r++)u.push({type:"VariableDeclarator",id:t[r].id,init:null});e.unshift({type:"VariableDeclaration",kind:"var",declarations:u})}if(n&&n.length)for(var r=0;r<n.length;r++)e.unshift(n[r])}e.exports=t}),P=o(I),L=1e6,O=k.parse;l.func=c();var N=function(e){function t(e){return e}function n(e,t){return t||(t=A),new RegExp(e.source.replace(/{/g,t[2]).replace(/}/g,t[3]),e.global?l:"")}function u(e){if(e===m)return C;var t=e.split(" ");if(2!==t.length||p.test(e))throw new Error('Unsupported brackets "'+e+'"');return t=t.concat(e.replace(h,"\\").split(" ")),t[4]=n(t[1].length>1?/{[\S\s]*?}/:C[4],t),t[5]=n(e.length>3?/\\({|})/g:C[5],t),t[6]=n(C[6],t),t[7]=RegExp("\\\\("+t[3]+")|([[({])|("+t[3]+")|"+D,l),t[8]=e,t}function r(e){return e instanceof RegExp?o(e):A[e]}function i(e){(e||(e=m))!==A[8]&&(A=u(e),o=e===m?t:n,A[9]=o(C[9])),F=e}function a(e){var t;e=e||{},t=e.brackets,Object.defineProperty(e,"brackets",{set:i,get:function(){return F},enumerable:!0}),s=e,i(t)}var o,s,l="g",c=/\/\*[^*]*\*+(?:[^*\/][^*]*\*+)*\//g,f=/"[^"\\]*(?:\\[\S\s][^"\\]*)*"|'[^'\\]*(?:\\[\S\s][^'\\]*)*'/g,D=f.source+"|"+/(?:\breturn\s+|(?:[$\w\)\]]|\+\+|--)\s*(\/)(?![*\/]))/.source+"|"+/\/(?=[^*\/])[^[\/\\]*(?:(?:\[(?:\\.|[^\]\\]*)*\]|\\.)[^[\/\\]*)*?(\/)[gim]*/.source,p=RegExp("[\\x00-\\x1F<>a-zA-Z0-9'\",;\\\\]"),h=/(?=[[\]()*+?.^$|])/g,d={"(":RegExp("([()])|"+D,l),"[":RegExp("([[\\]])|"+D,l),"{":RegExp("([{}])|"+D,l)},m="{ }",C=["{","}","{","}",/{[^}]*}/,/\\([{}])/g,/\\({)|{/g,RegExp("\\\\(})|([[({])|(})|"+D,l),m,/^\s*{\^?\s*([$\w]+)(?:\s*,\s*(\S+))?\s+in\s+(\S.*)\s*}/,/(^|[^\\]){=[\S\s]*?}/],F=e,A=[];return r.split=function(e,t,n){function u(e){t||a?l.push(e&&e.replace(n[5],"$1")):l.push(e)}function r(e,t,n){var u,r=d[t];for(r.lastIndex=n,n=1;(u=r.exec(e))&&(!u[1]||(u[1]===t?++n:--n)););return n?e.length:r.lastIndex}n||(n=A);var i,a,o,s,l=[],c=n[6];for(a=o=c.lastIndex=0;i=c.exec(e);){if(s=i.index,a){if(i[2]){c.lastIndex=r(e,i[2],c.lastIndex);continue}if(!i[3])continue}i[1]||(u(e.slice(o,s)),o=c.lastIndex,c=n[6+(a^=1)],c.lastIndex=o)}return e&&o<e.length&&u(e.slice(o)),l},r.hasExpr=function(e){return A[4].test(e)},r.loopKeys=function(e){var t=e.match(A[9]);return t?{key:t[1],pos:t[2],val:A[0]+t[3].trim()+A[1]}:{val:e.trim()}},r.array=function(e){return e?u(e):A},Object.defineProperty(r,"settings",{set:a,get:function(){return s}}),r.settings="undefined"!=typeof riot&&riot.settings||{},r.set=i,r.R_STRINGS=f,r.R_MLCOMMS=c,r.S_QBLOCKS=D,r}(),T=function(){function e(e,u){return e?(a[e]||(a[e]=n(e))).call(u,t):e}function t(t,n){e.errorHandler&&(t.riotData={tagName:n&&n.root&&n.root.tagName,_riot_id:n&&n._riot_id},e.errorHandler(t))}function n(e){var t=u(e);return"try{return "!==t.slice(0,11)&&(t="return "+t),l.func("E",t+";")}function u(e){var t,n=[],u=N.split(e.replace(f,'"'),1);if(u.length>2||u[0]){var i,a,o=[];for(i=a=0;i<u.length;++i)t=u[i],t&&(t=1&i?r(t,1,n):'"'+t.replace(/\\/g,"\\\\").replace(/\r\n?|\n/g,"\\n").replace(/"/g,'\\"')+'"')&&(o[a++]=t);t=a<2?o[0]:"["+o.join(",")+'].join("")'}else t=r(u[1],0,n);return n[0]&&(t=t.replace(D,function(e,t){return n[t].replace(/\r/g,"\\r").replace(/\n/g,"\\n")})),t}function r(e,t,n){function u(t,n){var u,r=1,i=p[t];for(i.lastIndex=n.lastIndex;u=i.exec(e);)if(u[0]===t)++r;else if(!--r)break;n.lastIndex=r?e.length:i.lastIndex}if(e=e.replace(c,function(e,t){return e.length>2&&!t?o+(n.push(e)-1)+"~":e}).replace(/\s+/g," ").trim().replace(/\ ?([[\({},?\.:])\ ?/g,"$1")){for(var r,a=[],l=0;e&&(r=e.match(s))&&!r.index;){var f,D,h=/,|([[{(])|$/g;for(e=RegExp.rightContext,f=r[2]?n[r[2]].slice(1,-1).trim().replace(/\s+/g," "):r[1];D=(r=h.exec(e))[1];)u(D,h);D=e.slice(0,r.index),e=RegExp.rightContext,a[l++]=i(D,1,f)}e=l?l>1?"["+a.join(",")+'].join(" ").trim()':a[0]:i(e,t)}return e}function i(e,t,n){var u;return e=e.replace(d,function(e,t,n,r,i){return n&&(r=u?0:r+e.length,"this"!==n&&"global"!==n&&"window"!==n?(e=t+'("'+n+h+n,r&&(u="."===(i=i[r])||"("===i||"["===i)):r&&(u=!m.test(i.slice(r)))),e}),u&&(e="try{return "+e+"}catch(e){E(e,this)}"),n?e=(u?"function(){"+e+"}.call(this)":"("+e+")")+'?"'+n+'":""':t&&(e="function(v){"+(u?e.replace("return ","v="):"v=("+e+")")+';return v||v===0?v:""}.call(this)'),e}var a={};e.haveRaw=N.hasRaw,e.hasExpr=N.hasExpr,e.loopKeys=N.loopKeys,e.clearCache=function(){a={}},e.errorHandler=null;var o=String.fromCharCode(8279),s=/^(?:(-?[_A-Za-z\xA0-\xFF][-\w\xA0-\xFF]*)|\u2057(\d+)~):/,c=RegExp(N.S_QBLOCKS,"g"),f=/\u2057/g,D=/\u2057(\d+)~/g,p={"(":/[()]/g,"[":/[[\]]/g,"{":/[{}]/g},h='"in this?this:'+("object"!=typeof window?"global":"window")+").",d=/[,{][\$\w]+(?=:)|(^ *|[^$\w\.{])(?!(?:typeof|true|false|null|undefined|in|instanceof|is(?:Finite|NaN)|void|NaN|new|Date|RegExp|Math)(?![$\w]))([$_A-Za-z][$\w]*)/g,m=/^(?=(\.[$\w]+))\1(?:[^.[(]|$)/;return e.version=N.version="v2.4.2",e}();e.brackets=N,e.tmpl=T,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,t){"use strict";function n(e,t,n){var u={};return u[e.key]=t,e.pos&&(u[e.pos]=n),u}function u(e,t){for(var n,u=t.length,r=e.length;u>r;)n=t[--u],t.splice(u,1),n.unmount()}function r(e,t){Object.keys(e.tags).forEach(function(n){var u=e.tags[n];O(u)?h(u,function(e){w(e,n,t)}):w(u,n,t)})}function i(e,t,n){var u,r=e._root;for(e._virts=[];r;)u=r.nextSibling,n?t.insertBefore(r,n._root):t.appendChild(r),e._virts.push(r),r=u}function a(e,t,n,u){for(var r,i=e._root,a=0;a<u;a++)r=i.nextSibling,t.insertBefore(i,n._root),i=r}function o(e,t,o){E(e,"each");var s,l=typeof g(e,"no-reorder")!==ue||E(e,"no-reorder"),f=I(e),D=X[f]||{tmpl:m(e)},p=le.test(f),h=e.parentNode,d=document.createTextNode(""),C=B(e),F="option"===f.toLowerCase(),A=[],y=[],v="VIRTUAL"==e.tagName;o=W.loopKeys(o),h.insertBefore(d,e),t.one("before-mount",function(){e.parentNode.removeChild(e),h.stub&&(h=t.root)}).on("update",function(){var m=W(o.val,t),E=document.createDocumentFragment();O(m)||(s=m||!1,m=s?Object.keys(m).map(function(e){return n(o,e,m[e])}):[]);for(var g=0,B=m.length;g<B;g++){var x=m[g],w=l&&typeof x==re&&!s,b=y.indexOf(x),S=~b&&w?b:g,I=A[S];x=!s&&o.key?n(o,x,g):x,!w&&!I||w&&!~b||!I?(I=new c(D,{parent:t,isLoop:!0,hasImpl:!!X[f],root:p?h:e.cloneNode(),item:x},e.innerHTML),I.mount(),v&&(I._root=I.root.firstChild),g!=A.length&&A[g]?(v?i(I,h,A[g]):h.insertBefore(I.root,A[g].root),y.splice(g,0,x)):v?i(I,E):E.appendChild(I.root),A.splice(g,0,I),S=g):I.update(x,!0),S!==g&&w&&A[g]&&(L(m,y[g])&&(v?a(I,h,A[g],e.childNodes.length):A[g].root.parentNode&&h.insertBefore(I.root,A[g].root)),o.pos&&(I[o.pos]=g),A.splice(g,0,A.splice(S,1)[0]),y.splice(g,0,y.splice(S,1)[0]),!C&&I.tags&&r(I,g)),I._item=x,k(I,"_parent",t)}if(u(m,A),h.insertBefore(E,d),F&&pe&&!h.multiple)for(var P=0;P<h.length;P++)if(h[P].__riot1374){h.selectedIndex=P,delete h[P].__riot1374;break}C&&(t.tags[f]=A),y=m.slice()})}function s(e,t,n,u){R(e,function(e){if(1==e.nodeType){if(e.isLoop=e.isLoop||e.parentNode&&e.parentNode.isLoop||g(e,"each")?1:0,n){var r=B(e);r&&!e.isLoop&&n.push(b(r,{root:e,parent:t},e.innerHTML,t))}e.isLoop&&!u||$(e,t,[])}})}function l(e,t,n){function u(e,t,u){W.hasExpr(t)&&n.push(P({dom:e,expr:t},u))}R(e,function(e){var n,r=e.nodeType;if(3==r&&"STYLE"!=e.parentNode.tagName&&u(e,e.nodeValue),1==r)return(n=g(e,"each"))?(o(e,t,n),!1):(h(e.attributes,function(t){var n=t.name,r=n.split("__")[1];if(u(e,t.value,{attr:r||n,bool:r}),r)return E(e,n),!1}),!B(e)&&void 0)})}function c(e,n,u){function r(){var e=g&&F?D:C||D;h(b.attributes,function(t){var n=t.value;m[y(t.name)]=W.hasExpr(n)?W(n,e):n}),h(Object.keys(R),function(t){m[y(t)]=W(R[t],e)})}function i(e){for(var t in B)typeof D[t]!==ie&&N(D,t)&&(D[t]=e[t])}function a(e){h(Object.keys(e),function(t){var n=!ce.test(t)&&L(M,t);(typeof D[t]===ie||n)&&(n||M.push(t),D[t]=e[t])})}function o(e){D.update(e,!0)}function c(e){if(h(w,function(t){t[e?"mount":"unmount"]()}),C){var t=e?"on":"off";F?C[t]("unmount",D.unmount):C[t]("update",o)[t]("unmount",D.unmount)}}var f,D=G.observable(this),m=V(n.opts)||{},C=n.parent,F=n.isLoop,g=n.hasImpl,B=T(n.item),x=[],w=[],b=n.root,I=b.tagName.toLowerCase(),R={},M=[];e.name&&b._tag&&b._tag.unmount(!0),this.isMounted=!1,b.isLoop=F,b._tag=this,k(this,"_riot_id",++Z),P(this,{parent:C,root:b,opts:m},B),k(this,"tags",{}),h(b.attributes,function(e){var t=e.value;W.hasExpr(t)&&(R[e.name]=t)}),f=he(e.tmpl,u),k(this,"update",function(e,t){return e=T(e),F&&a(D.parent),e&&A(B)&&(i(e),B=e),P(D,e),r(),D.trigger("update",e),p(x,D),t&&D.parent?D.parent.one("updated",function(){D.trigger("updated")}):me(function(){D.trigger("updated")}),this}),k(this,"mixin",function(){return h(arguments,function(e){var t,n,u=[];e=typeof e===ue?G.mixin(e):e,t=d(e)?new e:e;var r=Object.getPrototypeOf(t);do u=u.concat(Object.getOwnPropertyNames(n||t));while(n=Object.getPrototypeOf(n||t));h(u,function(e){if("init"!=e){var n=Object.getOwnPropertyDescriptor(t,e)||Object.getOwnPropertyDescriptor(r,e),u=n&&(n.get||n.set);!D.hasOwnProperty(e)&&u?Object.defineProperty(D,e,n):D[e]=d(t[e])?t[e].bind(D):t[e]}}),t.init&&t.init.bind(D)()}),this}),k(this,"mount",function(){r();var t=G.mixin(J);if(t)for(var n in t)t.hasOwnProperty(n)&&D.mixin(t[n]);if(D._parent&&D._parent.root.isLoop&&a(D._parent),e.fn&&e.fn.call(D,m),l(f,D,x),c(!0),e.attrs&&j(e.attrs,function(e,t){v(b,e,t)}),(e.attrs||g)&&l(D.root,D,x),D.parent&&!F||D.update(B),D.trigger("before-mount"),F&&!g)b=f.firstChild;else{for(;f.firstChild;)b.appendChild(f.firstChild);b.stub&&(b=C.root)}k(D,"root",b),F&&s(D.root,D.parent,null,!0),!D.parent||D.parent.isMounted?(D.isMounted=!0,D.trigger("mount")):D.parent.one("mount",function(){_(D.root)||(D.parent.isMounted=D.isMounted=!0,D.trigger("mount"))})}),k(this,"unmount",function(e){var n,u=b,r=u.parentNode,i=Q.indexOf(D);if(D.trigger("before-unmount"),~i&&Q.splice(i,1),r){if(C)n=S(C),O(n.tags[I])?h(n.tags[I],function(e,t){e._riot_id==D._riot_id&&n.tags[I].splice(t,1)}):n.tags[I]=t;else for(;u.firstChild;)u.removeChild(u.firstChild);e?(E(r,ne),E(r,te)):r.removeChild(u)}this._virts&&h(this._virts,function(e){e.parentNode&&e.parentNode.removeChild(e)}),D.trigger("unmount"),c(),D.off("*"),D.isMounted=!1,delete b._tag}),s(f,this,w)}function f(t,n,u,r){u[t]=function(t){var i,a=r._parent,o=r._item;if(!o)for(;a&&!o;)o=a._item,a=a._parent;t=t||e.event,N(t,"currentTarget")&&(t.currentTarget=u),N(t,"target")&&(t.target=t.srcElement),N(t,"which")&&(t.which=t.charCode||t.keyCode),t.item=o,n.call(r,t)===!0||/radio|check/.test(u.type)||(t.preventDefault&&t.preventDefault(),t.returnValue=!1),t.preventUpdate||(i=o?S(a):r,i.update())}}function D(e,t,n){e&&(e.insertBefore(n,t),e.removeChild(t))}function p(e,t){h(e,function(e,n){var u=e.dom,r=e.attr,i=W(e.expr,t),a=e.parent||e.dom.parentNode;if(e.bool?i=!!i:null==i&&(i=""),e.value!==i){if(e.value=i,!r)return i+="",void(a&&(e.parent=a,"TEXTAREA"===a.tagName?(a.value=i,De||(u.nodeValue=i)):u.nodeValue=i));if("value"===r)return void(u.value!==i&&(u.value=i,v(u,r,i)));if(E(u,r),d(i))f(r,i,u,t);else if("if"==r){var o=e.stub,s=function(){D(o.parentNode,o,u)},l=function(){D(u.parentNode,u,o)};i?o&&(s(),u.inStub=!1,_(u)||R(u,function(e){e._tag&&!e._tag.isMounted&&(e._tag.isMounted=!!e._tag.trigger("mount"))})):(o=e.stub=o||document.createTextNode(""),u.parentNode?l():(t.parent||t).one("updated",l),u.inStub=!0)}else"show"===r?u.style.display=i?"":"none":"hide"===r?u.style.display=i?"none":"":e.bool?(u[r]=i,i&&v(u,r,r),pe&&"selected"===r&&"OPTION"===u.tagName&&(u.__riot1374=i)):(0===i||i&&typeof i!==re)&&(K(r,ee)&&r!=te&&(r=r.slice(ee.length)),v(u,r,i))}})}function h(e,t){for(var n,u=e?e.length:0,r=0;r<u;r++)n=e[r],null!=n&&t(n,r)===!1&&r--;return e}function d(e){return typeof e===ae||!1}function m(e){if(e.outerHTML)return e.outerHTML;var t=M("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}function C(e,t){if(typeof e.innerHTML!=ie)e.innerHTML=t;else{var n=(new DOMParser).parseFromString(t,"application/xml");e.appendChild(e.ownerDocument.importNode(n.documentElement,!0))}}function F(e){return~fe.indexOf(e)}function A(e){return e&&typeof e===re}function E(e,t){e.removeAttribute(t)}function y(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})}function g(e,t){return e.getAttribute(t)}function v(e,t,n){var u=se.exec(t);u&&u[1]?e.setAttributeNS(oe,u[1],n):e.setAttribute(t,n)}function B(e){return e.tagName&&X[g(e,ne)||g(e,te)||e.tagName.toLowerCase()]}function x(e,t,n){var u=n.tags[t];u?(O(u)||u!==e&&(n.tags[t]=[u]),L(n.tags[t],e)||n.tags[t].push(e)):n.tags[t]=e}function w(e,t,n){var u,r=e.parent;r&&(u=r.tags[t],O(u)?u.splice(n,0,u.splice(u.indexOf(e),1)[0]):x(e,t,r))}function b(e,t,n,u){var r=new c(e,t,n),i=I(t.root),a=S(u);return r.parent=a,r._parent=u,x(r,i,a),a!==u&&x(r,i,u),t.root.innerHTML="",r}function S(e){for(var t=e;!B(t.root)&&t.parent;)t=t.parent;return t}function k(e,t,n,u){return Object.defineProperty(e,t,P({value:n,enumerable:!1,writable:!1,configurable:!0},u)),e}function I(e){var t=B(e),n=g(e,"name"),u=n&&!W.hasExpr(n)?n:t?t.name:e.tagName.toLowerCase();return u}function P(e){for(var t,n=arguments,u=1;u<n.length;++u)if(t=n[u])for(var r in t)N(e,r)&&(e[r]=t[r]);return e}function L(e,t){return~e.indexOf(t)}function O(e){return Array.isArray(e)||e instanceof Array}function N(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return typeof e[t]===ie||n&&n.writable}function T(e){if(!(e instanceof c||e&&typeof e.trigger==ae))return e;var t={};for(var n in e)ce.test(n)||(t[n]=e[n]);return t}function R(e,t){if(e){if(t(e)===!1)return;for(e=e.firstChild;e;)R(e,t),e=e.nextSibling}}function j(e,t){for(var n,u=/([-\w]+) ?= ?(?:"([^"]*)|'([^']*)|({[^}]*}))/g;n=u.exec(e);)t(n[1].toLowerCase(),n[2]||n[3]||n[4])}function _(e){for(;e;){if(e.inStub)return!0;e=e.parentNode}return!1}function M(e,t){return t?document.createElementNS("http://www.w3.org/2000/svg","svg"):document.createElement(e)}function U(e,t){return(t||document).querySelectorAll(e)}function Y(e,t){return(t||document).querySelector(e)}function V(e){return Object.create(e||null)}function H(e){return g(e,"id")||g(e,"name")}function $(e,t,n){var u,r=H(e),i=function(i){L(n,r)||(u=O(i),i?(!u||u&&!L(i,e))&&(u?i.push(e):t[r]=[i,e]):t[r]=e)};r&&(W.hasExpr(r)?t.one("mount",function(){r=H(e),i(t[r])}):i(t[r]))}function K(e,t){return e.slice(0,t.length)===t}function q(e,t,n){var u=X[t],r=e._innerHTML=e._innerHTML||e.innerHTML;return e.innerHTML="",u&&e&&(u=new c(u,{root:e,opts:n},r)),u&&u.mount&&(u.mount(),L(Q,u)||Q.push(u)),u}var W=cspTmpl.tmpl,z=cspTmpl.brackets,G={version:"v2.6.5",settings:{}},Z=0,Q=[],X={},J="__global_mixin",ee="riot-",te=ee+"tag",ne="data-is",ue="string",re="object",ie="undefined",ae="function",oe="http://www.w3.org/1999/xlink",se=/^xlink:(\w+)/,le=/^(?:t(?:body|head|foot|[rhd])|caption|col(?:group)?|opt(?:ion|group))$/,ce=/^(?:_(?:item|id|parent)|update|root|(?:un)?mount|mixin|is(?:Mounted|Loop)|tags|parent|opts|trigger|o(?:n|ff|ne))$/,fe=["altGlyph","animate","animateColor","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","filter","font","foreignObject","g","glyph","glyphRef","image","line","linearGradient","marker","mask","missing-glyph","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tref","tspan","use"],De=0|(e&&e.document||{}).documentMode,pe=e&&!!e.InstallTrigger;G.observable=function(e){function t(e,t){for(var n=e.split(" "),u=n.length,r=0;r<u;r++){var i=n[r];i&&t(i,r)}}e=e||{};var n={},u=Array.prototype.slice;return Object.defineProperties(e,{on:{value:function(u,r){return"function"!=typeof r?e:(t(u,function(e,t){(n[e]=n[e]||[]).push(r),r.typed=t>0}),e)},enumerable:!1,writable:!1,configurable:!1},off:{value:function(u,r){return"*"!=u||r?t(u,function(e,t){if(r)for(var u,i=n[e],a=0;u=i&&i[a];++a)u==r&&i.splice(a--,1);else delete n[e]}):n={},e},enumerable:!1,writable:!1,configurable:!1},one:{value:function(t,n){function u(){e.off(t,u),n.apply(e,arguments)}return e.on(t,u)},enumerable:!1,writable:!1,configurable:!1},trigger:{value:function(r){for(var i,a=arguments.length-1,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s+1];return t(r,function(t,r){i=u.call(n[t]||[],0);for(var a,s=0;a=i[s];++s)a.busy||(a.busy=1,a.apply(e,a.typed?[t].concat(o):o),i[s]!==a&&s--,a.busy=0);n["*"]&&"*"!=t&&e.trigger.apply(e,["*",t].concat(o))}),e},enumerable:!1,writable:!1,configurable:!1}}),e},function(t){function n(e){return e.split(/[\/?#]/)}function u(e,t){var n=new RegExp("^"+t[B](/\*/g,"([^/?#]+?)")[B](/\.\./,".*")+"$"),u=e.match(n);if(u)return u.slice(1)}function r(e,t){var n;return function(){clearTimeout(n),n=setTimeout(e,t)}}function i(e){h=r(f,1),k[g](x,h),k[g](w,h),I[g](N,D),e&&f(!0)}function a(){this.$=[],t.observable(this),R.on("stop",this.s.bind(this)),R.on("emit",this.e.bind(this))}function o(e){return e[B](/^\/|\/$/,"")}function s(e){return"string"==typeof e}function l(e){return(e||L.href)[B](A,"")}function c(e){return"#"==d[0]?(e||L.href||"").split(d)[1]||"":(L?l(e):e||"")[B](d,"")}function f(e){var t,n=0==M;if(!(S<=M)&&(M++,_.push(function(){var t=c();(e||t!=m)&&(R[b]("emit",t),m=t)}),n)){for(;t=_.shift();)t();M=0}}function D(e){if(!(1!=e.which||e.metaKey||e.ctrlKey||e.shiftKey||e.defaultPrevented)){for(var t=e.target;t&&"A"!=t.nodeName;)t=t.parentNode;!t||"A"!=t.nodeName||t[v]("download")||!t[v]("href")||t.target&&"_self"!=t.target||t.href.indexOf(L.href.match(A)[0])==-1||t.href!=L.href&&(t.href.split("#")[0]==L.href.split("#")[0]||"#"!=d[0]&&0!==l(t.href).indexOf(d)||"#"==d[0]&&t.href.split(d)[0]!=L.href.split(d)[0]||!p(c(t.href),t.title||I.title))||e.preventDefault()}}function p(e,t,n){return P?(e=d+o(e),t=t||I.title,n?P.replaceState(null,t,e):P.pushState(null,t,e),I.title=t,j=!1,f(),j):R[b]("emit",c(e))}var h,d,m,C,F,A=/^.+?\/\/+[^\/]+/,E="EventListener",y="remove"+E,g="add"+E,v="hasAttribute",B="replace",x="popstate",w="hashchange",b="trigger",S=3,k="undefined"!=typeof e&&e,I="undefined"!=typeof document&&document,P=k&&history,L=k&&(P.location||k.location),O=a.prototype,N=I&&I.ontouchstart?"touchstart":"click",T=!1,R=t.observable(),j=!1,_=[],M=0;O.m=function(e,t,n){!s(e)||t&&!s(t)?t?this.r(e,t):this.r("@",e):p(e,t,n||!1)},O.s=function(){this.off("*"),this.$=[]},O.e=function(e){this.$.concat("@").some(function(t){var n=("@"==t?C:F)(o(e),o(t));if("undefined"!=typeof n)return this[b].apply(null,[t].concat(n)),j=!0},this)},O.r=function(e,t){"@"!=e&&(e="/"+o(e),this.$.push(e)),this.on(e,t)};var U=new a,Y=U.m.bind(U);Y.create=function(){var e=new a,t=e.m.bind(e);return t.stop=e.s.bind(e),t},Y.base=function(e){d=e||"#",m=c()},Y.exec=function(){f(!0)},Y.parser=function(e,t){e||t||(C=n,F=u),e&&(C=e),t&&(F=t)},Y.query=function(){var e={},t=L.href||m;return t[B](/[?&](.+?)=([^&]*)/g,function(t,n,u){e[n]=u}),e},Y.stop=function(){T&&(k&&(k[y](x,h),k[y](w,h),I[y](N,D)),R[b]("stop"),T=!1)},Y.start=function(e){T||(k&&("complete"==document.readyState?i(e):k[g]("load",function(){setTimeout(function(){i(e)},1)})),T=!0)},Y.base(),Y.parser(),t.route=Y}(G);var he=function e(){function e(e,u){var r=e&&e.match(/^\s*<([-\w]+)/),i=r&&r[1].toLowerCase(),a=M("div",F(i));return e=n(e,u),s.test(i)?a=t(a,e,i):C(a,e),a.stub=!0,a}function t(e,t,n){var u="o"===n[0],r=u?"select>":"table>";if(e.innerHTML="<"+r+t.trim()+"</"+r,r=e.firstChild,u)r.selectedIndex=-1;else{var i=o[n];i&&1===r.childElementCount&&(r=Y(i,r))}return r}function n(e,t){if(!u.test(e))return e;var n={};return t=t&&t.replace(i,function(e,t,u){return n[t]=n[t]||u,""}).trim(),e.replace(a,function(e,t,u){return n[t]||u||""}).replace(r,function(e,n){return t||n||""})}var u=/<yield\b/i,r=/<yield\s*(?:\/>|>([\S\s]*?)<\/yield\s*>|>)/gi,i=/<yield\s+to=['"]([^'">]*)['"]\s*>([\S\s]*?)<\/yield\s*>/gi,a=/<yield\s+from=['"]?([-\w]+)['"]?\s*(?:\/>|>([\S\s]*?)<\/yield\s*>)/gi,o={tr:"tbody",th:"tr",td:"tr",col:"colgroup"},s=De&&De<10?le:/^(?:t(?:body|head|foot|[rhd])|caption|col(?:group)?)$/;return e}(),de=function(t){if(!e)return{add:function(){},inject:function(){}};var n=function(){var e=M("style");v(e,"type","text/css");var t=Y("style[type=riot]");return t?(t.id&&(e.id=t.id),t.parentNode.replaceChild(e,t)):document.getElementsByTagName("head")[0].appendChild(e),e}(),u=n.styleSheet,r="";return Object.defineProperty(t,"styleNode",{value:n,writable:!0}),{add:function(e){r+=e},inject:function(){r&&(u?u.cssText+=r:n.innerHTML+=r,r="")}}}(G),me=function(e){var t=e.requestAnimationFrame||e.mozRequestAnimationFrame||e.webkitRequestAnimationFrame;if(!t||/iP(ad|hone|od).*OS 6/.test(e.navigator.userAgent)){var n=0;t=function(e){var t=Date.now(),u=Math.max(16-(t-n),0);setTimeout(function(){e(n=t+u)},u)}}return t}(e||{});G.util={brackets:z,tmpl:W},G.mixin=function(){var e={},t=e[J]={},n=0;return function(u,r,i){if(A(u))return void G.mixin("__unnamed_"+n++,u,!0);var a=i?t:e;if(!r){if(typeof a[u]===ie)throw new Error("Unregistered mixin: "+u);return a[u]}d(r)?(P(r.prototype,a[u]||{}),a[u]=r):a[u]=P(a[u]||{},r)}}(),G.tag=function(e,t,n,u,r){return d(u)&&(r=u,/^[\w\-]+\s?=/.test(n)?(u=n,n=""):u=""),n&&(d(n)?r=n:de.add(n)),e=e.toLowerCase(),X[e]={name:e,tmpl:t,attrs:u,fn:r},e},G.tag2=function(e,t,n,u,r){return n&&de.add(n),X[e]={name:e,tmpl:t,attrs:u,fn:r},e},G.mount=function(e,t,n){function u(e){var t="";return h(e,function(e){/[^-\w]/.test(e)||(e=e.trim().toLowerCase(),t+=",["+ne+'="'+e+'"],['+te+'="'+e+'"]')}),t}function r(){var e=Object.keys(X);return e+u(e)}function i(e){if(e.tagName){var u=g(e,ne)||g(e,te);
t&&u!==t&&(u=t,v(e,ne,t),v(e,te,t));var r=q(e,u||e.tagName.toLowerCase(),n);r&&s.push(r)}else e.length&&h(e,i)}var a,o,s=[];if(de.inject(),A(t)&&(n=t,t=0),typeof e===ue?("*"===e?e=o=r():e+=u(e.split(/, */)),a=e?U(e):[]):a=e,"*"===t){if(t=o||r(),a.tagName)a=U(t,a);else{var l=[];h(a,function(e){l.push(U(t,e))}),a=l}t=0}return i(a),s},G.update=function(){return h(Q,function(e){e.update()})},G.vdom=Q,G.Tag=c,typeof exports===re?module.exports=G:typeof define===ae&&typeof define.amd!==ie?define(function(){return G}):e.riot=G}("undefined"!=typeof window?window:void 0);