!function(n,l){"object"==typeofexports&&"object"==typeofmodule?module.exports=l():"function"==typeofdefine&&define.amd?define("test",[],l):"object"==typeofexports?exports.test=l():(n.peg=n.peg||{},n.peg.test=l())}("undefined"!=typeofself?self:window,function(){returnfunction(n){varl={};functione(t){if(l[t])returnl[t].exports;varu=l[t]={i:t,l:!1,exports:{}};returnn[t].call(u.exports,u,u.exports,e),u.l=!0,u.exports}returne.m=n,e.c=l,e.d=function(n,l,t){e.o(n,l)||Object.defineProperty(n,l,{enumerable:!0,get:t})},e.r=function(n){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,l){if(1&l&&(n=e(n)),8&l)returnn;if(4&l&&"object"==typeofn&&n&&n.__esModule)returnn;vart=Object.create(null);if(e.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:n}),2&l&&"string"!=typeofn)for(varuinn)e.d(t,u,function(l){returnn[l]}.bind(null,u));returnt},e.n=function(n){varl=n&&n.__esModule?function(){returnn.default}:function(){returnn};returne.d(l,"a",l),l},e.o=function(n,l){returnObject.prototype.hasOwnProperty.call(n,l)},e.p="",e(e.s=52)}([function(n,l,e){"use strict";vart=e(9),u=e(5),r=e(23),o=e(14),i=e(1),a={VERSION:e(13).version,GrammarError:t,ast:u,parser:o,compiler:r,util:i,generate:function(n){varl=arguments.length>1&&void0!==arguments[1]?arguments[1]:{},e=newr.Session({passes:i.convertPasses(r.passes)});returnArray.isArray(l.plugins)&&l.plugins.forEach(function(n){"function"==typeofn.use&&n.use(e,l)}),r.compile(e.parse(n,l.parser||{}),e,l)}};n.exports=a},function(n,l,e){"use strict";vart=e(19),u=e(20),r=e(21),o=e(11),i=function(){functionn(n){returnArray.isArray(n)?n:r.values(n)}returnfunction(l){returnr.map(l,n)}}();n.exports={find:t.find,findIndex:t.findIndex,stringEscape:u.stringEscape,regexpEscape:u.regexpEscape,reservedWords:u.reservedWords,clone:r.clone,each:r.each,extend:r.extend,map:r.map,values:r.values,enforceFastProperties:r.enforceFastProperties,evalModule:o.evalModule,convertPasses:i,processOptions:function(n,l){vare={};returnr.extend(e,n),r.extend(e,l),e},noop:function(){}}},function(n,l,e){n.exports=e(6)},function(n,l){n.exports=function(n,l,e){vart=n.__flags||(n.__flags=Object.create(null));if(3!==arguments.length)returnt[l];t[l]=e}},function(n,l,e){"use strict";vart=e(84),u=e(0).compiler.Session;n.exports=function(n,l){n.use(t);vare=n.Assertion;functionr(n,l,e){vart=l.parse(n);returne.allowedStartRules||(e.allowedStartRules=t.rules.length>0?[t.rules[0].name]:[]),t}e.addMethod("changeAST",function(n,t,o,i){o=void0!==o?o:{},i=void0!==i?i:{reportFailures:!0};vara=newu({grammar:n}),s=r(n,a,o);s.rules=s.rules.map(function(n){returnObject.assign(n,i)}),l.flag(this,"object")(s,a,o),newe(s).like(t)}),e.addMethod("reportError",function(n,t,o){o=void0!==o?o:{};vari,a,s=newu({grammar:n}),c=r(n,s,o);try{l.flag(this,"object")(c,s,o),i=!0}catch(n){a=n,i=!1}this.assert(!i,"expected #{this} to report an error but it didn't","expected #{this} to not report an error but #{act} was reported",null,a),i||void0===t||("string"==typeoft&&(t={message:t}),Object.keys(t).forEach(function(n){newe(a).to.have.property(n).that.is.deep.equal(t[n])}))}),e.addMethod("reportWarning",function(n,e,t){varo=this;e=Array.isArray(e)?e:null==e?[]:[e],t=void0!==t?t:{};vari=[];vara=newu({grammar:n,warn:function(n){i.push(n)}}),s=r(n,a,t);l.flag(this,"object")(s,a,t);varc=i.length,f=e.length;e.length&&this.assert(c===f,"expected #{this} to report ".concat(f," warnings, but it reported ").concat(c," warnings"),"expected #{this} to not report ".concat(f," warnings"),e,i),e.forEach(function(n){o.assert(-1!==i.indexOf(n),"expected #{this} to report the warning #{exp}, but it didn't","expected #{this} to not report the warning #{exp}",n)})})}},function(n,l,e){"use strict";l.visitor=e(10),l.Node=e(12),l.Grammar=e(22)},function(n,l,e){vart=[];l.version="4.2.0",l.AssertionError=e(43);varu=e(57);l.use=function(n){return~t.indexOf(n)||(n(l,u),t.push(n)),l},l.util=u;varr=e(8);l
/*!
*Thebuffermodulefromnode.js,forthebrowser.
*
*@authorFerossAboukhadijeh<https://feross.org>
*@licenseMIT
*/
"use strict";vart=n("base64-js"),u=n("ieee754");e.Buffer=i,e.SlowBuffer=function(n){+n!=n&&(n=0);returni.alloc(+n)},e.INSPECT_MAX_BYTES=50;varr=2147483647;functiono(n){if(n>r)thrownewRangeError("Invalid typed array length");varl=newUint8Array(n);returnl.__proto__=i.prototype,l}functioni(n,l,e){if("number"==typeofn){if("string"==typeofl)thrownewError("If encoding is specified then the first argument must be a string");returnc(n)}returna(n,l,e)}functiona(n,l,e){if("number"==typeofn)thrownewTypeError('"value" argument must not be a number');returnI(n)||n&&I(n.buffer)?function(n,l,e){if(l<0||n.byteLength<l)thrownewRangeError('"offset" is outside of buffer bounds');if(n.byteLength<l+(e||0))thrownewRangeError('"length" is outside of buffer bounds');vart;t=void0===l&&void0===e?newUint8Array(n):void0===e?newUint8Array(n,l):newUint8Array(n,l,e);returnt.__proto__=i.prototype,t}(n,l,e):"string"==typeofn?function(n,l){"string"==typeofl&&""!==l||(l="utf8");if(!i.isEncoding(l))thrownewTypeError("Unknown encoding: "+l);vare=0|d(n,l),t=o(e),u=t.write(n,l);u!==e&&(t=t.slice(0,u));returnt}(n,l):function(n){if(i.isBuffer(n)){varl=0|p(n.length),e=o(l);return0===e.length?e:(n.copy(e,0,0,l),e)}if(n){if(ArrayBuffer.isView(n)||"length"inn)return"number"!=typeofn.length||q(n.length)?o(0):f(n);if("Buffer"===n.type&&Array.isArray(n.data))returnf(n.data)}thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object.")}(n)}functions(n){if("number"!=typeofn)thrownewTypeError('"size" argument must be of type number');if(n<0)thrownewRangeError('"size" argument must not be negative')}functionc(n){returns(n),o(n<0?0:0|p(n))}functionf(n){for(varl=n.length<0?0:0|p(n.length),e=o(l),t=0;t<l;t+=1)e[t]=255&n[t];returne}functionp(n){if(n>=r)thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return0|n}functiond(n,l){if(i.isBuffer(n))returnn.length;if(ArrayBuffer.isView(n)||I(n))returnn.byteLength;"string"!=typeofn&&(n=""+n);vare=n.length;if(0===e)return0;for(vart=!1;;)switch(l){case"ascii":case"latin1":case"binary":returne;case"utf8":case"utf-8":casevoid0:returnN(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*e;case"hex":returne>>>1;case"base64":returnM(n).length;default:if(t)returnN(n).length;l=(""+l).toLowerCase(),t=!0}}functionh(n,l,e){vart=n[l];n[l]=n[e],n[e]=t}functiong(n,l,e,t,u){if(0===n.length)return-1;if("string"==typeofe?(t=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),q(e=+e)&&(e=u?0:n.length-1),e<0&&(e=n.length+e),e>=n.length){if(u)return-1;e=n.length-1}elseif(e<0){if(!u)return-1;e=0}if("string"==typeofl&&(l=i.from(l,t)),i.isBuffer(l))return0===l.length?-1:m(n,l,e,t,u);if("number"==typeofl)returnl&=255,"function"==typeofUint8Array.prototype.indexOf?u?Uint8Array.prototype.indexOf.call(n,l,e):Uint8Array.prototype.lastIndexOf.call(n,l,e):m(n,[l],e,t,u);thrownewTypeError("val must be string, number or Buffer")}functionm(n,l,e,t,u){varr,o=1,i=n.length,a=l.length;if(void0!==t&&("ucs2"===(t=String(t).toLowerCase())||"ucs-2"===t||"utf16le"===t||"utf-16le"===t)){if(n.length<2||l.length<2)return-1;o=2,i/=2,a/=2,e/=2}functions(n,l){return1===o?n[l]:n.readUInt16BE(l*o)}if(u){varc=-1;for(r=e;r<i;r++)if(s(n,r)===s(l,-1===c?0:r-c)){if(-1===c&&(c=r),r-c+1===a)returnc*o}else-1!==c&&(r-=r-c),c=-1}elsefor(e+a>i&&(e=i-a),r=e;r>=0;r--){for(varf=!0,p=0;p<a;p++)if(s(n,r+p)!==s(l,p)){f=!1;break}if(f)returnr}return-1}functiony(n,l,e,t){e=Number(e)||0;varu=n.length-e;t?(t=Number(t))>u&&(t=u):t=u;varr=l.length;t>r/2&&(t=r/2);for(varo=0;o<t;++o){vari=parseInt(l.substr(2*o,2),16);if(q(i))returno;n[e+o]=i}returno}functionb(n,l,e,t){returnR(N(l,n.length-e),n,e,t)}functionv(n,l,e,t){returnR(function(n){for(varl=[],e=0;e<n.length;++e)l.push(255&n.charCodeAt(e));returnl}(l),n,e,t)}functionw(n,l,e,t){returnv(n,l,e,t)}functionA(n,l,e,t){returnR(M(l),n,e,t)}functionE(n,l,e,t){returnR(function(n,l){for(vare,t,u,r=[],o=0;o<n.leng
l.exports=function(n){returnnull!=n&&(t(n)||function(n){return"function"==typeofn.readFloatLE&&"function"==typeofn.slice&&t(n.slice(0,0))}(n)||!!n._isBuffer)}},{}],52:[function(n,l,e){vart={}.toString;l.exports=Array.isArray||function(n){return"[object Array]"==t.call(n)}},{}],53:[function(n,l,e){(function(e){varu=n("path"),r=n("fs"),o=parseInt("0777",8);functioni(n,l,a,s){"function"==typeofl?(a=l,l={}):l&&"object"===t(l)||(l={mode:l});varc=l.mode,f=l.fs||r;void0===c&&(c=o&~e.umask()),s||(s=null);varp=a||function(){};n=u.resolve(n),f.mkdir(n,c,function(e){if(!e)returnp(null,s=s||n);switch(e.code){case"ENOENT":i(u.dirname(n),l,function(e,t){e?p(e,t):i(n,l,p,t)});break;default:f.stat(n,function(n,l){n||!l.isDirectory()?p(e,s):p(null,s)})}})}l.exports=i.mkdirp=i.mkdirP=i,i.sync=functionn(l,i,a){i&&"object"===t(i)||(i={mode:i});vars=i.mode,c=i.fs||r;void0===s&&(s=o&~e.umask()),a||(a=null),l=u.resolve(l);try{c.mkdirSync(l,s),a=a||l}catch(e){switch(e.code){case"ENOENT":a=n(u.dirname(l),i,a),n(l,i,a);break;default:varf;try{f=c.statSync(l)}catch(n){throwe}if(!f.isDirectory())throwe}}returna}}).call(this,n("_process"))},{_process:56,fs:40,path:40}],54:[function(n,l,e){varu=1e3,r=60*u,o=60*r,i=24*o,a=365.25*i;functions(n,l,e){if(!(n<l))returnn<1.5*l?Math.floor(n/l)+" "+e:Math.ceil(n/l)+" "+e+"s"}l.exports=function(n,l){l=l||{};vare,c=t(n);if("string"===c&&n.length>0)returnfunction(n){if((n=String(n)).length>100)return;varl=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(n);if(!l)return;vare=parseFloat(l[1]);switch((l[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":returne*a;case"days":case"day":case"d":returne*i;case"hours":case"hour":case"hrs":case"hr":case"h":returne*o;case"minutes":case"minute":case"mins":case"min":case"m":returne*r;case"seconds":case"second":case"secs":case"sec":case"s":returne*u;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":returne;default:return}}(n);if("number"===c&&!1===isNaN(n))returnl.long?s(e=n,i,"day")||s(e,o,"hour")||s(e,r,"minute")||s(e,u,"second")||e+" ms":function(n){if(n>=i)returnMath.round(n/i)+"d";if(n>=o)returnMath.round(n/o)+"h";if(n>=r)returnMath.round(n/r)+"m";if(n>=u)returnMath.round(n/u)+"s";returnn+"ms"}(n);thrownewError("val is not a non-empty string or a valid number. val="+JSON.stringify(n))}},{}],55:[function(n,l,e){(function(n){"use strict";!n.version||0===n.version.indexOf("v0.")||0===n.version.indexOf("v1.")&&0!==n.version.indexOf("v1.8.")?l.exports={nextTick:function(l,e,t,u){if("function"!=typeofl)thrownewTypeError('"callback" argument must be a function');varr,o,i=arguments.length;switch(i){case0:case1:returnn.nextTick(l);case2:returnn.nextTick(function(){l.call(null,e)});case3:returnn.nextTick(function(){l.call(null,e,t)});case4:returnn.nextTick(function(){l.call(null,e,t,u)});default:for(r=newArray(i-1),o=0;o<r.length;)r[o++]=arguments[o];returnn.nextTick(function(){l.apply(null,r)})}}}:l.exports=n}).call(this,n("_process"))},{_process:56}],56:[function(n,l,e){vart,u,r=l.exports={};functiono(){thrownewError("setTimeout has not been defined")}functioni(){thrownewError("clearTimeout has not been defined")}functiona(n){if(t===setTimeout)returnsetTimeout(n,0);if((t===o||!t)&&setTimeout)returnt=setTimeout,setTimeout(n,0);try{returnt(n,0)}catch(l){try{returnt.call(null,n,0)}catch(l){returnt.call(this,n,0)}}}!function(){try{t="function"==typeofsetTimeout?setTimeout:o}catch(n){t=o}try{u="function"==typeofclearTimeout?clearTimeout:i}catch(n){u=i}}();vars,c=[],f=!1,p=-1;functiond(){f&&s&&(f=!1,s.length?c=s.concat(c):p=-1,c.length&&h())}functionh(){if(!f){varn=a(d);f=!0;for(varl=c.length;l;){for(s=c,c=[];++p<l;)s&&s[p].run();p=-1,l=c.length}s=null,f=!1,function(n){if(u===clearTimeout)returnclearTimeout(n);if((u===i||!u)&&clearTimeout)returnu=clearTimeout,clearTimeout(n);try{u(n)}catch(l){try{returnu.call(null,n)}catch(l){returnu.call(this,n)}}}(n)}}functiong(n,l){this.fun=n,this.array