text: parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"rDCW":[function(require,module,exports) {
  
  },{}],"pBGv":[function(require,module,exports) {
  
  var t,e,n=module.exports={};function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===r||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}function u(t){if(e===clearTimeout)return clearTimeout(t);if((e===o||!e)&&clearTimeout)return e=clearTimeout,clearTimeout(t);try{return e(t)}catch(n){try{return e.call(null,t)}catch(n){return e.call(this,t)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:r}catch(n){t=r}try{e="function"==typeof clearTimeout?clearTimeout:o}catch(n){e=o}}();var c,s=[],l=!1,a=-1;function f(){l&&c&&(l=!1,c.length?s=c.concat(s):a=-1,s.length&&h())}function h(){if(!l){var t=i(f);l=!0;for(var e=s.length;e;){for(c=s,s=[];++a<e;)c&&c[a].run();a=-1,e=s.length}c=null,l=!1,u(t)}}function m(t,e){this.fun=t,this.array=e}function p(){}n.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];s.push(new m(t,e)),1!==s.length||l||i(h)},m.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.env={},n.argv=[],n.version="",n.versions={},n.on=p,n.addListener=p,n.once=p,n.off=p,n.removeListener=p,n.removeAllListeners=p,n.emit=p,n.prependListener=p,n.prependOnceListener=p,n.listeners=function(t){return[]},n.binding=function(t){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw new Error("process.chdir is not supported")},n.umask=function(){return 0};
  },{}],"UUq2":[function(require,module,exports) {
  var process = require("process");
  var r=require("process");function t(r,t){for(var e=0,n=r.length-1;n>=0;n--){var o=r[n];"."===o?r.splice(n,1):".."===o?(r.splice(n,1),e++):e&&(r.splice(n,1),e--)}if(t)for(;e--;e)r.unshift("..");return r}function e(r){"string"!=typeof r&&(r+="");var t,e=0,n=-1,o=!0;for(t=r.length-1;t>=0;--t)if(47===r.charCodeAt(t)){if(!o){e=t+1;break}}else-1===n&&(o=!1,n=t+1);return-1===n?"":r.slice(e,n)}function n(r,t){if(r.filter)return r.filter(t);for(var e=[],n=0;n<r.length;n++)t(r[n],n,r)&&e.push(r[n]);return e}exports.resolve=function(){for(var e="",o=!1,s=arguments.length-1;s>=-1&&!o;s--){var i=s>=0?arguments[s]:r.cwd();if("string"!=typeof i)throw new TypeError("Arguments to path.resolve must be strings");i&&(e=i+"/"+e,o="/"===i.charAt(0))}return(o?"/":"")+(e=t(n(e.split("/"),function(r){return!!r}),!o).join("/"))||"."},exports.normalize=function(r){var e=exports.isAbsolute(r),s="/"===o(r,-1);return(r=t(n(r.split("/"),function(r){return!!r}),!e).join("/"))||e||(r="."),r&&s&&(r+="/"),(e?"/":"")+r},exports.isAbsolute=function(r){return"/"===r.charAt(0)},exports.join=function(){var r=Array.prototype.slice.call(arguments,0);return exports.normalize(n(r,function(r,t){if("string"!=typeof r)throw new TypeError("Arguments to path.join must be strings");return r}).join("/"))},exports.relative=function(r,t){function e(r){for(var t=0;t<r.length&&""===r[t];t++);for(var e=r.length-1;e>=0&&""===r[e];e--);return t>e?[]:r.slice(t,e-t+1)}r=exports.resolve(r).substr(1),t=exports.resolve(t).substr(1);for(var n=e(r.split("/")),o=e(t.split("/")),s=Math.min(n.length,o.length),i=s,u=0;u<s;u++)if(n[u]!==o[u]){i=u;break}var f=[];for(u=i;u<n.length;u++)f.push("..");return(f=f.concat(o.slice(i))).join("/")},exports.sep="/",exports.delimiter=":",exports.dirname=function(r){if("string"!=typeof r&&(r+=""),0===r.length)return".";for(var t=r.charCodeAt(0),e=47===t,n=-1,o=!0,s=r.length-1;s>=1;--s)if(47===(t=r.charCodeAt(s))){if(!o){n=s;break}}else o=!1;return-1===n?e?"/":".":e&&1===n?"/":r.slice(0,n)},exports.basename=function(r,t){var n=e(r);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},exports.extname=function(r){"string"!=typeof r&&(r+="");for(var t=-1,e=0,n=-1,o=!0,s=0,i=r.length-1;i>=0;--i){var u=r.charCodeAt(i);if(47!==u)-1===n&&(o=!1,n=i+1),46===u?-1===t?t=i:1!==s&&(s=1):-1!==t&&(s=-1);else if(!o){e=i+1;break}}return-1===t||-1===n||0===s||1===s&&t===n-1&&t===e+1?"":r.slice(t,n)};var o="b"==="ab".substr(-1)?function(r,t,e){return r.substr(t,e)}:function(r,t,e){return t<0&&(t=r.length+t),r.substr(t,e)};
  },{"process":"pBGv"}],"J4Nk":[function(require,module,exports) {
  "use strict";var r=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable;function n(r){if(null==r)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}function o(){try{if(!Object.assign)return!1;var r=new String("abc");if(r[5]="de","5"===Object.getOwnPropertyNames(r)[0])return!1;for(var t={},e=0;e<10;e++)t["_"+String.fromCharCode(e)]=e;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(r){return t[r]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(r){n[r]=r}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(o){return!1}}module.exports=o()?Object.assign:function(o,c){for(var a,i,s=n(o),f=1;f<arguments.length;f++){for(var u in a=Object(arguments[f]))t.call(a,u)&&(s[u]=a[u]);if(r){i=r(a);for(var b=0;b<i.length;b++)e.call(a,i[b])&&(s[i[b]]=a[i[b]])}}return s};
  },{}],"rd3l":[function(require,module,exports) {
  module.exports=function(o){return o&&"object"==typeof o&&"function"==typeof o.copy&&"function"==typeof o.fill&&"function"==typeof o.readUInt8};
  },{}],"fCKU":[function(require,module,exports) {
  "function"==typeof Object.create?module.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:module.exports=function(t,e){t.super_=e;var o=function(){};o.prototype=e.prototype,t.prototype=new o,t.prototype.constructor=t};
  },{}],"XOAc":[function(require,module,exports) {
  var global = arguments[3];
  var process = require("process");
  var e=arguments[3],t=require("process"),r=/%[sdj%]/g;exports.format=function(e){if(!v(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(i(arguments[n]));return t.join(" ")}n=1;for(var o=arguments,s=o.length,u=String(e).replace(r,function(e){if("%%"===e)return"%";if(n>=s)return e;switch(e){case"%s":return String(o[n++]);case"%d":return Number(o[n++]);case"%j":try{return JSON.stringify(o[n++])}catch(t){return"[Circular]"}default:return e}}),c=o[n];n<s;c=o[++n])h(c)||!z(c)?u+=" "+c:u+=" "+i(c);return u},exports.deprecate=function(r,n){if(j(e.process))return function(){return exports.deprecate(r,n).apply(this,arguments)};if(!0===t.noDeprecation)return r;var o=!1;return function(){if(!o){if(t.throwDeprecation)throw new Error(n);t.traceDeprecation?console.trace(n):console.error(n),o=!0}return r.apply(this,arguments)}};var n,o={};function i(e,t){var r={seen:[],stylize:u};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),x(t)?r.showHidden=t:t&&exports._extend(r,t),j(r.showHidden)&&(r.showHidden=!1),j(r.depth)&&(r.depth=2),j(r.colors)&&(r.colors=!1),j(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=s),p(r,e,r.depth)}function s(e,t){var r=i.styles[t];return r?"["+i.colors[r][0]+"m"+e+"["+i.colors[r][1]+"m":e}function u(e,t){return e}function c(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function p(e,t,r){if(e.customInspect&&t&&D(t.inspect)&&t.inspect!==exports.inspect&&(!t.constructor||t.constructor.prototype!==t)){var n=t.inspect(r,e);return v(n)||(n=p(e,n,r)),n}var o=l(e,t);if(o)return o;var i=Object.keys(t),s=c(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),E(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return a(t);if(0===i.length){if(D(t)){var u=t.name?": "+t.name:"";return e.stylize("[Function"+u+"]","special")}if(O(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(w(t))return e.stylize(Date.prototype.toString.call(t),"date");if(E(t))return a(t)}var x,h="",b=!1,m=["{","}"];(d(t)&&(b=!0,m=["[","]"]),D(t))&&(h=" [Function"+(t.name?": "+t.name:"")+"]");return O(t)&&(h=" "+RegExp.prototype.toString.call(t)),w(t)&&(h=" "+Date.prototype.toUTCString.call(t)),E(t)&&(h=" "+a(t)),0!==i.length||b&&0!=t.length?r<0?O(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),x=b?f(e,t,r,s,i):i.map(function(n){return g(e,t,r,s,n,b)}),e.seen.pop(),y(x,h,m)):m[0]+h+m[1]}function l(e,t){if(j(t))return e.stylize("undefined","undefined");if(v(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return m(t)?e.stylize(""+t,"number"):x(t)?e.stylize(""+t,"boolean"):h(t)?e.stylize("null","null"):void 0}function a(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,o){for(var i=[],s=0,u=t.length;s<u;++s)$(t,String(s))?i.push(g(e,t,r,n,String(s),!0)):i.push("");return o.forEach(function(o){o.match(/^\d+$/)||i.push(g(e,t,r,n,o,!0))}),i}function g(e,t,r,n,o,i){var s,u,c;if((c=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?u=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(u=e.stylize("[Setter]","special")),$(n,o)||(s="["+o+"]"),u||(e.seen.indexOf(c.value)<0?(u=h(r)?p(e,c.value,null):p(e,c.value,r-1)).indexOf("\n")>-1&&(u=i?u.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+u.split("\n").map(function(e){return"   "+e}).join("\n")):u=e.stylize("[Circular]","special")),j(s)){if(i&&o.match(/^\d+$/))return u;(s=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+u}function y(e,t,r){return e.reduce(function(e,t){return 0,t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function d(e){return Array.isArray(e)}function x(e){return"boolean"==typeof e}function h(e){return null===e}function b(e){return null==e}function m(e){return"number"==typeof e}function v(e){return"string"==typeof e}function S(e){return"symbol"==typeof e}function j(e){return void 0===e}function O(e){return z(e)&&"[object RegExp]"===A(e)}function z(e){return"object"==typeof e&&null!==e}function w(e){return z(e)&&"[object Date]"===A(e)}function E(e){return z(e)&&("[object Error]"===A(e)||e instanceof Error)}function D(e){return"function"==typeof e}function N(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function A(e){return Object.prototype.toString.call(e)}function J(e){return e<10?"0"+e.toString(10):e.toString(10)}exports.debuglog=function(e){if(j(n)&&(n=""),e=e.toUpperCase(),!o[e])if(new RegExp("\\b"+e+"\\b","i").test(n)){var r=t.pid;o[e]=function(){var t=exports.format.apply(exports,arguments);console.error("%s %d: %s",e,r,t)}}else o[e]=function(){};return o[e]},exports.inspect=i,i.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},i.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},exports.isArray=d,exports.isBoolean=x,exports.isNull=h,exports.isNullOrUndefined=b,exports.isNumber=m,exports.isString=v,exports.isSymbol=S,exports.isUndefined=j,exports.isRegExp=O,exports.isObject=z,exports.isDate=w,exports.isError=E,exports.isFunction=D,exports.isPrimitive=N,exports.isBuffer=require("./support/isBuffer");var R=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function H(){var e=new Date,t=[J(e.getHours()),J(e.getMinutes()),J(e.getSeconds())].join(":");return[e.getDate(),R[e.getMonth()],t].join(" ")}function $(e,t){return Object.prototype.hasOwnProperty.call(e,t)}exports.log=function(){console.log("%s - %s",H(),exports.format.apply(exports,arguments))},exports.inherits=require("inherits"),exports._extend=function(e,t){if(!t||!z(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};
  },{"./support/isBuffer":"rd3l","inherits":"fCKU","process":"pBGv"}],"DlZn":[function(require,module,exports) {
  var global = arguments[3];
  var t=arguments[3],e=require("object-assign");function r(t,e){if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0}function n(e){return t.Buffer&&"function"==typeof t.Buffer.isBuffer?t.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var i=require("util/"),o=Object.prototype.hasOwnProperty,u=Array.prototype.slice,a="foo"===function(){}.name;function c(t){return Object.prototype.toString.call(t)}function f(e){return!n(e)&&("function"==typeof t.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}var s=module.exports=q,l=/\s*function\s+([^\(\s]*)\s*/;function p(t){if(i.isFunction(t)){if(a)return t.name;var e=t.toString().match(l);return e&&e[1]}}function g(t,e){return"string"==typeof t?t.length<e?t:t.slice(0,e):t}function E(t){if(a||!i.isFunction(t))return i.inspect(t);var e=p(t);return"[Function"+(e?": "+e:"")+"]"}function h(t){return g(E(t.actual),128)+" "+t.operator+" "+g(E(t.expected),128)}function y(t,e,r,n,i){throw new s.AssertionError({message:r,actual:t,expected:e,operator:n,stackStartFunction:i})}function q(t,e){t||y(t,!0,e,"==",s.ok)}function d(t,e,o,u){if(t===e)return!0;if(n(t)&&n(e))return 0===r(t,e);if(i.isDate(t)&&i.isDate(e))return t.getTime()===e.getTime();if(i.isRegExp(t)&&i.isRegExp(e))return t.source===e.source&&t.global===e.global&&t.multiline===e.multiline&&t.lastIndex===e.lastIndex&&t.ignoreCase===e.ignoreCase;if(null!==t&&"object"==typeof t||null!==e&&"object"==typeof e){if(f(t)&&f(e)&&c(t)===c(e)&&!(t instanceof Float32Array||t instanceof Float64Array))return 0===r(new Uint8Array(t.buffer),new Uint8Array(e.buffer));if(n(t)!==n(e))return!1;var a=(u=u||{actual:[],expected:[]}).actual.indexOf(t);return-1!==a&&a===u.expected.indexOf(e)||(u.actual.push(t),u.expected.push(e),b(t,e,o,u))}return o?t===e:t==e}function m(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function b(t,e,r,n){if(null==t||null==e)return!1;if(i.isPrimitive(t)||i.isPrimitive(e))return t===e;if(r&&Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1;var o=m(t),a=m(e);if(o&&!a||!o&&a)return!1;if(o)return d(t=u.call(t),e=u.call(e),r);var c,f,s=A(t),l=A(e);if(s.length!==l.length)return!1;for(s.sort(),l.sort(),f=s.length-1;f>=0;f--)if(s[f]!==l[f])return!1;for(f=s.length-1;f>=0;f--)if(!d(t[c=s[f]],e[c],r,n))return!1;return!0}function v(t,e,r){d(t,e,!0)&&y(t,e,r,"notDeepStrictEqual",v)}function x(t,e){if(!t||!e)return!1;if("[object RegExp]"==Object.prototype.toString.call(e))return e.test(t);try{if(t instanceof e)return!0}catch(r){}return!Error.isPrototypeOf(e)&&!0===e.call({},t)}function S(t){var e;try{t()}catch(r){e=r}return e}function w(t,e,r,n){var o;if("function"!=typeof e)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),o=S(e),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),t&&!o&&y(o,r,"Missing expected exception"+n);var u="string"==typeof n,a=!t&&o&&!r;if((!t&&i.isError(o)&&u&&x(o,r)||a)&&y(o,r,"Got unwanted exception"+n),t&&o&&r&&!x(o,r)||!t&&o)throw o}function O(t,e){t||y(t,!0,e,"==",O)}s.AssertionError=function(t){this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=h(this),this.generatedMessage=!0);var e=t.stackStartFunction||y;if(Error.captureStackTrace)Error.captureStackTrace(this,e);else{var r=new Error;if(r.stack){var n=r.stack,i=p(e),o=n.indexOf("\n"+i);if(o>=0){var u=n.indexOf("\n",o+1);n=n.substring(u+1)}this.stack=n}}},i.inherits(s.AssertionError,Error),s.fail=y,s.ok=q,s.equal=function(t,e,r){t!=e&&y(t,e,r,"==",s.equal)},s.notEqual=function(t,e,r){t==e&&y(t,e,r,"!=",s.notEqual)},s.deepEqual=function(t,e,r){d(t,e,!1)||y(t,e,r,"deepEqual",s.deepEqual)},s.deepStrictEqual=function(t,e,r){d(t,e,!0)||y(t,e,r,"deepStrictEqual",s.deepStrictEqual)},s.notDeepEqual=function(t,e,r){d(t,e,!1)&&y(t,e,r,"notDeepEqual",s.notDeepEqual)},s.notDeepStrictEqual=v,s.strictEqual=function(t,e,r){t!==e&&y(t,e,r,"===",s.strictEqual)},s.notStrictEqual=function(t,e,r){t===e&&y(t,e,r,"!==",s.notStrictEqual)},s.throws=function(t,e,r){w(!0,t,e,r)},s.doesNotThrow=function(t,e,r){w(!1,t,e,r)},s.ifError=function(t){if(t)throw t},s.strict=e(O,s,{equal:s.strictEqual,deepEqual:s.deepStrictEqual,notEqual:s.notStrictEqual,notDeepEqual:s.notDeepStrictEqual}),s.strict.strict=s.strict;var A=Object.keys||function(t){var e=[];for(var r in t)o.call(t,r)&&e.push(r);return e};
  },{"object-assign":"J4Nk","util/":"XOAc"}],"L7BF":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getLineInfo=L,exports.isIdentifierChar=l,exports.isIdentifierStart=u,exports.isNewLine=_,exports.parse=ie,exports.parseExpressionAt=se,exports.tokenizer=re,exports.version=exports.tokTypes=exports.tokContexts=exports.nonASCIIwhitespace=exports.lineBreakG=exports.lineBreak=exports.keywordTypes=exports.defaultOptions=exports.TokenType=exports.Token=exports.TokContext=exports.SourceLocation=exports.Position=exports.Parser=exports.Node=void 0;var t={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},e="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",i={5:e,"5module":e+" export import",6:e+" const class extends export import super"},s=/^in(stanceof)?$/,r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ﬀ-ﬆﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼＡ-Ｚａ-ｚｦ-ﾾￂ-ￇￊ-ￏￒ-ￗￚ-ￜ",a="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏０-９＿",n=new RegExp("["+r+"]"),o=new RegExp("["+r+a+"]");r=a=null;var h=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],p=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function c(t,e){for(var i=65536,s=0;s<e.length;s+=2){if((i+=e[s])>t)return!1;if((i+=e[s+1])>=t)return!0}}function u(t,e){return t<65?36===t:t<91||(t<97?95===t:t<123||(t<=65535?t>=170&&n.test(String.fromCharCode(t)):!1!==e&&c(t,h)))}function l(t,e){return t<48?36===t:t<58||!(t<65)&&(t<91||(t<97?95===t:t<123||(t<=65535?t>=170&&o.test(String.fromCharCode(t)):!1!==e&&(c(t,h)||c(t,p)))))}var d=function(t,e){void 0===e&&(e={}),this.label=t,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop||null,this.updateContext=null};function f(t,e){return new d(t,{beforeExpr:!0,binop:e})}exports.TokenType=d;var m={beforeExpr:!0},x={startsExpr:!0},g={};function v(t,e){return void 0===e&&(e={}),e.keyword=t,g[t]=new d(t,e)}exports.keywordTypes=g;var y={num:new d("num",x),regexp:new d("regexp",x),string:new d("string",x),name:new d("name",x),eof:new d("eof"),bracketL:new d("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new d("]"),braceL:new d("{",{beforeExpr:!0,startsExpr:!0}),braceR:new d("}"),parenL:new d("(",{beforeExpr:!0,startsExpr:!0}),parenR:new d(")"),comma:new d(",",m),semi:new d(";",m),colon:new d(":",m),dot:new d("."),question:new d("?",m),questionDot:new d("?."),arrow:new d("=>",m),template:new d("template"),invalidTemplate:new d("invalidTemplate"),ellipsis:new d("...",m),backQuote:new d("`",x),dollarBraceL:new d("${",{beforeExpr:!0,startsExpr:!0}),eq:new d("=",{beforeExpr:!0,isAssign:!0}),assign:new d("_=",{beforeExpr:!0,isAssign:!0}),incDec:new d("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new d("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:f("||",1),logicalAND:f("&&",2),bitwiseOR:f("|",3),bitwiseXOR:f("^",4),bitwiseAND:f("&",5),equality:f("==/!=/===/!==",6),relational:f("</>/<=/>=",7),bitShift:f("<</>>/>>>",8),plusMin:new d("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:f("%",10),star:f("*",10),slash:f("/",10),starstar:new d("**",{beforeExpr:!0}),coalesce:f("??",1),_break:v("break"),_case:v("case",m),_catch:v("catch"),_continue:v("continue"),_debugger:v("debugger"),_default:v("default",m),_do:v("do",{isLoop:!0,beforeExpr:!0}),_else:v("else",m),_finally:v("finally"),_for:v("for",{isLoop:!0}),_function:v("function",x),_if:v("if"),_return:v("return",m),_switch:v("switch"),_throw:v("throw",m),_try:v("try"),_var:v("var"),_const:v("const"),_while:v("while",{isLoop:!0}),_with:v("with"),_new:v("new",{beforeExpr:!0,startsExpr:!0}),_this:v("this",x),_super:v("super",x),_class:v("class",x),_extends:v("extends",m),_export:v("export"),_import:v("import",x),_null:v("null",x),_true:v("true",x),_false:v("false",x),_in:v("in",{beforeExpr:!0,binop:7}),_instanceof:v("instanceof",{beforeExpr:!0,binop:7}),_typeof:v("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:v("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:v("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})};exports.tokTypes=y;var b=/\r\n?|\n|\u2028|\u2029/;exports.lineBreak=b;var k=new RegExp(b.source,"g");function _(t,e){return 10===t||13===t||!e&&(8232===t||8233===t)}exports.lineBreakG=k;var S=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;exports.nonASCIIwhitespace=S;var C=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,w=Object.prototype,E=w.hasOwnProperty,A=w.toString;function I(t,e){return E.call(t,e)}var P=Array.isArray||function(t){return"[object Array]"===A.call(t)};function T(t){return new RegExp("^(?:"+t.replace(/ /g,"|")+")$")}var N=function(t,e){this.line=t,this.column=e};exports.Position=N,N.prototype.offset=function(t){return new N(this.line,this.column+t)};var V=function(t,e,i){this.start=e,this.end=i,null!==t.sourceFile&&(this.source=t.sourceFile)};function L(t,e){for(var i=1,s=0;;){k.lastIndex=s;var r=k.exec(t);if(!(r&&r.index<e))return new N(i,e-s);++i,s=r.index+r[0].length}}exports.SourceLocation=V;var R={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1};function O(t){var e={};for(var i in R)e[i]=t&&I(t,i)?t[i]:R[i];if(e.ecmaVersion>=2015&&(e.ecmaVersion-=2009),null==e.allowReserved&&(e.allowReserved=e.ecmaVersion<5),P(e.onToken)){var s=e.onToken;e.onToken=function(t){return s.push(t)}}return P(e.onComment)&&(e.onComment=B(e,e.onComment)),e}function B(t,e){return function(i,s,r,a,n,o){var h={type:i?"Block":"Line",value:s,start:r,end:a};t.locations&&(h.loc=new V(this,n,o)),t.ranges&&(h.range=[r,a]),e.push(h)}}exports.defaultOptions=R;var M=1,D=2,F=M|D,U=4,q=8,G=16,H=32,W=64,j=128;function z(t,e){return D|(t?U:0)|(e?q:0)}var Q=0,K=1,X=2,Y=3,Z=4,$=5,J=function(e,s,r){this.options=e=O(e),this.sourceFile=e.sourceFile,this.keywords=T(i[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var a="";if(!0!==e.allowReserved){for(var n=e.ecmaVersion;!(a=t[n]);n--);"module"===e.sourceType&&(a+=" await")}this.reservedWords=T(a);var o=(a?a+" ":"")+t.strict;this.reservedWordsStrict=T(o),this.reservedWordsStrictBind=T(o+" "+t.strictBind),this.input=String(s),this.containsEsc=!1,r?(this.pos=r,this.lineStart=this.input.lastIndexOf("\n",r-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(b).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=y.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(M),this.regexpState=null};exports.Parser=J;var tt={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};J.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)},tt.inFunction.get=function(){return(this.currentVarScope().flags&D)>0},tt.inGenerator.get=function(){return(this.currentVarScope().flags&q)>0},tt.inAsync.get=function(){return(this.currentVarScope().flags&U)>0},tt.allowSuper.get=function(){return(this.currentThisScope().flags&W)>0},tt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&j)>0},tt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},J.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags&D)>0},J.extend=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];for(var i=this,s=0;s<t.length;s++)i=t[s](i);return i},J.parse=function(t,e){return new this(e,t).parse()},J.parseExpressionAt=function(t,e,i){var s=new this(i,t,e);return s.nextToken(),s.parseExpression()},J.tokenizer=function(t,e){return new this(e,t)},Object.defineProperties(J.prototype,tt);var et=J.prototype,it=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;function st(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}et.strictDirective=function(t){for(;;){C.lastIndex=t,t+=C.exec(this.input)[0].length;var e=it.exec(this.input.slice(t));if(!e)return!1;if("use strict"===(e[1]||e[2])){C.lastIndex=t+e[0].length;var i=C.exec(this.input),s=i.index+i[0].length,r=this.input.charAt(s);return";"===r||"}"===r||b.test(i[0])&&!(/[(`.[+\-\/*%<>=,?^&]/.test(r)||"!"===r&&"="===this.input.charAt(s+1))}t+=e[0].length,C.lastIndex=t,t+=C.exec(this.input)[0].length,";"===this.input[t]&&t++}},et.eat=function(t){return this.type===t&&(this.next(),!0)},et.isContextual=function(t){return this.type===y.name&&this.value===t&&!this.containsEsc},et.eatContextual=function(t){return!!this.isContextual(t)&&(this.next(),!0)},et.expectContextual=function(t){this.eatContextual(t)||this.unexpected()},et.canInsertSemicolon=function(){return this.type===y.eof||this.type===y.braceR||b.test(this.input.slice(this.lastTokEnd,this.start))},et.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},et.semicolon=function(){this.eat(y.semi)||this.insertSemicolon()||this.unexpected()},et.afterTrailingComma=function(t,e){if(this.type===t)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),e||this.next(),!0},et.expect=function(t){this.eat(t)||this.unexpected()},et.unexpected=function(t){this.raise(null!=t?t:this.start,"Unexpected token")},et.checkPatternErrors=function(t,e){if(t){t.trailingComma>-1&&this.raiseRecoverable(t.trailingComma,"Comma is not permitted after the rest element");var i=e?t.parenthesizedAssign:t.parenthesizedBind;i>-1&&this.raiseRecoverable(i,"Parenthesized pattern")}},et.checkExpressionErrors=function(t,e){if(!t)return!1;var i=t.shorthandAssign,s=t.doubleProto;if(!e)return i>=0||s>=0;i>=0&&this.raise(i,"Shorthand property assignments are valid only in destructuring patterns"),s>=0&&this.raiseRecoverable(s,"Redefinition of __proto__ property")},et.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},et.isSimpleAssignTarget=function(t){return"ParenthesizedExpression"===t.type?this.isSimpleAssignTarget(t.expression):"Identifier"===t.type||"MemberExpression"===t.type};var rt=J.prototype;rt.parseTopLevel=function(t){var e={};for(t.body||(t.body=[]);this.type!==y.eof;){var i=this.parseStatement(null,!0,e);t.body.push(i)}if(this.inModule)for(var s=0,r=Object.keys(this.undefinedExports);s<r.length;s+=1){var a=r[s];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}return this.adaptDirectivePrologue(t.body),this.next(),t.sourceType=this.options.sourceType,this.finishNode(t,"Program")};var at={kind:"loop"},nt={kind:"switch"};rt.isLet=function(t){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;C.lastIndex=this.pos;var e=C.exec(this.input),i=this.pos+e[0].length,r=this.input.charCodeAt(i);if(91===r)return!0;if(t)return!1;if(123===r)return!0;if(u(r,!0)){for(var a=i+1;l(this.input.charCodeAt(a),!0);)++a;var n=this.input.slice(i,a);if(!s.test(n))return!0}return!1},rt.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;C.lastIndex=this.pos;var t=C.exec(this.input),e=this.pos+t[0].length;return!(b.test(this.input.slice(this.pos,e))||"function"!==this.input.slice(e,e+8)||e+8!==this.input.length&&l(this.input.charAt(e+8)))},rt.parseStatement=function(t,e,i){var s,r=this.type,a=this.startNode();switch(this.isLet(t)&&(r=y._var,s="let"),r){case y._break:case y._continue:return this.parseBreakContinueStatement(a,r.keyword);case y._debugger:return this.parseDebuggerStatement(a);case y._do:return this.parseDoStatement(a);case y._for:return this.parseForStatement(a);case y._function:return t&&(this.strict||"if"!==t&&"label"!==t)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1,!t);case y._class:return t&&this.unexpected(),this.parseClass(a,!0);case y._if:return this.parseIfStatement(a);case y._return:return this.parseReturnStatement(a);case y._switch:return this.parseSwitchStatement(a);case y._throw:return this.parseThrowStatement(a);case y._try:return this.parseTryStatement(a);case y._const:case y._var:return s=s||this.value,t&&"var"!==s&&this.unexpected(),this.parseVarStatement(a,s);case y._while:return this.parseWhileStatement(a);case y._with:return this.parseWithStatement(a);case y.braceL:return this.parseBlock(!0,a);case y.semi:return this.parseEmptyStatement(a);case y._export:case y._import:if(this.options.ecmaVersion>10&&r===y._import){C.lastIndex=this.pos;var n=C.exec(this.input),o=this.pos+n[0].length,h=this.input.charCodeAt(o);if(40===h||46===h)return this.parseExpressionStatement(a,this.parseExpression())}return this.options.allowImportExportEverywhere||(e||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),r===y._import?this.parseImport(a):this.parseExport(a,i);default:if(this.isAsyncFunction())return t&&this.unexpected(),this.next(),this.parseFunctionStatement(a,!0,!t);var p=this.value,c=this.parseExpression();return r===y.name&&"Identifier"===c.type&&this.eat(y.colon)?this.parseLabeledStatement(a,p,c,t):this.parseExpressionStatement(a,c)}},rt.parseBreakContinueStatement=function(t,e){var i="break"===e;this.next(),this.eat(y.semi)||this.insertSemicolon()?t.label=null:this.type!==y.name?this.unexpected():(t.label=this.parseIdent(),this.semicolon());for(var s=0;s<this.labels.length;++s){var r=this.labels[s];if(null==t.label||r.name===t.label.name){if(null!=r.kind&&(i||"loop"===r.kind))break;if(t.label&&i)break}}return s===this.labels.length&&this.raise(t.start,"Unsyntactic "+e),this.finishNode(t,i?"BreakStatement":"ContinueStatement")},rt.parseDebuggerStatement=function(t){return this.next(),this.semicolon(),this.finishNode(t,"DebuggerStatement")},rt.parseDoStatement=function(t){return this.next(),this.labels.push(at),t.body=this.parseStatement("do"),this.labels.pop(),this.expect(y._while),t.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(y.semi):this.semicolon(),this.finishNode(t,"DoWhileStatement")},rt.parseForStatement=function(t){this.next();var e=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(at),this.enterScope(0),this.expect(y.parenL),this.type===y.semi)return e>-1&&this.unexpected(e),this.parseFor(t,null);var i=this.isLet();if(this.type===y._var||this.type===y._const||i){var s=this.startNode(),r=i?"let":this.value;return this.next(),this.parseVar(s,!0,r),this.finishNode(s,"VariableDeclaration"),(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===s.declarations.length?(this.options.ecmaVersion>=9&&(this.type===y._in?e>-1&&this.unexpected(e):t.await=e>-1),this.parseForIn(t,s)):(e>-1&&this.unexpected(e),this.parseFor(t,s))}var a=new st,n=this.parseExpression(!0,a);return this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===y._in?e>-1&&this.unexpected(e):t.await=e>-1),this.toAssignable(n,!1,a),this.checkLVal(n),this.parseForIn(t,n)):(this.checkExpressionErrors(a,!0),e>-1&&this.unexpected(e),this.parseFor(t,n))},rt.parseFunctionStatement=function(t,e,i){return this.next(),this.parseFunction(t,ht|(i?0:pt),!1,e)},rt.parseIfStatement=function(t){return this.next(),t.test=this.parseParenExpression(),t.consequent=this.parseStatement("if"),t.alternate=this.eat(y._else)?this.parseStatement("if"):null,this.finishNode(t,"IfStatement")},rt.parseReturnStatement=function(t){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(y.semi)||this.insertSemicolon()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")},rt.parseSwitchStatement=function(t){var e;this.next(),t.discriminant=this.parseParenExpression(),t.cases=[],this.expect(y.braceL),this.labels.push(nt),this.enterScope(0);for(var i=!1;this.type!==y.braceR;)if(this.type===y._case||this.type===y._default){var s=this.type===y._case;e&&this.finishNode(e,"SwitchCase"),t.cases.push(e=this.startNode()),e.consequent=[],this.next(),s?e.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,e.test=null),this.expect(y.colon)}else e||this.unexpected(),e.consequent.push(this.parseStatement(null));return this.exitScope(),e&&this.finishNode(e,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(t,"SwitchStatement")},rt.parseThrowStatement=function(t){return this.next(),b.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")};var ot=[];rt.parseTryStatement=function(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.type===y._catch){var e=this.startNode();if(this.next(),this.eat(y.parenL)){e.param=this.parseBindingAtom();var i="Identifier"===e.param.type;this.enterScope(i?H:0),this.checkLVal(e.param,i?Z:X),this.expect(y.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),e.param=null,this.enterScope(0);e.body=this.parseBlock(!1),this.exitScope(),t.handler=this.finishNode(e,"CatchClause")}return t.finalizer=this.eat(y._finally)?this.parseBlock():null,t.handler||t.finalizer||this.raise(t.start,"Missing catch or finally clause"),this.finishNode(t,"TryStatement")},rt.parseVarStatement=function(t,e){return this.next(),this.parseVar(t,!1,e),this.semicolon(),this.finishNode(t,"VariableDeclaration")},rt.parseWhileStatement=function(t){return this.next(),t.test=this.parseParenExpression(),this.labels.push(at),t.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(t,"WhileStatement")},rt.parseWithStatement=function(t){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),t.object=this.parseParenExpression(),t.body=this.parseStatement("with"),this.finishNode(t,"WithStatement")},rt.parseEmptyStatement=function(t){return this.next(),this.finishNode(t,"EmptyStatement")},rt.parseLabeledStatement=function(t,e,i,s){for(var r=0,a=this.labels;r<a.length;r+=1){a[r].name===e&&this.raise(i.start,"Label '"+e+"' is already declared")}for(var n=this.type.isLoop?"loop":this.type===y._switch?"switch":null,o=this.labels.length-1;o>=0;o--){var h=this.labels[o];if(h.statementStart!==t.start)break;h.statementStart=this.start,h.kind=n}return this.labels.push({name:e,kind:n,statementStart:this.start}),t.body=this.parseStatement(s?-1===s.indexOf("label")?s+"label":s:"label"),this.labels.pop(),t.label=i,this.finishNode(t,"LabeledStatement")},rt.parseExpressionStatement=function(t,e){return t.expression=e,this.semicolon(),this.finishNode(t,"ExpressionStatement")},rt.parseBlock=function(t,e,i){for(void 0===t&&(t=!0),void 0===e&&(e=this.startNode()),e.body=[],this.expect(y.braceL),t&&this.enterScope(0);this.type!==y.braceR;){var s=this.parseStatement(null);e.body.push(s)}return i&&(this.strict=!1),this.next(),t&&this.exitScope(),this.finishNode(e,"BlockStatement")},rt.parseFor=function(t,e){return t.init=e,this.expect(y.semi),t.test=this.type===y.semi?null:this.parseExpression(),this.expect(y.semi),t.update=this.type===y.parenR?null:this.parseExpression(),this.expect(y.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,"ForStatement")},rt.parseForIn=function(t,e){var i=this.type===y._in;return this.next(),"VariableDeclaration"===e.type&&null!=e.declarations[0].init&&(!i||this.options.ecmaVersion<8||this.strict||"var"!==e.kind||"Identifier"!==e.declarations[0].id.type)?this.raise(e.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer"):"AssignmentPattern"===e.type&&this.raise(e.start,"Invalid left-hand side in for-loop"),t.left=e,t.right=i?this.parseExpression():this.parseMaybeAssign(),this.expect(y.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,i?"ForInStatement":"ForOfStatement")},rt.parseVar=function(t,e,i){for(t.declarations=[],t.kind=i;;){var s=this.startNode();if(this.parseVarId(s,i),this.eat(y.eq)?s.init=this.parseMaybeAssign(e):"const"!==i||this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===s.id.type||e&&(this.type===y._in||this.isContextual("of"))?s.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),t.declarations.push(this.finishNode(s,"VariableDeclarator")),!this.eat(y.comma))break}return t},rt.parseVarId=function(t,e){t.id=this.parseBindingAtom(),this.checkLVal(t.id,"var"===e?K:X,!1)};var ht=1,pt=2,ct=4;rt.parseFunction=function(t,e,i,s){this.initFunction(t),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!s)&&(this.type===y.star&&e&pt&&this.unexpected(),t.generator=this.eat(y.star)),this.options.ecmaVersion>=8&&(t.async=!!s),e&ht&&(t.id=e&ct&&this.type!==y.name?null:this.parseIdent(),!t.id||e&pt||this.checkLVal(t.id,this.strict||t.generator||t.async?this.treatFunctionsAsVar?K:X:Y));var r=this.yieldPos,a=this.awaitPos,n=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(z(t.async,t.generator)),e&ht||(t.id=this.type===y.name?this.parseIdent():null),this.parseFunctionParams(t),this.parseFunctionBody(t,i,!1),this.yieldPos=r,this.awaitPos=a,this.awaitIdentPos=n,this.finishNode(t,e&ht?"FunctionDeclaration":"FunctionExpression")},rt.parseFunctionParams=function(t){this.expect(y.parenL),t.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},rt.parseClass=function(t,e){this.next();var i=this.strict;this.strict=!0,this.parseClassId(t,e),this.parseClassSuper(t);var s=this.startNode(),r=!1;for(s.body=[],this.expect(y.braceL);this.type!==y.braceR;){var a=this.parseClassElement(null!==t.superClass);a&&(s.body.push(a),"MethodDefinition"===a.type&&"constructor"===a.kind&&(r&&this.raise(a.start,"Duplicate constructor in the same class"),r=!0))}return this.strict=i,this.next(),t.body=this.finishNode(s,"ClassBody"),this.finishNode(t,e?"ClassDeclaration":"ClassExpression")},rt.parseClassElement=function(t){var e=this;if(this.eat(y.semi))return null;var i=this.startNode(),s=function(t,s){void 0===s&&(s=!1);var r=e.start,a=e.startLoc;return!!e.eatContextual(t)&&(!(e.type===y.parenL||s&&e.canInsertSemicolon())||(i.key&&e.unexpected(),i.computed=!1,i.key=e.startNodeAt(r,a),i.key.name=t,e.finishNode(i.key,"Identifier"),!1))};i.kind="method",i.static=s("static");var r=this.eat(y.star),a=!1;r||(this.options.ecmaVersion>=8&&s("async",!0)?(a=!0,r=this.options.ecmaVersion>=9&&this.eat(y.star)):s("get")?i.kind="get":s("set")&&(i.kind="set")),i.key||this.parsePropertyName(i);var n=i.key,o=!1;return i.computed||i.static||!("Identifier"===n.type&&"constructor"===n.name||"Literal"===n.type&&"constructor"===n.value)?i.static&&"Identifier"===n.type&&"prototype"===n.name&&this.raise(n.start,"Classes may not have a static property named prototype"):("method"!==i.kind&&this.raise(n.start,"Constructor can't have get/set modifier"),r&&this.raise(n.start,"Constructor can't be a generator"),a&&this.raise(n.start,"Constructor can't be an async method"),i.kind="constructor",o=t),this.parseClassMethod(i,r,a,o),"get"===i.kind&&0!==i.value.params.length&&this.raiseRecoverable(i.value.start,"getter should have no params"),"set"===i.kind&&1!==i.value.params.length&&this.raiseRecoverable(i.value.start,"setter should have exactly one param"),"set"===i.kind&&"RestElement"===i.value.params[0].type&&this.raiseRecoverable(i.value.params[0].start,"Setter cannot use rest params"),i},rt.parseClassMethod=function(t,e,i,s){return t.value=this.parseMethod(e,i,s),this.finishNode(t,"MethodDefinition")},rt.parseClassId=function(t,e){this.type===y.name?(t.id=this.parseIdent(),e&&this.checkLVal(t.id,X,!1)):(!0===e&&this.unexpected(),t.id=null)},rt.parseClassSuper=function(t){t.superClass=this.eat(y._extends)?this.parseExprSubscripts():null},rt.parseExport=function(t,e){if(this.next(),this.eat(y.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(t.exported=this.parseIdent(!0),this.checkExport(e,t.exported.name,this.lastTokStart)):t.exported=null),this.expectContextual("from"),this.type!==y.string&&this.unexpected(),t.source=this.parseExprAtom(),this.semicolon(),this.finishNode(t,"ExportAllDeclaration");if(this.eat(y._default)){var i;if(this.checkExport(e,"default",this.lastTokStart),this.type===y._function||(i=this.isAsyncFunction())){var s=this.startNode();this.next(),i&&this.next(),t.declaration=this.parseFunction(s,ht|ct,!1,i)}else if(this.type===y._class){var r=this.startNode();t.declaration=this.parseClass(r,"nullableID")}else t.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(t,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())t.declaration=this.parseStatement(null),"VariableDeclaration"===t.declaration.type?this.checkVariableExport(e,t.declaration.declarations):this.checkExport(e,t.declaration.id.name,t.declaration.id.start),t.specifiers=[],t.source=null;else{if(t.declaration=null,t.specifiers=this.parseExportSpecifiers(e),this.eatContextual("from"))this.type!==y.string&&this.unexpected(),t.source=this.parseExprAtom();else{for(var a=0,n=t.specifiers;a<n.length;a+=1){var o=n[a];this.checkUnreserved(o.local),this.checkLocalExport(o.local)}t.source=null}this.semicolon()}return this.finishNode(t,"ExportNamedDeclaration")},rt.checkExport=function(t,e,i){t&&(I(t,e)&&this.raiseRecoverable(i,"Duplicate export '"+e+"'"),t[e]=!0)},rt.checkPatternExport=function(t,e){var i=e.type;if("Identifier"===i)this.checkExport(t,e.name,e.start);else if("ObjectPattern"===i)for(var s=0,r=e.properties;s<r.length;s+=1){var a=r[s];this.checkPatternExport(t,a)}else if("ArrayPattern"===i)for(var n=0,o=e.elements;n<o.length;n+=1){var h=o[n];h&&this.checkPatternExport(t,h)}else"Property"===i?this.checkPatternExport(t,e.value):"AssignmentPattern"===i?this.checkPatternExport(t,e.left):"RestElement"===i?this.checkPatternExport(t,e.argument):"ParenthesizedExpression"===i&&this.checkPatternExport(t,e.expression)},rt.checkVariableExport=function(t,e){if(t)for(var i=0,s=e;i<s.length;i+=1){var r=s[i];this.checkPatternExport(t,r.id)}},rt.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},rt.parseExportSpecifiers=function(t){var e=[],i=!0;for(this.expect(y.braceL);!this.eat(y.braceR);){if(i)i=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;var s=this.startNode();s.local=this.parseIdent(!0),s.exported=this.eatContextual("as")?this.parseIdent(!0):s.local,this.checkExport(t,s.exported.name,s.exported.start),e.push(this.finishNode(s,"ExportSpecifier"))}return e},rt.parseImport=function(t){return this.next(),this.type===y.string?(t.specifiers=ot,t.source=this.parseExprAtom()):(t.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),t.source=this.type===y.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(t,"ImportDeclaration")},rt.parseImportSpecifiers=function(){var t=[],e=!0;if(this.type===y.name){var i=this.startNode();if(i.local=this.parseIdent(),this.checkLVal(i.local,X),t.push(this.finishNode(i,"ImportDefaultSpecifier")),!this.eat(y.comma))return t}if(this.type===y.star){var s=this.startNode();return this.next(),this.expectContextual("as"),s.local=this.parseIdent(),this.checkLVal(s.local,X),t.push(this.finishNode(s,"ImportNamespaceSpecifier")),t}for(this.expect(y.braceL);!this.eat(y.braceR);){if(e)e=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;var r=this.startNode();r.imported=this.parseIdent(!0),this.eatContextual("as")?r.local=this.parseIdent():(this.checkUnreserved(r.imported),r.local=r.imported),this.checkLVal(r.local,X),t.push(this.finishNode(r,"ImportSpecifier"))}return t},rt.adaptDirectivePrologue=function(t){for(var e=0;e<t.length&&this.isDirectiveCandidate(t[e]);++e)t[e].directive=t[e].expression.raw.slice(1,-1)},rt.isDirectiveCandidate=function(t){return"ExpressionStatement"===t.type&&"Literal"===t.expression.type&&"string"==typeof t.expression.value&&('"'===this.input[t.start]||"'"===this.input[t.start])};var ut=J.prototype;ut.toAssignable=function(t,e,i){if(this.options.ecmaVersion>=6&&t)switch(t.type){case"Identifier":this.inAsync&&"await"===t.name&&this.raise(t.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":t.type="ObjectPattern",i&&this.checkPatternErrors(i,!0);for(var s=0,r=t.properties;s<r.length;s+=1){var a=r[s];this.toAssignable(a,e),"RestElement"!==a.type||"ArrayPattern"!==a.argument.type&&"ObjectPattern"!==a.argument.type||this.raise(a.argument.start,"Unexpected token")}break;case"Property":"init"!==t.kind&&this.raise(t.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(t.value,e);break;case"ArrayExpression":t.type="ArrayPattern",i&&this.checkPatternErrors(i,!0),this.toAssignableList(t.elements,e);break;case"SpreadElement":t.type="RestElement",this.toAssignable(t.argument,e),"AssignmentPattern"===t.argument.type&&this.raise(t.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==t.operator&&this.raise(t.left.end,"Only '=' operator can be used for specifying default value."),t.type="AssignmentPattern",delete t.operator,this.toAssignable(t.left,e);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(t.expression,e,i);break;case"ChainExpression":this.raiseRecoverable(t.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!e)break;default:this.raise(t.start,"Assigning to rvalue")}else i&&this.checkPatternErrors(i,!0);return t},ut.toAssignableList=function(t,e){for(var i=t.length,s=0;s<i;s++){var r=t[s];r&&this.toAssignable(r,e)}if(i){var a=t[i-1];6===this.options.ecmaVersion&&e&&a&&"RestElement"===a.type&&"Identifier"!==a.argument.type&&this.unexpected(a.argument.start)}return t},ut.parseSpread=function(t){var e=this.startNode();return this.next(),e.argument=this.parseMaybeAssign(!1,t),this.finishNode(e,"SpreadElement")},ut.parseRestBinding=function(){var t=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==y.name&&this.unexpected(),t.argument=this.parseBindingAtom(),this.finishNode(t,"RestElement")},ut.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case y.bracketL:var t=this.startNode();return this.next(),t.elements=this.parseBindingList(y.bracketR,!0,!0),this.finishNode(t,"ArrayPattern");case y.braceL:return this.parseObj(!0)}return this.parseIdent()},ut.parseBindingList=function(t,e,i){for(var s=[],r=!0;!this.eat(t);)if(r?r=!1:this.expect(y.comma),e&&this.type===y.comma)s.push(null);else{if(i&&this.afterTrailingComma(t))break;if(this.type===y.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a),s.push(a),this.type===y.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(t);break}var n=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(n),s.push(n)}return s},ut.parseBindingListItem=function(t){return t},ut.parseMaybeDefault=function(t,e,i){if(i=i||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(y.eq))return i;var s=this.startNodeAt(t,e);return s.left=i,s.right=this.parseMaybeAssign(),this.finishNode(s,"AssignmentPattern")},ut.checkLVal=function(t,e,i){switch(void 0===e&&(e=Q),t.type){case"Identifier":e===X&&"let"===t.name&&this.raiseRecoverable(t.start,"let is disallowed as a lexically bound name"),this.strict&&this.reservedWordsStrictBind.test(t.name)&&this.raiseRecoverable(t.start,(e?"Binding ":"Assigning to ")+t.name+" in strict mode"),i&&(I(i,t.name)&&this.raiseRecoverable(t.start,"Argument name clash"),i[t.name]=!0),e!==Q&&e!==$&&this.declareName(t.name,e,t.start);break;case"ChainExpression":this.raiseRecoverable(t.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":e&&this.raiseRecoverable(t.start,"Binding member expression");break;case"ObjectPattern":for(var s=0,r=t.properties;s<r.length;s+=1){var a=r[s];this.checkLVal(a,e,i)}break;case"Property":this.checkLVal(t.value,e,i);break;case"ArrayPattern":for(var n=0,o=t.elements;n<o.length;n+=1){var h=o[n];h&&this.checkLVal(h,e,i)}break;case"AssignmentPattern":this.checkLVal(t.left,e,i);break;case"RestElement":this.checkLVal(t.argument,e,i);break;case"ParenthesizedExpression":this.checkLVal(t.expression,e,i);break;default:this.raise(t.start,(e?"Binding":"Assigning to")+" rvalue")}};var lt=J.prototype;lt.checkPropClash=function(t,e,i){if(!(this.options.ecmaVersion>=9&&"SpreadElement"===t.type||this.options.ecmaVersion>=6&&(t.computed||t.method||t.shorthand))){var s,r=t.key;switch(r.type){case"Identifier":s=r.name;break;case"Literal":s=String(r.value);break;default:return}var a=t.kind;if(this.options.ecmaVersion>=6)"__proto__"===s&&"init"===a&&(e.proto&&(i?i.doubleProto<0&&(i.doubleProto=r.start):this.raiseRecoverable(r.start,"Redefinition of __proto__ property")),e.proto=!0);else{var n=e[s="$"+s];if(n)("init"===a?this.strict&&n.init||n.get||n.set:n.init||n[a])&&this.raiseRecoverable(r.start,"Redefinition of property");else n=e[s]={init:!1,get:!1,set:!1};n[a]=!0}}},lt.parseExpression=function(t,e){var i=this.start,s=this.startLoc,r=this.parseMaybeAssign(t,e);if(this.type===y.comma){var a=this.startNodeAt(i,s);for(a.expressions=[r];this.eat(y.comma);)a.expressions.push(this.parseMaybeAssign(t,e));return this.finishNode(a,"SequenceExpression")}return r},lt.parseMaybeAssign=function(t,e,i){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(t);this.exprAllowed=!1}var s=!1,r=-1,a=-1;e?(r=e.parenthesizedAssign,a=e.trailingComma,e.parenthesizedAssign=e.trailingComma=-1):(e=new st,s=!0);var n=this.start,o=this.startLoc;this.type!==y.parenL&&this.type!==y.name||(this.potentialArrowAt=this.start);var h=this.parseMaybeConditional(t,e);if(i&&(h=i.call(this,h,n,o)),this.type.isAssign){var p=this.startNodeAt(n,o);return p.operator=this.value,p.left=this.type===y.eq?this.toAssignable(h,!1,e):h,s||(e.parenthesizedAssign=e.trailingComma=e.doubleProto=-1),e.shorthandAssign>=p.left.start&&(e.shorthandAssign=-1),this.checkLVal(h),this.next(),p.right=this.parseMaybeAssign(t),this.finishNode(p,"AssignmentExpression")}return s&&this.checkExpressionErrors(e,!0),r>-1&&(e.parenthesizedAssign=r),a>-1&&(e.trailingComma=a),h},lt.parseMaybeConditional=function(t,e){var i=this.start,s=this.startLoc,r=this.parseExprOps(t,e);if(this.checkExpressionErrors(e))return r;if(this.eat(y.question)){var a=this.startNodeAt(i,s);return a.test=r,a.consequent=this.parseMaybeAssign(),this.expect(y.colon),a.alternate=this.parseMaybeAssign(t),this.finishNode(a,"ConditionalExpression")}return r},lt.parseExprOps=function(t,e){var i=this.start,s=this.startLoc,r=this.parseMaybeUnary(e,!1);return this.checkExpressionErrors(e)?r:r.start===i&&"ArrowFunctionExpression"===r.type?r:this.parseExprOp(r,i,s,-1,t)},lt.parseExprOp=function(t,e,i,s,r){var a=this.type.binop;if(null!=a&&(!r||this.type!==y._in)&&a>s){var n=this.type===y.logicalOR||this.type===y.logicalAND,o=this.type===y.coalesce;o&&(a=y.logicalAND.binop);var h=this.value;this.next();var p=this.start,c=this.startLoc,u=this.parseExprOp(this.parseMaybeUnary(null,!1),p,c,a,r),l=this.buildBinary(e,i,t,u,h,n||o);return(n&&this.type===y.coalesce||o&&(this.type===y.logicalOR||this.type===y.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(l,e,i,s,r)}return t},lt.buildBinary=function(t,e,i,s,r,a){var n=this.startNodeAt(t,e);return n.left=i,n.operator=r,n.right=s,this.finishNode(n,a?"LogicalExpression":"BinaryExpression")},lt.parseMaybeUnary=function(t,e){var i,s=this.start,r=this.startLoc;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))i=this.parseAwait(),e=!0;else if(this.type.prefix){var a=this.startNode(),n=this.type===y.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(t,!0),n?this.checkLVal(a.argument):this.strict&&"delete"===a.operator&&"Identifier"===a.argument.type?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):e=!0,i=this.finishNode(a,n?"UpdateExpression":"UnaryExpression")}else{if(i=this.parseExprSubscripts(t),this.checkExpressionErrors(t))return i;for(;this.type.postfix&&!this.canInsertSemicolon();){var o=this.startNodeAt(s,r);o.operator=this.value,o.prefix=!1,o.argument=i,this.checkLVal(i),this.next(),i=this.finishNode(o,"UpdateExpression")}}return!e&&this.eat(y.starstar)?this.buildBinary(s,r,i,this.parseMaybeUnary(null,!1),"**",!1):i},lt.parseExprSubscripts=function(t){var e=this.start,i=this.startLoc,s=this.parseExprAtom(t);if("ArrowFunctionExpression"===s.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return s;var r=this.parseSubscripts(s,e,i);return t&&"MemberExpression"===r.type&&(t.parenthesizedAssign>=r.start&&(t.parenthesizedAssign=-1),t.parenthesizedBind>=r.start&&(t.parenthesizedBind=-1)),r},lt.parseSubscripts=function(t,e,i,s){for(var r=this.options.ecmaVersion>=8&&"Identifier"===t.type&&"async"===t.name&&this.lastTokEnd===t.end&&!this.canInsertSemicolon()&&t.end-t.start==5&&this.potentialArrowAt===t.start,a=!1;;){var n=this.parseSubscript(t,e,i,s,r,a);if(n.optional&&(a=!0),n===t||"ArrowFunctionExpression"===n.type){if(a){var o=this.startNodeAt(e,i);o.expression=n,n=this.finishNode(o,"ChainExpression")}return n}t=n}},lt.parseSubscript=function(t,e,i,s,r,a){var n=this.options.ecmaVersion>=11,o=n&&this.eat(y.questionDot);s&&o&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var h=this.eat(y.bracketL);if(h||o&&this.type!==y.parenL&&this.type!==y.backQuote||this.eat(y.dot)){var p=this.startNodeAt(e,i);p.object=t,p.property=h?this.parseExpression():this.parseIdent("never"!==this.options.allowReserved),p.computed=!!h,h&&this.expect(y.bracketR),n&&(p.optional=o),t=this.finishNode(p,"MemberExpression")}else if(!s&&this.eat(y.parenL)){var c=new st,u=this.yieldPos,l=this.awaitPos,d=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var f=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1,c);if(r&&!o&&!this.canInsertSemicolon()&&this.eat(y.arrow))return this.checkPatternErrors(c,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=u,this.awaitPos=l,this.awaitIdentPos=d,this.parseArrowExpression(this.startNodeAt(e,i),f,!0);this.checkExpressionErrors(c,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=l||this.awaitPos,this.awaitIdentPos=d||this.awaitIdentPos;var m=this.startNodeAt(e,i);m.callee=t,m.arguments=f,n&&(m.optional=o),t=this.finishNode(m,"CallExpression")}else if(this.type===y.backQuote){(o||a)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var x=this.startNodeAt(e,i);x.tag=t,x.quasi=this.parseTemplate({isTagged:!0}),t=this.finishNode(x,"TaggedTemplateExpression")}return t},lt.parseExprAtom=function(t){this.type===y.slash&&this.readRegexp();var e,i=this.potentialArrowAt===this.start;switch(this.type){case y._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),e=this.startNode(),this.next(),this.type!==y.parenL||this.allowDirectSuper||this.raise(e.start,"super() call outside constructor of a subclass"),this.type!==y.dot&&this.type!==y.bracketL&&this.type!==y.parenL&&this.unexpected(),this.finishNode(e,"Super");case y._this:return e=this.startNode(),this.next(),this.finishNode(e,"ThisExpression");case y.name:var s=this.start,r=this.startLoc,a=this.containsEsc,n=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!a&&"async"===n.name&&!this.canInsertSemicolon()&&this.eat(y._function))return this.parseFunction(this.startNodeAt(s,r),0,!1,!0);if(i&&!this.canInsertSemicolon()){if(this.eat(y.arrow))return this.parseArrowExpression(this.startNodeAt(s,r),[n],!1);if(this.options.ecmaVersion>=8&&"async"===n.name&&this.type===y.name&&!a)return n=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(y.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(s,r),[n],!0)}return n;case y.regexp:var o=this.value;return(e=this.parseLiteral(o.value)).regex={pattern:o.pattern,flags:o.flags},e;case y.num:case y.string:return this.parseLiteral(this.value);case y._null:case y._true:case y._false:return(e=this.startNode()).value=this.type===y._null?null:this.type===y._true,e.raw=this.type.keyword,this.next(),this.finishNode(e,"Literal");case y.parenL:var h=this.start,p=this.parseParenAndDistinguishExpression(i);return t&&(t.parenthesizedAssign<0&&!this.isSimpleAssignTarget(p)&&(t.parenthesizedAssign=h),t.parenthesizedBind<0&&(t.parenthesizedBind=h)),p;case y.bracketL:return e=this.startNode(),this.next(),e.elements=this.parseExprList(y.bracketR,!0,!0,t),this.finishNode(e,"ArrayExpression");case y.braceL:return this.parseObj(!1,t);case y._function:return e=this.startNode(),this.next(),this.parseFunction(e,0);case y._class:return this.parseClass(this.startNode(),!1);case y._new:return this.parseNew();case y.backQuote:return this.parseTemplate();case y._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},lt.parseExprImport=function(){var t=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var e=this.parseIdent(!0);switch(this.type){case y.parenL:return this.parseDynamicImport(t);case y.dot:return t.meta=e,this.parseImportMeta(t);default:this.unexpected()}},lt.parseDynamicImport=function(t){if(this.next(),t.source=this.parseMaybeAssign(),!this.eat(y.parenR)){var e=this.start;this.eat(y.comma)&&this.eat(y.parenR)?this.raiseRecoverable(e,"Trailing comma is not allowed in import()"):this.unexpected(e)}return this.finishNode(t,"ImportExpression")},lt.parseImportMeta=function(t){this.next();var e=this.containsEsc;return t.property=this.parseIdent(!0),"meta"!==t.property.name&&this.raiseRecoverable(t.property.start,"The only valid meta property for import is 'import.meta'"),e&&this.raiseRecoverable(t.start,"'import.meta' must not contain escaped characters"),"module"!==this.options.sourceType&&this.raiseRecoverable(t.start,"Cannot use 'import.meta' outside a module"),this.finishNode(t,"MetaProperty")},lt.parseLiteral=function(t){var e=this.startNode();return e.value=t,e.raw=this.input.slice(this.start,this.end),110===e.raw.charCodeAt(e.raw.length-1)&&(e.bigint=e.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(e,"Literal")},lt.parseParenExpression=function(){this.expect(y.parenL);var t=this.parseExpression();return this.expect(y.parenR),t},lt.parseParenAndDistinguishExpression=function(t){var e,i=this.start,s=this.startLoc,r=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,n=this.start,o=this.startLoc,h=[],p=!0,c=!1,u=new st,l=this.yieldPos,d=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==y.parenR;){if(p?p=!1:this.expect(y.comma),r&&this.afterTrailingComma(y.parenR,!0)){c=!0;break}if(this.type===y.ellipsis){a=this.start,h.push(this.parseParenItem(this.parseRestBinding())),this.type===y.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}h.push(this.parseMaybeAssign(!1,u,this.parseParenItem))}var f=this.start,m=this.startLoc;if(this.expect(y.parenR),t&&!this.canInsertSemicolon()&&this.eat(y.arrow))return this.checkPatternErrors(u,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=l,this.awaitPos=d,this.parseParenArrowList(i,s,h);h.length&&!c||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(u,!0),this.yieldPos=l||this.yieldPos,this.awaitPos=d||this.awaitPos,h.length>1?((e=this.startNodeAt(n,o)).expressions=h,this.finishNodeAt(e,"SequenceExpression",f,m)):e=h[0]}else e=this.parseParenExpression();if(this.options.preserveParens){var x=this.startNodeAt(i,s);return x.expression=e,this.finishNode(x,"ParenthesizedExpression")}return e},lt.parseParenItem=function(t){return t},lt.parseParenArrowList=function(t,e,i){return this.parseArrowExpression(this.startNodeAt(t,e),i)};var dt=[];lt.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var t=this.startNode(),e=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(y.dot)){t.meta=e;var i=this.containsEsc;return t.property=this.parseIdent(!0),"target"!==t.property.name&&this.raiseRecoverable(t.property.start,"The only valid meta property for new is 'new.target'"),i&&this.raiseRecoverable(t.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(t.start,"'new.target' can only be used in functions"),this.finishNode(t,"MetaProperty")}var s=this.start,r=this.startLoc,a=this.type===y._import;return t.callee=this.parseSubscripts(this.parseExprAtom(),s,r,!0),a&&"ImportExpression"===t.callee.type&&this.raise(s,"Cannot use new with import()"),this.eat(y.parenL)?t.arguments=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1):t.arguments=dt,this.finishNode(t,"NewExpression")},lt.parseTemplateElement=function(t){var e=t.isTagged,i=this.startNode();return this.type===y.invalidTemplate?(e||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),i.value={raw:this.value,cooked:null}):i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),i.tail=this.type===y.backQuote,this.finishNode(i,"TemplateElement")},lt.parseTemplate=function(t){void 0===t&&(t={});var e=t.isTagged;void 0===e&&(e=!1);var i=this.startNode();this.next(),i.expressions=[];var s=this.parseTemplateElement({isTagged:e});for(i.quasis=[s];!s.tail;)this.type===y.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(y.dollarBraceL),i.expressions.push(this.parseExpression()),this.expect(y.braceR),i.quasis.push(s=this.parseTemplateElement({isTagged:e}));return this.next(),this.finishNode(i,"TemplateLiteral")},lt.isAsyncProp=function(t){return!t.computed&&"Identifier"===t.key.type&&"async"===t.key.name&&(this.type===y.name||this.type===y.num||this.type===y.string||this.type===y.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===y.star)&&!b.test(this.input.slice(this.lastTokEnd,this.start))},lt.parseObj=function(t,e){var i=this.startNode(),s=!0,r={};for(i.properties=[],this.next();!this.eat(y.braceR);){if(s)s=!1;else if(this.expect(y.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(y.braceR))break;var a=this.parseProperty(t,e);t||this.checkPropClash(a,r,e),i.properties.push(a)}return this.finishNode(i,t?"ObjectPattern":"ObjectExpression")},lt.parseProperty=function(t,e){var i,s,r,a,n=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(y.ellipsis))return t?(n.argument=this.parseIdent(!1),this.type===y.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(n,"RestElement")):(this.type===y.parenL&&e&&(e.parenthesizedAssign<0&&(e.parenthesizedAssign=this.start),e.parenthesizedBind<0&&(e.parenthesizedBind=this.start)),n.argument=this.parseMaybeAssign(!1,e),this.type===y.comma&&e&&e.trailingComma<0&&(e.trailingComma=this.start),this.finishNode(n,"SpreadElement"));this.options.ecmaVersion>=6&&(n.method=!1,n.shorthand=!1,(t||e)&&(r=this.start,a=this.startLoc),t||(i=this.eat(y.star)));var o=this.containsEsc;return this.parsePropertyName(n),!t&&!o&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(n)?(s=!0,i=this.options.ecmaVersion>=9&&this.eat(y.star),this.parsePropertyName(n,e)):s=!1,this.parsePropertyValue(n,t,i,s,r,a,e,o),this.finishNode(n,"Property")},lt.parsePropertyValue=function(t,e,i,s,r,a,n,o){if((i||s)&&this.type===y.colon&&this.unexpected(),this.eat(y.colon))t.value=e?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,n),t.kind="init";else if(this.options.ecmaVersion>=6&&this.type===y.parenL)e&&this.unexpected(),t.kind="init",t.method=!0,t.value=this.parseMethod(i,s);else if(e||o||!(this.options.ecmaVersion>=5)||t.computed||"Identifier"!==t.key.type||"get"!==t.key.name&&"set"!==t.key.name||this.type===y.comma||this.type===y.braceR||this.type===y.eq)this.options.ecmaVersion>=6&&!t.computed&&"Identifier"===t.key.type?((i||s)&&this.unexpected(),this.checkUnreserved(t.key),"await"!==t.key.name||this.awaitIdentPos||(this.awaitIdentPos=r),t.kind="init",e?t.value=this.parseMaybeDefault(r,a,t.key):this.type===y.eq&&n?(n.shorthandAssign<0&&(n.shorthandAssign=this.start),t.value=this.parseMaybeDefault(r,a,t.key)):t.value=t.key,t.shorthand=!0):this.unexpected();else{(i||s)&&this.unexpected(),t.kind=t.key.name,this.parsePropertyName(t),t.value=this.parseMethod(!1);var h="get"===t.kind?0:1;if(t.value.params.length!==h){var p=t.value.start;"get"===t.kind?this.raiseRecoverable(p,"getter should have no params"):this.raiseRecoverable(p,"setter should have exactly one param")}else"set"===t.kind&&"RestElement"===t.value.params[0].type&&this.raiseRecoverable(t.value.params[0].start,"Setter cannot use rest params")}},lt.parsePropertyName=function(t){if(this.options.ecmaVersion>=6){if(this.eat(y.bracketL))return t.computed=!0,t.key=this.parseMaybeAssign(),this.expect(y.bracketR),t.key;t.computed=!1}return t.key=this.type===y.num||this.type===y.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},lt.initFunction=function(t){t.id=null,this.options.ecmaVersion>=6&&(t.generator=t.expression=!1),this.options.ecmaVersion>=8&&(t.async=!1)},lt.parseMethod=function(t,e,i){var s=this.startNode(),r=this.yieldPos,a=this.awaitPos,n=this.awaitIdentPos;return this.initFunction(s),this.options.ecmaVersion>=6&&(s.generator=t),this.options.ecmaVersion>=8&&(s.async=!!e),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(z(e,s.generator)|W|(i?j:0)),this.expect(y.parenL),s.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(s,!1,!0),this.yieldPos=r,this.awaitPos=a,this.awaitIdentPos=n,this.finishNode(s,"FunctionExpression")},lt.parseArrowExpression=function(t,e,i){var s=this.yieldPos,r=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(z(i,!1)|G),this.initFunction(t),this.options.ecmaVersion>=8&&(t.async=!!i),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,t.params=this.toAssignableList(e,!0),this.parseFunctionBody(t,!0,!1),this.yieldPos=s,this.awaitPos=r,this.awaitIdentPos=a,this.finishNode(t,"ArrowFunctionExpression")},lt.parseFunctionBody=function(t,e,i){var s=e&&this.type!==y.braceL,r=this.strict,a=!1;if(s)t.body=this.parseMaybeAssign(),t.expression=!0,this.checkParams(t,!1);else{var n=this.options.ecmaVersion>=7&&!this.isSimpleParamList(t.params);r&&!n||(a=this.strictDirective(this.end))&&n&&this.raiseRecoverable(t.start,"Illegal 'use strict' directive in function with non-simple parameter list");var o=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(t,!r&&!a&&!e&&!i&&this.isSimpleParamList(t.params)),this.strict&&t.id&&this.checkLVal(t.id,$),t.body=this.parseBlock(!1,void 0,a&&!r),t.expression=!1,this.adaptDirectivePrologue(t.body.body),this.labels=o}this.exitScope()},lt.isSimpleParamList=function(t){for(var e=0,i=t;e<i.length;e+=1){if("Identifier"!==i[e].type)return!1}return!0},lt.checkParams=function(t,e){for(var i={},s=0,r=t.params;s<r.length;s+=1){var a=r[s];this.checkLVal(a,K,e?null:i)}},lt.parseExprList=function(t,e,i,s){for(var r=[],a=!0;!this.eat(t);){if(a)a=!1;else if(this.expect(y.comma),e&&this.afterTrailingComma(t))break;var n=void 0;i&&this.type===y.comma?n=null:this.type===y.ellipsis?(n=this.parseSpread(s),s&&this.type===y.comma&&s.trailingComma<0&&(s.trailingComma=this.start)):n=this.parseMaybeAssign(!1,s),r.push(n)}return r},lt.checkUnreserved=function(t){var e=t.start,i=t.end,s=t.name;(this.inGenerator&&"yield"===s&&this.raiseRecoverable(e,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===s&&this.raiseRecoverable(e,"Cannot use 'await' as identifier inside an async function"),this.keywords.test(s)&&this.raise(e,"Unexpected keyword '"+s+"'"),this.options.ecmaVersion<6&&-1!==this.input.slice(e,i).indexOf("\\"))||(this.strict?this.reservedWordsStrict:this.reservedWords).test(s)&&(this.inAsync||"await"!==s||this.raiseRecoverable(e,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(e,"The keyword '"+s+"' is reserved"))},lt.parseIdent=function(t,e){var i=this.startNode();return this.type===y.name?i.name=this.value:this.type.keyword?(i.name=this.type.keyword,"class"!==i.name&&"function"!==i.name||this.lastTokEnd===this.lastTokStart+1&&46===this.input.charCodeAt(this.lastTokStart)||this.context.pop()):this.unexpected(),this.next(!!t),this.finishNode(i,"Identifier"),t||(this.checkUnreserved(i),"await"!==i.name||this.awaitIdentPos||(this.awaitIdentPos=i.start)),i},lt.parseYield=function(t){this.yieldPos||(this.yieldPos=this.start);var e=this.startNode();return this.next(),this.type===y.semi||this.canInsertSemicolon()||this.type!==y.star&&!this.type.startsExpr?(e.delegate=!1,e.argument=null):(e.delegate=this.eat(y.star),e.argument=this.parseMaybeAssign(t)),this.finishNode(e,"YieldExpression")},lt.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!1),this.finishNode(t,"AwaitExpression")};var ft=J.prototype;ft.raise=function(t,e){var i=L(this.input,t);e+=" ("+i.line+":"+i.column+")";var s=new SyntaxError(e);throw s.pos=t,s.loc=i,s.raisedAt=this.pos,s},ft.raiseRecoverable=ft.raise,ft.curPosition=function(){if(this.options.locations)return new N(this.curLine,this.pos-this.lineStart)};var mt=J.prototype,xt=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};mt.enterScope=function(t){this.scopeStack.push(new xt(t))},mt.exitScope=function(){this.scopeStack.pop()},mt.treatFunctionsAsVarInScope=function(t){return t.flags&D||!this.inModule&&t.flags&M},mt.declareName=function(t,e,i){var s=!1;if(e===X){var r=this.currentScope();s=r.lexical.indexOf(t)>-1||r.functions.indexOf(t)>-1||r.var.indexOf(t)>-1,r.lexical.push(t),this.inModule&&r.flags&M&&delete this.undefinedExports[t]}else if(e===Z){this.currentScope().lexical.push(t)}else if(e===Y){var a=this.currentScope();s=this.treatFunctionsAsVar?a.lexical.indexOf(t)>-1:a.lexical.indexOf(t)>-1||a.var.indexOf(t)>-1,a.functions.push(t)}else for(var n=this.scopeStack.length-1;n>=0;--n){var o=this.scopeStack[n];if(o.lexical.indexOf(t)>-1&&!(o.flags&H&&o.lexical[0]===t)||!this.treatFunctionsAsVarInScope(o)&&o.functions.indexOf(t)>-1){s=!0;break}if(o.var.push(t),this.inModule&&o.flags&M&&delete this.undefinedExports[t],o.flags&F)break}s&&this.raiseRecoverable(i,"Identifier '"+t+"' has already been declared")},mt.checkLocalExport=function(t){-1===this.scopeStack[0].lexical.indexOf(t.name)&&-1===this.scopeStack[0].var.indexOf(t.name)&&(this.undefinedExports[t.name]=t)},mt.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},mt.currentVarScope=function(){for(var t=this.scopeStack.length-1;;t--){var e=this.scopeStack[t];if(e.flags&F)return e}},mt.currentThisScope=function(){for(var t=this.scopeStack.length-1;;t--){var e=this.scopeStack[t];if(e.flags&F&&!(e.flags&G))return e}};var gt=function(t,e,i){this.type="",this.start=e,this.end=0,t.options.locations&&(this.loc=new V(t,i)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[e,0])};exports.Node=gt;var vt=J.prototype;function yt(t,e,i,s){return t.type=e,t.end=i,this.options.locations&&(t.loc.end=s),this.options.ranges&&(t.range[1]=i),t}vt.startNode=function(){return new gt(this,this.start,this.startLoc)},vt.startNodeAt=function(t,e){return new gt(this,t,e)},vt.finishNode=function(t,e){return yt.call(this,t,e,this.lastTokEnd,this.lastTokEndLoc)},vt.finishNodeAt=function(t,e,i,s){return yt.call(this,t,e,i,s)};var bt=function(t,e,i,s,r){this.token=t,this.isExpr=!!e,this.preserveSpace=!!i,this.override=s,this.generator=!!r};exports.TokContext=bt;var kt={b_stat:new bt("{",!1),b_expr:new bt("{",!0),b_tmpl:new bt("${",!1),p_stat:new bt("(",!1),p_expr:new bt("(",!0),q_tmpl:new bt("`",!0,!0,function(t){return t.tryReadTemplateToken()}),f_stat:new bt("function",!1),f_expr:new bt("function",!0),f_expr_gen:new bt("function",!0,!1,null,!0),f_gen:new bt("function",!1,!1,null,!0)};exports.tokContexts=kt;var _t=J.prototype;_t.initialContext=function(){return[kt.b_stat]},_t.braceIsBlock=function(t){var e=this.curContext();return e===kt.f_expr||e===kt.f_stat||(t!==y.colon||e!==kt.b_stat&&e!==kt.b_expr?t===y._return||t===y.name&&this.exprAllowed?b.test(this.input.slice(this.lastTokEnd,this.start)):t===y._else||t===y.semi||t===y.eof||t===y.parenR||t===y.arrow||(t===y.braceL?e===kt.b_stat:t!==y._var&&t!==y._const&&t!==y.name&&!this.exprAllowed):!e.isExpr)},_t.inGeneratorContext=function(){for(var t=this.context.length-1;t>=1;t--){var e=this.context[t];if("function"===e.token)return e.generator}return!1},_t.updateContext=function(t){var e,i=this.type;i.keyword&&t===y.dot?this.exprAllowed=!1:(e=i.updateContext)?e.call(this,t):this.exprAllowed=i.beforeExpr},y.parenR.updateContext=y.braceR.updateContext=function(){if(1!==this.context.length){var t=this.context.pop();t===kt.b_stat&&"function"===this.curContext().token&&(t=this.context.pop()),this.exprAllowed=!t.isExpr}else this.exprAllowed=!0},y.braceL.updateContext=function(t){this.context.push(this.braceIsBlock(t)?kt.b_stat:kt.b_expr),this.exprAllowed=!0},y.dollarBraceL.updateContext=function(){this.context.push(kt.b_tmpl),this.exprAllowed=!0},y.parenL.updateContext=function(t){var e=t===y._if||t===y._for||t===y._with||t===y._while;this.context.push(e?kt.p_stat:kt.p_expr),this.exprAllowed=!0},y.incDec.updateContext=function(){},y._function.updateContext=y._class.updateContext=function(t){!t.beforeExpr||t===y.semi||t===y._else||t===y._return&&b.test(this.input.slice(this.lastTokEnd,this.start))||(t===y.colon||t===y.braceL)&&this.curContext()===kt.b_stat?this.context.push(kt.f_stat):this.context.push(kt.f_expr),this.exprAllowed=!1},y.backQuote.updateContext=function(){this.curContext()===kt.q_tmpl?this.context.pop():this.context.push(kt.q_tmpl),this.exprAllowed=!1},y.star.updateContext=function(t){if(t===y._function){var e=this.context.length-1;this.context[e]===kt.f_expr?this.context[e]=kt.f_expr_gen:this.context[e]=kt.f_gen}this.exprAllowed=!0},y.name.updateContext=function(t){var e=!1;this.options.ecmaVersion>=6&&t!==y.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(e=!0),this.exprAllowed=e};var St="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Ct=St+" Extended_Pictographic",wt=Ct,Et={9:St,10:Ct,11:wt},At="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",It="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Pt=It+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Tt=Pt+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Nt={9:It,10:Pt,11:Tt},Vt={};function Lt(t){var e=Vt[t]={binary:T(Et[t]+" "+At),nonBinary:{General_Category:T(At),Script:T(Nt[t])}};e.nonBinary.Script_Extensions=e.nonBinary.Script,e.nonBinary.gc=e.nonBinary.General_Category,e.nonBinary.sc=e.nonBinary.Script,e.nonBinary.scx=e.nonBinary.Script_Extensions}Lt(9),Lt(10),Lt(11);var Rt=J.prototype,Ot=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":""),this.unicodeProperties=Vt[t.options.ecmaVersion>=11?11:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function Bt(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t)))}function Mt(t){return 36===t||t>=40&&t<=43||46===t||63===t||t>=91&&t<=94||t>=123&&t<=125}function Dt(t){return u(t,!0)||36===t||95===t}function Ft(t){return l(t,!0)||36===t||95===t||8204===t||8205===t}function Ut(t){return t>=65&&t<=90||t>=97&&t<=122}function qt(t){return t>=0&&t<=1114111}function Gt(t){return 100===t||68===t||115===t||83===t||119===t||87===t}function Ht(t){return Ut(t)||95===t}function Wt(t){return Ht(t)||jt(t)}function jt(t){return t>=48&&t<=57}function zt(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function Qt(t){return t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:t-48}function Kt(t){return t>=48&&t<=55}Ot.prototype.reset=function(t,e,i){var s=-1!==i.indexOf("u");this.start=0|t,this.source=e+"",this.flags=i,this.switchU=s&&this.parser.options.ecmaVersion>=6,this.switchN=s&&this.parser.options.ecmaVersion>=9},Ot.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)},Ot.prototype.at=function(t,e){void 0===e&&(e=!1);var i=this.source,s=i.length;if(t>=s)return-1;var r=i.charCodeAt(t);if(!e&&!this.switchU||r<=55295||r>=57344||t+1>=s)return r;var a=i.charCodeAt(t+1);return a>=56320&&a<=57343?(r<<10)+a-56613888:r},Ot.prototype.nextIndex=function(t,e){void 0===e&&(e=!1);var i=this.source,s=i.length;if(t>=s)return s;var r,a=i.charCodeAt(t);return!e&&!this.switchU||a<=55295||a>=57344||t+1>=s||(r=i.charCodeAt(t+1))<56320||r>57343?t+1:t+2},Ot.prototype.current=function(t){return void 0===t&&(t=!1),this.at(this.pos,t)},Ot.prototype.lookahead=function(t){return void 0===t&&(t=!1),this.at(this.nextIndex(this.pos,t),t)},Ot.prototype.advance=function(t){void 0===t&&(t=!1),this.pos=this.nextIndex(this.pos,t)},Ot.prototype.eat=function(t,e){return void 0===e&&(e=!1),this.current(e)===t&&(this.advance(e),!0)},Rt.validateRegExpFlags=function(t){for(var e=t.validFlags,i=t.flags,s=0;s<i.length;s++){var r=i.charAt(s);-1===e.indexOf(r)&&this.raise(t.start,"Invalid regular expression flag"),i.indexOf(r,s+1)>-1&&this.raise(t.start,"Duplicate regular expression flag")}},Rt.validateRegExpPattern=function(t){this.regexp_pattern(t),!t.switchN&&this.options.ecmaVersion>=9&&t.groupNames.length>0&&(t.switchN=!0,this.regexp_pattern(t))},Rt.regexp_pattern=function(t){t.pos=0,t.lastIntValue=0,t.lastStringValue="",t.lastAssertionIsQuantifiable=!1,t.numCapturingParens=0,t.maxBackReference=0,t.groupNames.length=0,t.backReferenceNames.length=0,this.regexp_disjunction(t),t.pos!==t.source.length&&(t.eat(41)&&t.raise("Unmatched ')'"),(t.eat(93)||t.eat(125))&&t.raise("Lone quantifier brackets")),t.maxBackReference>t.numCapturingParens&&t.raise("Invalid escape");for(var e=0,i=t.backReferenceNames;e<i.length;e+=1){var s=i[e];-1===t.groupNames.indexOf(s)&&t.raise("Invalid named capture referenced")}},Rt.regexp_disjunction=function(t){for(this.regexp_alternative(t);t.eat(124);)this.regexp_alternative(t);this.regexp_eatQuantifier(t,!0)&&t.raise("Nothing to repeat"),t.eat(123)&&t.raise("Lone quantifier brackets")},Rt.regexp_alternative=function(t){for(;t.pos<t.source.length&&this.regexp_eatTerm(t););},Rt.regexp_eatTerm=function(t){return this.regexp_eatAssertion(t)?(t.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(t)&&t.switchU&&t.raise("Invalid quantifier"),!0):!(t.switchU?!this.regexp_eatAtom(t):!this.regexp_eatExtendedAtom(t))&&(this.regexp_eatQuantifier(t),!0)},Rt.regexp_eatAssertion=function(t){var e=t.pos;if(t.lastAssertionIsQuantifiable=!1,t.eat(94)||t.eat(36))return!0;if(t.eat(92)){if(t.eat(66)||t.eat(98))return!0;t.pos=e}if(t.eat(40)&&t.eat(63)){var i=!1;if(this.options.ecmaVersion>=9&&(i=t.eat(60)),t.eat(61)||t.eat(33))return this.regexp_disjunction(t),t.eat(41)||t.raise("Unterminated group"),t.lastAssertionIsQuantifiable=!i,!0}return t.pos=e,!1},Rt.regexp_eatQuantifier=function(t,e){return void 0===e&&(e=!1),!!this.regexp_eatQuantifierPrefix(t,e)&&(t.eat(63),!0)},Rt.regexp_eatQuantifierPrefix=function(t,e){return t.eat(42)||t.eat(43)||t.eat(63)||this.regexp_eatBracedQuantifier(t,e)},Rt.regexp_eatBracedQuantifier=function(t,e){var i=t.pos;if(t.eat(123)){var s=0,r=-1;if(this.regexp_eatDecimalDigits(t)&&(s=t.lastIntValue,t.eat(44)&&this.regexp_eatDecimalDigits(t)&&(r=t.lastIntValue),t.eat(125)))return-1!==r&&r<s&&!e&&t.raise("numbers out of order in {} quantifier"),!0;t.switchU&&!e&&t.raise("Incomplete quantifier"),t.pos=i}return!1},Rt.regexp_eatAtom=function(t){return this.regexp_eatPatternCharacters(t)||t.eat(46)||this.regexp_eatReverseSolidusAtomEscape(t)||this.regexp_eatCharacterClass(t)||this.regexp_eatUncapturingGroup(t)||this.regexp_eatCapturingGroup(t)},Rt.regexp_eatReverseSolidusAtomEscape=function(t){var e=t.pos;if(t.eat(92)){if(this.regexp_eatAtomEscape(t))return!0;t.pos=e}return!1},Rt.regexp_eatUncapturingGroup=function(t){var e=t.pos;if(t.eat(40)){if(t.eat(63)&&t.eat(58)){if(this.regexp_disjunction(t),t.eat(41))return!0;t.raise("Unterminated group")}t.pos=e}return!1},Rt.regexp_eatCapturingGroup=function(t){if(t.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(t):63===t.current()&&t.raise("Invalid group"),this.regexp_disjunction(t),t.eat(41))return t.numCapturingParens+=1,!0;t.raise("Unterminated group")}return!1},Rt.regexp_eatExtendedAtom=function(t){return t.eat(46)||this.regexp_eatReverseSolidusAtomEscape(t)||this.regexp_eatCharacterClass(t)||this.regexp_eatUncapturingGroup(t)||this.regexp_eatCapturingGroup(t)||this.regexp_eatInvalidBracedQuantifier(t)||this.regexp_eatExtendedPatternCharacter(t)},Rt.regexp_eatInvalidBracedQuantifier=function(t){return this.regexp_eatBracedQuantifier(t,!0)&&t.raise("Nothing to repeat"),!1},Rt.regexp_eatSyntaxCharacter=function(t){var e=t.current();return!!Mt(e)&&(t.lastIntValue=e,t.advance(),!0)},Rt.regexp_eatPatternCharacters=function(t){for(var e=t.pos,i=0;-1!==(i=t.current())&&!Mt(i);)t.advance();return t.pos!==e},Rt.regexp_eatExtendedPatternCharacter=function(t){var e=t.current();return!(-1===e||36===e||e>=40&&e<=43||46===e||63===e||91===e||94===e||124===e)&&(t.advance(),!0)},Rt.regexp_groupSpecifier=function(t){if(t.eat(63)){if(this.regexp_eatGroupName(t))return-1!==t.groupNames.indexOf(t.lastStringValue)&&t.raise("Duplicate capture group name"),void t.groupNames.push(t.lastStringValue);t.raise("Invalid group")}},Rt.regexp_eatGroupName=function(t){if(t.lastStringValue="",t.eat(60)){if(this.regexp_eatRegExpIdentifierName(t)&&t.eat(62))return!0;t.raise("Invalid capture group name")}return!1},Rt.regexp_eatRegExpIdentifierName=function(t){if(t.lastStringValue="",this.regexp_eatRegExpIdentifierStart(t)){for(t.lastStringValue+=Bt(t.lastIntValue);this.regexp_eatRegExpIdentifierPart(t);)t.lastStringValue+=Bt(t.lastIntValue);return!0}return!1},Rt.regexp_eatRegExpIdentifierStart=function(t){var e=t.pos,i=this.options.ecmaVersion>=11,s=t.current(i);return t.advance(i),92===s&&this.regexp_eatRegExpUnicodeEscapeSequence(t,i)&&(s=t.lastIntValue),Dt(s)?(t.lastIntValue=s,!0):(t.pos=e,!1)},Rt.regexp_eatRegExpIdentifierPart=function(t){var e=t.pos,i=this.options.ecmaVersion>=11,s=t.current(i);return t.advance(i),92===s&&this.regexp_eatRegExpUnicodeEscapeSequence(t,i)&&(s=t.lastIntValue),Ft(s)?(t.lastIntValue=s,!0):(t.pos=e,!1)},Rt.regexp_eatAtomEscape=function(t){return!!(this.regexp_eatBackReference(t)||this.regexp_eatCharacterClassEscape(t)||this.regexp_eatCharacterEscape(t)||t.switchN&&this.regexp_eatKGroupName(t))||(t.switchU&&(99===t.current()&&t.raise("Invalid unicode escape"),t.raise("Invalid escape")),!1)},Rt.regexp_eatBackReference=function(t){var e=t.pos;if(this.regexp_eatDecimalEscape(t)){var i=t.lastIntValue;if(t.switchU)return i>t.maxBackReference&&(t.maxBackReference=i),!0;if(i<=t.numCapturingParens)return!0;t.pos=e}return!1},Rt.regexp_eatKGroupName=function(t){if(t.eat(107)){if(this.regexp_eatGroupName(t))return t.backReferenceNames.push(t.lastStringValue),!0;t.raise("Invalid named reference")}return!1},Rt.regexp_eatCharacterEscape=function(t){return this.regexp_eatControlEscape(t)||this.regexp_eatCControlLetter(t)||this.regexp_eatZero(t)||this.regexp_eatHexEscapeSequence(t)||this.regexp_eatRegExpUnicodeEscapeSequence(t,!1)||!t.switchU&&this.regexp_eatLegacyOctalEscapeSequence(t)||this.regexp_eatIdentityEscape(t)},Rt.regexp_eatCControlLetter=function(t){var e=t.pos;if(t.eat(99)){if(this.regexp_eatControlLetter(t))return!0;t.pos=e}return!1},Rt.regexp_eatZero=function(t){return 48===t.current()&&!jt(t.lookahead())&&(t.lastIntValue=0,t.advance(),!0)},Rt.regexp_eatControlEscape=function(t){var e=t.current();return 116===e?(t.lastIntValue=9,t.advance(),!0):110===e?(t.lastIntValue=10,t.advance(),!0):118===e?(t.lastIntValue=11,t.advance(),!0):102===e?(t.lastIntValue=12,t.advance(),!0):114===e&&(t.lastIntValue=13,t.advance(),!0)},Rt.regexp_eatControlLetter=function(t){var e=t.current();return!!Ut(e)&&(t.lastIntValue=e%32,t.advance(),!0)},Rt.regexp_eatRegExpUnicodeEscapeSequence=function(t,e){void 0===e&&(e=!1);var i=t.pos,s=e||t.switchU;if(t.eat(117)){if(this.regexp_eatFixedHexDigits(t,4)){var r=t.lastIntValue;if(s&&r>=55296&&r<=56319){var a=t.pos;if(t.eat(92)&&t.eat(117)&&this.regexp_eatFixedHexDigits(t,4)){var n=t.lastIntValue;if(n>=56320&&n<=57343)return t.lastIntValue=1024*(r-55296)+(n-56320)+65536,!0}t.pos=a,t.lastIntValue=r}return!0}if(s&&t.eat(123)&&this.regexp_eatHexDigits(t)&&t.eat(125)&&qt(t.lastIntValue))return!0;s&&t.raise("Invalid unicode escape"),t.pos=i}return!1},Rt.regexp_eatIdentityEscape=function(t){if(t.switchU)return!!this.regexp_eatSyntaxCharacter(t)||!!t.eat(47)&&(t.lastIntValue=47,!0);var e=t.current();return!(99===e||t.switchN&&107===e)&&(t.lastIntValue=e,t.advance(),!0)},Rt.regexp_eatDecimalEscape=function(t){t.lastIntValue=0;var e=t.current();if(e>=49&&e<=57){do{t.lastIntValue=10*t.lastIntValue+(e-48),t.advance()}while((e=t.current())>=48&&e<=57);return!0}return!1},Rt.regexp_eatCharacterClassEscape=function(t){var e=t.current();if(Gt(e))return t.lastIntValue=-1,t.advance(),!0;if(t.switchU&&this.options.ecmaVersion>=9&&(80===e||112===e)){if(t.lastIntValue=-1,t.advance(),t.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(t)&&t.eat(125))return!0;t.raise("Invalid property name")}return!1},Rt.regexp_eatUnicodePropertyValueExpression=function(t){var e=t.pos;if(this.regexp_eatUnicodePropertyName(t)&&t.eat(61)){var i=t.lastStringValue;if(this.regexp_eatUnicodePropertyValue(t)){var s=t.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(t,i,s),!0}}if(t.pos=e,this.regexp_eatLoneUnicodePropertyNameOrValue(t)){var r=t.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(t,r),!0}return!1},Rt.regexp_validateUnicodePropertyNameAndValue=function(t,e,i){I(t.unicodeProperties.nonBinary,e)||t.raise("Invalid property name"),t.unicodeProperties.nonBinary[e].test(i)||t.raise("Invalid property value")},Rt.regexp_validateUnicodePropertyNameOrValue=function(t,e){t.unicodeProperties.binary.test(e)||t.raise("Invalid property name")},Rt.regexp_eatUnicodePropertyName=function(t){var e=0;for(t.lastStringValue="";Ht(e=t.current());)t.lastStringValue+=Bt(e),t.advance();return""!==t.lastStringValue},Rt.regexp_eatUnicodePropertyValue=function(t){var e=0;for(t.lastStringValue="";Wt(e=t.current());)t.lastStringValue+=Bt(e),t.advance();return""!==t.lastStringValue},Rt.regexp_eatLoneUnicodePropertyNameOrValue=function(t){return this.regexp_eatUnicodePropertyValue(t)},Rt.regexp_eatCharacterClass=function(t){if(t.eat(91)){if(t.eat(94),this.regexp_classRanges(t),t.eat(93))return!0;t.raise("Unterminated character class")}return!1},Rt.regexp_classRanges=function(t){for(;this.regexp_eatClassAtom(t);){var e=t.lastIntValue;if(t.eat(45)&&this.regexp_eatClassAtom(t)){var i=t.lastIntValue;!t.switchU||-1!==e&&-1!==i||t.raise("Invalid character class"),-1!==e&&-1!==i&&e>i&&t.raise("Range out of order in character class")}}},Rt.regexp_eatClassAtom=function(t){var e=t.pos;if(t.eat(92)){if(this.regexp_eatClassEscape(t))return!0;if(t.switchU){var i=t.current();(99===i||Kt(i))&&t.raise("Invalid class escape"),t.raise("Invalid escape")}t.pos=e}var s=t.current();return 93!==s&&(t.lastIntValue=s,t.advance(),!0)},Rt.regexp_eatClassEscape=function(t){var e=t.pos;if(t.eat(98))return t.lastIntValue=8,!0;if(t.switchU&&t.eat(45))return t.lastIntValue=45,!0;if(!t.switchU&&t.eat(99)){if(this.regexp_eatClassControlLetter(t))return!0;t.pos=e}return this.regexp_eatCharacterClassEscape(t)||this.regexp_eatCharacterEscape(t)},Rt.regexp_eatClassControlLetter=function(t){var e=t.current();return!(!jt(e)&&95!==e)&&(t.lastIntValue=e%32,t.advance(),!0)},Rt.regexp_eatHexEscapeSequence=function(t){var e=t.pos;if(t.eat(120)){if(this.regexp_eatFixedHexDigits(t,2))return!0;t.switchU&&t.raise("Invalid escape"),t.pos=e}return!1},Rt.regexp_eatDecimalDigits=function(t){var e=t.pos,i=0;for(t.lastIntValue=0;jt(i=t.current());)t.lastIntValue=10*t.lastIntValue+(i-48),t.advance();return t.pos!==e},Rt.regexp_eatHexDigits=function(t){var e=t.pos,i=0;for(t.lastIntValue=0;zt(i=t.current());)t.lastIntValue=16*t.lastIntValue+Qt(i),t.advance();return t.pos!==e},Rt.regexp_eatLegacyOctalEscapeSequence=function(t){if(this.regexp_eatOctalDigit(t)){var e=t.lastIntValue;if(this.regexp_eatOctalDigit(t)){var i=t.lastIntValue;e<=3&&this.regexp_eatOctalDigit(t)?t.lastIntValue=64*e+8*i+t.lastIntValue:t.lastIntValue=8*e+i}else t.lastIntValue=e;return!0}return!1},Rt.regexp_eatOctalDigit=function(t){var e=t.current();return Kt(e)?(t.lastIntValue=e-48,t.advance(),!0):(t.lastIntValue=0,!1)},Rt.regexp_eatFixedHexDigits=function(t,e){var i=t.pos;t.lastIntValue=0;for(var s=0;s<e;++s){var r=t.current();if(!zt(r))return t.pos=i,!1;t.lastIntValue=16*t.lastIntValue+Qt(r),t.advance()}return!0};var Xt=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new V(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])};exports.Token=Xt;var Yt=J.prototype;function Zt(t,e){return e?parseInt(t,8):parseFloat(t.replace(/_/g,""))}function $t(t){return"function"!=typeof BigInt?null:BigInt(t.replace(/_/g,""))}function Jt(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t)))}Yt.next=function(t){!t&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Xt(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Yt.getToken=function(){return this.next(),new Xt(this)},"undefined"!=typeof Symbol&&(Yt[Symbol.iterator]=function(){var t=this;return{next:function(){var e=t.getToken();return{done:e.type===y.eof,value:e}}}}),Yt.curContext=function(){return this.context[this.context.length-1]},Yt.nextToken=function(){var t=this.curContext();return t&&t.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(y.eof):t.override?t.override(this):void this.readToken(this.fullCharCodeAtPos())},Yt.readToken=function(t){return u(t,this.options.ecmaVersion>=6)||92===t?this.readWord():this.getTokenFromCode(t)},Yt.fullCharCodeAtPos=function(){var t=this.input.charCodeAt(this.pos);return t<=55295||t>=57344?t:(t<<10)+this.input.charCodeAt(this.pos+1)-56613888},Yt.skipBlockComment=function(){var t,e=this.options.onComment&&this.curPosition(),i=this.pos,s=this.input.indexOf("*/",this.pos+=2);if(-1===s&&this.raise(this.pos-2,"Unterminated comment"),this.pos=s+2,this.options.locations)for(k.lastIndex=i;(t=k.exec(this.input))&&t.index<this.pos;)++this.curLine,this.lineStart=t.index+t[0].length;this.options.onComment&&this.options.onComment(!0,this.input.slice(i+2,s),i,this.pos,e,this.curPosition())},Yt.skipLineComment=function(t){for(var e=this.pos,i=this.options.onComment&&this.curPosition(),s=this.input.charCodeAt(this.pos+=t);this.pos<this.input.length&&!_(s);)s=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(e+t,this.pos),e,this.pos,i,this.curPosition())},Yt.skipSpace=function(){t:for(;this.pos<this.input.length;){var t=this.input.charCodeAt(this.pos);switch(t){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break t}break;default:if(!(t>8&&t<14||t>=5760&&S.test(String.fromCharCode(t))))break t;++this.pos}}},Yt.finishToken=function(t,e){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var i=this.type;this.type=t,this.value=e,this.updateContext(i)},Yt.readToken_dot=function(){var t=this.input.charCodeAt(this.pos+1);if(t>=48&&t<=57)return this.readNumber(!0);var e=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===t&&46===e?(this.pos+=3,this.finishToken(y.ellipsis)):(++this.pos,this.finishToken(y.dot))},Yt.readToken_slash=function(){var t=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===t?this.finishOp(y.assign,2):this.finishOp(y.slash,1)},Yt.readToken_mult_modulo_exp=function(t){var e=this.input.charCodeAt(this.pos+1),i=1,s=42===t?y.star:y.modulo;return this.options.ecmaVersion>=7&&42===t&&42===e&&(++i,s=y.starstar,e=this.input.charCodeAt(this.pos+2)),61===e?this.finishOp(y.assign,i+1):this.finishOp(s,i)},Yt.readToken_pipe_amp=function(t){var e=this.input.charCodeAt(this.pos+1);if(e===t){if(this.options.ecmaVersion>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(y.assign,3);return this.finishOp(124===t?y.logicalOR:y.logicalAND,2)}return 61===e?this.finishOp(y.assign,2):this.finishOp(124===t?y.bitwiseOR:y.bitwiseAND,1)},Yt.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(y.assign,2):this.finishOp(y.bitwiseXOR,1)},Yt.readToken_plus_min=function(t){var e=this.input.charCodeAt(this.pos+1);return e===t?45!==e||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!b.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(y.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===e?this.finishOp(y.assign,2):this.finishOp(y.plusMin,1)},Yt.readToken_lt_gt=function(t){var e=this.input.charCodeAt(this.pos+1),i=1;return e===t?(i=62===t&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+i)?this.finishOp(y.assign,i+1):this.finishOp(y.bitShift,i)):33!==e||60!==t||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===e&&(i=2),this.finishOp(y.relational,i)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Yt.readToken_eq_excl=function(t){var e=this.input.charCodeAt(this.pos+1);return 61===e?this.finishOp(y.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===t&&62===e&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(y.arrow)):this.finishOp(61===t?y.eq:y.prefix,1)},Yt.readToken_question=function(){var t=this.options.ecmaVersion;if(t>=11){var e=this.input.charCodeAt(this.pos+1);if(46===e){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57)return this.finishOp(y.questionDot,2)}if(63===e){if(t>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(y.assign,3);return this.finishOp(y.coalesce,2)}}return this.finishOp(y.question,1)},Yt.getTokenFromCode=function(t){switch(t){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(y.parenL);case 41:return++this.pos,this.finishToken(y.parenR);case 59:return++this.pos,this.finishToken(y.semi);case 44:return++this.pos,this.finishToken(y.comma);case 91:return++this.pos,this.finishToken(y.bracketL);case 93:return++this.pos,this.finishToken(y.bracketR);case 123:return++this.pos,this.finishToken(y.braceL);case 125:return++this.pos,this.finishToken(y.braceR);case 58:return++this.pos,this.finishToken(y.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(y.backQuote);case 48:var e=this.input.charCodeAt(this.pos+1);if(120===e||88===e)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===e||79===e)return this.readRadixNumber(8);if(98===e||66===e)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(t);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(t);case 124:case 38:return this.readToken_pipe_amp(t);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(t);case 60:case 62:return this.readToken_lt_gt(t);case 61:case 33:return this.readToken_eq_excl(t);case 63:return this.readToken_question();case 126:return this.finishOp(y.prefix,1)}this.raise(this.pos,"Unexpected character '"+Jt(t)+"'")},Yt.finishOp=function(t,e){var i=this.input.slice(this.pos,this.pos+e);return this.pos+=e,this.finishToken(t,i)},Yt.readRegexp=function(){for(var t,e,i=this.pos;;){this.pos>=this.input.length&&this.raise(i,"Unterminated regular expression");var s=this.input.charAt(this.pos);if(b.test(s)&&this.raise(i,"Unterminated regular expression"),t)t=!1;else{if("["===s)e=!0;else if("]"===s&&e)e=!1;else if("/"===s&&!e)break;t="\\"===s}++this.pos}var r=this.input.slice(i,this.pos);++this.pos;var a=this.pos,n=this.readWord1();this.containsEsc&&this.unexpected(a);var o=this.regexpState||(this.regexpState=new Ot(this));o.reset(i,r,n),this.validateRegExpFlags(o),this.validateRegExpPattern(o);var h=null;try{h=new RegExp(r,n)}catch(p){}return this.finishToken(y.regexp,{pattern:r,flags:n,value:h})},Yt.readInt=function(t,e,i){for(var s=this.options.ecmaVersion>=12&&void 0===e,r=i&&48===this.input.charCodeAt(this.pos),a=this.pos,n=0,o=0,h=0,p=null==e?1/0:e;h<p;++h,++this.pos){var c=this.input.charCodeAt(this.pos),u=void 0;if(s&&95===c)r&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===o&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===h&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),o=c;else{if((u=c>=97?c-97+10:c>=65?c-65+10:c>=48&&c<=57?c-48:1/0)>=t)break;o=c,n=n*t+u}}return s&&95===o&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||null!=e&&this.pos-a!==e?null:n},Yt.readRadixNumber=function(t){var e=this.pos;this.pos+=2;var i=this.readInt(t);return null==i&&this.raise(this.start+2,"Expected number in radix "+t),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(i=$t(this.input.slice(e,this.pos)),++this.pos):u(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.num,i)},Yt.readNumber=function(t){var e=this.pos;t||null!==this.readInt(10,void 0,!0)||this.raise(e,"Invalid number");var i=this.pos-e>=2&&48===this.input.charCodeAt(e);i&&this.strict&&this.raise(e,"Invalid number");var s=this.input.charCodeAt(this.pos);if(!i&&!t&&this.options.ecmaVersion>=11&&110===s){var r=$t(this.input.slice(e,this.pos));return++this.pos,u(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.num,r)}i&&/[89]/.test(this.input.slice(e,this.pos))&&(i=!1),46!==s||i||(++this.pos,this.readInt(10),s=this.input.charCodeAt(this.pos)),69!==s&&101!==s||i||(43!==(s=this.input.charCodeAt(++this.pos))&&45!==s||++this.pos,null===this.readInt(10)&&this.raise(e,"Invalid number")),u(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=Zt(this.input.slice(e,this.pos),i);return this.finishToken(y.num,a)},Yt.readCodePoint=function(){var t;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var e=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(e,"Code point out of bounds")}else t=this.readHexChar(4);return t},Yt.readString=function(t){for(var e="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var s=this.input.charCodeAt(this.pos);if(s===t)break;92===s?(e+=this.input.slice(i,this.pos),e+=this.readEscapedChar(!1),i=this.pos):(_(s,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return e+=this.input.slice(i,this.pos++),this.finishToken(y.string,e)};var te={};Yt.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(t){if(t!==te)throw t;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Yt.invalidStringToken=function(t,e){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw te;this.raise(t,e)},Yt.readTmplToken=function(){for(var t="",e=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var i=this.input.charCodeAt(this.pos);if(96===i||36===i&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==y.template&&this.type!==y.invalidTemplate?(t+=this.input.slice(e,this.pos),this.finishToken(y.template,t)):36===i?(this.pos+=2,this.finishToken(y.dollarBraceL)):(++this.pos,this.finishToken(y.backQuote));if(92===i)t+=this.input.slice(e,this.pos),t+=this.readEscapedChar(!0),e=this.pos;else if(_(i)){switch(t+=this.input.slice(e,this.pos),++this.pos,i){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:t+="\n";break;default:t+=String.fromCharCode(i)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),e=this.pos}else++this.pos}},Yt.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if("{"!==this.input[this.pos+1])break;case"`":return this.finishToken(y.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},Yt.readEscapedChar=function(t){var e=this.input.charCodeAt(++this.pos);switch(++this.pos,e){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Jt(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(t){var i=this.pos-1;return this.invalidStringToken(i,"Invalid escape sequence in template string"),null}default:if(e>=48&&e<=55){var s=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(s,8);return r>255&&(s=s.slice(0,-1),r=parseInt(s,8)),this.pos+=s.length-1,e=this.input.charCodeAt(this.pos),"0"===s&&56!==e&&57!==e||!this.strict&&!t||this.invalidStringToken(this.pos-1-s.length,t?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)}return _(e)?"":String.fromCharCode(e)}},Yt.readHexChar=function(t){var e=this.pos,i=this.readInt(16,t);return null===i&&this.invalidStringToken(e,"Bad character escape sequence"),i},Yt.readWord1=function(){this.containsEsc=!1;for(var t="",e=!0,i=this.pos,s=this.options.ecmaVersion>=6;this.pos<this.input.length;){var r=this.fullCharCodeAtPos();if(l(r,s))this.pos+=r<=65535?1:2;else{if(92!==r)break;this.containsEsc=!0,t+=this.input.slice(i,this.pos);var a=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var n=this.readCodePoint();(e?u:l)(n,s)||this.invalidStringToken(a,"Invalid Unicode escape"),t+=Jt(n),i=this.pos}e=!1}return t+this.input.slice(i,this.pos)},Yt.readWord=function(){var t=this.readWord1(),e=y.name;return this.keywords.test(t)&&(e=g[t]),this.finishToken(e,t)};var ee="7.4.1";function ie(t,e){return J.parse(t,e)}function se(t,e,i){return J.parseExpressionAt(t,e,i)}function re(t,e){return J.tokenizer(t,e)}exports.version=ee,J.acorn={Parser:J,version:ee,defaultOptions:R,Position:N,SourceLocation:V,getLineInfo:L,Node:gt,TokenType:d,tokTypes:y,keywordTypes:g,TokContext:bt,tokContexts:kt,isIdentifierChar:l,isIdentifierStart:u,Token:Xt,isNewLine:_,lineBreak:b,lineBreakG:k,nonASCIIwhitespace:S};
  },{}],"qYnT":[function(require,module,exports) {
  "use strict";var e=require("acorn"),t=require("object-assign");module.exports=n;var r={throw:!1,strict:!1,lineComment:!1};function n(n,i){i=t({},r,i);try{var o=new e.Parser(i,n,0);i.strict&&(o.strict=!0),i.lineComment||(o.skipLineComment=function(e){this.raise(this.pos,"Line comments not allowed in an expression")}),o.nextToken(),o.parseExpression(),o.type!==e.tokTypes.eof&&o.unexpected()}catch(s){if(!i.throw)return!1;throw s}return!0}
  },{"acorn":"L7BF","object-assign":"J4Nk"}],"jYt2":[function(require,module,exports) {
  "use strict";module.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var n=Object.getOwnPropertyDescriptor(t,e);if(42!==n.value||!0!==n.enumerable)return!1}return!0};
  },{}],"NS5K":[function(require,module,exports) {
  var global = arguments[3];
  var o=arguments[3],e=o.Symbol,t=require("./shams");module.exports=function(){return"function"==typeof e&&("function"==typeof Symbol&&("symbol"==typeof e("foo")&&("symbol"==typeof Symbol("bar")&&t())))};
  },{"./shams":"jYt2"}],"DhUb":[function(require,module,exports) {
  "use strict";var t,o,e,r,n=require("has-symbols")(),i=n&&"symbol"==typeof Symbol.toStringTag;if(i){t=Function.call.bind(Object.prototype.hasOwnProperty),o=Function.call.bind(RegExp.prototype.exec),e={};var c=function(){throw e};r={toString:c,valueOf:c},"symbol"==typeof Symbol.toPrimitive&&(r[Symbol.toPrimitive]=c)}var p=Object.prototype.toString,y=Object.getOwnPropertyDescriptor,l="[object RegExp]";module.exports=i?function(n){if(!n||"object"!=typeof n)return!1;var i=y(n,"lastIndex");if(!(i&&t(i,"value")))return!1;try{o(n,r)}catch(c){return c===e}}:function(t){return!(!t||"object"!=typeof t&&"function"!=typeof t)&&p.call(t)===l};
  },{"has-symbols":"NS5K"}],"WxsT":[function(require,module,exports) {
  "use strict";var e=require("is-regex");exports=module.exports=a;var t=exports.TOKEN_TYPES={LINE_COMMENT:"//",BLOCK_COMMENT:"/**/",SINGLE_QUOTE:"'",DOUBLE_QUOTE:'"',TEMPLATE_QUOTE:"`",REGEXP:"//g"},s=exports.BRACKETS={"(":")","{":"}","[":"]"},r={")":"(","}":"{","]":"["};function a(e,t,s){s=s||{},t=t||exports.defaultState();for(var r=s.start||0,a=s.end||e.length,c=r;c<a;){try{n(e[c],t)}catch(o){throw o.index=c,o}c++}return t}function c(e,t,s){for(var r=(s=s||{}).start||0,a=r,c=exports.defaultState();a<e.length;){if((s.ignoreNesting||!c.isNesting(s))&&i(e,t,a)){var o=a;return{start:r,end:o,src:e.substring(r,o)}}try{n(e[a],c)}catch(h){throw h.index=a,h}a++}var p=new Error("The end of the string was reached with no closing bracket found.");throw p.code="CHARACTER_PARSER:END_OF_STRING_REACHED",p.index=a,p}function n(e,a){if(1!==e.length)throw(o=new Error("Character must be a string of length 1")).name="InvalidArgumentError",o.code="CHARACTER_PARSER:CHAR_LENGTH_NOT_ONE",o;(a=a||exports.defaultState()).src+=e;var c=a.isComment(),n=a.history?a.history[0]:"";switch(a.regexpStart&&("/"!==e&&"*"!=e||a.stack.pop(),a.regexpStart=!1),a.current()){case t.LINE_COMMENT:"\n"===e&&a.stack.pop();break;case t.BLOCK_COMMENT:"*"===a.lastChar&&"/"===e&&a.stack.pop();break;case t.SINGLE_QUOTE:"'"!==e||a.escaped?"\\"!==e||a.escaped?a.escaped=!1:a.escaped=!0:a.stack.pop();break;case t.DOUBLE_QUOTE:'"'!==e||a.escaped?"\\"!==e||a.escaped?a.escaped=!1:a.escaped=!0:a.stack.pop();break;case t.TEMPLATE_QUOTE:"`"!==e||a.escaped?"\\"!==e||a.escaped?"$"!==e||a.escaped?"{"===e&&a.hasDollar?a.stack.push(s[e]):(a.escaped=!1,a.hasDollar=!1):a.hasDollar=!0:(a.escaped=!0,a.hasDollar=!1):(a.stack.pop(),a.hasDollar=!1);break;case t.REGEXP:"/"!==e||a.escaped?"\\"!==e||a.escaped?a.escaped=!1:a.escaped=!0:a.stack.pop();break;default:if(e in s)a.stack.push(s[e]);else if(e in r){var o;if(a.current()!==e)throw(o=new SyntaxError("Mismatched Bracket: "+e)).code="CHARACTER_PARSER:MISMATCHED_BRACKET",o;a.stack.pop()}else"/"===n&&"/"===e?(a.history=a.history.substr(1),a.stack.push(t.LINE_COMMENT)):"/"===n&&"*"===e?(a.history=a.history.substr(1),a.stack.push(t.BLOCK_COMMENT)):"/"===e&&u(a.history)?(a.stack.push(t.REGEXP),a.regexpStart=!0):"'"===e?a.stack.push(t.SINGLE_QUOTE):'"'===e?a.stack.push(t.DOUBLE_QUOTE):"`"===e&&a.stack.push(t.TEMPLATE_QUOTE)}return a.isComment()||c||(a.history=e+a.history),a.lastChar=e,a}function o(){this.stack=[],this.regexpStart=!1,this.escaped=!1,this.hasDollar=!1,this.src="",this.history="",this.lastChar=""}function i(t,s,r){return e(s)?s.test(t.substr(r||0)):t.substr(r||0,s.length)===s}function p(e){if(!e)return!0;switch(e.charCodeAt(0)){case 46:case 40:case 41:case 59:case 44:case 123:case 125:case 91:case 93:case 58:case 63:case 126:case 37:case 38:case 42:case 43:case 45:case 47:case 60:case 62:case 94:case 124:case 33:case 61:return!0;default:return!1}}function h(e){return"if"===e||"in"===e||"do"===e||"var"===e||"for"===e||"new"===e||"try"===e||"let"===e||"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e||"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e||"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e||"default"===e||"finally"===e||"extends"===e||"function"===e||"continue"===e||"debugger"===e||"package"===e||"private"===e||"interface"===e||"instanceof"===e||"implements"===e||"protected"===e||"public"===e||"static"===e}function u(e){return")"!==(e=e.replace(/^\s*/,""))[0]&&("}"===e[0]||(!!p(e[0])||!(!/^\w+\b/.test(e)||!h(/^\w+\b/.exec(e)[0].split("").reverse().join("")))))}exports.parse=a,exports.parseUntil=c,exports.parseChar=n,exports.defaultState=function(){return new o},o.prototype.current=function(){return this.stack[this.stack.length-1]},o.prototype.isString=function(){return this.current()===t.SINGLE_QUOTE||this.current()===t.DOUBLE_QUOTE||this.current()===t.TEMPLATE_QUOTE},o.prototype.isComment=function(){return this.current()===t.LINE_COMMENT||this.current()===t.BLOCK_COMMENT},o.prototype.isNesting=function(e){return(!e||!e.ignoreLineComment||1!==this.stack.length||this.stack[0]!==t.LINE_COMMENT)&&!!this.stack.length},exports.isPunctuator=p,exports.isKeyword=h;
  },{"is-regex":"DhUb"}],"eq22":[function(require,module,exports) {
  "use strict";function n(n,e,i){var t,l=i.line,r=i.column,s=i.filename,o=i.src,m=l+(r?":"+r:"");if(o&&l>=1&&l<=o.split("\n").length){var c=o.split("\n"),u=Math.max(l-3,0),a=Math.min(c.length,l+3);t=(s||"Pug")+":"+m+"\n"+c.slice(u,a).map(function(n,e){var i=e+u+1,t=(i==l?"  > ":"    ")+i+"| ",s=t+n;return i===l&&r>0&&(s+="\n",s+=Array(t.length+r).join("-")+"^"),s}).join("\n")+"\n\n"+e}else t=(s||"Pug")+":"+m+"\n\n"+e;var h=new Error(t);return h.code="PUG:"+n,h.msg=e,h.line=l,h.column=r,h.filename=s,h.src=o,h.toJSON=function(){return{code:this.code,msg:this.msg,line:this.line,column:this.column,filename:this.filename}},h}module.exports=n;
  },{}],"tw29":[function(require,module,exports) {
  "use strict";var t=require("assert"),n=require("is-expression"),e=require("character-parser"),i=require("pug-error");function s(t,n){var e=new r(t,n);return JSON.parse(JSON.stringify(e.getTokens()))}function r(t,n){if(n=n||{},"string"!=typeof t)throw new Error('Expected source code to be a string but got "'+typeof t+'"');if("object"!=typeof n)throw new Error('Expected "options" to be an object but got "'+typeof n+'"');t=t.replace(/^\uFEFF/,""),this.input=t.replace(/\r\n|\r/g,"\n"),this.originalInput=this.input,this.filename=n.filename,this.interpolated=n.interpolated||!1,this.lineno=n.startingLine||1,this.colno=n.startingColumn||1,this.plugins=n.plugins||[],this.indentStack=[0],this.indentRe=null,this.interpolationAllowed=!0,this.whitespaceRe=/[ \n\t]/,this.tokens=[],this.ended=!1}module.exports=s,module.exports.Lexer=r,r.prototype={constructor:r,error:function(t,n){throw i(t,n,{line:this.lineno,column:this.colno,filename:this.filename,src:this.originalInput})},assert:function(t,n){t||this.error("ASSERT_FAILED",n)},isExpression:function(t){return n(t,{throw:!0})},assertExpression:function(t,n){try{return this.callLexerFunction("isExpression",t),!0}catch(i){if(n)return!1;if(!i.loc)throw i;this.incrementLine(i.loc.line-1),this.incrementColumn(i.loc.column);var e="Syntax Error: "+i.message.replace(/ \([0-9]+:[0-9]+\)$/,"");this.error("SYNTAX_ERROR",e)}},assertNestingCorrect:function(t){e(t).isNesting()&&this.error("INCORRECT_NESTING","Nesting must match on expression `"+t+"`")},tok:function(t,n){var e={type:t,loc:{start:{line:this.lineno,column:this.colno},filename:this.filename}};return void 0!==n&&(e.val=n),e},tokEnd:function(t){return t.loc.end={line:this.lineno,column:this.colno},t},incrementLine:function(t){this.lineno+=t,t&&(this.colno=1)},incrementColumn:function(t){this.colno+=t},consume:function(t){this.input=this.input.substr(t)},scan:function(t,n){var e;if(e=t.exec(this.input)){var i=e[0].length,s=e[1],r=i-(s?s.length:0),h=this.tok(n,s);return this.consume(i),this.incrementColumn(r),h}},scanEndOfLine:function(t,n){var e;if(e=t.exec(this.input)){var i,s,r=0;(i=/^([ ]+)([^ ]*)/.exec(e[0]))&&(r=i[1].length,this.incrementColumn(r));var h=this.input.substr(e[0].length);if(":"===h[0])return this.input=h,s=this.tok(n,e[1]),this.incrementColumn(e[0].length-r),s;if(/^[ \t]*(\n|$)/.test(h))return this.input=h.substr(/^[ \t]*/.exec(h)[0].length),s=this.tok(n,e[1]),this.incrementColumn(e[0].length-r),s}},bracketExpression:function(n){n=n||0;var i=this.input[n];t("("===i||"{"===i||"["===i,'The start character should be "(", "{" or "["');var s,r=e.BRACKETS[i];try{s=e.parseUntil(this.input,r,{start:n+1})}catch(l){if(void 0!==l.index){for(var h=l.index,o=this.input.substr(n).indexOf("\n"),c=o+n,a=0;h>c&&-1!==o;)this.incrementLine(1),h-=c+1,a+=c+1,o=c=this.input.substr(a).indexOf("\n");this.incrementColumn(h)}throw"CHARACTER_PARSER:END_OF_STRING_REACHED"===l.code?this.error("NO_END_BRACKET","The end of the string reached with no closing bracket "+r+" found."):"CHARACTER_PARSER:MISMATCHED_BRACKET"===l.code&&this.error("BRACKET_MISMATCH",l.message),l}return s},scanIndentation:function(){var t,n;return this.indentRe?t=this.indentRe.exec(this.input):((t=(n=/^\n(\t*) */).exec(this.input))&&!t[1].length&&(t=(n=/^\n( *)/).exec(this.input)),t&&t[1].length&&(this.indentRe=n)),t},eos:function(){if(!this.input.length){this.interpolated&&this.error("NO_END_BRACKET","End of line was reached with no closing bracket for interpolation.");for(var t=0;this.indentStack[t];t++)this.tokens.push(this.tokEnd(this.tok("outdent")));return this.tokens.push(this.tokEnd(this.tok("eos"))),this.ended=!0,!0}},blank:function(){var t;if(t=/^\n[ \t]*\n/.exec(this.input))return this.consume(t[0].length-1),this.incrementLine(1),!0},comment:function(){var t;if(t=/^\/\/(-)?([^\n]*)/.exec(this.input)){this.consume(t[0].length);var n=this.tok("comment",t[2]);return n.buffer="-"!=t[1],this.interpolationAllowed=n.buffer,this.tokens.push(n),this.incrementColumn(t[0].length),this.tokEnd(n),this.callLexerFunction("pipelessText"),!0}},interpolation:function(){if(/^#\{/.test(this.input)){var t=this.bracketExpression(1);this.consume(t.end+1);var n=this.tok("interpolation",t.src);this.tokens.push(n),this.incrementColumn(2),this.assertExpression(t.src);var e=t.src.split("\n"),i=e.length-1;return this.incrementLine(i),this.incrementColumn(e[i].length+1),this.tokEnd(n),!0}},tag:function(){var t;if(t=/^(\w(?:[-:\w]*\w)?)/.exec(this.input)){var n,e=t[1],i=t[0].length;return this.consume(i),n=this.tok("tag",e),this.tokens.push(n),this.incrementColumn(i),this.tokEnd(n),!0}},filter:function(t){var n=this.scan(/^:([\w\-]+)/,"filter"),e=t&&t.inInclude;if(n)return this.tokens.push(n),this.incrementColumn(n.val.length),this.tokEnd(n),this.callLexerFunction("attrs"),e||(this.interpolationAllowed=!1,this.callLexerFunction("pipelessText")),!0},doctype:function(){var t=this.scanEndOfLine(/^doctype *([^\n]*)/,"doctype");if(t)return this.tokens.push(this.tokEnd(t)),!0},id:function(){var t=this.scan(/^#([\w-]+)/,"id");if(t)return this.tokens.push(t),this.incrementColumn(t.val.length),this.tokEnd(t),!0;/^#/.test(this.input)&&this.error("INVALID_ID",'"'+/.[^ \t\(\#\.\:]*/.exec(this.input.substr(1))[0]+'" is not a valid ID.')},className:function(){var t=this.scan(/^\.([_a-z0-9\-]*[_a-z][_a-z0-9\-]*)/i,"class");if(t)return this.tokens.push(t),this.incrementColumn(t.val.length),this.tokEnd(t),!0;/^\.[_a-z0-9\-]+/i.test(this.input)&&this.error("INVALID_CLASS_NAME","Class names must contain at least one letter or underscore."),/^\./.test(this.input)&&this.error("INVALID_CLASS_NAME",'"'+/.[^ \t\(\#\.\:]*/.exec(this.input.substr(1))[0]+'" is not a valid class name.  Class names can only contain "_", "-", a-z and 0-9, and must contain at least one of "_", or a-z')},endInterpolation:function(){if(this.interpolated&&"]"===this.input[0])return this.input=this.input.substr(1),this.ended=!0,!0},addText:function(t,n,i,s){var r;if(n+i!==""){i=i||"",s=s||0;var h=this.interpolated?n.indexOf("]"):-1,o=this.interpolationAllowed?n.indexOf("#["):-1,c=this.interpolationAllowed?n.indexOf("\\#["):-1,a=/(\\)?([#!]){((?:.|\n)*)$/.exec(n),l=this.interpolationAllowed&&a?a.index:1/0;if(-1===h&&(h=1/0),-1===o&&(o=1/0),-1===c&&(c=1/0),c!==1/0&&c<h&&c<o&&c<l)return i=i+n.substring(0,c)+"#[",this.addText(t,n.substring(c+3),i,s+1);if(o!==1/0&&o<h&&o<c&&o<l){r=this.tok(t,i+n.substring(0,o)),this.incrementColumn(i.length+o+s),this.tokens.push(this.tokEnd(r)),r=this.tok("start-pug-interpolation"),this.incrementColumn(2),this.tokens.push(this.tokEnd(r));var u,p=new this.constructor(n.substr(o+2),{filename:this.filename,interpolated:!0,startingLine:this.lineno,startingColumn:this.colno});try{u=p.getTokens()}catch(k){throw k.code&&/^PUG:/.test(k.code)&&(this.colno=k.column,this.error(k.code.substr(4),k.msg)),k}return this.colno=p.colno,this.tokens=this.tokens.concat(u),r=this.tok("end-pug-interpolation"),this.incrementColumn(1),this.tokens.push(this.tokEnd(r)),void this.addText(t,p.input)}if(h!==1/0&&h<o&&h<c&&h<l)return i+n.substring(0,h)&&this.addText(t,n.substring(0,h),i),this.ended=!0,void(this.input=n.substr(n.indexOf("]")+1)+this.input);if(l!==1/0){if(a[1])return i=i+n.substring(0,l)+"#{",this.addText(t,n.substring(l+3),i,s+1);var d=n.substr(0,l);(i||d)&&(d=i+d,r=this.tok(t,d),this.incrementColumn(d.length+s),this.tokens.push(this.tokEnd(r)));var f,m=a[3];r=this.tok("interpolated-code"),this.incrementColumn(2);try{f=e.parseUntil(m,"}")}catch(k){if(void 0!==k.index&&this.incrementColumn(k.index),"CHARACTER_PARSER:END_OF_STRING_REACHED"===k.code)this.error("NO_END_BRACKET","End of line was reached with no closing bracket for interpolation.");else{if("CHARACTER_PARSER:MISMATCHED_BRACKET"!==k.code)throw k;this.error("BRACKET_MISMATCH",k.message)}}return r.mustEscape="#"===a[2],r.buffer=!0,r.val=f.src,this.assertExpression(f.src),void(f.end+1<m.length?(m=m.substr(f.end+1),this.incrementColumn(f.end+1),this.tokens.push(this.tokEnd(r)),this.addText(t,m)):(this.incrementColumn(m.length),this.tokens.push(this.tokEnd(r))))}n=i+n,r=this.tok(t,n),this.incrementColumn(n.length+s),this.tokens.push(this.tokEnd(r))}},text:function(){var t=this.scan(/^(?:\| ?| )([^\n]+)/,"text")||this.scan(/^( )/,"text")||this.scan(/^\|( ?)/,"text");if(t)return this.addText("text",t.val),!0},textHtml:function(){var t=this.scan(/^(<[^\n]*)/,"text-html");if(t)return this.addText("text-html",t.val),!0},dot:function(){var t;if(t=this.scanEndOfLine(/^\./,"dot"))return this.tokens.push(this.tokEnd(t)),this.callLexerFunction("pipelessText"),!0},extends:function(){var t=this.scan(/^extends?(?= |$|\n)/,"extends");if(t)return this.tokens.push(this.tokEnd(t)),this.callLexerFunction("path")||this.error("NO_EXTENDS_PATH","missing path for extends"),!0;this.scan(/^extends?\b/)&&this.error("MALFORMED_EXTENDS","malformed extends")},prepend:function(){var t;if(t=/^(?:block +)?prepend +([^\n]+)/.exec(this.input)){var n=t[1].trim(),e="";if(-1!==n.indexOf("//")&&(e="//"+n.split("//").slice(1).join("//"),n=n.split("//")[0].trim()),!n)return;for(var i=this.tok("block",n),s=t[0].length-e.length;this.whitespaceRe.test(this.input.charAt(s-1));)s--;return this.incrementColumn(s),i.mode="prepend",this.tokens.push(this.tokEnd(i)),this.consume(t[0].length-e.length),this.incrementColumn(t[0].length-e.length-s),!0}},append:function(){var t;if(t=/^(?:block +)?append +([^\n]+)/.exec(this.input)){var n=t[1].trim(),e="";if(-1!==n.indexOf("//")&&(e="//"+n.split("//").slice(1).join("//"),n=n.split("//")[0].trim()),!n)return;for(var i=this.tok("block",n),s=t[0].length-e.length;this.whitespaceRe.test(this.input.charAt(s-1));)s--;return this.incrementColumn(s),i.mode="append",this.tokens.push(this.tokEnd(i)),this.consume(t[0].length-e.length),this.incrementColumn(t[0].length-e.length-s),!0}},block:function(){var t;if(t=/^block +([^\n]+)/.exec(this.input)){var n=t[1].trim(),e="";if(-1!==n.indexOf("//")&&(e="//"+n.split("//").slice(1).join("//"),n=n.split("//")[0].trim()),!n)return;for(var i=this.tok("block",n),s=t[0].length-e.length;this.whitespaceRe.test(this.input.charAt(s-1));)s--;return this.incrementColumn(s),i.mode="replace",this.tokens.push(this.tokEnd(i)),this.consume(t[0].length-e.length),this.incrementColumn(t[0].length-e.length-s),!0}},mixinBlock:function(){var t;if(t=this.scanEndOfLine(/^block/,"mixin-block"))return this.tokens.push(this.tokEnd(t)),!0},yield:function(){var t=this.scanEndOfLine(/^yield/,"yield");if(t)return this.tokens.push(this.tokEnd(t)),!0},include:function(){var t=this.scan(/^include(?=:| |$|\n)/,"include");if(t){for(this.tokens.push(this.tokEnd(t));this.callLexerFunction("filter",{inInclude:!0}););return this.callLexerFunction("path")||(/^[^ \n]+/.test(this.input)?this.fail():this.error("NO_INCLUDE_PATH","missing path for include")),!0}this.scan(/^include\b/)&&this.error("MALFORMED_INCLUDE","malformed include")},path:function(){var t=this.scanEndOfLine(/^ ([^\n]+)/,"path");if(t&&(t.val=t.val.trim()))return this.tokens.push(this.tokEnd(t)),!0},case:function(){var t=this.scanEndOfLine(/^case +([^\n]+)/,"case");if(t)return this.incrementColumn(-t.val.length),this.assertExpression(t.val),this.incrementColumn(t.val.length),this.tokens.push(this.tokEnd(t)),!0;this.scan(/^case\b/)&&this.error("NO_CASE_EXPRESSION","missing expression for case")},when:function(){var t=this.scanEndOfLine(/^when +([^:\n]+)/,"when");if(t){for(var n=e(t.val);n.isNesting()||n.isString();){var i=/:([^:\n]+)/.exec(this.input);if(!i)break;t.val+=i[0],this.consume(i[0].length),this.incrementColumn(i[0].length),n=e(t.val)}return this.incrementColumn(-t.val.length),this.assertExpression(t.val),this.incrementColumn(t.val.length),this.tokens.push(this.tokEnd(t)),!0}this.scan(/^when\b/)&&this.error("NO_WHEN_EXPRESSION","missing expression for when")},default:function(){var t=this.scanEndOfLine(/^default/,"default");if(t)return this.tokens.push(this.tokEnd(t)),!0;this.scan(/^default\b/)&&this.error("DEFAULT_WITH_EXPRESSION","default should not have an expression")},call:function(){var t,n,e;if(n=/^\+(\s*)(([-\w]+)|(#\{))/.exec(this.input)){if(n[3])e=n[0].length,this.consume(e),t=this.tok("call",n[3]);else{var i=this.bracketExpression(2+n[1].length);e=i.end+1,this.consume(e),this.assertExpression(i.src),t=this.tok("call","#{"+i.src+"}")}if(this.incrementColumn(e),t.args=null,n=/^ *\(/.exec(this.input)){var s=this.bracketExpression(n[0].length-1);if(!/^\s*[-\w]+ *=/.test(s.src)){this.incrementColumn(1),this.consume(s.end+1),t.args=s.src,this.assertExpression("["+t.args+"]");for(var r=0;r<=t.args.length;r++)"\n"===t.args[r]?this.incrementLine(1):this.incrementColumn(1)}}return this.tokens.push(this.tokEnd(t)),!0}},mixin:function(){var t;if(t=/^mixin +([-\w]+)(?: *\((.*)\))? */.exec(this.input)){this.consume(t[0].length);var n=this.tok("mixin",t[1]);return n.args=t[2]||null,this.incrementColumn(t[0].length),this.tokens.push(this.tokEnd(n)),!0}},conditional:function(){var t;if(t=/^(if|unless|else if|else)\b([^\n]*)/.exec(this.input)){this.consume(t[0].length);var n=t[1].replace(/ /g,"-"),e=t[2]&&t[2].trim(),i=this.tok(n,e);switch(this.incrementColumn(t[0].length-e.length),n){case"if":case"else-if":this.assertExpression(e);break;case"unless":this.assertExpression(e),i.val="!("+e+")",i.type="if";break;case"else":e&&this.error("ELSE_CONDITION","`else` cannot have a condition, perhaps you meant `else if`")}return this.incrementColumn(e.length),this.tokens.push(this.tokEnd(i)),!0}},while:function(){var t,n;if(t=/^while +([^\n]+)/.exec(this.input))return this.consume(t[0].length),this.assertExpression(t[1]),n=this.tok("while",t[1]),this.incrementColumn(t[0].length),this.tokens.push(this.tokEnd(n)),!0;this.scan(/^while\b/)&&this.error("NO_WHILE_EXPRESSION","missing expression for while")},each:function(){var t;if(t=/^(?:each|for) +([a-zA-Z_$][\w$]*)(?: *, *([a-zA-Z_$][\w$]*))? * in *([^\n]+)/.exec(this.input)){this.consume(t[0].length);var n=this.tok("each",t[1]);return n.key=t[2]||null,this.incrementColumn(t[0].length-t[3].length),this.assertExpression(t[3]),n.code=t[3],this.incrementColumn(t[3].length),this.tokens.push(this.tokEnd(n)),!0}const e=/^each\b/.exec(this.input)?"each":"for";this.scan(/^(?:each|for)\b/)&&this.error("MALFORMED_EACH","This `"+e+"` has a syntax error. `"+e+"` statements should be of the form: `"+e+" VARIABLE_NAME of JS_EXPRESSION`"),(t=/^- *(?:each|for) +([a-zA-Z_$][\w$]*)(?: *, *([a-zA-Z_$][\w$]*))? +in +([^\n]+)/.exec(this.input))&&this.error("MALFORMED_EACH",'Pug each and for should no longer be prefixed with a dash ("-"). They are pug keywords and not part of JavaScript.')},eachOf:function(){var t;if(t=/^(?:each|for) (.*) of *([^\n]+)/.exec(this.input)){this.consume(t[0].length);var n=this.tok("eachOf",t[1]);return n.value=t[1],this.incrementColumn(t[0].length-t[2].length),this.assertExpression(t[2]),n.code=t[2],this.incrementColumn(t[2].length),this.tokens.push(this.tokEnd(n)),/^[a-zA-Z_$][\w$]*$/.test(n.value.trim())||/^\[ *[a-zA-Z_$][\w$]* *\, *[a-zA-Z_$][\w$]* *\]$/.test(n.value.trim())||this.error("MALFORMED_EACH_OF_LVAL","The value variable for each must either be a valid identifier (e.g. `item`) or a pair of identifiers in square brackets (e.g. `[key, value]`)."),!0}(t=/^- *(?:each|for) +([a-zA-Z_$][\w$]*)(?: *, *([a-zA-Z_$][\w$]*))? +of +([^\n]+)/.exec(this.input))&&this.error("MALFORMED_EACH",'Pug each and for should not be prefixed with a dash ("-"). They are pug keywords and not part of JavaScript.')},code:function(){var t;if(t=/^(!?=|-)[ \t]*([^\n]+)/.exec(this.input)){var n=t[1],i=t[2],s=0;if(this.interpolated){var r;try{r=e.parseUntil(i,"]")}catch(c){if(void 0!==c.index&&this.incrementColumn(t[0].length-i.length+c.index),"CHARACTER_PARSER:END_OF_STRING_REACHED"===c.code)this.error("NO_END_BRACKET","End of line was reached with no closing bracket for interpolation.");else{if("CHARACTER_PARSER:MISMATCHED_BRACKET"!==c.code)throw c;this.error("BRACKET_MISMATCH",c.message)}}s=i.length-r.end,i=r.src}var h=t[0].length-s;this.consume(h);var o=this.tok("code",i);return o.mustEscape="="===n.charAt(0),o.buffer="="===n.charAt(0)||"="===n.charAt(1),this.incrementColumn(t[0].length-t[2].length),o.buffer&&this.assertExpression(i),this.tokens.push(o),this.incrementColumn(i.length),this.tokEnd(o),!0}},blockCode:function(){var t;if(t=this.scanEndOfLine(/^-/,"blockcode"))return this.tokens.push(this.tokEnd(t)),this.interpolationAllowed=!1,this.callLexerFunction("pipelessText"),!0},attribute:function(t){var n,e="",i="";for(n=0;n<t.length&&this.whitespaceRe.test(t[n]);n++)"\n"===t[n]?this.incrementLine(1):this.incrementColumn(1);if(n===t.length)return"";var s=this.tok("attribute");for(/['"]/.test(t[n])&&(e=t[n],this.incrementColumn(1),n++);n<t.length;n++){if(e){if(t[n]===e){this.incrementColumn(1),n++;break}}else if(this.whitespaceRe.test(t[n])||"!"===t[n]||"="===t[n]||","===t[n])break;i+=t[n],"\n"===t[n]?this.incrementLine(1):this.incrementColumn(1)}s.name=i;var r=this.attributeValue(t.substr(n));for(r.val?(s.val=r.val,s.mustEscape=r.mustEscape):(s.val=!0,s.mustEscape=!0),t=r.remainingSource,this.tokens.push(this.tokEnd(s)),n=0;n<t.length&&this.whitespaceRe.test(t[n]);n++)"\n"===t[n]?this.incrementLine(1):this.incrementColumn(1);return","===t[n]&&(this.incrementColumn(1),n++),t.substr(n)},attributeValue:function(t){var n,i,s,r=/['"]/,h="",o=!0,c=e.defaultState(),a=this.colno,l=this.lineno;for(i=0;i<t.length&&this.whitespaceRe.test(t[i]);i++)"\n"===t[i]?(l++,a=1):a++;if(i===t.length)return{remainingSource:t};if("!"===t[i]&&(o=!1,a++,"="!==t[++i]&&this.error("INVALID_KEY_CHARACTER","Unexpected character "+t[i]+" expected `=`")),"="!==t[i]){if(0!==i||!t||this.whitespaceRe.test(t[0])||","===t[0])return{remainingSource:t};this.error("INVALID_KEY_CHARACTER","Unexpected character "+t[0]+" expected `=`")}for(this.lineno=l,this.colno=a+1,i++;i<t.length&&this.whitespaceRe.test(t[i]);i++)"\n"===t[i]?this.incrementLine(1):this.incrementColumn(1);for(l=this.lineno,a=this.colno;i<t.length;i++){if(!c.isNesting()&&!c.isString()){if(this.whitespaceRe.test(t[i])){for(n=!1,s=i;s<t.length;s++)if(!this.whitespaceRe.test(t[s])){const i=!e.isPunctuator(t[s]),o=r.test(t[s]),c=":"===t[s],a=t[s]+t[s+1]+t[s+2]==="...";(i||o||c||a)&&this.assertExpression(h,!0)&&(n=!0);break}if(n||s===t.length)break}if(","===t[i]&&this.assertExpression(h,!0))break}c=e.parseChar(t[i],c),h+=t[i],"\n"===t[i]?(l++,a=1):a++}return this.assertExpression(h),this.lineno=l,this.colno=a,{val:h,mustEscape:o,remainingSource:t.substr(i)}},attrs:function(){var t;if("("==this.input.charAt(0)){t=this.tok("start-attributes");var n=this.bracketExpression().end,e=this.input.substr(1,n-1);for(this.incrementColumn(1),this.tokens.push(this.tokEnd(t)),this.assertNestingCorrect(e),this.consume(n+1);e;)e=this.attribute(e);return t=this.tok("end-attributes"),this.incrementColumn(1),this.tokens.push(this.tokEnd(t)),!0}},attributesBlock:function(){if(/^&attributes\b/.test(this.input)){var t=11;this.consume(t);var n=this.tok("&attributes");this.incrementColumn(t);var e=this.bracketExpression();return t=e.end+1,this.consume(t),n.val=e.src,this.incrementColumn(t),this.tokens.push(this.tokEnd(n)),!0}},indent:function(){var t,n=this.scanIndentation();if(n){var e=n[1].length;if(this.incrementLine(1),this.consume(e+1)," "!=this.input[0]&&"\t"!=this.input[0]||this.error("INVALID_INDENTATION","Invalid indentation, you can use tabs or spaces but not both"),"\n"==this.input[0])return this.interpolationAllowed=!0,this.tokEnd(this.tok("newline"));if(e<this.indentStack[0]){for(var i=0;this.indentStack[0]>e;)this.indentStack[1]<e&&this.error("INCONSISTENT_INDENTATION","Inconsistent indentation. Expecting either "+this.indentStack[1]+" or "+this.indentStack[0]+" spaces/tabs."),i++,this.indentStack.shift();for(;i--;)this.colno=1,t=this.tok("outdent"),this.colno=this.indentStack[0]+1,this.tokens.push(this.tokEnd(t))}else e&&e!=this.indentStack[0]?(t=this.tok("indent",e),this.colno=1+e,this.tokens.push(this.tokEnd(t)),this.indentStack.unshift(e)):(t=this.tok("newline"),this.colno=1+Math.min(this.indentStack[0]||0,e),this.tokens.push(this.tokEnd(t)));return this.interpolationAllowed=!0,!0}},pipelessText:function t(n){for(;this.callLexerFunction("blank"););var e=this.scanIndentation();if((n=n||e&&e[1].length)>this.indentStack[0]){this.tokens.push(this.tokEnd(this.tok("start-pipeless-text")));var i,s=[],r=[],h=0;do{var o=this.input.substr(h+1).indexOf("\n");-1==o&&(o=this.input.length-h-1);var c=this.input.substr(h+1,o),a=this.indentRe.exec("\n"+c),l=a&&a[1].length;if(i=l>=n,r.push(i),i=i||!c.trim())h+=c.length+1,s.push(c.substr(n));else if(l>this.indentStack[0])return this.tokens.pop(),t.call(this,a[1].length)}while(this.input.length-h&&i);for(this.consume(h);0===this.input.length&&""===s[s.length-1];)s.pop();return s.forEach(function(t,e){var i;this.incrementLine(1),0!==e&&(i=this.tok("newline")),r[e]&&this.incrementColumn(n),i&&this.tokens.push(this.tokEnd(i)),this.addText("text",t)}.bind(this)),this.tokens.push(this.tokEnd(this.tok("end-pipeless-text"))),!0}},slash:function(){var t=this.scan(/^\//,"slash");if(t)return this.tokens.push(this.tokEnd(t)),!0},colon:function(){var t=this.scan(/^: +/,":");if(t)return this.tokens.push(this.tokEnd(t)),!0},fail:function(){this.error("UNEXPECTED_TEXT",'unexpected text "'+this.input.substr(0,5)+'"')},callLexerFunction:function(t){for(var n=[],e=1;e<arguments.length;e++)n.push(arguments[e]);var i=[this].concat(n);for(e=0;e<this.plugins.length;e++){var s=this.plugins[e];if(s[t]&&s[t].apply(s,i))return!0}return this[t].apply(this,n)},advance:function(){return this.callLexerFunction("blank")||this.callLexerFunction("eos")||this.callLexerFunction("endInterpolation")||this.callLexerFunction("yield")||this.callLexerFunction("doctype")||this.callLexerFunction("interpolation")||this.callLexerFunction("case")||this.callLexerFunction("when")||this.callLexerFunction("default")||this.callLexerFunction("extends")||this.callLexerFunction("append")||this.callLexerFunction("prepend")||this.callLexerFunction("block")||this.callLexerFunction("mixinBlock")||this.callLexerFunction("include")||this.callLexerFunction("mixin")||this.callLexerFunction("call")||this.callLexerFunction("conditional")||this.callLexerFunction("eachOf")||this.callLexerFunction("each")||this.callLexerFunction("while")||this.callLexerFunction("tag")||this.callLexerFunction("filter")||this.callLexerFunction("blockCode")||this.callLexerFunction("code")||this.callLexerFunction("id")||this.callLexerFunction("dot")||this.callLexerFunction("className")||this.callLexerFunction("attrs")||this.callLexerFunction("attributesBlock")||this.callLexerFunction("indent")||this.callLexerFunction("text")||this.callLexerFunction("textHtml")||this.callLexerFunction("comment")||this.callLexerFunction("slash")||this.callLexerFunction("colon")||this.fail()},getTokens:function(){for(;!this.ended;)this.callLexerFunction("advance");return this.tokens}};
  },{"assert":"DlZn","is-expression":"qYnT","character-parser":"WxsT","pug-error":"eq22"}],"c0O5":[function(require,module,exports) {
  "use strict";var e=require("pug-error");function t(t,r,n,i){throw e("UNEXPECTED_TOKEN","`"+t+"` encountered when "+r,{filename:n,line:i})}function r(e,r){var n=!1!==(r=r||{}).stripUnbuffered,i=!0===r.stripBuffered,s=r.filename,u=!1,l=!1;return e.filter(function(e){switch(e.type){case"comment":if(!u)return!(u=e.buffer?i:n);t("comment","already in a comment",s,e.line);case"start-pipeless-text":return!u||(l&&t("start-pipeless-text","already in pipeless text mode",s,e.line),l=!0,!1);case"end-pipeless-text":return!u||(l||t("end-pipeless-text","not in pipeless text mode",s,e.line),l=!1,u=!1,!1);case"text":return!u;default:return!l&&(u=!1,!0)}})}module.exports=r;
  },{"pug-error":"eq22"}],"PTuO":[function(require,module,exports) {
  "use strict";function t(t){if(!Array.isArray(t))throw new TypeError("tokens must be passed to TokenStream as an array.");this._tokens=t}module.exports=t,t.prototype.lookahead=function(t){if(this._tokens.length<=t)throw new Error("Cannot read past the end of a stream");return this._tokens[t]},t.prototype.peek=function(){if(0===this._tokens.length)throw new Error("Cannot read past the end of a stream");return this._tokens[0]},t.prototype.advance=function(){if(0===this._tokens.length)throw new Error("Cannot read past the end of a stream");return this._tokens.shift()},t.prototype.defer=function(t){this._tokens.unshift(t)};
  },{}],"cUq9":[function(require,module,exports) {
  "use strict";module.exports=["a","abbr","acronym","b","br","code","em","font","i","img","ins","kbd","map","samp","small","span","strong","sub","sup"];
  },{}],"GXBg":[function(require,module,exports) {
  "use strict";var e=require("assert"),t=require("token-stream"),i=require("pug-error"),n=require("./lib/inline-tags");function s(e,t){var i=new l(e,t).parse();return JSON.parse(JSON.stringify(i))}function l(e,i){if(i=i||{},!Array.isArray(e))throw new Error('Expected tokens to be an Array but got "'+typeof e+'"');if("object"!=typeof i)throw new Error('Expected "options" to be an object but got "'+typeof i+'"');this.tokens=new t(e),this.filename=i.filename,this.src=i.src,this.inMixin=0,this.plugins=i.plugins||[]}module.exports=s,module.exports.Parser=l,l.prototype={constructor:l,error:function(e,t,n){throw i(e,t,{line:n.loc.start.line,column:n.loc.start.column,filename:this.filename,src:this.src})},advance:function(){return this.tokens.advance()},peek:function(){return this.tokens.peek()},lookahead:function(e){return this.tokens.lookahead(e)},parse:function(){for(var e=this.emptyBlock(0);"eos"!=this.peek().type;)if("newline"==this.peek().type)this.advance();else if("text-html"==this.peek().type)e.nodes=e.nodes.concat(this.parseTextHtml());else{var t=this.parseExpr();t&&("Block"===t.type?e.nodes=e.nodes.concat(t.nodes):e.nodes.push(t))}return e},expect:function(e){if(this.peek().type===e)return this.advance();this.error("INVALID_TOKEN",'expected "'+e+'", but got "'+this.peek().type+'"',this.peek())},accept:function(e){if(this.peek().type===e)return this.advance()},initBlock:function(e,t){if((0|e)!==e)throw new Error("`line` is not an integer");if(!Array.isArray(t))throw new Error("`nodes` is not an array");return{type:"Block",nodes:t,line:e,filename:this.filename}},emptyBlock:function(e){return this.initBlock(e,[])},runPlugin:function(e,t){for(var i,n=[this],s=2;s<arguments.length;s++)n.push(arguments[s]);for(s=0;s<this.plugins.length;s++){var l=this.plugins[s];if(l[e]&&l[e][t.type]){if(i)throw new Error("Multiple plugin handlers found for context "+JSON.stringify(e)+", token type "+JSON.stringify(t.type));i=l[e]}}if(i)return i[t.type].apply(i,n)},parseExpr:function(){switch(this.peek().type){case"tag":return this.parseTag();case"mixin":return this.parseMixin();case"block":return this.parseBlock();case"mixin-block":return this.parseMixinBlock();case"case":return this.parseCase();case"extends":return this.parseExtends();case"include":return this.parseInclude();case"doctype":return this.parseDoctype();case"filter":return this.parseFilter();case"comment":return this.parseComment();case"text":case"interpolated-code":case"start-pug-interpolation":return this.parseText({block:!0});case"text-html":return this.initBlock(this.peek().loc.start.line,this.parseTextHtml());case"dot":return this.parseDot();case"each":return this.parseEach();case"eachOf":return this.parseEachOf();case"code":return this.parseCode();case"blockcode":return this.parseBlockCode();case"if":return this.parseConditional();case"while":return this.parseWhile();case"call":return this.parseCall();case"interpolation":return this.parseInterpolation();case"yield":return this.parseYield();case"id":case"class":return this.peek().loc.start,this.tokens.defer({type:"tag",val:"div",loc:this.peek().loc,filename:this.filename}),this.parseExpr();default:var e=this.runPlugin("expressionTokens",this.peek());if(e)return e;this.error("INVALID_TOKEN",'unexpected token "'+this.peek().type+'"',this.peek())}},parseDot:function(){return this.advance(),this.parseTextBlock()},parseText:function(e){var t=[],i=this.peek().loc.start.line,n=this.peek();e:for(;;){switch(n.type){case"text":var s=this.advance();t.push({type:"Text",val:s.val,line:s.loc.start.line,column:s.loc.start.column,filename:this.filename});break;case"interpolated-code":s=this.advance();t.push({type:"Code",val:s.val,buffer:s.buffer,mustEscape:!1!==s.mustEscape,isInline:!0,line:s.loc.start.line,column:s.loc.start.column,filename:this.filename});break;case"newline":if(!e||!e.block)break e;s=this.advance();var l=this.peek().type;"text"!==l&&"interpolated-code"!==l||t.push({type:"Text",val:"\n",line:s.loc.start.line,column:s.loc.start.column,filename:this.filename});break;case"start-pug-interpolation":this.advance(),t.push(this.parseExpr()),this.expect("end-pug-interpolation");break;default:if(this.runPlugin("textTokens",n,t))break;break e}n=this.peek()}return 1===t.length?t[0]:this.initBlock(i,t)},parseTextHtml:function(){var e=[],t=null;e:for(;;)switch(this.peek().type){case"text-html":var i=this.advance();t?t.val+="\n"+i.val:(t={type:"Text",val:i.val,filename:this.filename,line:i.loc.start.line,column:i.loc.start.column,isHtml:!0},e.push(t));break;case"indent":this.block().nodes.forEach(function(i){i.isHtml?t?t.val+="\n"+i.val:(t=i,e.push(t)):(t=null,e.push(i))});break;case"code":t=null,e.push(this.parseCode(!0));break;case"newline":this.advance();break;default:break e}return e},parseBlockExpansion:function(){var e=this.accept(":");if(e){var t=this.parseExpr();return"Block"===t.type?t:this.initBlock(e.loc.start.line,[t])}return this.block()},parseCase:function(){var e=this.expect("case"),t={type:"Case",expr:e.val,line:e.loc.start.line,column:e.loc.start.column,filename:this.filename},i=this.emptyBlock(e.loc.start.line+1);for(this.expect("indent");"outdent"!=this.peek().type;)switch(this.peek().type){case"comment":case"newline":this.advance();break;case"when":i.nodes.push(this.parseWhen());break;case"default":i.nodes.push(this.parseDefault());break;default:if(this.runPlugin("caseTokens",this.peek(),i))break;this.error("INVALID_TOKEN",'Unexpected token "'+this.peek().type+'", expected "when", "default" or "newline"',this.peek())}return this.expect("outdent"),t.block=i,t},parseWhen:function(){var e=this.expect("when");return"newline"!==this.peek().type?{type:"When",expr:e.val,block:this.parseBlockExpansion(),debug:!1,line:e.loc.start.line,column:e.loc.start.column,filename:this.filename}:{type:"When",expr:e.val,debug:!1,line:e.loc.start.line,column:e.loc.start.column,filename:this.filename}},parseDefault:function(){var e=this.expect("default");return{type:"When",expr:"default",block:this.parseBlockExpansion(),debug:!1,line:e.loc.start.line,column:e.loc.start.column,filename:this.filename}},parseCode:function(t){var i=this.expect("code");e("boolean"==typeof i.mustEscape,"Please update to the newest version of pug-lexer.");var n={type:"Code",val:i.val,buffer:i.buffer,mustEscape:!1!==i.mustEscape,isInline:!!t,line:i.loc.start.line,column:i.loc.start.column,filename:this.filename};return n.val.match(/^ *else/)&&(n.debug=!1),t?n:("indent"==this.peek().type&&(i.buffer&&this.error("BLOCK_IN_BUFFERED_CODE","Buffered code cannot have a block attached to it",this.peek()),n.block=this.block()),n)},parseConditional:function(){var e=this.expect("if"),t={type:"Conditional",test:e.val,consequent:this.emptyBlock(e.loc.start.line),alternate:null,line:e.loc.start.line,column:e.loc.start.column,filename:this.filename};"indent"==this.peek().type&&(t.consequent=this.block());for(var i=t;;)if("newline"===this.peek().type)this.expect("newline");else{if("else-if"!==this.peek().type){if("else"===this.peek().type){this.expect("else"),"indent"===this.peek().type&&(i.alternate=this.block());break}break}e=this.expect("else-if"),i=i.alternate={type:"Conditional",test:e.val,consequent:this.emptyBlock(e.loc.start.line),alternate:null,line:e.loc.start.line,column:e.loc.start.column,filename:this.filename},"indent"==this.peek().type&&(i.consequent=this.block())}return t},parseWhile:function(){var e=this.expect("while"),t={type:"While",test:e.val,line:e.loc.start.line,column:e.loc.start.column,filename:this.filename};return"indent"==this.peek().type?t.block=this.block():t.block=this.emptyBlock(e.loc.start.line),t},parseBlockCode:function(){var e=this.expect("blockcode"),t=e.loc.start.line,i=e.loc.start.column,n="";if("start-pipeless-text"===this.peek().type){for(this.advance();"end-pipeless-text"!==this.peek().type;)switch((e=this.advance()).type){case"text":n+=e.val;break;case"newline":n+="\n";break;default:var s=this.runPlugin("blockCodeTokens",e,e);if(s){n+=s;break}this.error("INVALID_TOKEN","Unexpected token type: "+e.type,e)}this.advance()}return{type:"Code",val:n,buffer:!1,mustEscape:!1,isInline:!1,line:t,column:i,filename:this.filename}},parseComment:function(){var e,t=this.expect("comment");return(e=this.parseTextBlock())?{type:"BlockComment",val:t.val,block:e,buffer:t.buffer,line:t.loc.start.line,column:t.loc.start.column,filename:this.filename}:{type:"Comment",val:t.val,buffer:t.buffer,line:t.loc.start.line,column:t.loc.start.column,filename:this.filename}},parseDoctype:function(){var e=this.expect("doctype");return{type:"Doctype",val:e.val,line:e.loc.start.line,column:e.loc.start.column,filename:this.filename}},parseIncludeFilter:function(){var e=this.expect("filter"),t=[];return"start-attributes"===this.peek().type&&(t=this.attrs()),{type:"IncludeFilter",name:e.val,attrs:t,line:e.loc.start.line,column:e.loc.start.column,filename:this.filename}},parseFilter:function(){var e,t=this.expect("filter"),i=[];if("start-attributes"===this.peek().type&&(i=this.attrs()),"text"===this.peek().type){var n=this.advance();e=this.initBlock(n.loc.start.line,[{type:"Text",val:n.val,line:n.loc.start.line,column:n.loc.start.column,filename:this.filename}])}else e="filter"===this.peek().type?this.initBlock(t.loc.start.line,[this.parseFilter()]):this.parseTextBlock()||this.emptyBlock(t.loc.start.line);return{type:"Filter",name:t.val,block:e,attrs:i,line:t.loc.start.line,column:t.loc.start.column,filename:this.filename}},parseEach:function(){var e=this.expect("each"),t={type:"Each",obj:e.code,val:e.val,key:e.key,block:this.block(),line:e.loc.start.line,column:e.loc.start.column,filename:this.filename};return"else"==this.peek().type&&(this.advance(),t.alternate=this.block()),t},parseEachOf:function(){var e=this.expect("eachOf");return{type:"EachOf",obj:e.code,val:e.val,block:this.block(),line:e.loc.start.line,column:e.loc.start.column,filename:this.filename}},parseExtends:function(){var e=this.expect("extends"),t=this.expect("path");return{type:"Extends",file:{type:"FileReference",path:t.val.trim(),line:t.loc.start.line,column:t.loc.start.column,filename:this.filename},line:e.loc.start.line,column:e.loc.start.column,filename:this.filename}},parseBlock:function(){var e=this.expect("block"),t="indent"==this.peek().type?this.block():this.emptyBlock(e.loc.start.line);return t.type="NamedBlock",t.name=e.val.trim(),t.mode=e.mode,t.line=e.loc.start.line,t.column=e.loc.start.column,t},parseMixinBlock:function(){var e=this.expect("mixin-block");return this.inMixin||this.error("BLOCK_OUTISDE_MIXIN","Anonymous blocks are not allowed unless they are part of a mixin.",e),{type:"MixinBlock",line:e.loc.start.line,column:e.loc.start.column,filename:this.filename}},parseYield:function(){var e=this.expect("yield");return{type:"YieldBlock",line:e.loc.start.line,column:e.loc.start.column,filename:this.filename}},parseInclude:function(){for(var e=this.expect("include"),t={type:"Include",file:{type:"FileReference",filename:this.filename},line:e.loc.start.line,column:e.loc.start.column,filename:this.filename},i=[];"filter"===this.peek().type;)i.push(this.parseIncludeFilter());var n=this.expect("path");return t.file.path=n.val.trim(),t.file.line=n.loc.start.line,t.file.column=n.loc.start.column,!/\.jade$/.test(t.file.path)&&!/\.pug$/.test(t.file.path)||i.length?(t.type="RawInclude",t.filters=i,"indent"===this.peek().type&&this.error("RAW_INCLUDE_BLOCK","Raw inclusion cannot contain a block",this.peek())):(t.block="indent"==this.peek().type?this.block():this.emptyBlock(e.loc.start.line),/\.jade$/.test(t.file.path)&&console.warn(this.filename+", line "+e.loc.start.line+':\nThe .jade extension is deprecated, use .pug for "'+t.file.path+'".')),t},parseCall:function(){var e=this.expect("call"),t={type:"Mixin",name:e.val,args:e.args,block:this.emptyBlock(e.loc.start.line),call:!0,attrs:[],attributeBlocks:[],line:e.loc.start.line,column:e.loc.start.column,filename:this.filename};return this.tag(t),t.code&&(t.block.nodes.push(t.code),delete t.code),0===t.block.nodes.length&&(t.block=null),t},parseMixin:function(){var e=this.expect("mixin"),t=e.val,i=e.args;if("indent"==this.peek().type){this.inMixin++;var n={type:"Mixin",name:t,args:i,block:this.block(),call:!1,line:e.loc.start.line,column:e.loc.start.column,filename:this.filename};return this.inMixin--,n}this.error("MIXIN_WITHOUT_BODY","Mixin "+t+" declared without body",e)},parseTextBlock:function(){if(t=this.accept("start-pipeless-text")){for(var e=this.emptyBlock(t.loc.start.line);"end-pipeless-text"!==this.peek().type;){var t;switch((t=this.advance()).type){case"text":e.nodes.push({type:"Text",val:t.val,line:t.loc.start.line,column:t.loc.start.column,filename:this.filename});break;case"newline":e.nodes.push({type:"Text",val:"\n",line:t.loc.start.line,column:t.loc.start.column,filename:this.filename});break;case"start-pug-interpolation":e.nodes.push(this.parseExpr()),this.expect("end-pug-interpolation");break;case"interpolated-code":e.nodes.push({type:"Code",val:t.val,buffer:t.buffer,mustEscape:!1!==t.mustEscape,isInline:!0,line:t.loc.start.line,column:t.loc.start.column,filename:this.filename});break;default:if(this.runPlugin("textBlockTokens",t,e,t))break;this.error("INVALID_TOKEN","Unexpected token type: "+t.type,t)}}return this.advance(),e}},block:function(){for(var e=this.expect("indent"),t=this.emptyBlock(e.loc.start.line);"outdent"!=this.peek().type;)if("newline"==this.peek().type)this.advance();else if("text-html"==this.peek().type)t.nodes=t.nodes.concat(this.parseTextHtml());else{var i=this.parseExpr();"Block"===i.type?t.nodes=t.nodes.concat(i.nodes):t.nodes.push(i)}return this.expect("outdent"),t},parseInterpolation:function(){var e=this.advance(),t={type:"InterpolatedTag",expr:e.val,selfClosing:!1,block:this.emptyBlock(e.loc.start.line),attrs:[],attributeBlocks:[],isInline:!1,line:e.loc.start.line,column:e.loc.start.column,filename:this.filename};return this.tag(t,{selfClosingAllowed:!0})},parseTag:function(){var e=this.advance(),t={type:"Tag",name:e.val,selfClosing:!1,block:this.emptyBlock(e.loc.start.line),attrs:[],attributeBlocks:[],isInline:-1!==n.indexOf(e.val),line:e.loc.start.line,column:e.loc.start.column,filename:this.filename};return this.tag(t,{selfClosingAllowed:!0})},tag:function(e,t){var i=!1,n=[],s=t&&t.selfClosingAllowed;e:for(;;)switch(this.peek().type){case"id":case"class":"id"===(l=this.advance()).type&&(-1!==n.indexOf("id")&&this.error("DUPLICATE_ID",'Duplicate attribute "id" is not allowed.',l),n.push("id")),e.attrs.push({name:l.type,val:"'"+l.val+"'",line:l.loc.start.line,column:l.loc.start.column,filename:this.filename,mustEscape:!1});continue;case"start-attributes":i&&console.warn(this.filename+", line "+this.peek().loc.start.line+":\nYou should not have pug tags with multiple attributes."),i=!0,e.attrs=e.attrs.concat(this.attrs(n));continue;case"&attributes":var l=this.advance();e.attributeBlocks.push({type:"AttributeBlock",val:l.val,line:l.loc.start.line,column:l.loc.start.column,filename:this.filename});break;default:if(this.runPlugin("tagAttributeTokens",this.peek(),e,n))break;break e}switch("dot"==this.peek().type&&(e.textOnly=!0,this.advance()),this.peek().type){case"text":case"interpolated-code":var a=this.parseText();"Block"===a.type?e.block.nodes.push.apply(e.block.nodes,a.nodes):e.block.nodes.push(a);break;case"code":e.block.nodes.push(this.parseCode(!0));break;case":":this.advance();var r=this.parseExpr();e.block="Block"===r.type?r:this.initBlock(e.line,[r]);break;case"newline":case"indent":case"outdent":case"eos":case"start-pipeless-text":case"end-pug-interpolation":break;case"slash":if(s){this.advance(),e.selfClosing=!0;break}default:if(this.runPlugin("tagTokens",this.peek(),e,t))break;this.error("INVALID_TOKEN","Unexpected token `"+this.peek().type+"` expected `text`, `interpolated-code`, `code`, `:`"+(s?", `slash`":"")+", `newline` or `eos`",this.peek())}for(;"newline"==this.peek().type;)this.advance();if(e.textOnly)e.block=this.parseTextBlock()||this.emptyBlock(e.line);else if("indent"==this.peek().type)for(var o=this.block(),c=0,p=o.nodes.length;c<p;++c)e.block.nodes.push(o.nodes[c]);return e},attrs:function(e){this.expect("start-attributes");for(var t=[],i=this.advance();"attribute"===i.type;)"class"!==i.name&&e&&(-1!==e.indexOf(i.name)&&this.error("DUPLICATE_ATTRIBUTE",'Duplicate attribute "'+i.name+'" is not allowed.',i),e.push(i.name)),t.push({name:i.name,val:i.val,line:i.loc.start.line,column:i.loc.start.column,filename:this.filename,mustEscape:!1!==i.mustEscape}),i=this.advance();return this.tokens.defer(i),this.expect("end-attributes"),t}};
  },{"assert":"DlZn","token-stream":"PTuO","pug-error":"eq22","./lib/inline-tags":"cUq9"}],"gdoB":[function(require,module,exports) {
  "use strict";function e(a,c,r,t){r&&"object"==typeof r&&void 0===t&&(t=r,r=null);var n=(t=t||{includeDependencies:!1}).parents=t.parents||[],l=function e(c){if(Array.isArray(c)&&!e.arrayAllowed)throw new Error("replace() can only be called with an array if the last parent is a Block or NamedBlock");a=c};if(l.arrayAllowed=n[0]&&(/^(Named)?Block$/.test(n[0].type)||"RawInclude"===n[0].type&&"IncludeFilter"===a.type),c){if(!1===c(a,l))return a;if(Array.isArray(a))return s(a)}switch(n.unshift(a),a.type){case"NamedBlock":case"Block":a.nodes=s(a.nodes);break;case"Case":case"Filter":case"Mixin":case"Tag":case"InterpolatedTag":case"When":case"Code":case"While":a.block&&(a.block=e(a.block,c,r,t));break;case"Each":a.block&&(a.block=e(a.block,c,r,t)),a.alternate&&(a.alternate=e(a.alternate,c,r,t));break;case"EachOf":a.block&&(a.block=e(a.block,c,r,t));break;case"Conditional":a.consequent&&(a.consequent=e(a.consequent,c,r,t)),a.alternate&&(a.alternate=e(a.alternate,c,r,t));break;case"Include":e(a.block,c,r,t),e(a.file,c,r,t);break;case"Extends":e(a.file,c,r,t);break;case"RawInclude":a.filters=s(a.filters),e(a.file,c,r,t);break;case"Attrs":case"BlockComment":case"Comment":case"Doctype":case"IncludeFilter":case"MixinBlock":case"YieldBlock":case"Text":break;case"FileReference":t.includeDependencies&&a.ast&&e(a.ast,c,r,t);break;default:throw new Error("Unexpected node type "+a.type)}return n.shift(),r&&r(a,l),a;function s(a){return a.reduce(function(a,n){var l=e(n,c,r,t);return Array.isArray(l)?a.concat(l):a.concat([l])},[])}}module.exports=e;
  },{}],"tlUP":[function(require,module,exports) {
  "use strict";var e=require("fs"),r=require("path"),t=require("pug-walk"),n=require("object-assign");function i(e,r){return r=o(r),e=JSON.parse(JSON.stringify(e)),t(e,function(e){if(void 0===e.str&&("Include"===e.type||"RawInclude"===e.type||"Extends"===e.type)){var t,o,s,a=e.file;if("FileReference"!==a.type)throw new Error('Expected file.type to be "FileReference"');try{t=r.resolve(a.path,a.filename,r),a.fullPath=t,o=(s=r.read(t,r)).toString("utf8")}catch(u){throw u.message+="\n    at "+e.filename+" line "+e.line,u}a.str=o,a.raw=s,"Extends"!==e.type&&"Include"!==e.type||(a.ast=i.string(o,n({},r,{filename:t})))}})}function o(e){return i.validateOptions(e),n({resolve:i.resolve,read:i.read},e)}module.exports=i,i.string=function(e,r){var t=(r=n(o(r),{src:e})).lex(e,r);return i(r.parse(t,r),r)},i.file=function(e,r){var t=(r=n(o(r),{filename:e})).read(e).toString("utf8");return i.string(t,r)},i.resolve=function(e,t,n){if("/"!==(e=e.trim())[0]&&!t)throw new Error('the "filename" option is required to use includes and extends with "relative" paths');if("/"===e[0]&&!n.basedir)throw new Error('the "basedir" option is required to use includes and extends with "absolute" paths');return e=r.join("/"===e[0]?n.basedir:r.dirname(t.trim()),e)},i.read=function(r,t){return e.readFileSync(r)},i.validateOptions=function(e){if("object"!=typeof e)throw new TypeError("options must be an object");if("function"!=typeof e.lex)throw new TypeError("options.lex must be a function");if("function"!=typeof e.parse)throw new TypeError("options.parse must be a function");if(e.resolve&&"function"!=typeof e.resolve)throw new TypeError("options.resolve must be a function");if(e.read&&"function"!=typeof e.read)throw new TypeError("options.read must be a function")};
  },{"fs":"rDCW","path":"UUq2","pug-walk":"gdoB","object-assign":"J4Nk"}],"AARE":[function(require,module,exports) {
  var global = arguments[3];
  var e=arguments[3];function t(e){r.length||(n(),a=!0),r[r.length]=e}module.exports=t;var n,r=[],a=!1,o=0,u=1024;function l(){for(;o<r.length;){var e=o;if(o+=1,r[e].call(),o>u){for(var t=0,n=r.length-o;t<n;t++)r[t]=r[t+o];r.length-=o,o=0}}r.length=0,o=0,a=!1}var i=void 0!==e?e:self,c=i.MutationObserver||i.WebKitMutationObserver;function f(e){var t=1,n=new c(e),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){t=-t,r.data=t}}function v(e){return function(){var t=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(t),clearInterval(n),e()}}}n="function"==typeof c?f(l):v(l),t.requestFlush=n,t.makeRequestCallFromTimer=v;
  },{}],"TRyX":[function(require,module,exports) {
  "use strict";var n=require("asap/raw");function t(){}var r=null,o={};function e(n){try{return n.then}catch(t){return r=t,o}}function i(n,t){try{return n(t)}catch(e){return r=e,o}}function u(n,t,e){try{n(t,e)}catch(i){return r=i,o}}function f(n){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof n)throw new TypeError("Promise constructor's argument is not a function");this._40=0,this._65=0,this._55=null,this._72=null,n!==t&&v(n,this)}function c(n,r,o){return new n.constructor(function(e,i){var u=new f(t);u.then(e,i),_(n,new a(r,o,u))})}function _(n,t){for(;3===n._65;)n=n._55;if(f._37&&f._37(n),0===n._65)return 0===n._40?(n._40=1,void(n._72=t)):1===n._40?(n._40=2,void(n._72=[n._72,t])):void n._72.push(t);s(n,t)}function s(t,e){n(function(){var n=1===t._65?e.onFulfilled:e.onRejected;if(null!==n){var u=i(n,t._55);u===o?h(e.promise,r):l(e.promise,u)}else 1===t._65?l(e.promise,t._55):h(e.promise,t._55)})}function l(n,t){if(t===n)return h(n,new TypeError("A promise cannot be resolved with itself."));if(t&&("object"==typeof t||"function"==typeof t)){var i=e(t);if(i===o)return h(n,r);if(i===n.then&&t instanceof f)return n._65=3,n._55=t,void p(n);if("function"==typeof i)return void v(i.bind(t),n)}n._65=1,n._55=t,p(n)}function h(n,t){n._65=2,n._55=t,f._87&&f._87(n,t),p(n)}function p(n){if(1===n._40&&(_(n,n._72),n._72=null),2===n._40){for(var t=0;t<n._72.length;t++)_(n,n._72[t]);n._72=null}}function a(n,t,r){this.onFulfilled="function"==typeof n?n:null,this.onRejected="function"==typeof t?t:null,this.promise=r}function v(n,t){var e=!1,i=u(n,function(n){e||(e=!0,l(t,n))},function(n){e||(e=!0,h(t,n))});e||i!==o||(e=!0,h(t,r))}module.exports=f,f._37=null,f._87=null,f._61=t,f.prototype.then=function(n,r){if(this.constructor!==f)return c(this,n,r);var o=new f(t);return _(this,new a(n,r,o)),o};
  },{"asap/raw":"AARE"}],"FnsT":[function(require,module,exports) {
  "use strict";var t=require("./core.js");module.exports=t,t.prototype.done=function(t,e){(arguments.length?this.then.apply(this,arguments):this).then(null,function(t){setTimeout(function(){throw t},0)})};
  },{"./core.js":"TRyX"}],"BHKV":[function(require,module,exports) {
  "use strict";var t=require("./core.js");module.exports=t,t.prototype.finally=function(e){return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})};
  },{"./core.js":"TRyX"}],"rSr8":[function(require,module,exports) {
  "use strict";var n=require("./core.js");module.exports=n;var t=u(!0),e=u(!1),r=u(null),o=u(void 0),i=u(0),f=u("");function u(t){var e=new n(n._61);return e._65=1,e._55=t,e}n.resolve=function(c){if(c instanceof n)return c;if(null===c)return r;if(void 0===c)return o;if(!0===c)return t;if(!1===c)return e;if(0===c)return i;if(""===c)return f;if("object"==typeof c||"function"==typeof c)try{var a=c.then;if("function"==typeof a)return new n(a.bind(c))}catch(l){return new n(function(n,t){t(l)})}return u(c)},n.all=function(t){var e=Array.prototype.slice.call(t);return new n(function(t,r){if(0===e.length)return t([]);var o=e.length;function i(f,u){if(u&&("object"==typeof u||"function"==typeof u)){if(u instanceof n&&u.then===n.prototype.then){for(;3===u._65;)u=u._55;return 1===u._65?i(f,u._55):(2===u._65&&r(u._55),void u.then(function(n){i(f,n)},r))}var c=u.then;if("function"==typeof c)return void new n(c.bind(u)).then(function(n){i(f,n)},r)}e[f]=u,0==--o&&t(e)}for(var f=0;f<e.length;f++)i(f,e[f])})},n.reject=function(t){return new n(function(n,e){e(t)})},n.race=function(t){return new n(function(e,r){t.forEach(function(t){n.resolve(t).then(e,r)})})},n.prototype.catch=function(n){return this.then(null,n)};
  },{"./core.js":"TRyX"}],"Ezpt":[function(require,module,exports) {
  "use strict";var t=require("./raw"),r=[],n=[],e=t.makeRequestCallFromTimer(l);function l(){if(n.length)throw n.shift()}function o(n){var e;(e=r.length?r.pop():new i).task=n,t(e)}function i(){this.task=null}module.exports=o,i.prototype.call=function(){try{this.task.call()}catch(t){o.onerror?o.onerror(t):(n.push(t),e())}finally{this.task=null,r[r.length]=this}};
  },{"./raw":"AARE"}],"fojd":[function(require,module,exports) {
  "use strict";var n=require("./core.js"),r=require("asap");module.exports=n,n.denodeify=function(n,r){return"number"==typeof r&&r!==1/0?t(n,r):o(n)};var e="function (err, res) {if (err) { rj(err); } else { rs(res); }}";function t(r,t){for(var o=[],i=0;i<t;i++)o.push("a"+i);var s=["return function ("+o.join(",")+") {","var self = this;","return new Promise(function (rs, rj) {","var res = fn.call(",["self"].concat(o).concat([e]).join(","),");","if (res &&",'(typeof res === "object" || typeof res === "function") &&','typeof res.then === "function"',") {rs(res);}","});","};"].join("");return Function(["Promise","fn"],s)(n,r)}function o(r){for(var t=Math.max(r.length-1,3),o=[],i=0;i<t;i++)o.push("a"+i);var s=["return function ("+o.join(",")+") {","var self = this;","var args;","var argLength = arguments.length;","if (arguments.length > "+t+") {","args = new Array(arguments.length + 1);","for (var i = 0; i < arguments.length; i++) {","args[i] = arguments[i];","}","}","return new Promise(function (rs, rj) {","var cb = "+e+";","var res;","switch (argLength) {",o.concat(["extra"]).map(function(n,r){return"case "+r+":res = fn.call("+["self"].concat(o.slice(0,r)).concat("cb").join(",")+");break;"}).join(""),"default:","args[argLength] = cb;","res = fn.apply(self, args);","}","if (res &&",'(typeof res === "object" || typeof res === "function") &&','typeof res.then === "function"',") {rs(res);}","});","};"].join("");return Function(["Promise","fn"],s)(n,r)}n.nodeify=function(e){return function(){var t=Array.prototype.slice.call(arguments),o="function"==typeof t[t.length-1]?t.pop():null,i=this;try{return e.apply(this,arguments).nodeify(o,i)}catch(s){if(null==o)return new n(function(n,r){r(s)});r(function(){o.call(i,s)})}}},n.prototype.nodeify=function(n,e){if("function"!=typeof n)return this;this.then(function(t){r(function(){n.call(e,null,t)})},function(t){r(function(){n.call(e,t)})})};
  },{"./core.js":"TRyX","asap":"Ezpt"}],"q0eS":[function(require,module,exports) {
  "use strict";var t=require("./core.js");module.exports=t,t.enableSynchronous=function(){t.prototype.isPending=function(){return 0==this.getState()},t.prototype.isFulfilled=function(){return 1==this.getState()},t.prototype.isRejected=function(){return 2==this.getState()},t.prototype.getValue=function(){if(3===this._65)return this._55.getValue();if(!this.isFulfilled())throw new Error("Cannot get a value of an unfulfilled promise.");return this._55},t.prototype.getReason=function(){if(3===this._65)return this._55.getReason();if(!this.isRejected())throw new Error("Cannot get a rejection reason of a non-rejected promise.");return this._55},t.prototype.getState=function(){return 3===this._65?this._55.getState():-1===this._65||-2===this._65?0:this._65}},t.disableSynchronous=function(){t.prototype.isPending=void 0,t.prototype.isFulfilled=void 0,t.prototype.isRejected=void 0,t.prototype.getValue=void 0,t.prototype.getReason=void 0,t.prototype.getState=void 0};
  },{"./core.js":"TRyX"}],"gRqm":[function(require,module,exports) {
  "use strict";module.exports=require("./core.js"),require("./done.js"),require("./finally.js"),require("./es6-extensions.js"),require("./node-extensions.js"),require("./synchronous.js");
  },{"./core.js":"TRyX","./done.js":"FnsT","./finally.js":"BHKV","./es6-extensions.js":"rSr8","./node-extensions.js":"fojd","./synchronous.js":"q0eS"}],"Hb1a":[function(require,module,exports) {
  "use strict";module.exports=require("./lib");
  },{"./lib":"gRqm"}],"ZcPk":[function(require,module,exports) {
  function t(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then}module.exports=t,module.exports.default=t;
  },{}],"kv82":[function(require,module,exports) {
  "use strict";var e=require("fs"),n=require("assert"),i=require("promise"),r=require("is-promise"),t=module.exports=function(e){return new m(e)};function o(e){if("function"==typeof e)return{fn:e,dependencies:[]};if(e&&"object"==typeof e&&"function"==typeof e.fn){if("dependencies"in e){if(!Array.isArray(e.dependencies))throw new Error("Result should have a dependencies property that is an array")}else e.dependencies=[];return e}throw new Error("Invalid result object from transform.")}function s(e,n){return i.resolve(e).then(function(e){return e&&r(e.fn)?e.fn.then(function(n){return e.fn=n,e}):e}).then(t.normalizeFn).nodeify(n)}function l(e){if("string"==typeof e)return{body:e,dependencies:[]};if(e&&"object"==typeof e&&"string"==typeof e.body){if("dependencies"in e){if(!Array.isArray(e.dependencies))throw new Error("Result should have a dependencies property that is an array")}else e.dependencies=[];return e}throw new Error("Invalid result object from transform.")}function c(e,n){return i.resolve(e).then(function(e){return e&&r(e.body)?e.body.then(function(n){return e.body=n,e}):e}).then(t.normalize).nodeify(n)}function m(e){n(e,"Transformer must be an object"),n("string"==typeof e.name,"Transformer must have a name"),n("string"==typeof e.outputFormat,"Transformer must have an output format"),n(["compile","compileAsync","compileFile","compileFileAsync","compileClient","compileClientAsync","compileFileClient","compileFileClientAsync","render","renderAsync","renderFile","renderFileAsync"].some(function(n){return"function"==typeof e[n]}),"Transformer must implement at least one of the potential methods."),this._tr=e,this.name=this._tr.name,this.outputFormat=this._tr.outputFormat,this.inputFormats=this._tr.inputFormats||[this.name]}t.Transformer=m,t.normalizeFn=o,t.normalizeFnAsync=s,t.normalize=l,t.normalizeAsync=c,e.readFile?(t.readFile=i.denodeify(e.readFile),t.readFileSync=e.readFileSync):(t.readFile=function(){throw new Error("fs.readFile unsupported")},t.readFileSync=function(){throw new Error("fs.readFileSync unsupported")});var p={compile:["compile","render"],compileAsync:["compileAsync","compile","render"],compileFile:["compileFile","compile","renderFile","render"],compileFileAsync:["compileFileAsync","compileFile","compileAsync","compile","renderFile","render"],compileClient:["compileClient"],compileClientAsync:["compileClientAsync","compileClient"],compileFileClient:["compileFileClient","compileClient"],compileFileClientAsync:["compileFileClientAsync","compileFileClient","compileClientAsync","compileClient"],render:["render","compile"],renderAsync:["renderAsync","render","compileAsync","compile"],renderFile:["renderFile","render","compileFile","compile"],renderFileAsync:["renderFileAsync","renderFile","renderAsync","render","compileFileAsync","compileFile","compileAsync","compile"]};m.prototype._hasMethod=function(e){return"function"==typeof this._tr[e]},m.prototype.can=function(e){return p[e].some(function(e){return this._hasMethod(e)}.bind(this))},m.prototype.compile=function(e,n){if(!this._hasMethod("compile")){if(this.can("render")){var i=this;return{fn:function(r){return t.normalize(i._tr.render(e,n,r)).body},dependencies:[]}}throw this.can("compileAsync")?new Error('The Transform "'+this.name+'" does not support synchronous compilation'):this.can("compileFileAsync")?new Error('The Transform "'+this.name+'" does not support compiling plain strings'):new Error('The Transform "'+this.name+'" does not support compilation')}return t.normalizeFn(this._tr.compile(e,n))},m.prototype.compileAsync=function(e,n,r){return this.can("compileAsync")?this._hasMethod("compileAsync")?t.normalizeFnAsync(this._tr.compileAsync(e,n),r):t.normalizeFnAsync(this.compile(e,n),r):i.reject(new Error('The Transform "'+this.name+'" does not support compiling plain strings')).nodeify(r)},m.prototype.compileFile=function(e,n){if(!this.can("compileFile"))throw new Error('The Transform "'+this.name+'" does not support synchronous compilation');return this._hasMethod("compileFile")?t.normalizeFn(this._tr.compileFile(e,n)):this._hasMethod("renderFile")?t.normalizeFn(function(i){return t.normalize(this._tr.renderFile(e,n,i)).body}.bind(this)):(n||(n={}),void 0===n.filename&&(n.filename=e),this.compile(t.readFileSync(e,"utf8"),n))},m.prototype.compileFileAsync=function(e,n,r){return this.can("compileFileAsync")?this._hasMethod("compileFileAsync")?t.normalizeFnAsync(this._tr.compileFileAsync(e,n),r):this._hasMethod("compileFile")||this._hasMethod("renderFile")?t.normalizeFnAsync(this.compileFile(e,n),r):(n||(n={}),void 0===n.filename&&(n.filename=e),t.normalizeFnAsync(t.readFile(e,"utf8").then(function(e){return this._hasMethod("compileAsync")?this._tr.compileAsync(e,n):this.compile(e,n)}.bind(this)),r)):i.reject(new Error('The Transform "'+this.name+'" does not support compilation'))},m.prototype.compileClient=function(e,n){if(!this.can("compileClient"))throw this.can("compileClientAsync")?new Error('The Transform "'+this.name+'" does not support compiling for the client synchronously.'):this.can("compileFileClientAsync")?new Error('The Transform "'+this.name+'" does not support compiling for the client from a string.'):new Error('The Transform "'+this.name+'" does not support compiling for the client');return t.normalize(this._tr.compileClient(e,n))},m.prototype.compileClientAsync=function(e,n,r){return this.can("compileClientAsync")?this._hasMethod("compileClientAsync")?t.normalizeAsync(this._tr.compileClientAsync(e,n),r):t.normalizeAsync(this._tr.compileClient(e,n),r):this.can("compileFileClientAsync")?i.reject(new Error('The Transform "'+this.name+'" does not support compiling for the client from a string.')).nodeify(r):i.reject(new Error('The Transform "'+this.name+'" does not support compiling for the client')).nodeify(r)},m.prototype.compileFileClient=function(e,n){if(!this.can("compileFileClient"))throw this.can("compileFileClientAsync")?new Error('The Transform "'+this.name+'" does not support compiling for the client synchronously.'):new Error('The Transform "'+this.name+'" does not support compiling for the client');return this._hasMethod("compileFileClient")?t.normalize(this._tr.compileFileClient(e,n)):(n||(n={}),void 0===n.filename&&(n.filename=e),t.normalize(this._tr.compileClient(t.readFileSync(e,"utf8"),n)))},m.prototype.compileFileClientAsync=function(e,n,r){return this.can("compileFileClientAsync")?this._hasMethod("compileFileClientAsync")?t.normalizeAsync(this._tr.compileFileClientAsync(e,n),r):this._hasMethod("compileFileClient")?t.normalizeAsync(this._tr.compileFileClient(e,n),r):(n||(n={}),void 0===n.filename&&(n.filename=e),t.normalizeAsync(t.readFile(e,"utf8").then(function(e){return this._hasMethod("compileClientAsync")?this._tr.compileClientAsync(e,n):this._tr.compileClient(e,n)}.bind(this)),r)):i.reject(new Error('The Transform "'+this.name+'" does not support compiling for the client')).nodeify(r)},m.prototype.render=function(e,n,i){if(!this.can("render"))throw this.can("renderAsync")?new Error('The Transform "'+this.name+'" does not support rendering synchronously.'):this.can("renderFileAsync")?new Error('The Transform "'+this.name+'" does not support rendering from a string.'):new Error('The Transform "'+this.name+'" does not support rendering');if(this._hasMethod("render"))return t.normalize(this._tr.render(e,n,i));var r=t.normalizeFn(this._tr.compile(e,n)),o=r.fn(i||n);if("string"!=typeof o)throw new Error('The Transform "'+this.name+'" does not support rendering synchronously.');return t.normalize({body:o,dependencies:r.dependencies})},m.prototype.renderAsync=function(e,n,r,o){return"function"==typeof r&&(o=r,r=n),this.can("renderAsync")?this._hasMethod("renderAsync")?t.normalizeAsync(this._tr.renderAsync(e,n,r),o):this._hasMethod("render")?t.normalizeAsync(this._tr.render(e,n,r),o):t.normalizeAsync(this.compileAsync(e,n).then(function(e){return{body:e.fn(r||n),dependencies:e.dependencies}}),o):this.can("renderFileAsync")?i.reject(new Error('The Transform "'+this.name+'" does not support rendering from a string.')).nodeify(o):i.reject(new Error('The Transform "'+this.name+'" does not support rendering')).nodeify(o)},m.prototype.renderFile=function(e,n,i){if(!this.can("renderFile"))throw new Error('The Transform "'+this.name+'" does not support rendering synchronously.');if(this._hasMethod("renderFile"))return t.normalize(this._tr.renderFile(e,n,i));if(this._hasMethod("render"))return n||(n={}),void 0===n.filename&&(n.filename=e),t.normalize(this._tr.render(t.readFileSync(e,"utf8"),n,i));var r=this.compileFile(e,n);return t.normalize({body:r.fn(i||n),dependencies:r.dependencies})},m.prototype.renderFileAsync=function(e,n,i,r){if(!this.can("renderFileAsync"))throw new Error('The Transform "'+this.name+'" does not support rendering.');return"function"==typeof i&&(r=i,i=n),this._hasMethod("renderFileAsync")?t.normalizeAsync(this._tr.renderFileAsync(e,n,i),r):this._hasMethod("renderFile")?t.normalizeAsync(this._tr.renderFile(e,n,i),r):this._hasMethod("compile")||this._hasMethod("compileAsync")||this._hasMethod("compileFile")||this._hasMethod("compileFileAsync")?t.normalizeAsync(this.compileFileAsync(e,n).then(function(e){return{body:e.fn(i||n),dependencies:e.dependencies}}),r):(n||(n={}),void 0===n.filename&&(n.filename=e),t.normalizeAsync(t.readFile(e,"utf8").then(function(e){return this.renderAsync(e,n,i)}.bind(this)),r))};
  },{"fs":"rDCW","assert":"DlZn","promise":"Hb1a","is-promise":"ZcPk"}],"st34":[function(require,module,exports) {
  module.exports=function(){var r=Error.prepareStackTrace;Error.prepareStackTrace=function(r,e){return e};var e=(new Error).stack;return Error.prepareStackTrace=r,e[2].getFileName()};
  },{}],"WE0K":[function(require,module,exports) {
  var process = require("process");
  var e=require("process"),r="win32"===e.platform,t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,n=/^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/,o={};function a(e){var r=t.exec(e),o=(r[1]||"")+(r[2]||""),a=r[3]||"",s=n.exec(a);return[o,s[1],s[2],s[3]]}o.parse=function(e){if("string"!=typeof e)throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var r=a(e);if(!r||4!==r.length)throw new TypeError("Invalid path '"+e+"'");return{root:r[0],dir:r[0]+r[1].slice(0,-1),base:r[2],ext:r[3],name:r[2].slice(0,r[2].length-r[3].length)}};var s=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i={};function p(e){return s.exec(e).slice(1)}i.parse=function(e){if("string"!=typeof e)throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var r=p(e);if(!r||4!==r.length)throw new TypeError("Invalid path '"+e+"'");return r[1]=r[1]||"",r[2]=r[2]||"",r[3]=r[3]||"",{root:r[0],dir:r[0]+r[1].slice(0,-1),base:r[2],ext:r[3],name:r[2].slice(0,r[2].length-r[3].length)}},module.exports=r?o.parse:i.parse,module.exports.posix=i.parse,module.exports.win32=o.parse;
  },{"process":"pBGv"}],"QbZ0":[function(require,module,exports) {
  var r=require("path"),t=r.parse||require("path-parse"),e=function(e,n){var o="/";/^([A-Za-z]:)/.test(e)?o="":/^\\\\/.test(e)&&(o="\\\\");for(var u=[e],a=t(e);a.dir!==u[u.length-1];)u.push(a.dir),a=t(a.dir);return u.reduce(function(t,e){return t.concat(n.map(function(t){return r.resolve(o,e,t)}))},[])};module.exports=function(r,t,n){var o=t&&t.moduleDirectory?[].concat(t.moduleDirectory):["node_modules"];if(t&&"function"==typeof t.paths)return t.paths(n,r,function(){return e(r,o)},t);var u=e(r,o);return t&&t.paths?u.concat(t.paths):u};
  },{"path":"UUq2","path-parse":"WE0K"}],"AMTq":[function(require,module,exports) {
  module.exports=function(e,n){return n||{}};
  },{}],"ZBhP":[function(require,module,exports) {
  module.exports={assert:!0,async_hooks:">= 8",buffer_ieee754:"< 0.9.7",buffer:!0,child_process:!0,cluster:!0,console:!0,constants:!0,crypto:!0,_debug_agent:">= 1 && < 8",_debugger:"< 8",dgram:!0,dns:!0,domain:!0,events:!0,freelist:"< 6",fs:!0,"fs/promises":[">= 10 && < 10.1",">= 14"],_http_agent:">= 0.11.1",_http_client:">= 0.11.1",_http_common:">= 0.11.1",_http_incoming:">= 0.11.1",_http_outgoing:">= 0.11.1",_http_server:">= 0.11.1",http:!0,http2:">= 8.8",https:!0,inspector:">= 8.0.0",_linklist:"< 8",module:!0,net:!0,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12",os:!0,path:!0,perf_hooks:">= 8.5",process:">= 1",punycode:!0,querystring:!0,readline:!0,repl:!0,smalloc:">= 0.11.5 && < 3",_stream_duplex:">= 0.9.4",_stream_transform:">= 0.9.4",_stream_wrap:">= 1.4.1",_stream_passthrough:">= 0.9.4",_stream_readable:">= 0.9.4",_stream_writable:">= 0.9.4",stream:!0,string_decoder:!0,sys:!0,timers:!0,_tls_common:">= 0.11.13",_tls_legacy:">= 0.11.3 && < 10",_tls_wrap:">= 0.11.3",tls:!0,trace_events:">= 10",tty:!0,url:!0,util:!0,"v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],v8:">= 1",vm:!0,wasi:">= 13.4 && < 13.5",worker_threads:">= 11.7",zlib:!0};
  },{}],"HfqQ":[function(require,module,exports) {
  var process = require("process");
  var r=require("process"),e=r.versions&&r.versions.node&&r.versions.node.split(".")||[];function n(r){for(var n=r.split(" "),t=n.length>1?n[0]:"=",o=(n.length>1?n[1]:n[0]).split("."),i=0;i<3;++i){var u=Number(e[i]||0),f=Number(o[i]||0);if(u!==f)return"<"===t?u<f:">="===t&&u>=f}return">="===t}function t(r){var e=r.split(/ ?&& ?/);if(0===e.length)return!1;for(var t=0;t<e.length;++t)if(!n(e[t]))return!1;return!0}function o(r){if("boolean"==typeof r)return r;if(r&&"object"==typeof r){for(var e=0;e<r.length;++e)if(t(r[e]))return!0;return!1}return t(r)}var i=require("./core.json"),u={};for(var f in i)Object.prototype.hasOwnProperty.call(i,f)&&(u[f]=o(i[f]));module.exports=u;
  },{"./core.json":"ZBhP","process":"pBGv"}],"SjoD":[function(require,module,exports) {
  var r=require("./core");module.exports=function(e){return Object.prototype.hasOwnProperty.call(r,e)};
  },{"./core":"HfqQ"}],"Cmex":[function(require,module,exports) {
  var process = require("process");
  var n=require("process"),e=require("fs"),r=require("path"),i=require("./caller.js"),t=require("./node-modules-paths.js"),o=require("./normalize-options.js"),u=require("./is-core"),a=e.realpath&&"function"==typeof e.realpath.native?e.realpath.native:e.realpath,l=function(n,r){e.stat(n,function(n,e){return n?"ENOENT"===n.code||"ENOTDIR"===n.code?r(null,!1):r(n):r(null,e.isFile()||e.isFIFO())})},c=function(n,r){e.stat(n,function(n,e){return n?"ENOENT"===n.code||"ENOTDIR"===n.code?r(null,!1):r(n):r(null,e.isDirectory())})},f=function(n,e){a(n,function(r,i){r&&"ENOENT"!==r.code?e(r):e(null,r?n:i)})},s=function(n,e,r,i){r&&!1===r.preserveSymlinks?n(e,i):i(null,e)},d=function(n,e,i){for(var o=t(e,i,n),u=0;u<o.length;u++)o[u]=r.join(o[u],n);return o};module.exports=function(t,a,v){var p=v,m=a;if("function"==typeof a&&(p=m,m={}),"string"!=typeof t){var g=new TypeError("Path must be a string.");return n.nextTick(function(){p(g)})}var h=(m=o(t,m)).isFile||l,k=m.isDirectory||c,N=m.readFile||e.readFile,E=m.realpath||f,F=m.packageIterator,O=m.extensions||[".js"],j=m.basedir||r.dirname(i()),y=m.filename||j;m.paths=m.paths||[];var T,D=r.resolve(j);function x(n,e,r){n?p(n):e?p(null,e,r):I(T,function(n,e,r){if(n)p(n);else if(e)s(E,e,m,function(n,e){n?p(n):p(null,e,r)});else{var i=new Error("Cannot find module '"+t+"' from '"+y+"'");i.code="MODULE_NOT_FOUND",p(i)}})}function q(e,i,t){var o=i,u=t;"function"==typeof o&&(u=o,o=void 0),function e(i,t,o){if(0===i.length)return u(null,void 0,o);var a=t+i[0];var l=o;l?c(null,l):function e(i,t){if(""===i||"/"===i)return t(null);if("win32"===n.platform&&/^\w:[\/\\]*$/.test(i))return t(null);if(/[\/\\]node_modules[\/\\]*$/.test(i))return t(null);s(E,i,m,function(n,o){if(n)return e(r.dirname(i),t);var u=r.join(o,"package.json");h(u,function(n,o){if(!o)return e(r.dirname(i),t);N(u,function(n,e){n&&t(n);try{var r=JSON.parse(e)}catch(o){}r&&m.packageFilter&&(r=m.packageFilter(r,u)),t(null,r,i)})})})}(r.dirname(a),c);function c(n,o,c){if(l=o,n)return u(n);if(c&&l&&m.pathFilter){var s=r.relative(c,a),d=s.slice(0,s.length-i[0].length),v=m.pathFilter(l,t,d);if(v)return e([""].concat(O.slice()),r.resolve(c,v),l)}h(a,f)}function f(n,r){return n?u(n):r?u(null,a,l):void e(i.slice(1),t,l)}}([""].concat(O),e,o)}function I(n,e,i){var t=i,o=e;"function"==typeof o&&(t=o,o=m.package),s(E,n,m,function(e,i){if(e)return t(e);var u=r.join(i,"package.json");h(u,function(e,i){return e?t(e):i?void N(u,function(e,i){if(e)return t(e);try{var o=JSON.parse(i)}catch(l){}if(o&&m.packageFilter&&(o=m.packageFilter(o,u)),o&&o.main){if("string"!=typeof o.main){var a=new TypeError("package “"+o.name+"” `main` must be a string");return a.code="INVALID_PACKAGE_MAIN",t(a)}return"."!==o.main&&"./"!==o.main||(o.main="index"),void q(r.resolve(n,o.main),o,function(e,i,o){return e?t(e):i?t(null,i,o):o?void I(r.resolve(n,o.main),o,function(e,i,o){return e?t(e):i?t(null,i,o):void q(r.join(n,"index"),o,t)}):q(r.join(n,"index"),o,t)})}q(r.join(n,"/index"),o,t)}):q(r.join(n,"index"),o,t)})})}s(E,D,m,function(n,e){n?p(n):function(n){if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[\/\\])/.test(t))T=r.resolve(n,t),"."!==t&&".."!==t&&"/"!==t.slice(-1)||(T+="/"),/\/$/.test(t)&&T===n?I(T,m.package,x):q(T,m.package,x);else{if(u(t))return p(null,t);!function(n,e,i){var t=function(){return d(n,e,m)};!function n(e,i){if(0===i.length)return e(null,void 0);var t=i[0];k(r.dirname(t),function o(n,a){if(n)return e(n);if(!a)return function n(e,i){if(0===i.length)return e(null,void 0);var t=i[0];k(r.dirname(t),o);function o(r,o){return r?e(r):o?void q(t,m.package,u):n(e,i.slice(1))}function u(n,r,i){return n?e(n):r?e(null,r,i):void I(t,m.package,a)}function a(r,t,o){return r?e(r):t?e(null,t,o):void n(e,i.slice(1))}}(e,i.slice(1));q(t,m.package,u)});function o(r,o){return r?e(r):o?void q(t,m.package,u):n(e,i.slice(1))}function u(n,r,i){return n?e(n):r?e(null,r,i):void I(t,m.package,a)}function a(r,t,o){return r?e(r):t?e(null,t,o):void n(e,i.slice(1))}}(i,F?F(n,e,t,m):t())}(t,n,function(n,e,r){if(n)p(n);else{if(e)return s(E,e,m,function(n,e){n?p(n):p(null,e,r)});var i=new Error("Cannot find module '"+t+"' from '"+y+"'");i.code="MODULE_NOT_FOUND",p(i)}})}}(e)})};
  },{"fs":"rDCW","path":"UUq2","./caller.js":"st34","./node-modules-paths.js":"QbZ0","./normalize-options.js":"AMTq","./is-core":"SjoD","process":"pBGv"}],"tKs8":[function(require,module,exports) {
  var process = require("process");
  var r=require("process"),e=require("./is-core"),t=require("fs"),n=require("path"),i=require("./caller.js"),a=require("./node-modules-paths.js"),o=require("./normalize-options.js"),c=t.realpathSync&&"function"==typeof t.realpathSync.native?t.realpathSync.native:t.realpathSync,u=function(r){try{var e=t.statSync(r)}catch(n){if(n&&("ENOENT"===n.code||"ENOTDIR"===n.code))return!1;throw n}return e.isFile()||e.isFIFO()},s=function(r){try{var e=t.statSync(r)}catch(n){if(n&&("ENOENT"===n.code||"ENOTDIR"===n.code))return!1;throw n}return e.isDirectory()},f=function(r){try{return c(r)}catch(e){if("ENOENT"!==e.code)throw e}return r},l=function(r,e,t){return t&&!1===t.preserveSymlinks?r(e):e},v=function(r,e,t){for(var i=a(e,t,r),o=0;o<i.length;o++)i[o]=n.join(i[o],r);return i};module.exports=function(a,c){if("string"!=typeof a)throw new TypeError("Path must be a string.");var p=o(a,c),d=p.isFile||u,h=p.readFileSync||t.readFileSync,m=p.isDirectory||s,y=p.realpathSync||f,g=p.packageIterator,F=p.extensions||[".js"],N=p.basedir||n.dirname(i()),E=p.filename||N;p.paths=p.paths||[];var k=l(y,n.resolve(N),p);if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[\/\\])/.test(a)){var S=n.resolve(k,a);"."!==a&&".."!==a&&"/"!==a.slice(-1)||(S+="/");var w=T(S)||q(S);if(w)return l(y,w,p)}else{if(e(a))return a;var O=function(r,e){for(var t=function(){return v(r,e,p)},i=g?g(r,e,t,p):t(),a=0;a<i.length;a++){var o=i[a];if(m(n.dirname(o))){var c=T(o);if(c)return c;var u=q(o);if(u)return u}}}(a,k);if(O)return l(y,O,p)}var j=new Error("Cannot find module '"+a+"' from '"+E+"'");throw j.code="MODULE_NOT_FOUND",j;function T(e){var t=function e(t){if(""===t||"/"===t)return;if("win32"===r.platform&&/^\w:[\/\\]*$/.test(t))return;if(/[\/\\]node_modules[\/\\]*$/.test(t))return;var i=n.join(l(y,t,p),"package.json");if(!d(i))return e(n.dirname(t));var a=h(i);try{var o=JSON.parse(a)}catch(c){}o&&p.packageFilter&&(o=p.packageFilter(o,t));return{pkg:o,dir:t}}(n.dirname(e));if(t&&t.dir&&t.pkg&&p.pathFilter){var i=n.relative(t.dir,e),a=p.pathFilter(t.pkg,e,i);a&&(e=n.resolve(t.dir,a))}if(d(e))return e;for(var o=0;o<F.length;o++){var c=e+F[o];if(d(c))return c}}function q(r){var e=n.join(l(y,r,p),"/package.json");if(d(e)){try{var t=h(e,"UTF8"),i=JSON.parse(t)}catch(u){}if(i&&p.packageFilter&&(i=p.packageFilter(i,r)),i&&i.main){if("string"!=typeof i.main){var a=new TypeError("package “"+i.name+"” `main` must be a string");throw a.code="INVALID_PACKAGE_MAIN",a}"."!==i.main&&"./"!==i.main||(i.main="index");try{var o=T(n.resolve(r,i.main));if(o)return o;var c=q(n.resolve(r,i.main));if(c)return c}catch(u){}}}return T(n.join(r,"/index"))}};
  },{"./is-core":"SjoD","fs":"rDCW","path":"UUq2","./caller.js":"st34","./node-modules-paths.js":"QbZ0","./normalize-options.js":"AMTq","process":"pBGv"}],"twvp":[function(require,module,exports) {
  var e=require("./lib/async");e.core=require("./lib/core"),e.isCore=require("./lib/is-core"),e.sync=require("./lib/sync"),module.exports=e;
  },{"./lib/async":"Cmex","./lib/core":"HfqQ","./lib/is-core":"SjoD","./lib/sync":"tKs8"}],"ABfX":[function(require,module,exports) {
  var process = require("process");
  var r=require("process"),e=require("jstransformer"),s=require("resolve");function t(r){switch(r){case"js":return"uglify-js";case"css":return"clean-css"}}function n(c,o,a,u,i){var f;i=i||"render";try{try{f=s.sync("jstransformer-"+c,{basedir:u||r.cwd()})}catch(m){f=require.resolve("jstransformer-"+c)}}catch(m){var l=new Error('unknown filter ":'+c+'"');throw l.code="UNKNOWN_FILTER",l}var v=e(require(f)),y=v[i](o,a,a).body;if(a&&a.minify){var d=t(v.outputFormat);if(d)try{y=n(d,y,null,u)}catch(m){}}return y}module.exports=n;
  },{"jstransformer":"kv82","resolve":"twvp","process":"pBGv"}],"J4YF":[function(require,module,exports) {
  "use strict";function t(t){return a(t)||i(t)||s(t)||e()}function e(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(t,e){if(t){if("string"==typeof t)return r(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);return"Object"===s&&t.constructor&&(s=t.constructor.name),"Map"===s||"Set"===s?Array.from(t):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?r(t,e):void 0}}function i(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function a(t){if(Array.isArray(t))return r(t)}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,i=new Array(e);s<e;s++)i[s]=t[s];return i}function n(t,e,s){return(n="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,s){var i=o(t,e);if(i){var a=Object.getOwnPropertyDescriptor(i,e);return a.get?a.get.call(s):a.value}})(t,e,s||t)}function o(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=f(t)););return t}function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=m();return function(){var s,i=f(t);if(e){var a=f(this).constructor;s=Reflect.construct(i,arguments,a)}else s=i.apply(this,arguments);return u(this,s)}}function u(t,e){return!e||"object"!==h(e)&&"function"!=typeof e?d(t):e}function d(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function y(t,e){for(var s=0;s<e.length;s++){var i=e[s];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function v(t,e,s){return e&&y(t.prototype,e),s&&y(t,s),t}function x(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(exports,"__esModule",{value:!0});var P=!0,k=!0,g=!0,b=!0,T=!0,w=!0,A=function t(e){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};x(this,t),this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.updateContext=void 0,this.label=e,this.keyword=s.keyword,this.beforeExpr=!!s.beforeExpr,this.startsExpr=!!s.startsExpr,this.rightAssociative=!!s.rightAssociative,this.isLoop=!!s.isLoop,this.isAssign=!!s.isAssign,this.prefix=!!s.prefix,this.postfix=!!s.postfix,this.binop=null!=s.binop?s.binop:null,this.updateContext=null},E=new Map;function S(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.keyword=t;var s=new A(t,e);return E.set(t,s),s}function C(t,e){return new A(t,{beforeExpr:P,binop:e})}var N={num:new A("num",{startsExpr:k}),bigint:new A("bigint",{startsExpr:k}),decimal:new A("decimal",{startsExpr:k}),regexp:new A("regexp",{startsExpr:k}),string:new A("string",{startsExpr:k}),name:new A("name",{startsExpr:k}),eof:new A("eof"),bracketL:new A("[",{beforeExpr:P,startsExpr:k}),bracketHashL:new A("#[",{beforeExpr:P,startsExpr:k}),bracketBarL:new A("[|",{beforeExpr:P,startsExpr:k}),bracketR:new A("]"),bracketBarR:new A("|]"),braceL:new A("{",{beforeExpr:P,startsExpr:k}),braceBarL:new A("{|",{beforeExpr:P,startsExpr:k}),braceHashL:new A("#{",{beforeExpr:P,startsExpr:k}),braceR:new A("}"),braceBarR:new A("|}"),parenL:new A("(",{beforeExpr:P,startsExpr:k}),parenR:new A(")"),comma:new A(",",{beforeExpr:P}),semi:new A(";",{beforeExpr:P}),colon:new A(":",{beforeExpr:P}),doubleColon:new A("::",{beforeExpr:P}),dot:new A("."),question:new A("?",{beforeExpr:P}),questionDot:new A("?."),arrow:new A("=>",{beforeExpr:P}),template:new A("template"),ellipsis:new A("...",{beforeExpr:P}),backQuote:new A("`",{startsExpr:k}),dollarBraceL:new A("${",{beforeExpr:P,startsExpr:k}),at:new A("@"),hash:new A("#",{startsExpr:k}),interpreterDirective:new A("#!..."),eq:new A("=",{beforeExpr:P,isAssign:b}),assign:new A("_=",{beforeExpr:P,isAssign:b}),incDec:new A("++/--",{prefix:T,postfix:w,startsExpr:k}),bang:new A("!",{beforeExpr:P,prefix:T,startsExpr:k}),tilde:new A("~",{beforeExpr:P,prefix:T,startsExpr:k}),pipeline:C("|>",0),nullishCoalescing:C("??",1),logicalOR:C("||",1),logicalAND:C("&&",2),bitwiseOR:C("|",3),bitwiseXOR:C("^",4),bitwiseAND:C("&",5),equality:C("==/!=/===/!==",6),relational:C("</>/<=/>=",7),bitShift:C("<</>>/>>>",8),plusMin:new A("+/-",{beforeExpr:P,binop:9,prefix:T,startsExpr:k}),modulo:new A("%",{beforeExpr:P,binop:10,startsExpr:k}),star:new A("*",{binop:10}),slash:C("/",10),exponent:new A("**",{beforeExpr:P,binop:11,rightAssociative:!0}),_break:S("break"),_case:S("case",{beforeExpr:P}),_catch:S("catch"),_continue:S("continue"),_debugger:S("debugger"),_default:S("default",{beforeExpr:P}),_do:S("do",{isLoop:g,beforeExpr:P}),_else:S("else",{beforeExpr:P}),_finally:S("finally"),_for:S("for",{isLoop:g}),_function:S("function",{startsExpr:k}),_if:S("if"),_return:S("return",{beforeExpr:P}),_switch:S("switch"),_throw:S("throw",{beforeExpr:P,prefix:T,startsExpr:k}),_try:S("try"),_var:S("var"),_const:S("const"),_while:S("while",{isLoop:g}),_with:S("with"),_new:S("new",{beforeExpr:P,startsExpr:k}),_this:S("this",{startsExpr:k}),_super:S("super",{startsExpr:k}),_class:S("class",{startsExpr:k}),_extends:S("extends",{beforeExpr:P}),_export:S("export"),_import:S("import",{startsExpr:k}),_null:S("null",{startsExpr:k}),_true:S("true",{startsExpr:k}),_false:S("false",{startsExpr:k}),_in:S("in",{beforeExpr:P,binop:7}),_instanceof:S("instanceof",{beforeExpr:P,binop:7}),_typeof:S("typeof",{beforeExpr:P,prefix:T,startsExpr:k}),_void:S("void",{beforeExpr:P,prefix:T,startsExpr:k}),_delete:S("delete",{beforeExpr:P,prefix:T,startsExpr:k})},I=0,L=1,D=2,M=4,R=8,O=16,F=32,B=64,_=128,j=L|D|_,U=1,q=2,V=4,z=8,H=16,K=64,W=128,J=256,X=512,G=1024,Q=U|q|z|W,Y=0|U|z|0,$=0|U|V|0,Z=0|U|H|0,tt=0|q|W,et=0|q,st=U|q|z|J,it=0|G,at=0|K,rt=0|U|K,nt=st|X,ot=0|G,ht=4,lt=2,pt=1,ct=lt|pt,ut=lt|ht,dt=pt|ht,mt=lt,ft=pt,yt=0,vt=/\r\n?|[\n\u2028\u2029]/,xt=new RegExp(vt.source,"g");function Pt(t){switch(t){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}var kt=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function gt(t){switch(t){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}var bt=function t(e,s){x(this,t),this.line=void 0,this.column=void 0,this.line=e,this.column=s},Tt=function t(e,s){x(this,t),this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=s};function wt(t,e){var s,i=1,a=0;for(xt.lastIndex=0;(s=xt.exec(t))&&s.index<e;)i++,a=xt.lastIndex;return new bt(i,e-a)}var At=function(){function t(){x(this,t),this.options=void 0,this.inModule=void 0,this.scope=void 0,this.classScope=void 0,this.prodParam=void 0,this.plugins=void 0,this.filename=void 0,this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1,this.state=void 0,this.input=void 0,this.length=void 0}return v(t,[{key:"hasPlugin",value:function(t){return this.plugins.has(t)}},{key:"getPluginOption",value:function(t,e){if(this.hasPlugin(t))return this.plugins.get(t)[e]}}]),t}();function Et(t){return t[t.length-1]}var St=function(t){l(s,At);var e=c(s);function s(){return x(this,s),e.apply(this,arguments)}return v(s,[{key:"addComment",value:function(t){this.filename&&(t.loc.filename=this.filename),this.state.trailingComments.push(t),this.state.leadingComments.push(t)}},{key:"adjustCommentsAfterTrailingComma",value:function(t,e,s){if(0!==this.state.leadingComments.length){for(var i=null,a=e.length;null===i&&a>0;)i=e[--a];if(null!==i){for(var r=0;r<this.state.leadingComments.length;r++)this.state.leadingComments[r].end<this.state.commentPreviousNode.end&&(this.state.leadingComments.splice(r,1),r--);for(var n=[],o=0;o<this.state.leadingComments.length;o++){var h=this.state.leadingComments[o];h.end<t.end?(n.push(h),s||(this.state.leadingComments.splice(o,1),o--)):(void 0===t.trailingComments&&(t.trailingComments=[]),t.trailingComments.push(h))}s&&(this.state.leadingComments=[]),n.length>0?i.trailingComments=n:void 0!==i.trailingComments&&(i.trailingComments=[])}}}},{key:"processComment",value:function(t){if(!("Program"===t.type&&t.body.length>0)){var e,s,i,a,r,n=this.state.commentStack;if(this.state.trailingComments.length>0)this.state.trailingComments[0].start>=t.end?(i=this.state.trailingComments,this.state.trailingComments=[]):this.state.trailingComments.length=0;else if(n.length>0){var o=Et(n);o.trailingComments&&o.trailingComments[0].start>=t.end&&(i=o.trailingComments,delete o.trailingComments)}for(n.length>0&&Et(n).start>=t.start&&(e=n.pop());n.length>0&&Et(n).start>=t.start;)s=n.pop();if(!s&&e&&(s=e),e)switch(t.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(t,t.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(t,t.properties,!0);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(t,t.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(t,t.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(t,t.elements,!0)}else this.state.commentPreviousNode&&("ImportSpecifier"===this.state.commentPreviousNode.type&&"ImportSpecifier"!==t.type||"ExportSpecifier"===this.state.commentPreviousNode.type&&"ExportSpecifier"!==t.type)&&this.adjustCommentsAfterTrailingComma(t,[this.state.commentPreviousNode]);if(s){if(s.leadingComments)if(s!==t&&s.leadingComments.length>0&&Et(s.leadingComments).end<=t.start)t.leadingComments=s.leadingComments,delete s.leadingComments;else for(a=s.leadingComments.length-2;a>=0;--a)if(s.leadingComments[a].end<=t.start){t.leadingComments=s.leadingComments.splice(0,a+1);break}}else if(this.state.leadingComments.length>0)if(Et(this.state.leadingComments).end<=t.start){if(this.state.commentPreviousNode)for(r=0;r<this.state.leadingComments.length;r++)this.state.leadingComments[r].end<this.state.commentPreviousNode.end&&(this.state.leadingComments.splice(r,1),r--);this.state.leadingComments.length>0&&(t.leadingComments=this.state.leadingComments,this.state.leadingComments=[])}else{for(a=0;a<this.state.leadingComments.length&&!(this.state.leadingComments[a].end>t.start);a++);var h=this.state.leadingComments.slice(0,a);h.length&&(t.leadingComments=h),0===(i=this.state.leadingComments.slice(a)).length&&(i=null)}if(this.state.commentPreviousNode=t,i)if(i.length&&i[0].start>=t.start&&Et(i).end<=t.end)t.innerComments=i;else{var l=i.findIndex(function(e){return e.end>=t.end});l>0?(t.innerComments=i.slice(0,l),t.trailingComments=i.slice(l)):t.trailingComments=i}n.push(t)}}}]),s}(),Ct=Object.freeze({AccessorIsGenerator:"A %0ter cannot be a generator",ArgumentsInClass:"'arguments' is only allowed in functions and class methods",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function",AwaitExpressionFormalParameter:"await is not allowed in async function parameters",AwaitNotInAsyncFunction:"Can not use keyword 'await' outside an async function",BadGetterArity:"getter must not have any formal parameters",BadSetterArity:"setter must have exactly one formal parameter",BadSetterRestParameter:"setter function argument must not be a rest parameter",ConstructorClassField:"Classes may not have a field named 'constructor'",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'",ConstructorIsAccessor:"Class constructor may not be an accessor",ConstructorIsAsync:"Constructor can't be an async function",ConstructorIsGenerator:"Constructor can't be a generator",DeclarationMissingInitializer:"%0 require an initialization value",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon",DecoratorStaticBlock:"Decorators can't be used with a static block",DeletePrivateField:"Deleting a private field is not allowed",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:"`%0` has already been exported. Exported identifiers must be unique.",DuplicateProto:"Redefinition of __proto__ property",DuplicateRegExpFlags:"Duplicate regular expression flag",DuplicateStaticBlock:"Duplicate static block in the same class",ElementAfterRest:"Rest element must be last element",EscapedCharNotAnIdentifier:"Invalid Unicode escape",ExportBindingIsString:"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { %0 as '%1' } from 'some-module'`?",ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block",IllegalBreakContinue:"Unsyntactic %0",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"'return' outside of function",ImportBindingIsString:'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?',ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments",ImportCallArity:"import() requires exactly %0",ImportCallNotNewExpression:"Cannot use new with import(...)",ImportCallSpreadArgument:"... is not allowed in import()",ImportMetaOutsideModule:"import.meta may appear only with 'sourceType: \"module\"'",ImportOutsideModule:"'import' and 'export' may appear only with 'sourceType: \"module\"'",InvalidBigIntLiteral:"Invalid BigIntLiteral",InvalidCodePoint:"Code point out of bounds",InvalidDecimal:"Invalid decimal",InvalidDigit:"Expected number in radix %0",InvalidEscapeSequence:"Bad character escape sequence",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template",InvalidEscapedReservedWord:"Escape sequence in keyword %0",InvalidIdentifier:"Invalid identifier %0",InvalidLhs:"Invalid left-hand side in %0",InvalidLhsBinding:"Binding invalid left-hand side in %0",InvalidNumber:"Invalid number",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'",InvalidOrUnexpectedToken:"Unexpected character '%0'",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern",InvalidPrivateFieldResolution:"Private name #%0 is not defined",InvalidPropertyBindingPattern:"Binding member expression",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions",InvalidRestAssignmentPattern:"Invalid rest operator's argument",LabelRedeclaration:"Label '%0' is already declared",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'",MalformedRegExpFlags:"Invalid regular expression flag",MissingClassName:"A class name is required",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values",ModuleAttributesWithDuplicateKeys:'Duplicate key "%0" is not allowed in module attributes',ModuleExportNameHasLoneSurrogate:"An export name cannot include a lone surrogate, found '\\u%0'",ModuleExportUndefined:"Export '%0' is not defined",MultipleDefaultsInSwitch:"Multiple default clauses",NewlineAfterThrow:"Illegal newline after throw",NoCatchOrFinally:"Missing catch or finally clause",NumberIdentifier:"Identifier directly after number",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences",ObsoleteAwaitStar:"await* has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"constructors in/after an Optional Chain are not allowed",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain",ParamDupe:"Argument name clash",PatternHasAccessor:"Object pattern can't contain getter or setter",PatternHasMethod:"Object pattern can't contain methods",PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding",PrimaryTopicRequiresSmartPipeline:"Primary Topic Reference found but pipelineOperator not passed 'smart' for 'proposal' option.",PrivateInExpectedIn:"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`)",PrivateNameRedeclaration:"Duplicate private name #%0",RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'",RecordNoProto:"'__proto__' is not allowed in Record expressions",RestTrailingComma:"Unexpected trailing comma after rest element",SloppyFunction:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement",StaticPrototype:"Classes may not have static property named prototype",StrictDelete:"Deleting local variable in strict mode",StrictEvalArguments:"Assigning to '%0' in strict mode",StrictEvalArgumentsBinding:"Binding '%0' in strict mode",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode",StrictWith:"'with' in strict mode",SuperNotAllowed:"super() is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super",TrailingDecorator:"Decorators must be attached to a class element",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal',UnexpectedDigitAfterHash:"Unexpected digit after hash token",UnexpectedImportExport:"'import' and 'export' may only appear at the top level",UnexpectedKeyword:"Unexpected keyword '%0'",UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context",UnexpectedNewTarget:"new.target can only be used in functions",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits",UnexpectedPrivateField:"Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\n or a property of member expression (i.e. this.#p).",UnexpectedReservedWord:"Unexpected reserved word '%0'",UnexpectedSuper:"super is only allowed in object methods and classes",UnexpectedToken:"Unexpected token '%0'",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"import can only be used in import() or import.meta",UnsupportedMetaProperty:"The only valid meta property for %0 is %0.%1",UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties",UnsupportedSuper:"super can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop])",UnterminatedComment:"Unterminated comment",UnterminatedRegExp:"Unterminated regular expression",UnterminatedString:"Unterminated string constant",UnterminatedTemplate:"Unterminated template",VarRedeclaration:"Identifier '%0' has already been declared",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator",YieldInParameter:"yield is not allowed in generator parameters",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0"}),Nt=function(t){l(s,St);var e=c(s);function s(){return x(this,s),e.apply(this,arguments)}return v(s,[{key:"getLocationForPosition",value:function(t){return t===this.state.start?this.state.startLoc:t===this.state.lastTokStart?this.state.lastTokStartLoc:t===this.state.end?this.state.endLoc:t===this.state.lastTokEnd?this.state.lastTokEndLoc:wt(this.input,t)}},{key:"raise",value:function(t,e){for(var s=arguments.length,i=new Array(s>2?s-2:0),a=2;a<s;a++)i[a-2]=arguments[a];return this.raiseWithData.apply(this,[t,void 0,e].concat(i))}},{key:"raiseWithData",value:function(t,e,s){for(var i=arguments.length,a=new Array(i>3?i-3:0),r=3;r<i;r++)a[r-3]=arguments[r];var n=this.getLocationForPosition(t),o=s.replace(/%(\d+)/g,function(t,e){return a[e]})+" (".concat(n.line,":").concat(n.column,")");return this._raise(Object.assign({loc:n,pos:t},e),o)}},{key:"_raise",value:function(t,e){var s=new SyntaxError(e);if(Object.assign(s,t),this.options.errorRecovery)return this.isLookahead||this.state.errors.push(s),s;throw s}}]),s}();function It(t){return null!=t&&"Property"===t.type&&"init"===t.kind&&!1===t.method}var Lt=function(t){return function(e){l(i,t);var s=c(i);function i(){return x(this,i),s.apply(this,arguments)}return v(i,[{key:"estreeParseRegExpLiteral",value:function(t){var{pattern:e,flags:s}=t,i=null;try{i=new RegExp(e,s)}catch(r){}var a=this.estreeParseLiteral(i);return a.regex={pattern:e,flags:s},a}},{key:"estreeParseBigIntLiteral",value:function(t){var e="undefined"!=typeof BigInt?BigInt(t):null,s=this.estreeParseLiteral(e);return s.bigint=String(s.value||t),s}},{key:"estreeParseDecimalLiteral",value:function(t){var e=this.estreeParseLiteral(null);return e.decimal=String(e.value||t),e}},{key:"estreeParseLiteral",value:function(t){return this.parseLiteral(t,"Literal")}},{key:"directiveToStmt",value:function(t){var e=t.value,s=this.startNodeAt(t.start,t.loc.start),i=this.startNodeAt(e.start,e.loc.start);return i.value=e.value,i.raw=e.extra.raw,s.expression=this.finishNodeAt(i,"Literal",e.end,e.loc.end),s.directive=e.extra.raw.slice(1,-1),this.finishNodeAt(s,"ExpressionStatement",t.end,t.loc.end)}},{key:"initFunction",value:function(t,e){n(f(i.prototype),"initFunction",this).call(this,t,e),t.expression=!1}},{key:"checkDeclaration",value:function(t){It(t)?this.checkDeclaration(t.value):n(f(i.prototype),"checkDeclaration",this).call(this,t)}},{key:"getObjectOrClassMethodParams",value:function(t){return t.value.params}},{key:"checkLVal",value:function(t){var e=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:at,a=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;switch(t.type){case"ObjectPattern":t.properties.forEach(function(t){e.checkLVal("Property"===t.type?t.value:t,s,a,"object destructuring pattern",o)});break;default:n(f(i.prototype),"checkLVal",this).call(this,t,s,a,r,o)}}},{key:"checkProto",value:function(t,e,s,a){t.method||n(f(i.prototype),"checkProto",this).call(this,t,e,s,a)}},{key:"isValidDirective",value:function(t){var e;return"ExpressionStatement"===t.type&&"Literal"===t.expression.type&&"string"==typeof t.expression.value&&!(null==(e=t.expression.extra)?void 0:e.parenthesized)}},{key:"stmtToDirective",value:function(t){var e=n(f(i.prototype),"stmtToDirective",this).call(this,t),s=t.expression.value;return e.value.value=s,e}},{key:"parseBlockBody",value:function(t,e,s,a){var r=this;n(f(i.prototype),"parseBlockBody",this).call(this,t,e,s,a);var o=t.directives.map(function(t){return r.directiveToStmt(t)});t.body=o.concat(t.body),delete t.directives}},{key:"pushClassMethod",value:function(t,e,s,i,a,r){this.parseMethod(e,s,i,a,r,"ClassMethod",!0),e.typeParameters&&(e.value.typeParameters=e.typeParameters,delete e.typeParameters),t.body.push(e)}},{key:"parseExprAtom",value:function(t){switch(this.state.type){case N.num:case N.string:return this.estreeParseLiteral(this.state.value);case N.regexp:return this.estreeParseRegExpLiteral(this.state.value);case N.bigint:return this.estreeParseBigIntLiteral(this.state.value);case N.decimal:return this.estreeParseDecimalLiteral(this.state.value);case N._null:return this.estreeParseLiteral(null);case N._true:return this.estreeParseLiteral(!0);case N._false:return this.estreeParseLiteral(!1);default:return n(f(i.prototype),"parseExprAtom",this).call(this,t)}}},{key:"parseLiteral",value:function(t,e,s,a){var r=n(f(i.prototype),"parseLiteral",this).call(this,t,e,s,a);return r.raw=r.extra.raw,delete r.extra,r}},{key:"parseFunctionBody",value:function(t,e){var s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];n(f(i.prototype),"parseFunctionBody",this).call(this,t,e,s),t.expression="BlockStatement"!==t.body.type}},{key:"parseMethod",value:function(t,e,s,a,r,o){var h=arguments.length>6&&void 0!==arguments[6]&&arguments[6],l=this.startNode();return l.kind=t.kind,(l=n(f(i.prototype),"parseMethod",this).call(this,l,e,s,a,r,o,h)).type="FunctionExpression",delete l.kind,t.value=l,o="ClassMethod"===o?"MethodDefinition":o,this.finishNode(t,o)}},{key:"parseObjectMethod",value:function(t,e,s,a,r){var o=n(f(i.prototype),"parseObjectMethod",this).call(this,t,e,s,a,r);return o&&(o.type="Property","method"===o.kind&&(o.kind="init"),o.shorthand=!1),o}},{key:"parseObjectProperty",value:function(t,e,s,a,r){var o=n(f(i.prototype),"parseObjectProperty",this).call(this,t,e,s,a,r);return o&&(o.kind="init",o.type="Property"),o}},{key:"toAssignable",value:function(t){return It(t)?(this.toAssignable(t.value),t):n(f(i.prototype),"toAssignable",this).call(this,t)}},{key:"toAssignableObjectExpressionProp",value:function(t,e){if("get"===t.kind||"set"===t.kind)throw this.raise(t.key.start,Ct.PatternHasAccessor);if(t.method)throw this.raise(t.key.start,Ct.PatternHasMethod);n(f(i.prototype),"toAssignableObjectExpressionProp",this).call(this,t,e)}},{key:"finishCallExpression",value:function(t,e){return n(f(i.prototype),"finishCallExpression",this).call(this,t,e),"Import"===t.callee.type&&(t.type="ImportExpression",t.source=t.arguments[0],delete t.arguments,delete t.callee),t}},{key:"toReferencedListDeep",value:function(t,e){t&&n(f(i.prototype),"toReferencedListDeep",this).call(this,t,e)}},{key:"parseExport",value:function(t){switch(n(f(i.prototype),"parseExport",this).call(this,t),t.type){case"ExportAllDeclaration":t.exported=null;break;case"ExportNamedDeclaration":1===t.specifiers.length&&"ExportNamespaceSpecifier"===t.specifiers[0].type&&(t.type="ExportAllDeclaration",t.exported=t.specifiers[0].exported,delete t.specifiers)}return t}},{key:"parseSubscript",value:function(t,e,s,a,r){var o=n(f(i.prototype),"parseSubscript",this).call(this,t,e,s,a,r);if(r.optionalChainMember){if("OptionalMemberExpression"!==o.type&&"OptionalCallExpression"!==o.type||(o.type=o.type.substring(8)),r.stop){var h=this.startNodeAtNode(o);return h.expression=o,this.finishNode(h,"ChainExpression")}}else"MemberExpression"!==o.type&&"CallExpression"!==o.type||(o.optional=!1);return o}}]),i}()},Dt=function t(e,s,i,a){x(this,t),this.token=void 0,this.isExpr=void 0,this.preserveSpace=void 0,this.override=void 0,this.token=e,this.isExpr=!!s,this.preserveSpace=!!i,this.override=a},Mt={braceStatement:new Dt("{",!1),braceExpression:new Dt("{",!0),recordExpression:new Dt("#{",!0),templateQuasi:new Dt("${",!1),parenStatement:new Dt("(",!1),parenExpression:new Dt("(",!0),template:new Dt("`",!0,!0,function(t){return t.readTmplToken()}),functionExpression:new Dt("function",!0),functionStatement:new Dt("function",!1)};N.parenR.updateContext=N.braceR.updateContext=function(){if(1!==this.state.context.length){var t=this.state.context.pop();t===Mt.braceStatement&&"function"===this.curContext().token&&(t=this.state.context.pop()),this.state.exprAllowed=!t.isExpr}else this.state.exprAllowed=!0},N.name.updateContext=function(t){var e=!1;t!==N.dot&&("of"===this.state.value&&!this.state.exprAllowed&&t!==N._function&&t!==N._class||"yield"===this.state.value&&this.prodParam.hasYield)&&(e=!0),this.state.exprAllowed=e,this.state.isIterator&&(this.state.isIterator=!1)},N.braceL.updateContext=function(t){this.state.context.push(this.braceIsBlock(t)?Mt.braceStatement:Mt.braceExpression),this.state.exprAllowed=!0},N.dollarBraceL.updateContext=function(){this.state.context.push(Mt.templateQuasi),this.state.exprAllowed=!0},N.parenL.updateContext=function(t){var e=t===N._if||t===N._for||t===N._with||t===N._while;this.state.context.push(e?Mt.parenStatement:Mt.parenExpression),this.state.exprAllowed=!0},N.incDec.updateContext=function(){},N._function.updateContext=N._class.updateContext=function(t){!t.beforeExpr||t===N.semi||t===N._else||t===N._return&&this.hasPrecedingLineBreak()||(t===N.colon||t===N.braceL)&&this.curContext()===Mt.b_stat?this.state.context.push(Mt.functionStatement):this.state.context.push(Mt.functionExpression),this.state.exprAllowed=!1},N.backQuote.updateContext=function(){this.curContext()===Mt.template?this.state.context.pop():this.state.context.push(Mt.template),this.state.exprAllowed=!1},N.braceHashL.updateContext=function(){this.state.context.push(Mt.recordExpression),this.state.exprAllowed=!0};var Rt="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ﬀ-ﬆﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼＡ-Ｚａ-ｚｦ-ﾾￂ-ￇￊ-ￏￒ-ￗￚ-ￜ",Ot="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏０-９＿",Ft=new RegExp("["+Rt+"]"),Bt=new RegExp("["+Rt+Ot+"]");Rt=Ot=null;var _t=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],jt=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function Ut(t,e){for(var s=65536,i=0,a=e.length;i<a;i+=2){if((s+=e[i])>t)return!1;if((s+=e[i+1])>=t)return!0}return!1}function qt(t){return t<65?36===t:t<=90||(t<97?95===t:t<=122||(t<=65535?t>=170&&Ft.test(String.fromCharCode(t)):Ut(t,_t)))}function Vt(t){return t<48?36===t:t<58||!(t<65)&&(t<=90||(t<97?95===t:t<=122||(t<=65535?t>=170&&Bt.test(String.fromCharCode(t)):Ut(t,_t)||Ut(t,jt))))}var zt={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},Ht=new Set(zt.keyword),Kt=new Set(zt.strict),Wt=new Set(zt.strictBind);function Jt(t,e){return e&&"await"===t||"enum"===t}function Xt(t,e){return Jt(t,e)||Kt.has(t)}function Gt(t){return Wt.has(t)}function Qt(t,e){return Xt(t,e)||Gt(t)}function Yt(t){return Ht.has(t)}var $t=/^in(stanceof)?$/;function Zt(t,e){return 64===t&&64===e}var te=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),ee=Object.freeze({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module",AssignReservedType:"Cannot overwrite reserved type %0",DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement",EnumBooleanMemberNotInitialized:"Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.",EnumDuplicateMemberName:"Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.",EnumInconsistentMemberValues:"Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",EnumInvalidExplicitType:"Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidExplicitTypeUnknownSupplied:"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidMemberInitializerPrimaryType:"Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.",EnumInvalidMemberInitializerSymbolType:"Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.",EnumInvalidMemberInitializerUnknownType:"The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.",EnumInvalidMemberName:"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.",EnumNumberMemberNotInitialized:"Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.",EnumStringMemberInconsistentlyInitailized:"String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions",InexactVariance:"Explicit inexact syntax cannot have variance",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`",NestedFlowComment:"Cannot have a flow comment inside another flow comment",OptionalBindingPattern:"A binding pattern parameter cannot be optional in an implementation signature.",SpreadVariance:"Spread properties cannot have variance",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object",UnexpectedReservedType:"Unexpected reserved type %0",UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint"',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`",UnsupportedDeclareExportKind:"`declare export %0` is not supported. Use `%1` instead",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module",UnterminatedFlowComment:"Unterminated flow-comment"});function se(t){return"DeclareExportAllDeclaration"===t.type||"DeclareExportDeclaration"===t.type&&(!t.declaration||"TypeAlias"!==t.declaration.type&&"InterfaceDeclaration"!==t.declaration.type)}function ie(t){return"type"===t.importKind||"typeof"===t.importKind}function ae(t){return(t.type===N.name||!!t.type.keyword)&&"from"!==t.value}var re={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function ne(t,e){for(var s=[],i=[],a=0;a<t.length;a++)(e(t[a],a,t)?s:i).push(t[a]);return[s,i]}var oe=/\*?\s*@((?:no)?flow)\b/,he=function(e){return function(s){l(a,e);var i=c(a);function a(t,e){var s;return x(this,a),(s=i.call(this,t,e)).flowPragma=void 0,s.flowPragma=void 0,s}return v(a,[{key:"shouldParseTypes",value:function(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}},{key:"shouldParseEnums",value:function(){return!!this.getPluginOption("flow","enums")}},{key:"finishToken",value:function(t,e){return t!==N.string&&t!==N.semi&&t!==N.interpreterDirective&&void 0===this.flowPragma&&(this.flowPragma=null),n(f(a.prototype),"finishToken",this).call(this,t,e)}},{key:"addComment",value:function(t){if(void 0===this.flowPragma){var e=oe.exec(t.value);if(e)if("flow"===e[1])this.flowPragma="flow";else{if("noflow"!==e[1])throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}else;}return n(f(a.prototype),"addComment",this).call(this,t)}},{key:"flowParseTypeInitialiser",value:function(t){var e=this.state.inType;this.state.inType=!0,this.expect(t||N.colon);var s=this.flowParseType();return this.state.inType=e,s}},{key:"flowParsePredicate",value:function(){var t=this.startNode(),e=this.state.startLoc,s=this.state.start;this.expect(N.modulo);var i=this.state.startLoc;return this.expectContextual("checks"),e.line===i.line&&e.column===i.column-1||this.raise(s,ee.UnexpectedSpaceBetweenModuloChecks),this.eat(N.parenL)?(t.value=this.parseExpression(),this.expect(N.parenR),this.finishNode(t,"DeclaredPredicate")):this.finishNode(t,"InferredPredicate")}},{key:"flowParseTypeAndPredicateInitialiser",value:function(){var t=this.state.inType;this.state.inType=!0,this.expect(N.colon);var e=null,s=null;return this.match(N.modulo)?(this.state.inType=t,s=this.flowParsePredicate()):(e=this.flowParseType(),this.state.inType=t,this.match(N.modulo)&&(s=this.flowParsePredicate())),[e,s]}},{key:"flowParseDeclareClass",value:function(t){return this.next(),this.flowParseInterfaceish(t,!0),this.finishNode(t,"DeclareClass")}},{key:"flowParseDeclareFunction",value:function(t){this.next();var e=t.id=this.parseIdentifier(),s=this.startNode(),i=this.startNode();this.isRelational("<")?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,this.expect(N.parenL);var a=this.flowParseFunctionTypeParams();return s.params=a.params,s.rest=a.rest,this.expect(N.parenR),[s.returnType,t.predicate]=this.flowParseTypeAndPredicateInitialiser(),i.typeAnnotation=this.finishNode(s,"FunctionTypeAnnotation"),e.typeAnnotation=this.finishNode(i,"TypeAnnotation"),this.resetEndLocation(e),this.semicolon(),this.finishNode(t,"DeclareFunction")}},{key:"flowParseDeclare",value:function(t,e){if(this.match(N._class))return this.flowParseDeclareClass(t);if(this.match(N._function))return this.flowParseDeclareFunction(t);if(this.match(N._var))return this.flowParseDeclareVariable(t);if(this.eatContextual("module"))return this.match(N.dot)?this.flowParseDeclareModuleExports(t):(e&&this.raise(this.state.lastTokStart,ee.NestedDeclareModule),this.flowParseDeclareModule(t));if(this.isContextual("type"))return this.flowParseDeclareTypeAlias(t);if(this.isContextual("opaque"))return this.flowParseDeclareOpaqueType(t);if(this.isContextual("interface"))return this.flowParseDeclareInterface(t);if(this.match(N._export))return this.flowParseDeclareExportDeclaration(t,e);throw this.unexpected()}},{key:"flowParseDeclareVariable",value:function(t){return this.next(),t.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(t.id.name,$,t.id.start),this.semicolon(),this.finishNode(t,"DeclareVariable")}},{key:"flowParseDeclareModule",value:function(t){var e=this;this.scope.enter(I),this.match(N.string)?t.id=this.parseExprAtom():t.id=this.parseIdentifier();var s=t.body=this.startNode(),i=s.body=[];for(this.expect(N.braceL);!this.match(N.braceR);){var a=this.startNode();this.match(N._import)?(this.next(),this.isContextual("type")||this.match(N._typeof)||this.raise(this.state.lastTokStart,ee.InvalidNonTypeImportInDeclareModule),this.parseImport(a)):(this.expectContextual("declare",ee.UnsupportedStatementInDeclareModule),a=this.flowParseDeclare(a,!0)),i.push(a)}this.scope.exit(),this.expect(N.braceR),this.finishNode(s,"BlockStatement");var r=null,n=!1;return i.forEach(function(t){se(t)?("CommonJS"===r&&e.raise(t.start,ee.AmbiguousDeclareModuleKind),r="ES"):"DeclareModuleExports"===t.type&&(n&&e.raise(t.start,ee.DuplicateDeclareModuleExports),"ES"===r&&e.raise(t.start,ee.AmbiguousDeclareModuleKind),r="CommonJS",n=!0)}),t.kind=r||"CommonJS",this.finishNode(t,"DeclareModule")}},{key:"flowParseDeclareExportDeclaration",value:function(t,e){if(this.expect(N._export),this.eat(N._default))return this.match(N._function)||this.match(N._class)?t.declaration=this.flowParseDeclare(this.startNode()):(t.declaration=this.flowParseType(),this.semicolon()),t.default=!0,this.finishNode(t,"DeclareExportDeclaration");if(this.match(N._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!e){var s=this.state.value,i=re[s];throw this.raise(this.state.start,ee.UnsupportedDeclareExportKind,s,i)}if(this.match(N._var)||this.match(N._function)||this.match(N._class)||this.isContextual("opaque"))return t.declaration=this.flowParseDeclare(this.startNode()),t.default=!1,this.finishNode(t,"DeclareExportDeclaration");if(this.match(N.star)||this.match(N.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque"))return"ExportNamedDeclaration"===(t=this.parseExport(t)).type&&(t.type="ExportDeclaration",t.default=!1,delete t.exportKind),t.type="Declare"+t.type,t;throw this.unexpected()}},{key:"flowParseDeclareModuleExports",value:function(t){return this.next(),this.expectContextual("exports"),t.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(t,"DeclareModuleExports")}},{key:"flowParseDeclareTypeAlias",value:function(t){return this.next(),this.flowParseTypeAlias(t),t.type="DeclareTypeAlias",t}},{key:"flowParseDeclareOpaqueType",value:function(t){return this.next(),this.flowParseOpaqueType(t,!0),t.type="DeclareOpaqueType",t}},{key:"flowParseDeclareInterface",value:function(t){return this.next(),this.flowParseInterfaceish(t),this.finishNode(t,"DeclareInterface")}},{key:"flowParseInterfaceish",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t.id=this.flowParseRestrictedIdentifier(!e,!0),this.scope.declareName(t.id.name,e?Z:Y,t.id.start),this.isRelational("<")?t.typeParameters=this.flowParseTypeParameterDeclaration():t.typeParameters=null,t.extends=[],t.implements=[],t.mixins=[],this.eat(N._extends))do{t.extends.push(this.flowParseInterfaceExtends())}while(!e&&this.eat(N.comma));if(this.isContextual("mixins")){this.next();do{t.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(N.comma))}if(this.isContextual("implements")){this.next();do{t.implements.push(this.flowParseInterfaceExtends())}while(this.eat(N.comma))}t.body=this.flowParseObjectType({allowStatic:e,allowExact:!1,allowSpread:!1,allowProto:e,allowInexact:!1})}},{key:"flowParseInterfaceExtends",value:function(){var t=this.startNode();return t.id=this.flowParseQualifiedTypeIdentifier(),this.isRelational("<")?t.typeParameters=this.flowParseTypeParameterInstantiation():t.typeParameters=null,this.finishNode(t,"InterfaceExtends")}},{key:"flowParseInterface",value:function(t){return this.flowParseInterfaceish(t),this.finishNode(t,"InterfaceDeclaration")}},{key:"checkNotUnderscore",value:function(t){"_"===t&&this.raise(this.state.start,ee.UnexpectedReservedUnderscore)}},{key:"checkReservedType",value:function(t,e,s){te.has(t)&&this.raise(e,s?ee.AssignReservedType:ee.UnexpectedReservedType,t)}},{key:"flowParseRestrictedIdentifier",value:function(t,e){return this.checkReservedType(this.state.value,this.state.start,e),this.parseIdentifier(t)}},{key:"flowParseTypeAlias",value:function(t){return t.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(t.id.name,Y,t.id.start),this.isRelational("<")?t.typeParameters=this.flowParseTypeParameterDeclaration():t.typeParameters=null,t.right=this.flowParseTypeInitialiser(N.eq),this.semicolon(),this.finishNode(t,"TypeAlias")}},{key:"flowParseOpaqueType",value:function(t,e){return this.expectContextual("type"),t.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(t.id.name,Y,t.id.start),this.isRelational("<")?t.typeParameters=this.flowParseTypeParameterDeclaration():t.typeParameters=null,t.supertype=null,this.match(N.colon)&&(t.supertype=this.flowParseTypeInitialiser(N.colon)),t.impltype=null,e||(t.impltype=this.flowParseTypeInitialiser(N.eq)),this.semicolon(),this.finishNode(t,"OpaqueType")}},{key:"flowParseTypeParameter",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.state.start,s=this.startNode(),i=this.flowParseVariance(),a=this.flowParseTypeAnnotatableIdentifier();return s.name=a.name,s.variance=i,s.bound=a.typeAnnotation,this.match(N.eq)?(this.eat(N.eq),s.default=this.flowParseType()):t&&this.raise(e,ee.MissingTypeParamDefault),this.finishNode(s,"TypeParameter")}},{key:"flowParseTypeParameterDeclaration",value:function(){var t=this.state.inType,e=this.startNode();e.params=[],this.state.inType=!0,this.isRelational("<")||this.match(N.jsxTagStart)?this.next():this.unexpected();var s=!1;do{var i=this.flowParseTypeParameter(s);e.params.push(i),i.default&&(s=!0),this.isRelational(">")||this.expect(N.comma)}while(!this.isRelational(">"));return this.expectRelational(">"),this.state.inType=t,this.finishNode(e,"TypeParameterDeclaration")}},{key:"flowParseTypeParameterInstantiation",value:function(){var t=this.startNode(),e=this.state.inType;t.params=[],this.state.inType=!0,this.expectRelational("<");var s=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.isRelational(">");)t.params.push(this.flowParseType()),this.isRelational(">")||this.expect(N.comma);return this.state.noAnonFunctionType=s,this.expectRelational(">"),this.state.inType=e,this.finishNode(t,"TypeParameterInstantiation")}},{key:"flowParseTypeParameterInstantiationCallOrNew",value:function(){var t=this.startNode(),e=this.state.inType;for(t.params=[],this.state.inType=!0,this.expectRelational("<");!this.isRelational(">");)t.params.push(this.flowParseTypeOrImplicitInstantiation()),this.isRelational(">")||this.expect(N.comma);return this.expectRelational(">"),this.state.inType=e,this.finishNode(t,"TypeParameterInstantiation")}},{key:"flowParseInterfaceType",value:function(){var t=this.startNode();if(this.expectContextual("interface"),t.extends=[],this.eat(N._extends))do{t.extends.push(this.flowParseInterfaceExtends())}while(this.eat(N.comma));return t.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(t,"InterfaceTypeAnnotation")}},{key:"flowParseObjectPropertyKey",value:function(){return this.match(N.num)||this.match(N.string)?this.parseExprAtom():this.parseIdentifier(!0)}},{key:"flowParseObjectTypeIndexer",value:function(t,e,s){return t.static=e,this.lookahead().type===N.colon?(t.id=this.flowParseObjectPropertyKey(),t.key=this.flowParseTypeInitialiser()):(t.id=null,t.key=this.flowParseType()),this.expect(N.bracketR),t.value=this.flowParseTypeInitialiser(),t.variance=s,this.finishNode(t,"ObjectTypeIndexer")}},{key:"flowParseObjectTypeInternalSlot",value:function(t,e){return t.static=e,t.id=this.flowParseObjectPropertyKey(),this.expect(N.bracketR),this.expect(N.bracketR),this.isRelational("<")||this.match(N.parenL)?(t.method=!0,t.optional=!1,t.value=this.flowParseObjectTypeMethodish(this.startNodeAt(t.start,t.loc.start))):(t.method=!1,this.eat(N.question)&&(t.optional=!0),t.value=this.flowParseTypeInitialiser()),this.finishNode(t,"ObjectTypeInternalSlot")}},{key:"flowParseObjectTypeMethodish",value:function(t){for(t.params=[],t.rest=null,t.typeParameters=null,this.isRelational("<")&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(N.parenL);!this.match(N.parenR)&&!this.match(N.ellipsis);)t.params.push(this.flowParseFunctionTypeParam()),this.match(N.parenR)||this.expect(N.comma);return this.eat(N.ellipsis)&&(t.rest=this.flowParseFunctionTypeParam()),this.expect(N.parenR),t.returnType=this.flowParseTypeInitialiser(),this.finishNode(t,"FunctionTypeAnnotation")}},{key:"flowParseObjectTypeCallProperty",value:function(t,e){var s=this.startNode();return t.static=e,t.value=this.flowParseObjectTypeMethodish(s),this.finishNode(t,"ObjectTypeCallProperty")}},{key:"flowParseObjectType",value:function(t){var{allowStatic:e,allowExact:s,allowSpread:i,allowProto:a,allowInexact:r}=t,n=this.state.inType;this.state.inType=!0;var o,h,l=this.startNode();l.callProperties=[],l.properties=[],l.indexers=[],l.internalSlots=[];var p=!1;for(s&&this.match(N.braceBarL)?(this.expect(N.braceBarL),o=N.braceBarR,h=!0):(this.expect(N.braceL),o=N.braceR,h=!1),l.exact=h;!this.match(o);){var c=!1,u=null,d=null,m=this.startNode();if(a&&this.isContextual("proto")){var f=this.lookahead();f.type!==N.colon&&f.type!==N.question&&(this.next(),u=this.state.start,e=!1)}if(e&&this.isContextual("static")){var y=this.lookahead();y.type!==N.colon&&y.type!==N.question&&(this.next(),c=!0)}var v=this.flowParseVariance();if(this.eat(N.bracketL))null!=u&&this.unexpected(u),this.eat(N.bracketL)?(v&&this.unexpected(v.start),l.internalSlots.push(this.flowParseObjectTypeInternalSlot(m,c))):l.indexers.push(this.flowParseObjectTypeIndexer(m,c,v));else if(this.match(N.parenL)||this.isRelational("<"))null!=u&&this.unexpected(u),v&&this.unexpected(v.start),l.callProperties.push(this.flowParseObjectTypeCallProperty(m,c));else{var x="init";if(this.isContextual("get")||this.isContextual("set")){var P=this.lookahead();P.type!==N.name&&P.type!==N.string&&P.type!==N.num||(x=this.state.value,this.next())}var k=this.flowParseObjectTypeProperty(m,c,u,v,x,i,null!=r?r:!h);null===k?(p=!0,d=this.state.lastTokStart):l.properties.push(k)}this.flowObjectTypeSemicolon(),!d||this.match(N.braceR)||this.match(N.braceBarR)||this.raise(d,ee.UnexpectedExplicitInexactInObject)}this.expect(o),i&&(l.inexact=p);var g=this.finishNode(l,"ObjectTypeAnnotation");return this.state.inType=n,g}},{key:"flowParseObjectTypeProperty",value:function(t,e,s,i,a,r,n){if(this.eat(N.ellipsis))return this.match(N.comma)||this.match(N.semi)||this.match(N.braceR)||this.match(N.braceBarR)?(r?n||this.raise(this.state.lastTokStart,ee.InexactInsideExact):this.raise(this.state.lastTokStart,ee.InexactInsideNonObject),i&&this.raise(i.start,ee.InexactVariance),null):(r||this.raise(this.state.lastTokStart,ee.UnexpectedSpreadType),null!=s&&this.unexpected(s),i&&this.raise(i.start,ee.SpreadVariance),t.argument=this.flowParseType(),this.finishNode(t,"ObjectTypeSpreadProperty"));t.key=this.flowParseObjectPropertyKey(),t.static=e,t.proto=null!=s,t.kind=a;var o=!1;return this.isRelational("<")||this.match(N.parenL)?(t.method=!0,null!=s&&this.unexpected(s),i&&this.unexpected(i.start),t.value=this.flowParseObjectTypeMethodish(this.startNodeAt(t.start,t.loc.start)),"get"!==a&&"set"!==a||this.flowCheckGetterSetterParams(t)):("init"!==a&&this.unexpected(),t.method=!1,this.eat(N.question)&&(o=!0),t.value=this.flowParseTypeInitialiser(),t.variance=i),t.optional=o,this.finishNode(t,"ObjectTypeProperty")}},{key:"flowCheckGetterSetterParams",value:function(t){var e="get"===t.kind?0:1,s=t.start;t.value.params.length+(t.value.rest?1:0)!==e&&("get"===t.kind?this.raise(s,Ct.BadGetterArity):this.raise(s,Ct.BadSetterArity)),"set"===t.kind&&t.value.rest&&this.raise(s,Ct.BadSetterRestParameter)}},{key:"flowObjectTypeSemicolon",value:function(){this.eat(N.semi)||this.eat(N.comma)||this.match(N.braceR)||this.match(N.braceBarR)||this.unexpected()}},{key:"flowParseQualifiedTypeIdentifier",value:function(t,e,s){t=t||this.state.start,e=e||this.state.startLoc;for(var i=s||this.flowParseRestrictedIdentifier(!0);this.eat(N.dot);){var a=this.startNodeAt(t,e);a.qualification=i,a.id=this.flowParseRestrictedIdentifier(!0),i=this.finishNode(a,"QualifiedTypeIdentifier")}return i}},{key:"flowParseGenericType",value:function(t,e,s){var i=this.startNodeAt(t,e);return i.typeParameters=null,i.id=this.flowParseQualifiedTypeIdentifier(t,e,s),this.isRelational("<")&&(i.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(i,"GenericTypeAnnotation")}},{key:"flowParseTypeofType",value:function(){var t=this.startNode();return this.expect(N._typeof),t.argument=this.flowParsePrimaryType(),this.finishNode(t,"TypeofTypeAnnotation")}},{key:"flowParseTupleType",value:function(){var t=this.startNode();for(t.types=[],this.expect(N.bracketL);this.state.pos<this.length&&!this.match(N.bracketR)&&(t.types.push(this.flowParseType()),!this.match(N.bracketR));)this.expect(N.comma);return this.expect(N.bracketR),this.finishNode(t,"TupleTypeAnnotation")}},{key:"flowParseFunctionTypeParam",value:function(){var t=null,e=!1,s=null,i=this.startNode(),a=this.lookahead();return a.type===N.colon||a.type===N.question?(t=this.parseIdentifier(),this.eat(N.question)&&(e=!0),s=this.flowParseTypeInitialiser()):s=this.flowParseType(),i.name=t,i.optional=e,i.typeAnnotation=s,this.finishNode(i,"FunctionTypeParam")}},{key:"reinterpretTypeAsFunctionTypeParam",value:function(t){var e=this.startNodeAt(t.start,t.loc.start);return e.name=null,e.optional=!1,e.typeAnnotation=t,this.finishNode(e,"FunctionTypeParam")}},{key:"flowParseFunctionTypeParams",value:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=null;!this.match(N.parenR)&&!this.match(N.ellipsis);)t.push(this.flowParseFunctionTypeParam()),this.match(N.parenR)||this.expect(N.comma);return this.eat(N.ellipsis)&&(e=this.flowParseFunctionTypeParam()),{params:t,rest:e}}},{key:"flowIdentToTypeAnnotation",value:function(t,e,s,i){switch(i.name){case"any":return this.finishNode(s,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(s,"BooleanTypeAnnotation");case"mixed":return this.finishNode(s,"MixedTypeAnnotation");case"empty":return this.finishNode(s,"EmptyTypeAnnotation");case"number":return this.finishNode(s,"NumberTypeAnnotation");case"string":return this.finishNode(s,"StringTypeAnnotation");case"symbol":return this.finishNode(s,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(i.name),this.flowParseGenericType(t,e,i)}}},{key:"flowParsePrimaryType",value:function(){var t,e,s=this.state.start,i=this.state.startLoc,r=this.startNode(),o=!1,h=this.state.noAnonFunctionType;switch(this.state.type){case N.name:return this.isContextual("interface")?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(s,i,r,this.parseIdentifier());case N.braceL:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case N.braceBarL:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case N.bracketL:return this.state.noAnonFunctionType=!1,e=this.flowParseTupleType(),this.state.noAnonFunctionType=h,e;case N.relational:if("<"===this.state.value)return r.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(N.parenL),t=this.flowParseFunctionTypeParams(),r.params=t.params,r.rest=t.rest,this.expect(N.parenR),this.expect(N.arrow),r.returnType=this.flowParseType(),this.finishNode(r,"FunctionTypeAnnotation");break;case N.parenL:if(this.next(),!this.match(N.parenR)&&!this.match(N.ellipsis))if(this.match(N.name)){var l=this.lookahead().type;o=l!==N.question&&l!==N.colon}else o=!0;if(o){if(this.state.noAnonFunctionType=!1,e=this.flowParseType(),this.state.noAnonFunctionType=h,this.state.noAnonFunctionType||!(this.match(N.comma)||this.match(N.parenR)&&this.lookahead().type===N.arrow))return this.expect(N.parenR),e;this.eat(N.comma)}return t=e?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(e)]):this.flowParseFunctionTypeParams(),r.params=t.params,r.rest=t.rest,this.expect(N.parenR),this.expect(N.arrow),r.returnType=this.flowParseType(),r.typeParameters=null,this.finishNode(r,"FunctionTypeAnnotation");case N.string:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case N._true:case N._false:return r.value=this.match(N._true),this.next(),this.finishNode(r,"BooleanLiteralTypeAnnotation");case N.plusMin:if("-"===this.state.value){if(this.next(),this.match(N.num))return this.parseLiteral(-this.state.value,"NumberLiteralTypeAnnotation",r.start,r.loc.start);if(this.match(N.bigint))return this.parseLiteral(-this.state.value,"BigIntLiteralTypeAnnotation",r.start,r.loc.start);throw this.raise(this.state.start,ee.UnexpectedSubtractionOperand)}throw this.unexpected();case N.num:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case N.bigint:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case N._void:return this.next(),this.finishNode(r,"VoidTypeAnnotation");case N._null:return this.next(),this.finishNode(r,"NullLiteralTypeAnnotation");case N._this:return this.next(),this.finishNode(r,"ThisTypeAnnotation");case N.star:return this.next(),this.finishNode(r,"ExistsTypeAnnotation");default:if("typeof"===this.state.type.keyword)return this.flowParseTypeofType();if(this.state.type.keyword){var p=this.state.type.label;return this.next(),n(f(a.prototype),"createIdentifier",this).call(this,r,p)}}throw this.unexpected()}},{key:"flowParsePostfixType",value:function(){for(var t=this.state.start,e=this.state.startLoc,s=this.flowParsePrimaryType();this.match(N.bracketL)&&!this.canInsertSemicolon();){var i=this.startNodeAt(t,e);i.elementType=s,this.expect(N.bracketL),this.expect(N.bracketR),s=this.finishNode(i,"ArrayTypeAnnotation")}return s}},{key:"flowParsePrefixType",value:function(){var t=this.startNode();return this.eat(N.question)?(t.typeAnnotation=this.flowParsePrefixType(),this.finishNode(t,"NullableTypeAnnotation")):this.flowParsePostfixType()}},{key:"flowParseAnonFunctionWithoutParens",value:function(){var t=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(N.arrow)){var e=this.startNodeAt(t.start,t.loc.start);return e.params=[this.reinterpretTypeAsFunctionTypeParam(t)],e.rest=null,e.returnType=this.flowParseType(),e.typeParameters=null,this.finishNode(e,"FunctionTypeAnnotation")}return t}},{key:"flowParseIntersectionType",value:function(){var t=this.startNode();this.eat(N.bitwiseAND);var e=this.flowParseAnonFunctionWithoutParens();for(t.types=[e];this.eat(N.bitwiseAND);)t.types.push(this.flowParseAnonFunctionWithoutParens());return 1===t.types.length?e:this.finishNode(t,"IntersectionTypeAnnotation")}},{key:"flowParseUnionType",value:function(){var t=this.startNode();this.eat(N.bitwiseOR);var e=this.flowParseIntersectionType();for(t.types=[e];this.eat(N.bitwiseOR);)t.types.push(this.flowParseIntersectionType());return 1===t.types.length?e:this.finishNode(t,"UnionTypeAnnotation")}},{key:"flowParseType",value:function(){var t=this.state.inType;this.state.inType=!0;var e=this.flowParseUnionType();return this.state.inType=t,this.state.exprAllowed=this.state.exprAllowed||this.state.noAnonFunctionType,e}},{key:"flowParseTypeOrImplicitInstantiation",value:function(){if(this.state.type===N.name&&"_"===this.state.value){var t=this.state.start,e=this.state.startLoc,s=this.parseIdentifier();return this.flowParseGenericType(t,e,s)}return this.flowParseType()}},{key:"flowParseTypeAnnotation",value:function(){var t=this.startNode();return t.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(t,"TypeAnnotation")}},{key:"flowParseTypeAnnotatableIdentifier",value:function(t){var e=t?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(N.colon)&&(e.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e)),e}},{key:"typeCastToParameter",value:function(t){return t.expression.typeAnnotation=t.typeAnnotation,this.resetEndLocation(t.expression,t.typeAnnotation.end,t.typeAnnotation.loc.end),t.expression}},{key:"flowParseVariance",value:function(){var t=null;return this.match(N.plusMin)&&(t=this.startNode(),"+"===this.state.value?t.kind="plus":t.kind="minus",this.next(),this.finishNode(t,"Variance")),t}},{key:"parseFunctionBody",value:function(t,e){var s=this,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e?this.forwardNoArrowParamsConversionAt(t,function(){return n(f(a.prototype),"parseFunctionBody",s).call(s,t,!0,i)}):n(f(a.prototype),"parseFunctionBody",this).call(this,t,!1,i)}},{key:"parseFunctionBodyAndFinish",value:function(t,e){var s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.match(N.colon)){var i=this.startNode();[i.typeAnnotation,t.predicate]=this.flowParseTypeAndPredicateInitialiser(),t.returnType=i.typeAnnotation?this.finishNode(i,"TypeAnnotation"):null}n(f(a.prototype),"parseFunctionBodyAndFinish",this).call(this,t,e,s)}},{key:"parseStatement",value:function(t,e){if(this.state.strict&&this.match(N.name)&&"interface"===this.state.value){var s=this.startNode();return this.next(),this.flowParseInterface(s)}if(this.shouldParseEnums()&&this.isContextual("enum")){var i=this.startNode();return this.next(),this.flowParseEnumDeclaration(i)}var r=n(f(a.prototype),"parseStatement",this).call(this,t,e);return void 0!==this.flowPragma||this.isValidDirective(r)||(this.flowPragma=null),r}},{key:"parseExpressionStatement",value:function(t,e){if("Identifier"===e.type)if("declare"===e.name){if(this.match(N._class)||this.match(N.name)||this.match(N._function)||this.match(N._var)||this.match(N._export))return this.flowParseDeclare(t)}else if(this.match(N.name)){if("interface"===e.name)return this.flowParseInterface(t);if("type"===e.name)return this.flowParseTypeAlias(t);if("opaque"===e.name)return this.flowParseOpaqueType(t,!1)}return n(f(a.prototype),"parseExpressionStatement",this).call(this,t,e)}},{key:"shouldParseExportDeclaration",value:function(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||n(f(a.prototype),"shouldParseExportDeclaration",this).call(this)}},{key:"isExportDefaultSpecifier",value:function(){return(!this.match(N.name)||!("type"===this.state.value||"interface"===this.state.value||"opaque"===this.state.value||this.shouldParseEnums()&&"enum"===this.state.value))&&n(f(a.prototype),"isExportDefaultSpecifier",this).call(this)}},{key:"parseExportDefaultExpression",value:function(){if(this.shouldParseEnums()&&this.isContextual("enum")){var t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return n(f(a.prototype),"parseExportDefaultExpression",this).call(this)}},{key:"parseConditional",value:function(e,s,i,r){var o=this;if(!this.match(N.question))return e;if(r){var h=this.tryParse(function(){return n(f(a.prototype),"parseConditional",o).call(o,e,s,i)});return h.node?(h.error&&(this.state=h.failState),h.node):(r.start=h.error.pos||this.state.start,e)}this.expect(N.question);var l=this.state.clone(),p=this.state.noArrowAt,c=this.startNodeAt(s,i),{consequent:u,failed:d}=this.tryParseConditionalConsequent(),[m,y]=this.getArrowLikeExpressions(u);if(d||y.length>0){var v=t(p);if(y.length>0){this.state=l,this.state.noArrowAt=v;for(var x=0;x<y.length;x++)v.push(y[x].start);({consequent:u,failed:d}=this.tryParseConditionalConsequent()),[m,y]=this.getArrowLikeExpressions(u)}d&&m.length>1&&this.raise(l.start,ee.AmbiguousConditionalArrow),d&&1===m.length&&(this.state=l,this.state.noArrowAt=v.concat(m[0].start),({consequent:u,failed:d}=this.tryParseConditionalConsequent()))}return this.getArrowLikeExpressions(u,!0),this.state.noArrowAt=p,this.expect(N.colon),c.test=e,c.consequent=u,c.alternate=this.forwardNoArrowParamsConversionAt(c,function(){return o.parseMaybeAssign(void 0,void 0,void 0)}),this.finishNode(c,"ConditionalExpression")}},{key:"tryParseConditionalConsequent",value:function(){this.state.noArrowParamsConversionAt.push(this.state.start);var t=this.parseMaybeAssignAllowIn(),e=!this.match(N.colon);return this.state.noArrowParamsConversionAt.pop(),{consequent:t,failed:e}}},{key:"getArrowLikeExpressions",value:function(t,e){for(var s=this,i=[t],a=[];0!==i.length;){var r=i.pop();"ArrowFunctionExpression"===r.type?(r.typeParameters||!r.returnType?this.finishArrowValidation(r):a.push(r),i.push(r.body)):"ConditionalExpression"===r.type&&(i.push(r.consequent),i.push(r.alternate))}return e?(a.forEach(function(t){return s.finishArrowValidation(t)}),[a,[]]):ne(a,function(t){return t.params.every(function(t){return s.isAssignable(t,!0)})})}},{key:"finishArrowValidation",value:function(t){var e;this.toAssignableList(t.params,null==(e=t.extra)?void 0:e.trailingComma),this.scope.enter(D|M),n(f(a.prototype),"checkParams",this).call(this,t,!1,!0),this.scope.exit()}},{key:"forwardNoArrowParamsConversionAt",value:function(t,e){var s;return-1!==this.state.noArrowParamsConversionAt.indexOf(t.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),s=e(),this.state.noArrowParamsConversionAt.pop()):s=e(),s}},{key:"parseParenItem",value:function(t,e,s){if(t=n(f(a.prototype),"parseParenItem",this).call(this,t,e,s),this.eat(N.question)&&(t.optional=!0,this.resetEndLocation(t)),this.match(N.colon)){var i=this.startNodeAt(e,s);return i.expression=t,i.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(i,"TypeCastExpression")}return t}},{key:"assertModuleNodeAllowed",value:function(t){"ImportDeclaration"===t.type&&("type"===t.importKind||"typeof"===t.importKind)||"ExportNamedDeclaration"===t.type&&"type"===t.exportKind||"ExportAllDeclaration"===t.type&&"type"===t.exportKind||n(f(a.prototype),"assertModuleNodeAllowed",this).call(this,t)}},{key:"parseExport",value:function(t){var e=n(f(a.prototype),"parseExport",this).call(this,t);return"ExportNamedDeclaration"!==e.type&&"ExportAllDeclaration"!==e.type||(e.exportKind=e.exportKind||"value"),e}},{key:"parseExportDeclaration",value:function(t){if(this.isContextual("type")){t.exportKind="type";var e=this.startNode();return this.next(),this.match(N.braceL)?(t.specifiers=this.parseExportSpecifiers(),this.parseExportFrom(t),null):this.flowParseTypeAlias(e)}if(this.isContextual("opaque")){t.exportKind="type";var s=this.startNode();return this.next(),this.flowParseOpaqueType(s,!1)}if(this.isContextual("interface")){t.exportKind="type";var i=this.startNode();return this.next(),this.flowParseInterface(i)}if(this.shouldParseEnums()&&this.isContextual("enum")){t.exportKind="value";var r=this.startNode();return this.next(),this.flowParseEnumDeclaration(r)}return n(f(a.prototype),"parseExportDeclaration",this).call(this,t)}},{key:"eatExportStar",value:function(t){return!!n(f(a.prototype),"eatExportStar",this).apply(this,arguments)||!(!this.isContextual("type")||this.lookahead().type!==N.star)&&(t.exportKind="type",this.next(),this.next(),!0)}},{key:"maybeParseExportNamespaceSpecifier",value:function(t){var e=this.state.start,s=n(f(a.prototype),"maybeParseExportNamespaceSpecifier",this).call(this,t);return s&&"type"===t.exportKind&&this.unexpected(e),s}},{key:"parseClassId",value:function(t,e,s){n(f(a.prototype),"parseClassId",this).call(this,t,e,s),this.isRelational("<")&&(t.typeParameters=this.flowParseTypeParameterDeclaration())}},{key:"parseClassMember",value:function(t,e,s){var i=this.state.start;if(this.isContextual("declare")){if(this.parseClassMemberFromModifier(t,e))return;e.declare=!0}n(f(a.prototype),"parseClassMember",this).call(this,t,e,s),e.declare&&("ClassProperty"!==e.type&&"ClassPrivateProperty"!==e.type?this.raise(i,ee.DeclareClassElement):e.value&&this.raise(e.value.start,ee.DeclareClassFieldInitializer))}},{key:"getTokenFromCode",value:function(t){var e=this.input.charCodeAt(this.state.pos+1);return 123===t&&124===e?this.finishOp(N.braceBarL,2):!this.state.inType||62!==t&&60!==t?this.state.inType&&63===t?this.finishOp(N.question,1):Zt(t,e)?(this.state.isIterator=!0,n(f(a.prototype),"readWord",this).call(this)):n(f(a.prototype),"getTokenFromCode",this).call(this,t):this.finishOp(N.relational,1)}},{key:"isAssignable",value:function(t,e){var s=this;switch(t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":return!0;case"ObjectExpression":var i=t.properties.length-1;return t.properties.every(function(t,e){return"ObjectMethod"!==t.type&&(e===i||"SpreadElement"===t.type)&&s.isAssignable(t)});case"ObjectProperty":return this.isAssignable(t.value);case"SpreadElement":return this.isAssignable(t.argument);case"ArrayExpression":return t.elements.every(function(t){return s.isAssignable(t)});case"AssignmentExpression":return"="===t.operator;case"ParenthesizedExpression":case"TypeCastExpression":return this.isAssignable(t.expression);case"MemberExpression":case"OptionalMemberExpression":return!e;default:return!1}}},{key:"toAssignable",value:function(t){return"TypeCastExpression"===t.type?n(f(a.prototype),"toAssignable",this).call(this,this.typeCastToParameter(t)):n(f(a.prototype),"toAssignable",this).call(this,t)}},{key:"toAssignableList",value:function(t,e){for(var s=0;s<t.length;s++){var i=t[s];"TypeCastExpression"===(null==i?void 0:i.type)&&(t[s]=this.typeCastToParameter(i))}return n(f(a.prototype),"toAssignableList",this).call(this,t,e)}},{key:"toReferencedList",value:function(t,e){for(var s=0;s<t.length;s++){var i,a=t[s];a&&"TypeCastExpression"===a.type&&!(null==(i=a.extra)?void 0:i.parenthesized)&&(t.length>1||!e)&&this.raise(a.typeAnnotation.start,ee.TypeCastInPattern)}return t}},{key:"checkLVal",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:at,s=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;if("TypeCastExpression"!==t.type)return n(f(a.prototype),"checkLVal",this).call(this,t,e,s,i)}},{key:"parseClassProperty",value:function(t){return this.match(N.colon)&&(t.typeAnnotation=this.flowParseTypeAnnotation()),n(f(a.prototype),"parseClassProperty",this).call(this,t)}},{key:"parseClassPrivateProperty",value:function(t){return this.match(N.colon)&&(t.typeAnnotation=this.flowParseTypeAnnotation()),n(f(a.prototype),"parseClassPrivateProperty",this).call(this,t)}},{key:"isClassMethod",value:function(){return this.isRelational("<")||n(f(a.prototype),"isClassMethod",this).call(this)}},{key:"isClassProperty",value:function(){return this.match(N.colon)||n(f(a.prototype),"isClassProperty",this).call(this)}},{key:"isNonstaticConstructor",value:function(t){return!this.match(N.colon)&&n(f(a.prototype),"isNonstaticConstructor",this).call(this,t)}},{key:"pushClassMethod",value:function(t,e,s,i,r,o){e.variance&&this.unexpected(e.variance.start),delete e.variance,this.isRelational("<")&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),n(f(a.prototype),"pushClassMethod",this).call(this,t,e,s,i,r,o)}},{key:"pushClassPrivateMethod",value:function(t,e,s,i){e.variance&&this.unexpected(e.variance.start),delete e.variance,this.isRelational("<")&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),n(f(a.prototype),"pushClassPrivateMethod",this).call(this,t,e,s,i)}},{key:"parseClassSuper",value:function(t){if(n(f(a.prototype),"parseClassSuper",this).call(this,t),t.superClass&&this.isRelational("<")&&(t.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual("implements")){this.next();var e=t.implements=[];do{var s=this.startNode();s.id=this.flowParseRestrictedIdentifier(!0),this.isRelational("<")?s.typeParameters=this.flowParseTypeParameterInstantiation():s.typeParameters=null,e.push(this.finishNode(s,"ClassImplements"))}while(this.eat(N.comma))}}},{key:"parsePropertyName",value:function(t,e){var s=this.flowParseVariance(),i=n(f(a.prototype),"parsePropertyName",this).call(this,t,e);return t.variance=s,i}},{key:"parseObjPropValue",value:function(t,e,s,i,r,o,h,l){var p;t.variance&&this.unexpected(t.variance.start),delete t.variance,this.isRelational("<")&&!h&&(p=this.flowParseTypeParameterDeclaration(),this.match(N.parenL)||this.unexpected()),n(f(a.prototype),"parseObjPropValue",this).call(this,t,e,s,i,r,o,h,l),p&&((t.value||t).typeParameters=p)}},{key:"parseAssignableListItemTypes",value:function(t){return this.eat(N.question)&&("Identifier"!==t.type&&this.raise(t.start,ee.OptionalBindingPattern),t.optional=!0),this.match(N.colon)&&(t.typeAnnotation=this.flowParseTypeAnnotation()),this.resetEndLocation(t),t}},{key:"parseMaybeDefault",value:function(t,e,s){var i=n(f(a.prototype),"parseMaybeDefault",this).call(this,t,e,s);return"AssignmentPattern"===i.type&&i.typeAnnotation&&i.right.start<i.typeAnnotation.start&&this.raise(i.typeAnnotation.start,ee.TypeBeforeInitializer),i}},{key:"shouldParseDefaultImport",value:function(t){return ie(t)?ae(this.state):n(f(a.prototype),"shouldParseDefaultImport",this).call(this,t)}},{key:"parseImportSpecifierLocal",value:function(t,e,s,i){e.local=ie(t)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),this.checkLVal(e.local,Y,void 0,i),t.specifiers.push(this.finishNode(e,s))}},{key:"maybeParseDefaultImportSpecifier",value:function(t){t.importKind="value";var e=null;if(this.match(N._typeof)?e="typeof":this.isContextual("type")&&(e="type"),e){var s=this.lookahead();"type"===e&&s.type===N.star&&this.unexpected(s.start),(ae(s)||s.type===N.braceL||s.type===N.star)&&(this.next(),t.importKind=e)}return n(f(a.prototype),"maybeParseDefaultImportSpecifier",this).call(this,t)}},{key:"parseImportSpecifier",value:function(t){var e=this.startNode(),s=this.state.start,i=this.parseIdentifier(!0),a=null;"type"===i.name?a="type":"typeof"===i.name&&(a="typeof");var r=!1;if(this.isContextual("as")&&!this.isLookaheadContextual("as")){var n=this.parseIdentifier(!0);null===a||this.match(N.name)||this.state.type.keyword?(e.imported=i,e.importKind=null,e.local=this.parseIdentifier()):(e.imported=n,e.importKind=a,e.local=n.__clone())}else null!==a&&(this.match(N.name)||this.state.type.keyword)?(e.imported=this.parseIdentifier(!0),e.importKind=a,this.eatContextual("as")?e.local=this.parseIdentifier():(r=!0,e.local=e.imported.__clone())):(r=!0,e.imported=i,e.importKind=null,e.local=e.imported.__clone());var o=ie(t),h=ie(e);o&&h&&this.raise(s,ee.ImportTypeShorthandOnlyInPureImport),(o||h)&&this.checkReservedType(e.local.name,e.local.start,!0),!r||o||h||this.checkReservedWord(e.local.name,e.start,!0,!0),this.checkLVal(e.local,Y,void 0,"import specifier"),t.specifiers.push(this.finishNode(e,"ImportSpecifier"))}},{key:"parseFunctionParams",value:function(t,e){var s=t.kind;"get"!==s&&"set"!==s&&this.isRelational("<")&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),n(f(a.prototype),"parseFunctionParams",this).call(this,t,e)}},{key:"parseVarId",value:function(t,e){n(f(a.prototype),"parseVarId",this).call(this,t,e),this.match(N.colon)&&(t.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t.id))}},{key:"parseAsyncArrowFromCallExpression",value:function(t,e){if(this.match(N.colon)){var s=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,t.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=s}return n(f(a.prototype),"parseAsyncArrowFromCallExpression",this).call(this,t,e)}},{key:"shouldParseAsyncArrow",value:function(){return this.match(N.colon)||n(f(a.prototype),"shouldParseAsyncArrow",this).call(this)}},{key:"parseMaybeAssign",value:function(t,e,s){var i,r,o=this,h=null;if(this.hasPlugin("jsx")&&(this.match(N.jsxTagStart)||this.isRelational("<"))){if(h=this.state.clone(),!(r=this.tryParse(function(){return n(f(a.prototype),"parseMaybeAssign",o).call(o,t,e,s)},h)).error)return r.node;var{context:l}=this.state;l[l.length-1]===Mt.j_oTag?l.length-=2:l[l.length-1]===Mt.j_expr&&(l.length-=1)}if((null==(i=r)?void 0:i.error)||this.isRelational("<")){var p,c,u;h=h||this.state.clone();var d=this.tryParse(function(i){var r;u=o.flowParseTypeParameterDeclaration();var h=o.forwardNoArrowParamsConversionAt(u,function(){var i=n(f(a.prototype),"parseMaybeAssign",o).call(o,t,e,s);return o.resetStartLocationFromNode(i,u),i});"ArrowFunctionExpression"!==h.type&&(null==(r=h.extra)?void 0:r.parenthesized)&&i();var l=o.maybeUnwrapTypeCastExpression(h);return l.typeParameters=u,o.resetStartLocationFromNode(l,u),h},h),m=null;if(d.node&&"ArrowFunctionExpression"===this.maybeUnwrapTypeCastExpression(d.node).type){if(!d.error&&!d.aborted)return d.node.async&&this.raise(u.start,ee.UnexpectedTypeParameterBeforeAsyncArrowFunction),d.node;m=d.node}if(null==(p=r)?void 0:p.node)return this.state=r.failState,r.node;if(m)return this.state=d.failState,m;if(null==(c=r)?void 0:c.thrown)throw r.error;if(d.thrown)throw d.error;throw this.raise(u.start,ee.UnexpectedTokenAfterTypeParameter)}return n(f(a.prototype),"parseMaybeAssign",this).call(this,t,e,s)}},{key:"parseArrow",value:function(t){var e=this;if(this.match(N.colon)){var s=this.tryParse(function(){var s=e.state.noAnonFunctionType;e.state.noAnonFunctionType=!0;var i=e.startNode();return[i.typeAnnotation,t.predicate]=e.flowParseTypeAndPredicateInitialiser(),e.state.noAnonFunctionType=s,e.canInsertSemicolon()&&e.unexpected(),e.match(N.arrow)||e.unexpected(),i});if(s.thrown)return null;s.error&&(this.state=s.failState),t.returnType=s.node.typeAnnotation?this.finishNode(s.node,"TypeAnnotation"):null}return n(f(a.prototype),"parseArrow",this).call(this,t)}},{key:"shouldParseArrow",value:function(){return this.match(N.colon)||n(f(a.prototype),"shouldParseArrow",this).call(this)}},{key:"setArrowFunctionParameters",value:function(t,e){-1!==this.state.noArrowParamsConversionAt.indexOf(t.start)?t.params=e:n(f(a.prototype),"setArrowFunctionParameters",this).call(this,t,e)}},{key:"checkParams",value:function(t,e,s){if(!s||-1===this.state.noArrowParamsConversionAt.indexOf(t.start))return n(f(a.prototype),"checkParams",this).apply(this,arguments)}},{key:"parseParenAndDistinguishExpression",value:function(t){return n(f(a.prototype),"parseParenAndDistinguishExpression",this).call(this,t&&-1===this.state.noArrowAt.indexOf(this.state.start))}},{key:"parseSubscripts",value:function(t,e,s,i){var r=this;if("Identifier"===t.type&&"async"===t.name&&-1!==this.state.noArrowAt.indexOf(e)){this.next();var o=this.startNodeAt(e,s);o.callee=t,o.arguments=this.parseCallExpressionArguments(N.parenR,!1),t=this.finishNode(o,"CallExpression")}else if("Identifier"===t.type&&"async"===t.name&&this.isRelational("<")){var h=this.state.clone(),l=this.tryParse(function(t){return r.parseAsyncArrowWithTypeParameters(e,s)||t()},h);if(!l.error&&!l.aborted)return l.node;var p=this.tryParse(function(){return n(f(a.prototype),"parseSubscripts",r).call(r,t,e,s,i)},h);if(p.node&&!p.error)return p.node;if(l.node)return this.state=l.failState,l.node;if(p.node)return this.state=p.failState,p.node;throw l.error||p.error}return n(f(a.prototype),"parseSubscripts",this).call(this,t,e,s,i)}},{key:"parseSubscript",value:function(t,e,s,i,r){var o=this;if(this.match(N.questionDot)&&this.isLookaheadToken_lt()){if(r.optionalChainMember=!0,i)return r.stop=!0,t;this.next();var h=this.startNodeAt(e,s);return h.callee=t,h.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(N.parenL),h.arguments=this.parseCallExpressionArguments(N.parenR,!1),h.optional=!0,this.finishCallExpression(h,!0)}if(!i&&this.shouldParseTypes()&&this.isRelational("<")){var l=this.startNodeAt(e,s);l.callee=t;var p=this.tryParse(function(){return l.typeArguments=o.flowParseTypeParameterInstantiationCallOrNew(),o.expect(N.parenL),l.arguments=o.parseCallExpressionArguments(N.parenR,!1),r.optionalChainMember&&(l.optional=!1),o.finishCallExpression(l,r.optionalChainMember)});if(p.node)return p.error&&(this.state=p.failState),p.node}return n(f(a.prototype),"parseSubscript",this).call(this,t,e,s,i,r)}},{key:"parseNewArguments",value:function(t){var e=this,s=null;this.shouldParseTypes()&&this.isRelational("<")&&(s=this.tryParse(function(){return e.flowParseTypeParameterInstantiationCallOrNew()}).node),t.typeArguments=s,n(f(a.prototype),"parseNewArguments",this).call(this,t)}},{key:"parseAsyncArrowWithTypeParameters",value:function(t,e){var s=this.startNodeAt(t,e);if(this.parseFunctionParams(s),this.parseArrow(s))return this.parseArrowExpression(s,void 0,!0)}},{key:"readToken_mult_modulo",value:function(t){var e=this.input.charCodeAt(this.state.pos+1);if(42===t&&47===e&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();n(f(a.prototype),"readToken_mult_modulo",this).call(this,t)}},{key:"readToken_pipe_amp",value:function(t){var e=this.input.charCodeAt(this.state.pos+1);124!==t||125!==e?n(f(a.prototype),"readToken_pipe_amp",this).call(this,t):this.finishOp(N.braceBarR,2)}},{key:"parseTopLevel",value:function(t,e){var s=n(f(a.prototype),"parseTopLevel",this).call(this,t,e);return this.state.hasFlowComment&&this.raise(this.state.pos,ee.UnterminatedFlowComment),s}},{key:"skipBlockComment",value:function(){if(this.hasPlugin("flowComments")&&this.skipFlowComment())return this.state.hasFlowComment&&this.unexpected(null,ee.NestedFlowComment),this.hasFlowCommentCompletion(),this.state.pos+=this.skipFlowComment(),void(this.state.hasFlowComment=!0);if(this.state.hasFlowComment){var t=this.input.indexOf("*-/",this.state.pos+=2);if(-1===t)throw this.raise(this.state.pos-2,Ct.UnterminatedComment);this.state.pos=t+3}else n(f(a.prototype),"skipBlockComment",this).call(this)}},{key:"skipFlowComment",value:function(){for(var{pos:t}=this.state,e=2;[32,9].includes(this.input.charCodeAt(t+e));)e++;var s=this.input.charCodeAt(e+t),i=this.input.charCodeAt(e+t+1);return 58===s&&58===i?e+2:"flow-include"===this.input.slice(e+t,e+t+12)?e+12:58===s&&58!==i&&e}},{key:"hasFlowCommentCompletion",value:function(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(this.state.pos,Ct.UnterminatedComment)}},{key:"flowEnumErrorBooleanMemberNotInitialized",value:function(t,e){var{enumName:s,memberName:i}=e;this.raise(t,ee.EnumBooleanMemberNotInitialized,i,s)}},{key:"flowEnumErrorInvalidMemberName",value:function(t,e){var{enumName:s,memberName:i}=e,a=i[0].toUpperCase()+i.slice(1);this.raise(t,ee.EnumInvalidMemberName,i,a,s)}},{key:"flowEnumErrorDuplicateMemberName",value:function(t,e){var{enumName:s,memberName:i}=e;this.raise(t,ee.EnumDuplicateMemberName,i,s)}},{key:"flowEnumErrorInconsistentMemberValues",value:function(t,e){var{enumName:s}=e;this.raise(t,ee.EnumInconsistentMemberValues,s)}},{key:"flowEnumErrorInvalidExplicitType",value:function(t,e){var{enumName:s,suppliedType:i}=e;return this.raise(t,null===i?ee.EnumInvalidExplicitTypeUnknownSupplied:ee.EnumInvalidExplicitType,s,i)}},{key:"flowEnumErrorInvalidMemberInitializer",value:function(t,e){var{enumName:s,explicitType:i,memberName:a}=e,r=null;switch(i){case"boolean":case"number":case"string":r=ee.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":r=ee.EnumInvalidMemberInitializerSymbolType;break;default:r=ee.EnumInvalidMemberInitializerUnknownType}return this.raise(t,r,s,a,i)}},{key:"flowEnumErrorNumberMemberNotInitialized",value:function(t,e){var{enumName:s,memberName:i}=e;this.raise(t,ee.EnumNumberMemberNotInitialized,s,i)}},{key:"flowEnumErrorStringMemberInconsistentlyInitailized",value:function(t,e){var{enumName:s}=e;this.raise(t,ee.EnumStringMemberInconsistentlyInitailized,s)}},{key:"flowEnumMemberInit",value:function(){var t=this,e=this.state.start,s=function(){return t.match(N.comma)||t.match(N.braceR)};switch(this.state.type){case N.num:var i=this.parseLiteral(this.state.value,"NumericLiteral");return s()?{type:"number",pos:i.start,value:i}:{type:"invalid",pos:e};case N.string:var a=this.parseLiteral(this.state.value,"StringLiteral");return s()?{type:"string",pos:a.start,value:a}:{type:"invalid",pos:e};case N._true:case N._false:var r=this.parseBooleanLiteral();return s()?{type:"boolean",pos:r.start,value:r}:{type:"invalid",pos:e};default:return{type:"invalid",pos:e}}}},{key:"flowEnumMemberRaw",value:function(){var t=this.state.start;return{id:this.parseIdentifier(!0),init:this.eat(N.eq)?this.flowEnumMemberInit():{type:"none",pos:t}}}},{key:"flowEnumCheckExplicitTypeMismatch",value:function(t,e,s){var{explicitType:i}=e;null!==i&&i!==s&&this.flowEnumErrorInvalidMemberInitializer(t,e)}},{key:"flowEnumMembers",value:function(t){for(var{enumName:e,explicitType:s}=t,i=new Set,a={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};!this.match(N.braceR);){var r=this.startNode(),{id:n,init:o}=this.flowEnumMemberRaw(),h=n.name;if(""!==h){/^[a-z]/.test(h)&&this.flowEnumErrorInvalidMemberName(n.start,{enumName:e,memberName:h}),i.has(h)&&this.flowEnumErrorDuplicateMemberName(n.start,{enumName:e,memberName:h}),i.add(h);var l={enumName:e,explicitType:s,memberName:h};switch(r.id=n,o.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(o.pos,l,"boolean"),r.init=o.value,a.booleanMembers.push(this.finishNode(r,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(o.pos,l,"number"),r.init=o.value,a.numberMembers.push(this.finishNode(r,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(o.pos,l,"string"),r.init=o.value,a.stringMembers.push(this.finishNode(r,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(o.pos,l);case"none":switch(s){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.pos,l);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.pos,l);break;default:a.defaultedMembers.push(this.finishNode(r,"EnumDefaultedMember"))}}this.match(N.braceR)||this.expect(N.comma)}}return a}},{key:"flowEnumStringMembers",value:function(t,e,s){var{enumName:i}=s;if(0===t.length)return e;if(0===e.length)return t;if(e.length>t.length){for(var a=0;a<t.length;a++){var r=t[a];this.flowEnumErrorStringMemberInconsistentlyInitailized(r.start,{enumName:i})}return e}for(var n=0;n<e.length;n++){var o=e[n];this.flowEnumErrorStringMemberInconsistentlyInitailized(o.start,{enumName:i})}return t}},{key:"flowEnumParseExplicitType",value:function(t){var{enumName:e}=t;if(this.eatContextual("of")){if(!this.match(N.name))throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null});var{value:s}=this.state;return this.next(),"boolean"!==s&&"number"!==s&&"string"!==s&&"symbol"!==s&&this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:s}),s}return null}},{key:"flowEnumBody",value:function(t,e){var s=this,{enumName:i,nameLoc:a}=e,r=this.flowEnumParseExplicitType({enumName:i});this.expect(N.braceL);var n=this.flowEnumMembers({enumName:i,explicitType:r});switch(r){case"boolean":return t.explicitType=!0,t.members=n.booleanMembers,this.expect(N.braceR),this.finishNode(t,"EnumBooleanBody");case"number":return t.explicitType=!0,t.members=n.numberMembers,this.expect(N.braceR),this.finishNode(t,"EnumNumberBody");case"string":return t.explicitType=!0,t.members=this.flowEnumStringMembers(n.stringMembers,n.defaultedMembers,{enumName:i}),this.expect(N.braceR),this.finishNode(t,"EnumStringBody");case"symbol":return t.members=n.defaultedMembers,this.expect(N.braceR),this.finishNode(t,"EnumSymbolBody");default:var o=function(){return t.members=[],s.expect(N.braceR),s.finishNode(t,"EnumStringBody")};t.explicitType=!1;var h=n.booleanMembers.length,l=n.numberMembers.length,p=n.stringMembers.length,c=n.defaultedMembers.length;if(h||l||p||c){if(h||l){if(!l&&!p&&h>=c){for(var u=0,d=n.defaultedMembers;u<d.length;u++){var m=d[u];this.flowEnumErrorBooleanMemberNotInitialized(m.start,{enumName:i,memberName:m.id.name})}return t.members=n.booleanMembers,this.expect(N.braceR),this.finishNode(t,"EnumBooleanBody")}if(!h&&!p&&l>=c){for(var f=0,y=n.defaultedMembers;f<y.length;f++){var v=y[f];this.flowEnumErrorNumberMemberNotInitialized(v.start,{enumName:i,memberName:v.id.name})}return t.members=n.numberMembers,this.expect(N.braceR),this.finishNode(t,"EnumNumberBody")}return this.flowEnumErrorInconsistentMemberValues(a,{enumName:i}),o()}return t.members=this.flowEnumStringMembers(n.stringMembers,n.defaultedMembers,{enumName:i}),this.expect(N.braceR),this.finishNode(t,"EnumStringBody")}return o()}}},{key:"flowParseEnumDeclaration",value:function(t){var e=this.parseIdentifier();return t.id=e,t.body=this.flowEnumBody(this.startNode(),{enumName:e.name,nameLoc:e.start}),this.finishNode(t,"EnumDeclaration")}},{key:"updateContext",value:function(t){this.match(N.name)&&"of"===this.state.value&&t===N.name&&"interface"===this.input.slice(this.state.lastTokStart,this.state.lastTokEnd)?this.state.exprAllowed=!1:n(f(a.prototype),"updateContext",this).call(this,t)}},{key:"isLookaheadToken_lt",value:function(){var t=this.nextTokenStart();if(60===this.input.charCodeAt(t)){var e=this.input.charCodeAt(t+1);return 60!==e&&61!==e}return!1}},{key:"maybeUnwrapTypeCastExpression",value:function(t){return"TypeCastExpression"===t.type?t.expression:t}}]),a}()},le={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},pe=/^[\da-fA-F]+$/,ce=/^\d+$/,ue=Object.freeze({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>",MissingClosingTagElement:"Expected corresponding JSX closing tag for <%0>",UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text",UnterminatedJsxContent:"Unterminated JSX contents",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function de(t){return!!t&&("JSXOpeningFragment"===t.type||"JSXClosingFragment"===t.type)}function me(t){if("JSXIdentifier"===t.type)return t.name;if("JSXNamespacedName"===t.type)return t.namespace.name+":"+t.name.name;if("JSXMemberExpression"===t.type)return me(t.object)+"."+me(t.property);throw new Error("Node had unexpected type: "+t.type)}Mt.j_oTag=new Dt("<tag",!1),Mt.j_cTag=new Dt("</tag",!1),Mt.j_expr=new Dt("<tag>...</tag>",!0,!0),N.jsxName=new A("jsxName"),N.jsxText=new A("jsxText",{beforeExpr:!0}),N.jsxTagStart=new A("jsxTagStart",{startsExpr:!0}),N.jsxTagEnd=new A("jsxTagEnd"),N.jsxTagStart.updateContext=function(){this.state.context.push(Mt.j_expr),this.state.context.push(Mt.j_oTag),this.state.exprAllowed=!1},N.jsxTagEnd.updateContext=function(t){var e=this.state.context.pop();e===Mt.j_oTag&&t===N.slash||e===Mt.j_cTag?(this.state.context.pop(),this.state.exprAllowed=this.curContext()===Mt.j_expr):this.state.exprAllowed=!0};var fe=function(t){return function(e){l(i,t);var s=c(i);function i(){return x(this,i),s.apply(this,arguments)}return v(i,[{key:"jsxReadToken",value:function(){for(var t="",e=this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,ue.UnterminatedJsxContent);var s=this.input.charCodeAt(this.state.pos);switch(s){case 60:case 123:return this.state.pos===this.state.start?60===s&&this.state.exprAllowed?(++this.state.pos,this.finishToken(N.jsxTagStart)):n(f(i.prototype),"getTokenFromCode",this).call(this,s):(t+=this.input.slice(e,this.state.pos),this.finishToken(N.jsxText,t));case 38:t+=this.input.slice(e,this.state.pos),t+=this.jsxReadEntity(),e=this.state.pos;break;default:Pt(s)?(t+=this.input.slice(e,this.state.pos),t+=this.jsxReadNewLine(!0),e=this.state.pos):++this.state.pos}}}},{key:"jsxReadNewLine",value:function(t){var e,s=this.input.charCodeAt(this.state.pos);return++this.state.pos,13===s&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,e=t?"\n":"\r\n"):e=String.fromCharCode(s),++this.state.curLine,this.state.lineStart=this.state.pos,e}},{key:"jsxReadString",value:function(t){for(var e="",s=++this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,Ct.UnterminatedString);var i=this.input.charCodeAt(this.state.pos);if(i===t)break;38===i?(e+=this.input.slice(s,this.state.pos),e+=this.jsxReadEntity(),s=this.state.pos):Pt(i)?(e+=this.input.slice(s,this.state.pos),e+=this.jsxReadNewLine(!1),s=this.state.pos):++this.state.pos}return e+=this.input.slice(s,this.state.pos++),this.finishToken(N.string,e)}},{key:"jsxReadEntity",value:function(){for(var t,e="",s=0,i=this.input[this.state.pos],a=++this.state.pos;this.state.pos<this.length&&s++<10;){if(";"===(i=this.input[this.state.pos++])){"#"===e[0]?"x"===e[1]?(e=e.substr(2),pe.test(e)&&(t=String.fromCodePoint(parseInt(e,16)))):(e=e.substr(1),ce.test(e)&&(t=String.fromCodePoint(parseInt(e,10)))):t=le[e];break}e+=i}return t||(this.state.pos=a,"&")}},{key:"jsxReadWord",value:function(){var t,e=this.state.pos;do{t=this.input.charCodeAt(++this.state.pos)}while(Vt(t)||45===t);return this.finishToken(N.jsxName,this.input.slice(e,this.state.pos))}},{key:"jsxParseIdentifier",value:function(){var t=this.startNode();return this.match(N.jsxName)?t.name=this.state.value:this.state.type.keyword?t.name=this.state.type.keyword:this.unexpected(),this.next(),this.finishNode(t,"JSXIdentifier")}},{key:"jsxParseNamespacedName",value:function(){var t=this.state.start,e=this.state.startLoc,s=this.jsxParseIdentifier();if(!this.eat(N.colon))return s;var i=this.startNodeAt(t,e);return i.namespace=s,i.name=this.jsxParseIdentifier(),this.finishNode(i,"JSXNamespacedName")}},{key:"jsxParseElementName",value:function(){var t=this.state.start,e=this.state.startLoc,s=this.jsxParseNamespacedName();if("JSXNamespacedName"===s.type)return s;for(;this.eat(N.dot);){var i=this.startNodeAt(t,e);i.object=s,i.property=this.jsxParseIdentifier(),s=this.finishNode(i,"JSXMemberExpression")}return s}},{key:"jsxParseAttributeValue",value:function(){var t;switch(this.state.type){case N.braceL:return t=this.startNode(),this.next(),"JSXEmptyExpression"===(t=this.jsxParseExpressionContainer(t)).expression.type&&this.raise(t.start,ue.AttributeIsEmpty),t;case N.jsxTagStart:case N.string:return this.parseExprAtom();default:throw this.raise(this.state.start,ue.UnsupportedJsxValue)}}},{key:"jsxParseEmptyExpression",value:function(){var t=this.startNodeAt(this.state.lastTokEnd,this.state.lastTokEndLoc);return this.finishNodeAt(t,"JSXEmptyExpression",this.state.start,this.state.startLoc)}},{key:"jsxParseSpreadChild",value:function(t){return this.next(),t.expression=this.parseExpression(),this.expect(N.braceR),this.finishNode(t,"JSXSpreadChild")}},{key:"jsxParseExpressionContainer",value:function(t){return this.match(N.braceR)?t.expression=this.jsxParseEmptyExpression():t.expression=this.parseExpression(),this.expect(N.braceR),this.finishNode(t,"JSXExpressionContainer")}},{key:"jsxParseAttribute",value:function(){var t=this.startNode();return this.eat(N.braceL)?(this.expect(N.ellipsis),t.argument=this.parseMaybeAssignAllowIn(),this.expect(N.braceR),this.finishNode(t,"JSXSpreadAttribute")):(t.name=this.jsxParseNamespacedName(),t.value=this.eat(N.eq)?this.jsxParseAttributeValue():null,this.finishNode(t,"JSXAttribute"))}},{key:"jsxParseOpeningElementAt",value:function(t,e){var s=this.startNodeAt(t,e);return this.match(N.jsxTagEnd)?(this.expect(N.jsxTagEnd),this.finishNode(s,"JSXOpeningFragment")):(s.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(s))}},{key:"jsxParseOpeningElementAfterName",value:function(t){for(var e=[];!this.match(N.slash)&&!this.match(N.jsxTagEnd);)e.push(this.jsxParseAttribute());return t.attributes=e,t.selfClosing=this.eat(N.slash),this.expect(N.jsxTagEnd),this.finishNode(t,"JSXOpeningElement")}},{key:"jsxParseClosingElementAt",value:function(t,e){var s=this.startNodeAt(t,e);return this.match(N.jsxTagEnd)?(this.expect(N.jsxTagEnd),this.finishNode(s,"JSXClosingFragment")):(s.name=this.jsxParseElementName(),this.expect(N.jsxTagEnd),this.finishNode(s,"JSXClosingElement"))}},{key:"jsxParseElementAt",value:function(t,e){var s=this.startNodeAt(t,e),i=[],a=this.jsxParseOpeningElementAt(t,e),r=null;if(!a.selfClosing){t:for(;;)switch(this.state.type){case N.jsxTagStart:if(t=this.state.start,e=this.state.startLoc,this.next(),this.eat(N.slash)){r=this.jsxParseClosingElementAt(t,e);break t}i.push(this.jsxParseElementAt(t,e));break;case N.jsxText:i.push(this.parseExprAtom());break;case N.braceL:var n=this.startNode();this.next(),this.match(N.ellipsis)?i.push(this.jsxParseSpreadChild(n)):i.push(this.jsxParseExpressionContainer(n));break;default:throw this.unexpected()}de(a)&&!de(r)?this.raise(r.start,ue.MissingClosingTagFragment):!de(a)&&de(r)?this.raise(r.start,ue.MissingClosingTagElement,me(a.name)):de(a)||de(r)||me(r.name)!==me(a.name)&&this.raise(r.start,ue.MissingClosingTagElement,me(a.name))}if(de(a)?(s.openingFragment=a,s.closingFragment=r):(s.openingElement=a,s.closingElement=r),s.children=i,this.isRelational("<"))throw this.raise(this.state.start,ue.UnwrappedAdjacentJSXElements);return de(a)?this.finishNode(s,"JSXFragment"):this.finishNode(s,"JSXElement")}},{key:"jsxParseElement",value:function(){var t=this.state.start,e=this.state.startLoc;return this.next(),this.jsxParseElementAt(t,e)}},{key:"parseExprAtom",value:function(t){return this.match(N.jsxText)?this.parseLiteral(this.state.value,"JSXText"):this.match(N.jsxTagStart)?this.jsxParseElement():this.isRelational("<")&&33!==this.input.charCodeAt(this.state.pos)?(this.finishToken(N.jsxTagStart),this.jsxParseElement()):n(f(i.prototype),"parseExprAtom",this).call(this,t)}},{key:"getTokenFromCode",value:function(t){if(this.state.inPropertyName)return n(f(i.prototype),"getTokenFromCode",this).call(this,t);var e=this.curContext();if(e===Mt.j_expr)return this.jsxReadToken();if(e===Mt.j_oTag||e===Mt.j_cTag){if(qt(t))return this.jsxReadWord();if(62===t)return++this.state.pos,this.finishToken(N.jsxTagEnd);if((34===t||39===t)&&e===Mt.j_oTag)return this.jsxReadString(t)}return 60===t&&this.state.exprAllowed&&33!==this.input.charCodeAt(this.state.pos+1)?(++this.state.pos,this.finishToken(N.jsxTagStart)):n(f(i.prototype),"getTokenFromCode",this).call(this,t)}},{key:"updateContext",value:function(t){if(this.match(N.braceL)){var e=this.curContext();e===Mt.j_oTag?this.state.context.push(Mt.braceExpression):e===Mt.j_expr?this.state.context.push(Mt.templateQuasi):n(f(i.prototype),"updateContext",this).call(this,t),this.state.exprAllowed=!0}else{if(!this.match(N.slash)||t!==N.jsxTagStart)return n(f(i.prototype),"updateContext",this).call(this,t);this.state.context.length-=2,this.state.context.push(Mt.j_cTag),this.state.exprAllowed=!1}}}]),i}()},ye=function t(e){x(this,t),this.flags=void 0,this.var=[],this.lexical=[],this.functions=[],this.flags=e},ve=function(){function t(e,s){x(this,t),this.scopeStack=[],this.raise=void 0,this.inModule=void 0,this.undefinedExports=new Map,this.undefinedPrivateNames=new Map,this.raise=e,this.inModule=s}return v(t,[{key:"createScope",value:function(t){return new ye(t)}},{key:"enter",value:function(t){this.scopeStack.push(this.createScope(t))}},{key:"exit",value:function(){this.scopeStack.pop()}},{key:"treatFunctionsAsVarInScope",value:function(t){return!!(t.flags&D||!this.inModule&&t.flags&L)}},{key:"declareName",value:function(t,e,s){var i=this.currentScope();if(e&z||e&H)this.checkRedeclarationInScope(i,t,e,s),e&H?i.functions.push(t):i.lexical.push(t),e&z&&this.maybeExportDefined(i,t);else if(e&V)for(var a=this.scopeStack.length-1;a>=0&&(i=this.scopeStack[a],this.checkRedeclarationInScope(i,t,e,s),i.var.push(t),this.maybeExportDefined(i,t),!(i.flags&j));--a);this.inModule&&i.flags&L&&this.undefinedExports.delete(t)}},{key:"maybeExportDefined",value:function(t,e){this.inModule&&t.flags&L&&this.undefinedExports.delete(e)}},{key:"checkRedeclarationInScope",value:function(t,e,s,i){this.isRedeclaredInScope(t,e,s)&&this.raise(i,Ct.VarRedeclaration,e)}},{key:"isRedeclaredInScope",value:function(t,e,s){return!!(s&U)&&(s&z?t.lexical.indexOf(e)>-1||t.functions.indexOf(e)>-1||t.var.indexOf(e)>-1:s&H?t.lexical.indexOf(e)>-1||!this.treatFunctionsAsVarInScope(t)&&t.var.indexOf(e)>-1:t.lexical.indexOf(e)>-1&&!(t.flags&R&&t.lexical[0]===e)||!this.treatFunctionsAsVarInScope(t)&&t.functions.indexOf(e)>-1)}},{key:"checkLocalExport",value:function(t){-1===this.scopeStack[0].lexical.indexOf(t.name)&&-1===this.scopeStack[0].var.indexOf(t.name)&&-1===this.scopeStack[0].functions.indexOf(t.name)&&this.undefinedExports.set(t.name,t.start)}},{key:"currentScope",value:function(){return this.scopeStack[this.scopeStack.length-1]}},{key:"currentVarScope",value:function(){for(var t=this.scopeStack.length-1;;t--){var e=this.scopeStack[t];if(e.flags&j)return e}}},{key:"currentThisScope",value:function(){for(var t=this.scopeStack.length-1;;t--){var e=this.scopeStack[t];if((e.flags&j||e.flags&B)&&!(e.flags&M))return e}}},{key:"inFunction",get:function(){return(this.currentVarScope().flags&D)>0}},{key:"allowSuper",get:function(){return(this.currentThisScope().flags&O)>0}},{key:"allowDirectSuper",get:function(){return(this.currentThisScope().flags&F)>0}},{key:"inClass",get:function(){return(this.currentThisScope().flags&B)>0}},{key:"inNonArrowFunction",get:function(){return(this.currentThisScope().flags&D)>0}},{key:"treatFunctionsAsVar",get:function(){return this.treatFunctionsAsVarInScope(this.currentScope())}}]),t}(),xe=function(t){l(s,ye);var e=c(s);function s(){var t;x(this,s);for(var i=arguments.length,a=new Array(i),r=0;r<i;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))).types=[],t.enums=[],t.constEnums=[],t.classes=[],t.exportOnlyBindings=[],t}return s}(),Pe=function(t){l(s,ve);var e=c(s);function s(){return x(this,s),e.apply(this,arguments)}return v(s,[{key:"createScope",value:function(t){return new xe(t)}},{key:"declareName",value:function(t,e,i){var a=this.currentScope();if(e&G)return this.maybeExportDefined(a,t),void a.exportOnlyBindings.push(t);n(f(s.prototype),"declareName",this).apply(this,arguments),e&q&&(e&U||(this.checkRedeclarationInScope(a,t,e,i),this.maybeExportDefined(a,t)),a.types.push(t)),e&J&&a.enums.push(t),e&X&&a.constEnums.push(t),e&W&&a.classes.push(t)}},{key:"isRedeclaredInScope",value:function(t,e,i){return t.enums.indexOf(e)>-1?!(i&J)||!!(i&X)!==t.constEnums.indexOf(e)>-1:i&W&&t.classes.indexOf(e)>-1?t.lexical.indexOf(e)>-1&&!!(i&U):!!(i&q&&t.types.indexOf(e)>-1)||n(f(s.prototype),"isRedeclaredInScope",this).apply(this,arguments)}},{key:"checkLocalExport",value:function(t){-1===this.scopeStack[0].types.indexOf(t.name)&&-1===this.scopeStack[0].exportOnlyBindings.indexOf(t.name)&&n(f(s.prototype),"checkLocalExport",this).call(this,t)}}]),s}(),ke=0,ge=1,be=2,Te=4,we=8,Ae=function(){function t(){x(this,t),this.stacks=[]}return v(t,[{key:"enter",value:function(t){this.stacks.push(t)}},{key:"exit",value:function(){this.stacks.pop()}},{key:"currentFlags",value:function(){return this.stacks[this.stacks.length-1]}},{key:"hasAwait",get:function(){return(this.currentFlags()&be)>0}},{key:"hasYield",get:function(){return(this.currentFlags()&ge)>0}},{key:"hasReturn",get:function(){return(this.currentFlags()&Te)>0}},{key:"hasIn",get:function(){return(this.currentFlags()&we)>0}}]),t}();function Ee(t,e){return(t?be:0)|(e?ge:0)}function Se(t){if(null==t)throw new Error("Unexpected ".concat(t," value."));return t}function Ce(t){if(!t)throw new Error("Assert fail")}var Ne=Object.freeze({ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateModifier:"Duplicate modifier: '%0'",EmptyHeritageClauseType:"'%0' list cannot be empty.",EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier",IndexSignatureHasAccessibility:"Index signatures cannot have an accessibility modifier ('%0')",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier",IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:"Private elements cannot have an accessibility modifier ('%0')",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0"});function Ie(t){switch(t){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}var Le=function(t){return function(e){l(i,t);var s=c(i);function i(){return x(this,i),s.apply(this,arguments)}return v(i,[{key:"getScopeHandler",value:function(){return Pe}},{key:"tsIsIdentifier",value:function(){return this.match(N.name)}},{key:"tsNextTokenCanFollowModifier",value:function(){return this.next(),!(this.hasPrecedingLineBreak()||this.match(N.parenL)||this.match(N.parenR)||this.match(N.colon)||this.match(N.eq)||this.match(N.question)||this.match(N.bang))}},{key:"tsParseModifier",value:function(t){if(this.match(N.name)){var e=this.state.value;return-1!==t.indexOf(e)&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))?e:void 0}}},{key:"tsParseModifiers",value:function(t,e){for(;;){var s=this.state.start,i=this.tsParseModifier(e);if(!i)break;Object.hasOwnProperty.call(t,i)&&this.raise(s,Ne.DuplicateModifier,i),t[i]=!0}}},{key:"tsIsListTerminator",value:function(t){switch(t){case"EnumMembers":case"TypeMembers":return this.match(N.braceR);case"HeritageClauseElement":return this.match(N.braceL);case"TupleElementTypes":return this.match(N.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}},{key:"tsParseList",value:function(t,e){for(var s=[];!this.tsIsListTerminator(t);)s.push(e());return s}},{key:"tsParseDelimitedList",value:function(t,e){return Se(this.tsParseDelimitedListWorker(t,e,!0))}},{key:"tsParseDelimitedListWorker",value:function(t,e,s){for(var i=[];!this.tsIsListTerminator(t);){var a=e();if(null==a)return;if(i.push(a),!this.eat(N.comma)){if(this.tsIsListTerminator(t))break;return void(s&&this.expect(N.comma))}}return i}},{key:"tsParseBracketedList",value:function(t,e,s,i){i||(s?this.expect(N.bracketL):this.expectRelational("<"));var a=this.tsParseDelimitedList(t,e);return s?this.expect(N.bracketR):this.expectRelational(">"),a}},{key:"tsParseImportType",value:function(){var t=this.startNode();return this.expect(N._import),this.expect(N.parenL),this.match(N.string)||this.raise(this.state.start,Ne.UnsupportedImportTypeArgument),t.argument=this.parseExprAtom(),this.expect(N.parenR),this.eat(N.dot)&&(t.qualifier=this.tsParseEntityName(!0)),this.isRelational("<")&&(t.typeParameters=this.tsParseTypeArguments()),this.finishNode(t,"TSImportType")}},{key:"tsParseEntityName",value:function(t){for(var e=this.parseIdentifier();this.eat(N.dot);){var s=this.startNodeAtNode(e);s.left=e,s.right=this.parseIdentifier(t),e=this.finishNode(s,"TSQualifiedName")}return e}},{key:"tsParseTypeReference",value:function(){var t=this.startNode();return t.typeName=this.tsParseEntityName(!1),!this.hasPrecedingLineBreak()&&this.isRelational("<")&&(t.typeParameters=this.tsParseTypeArguments()),this.finishNode(t,"TSTypeReference")}},{key:"tsParseThisTypePredicate",value:function(t){this.next();var e=this.startNodeAtNode(t);return e.parameterName=t,e.typeAnnotation=this.tsParseTypeAnnotation(!1),this.finishNode(e,"TSTypePredicate")}},{key:"tsParseThisTypeNode",value:function(){var t=this.startNode();return this.next(),this.finishNode(t,"TSThisType")}},{key:"tsParseTypeQuery",value:function(){var t=this.startNode();return this.expect(N._typeof),this.match(N._import)?t.exprName=this.tsParseImportType():t.exprName=this.tsParseEntityName(!0),this.finishNode(t,"TSTypeQuery")}},{key:"tsParseTypeParameter",value:function(){var t=this.startNode();return t.name=this.parseIdentifierName(t.start),t.constraint=this.tsEatThenParseType(N._extends),t.default=this.tsEatThenParseType(N.eq),this.finishNode(t,"TSTypeParameter")}},{key:"tsTryParseTypeParameters",value:function(){if(this.isRelational("<"))return this.tsParseTypeParameters()}},{key:"tsParseTypeParameters",value:function(){var t=this.startNode();return this.isRelational("<")||this.match(N.jsxTagStart)?this.next():this.unexpected(),t.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),!1,!0),0===t.params.length&&this.raise(t.start,Ne.EmptyTypeParameters),this.finishNode(t,"TSTypeParameterDeclaration")}},{key:"tsTryNextParseConstantContext",value:function(){return this.lookahead().type===N._const?(this.next(),this.tsParseTypeReference()):null}},{key:"tsFillSignature",value:function(t,e){var s=t===N.arrow;e.typeParameters=this.tsTryParseTypeParameters(),this.expect(N.parenL),e.parameters=this.tsParseBindingListForSignature(),s?e.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(t):this.match(t)&&(e.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(t))}},{key:"tsParseBindingListForSignature",value:function(){var t=this;return this.parseBindingList(N.parenR,41).map(function(e){return"Identifier"!==e.type&&"RestElement"!==e.type&&"ObjectPattern"!==e.type&&"ArrayPattern"!==e.type&&t.raise(e.start,Ne.UnsupportedSignatureParameterKind,e.type),e})}},{key:"tsParseTypeMemberSemicolon",value:function(){this.eat(N.comma)||this.semicolon()}},{key:"tsParseSignatureMember",value:function(t,e){return this.tsFillSignature(N.colon,e),this.tsParseTypeMemberSemicolon(),this.finishNode(e,t)}},{key:"tsIsUnambiguouslyIndexSignature",value:function(){return this.next(),this.eat(N.name)&&this.match(N.colon)}},{key:"tsTryParseIndexSignature",value:function(t){if(this.match(N.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))){this.expect(N.bracketL);var e=this.parseIdentifier();e.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(e),this.expect(N.bracketR),t.parameters=[e];var s=this.tsTryParseTypeAnnotation();return s&&(t.typeAnnotation=s),this.tsParseTypeMemberSemicolon(),this.finishNode(t,"TSIndexSignature")}}},{key:"tsParsePropertyOrMethodSignature",value:function(t,e){this.eat(N.question)&&(t.optional=!0);var s=t;if(e||!this.match(N.parenL)&&!this.isRelational("<")){var i=s;e&&(i.readonly=!0);var a=this.tsTryParseTypeAnnotation();return a&&(i.typeAnnotation=a),this.tsParseTypeMemberSemicolon(),this.finishNode(i,"TSPropertySignature")}var r=s;return this.tsFillSignature(N.colon,r),this.tsParseTypeMemberSemicolon(),this.finishNode(r,"TSMethodSignature")}},{key:"tsParseTypeMember",value:function(){var t=this.startNode();if(this.match(N.parenL)||this.isRelational("<"))return this.tsParseSignatureMember("TSCallSignatureDeclaration",t);if(this.match(N._new)){var e=this.startNode();return this.next(),this.match(N.parenL)||this.isRelational("<")?this.tsParseSignatureMember("TSConstructSignatureDeclaration",t):(t.key=this.createIdentifier(e,"new"),this.tsParsePropertyOrMethodSignature(t,!1))}var s=!!this.tsParseModifier(["readonly"]),i=this.tsTryParseIndexSignature(t);return i?(s&&(t.readonly=!0),i):(this.parsePropertyName(t,!1),this.tsParsePropertyOrMethodSignature(t,s))}},{key:"tsParseTypeLiteral",value:function(){var t=this.startNode();return t.members=this.tsParseObjectTypeMembers(),this.finishNode(t,"TSTypeLiteral")}},{key:"tsParseObjectTypeMembers",value:function(){this.expect(N.braceL);var t=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(N.braceR),t}},{key:"tsIsStartOfMappedType",value:function(){return this.next(),this.eat(N.plusMin)?this.isContextual("readonly"):(this.isContextual("readonly")&&this.next(),!!this.match(N.bracketL)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(N._in))))}},{key:"tsParseMappedTypeParameter",value:function(){var t=this.startNode();return t.name=this.parseIdentifierName(t.start),t.constraint=this.tsExpectThenParseType(N._in),this.finishNode(t,"TSTypeParameter")}},{key:"tsParseMappedType",value:function(){var t=this.startNode();return this.expect(N.braceL),this.match(N.plusMin)?(t.readonly=this.state.value,this.next(),this.expectContextual("readonly")):this.eatContextual("readonly")&&(t.readonly=!0),this.expect(N.bracketL),t.typeParameter=this.tsParseMappedTypeParameter(),t.nameType=this.eatContextual("as")?this.tsParseType():null,this.expect(N.bracketR),this.match(N.plusMin)?(t.optional=this.state.value,this.next(),this.expect(N.question)):this.eat(N.question)&&(t.optional=!0),t.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(N.braceR),this.finishNode(t,"TSMappedType")}},{key:"tsParseTupleType",value:function(){var t=this,e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);var s=!1,i=null;return e.elementTypes.forEach(function(e){var a,{type:r}=e;!s||"TSRestType"===r||"TSOptionalType"===r||"TSNamedTupleMember"===r&&e.optional||t.raise(e.start,Ne.OptionalTypeBeforeRequired),s=s||"TSNamedTupleMember"===r&&e.optional||"TSOptionalType"===r,"TSRestType"===r&&(r=(e=e.typeAnnotation).type);var n="TSNamedTupleMember"===r;(i=null!=(a=i)?a:n)!==n&&t.raise(e.start,Ne.MixedLabeledAndUnlabeledElements)}),this.finishNode(e,"TSTupleType")}},{key:"tsParseTupleElementType",value:function(){var{start:t,startLoc:e}=this.state,s=this.eat(N.ellipsis),i=this.tsParseType(),a=this.eat(N.question);if(this.eat(N.colon)){var r=this.startNodeAtNode(i);r.optional=a,"TSTypeReference"!==i.type||i.typeParameters||"Identifier"!==i.typeName.type?(this.raise(i.start,Ne.InvalidTupleMemberLabel),r.label=i):r.label=i.typeName,r.elementType=this.tsParseType(),i=this.finishNode(r,"TSNamedTupleMember")}else if(a){var n=this.startNodeAtNode(i);n.typeAnnotation=i,i=this.finishNode(n,"TSOptionalType")}if(s){var o=this.startNodeAt(t,e);o.typeAnnotation=i,i=this.finishNode(o,"TSRestType")}return i}},{key:"tsParseParenthesizedType",value:function(){var t=this.startNode();return this.expect(N.parenL),t.typeAnnotation=this.tsParseType(),this.expect(N.parenR),this.finishNode(t,"TSParenthesizedType")}},{key:"tsParseFunctionOrConstructorType",value:function(t){var e=this.startNode();return"TSConstructorType"===t&&this.expect(N._new),this.tsFillSignature(N.arrow,e),this.finishNode(e,t)}},{key:"tsParseLiteralTypeNode",value:function(){var t=this,e=this.startNode();return e.literal=function(){switch(t.state.type){case N.num:case N.bigint:case N.string:case N._true:case N._false:return t.parseExprAtom();default:throw t.unexpected()}}(),this.finishNode(e,"TSLiteralType")}},{key:"tsParseTemplateLiteralType",value:function(){var t=this.startNode();return t.literal=this.parseTemplate(!1),this.finishNode(t,"TSLiteralType")}},{key:"parseTemplateSubstitution",value:function(){return this.state.inType?this.tsParseType():n(f(i.prototype),"parseTemplateSubstitution",this).call(this)}},{key:"tsParseThisTypeOrThisTypePredicate",value:function(){var t=this.tsParseThisTypeNode();return this.isContextual("is")&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(t):t}},{key:"tsParseNonArrayType",value:function(){switch(this.state.type){case N.name:case N._void:case N._null:var t=this.match(N._void)?"TSVoidKeyword":this.match(N._null)?"TSNullKeyword":Ie(this.state.value);if(void 0!==t&&46!==this.lookaheadCharCode()){var e=this.startNode();return this.next(),this.finishNode(e,t)}return this.tsParseTypeReference();case N.string:case N.num:case N.bigint:case N._true:case N._false:return this.tsParseLiteralTypeNode();case N.plusMin:if("-"===this.state.value){var s=this.startNode(),i=this.lookahead();if(i.type!==N.num&&i.type!==N.bigint)throw this.unexpected();return s.literal=this.parseMaybeUnary(),this.finishNode(s,"TSLiteralType")}break;case N._this:return this.tsParseThisTypeOrThisTypePredicate();case N._typeof:return this.tsParseTypeQuery();case N._import:return this.tsParseImportType();case N.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case N.bracketL:return this.tsParseTupleType();case N.parenL:return this.tsParseParenthesizedType();case N.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}},{key:"tsParseArrayTypeOrHigher",value:function(){for(var t=this.tsParseNonArrayType();!this.hasPrecedingLineBreak()&&this.eat(N.bracketL);)if(this.match(N.bracketR)){var e=this.startNodeAtNode(t);e.elementType=t,this.expect(N.bracketR),t=this.finishNode(e,"TSArrayType")}else{var s=this.startNodeAtNode(t);s.objectType=t,s.indexType=this.tsParseType(),this.expect(N.bracketR),t=this.finishNode(s,"TSIndexedAccessType")}return t}},{key:"tsParseTypeOperator",value:function(t){var e=this.startNode();return this.expectContextual(t),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===t&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}},{key:"tsCheckTypeAnnotationForReadOnly",value:function(t){switch(t.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(t.start,Ne.UnexpectedReadonly)}}},{key:"tsParseInferType",value:function(){var t=this.startNode();this.expectContextual("infer");var e=this.startNode();return e.name=this.parseIdentifierName(e.start),t.typeParameter=this.finishNode(e,"TSTypeParameter"),this.finishNode(t,"TSInferType")}},{key:"tsParseTypeOperatorOrHigher",value:function(){var t=this,e=["keyof","unique","readonly"].find(function(e){return t.isContextual(e)});return e?this.tsParseTypeOperator(e):this.isContextual("infer")?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}},{key:"tsParseUnionOrIntersectionType",value:function(t,e,s){this.eat(s);var i=e();if(this.match(s)){for(var a=[i];this.eat(s);)a.push(e());var r=this.startNodeAtNode(i);r.types=a,i=this.finishNode(r,t)}return i}},{key:"tsParseIntersectionTypeOrHigher",value:function(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),N.bitwiseAND)}},{key:"tsParseUnionTypeOrHigher",value:function(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),N.bitwiseOR)}},{key:"tsIsStartOfFunctionType",value:function(){return!!this.isRelational("<")||this.match(N.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}},{key:"tsSkipParameterStart",value:function(){if(this.match(N.name)||this.match(N._this))return this.next(),!0;if(this.match(N.braceL)){var t=1;for(this.next();t>0;)this.match(N.braceL)?++t:this.match(N.braceR)&&--t,this.next();return!0}if(this.match(N.bracketL)){var e=1;for(this.next();e>0;)this.match(N.bracketL)?++e:this.match(N.bracketR)&&--e,this.next();return!0}return!1}},{key:"tsIsUnambiguouslyStartOfFunctionType",value:function(){if(this.next(),this.match(N.parenR)||this.match(N.ellipsis))return!0;if(this.tsSkipParameterStart()){if(this.match(N.colon)||this.match(N.comma)||this.match(N.question)||this.match(N.eq))return!0;if(this.match(N.parenR)&&(this.next(),this.match(N.arrow)))return!0}return!1}},{key:"tsParseTypeOrTypePredicateAnnotation",value:function(t){var e=this;return this.tsInType(function(){var s=e.startNode();e.expect(t);var i=!!e.tsTryParse(e.tsParseTypePredicateAsserts.bind(e));if(i&&e.match(N._this)){var a=e.tsParseThisTypeOrThisTypePredicate();if("TSThisType"===a.type){var r=e.startNodeAtNode(s);r.parameterName=a,r.asserts=!0,a=e.finishNode(r,"TSTypePredicate")}else a.asserts=!0;return s.typeAnnotation=a,e.finishNode(s,"TSTypeAnnotation")}var n=e.tsIsIdentifier()&&e.tsTryParse(e.tsParseTypePredicatePrefix.bind(e));if(!n){if(!i)return e.tsParseTypeAnnotation(!1,s);var o=e.startNodeAtNode(s);return o.parameterName=e.parseIdentifier(),o.asserts=i,s.typeAnnotation=e.finishNode(o,"TSTypePredicate"),e.finishNode(s,"TSTypeAnnotation")}var h=e.tsParseTypeAnnotation(!1),l=e.startNodeAtNode(s);return l.parameterName=n,l.typeAnnotation=h,l.asserts=i,s.typeAnnotation=e.finishNode(l,"TSTypePredicate"),e.finishNode(s,"TSTypeAnnotation")})}},{key:"tsTryParseTypeOrTypePredicateAnnotation",value:function(){return this.match(N.colon)?this.tsParseTypeOrTypePredicateAnnotation(N.colon):void 0}},{key:"tsTryParseTypeAnnotation",value:function(){return this.match(N.colon)?this.tsParseTypeAnnotation():void 0}},{key:"tsTryParseType",value:function(){return this.tsEatThenParseType(N.colon)}},{key:"tsParseTypePredicatePrefix",value:function(){var t=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak())return this.next(),t}},{key:"tsParseTypePredicateAsserts",value:function(){if(!this.match(N.name)||"asserts"!==this.state.value||this.hasPrecedingLineBreak())return!1;var t=this.state.containsEsc;return this.next(),!(!this.match(N.name)&&!this.match(N._this))&&(t&&this.raise(this.state.lastTokStart,Ct.InvalidEscapedReservedWord,"asserts"),!0)}},{key:"tsParseTypeAnnotation",value:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.startNode();return this.tsInType(function(){e&&t.expect(N.colon),s.typeAnnotation=t.tsParseType()}),this.finishNode(s,"TSTypeAnnotation")}},{key:"tsParseType",value:function(){Ce(this.state.inType);var t=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(N._extends))return t;var e=this.startNodeAtNode(t);return e.checkType=t,e.extendsType=this.tsParseNonConditionalType(),this.expect(N.question),e.trueType=this.tsParseType(),this.expect(N.colon),e.falseType=this.tsParseType(),this.finishNode(e,"TSConditionalType")}},{key:"tsParseNonConditionalType",value:function(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(N._new)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.tsParseUnionTypeOrHigher()}},{key:"tsParseTypeAssertion",value:function(){var t=this.startNode(),e=this.tsTryNextParseConstantContext();return t.typeAnnotation=e||this.tsNextThenParseType(),this.expectRelational(">"),t.expression=this.parseMaybeUnary(),this.finishNode(t,"TSTypeAssertion")}},{key:"tsParseHeritageClause",value:function(t){var e=this.state.start,s=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));return s.length||this.raise(e,Ne.EmptyHeritageClauseType,t),s}},{key:"tsParseExpressionWithTypeArguments",value:function(){var t=this.startNode();return t.expression=this.tsParseEntityName(!1),this.isRelational("<")&&(t.typeParameters=this.tsParseTypeArguments()),this.finishNode(t,"TSExpressionWithTypeArguments")}},{key:"tsParseInterfaceDeclaration",value:function(t){t.id=this.parseIdentifier(),this.checkLVal(t.id,tt,void 0,"typescript interface declaration"),t.typeParameters=this.tsTryParseTypeParameters(),this.eat(N._extends)&&(t.extends=this.tsParseHeritageClause("extends"));var e=this.startNode();return e.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),t.body=this.finishNode(e,"TSInterfaceBody"),this.finishNode(t,"TSInterfaceDeclaration")}},{key:"tsParseTypeAliasDeclaration",value:function(t){var e=this;return t.id=this.parseIdentifier(),this.checkLVal(t.id,et,void 0,"typescript type alias"),t.typeParameters=this.tsTryParseTypeParameters(),t.typeAnnotation=this.tsInType(function(){if(e.expect(N.eq),e.isContextual("intrinsic")&&e.lookahead().type!==N.dot){var t=e.startNode();return e.next(),e.finishNode(t,"TSIntrinsicKeyword")}return e.tsParseType()}),this.semicolon(),this.finishNode(t,"TSTypeAliasDeclaration")}},{key:"tsInNoContext",value:function(t){var e=this.state.context;this.state.context=[e[0]];try{return t()}finally{this.state.context=e}}},{key:"tsInType",value:function(t){var e=this.state.inType;this.state.inType=!0;try{return t()}finally{this.state.inType=e}}},{key:"tsEatThenParseType",value:function(t){return this.match(t)?this.tsNextThenParseType():void 0}},{key:"tsExpectThenParseType",value:function(t){var e=this;return this.tsDoThenParseType(function(){return e.expect(t)})}},{key:"tsNextThenParseType",value:function(){var t=this;return this.tsDoThenParseType(function(){return t.next()})}},{key:"tsDoThenParseType",value:function(t){var e=this;return this.tsInType(function(){return t(),e.tsParseType()})}},{key:"tsParseEnumMember",value:function(){var t=this.startNode();return t.id=this.match(N.string)?this.parseExprAtom():this.parseIdentifier(!0),this.eat(N.eq)&&(t.initializer=this.parseMaybeAssignAllowIn()),this.finishNode(t,"TSEnumMember")}},{key:"tsParseEnumDeclaration",value:function(t,e){return e&&(t.const=!0),t.id=this.parseIdentifier(),this.checkLVal(t.id,e?nt:st,void 0,"typescript enum declaration"),this.expect(N.braceL),t.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(N.braceR),this.finishNode(t,"TSEnumDeclaration")}},{key:"tsParseModuleBlock",value:function(){var t=this.startNode();return this.scope.enter(I),this.expect(N.braceL),this.parseBlockOrModuleBlockBody(t.body=[],void 0,!0,N.braceR),this.scope.exit(),this.finishNode(t,"TSModuleBlock")}},{key:"tsParseModuleOrNamespaceDeclaration",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t.id=this.parseIdentifier(),e||this.checkLVal(t.id,ot,null,"module or namespace declaration"),this.eat(N.dot)){var s=this.startNode();this.tsParseModuleOrNamespaceDeclaration(s,!0),t.body=s}else this.scope.enter(_),this.prodParam.enter(ke),t.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(t,"TSModuleDeclaration")}},{key:"tsParseAmbientExternalModuleDeclaration",value:function(t){return this.isContextual("global")?(t.global=!0,t.id=this.parseIdentifier()):this.match(N.string)?t.id=this.parseExprAtom():this.unexpected(),this.match(N.braceL)?(this.scope.enter(_),this.prodParam.enter(ke),t.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(t,"TSModuleDeclaration")}},{key:"tsParseImportEqualsDeclaration",value:function(t,e){return t.isExport=e||!1,t.id=this.parseIdentifier(),this.checkLVal(t.id,Y,void 0,"import equals declaration"),this.expect(N.eq),t.moduleReference=this.tsParseModuleReference(),this.semicolon(),this.finishNode(t,"TSImportEqualsDeclaration")}},{key:"tsIsExternalModuleReference",value:function(){return this.isContextual("require")&&40===this.lookaheadCharCode()}},{key:"tsParseModuleReference",value:function(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}},{key:"tsParseExternalModuleReference",value:function(){var t=this.startNode();if(this.expectContextual("require"),this.expect(N.parenL),!this.match(N.string))throw this.unexpected();return t.expression=this.parseExprAtom(),this.expect(N.parenR),this.finishNode(t,"TSExternalModuleReference")}},{key:"tsLookAhead",value:function(t){var e=this.state.clone(),s=t();return this.state=e,s}},{key:"tsTryParseAndCatch",value:function(t){var e=this.tryParse(function(e){return t()||e()});if(!e.aborted&&e.node)return e.error&&(this.state=e.failState),e.node}},{key:"tsTryParse",value:function(t){var e=this.state.clone(),s=t();return void 0!==s&&!1!==s?s:void(this.state=e)}},{key:"tsTryParseDeclare",value:function(t){var e=this;if(!this.isLineTerminator()){var s,i=this.state.type;return this.isContextual("let")&&(i=N._var,s="let"),this.tsInDeclareContext(function(){switch(i){case N._function:return t.declare=!0,e.parseFunctionStatement(t,!1,!0);case N._class:return t.declare=!0,e.parseClass(t,!0,!1);case N._const:if(e.match(N._const)&&e.isLookaheadContextual("enum"))return e.expect(N._const),e.expectContextual("enum"),e.tsParseEnumDeclaration(t,!0);case N._var:return s=s||e.state.value,e.parseVarStatement(t,s);case N.name:var a=e.state.value;return"global"===a?e.tsParseAmbientExternalModuleDeclaration(t):e.tsParseDeclaration(t,a,!0)}})}}},{key:"tsTryParseExportDeclaration",value:function(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0)}},{key:"tsParseExpressionStatement",value:function(t,e){switch(e.name){case"declare":var s=this.tsTryParseDeclare(t);if(s)return s.declare=!0,s;break;case"global":if(this.match(N.braceL)){this.scope.enter(_),this.prodParam.enter(ke);var i=t;return i.global=!0,i.id=e,i.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(i,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(t,e.name,!1)}}},{key:"tsParseDeclaration",value:function(t,e,s){switch(e){case"abstract":if(this.tsCheckLineTerminatorAndMatch(N._class,s)){var i=t;return i.abstract=!0,s&&(this.next(),this.match(N._class)||this.unexpected(null,N._class)),this.parseClass(i,!0,!1)}break;case"enum":if(s||this.match(N.name))return s&&this.next(),this.tsParseEnumDeclaration(t,!1);break;case"interface":if(this.tsCheckLineTerminatorAndMatch(N.name,s))return s&&this.next(),this.tsParseInterfaceDeclaration(t);break;case"module":if(s&&this.next(),this.match(N.string))return this.tsParseAmbientExternalModuleDeclaration(t);if(this.tsCheckLineTerminatorAndMatch(N.name,s))return this.tsParseModuleOrNamespaceDeclaration(t);break;case"namespace":if(this.tsCheckLineTerminatorAndMatch(N.name,s))return s&&this.next(),this.tsParseModuleOrNamespaceDeclaration(t);break;case"type":if(this.tsCheckLineTerminatorAndMatch(N.name,s))return s&&this.next(),this.tsParseTypeAliasDeclaration(t)}}},{key:"tsCheckLineTerminatorAndMatch",value:function(t,e){return(e||this.match(t))&&!this.isLineTerminator()}},{key:"tsTryParseGenericAsyncArrowFunction",value:function(t,e){var s=this;if(this.isRelational("<")){var a=this.state.maybeInArrowParameters,r=this.state.yieldPos,o=this.state.awaitPos;this.state.maybeInArrowParameters=!0,this.state.yieldPos=-1,this.state.awaitPos=-1;var h=this.tsTryParseAndCatch(function(){var a=s.startNodeAt(t,e);return a.typeParameters=s.tsParseTypeParameters(),n(f(i.prototype),"parseFunctionParams",s).call(s,a),a.returnType=s.tsTryParseTypeOrTypePredicateAnnotation(),s.expect(N.arrow),a});if(this.state.maybeInArrowParameters=a,this.state.yieldPos=r,this.state.awaitPos=o,h)return this.parseArrowExpression(h,null,!0)}}},{key:"tsParseTypeArguments",value:function(){var t=this,e=this.startNode();return e.params=this.tsInType(function(){return t.tsInNoContext(function(){return t.expectRelational("<"),t.tsParseDelimitedList("TypeParametersOrArguments",t.tsParseType.bind(t))})}),0===e.params.length&&this.raise(e.start,Ne.EmptyTypeArguments),this.state.exprAllowed=!1,this.expectRelational(">"),this.finishNode(e,"TSTypeParameterInstantiation")}},{key:"tsIsDeclarationStart",value:function(){if(this.match(N.name))switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return!0}return!1}},{key:"isExportDefaultSpecifier",value:function(){return!this.tsIsDeclarationStart()&&n(f(i.prototype),"isExportDefaultSpecifier",this).call(this)}},{key:"parseAssignableListItem",value:function(t,e){var s,i=this.state.start,a=this.state.startLoc,r=!1;void 0!==t&&(s=this.parseAccessModifier(),r=!!this.tsParseModifier(["readonly"]),!1===t&&(s||r)&&this.raise(i,Ne.UnexpectedParameterModifier));var n=this.parseMaybeDefault();this.parseAssignableListItemTypes(n);var o=this.parseMaybeDefault(n.start,n.loc.start,n);if(s||r){var h=this.startNodeAt(i,a);return e.length&&(h.decorators=e),s&&(h.accessibility=s),r&&(h.readonly=r),"Identifier"!==o.type&&"AssignmentPattern"!==o.type&&this.raise(h.start,Ne.UnsupportedParameterPropertyKind),h.parameter=o,this.finishNode(h,"TSParameterProperty")}return e.length&&(n.decorators=e),o}},{key:"parseFunctionBodyAndFinish",value:function(t,e){var s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.match(N.colon)&&(t.returnType=this.tsParseTypeOrTypePredicateAnnotation(N.colon));var a="FunctionDeclaration"===e?"TSDeclareFunction":"ClassMethod"===e?"TSDeclareMethod":void 0;a&&!this.match(N.braceL)&&this.isLineTerminator()?this.finishNode(t,a):"TSDeclareFunction"===a&&this.state.isDeclareContext&&(this.raise(t.start,Ne.DeclareFunctionHasImplementation),t.declare)?n(f(i.prototype),"parseFunctionBodyAndFinish",this).call(this,t,a,s):n(f(i.prototype),"parseFunctionBodyAndFinish",this).call(this,t,e,s)}},{key:"registerFunctionStatementId",value:function(t){!t.body&&t.id?this.checkLVal(t.id,it,null,"function name"):n(f(i.prototype),"registerFunctionStatementId",this).apply(this,arguments)}},{key:"parseExprListItem",value:function(t,e,s,a){var r=n(f(i.prototype),"parseExprListItem",this).call(this,t,e,s,a);return s||"TSTypeCastExpression"!==(null==r?void 0:r.type)||this.raise(r.start,Ne.UnexpectedTypeAnnotation),r}},{key:"parseSubscript",value:function(t,e,s,a,r){var o=this;if(!this.hasPrecedingLineBreak()&&this.match(N.bang)){this.state.exprAllowed=!1,this.next();var h=this.startNodeAt(e,s);return h.expression=t,this.finishNode(h,"TSNonNullExpression")}if(this.isRelational("<")){var l=this.tsTryParseAndCatch(function(){if(!a&&o.atPossibleAsyncArrow(t)){var i=o.tsTryParseGenericAsyncArrowFunction(e,s);if(i)return i}var n=o.startNodeAt(e,s);n.callee=t;var h=o.tsParseTypeArguments();if(h){if(!a&&o.eat(N.parenL))return n.arguments=o.parseCallExpressionArguments(N.parenR,!1),n.typeParameters=h,o.finishCallExpression(n,r.optionalChainMember);if(o.match(N.backQuote)){var l=o.parseTaggedTemplateExpression(t,e,s,r);return l.typeParameters=h,l}}o.unexpected()});if(l)return l}return n(f(i.prototype),"parseSubscript",this).call(this,t,e,s,a,r)}},{key:"parseNewArguments",value:function(t){var e=this;if(this.isRelational("<")){var s=this.tsTryParseAndCatch(function(){var t=e.tsParseTypeArguments();return e.match(N.parenL)||e.unexpected(),t});s&&(t.typeParameters=s)}n(f(i.prototype),"parseNewArguments",this).call(this,t)}},{key:"parseExprOp",value:function(t,e,s,a){if(Se(N._in.binop)>a&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){var r=this.startNodeAt(e,s);r.expression=t;var o=this.tsTryNextParseConstantContext();return r.typeAnnotation=o||this.tsNextThenParseType(),this.finishNode(r,"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(r,e,s,a)}return n(f(i.prototype),"parseExprOp",this).call(this,t,e,s,a)}},{key:"checkReservedWord",value:function(t,e,s,i){}},{key:"checkDuplicateExports",value:function(){}},{key:"parseImport",value:function(t){if(this.match(N.name)||this.match(N.star)||this.match(N.braceL)){var e=this.lookahead();if(this.match(N.name)&&e.type===N.eq)return this.tsParseImportEqualsDeclaration(t);!this.isContextual("type")||e.type===N.comma||e.type===N.name&&"from"===e.value?t.importKind="value":(t.importKind="type",this.next())}var s=n(f(i.prototype),"parseImport",this).call(this,t);return"type"===s.importKind&&s.specifiers.length>1&&"ImportDefaultSpecifier"===s.specifiers[0].type&&this.raise(s.start,"A type-only import can specify a default import or named bindings, but not both."),s}},{key:"parseExport",value:function(t){if(this.match(N._import))return this.expect(N._import),this.tsParseImportEqualsDeclaration(t,!0);if(this.eat(N.eq)){var e=t;return e.expression=this.parseExpression(),this.semicolon(),this.finishNode(e,"TSExportAssignment")}if(this.eatContextual("as")){var s=t;return this.expectContextual("namespace"),s.id=this.parseIdentifier(),this.semicolon(),this.finishNode(s,"TSNamespaceExportDeclaration")}return this.isContextual("type")&&this.lookahead().type===N.braceL?(this.next(),t.exportKind="type"):t.exportKind="value",n(f(i.prototype),"parseExport",this).call(this,t)}},{key:"isAbstractClass",value:function(){return this.isContextual("abstract")&&this.lookahead().type===N._class}},{key:"parseExportDefaultExpression",value:function(){if(this.isAbstractClass()){var t=this.startNode();return this.next(),this.parseClass(t,!0,!0),t.abstract=!0,t}if("interface"===this.state.value){var e=this.tsParseDeclaration(this.startNode(),this.state.value,!0);if(e)return e}return n(f(i.prototype),"parseExportDefaultExpression",this).call(this)}},{key:"parseStatementContent",value:function(t,e){if(this.state.type===N._const){var s=this.lookahead();if(s.type===N.name&&"enum"===s.value){var a=this.startNode();return this.expect(N._const),this.expectContextual("enum"),this.tsParseEnumDeclaration(a,!0)}}return n(f(i.prototype),"parseStatementContent",this).call(this,t,e)}},{key:"parseAccessModifier",value:function(){return this.tsParseModifier(["public","protected","private"])}},{key:"parseClassMember",value:function(t,e,s){var a=this;this.tsParseModifiers(e,["declare"]);var r=this.parseAccessModifier();r&&(e.accessibility=r),this.tsParseModifiers(e,["declare"]);var o=function(){n(f(i.prototype),"parseClassMember",a).call(a,t,e,s)};e.declare?this.tsInDeclareContext(o):o()}},{key:"parseClassMemberWithIsStatic",value:function(t,e,s,a){this.tsParseModifiers(e,["abstract","readonly","declare"]);var r=this.tsTryParseIndexSignature(e);if(r)return t.body.push(r),e.abstract&&this.raise(e.start,Ne.IndexSignatureHasAbstract),a&&this.raise(e.start,Ne.IndexSignatureHasStatic),e.accessibility&&this.raise(e.start,Ne.IndexSignatureHasAccessibility,e.accessibility),void(e.declare&&this.raise(e.start,Ne.IndexSignatureHasDeclare));n(f(i.prototype),"parseClassMemberWithIsStatic",this).call(this,t,e,s,a)}},{key:"parsePostMemberNameModifiers",value:function(t){this.eat(N.question)&&(t.optional=!0),t.readonly&&this.match(N.parenL)&&this.raise(t.start,Ne.ClassMethodHasReadonly),t.declare&&this.match(N.parenL)&&this.raise(t.start,Ne.ClassMethodHasDeclare)}},{key:"parseExpressionStatement",value:function(t,e){return("Identifier"===e.type?this.tsParseExpressionStatement(t,e):void 0)||n(f(i.prototype),"parseExpressionStatement",this).call(this,t,e)}},{key:"shouldParseExportDeclaration",value:function(){return!!this.tsIsDeclarationStart()||n(f(i.prototype),"shouldParseExportDeclaration",this).call(this)}},{key:"parseConditional",value:function(t,e,s,a){var r=this;if(!a||!this.match(N.question))return n(f(i.prototype),"parseConditional",this).call(this,t,e,s,a);var o=this.tryParse(function(){return n(f(i.prototype),"parseConditional",r).call(r,t,e,s)});return o.node?(o.error&&(this.state=o.failState),o.node):(a.start=o.error.pos||this.state.start,t)}},{key:"parseParenItem",value:function(t,e,s){if(t=n(f(i.prototype),"parseParenItem",this).call(this,t,e,s),this.eat(N.question)&&(t.optional=!0,this.resetEndLocation(t)),this.match(N.colon)){var a=this.startNodeAt(e,s);return a.expression=t,a.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(a,"TSTypeCastExpression")}return t}},{key:"parseExportDeclaration",value:function(t){var e,s=this.state.start,a=this.state.startLoc,r=this.eatContextual("declare");return this.match(N.name)&&(e=this.tsTryParseExportDeclaration()),e||(e=n(f(i.prototype),"parseExportDeclaration",this).call(this,t)),e&&("TSInterfaceDeclaration"===e.type||"TSTypeAliasDeclaration"===e.type||r)&&(t.exportKind="type"),e&&r&&(this.resetStartLocation(e,s,a),e.declare=!0),e}},{key:"parseClassId",value:function(t,e,s){if(e&&!s||!this.isContextual("implements")){n(f(i.prototype),"parseClassId",this).call(this,t,e,s,t.declare?it:Q);var a=this.tsTryParseTypeParameters();a&&(t.typeParameters=a)}}},{key:"parseClassPropertyAnnotation",value:function(t){!t.optional&&this.eat(N.bang)&&(t.definite=!0);var e=this.tsTryParseTypeAnnotation();e&&(t.typeAnnotation=e)}},{key:"parseClassProperty",value:function(t){return this.parseClassPropertyAnnotation(t),this.state.isDeclareContext&&this.match(N.eq)&&this.raise(this.state.start,Ne.DeclareClassFieldHasInitializer),n(f(i.prototype),"parseClassProperty",this).call(this,t)}},{key:"parseClassPrivateProperty",value:function(t){return t.abstract&&this.raise(t.start,Ne.PrivateElementHasAbstract),t.accessibility&&this.raise(t.start,Ne.PrivateElementHasAccessibility,t.accessibility),this.parseClassPropertyAnnotation(t),n(f(i.prototype),"parseClassPrivateProperty",this).call(this,t)}},{key:"pushClassMethod",value:function(t,e,s,a,r,o){var h=this.tsTryParseTypeParameters();h&&r&&this.raise(h.start,Ne.ConstructorHasTypeParameters),h&&(e.typeParameters=h),n(f(i.prototype),"pushClassMethod",this).call(this,t,e,s,a,r,o)}},{key:"pushClassPrivateMethod",value:function(t,e,s,a){var r=this.tsTryParseTypeParameters();r&&(e.typeParameters=r),n(f(i.prototype),"pushClassPrivateMethod",this).call(this,t,e,s,a)}},{key:"parseClassSuper",value:function(t){n(f(i.prototype),"parseClassSuper",this).call(this,t),t.superClass&&this.isRelational("<")&&(t.superTypeParameters=this.tsParseTypeArguments()),this.eatContextual("implements")&&(t.implements=this.tsParseHeritageClause("implements"))}},{key:"parseObjPropValue",value:function(t){var e,s=this.tsTryParseTypeParameters();s&&(t.typeParameters=s);for(var a=arguments.length,r=new Array(a>1?a-1:0),o=1;o<a;o++)r[o-1]=arguments[o];(e=n(f(i.prototype),"parseObjPropValue",this)).call.apply(e,[this,t].concat(r))}},{key:"parseFunctionParams",value:function(t,e){var s=this.tsTryParseTypeParameters();s&&(t.typeParameters=s),n(f(i.prototype),"parseFunctionParams",this).call(this,t,e)}},{key:"parseVarId",value:function(t,e){n(f(i.prototype),"parseVarId",this).call(this,t,e),"Identifier"===t.id.type&&this.eat(N.bang)&&(t.definite=!0);var s=this.tsTryParseTypeAnnotation();s&&(t.id.typeAnnotation=s,this.resetEndLocation(t.id))}},{key:"parseAsyncArrowFromCallExpression",value:function(t,e){return this.match(N.colon)&&(t.returnType=this.tsParseTypeAnnotation()),n(f(i.prototype),"parseAsyncArrowFromCallExpression",this).call(this,t,e)}},{key:"parseMaybeAssign",value:function(){for(var t,e,s,a,r,o,h,l,p,c,u,d,m=this,y=arguments.length,v=new Array(y),x=0;x<y;x++)v[x]=arguments[x];if(this.match(N.jsxTagStart)){if(l=this.state.clone(),!(p=this.tryParse(function(){var t;return(t=n(f(i.prototype),"parseMaybeAssign",m)).call.apply(t,[m].concat(v))},l)).error)return p.node;var{context:P}=this.state;P[P.length-1]===Mt.j_oTag?P.length-=2:P[P.length-1]===Mt.j_expr&&(P.length-=1)}if(!(null==(t=p)?void 0:t.error)&&!this.isRelational("<"))return(u=n(f(i.prototype),"parseMaybeAssign",this)).call.apply(u,[this].concat(v));l=l||this.state.clone();var k=this.tryParse(function(t){var e,s;d=m.tsParseTypeParameters();var a=(e=n(f(i.prototype),"parseMaybeAssign",m)).call.apply(e,[m].concat(v));return("ArrowFunctionExpression"!==a.type||a.extra&&a.extra.parenthesized)&&t(),0!==(null==(s=d)?void 0:s.params.length)&&m.resetStartLocationFromNode(a,d),a.typeParameters=d,a},l);if(!k.error&&!k.aborted)return k.node;if(!p&&(Ce(!this.hasPlugin("jsx")),!(c=this.tryParse(function(){var t;return(t=n(f(i.prototype),"parseMaybeAssign",m)).call.apply(t,[m].concat(v))},l)).error))return c.node;if(null==(e=p)?void 0:e.node)return this.state=p.failState,p.node;if(k.node)return this.state=k.failState,k.node;if(null==(s=c)?void 0:s.node)return this.state=c.failState,c.node;if(null==(a=p)?void 0:a.thrown)throw p.error;if(k.thrown)throw k.error;if(null==(r=c)?void 0:r.thrown)throw c.error;throw(null==(o=p)?void 0:o.error)||k.error||(null==(h=c)?void 0:h.error)}},{key:"parseMaybeUnary",value:function(t){return!this.hasPlugin("jsx")&&this.isRelational("<")?this.tsParseTypeAssertion():n(f(i.prototype),"parseMaybeUnary",this).call(this,t)}},{key:"parseArrow",value:function(t){var e=this;if(this.match(N.colon)){var s=this.tryParse(function(t){var s=e.tsParseTypeOrTypePredicateAnnotation(N.colon);return!e.canInsertSemicolon()&&e.match(N.arrow)||t(),s});if(s.aborted)return;s.thrown||(s.error&&(this.state=s.failState),t.returnType=s.node)}return n(f(i.prototype),"parseArrow",this).call(this,t)}},{key:"parseAssignableListItemTypes",value:function(t){this.eat(N.question)&&("Identifier"===t.type||this.state.isDeclareContext||this.raise(t.start,Ne.PatternIsOptional),t.optional=!0);var e=this.tsTryParseTypeAnnotation();return e&&(t.typeAnnotation=e),this.resetEndLocation(t),t}},{key:"toAssignable",value:function(t){switch(t.type){case"TSTypeCastExpression":return n(f(i.prototype),"toAssignable",this).call(this,this.typeCastToParameter(t));case"TSParameterProperty":return n(f(i.prototype),"toAssignable",this).call(this,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":return t.expression=this.toAssignable(t.expression),t;default:return n(f(i.prototype),"toAssignable",this).call(this,t)}}},{key:"checkLVal",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:at,s=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;switch(t.type){case"TSTypeCastExpression":return;case"TSParameterProperty":return void this.checkLVal(t.parameter,e,s,"parameter property");case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":return void this.checkLVal(t.expression,e,s,a);default:return void n(f(i.prototype),"checkLVal",this).call(this,t,e,s,a)}}},{key:"parseBindingAtom",value:function(){switch(this.state.type){case N._this:return this.parseIdentifier(!0);default:return n(f(i.prototype),"parseBindingAtom",this).call(this)}}},{key:"parseMaybeDecoratorArguments",value:function(t){if(this.isRelational("<")){var e=this.tsParseTypeArguments();if(this.match(N.parenL)){var s=n(f(i.prototype),"parseMaybeDecoratorArguments",this).call(this,t);return s.typeParameters=e,s}this.unexpected(this.state.start,N.parenL)}return n(f(i.prototype),"parseMaybeDecoratorArguments",this).call(this,t)}},{key:"isClassMethod",value:function(){return this.isRelational("<")||n(f(i.prototype),"isClassMethod",this).call(this)}},{key:"isClassProperty",value:function(){return this.match(N.bang)||this.match(N.colon)||n(f(i.prototype),"isClassProperty",this).call(this)}},{key:"parseMaybeDefault",value:function(){for(var t,e=arguments.length,s=new Array(e),a=0;a<e;a++)s[a]=arguments[a];var r=(t=n(f(i.prototype),"parseMaybeDefault",this)).call.apply(t,[this].concat(s));return"AssignmentPattern"===r.type&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start&&this.raise(r.typeAnnotation.start,Ne.TypeAnnotationAfterAssign),r}},{key:"getTokenFromCode",value:function(t){return!this.state.inType||62!==t&&60!==t?n(f(i.prototype),"getTokenFromCode",this).call(this,t):this.finishOp(N.relational,1)}},{key:"reScan_lt_gt",value:function(){if(this.match(N.relational)){var t=this.input.charCodeAt(this.state.start);60!==t&&62!==t||(this.state.pos-=1,this.readToken_lt_gt(t))}}},{key:"toAssignableList",value:function(t){for(var e=0;e<t.length;e++){var s=t[e];if(s)switch(s.type){case"TSTypeCastExpression":t[e]=this.typeCastToParameter(s);break;case"TSAsExpression":case"TSTypeAssertion":this.state.maybeInArrowParameters?this.raise(s.start,Ne.UnexpectedTypeCastInParameter):t[e]=this.typeCastToParameter(s)}}return n(f(i.prototype),"toAssignableList",this).apply(this,arguments)}},{key:"typeCastToParameter",value:function(t){return t.expression.typeAnnotation=t.typeAnnotation,this.resetEndLocation(t.expression,t.typeAnnotation.end,t.typeAnnotation.loc.end),t.expression}},{key:"shouldParseArrow",value:function(){return this.match(N.colon)||n(f(i.prototype),"shouldParseArrow",this).call(this)}},{key:"shouldParseAsyncArrow",value:function(){return this.match(N.colon)||n(f(i.prototype),"shouldParseAsyncArrow",this).call(this)}},{key:"canHaveLeadingDecorator",value:function(){return n(f(i.prototype),"canHaveLeadingDecorator",this).call(this)||this.isAbstractClass()}},{key:"jsxParseOpeningElementAfterName",value:function(t){var e=this;if(this.isRelational("<")){var s=this.tsTryParseAndCatch(function(){return e.tsParseTypeArguments()});s&&(t.typeParameters=s)}return n(f(i.prototype),"jsxParseOpeningElementAfterName",this).call(this,t)}},{key:"getGetterSetterExpectedParamCount",value:function(t){var e=n(f(i.prototype),"getGetterSetterExpectedParamCount",this).call(this,t),s=t.params[0];return s&&"Identifier"===s.type&&"this"===s.name?e+1:e}},{key:"parseCatchClauseParam",value:function(){var t=n(f(i.prototype),"parseCatchClauseParam",this).call(this),e=this.tsTryParseTypeAnnotation();return e&&(t.typeAnnotation=e,this.resetEndLocation(t)),t}},{key:"tsInDeclareContext",value:function(t){var e=this.state.isDeclareContext;this.state.isDeclareContext=!0;try{return t()}finally{this.state.isDeclareContext=e}}}]),i}()};N.placeholder=new A("%%",{startsExpr:!0});var De=function(t){return function(e){l(i,t);var s=c(i);function i(){return x(this,i),s.apply(this,arguments)}return v(i,[{key:"parsePlaceholder",value:function(t){if(this.match(N.placeholder)){var e=this.startNode();return this.next(),this.assertNoSpace("Unexpected space in placeholder."),e.name=n(f(i.prototype),"parseIdentifier",this).call(this,!0),this.assertNoSpace("Unexpected space in placeholder."),this.expect(N.placeholder),this.finishPlaceholder(e,t)}}},{key:"finishPlaceholder",value:function(t,e){var s=!(!t.expectedNode||"Placeholder"!==t.type);return t.expectedNode=e,s?t:this.finishNode(t,"Placeholder")}},{key:"getTokenFromCode",value:function(t){return 37===t&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(N.placeholder,2):n(f(i.prototype),"getTokenFromCode",this).apply(this,arguments)}},{key:"parseExprAtom",value:function(){return this.parsePlaceholder("Expression")||n(f(i.prototype),"parseExprAtom",this).apply(this,arguments)}},{key:"parseIdentifier",value:function(){return this.parsePlaceholder("Identifier")||n(f(i.prototype),"parseIdentifier",this).apply(this,arguments)}},{key:"checkReservedWord",value:function(t){void 0!==t&&n(f(i.prototype),"checkReservedWord",this).apply(this,arguments)}},{key:"parseBindingAtom",value:function(){return this.parsePlaceholder("Pattern")||n(f(i.prototype),"parseBindingAtom",this).apply(this,arguments)}},{key:"checkLVal",value:function(t){"Placeholder"!==t.type&&n(f(i.prototype),"checkLVal",this).apply(this,arguments)}},{key:"toAssignable",value:function(t){return t&&"Placeholder"===t.type&&"Expression"===t.expectedNode?(t.expectedNode="Pattern",t):n(f(i.prototype),"toAssignable",this).apply(this,arguments)}},{key:"verifyBreakContinue",value:function(t){t.label&&"Placeholder"===t.label.type||n(f(i.prototype),"verifyBreakContinue",this).apply(this,arguments)}},{key:"parseExpressionStatement",value:function(t,e){if("Placeholder"!==e.type||e.extra&&e.extra.parenthesized)return n(f(i.prototype),"parseExpressionStatement",this).apply(this,arguments);if(this.match(N.colon)){var s=t;return s.label=this.finishPlaceholder(e,"Identifier"),this.next(),s.body=this.parseStatement("label"),this.finishNode(s,"LabeledStatement")}return this.semicolon(),t.name=e.name,this.finishPlaceholder(t,"Statement")}},{key:"parseBlock",value:function(){return this.parsePlaceholder("BlockStatement")||n(f(i.prototype),"parseBlock",this).apply(this,arguments)}},{key:"parseFunctionId",value:function(){return this.parsePlaceholder("Identifier")||n(f(i.prototype),"parseFunctionId",this).apply(this,arguments)}},{key:"parseClass",value:function(t,e,s){var i=e?"ClassDeclaration":"ClassExpression";this.next(),this.takeDecorators(t);var a=this.state.strict,r=this.parsePlaceholder("Identifier");if(r)if(this.match(N._extends)||this.match(N.placeholder)||this.match(N.braceL))t.id=r;else{if(s||!e)return t.id=null,t.body=this.finishPlaceholder(r,"ClassBody"),this.finishNode(t,i);this.unexpected(null,"A class name is required")}else this.parseClassId(t,e,s);return this.parseClassSuper(t),t.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!t.superClass,a),this.finishNode(t,i)}},{key:"parseExport",value:function(t){var e=this.parsePlaceholder("Identifier");if(!e)return n(f(i.prototype),"parseExport",this).apply(this,arguments);if(!this.isContextual("from")&&!this.match(N.comma))return t.specifiers=[],t.source=null,t.declaration=this.finishPlaceholder(e,"Declaration"),this.finishNode(t,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");var s=this.startNode();return s.exported=e,t.specifiers=[this.finishNode(s,"ExportDefaultSpecifier")],n(f(i.prototype),"parseExport",this).call(this,t)}},{key:"isExportDefaultSpecifier",value:function(){if(this.match(N._default)){var t=this.nextTokenStart();if(this.isUnparsedContextual(t,"from")&&this.input.startsWith(N.placeholder.label,this.nextTokenStartSince(t+4)))return!0}return n(f(i.prototype),"isExportDefaultSpecifier",this).call(this)}},{key:"maybeParseExportDefaultSpecifier",value:function(t){return!!(t.specifiers&&t.specifiers.length>0)||n(f(i.prototype),"maybeParseExportDefaultSpecifier",this).apply(this,arguments)}},{key:"checkExport",value:function(t){var{specifiers:e}=t;(null==e?void 0:e.length)&&(t.specifiers=e.filter(function(t){return"Placeholder"===t.exported.type})),n(f(i.prototype),"checkExport",this).call(this,t),t.specifiers=e}},{key:"parseImport",value:function(t){var e=this.parsePlaceholder("Identifier");if(!e)return n(f(i.prototype),"parseImport",this).apply(this,arguments);if(t.specifiers=[],!this.isContextual("from")&&!this.match(N.comma))return t.source=this.finishPlaceholder(e,"StringLiteral"),this.semicolon(),this.finishNode(t,"ImportDeclaration");var s=this.startNodeAtNode(e);(s.local=e,this.finishNode(s,"ImportDefaultSpecifier"),t.specifiers.push(s),this.eat(N.comma))&&(this.maybeParseStarImportSpecifier(t)||this.parseNamedImportSpecifiers(t));return this.expectContextual("from"),t.source=this.parseImportSource(),this.semicolon(),this.finishNode(t,"ImportDeclaration")}},{key:"parseImportSource",value:function(){return this.parsePlaceholder("StringLiteral")||n(f(i.prototype),"parseImportSource",this).apply(this,arguments)}}]),i}()},Me=function(t){return function(e){l(i,t);var s=c(i);function i(){return x(this,i),s.apply(this,arguments)}return v(i,[{key:"parseV8Intrinsic",value:function(){if(this.match(N.modulo)){var t=this.state.start,e=this.startNode();if(this.eat(N.modulo),this.match(N.name)){var s=this.parseIdentifierName(this.state.start),i=this.createIdentifier(e,s);if(i.type="V8IntrinsicIdentifier",this.match(N.parenL))return i}this.unexpected(t)}}},{key:"parseExprAtom",value:function(){return this.parseV8Intrinsic()||n(f(i.prototype),"parseExprAtom",this).apply(this,arguments)}}]),i}()};function Re(t,e){return t.some(function(t){return Array.isArray(t)?t[0]===e:t===e})}function Oe(t,e,s){var i=t.find(function(t){return Array.isArray(t)?t[0]===e:t===e});return i&&Array.isArray(i)?i[1][s]:null}var Fe=["minimal","smart","fsharp"],Be=["hash","bar"];function _e(t){if(Re(t,"decorators")){if(Re(t,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");var e=Oe(t,"decorators","decoratorsBeforeExport");if(null==e)throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'.");if("boolean"!=typeof e)throw new Error("'decoratorsBeforeExport' must be a boolean.")}if(Re(t,"flow")&&Re(t,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(Re(t,"placeholders")&&Re(t,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(Re(t,"pipelineOperator")&&!Fe.includes(Oe(t,"pipelineOperator","proposal")))throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+Fe.map(function(t){return"'".concat(t,"'")}).join(", "));if(Re(t,"moduleAttributes")){if(Re(t,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if("may-2020"!==Oe(t,"moduleAttributes","version"))throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(Re(t,"recordAndTuple")&&!Be.includes(Oe(t,"recordAndTuple","syntaxType")))throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Be.map(function(t){return"'".concat(t,"'")}).join(", "))}var je={estree:Lt,jsx:fe,flow:he,typescript:Le,v8intrinsic:Me,placeholders:De},Ue=Object.keys(je),qe={sourceType:"script",sourceFilename:void 0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1};function Ve(t){for(var e={},s=0,i=Object.keys(qe);s<i.length;s++){var a=i[s];e[a]=t&&null!=t[a]?t[a]:qe[a]}return e}var ze=function(){function t(){x(this,t),this.strict=void 0,this.curLine=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.inParameters=!1,this.maybeInArrowParameters=!1,this.maybeInAsyncArrowHead=!1,this.inPipeline=!1,this.inType=!1,this.noAnonFunctionType=!1,this.inPropertyName=!1,this.hasFlowComment=!1,this.isIterator=!1,this.isDeclareContext=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.decoratorStack=[[]],this.yieldPos=-1,this.awaitPos=-1,this.comments=[],this.trailingComments=[],this.leadingComments=[],this.commentStack=[],this.commentPreviousNode=null,this.pos=0,this.lineStart=0,this.type=N.eof,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.lastTokEnd=0,this.context=[Mt.braceStatement],this.exprAllowed=!0,this.containsEsc=!1,this.octalPositions=[],this.exportedIdentifiers=[],this.tokensLength=0}return v(t,[{key:"init",value:function(t){this.strict=!1!==t.strictMode&&"module"===t.sourceType,this.curLine=t.startLine,this.startLoc=this.endLoc=this.curPosition()}},{key:"curPosition",value:function(){return new bt(this.curLine,this.pos-this.lineStart)}},{key:"clone",value:function(e){for(var s=new t,i=Object.keys(this),a=0,r=i.length;a<r;a++){var n=i[a],o=this[n];!e&&Array.isArray(o)&&(o=o.slice()),s[n]=o}return s}}]),t}(),He=function(t){return t>=48&&t<=57},Ke=new Set(["g","m","s","i","y","u"]),We={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]},Je={bin:[48,49]};Je.oct=[].concat(t(Je.bin),[50,51,52,53,54,55]),Je.dec=[].concat(t(Je.oct),[56,57]),Je.hex=[].concat(t(Je.dec),[65,66,67,68,69,70,97,98,99,100,101,102]);var Xe=function t(e){x(this,t),this.type=void 0,this.value=void 0,this.start=void 0,this.end=void 0,this.loc=void 0,this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new Tt(e.startLoc,e.endLoc)},Ge=function(t){l(s,Nt);var e=c(s);function s(t,i){var a;return x(this,s),(a=e.call(this)).isLookahead=void 0,a.tokens=[],a.state=new ze,a.state.init(t),a.input=i,a.length=i.length,a.isLookahead=!1,a}return v(s,[{key:"pushToken",value:function(t){this.tokens.length=this.state.tokensLength,this.tokens.push(t),++this.state.tokensLength}},{key:"next",value:function(){this.isLookahead||(this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new Xe(this.state))),this.state.lastTokEnd=this.state.end,this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}},{key:"eat",value:function(t){return!!this.match(t)&&(this.next(),!0)}},{key:"match",value:function(t){return this.state.type===t}},{key:"lookahead",value:function(){var t=this.state;this.state=t.clone(!0),this.isLookahead=!0,this.next(),this.isLookahead=!1;var e=this.state;return this.state=t,e}},{key:"nextTokenStart",value:function(){return this.nextTokenStartSince(this.state.pos)}},{key:"nextTokenStartSince",value:function(t){return kt.lastIndex=t,t+kt.exec(this.input)[0].length}},{key:"lookaheadCharCode",value:function(){return this.input.charCodeAt(this.nextTokenStart())}},{key:"setStrict",value:function(t){if(this.state.strict=t,this.match(N.num)||this.match(N.string)){for(this.state.pos=this.state.start;this.state.pos<this.state.lineStart;)this.state.lineStart=this.input.lastIndexOf("\n",this.state.lineStart-2)+1,--this.state.curLine;this.nextToken()}}},{key:"curContext",value:function(){return this.state.context[this.state.context.length-1]}},{key:"nextToken",value:function(){var t=this.curContext();if((null==t?void 0:t.preserveSpace)||this.skipSpace(),this.state.octalPositions=[],this.state.start=this.state.pos,this.state.startLoc=this.state.curPosition(),this.state.pos>=this.length)this.finishToken(N.eof);else{var e=null==t?void 0:t.override;e?e(this):this.getTokenFromCode(this.input.codePointAt(this.state.pos))}}},{key:"pushComment",value:function(t,e,s,i,a,r){var n={type:t?"CommentBlock":"CommentLine",value:e,start:s,end:i,loc:new Tt(a,r)};this.options.tokens&&this.pushToken(n),this.state.comments.push(n),this.addComment(n)}},{key:"skipBlockComment",value:function(){var t,e=this.state.curPosition(),s=this.state.pos,i=this.input.indexOf("*/",this.state.pos+2);if(-1===i)throw this.raise(s,Ct.UnterminatedComment);for(this.state.pos=i+2,xt.lastIndex=s;(t=xt.exec(this.input))&&t.index<this.state.pos;)++this.state.curLine,this.state.lineStart=t.index+t[0].length;this.isLookahead||this.pushComment(!0,this.input.slice(s+2,i),s,this.state.pos,e,this.state.curPosition())}},{key:"skipLineComment",value:function(t){var e=this.state.pos,s=this.state.curPosition(),i=this.input.charCodeAt(this.state.pos+=t);if(this.state.pos<this.length)for(;!Pt(i)&&++this.state.pos<this.length;)i=this.input.charCodeAt(this.state.pos);this.isLookahead||this.pushComment(!1,this.input.slice(e+t,this.state.pos),e,this.state.pos,s,this.state.curPosition())}},{key:"skipSpace",value:function(){t:for(;this.state.pos<this.length;){var t=this.input.charCodeAt(this.state.pos);switch(t){case 32:case 160:case 9:++this.state.pos;break;case 13:10===this.input.charCodeAt(this.state.pos+1)&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break t}break;default:if(!gt(t))break t;++this.state.pos}}}},{key:"finishToken",value:function(t,e){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();var s=this.state.type;this.state.type=t,this.state.value=e,this.isLookahead||this.updateContext(s)}},{key:"readToken_numberSign",value:function(){if(0!==this.state.pos||!this.readToken_interpreter()){var t=this.state.pos+1,e=this.input.charCodeAt(t);if(e>=48&&e<=57)throw this.raise(this.state.pos,Ct.UnexpectedDigitAfterHash);if(123===e||91===e&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"hash"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,123===e?Ct.RecordExpressionHashIncorrectStartSyntaxType:Ct.TupleExpressionHashIncorrectStartSyntaxType);123===e?this.finishToken(N.braceHashL):this.finishToken(N.bracketHashL),this.state.pos+=2}else this.finishOp(N.hash,1)}}},{key:"readToken_dot",value:function(){var t=this.input.charCodeAt(this.state.pos+1);t>=48&&t<=57?this.readNumber(!0):46===t&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(N.ellipsis)):(++this.state.pos,this.finishToken(N.dot))}},{key:"readToken_slash",value:function(){if(this.state.exprAllowed&&!this.state.inType)return++this.state.pos,void this.readRegexp();61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(N.assign,2):this.finishOp(N.slash,1)}},{key:"readToken_interpreter",value:function(){if(0!==this.state.pos||this.length<2)return!1;var t=this.input.charCodeAt(this.state.pos+1);if(33!==t)return!1;var e=this.state.pos;for(this.state.pos+=1;!Pt(t)&&++this.state.pos<this.length;)t=this.input.charCodeAt(this.state.pos);var s=this.input.slice(e+2,this.state.pos);return this.finishToken(N.interpreterDirective,s),!0}},{key:"readToken_mult_modulo",value:function(t){var e=42===t?N.star:N.modulo,s=1,i=this.input.charCodeAt(this.state.pos+1),a=this.state.exprAllowed;42===t&&42===i&&(s++,i=this.input.charCodeAt(this.state.pos+2),e=N.exponent),61!==i||a||(s++,e=N.assign),this.finishOp(e,s)}},{key:"readToken_pipe_amp",value:function(t){var e=this.input.charCodeAt(this.state.pos+1);if(e!==t){if(124===t){if(62===e)return void this.finishOp(N.pipeline,2);if(this.hasPlugin("recordAndTuple")&&125===e){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,Ct.RecordExpressionBarIncorrectEndSyntaxType);return void this.finishOp(N.braceBarR,2)}if(this.hasPlugin("recordAndTuple")&&93===e){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,Ct.TupleExpressionBarIncorrectEndSyntaxType);return void this.finishOp(N.bracketBarR,2)}}61!==e?this.finishOp(124===t?N.bitwiseOR:N.bitwiseAND,1):this.finishOp(N.assign,2)}else 61===this.input.charCodeAt(this.state.pos+2)?this.finishOp(N.assign,3):this.finishOp(124===t?N.logicalOR:N.logicalAND,2)}},{key:"readToken_caret",value:function(){61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(N.assign,2):this.finishOp(N.bitwiseXOR,1)}},{key:"readToken_plus_min",value:function(t){var e=this.input.charCodeAt(this.state.pos+1);if(e===t)return 45!==e||this.inModule||62!==this.input.charCodeAt(this.state.pos+2)||0!==this.state.lastTokEnd&&!this.hasPrecedingLineBreak()?void this.finishOp(N.incDec,2):(this.skipLineComment(3),this.skipSpace(),void this.nextToken());61===e?this.finishOp(N.assign,2):this.finishOp(N.plusMin,1)}},{key:"readToken_lt_gt",value:function(t){var e=this.input.charCodeAt(this.state.pos+1),s=1;return e===t?(s=62===t&&62===this.input.charCodeAt(this.state.pos+2)?3:2,61===this.input.charCodeAt(this.state.pos+s)?void this.finishOp(N.assign,s+1):void this.finishOp(N.bitShift,s)):33!==e||60!==t||this.inModule||45!==this.input.charCodeAt(this.state.pos+2)||45!==this.input.charCodeAt(this.state.pos+3)?(61===e&&(s=2),void this.finishOp(N.relational,s)):(this.skipLineComment(4),this.skipSpace(),void this.nextToken())}},{key:"readToken_eq_excl",value:function(t){var e=this.input.charCodeAt(this.state.pos+1);if(61!==e)return 61===t&&62===e?(this.state.pos+=2,void this.finishToken(N.arrow)):void this.finishOp(61===t?N.eq:N.bang,1);this.finishOp(N.equality,61===this.input.charCodeAt(this.state.pos+2)?3:2)}},{key:"readToken_question",value:function(){var t=this.input.charCodeAt(this.state.pos+1),e=this.input.charCodeAt(this.state.pos+2);63===t?61===e?this.finishOp(N.assign,3):this.finishOp(N.nullishCoalescing,2):46!==t||e>=48&&e<=57?(++this.state.pos,this.finishToken(N.question)):(this.state.pos+=2,this.finishToken(N.questionDot))}},{key:"getTokenFromCode",value:function(t){switch(t){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(N.parenL);case 41:return++this.state.pos,void this.finishToken(N.parenR);case 59:return++this.state.pos,void this.finishToken(N.semi);case 44:return++this.state.pos,void this.finishToken(N.comma);case 91:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,Ct.TupleExpressionBarIncorrectStartSyntaxType);this.finishToken(N.bracketBarL),this.state.pos+=2}else++this.state.pos,this.finishToken(N.bracketL);return;case 93:return++this.state.pos,void this.finishToken(N.bracketR);case 123:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,Ct.RecordExpressionBarIncorrectStartSyntaxType);this.finishToken(N.braceBarL),this.state.pos+=2}else++this.state.pos,this.finishToken(N.braceL);return;case 125:return++this.state.pos,void this.finishToken(N.braceR);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(N.doubleColon,2):(++this.state.pos,this.finishToken(N.colon)));case 63:return void this.readToken_question();case 96:return++this.state.pos,void this.finishToken(N.backQuote);case 48:var e=this.input.charCodeAt(this.state.pos+1);if(120===e||88===e)return void this.readRadixNumber(16);if(111===e||79===e)return void this.readRadixNumber(8);if(98===e||66===e)return void this.readRadixNumber(2);case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(t);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(t);case 124:case 38:return void this.readToken_pipe_amp(t);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(t);case 60:case 62:return void this.readToken_lt_gt(t);case 61:case 33:return void this.readToken_eq_excl(t);case 126:return void this.finishOp(N.tilde,1);case 64:return++this.state.pos,void this.finishToken(N.at);case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(qt(t))return void this.readWord()}throw this.raise(this.state.pos,Ct.InvalidOrUnexpectedToken,String.fromCodePoint(t))}},{key:"finishOp",value:function(t,e){var s=this.input.slice(this.state.pos,this.state.pos+e);this.state.pos+=e,this.finishToken(t,s)}},{key:"readRegexp",value:function(){for(var t,e,s=this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(s,Ct.UnterminatedRegExp);var i=this.input.charAt(this.state.pos);if(vt.test(i))throw this.raise(s,Ct.UnterminatedRegExp);if(t)t=!1;else{if("["===i)e=!0;else if("]"===i&&e)e=!1;else if("/"===i&&!e)break;t="\\"===i}++this.state.pos}var a=this.input.slice(s,this.state.pos);++this.state.pos;for(var r="";this.state.pos<this.length;){var n=this.input[this.state.pos],o=this.input.codePointAt(this.state.pos);if(Ke.has(n))r.indexOf(n)>-1&&this.raise(this.state.pos+1,Ct.DuplicateRegExpFlags);else{if(!Vt(o)&&92!==o)break;this.raise(this.state.pos+1,Ct.MalformedRegExpFlags)}++this.state.pos,r+=n}this.finishToken(N.regexp,{pattern:a,flags:r})}},{key:"readInt",value:function(t,e,s){for(var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=this.state.pos,r=16===t?We.hex:We.decBinOct,n=16===t?Je.hex:10===t?Je.dec:8===t?Je.oct:Je.bin,o=!1,h=0,l=0,p=null==e?1/0:e;l<p;++l){var c=this.input.charCodeAt(this.state.pos),u=void 0;if(95!==c){if((u=c>=97?c-97+10:c>=65?c-65+10:He(c)?c-48:1/0)>=t)if(this.options.errorRecovery&&u<=9)u=0,this.raise(this.state.start+l+2,Ct.InvalidDigit,t);else{if(!s)break;u=0,o=!0}++this.state.pos,h=h*t+u}else{var d=this.input.charCodeAt(this.state.pos-1),m=this.input.charCodeAt(this.state.pos+1);-1===n.indexOf(m)?this.raise(this.state.pos,Ct.UnexpectedNumericSeparator):(r.indexOf(d)>-1||r.indexOf(m)>-1||Number.isNaN(m))&&this.raise(this.state.pos,Ct.UnexpectedNumericSeparator),i||this.raise(this.state.pos,Ct.NumericSeparatorInEscapeSequence),++this.state.pos}}return this.state.pos===a||null!=e&&this.state.pos-a!==e||o?null:h}},{key:"readRadixNumber",value:function(t){var e=this.state.pos,s=!1;this.state.pos+=2;var i=this.readInt(t);null==i&&this.raise(this.state.start+2,Ct.InvalidDigit,t);var a=this.input.charCodeAt(this.state.pos);if(110===a)++this.state.pos,s=!0;else if(109===a)throw this.raise(e,Ct.InvalidDecimal);if(qt(this.input.codePointAt(this.state.pos)))throw this.raise(this.state.pos,Ct.NumberIdentifier);if(s){var r=this.input.slice(e,this.state.pos).replace(/[_n]/g,"");this.finishToken(N.bigint,r)}else this.finishToken(N.num,i)}},{key:"readNumber",value:function(t){var e=this.state.pos,s=!1,i=!1,a=!1,r=!1,n=!1;t||null!==this.readInt(10)||this.raise(e,Ct.InvalidNumber);var o=this.state.pos-e>=2&&48===this.input.charCodeAt(e);if(o){var h=this.input.slice(e,this.state.pos);if(this.state.strict)this.raise(e,Ct.StrictOctalLiteral);else{var l=h.indexOf("_");l>0&&this.raise(l+e,Ct.ZeroDigitNumericSeparator)}n=o&&!/[89]/.test(h)}var p=this.input.charCodeAt(this.state.pos);if(46!==p||n||(++this.state.pos,this.readInt(10),s=!0,p=this.input.charCodeAt(this.state.pos)),69!==p&&101!==p||n||(43!==(p=this.input.charCodeAt(++this.state.pos))&&45!==p||++this.state.pos,null===this.readInt(10)&&this.raise(e,Ct.InvalidOrMissingExponent),s=!0,r=!0,p=this.input.charCodeAt(this.state.pos)),110===p&&((s||o)&&this.raise(e,Ct.InvalidBigIntLiteral),++this.state.pos,i=!0),109===p&&(this.expectPlugin("decimal",this.state.pos),(r||o)&&this.raise(e,Ct.InvalidDecimal),++this.state.pos,a=!0),qt(this.input.codePointAt(this.state.pos)))throw this.raise(this.state.pos,Ct.NumberIdentifier);var c=this.input.slice(e,this.state.pos).replace(/[_mn]/g,"");if(i)this.finishToken(N.bigint,c);else if(a)this.finishToken(N.decimal,c);else{var u=n?parseInt(c,8):parseFloat(c);this.finishToken(N.num,u)}}},{key:"readCodePoint",value:function(t){var e;if(123===this.input.charCodeAt(this.state.pos)){var s=++this.state.pos;if(e=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,!0,t),++this.state.pos,null!==e&&e>1114111){if(!t)return null;this.raise(s,Ct.InvalidCodePoint)}}else e=this.readHexChar(4,!1,t);return e}},{key:"readString",value:function(t){for(var e="",s=++this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,Ct.UnterminatedString);var i=this.input.charCodeAt(this.state.pos);if(i===t)break;if(92===i)e+=this.input.slice(s,this.state.pos),e+=this.readEscapedChar(!1),s=this.state.pos;else if(8232===i||8233===i)++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;else{if(Pt(i))throw this.raise(this.state.start,Ct.UnterminatedString);++this.state.pos}}e+=this.input.slice(s,this.state.pos++),this.finishToken(N.string,e)}},{key:"readTmplToken",value:function(){for(var t="",e=this.state.pos,s=!1;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,Ct.UnterminatedTemplate);var i=this.input.charCodeAt(this.state.pos);if(96===i||36===i&&123===this.input.charCodeAt(this.state.pos+1))return this.state.pos===this.state.start&&this.match(N.template)?36===i?(this.state.pos+=2,void this.finishToken(N.dollarBraceL)):(++this.state.pos,void this.finishToken(N.backQuote)):(t+=this.input.slice(e,this.state.pos),void this.finishToken(N.template,s?null:t));if(92===i){t+=this.input.slice(e,this.state.pos);var a=this.readEscapedChar(!0);null===a?s=!0:t+=a,e=this.state.pos}else if(Pt(i)){switch(t+=this.input.slice(e,this.state.pos),++this.state.pos,i){case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:t+="\n";break;default:t+=String.fromCharCode(i)}++this.state.curLine,this.state.lineStart=this.state.pos,e=this.state.pos}else++this.state.pos}}},{key:"readEscapedChar",value:function(t){var e=!t,s=this.input.charCodeAt(++this.state.pos);switch(++this.state.pos,s){case 110:return"\n";case 114:return"\r";case 120:var i=this.readHexChar(2,!1,e);return null===i?null:String.fromCharCode(i);case 117:var a=this.readCodePoint(e);return null===a?null:String.fromCodePoint(a);case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:this.state.lineStart=this.state.pos,++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(t)return null;this.state.strict&&this.raise(this.state.pos-1,Ct.StrictNumericEscape);default:if(s>=48&&s<=55){var r=this.state.pos-1,n=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/)[0],o=parseInt(n,8);o>255&&(n=n.slice(0,-1),o=parseInt(n,8)),this.state.pos+=n.length-1;var h=this.input.charCodeAt(this.state.pos);if("0"!==n||56===h||57===h){if(t)return null;this.state.strict?this.raise(r,Ct.StrictNumericEscape):this.state.octalPositions.push(r)}return String.fromCharCode(o)}return String.fromCharCode(s)}}},{key:"readHexChar",value:function(t,e,s){var i=this.state.pos,a=this.readInt(16,t,e,!1);return null===a&&(s?this.raise(i,Ct.InvalidEscapeSequence):this.state.pos=i-1),a}},{key:"readWord1",value:function(){var t="";this.state.containsEsc=!1;for(var e=this.state.pos,s=this.state.pos;this.state.pos<this.length;){var i=this.input.codePointAt(this.state.pos);if(Vt(i))this.state.pos+=i<=65535?1:2;else if(this.state.isIterator&&64===i)++this.state.pos;else{if(92!==i)break;this.state.containsEsc=!0,t+=this.input.slice(s,this.state.pos);var a=this.state.pos,r=this.state.pos===e?qt:Vt;if(117!==this.input.charCodeAt(++this.state.pos)){this.raise(this.state.pos,Ct.MissingUnicodeEscape);continue}++this.state.pos;var n=this.readCodePoint(!0);null!==n&&(r(n)||this.raise(a,Ct.EscapedCharNotAnIdentifier),t+=String.fromCodePoint(n)),s=this.state.pos}}return t+this.input.slice(s,this.state.pos)}},{key:"isIterator",value:function(t){return"@@iterator"===t||"@@asyncIterator"===t}},{key:"readWord",value:function(){var t=this.readWord1(),e=E.get(t)||N.name;!this.state.isIterator||this.isIterator(t)&&this.state.inType||this.raise(this.state.pos,Ct.InvalidIdentifier,t),this.finishToken(e,t)}},{key:"checkKeywordEscapes",value:function(){var t=this.state.type.keyword;t&&this.state.containsEsc&&this.raise(this.state.start,Ct.InvalidEscapedReservedWord,t)}},{key:"braceIsBlock",value:function(t){var e=this.curContext();return e===Mt.functionExpression||e===Mt.functionStatement||(t!==N.colon||e!==Mt.braceStatement&&e!==Mt.braceExpression?t===N._return||t===N.name&&this.state.exprAllowed?this.hasPrecedingLineBreak():t===N._else||t===N.semi||t===N.eof||t===N.parenR||t===N.arrow||(t===N.braceL?e===Mt.braceStatement:t!==N._var&&t!==N._const&&t!==N.name&&(t===N.relational||!this.state.exprAllowed)):!e.isExpr)}},{key:"updateContext",value:function(t){var e,s=this.state.type;!s.keyword||t!==N.dot&&t!==N.questionDot?(e=s.updateContext)?e.call(this,t):this.state.exprAllowed=s.beforeExpr:this.state.exprAllowed=!1}}]),s}(),Qe=function(t){l(s,Ge);var e=c(s);function s(){return x(this,s),e.apply(this,arguments)}return v(s,[{key:"addExtra",value:function(t,e,s){t&&((t.extra=t.extra||{})[e]=s)}},{key:"isRelational",value:function(t){return this.match(N.relational)&&this.state.value===t}},{key:"expectRelational",value:function(t){this.isRelational(t)?this.next():this.unexpected(null,N.relational)}},{key:"isContextual",value:function(t){return this.match(N.name)&&this.state.value===t&&!this.state.containsEsc}},{key:"isUnparsedContextual",value:function(t,e){var s=t+e.length;return this.input.slice(t,s)===e&&(s===this.input.length||!Vt(this.input.charCodeAt(s)))}},{key:"isLookaheadContextual",value:function(t){var e=this.nextTokenStart();return this.isUnparsedContextual(e,t)}},{key:"eatContextual",value:function(t){return this.isContextual(t)&&this.eat(N.name)}},{key:"expectContextual",value:function(t,e){this.eatContextual(t)||this.unexpected(null,e)}},{key:"canInsertSemicolon",value:function(){return this.match(N.eof)||this.match(N.braceR)||this.hasPrecedingLineBreak()}},{key:"hasPrecedingLineBreak",value:function(){return vt.test(this.input.slice(this.state.lastTokEnd,this.state.start))}},{key:"isLineTerminator",value:function(){return this.eat(N.semi)||this.canInsertSemicolon()}},{key:"semicolon",value:function(){this.isLineTerminator()||this.unexpected(null,N.semi)}},{key:"expect",value:function(t,e){this.eat(t)||this.unexpected(e,t)}},{key:"assertNoSpace",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Unexpected space.";this.state.start>this.state.lastTokEnd&&this.raise(this.state.lastTokEnd,t)}},{key:"unexpected",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Unexpected token";throw"string"!=typeof e&&(e='Unexpected token, expected "'.concat(e.label,'"')),this.raise(null!=t?t:this.state.start,e)}},{key:"expectPlugin",value:function(t,e){if(!this.hasPlugin(t))throw this.raiseWithData(null!=e?e:this.state.start,{missingPlugin:[t]},"This experimental syntax requires enabling the parser plugin: '".concat(t,"'"));return!0}},{key:"expectOnePlugin",value:function(t,e){var s=this;if(!t.some(function(t){return s.hasPlugin(t)}))throw this.raiseWithData(null!=e?e:this.state.start,{missingPlugin:t},"This experimental syntax requires enabling one of the following parser plugin(s): '".concat(t.join(", "),"'"))}},{key:"checkYieldAwaitInDefaultParams",value:function(){-1!==this.state.yieldPos&&(-1===this.state.awaitPos||this.state.yieldPos<this.state.awaitPos)&&this.raise(this.state.yieldPos,Ct.YieldBindingIdentifier),-1!==this.state.awaitPos&&this.raise(this.state.awaitPos,Ct.AwaitBindingIdentifier)}},{key:"tryParse",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.clone(),s={node:null};try{var i=t(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;throw s.node=t,s});if(this.state.errors.length>e.errors.length){var a=this.state;return this.state=e,{node:i,error:a.errors[e.errors.length],thrown:!1,aborted:!1,failState:a}}return{node:i,error:null,thrown:!1,aborted:!1,failState:null}}catch(n){var r=this.state;if(this.state=e,n instanceof SyntaxError)return{node:null,error:n,thrown:!0,aborted:!1,failState:r};if(n===s)return{node:s.node,error:null,thrown:!1,aborted:!0,failState:r};throw n}}},{key:"checkExpressionErrors",value:function(t,e){if(!t)return!1;var{shorthandAssign:s,doubleProto:i}=t;if(!e)return s>=0||i>=0;s>=0&&this.unexpected(s),i>=0&&this.raise(i,Ct.DuplicateProto)}},{key:"isLiteralPropertyName",value:function(){return this.match(N.name)||!!this.state.type.keyword||this.match(N.string)||this.match(N.num)||this.match(N.bigint)||this.match(N.decimal)}}]),s}(),Ye=function t(){x(this,t),this.shorthandAssign=-1,this.doubleProto=-1},$e=function(){function t(e,s,i){x(this,t),this.type=void 0,this.start=void 0,this.end=void 0,this.loc=void 0,this.range=void 0,this.leadingComments=void 0,this.trailingComments=void 0,this.innerComments=void 0,this.extra=void 0,this.type="",this.start=s,this.end=0,this.loc=new Tt(i),(null==e?void 0:e.options.ranges)&&(this.range=[s,0]),(null==e?void 0:e.filename)&&(this.loc.filename=e.filename)}return v(t,[{key:"__clone",value:function(){for(var e=new t,s=Object.keys(this),i=0,a=s.length;i<a;i++){var r=s[i];"leadingComments"!==r&&"trailingComments"!==r&&"innerComments"!==r&&(e[r]=this[r])}return e}}]),t}(),Ze=function(t){l(s,Qe);var e=c(s);function s(){return x(this,s),e.apply(this,arguments)}return v(s,[{key:"startNode",value:function(){return new $e(this,this.state.start,this.state.startLoc)}},{key:"startNodeAt",value:function(t,e){return new $e(this,t,e)}},{key:"startNodeAtNode",value:function(t){return this.startNodeAt(t.start,t.loc.start)}},{key:"finishNode",value:function(t,e){return this.finishNodeAt(t,e,this.state.lastTokEnd,this.state.lastTokEndLoc)}},{key:"finishNodeAt",value:function(t,e,s,i){return t.type=e,t.end=s,t.loc.end=i,this.options.ranges&&(t.range[1]=s),this.processComment(t),t}},{key:"resetStartLocation",value:function(t,e,s){t.start=e,t.loc.start=s,this.options.ranges&&(t.range[0]=e)}},{key:"resetEndLocation",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.lastTokEnd,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.state.lastTokEndLoc;t.end=e,t.loc.end=s,this.options.ranges&&(t.range[1]=e)}},{key:"resetStartLocationFromNode",value:function(t,e){this.resetStartLocation(t,e.start,e.loc.start)}}]),s}(),ts=function(t){return"ParenthesizedExpression"===t.type?ts(t.expression):t},es=function(t){l(s,Ze);var e=c(s);function s(){return x(this,s),e.apply(this,arguments)}return v(s,[{key:"toAssignable",value:function(t){var e,s,i=void 0;switch(("ParenthesizedExpression"===t.type||(null==(e=t.extra)?void 0:e.parenthesized))&&"Identifier"!==(i=ts(t)).type&&"MemberExpression"!==i.type&&this.raise(t.start,Ct.InvalidParenthesizedAssignment),t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":t.type="ObjectPattern";for(var a=0,r=t.properties.length,n=r-1;a<r;a++){var o,h=t.properties[a],l=a===n;this.toAssignableObjectExpressionProp(h,l),l&&"RestElement"===h.type&&(null==(o=t.extra)?void 0:o.trailingComma)&&this.raiseRestNotLast(t.extra.trailingComma)}break;case"ObjectProperty":this.toAssignable(t.value);break;case"SpreadElement":this.checkToRestConversion(t),t.type="RestElement";var p=t.argument;this.toAssignable(p);break;case"ArrayExpression":t.type="ArrayPattern",this.toAssignableList(t.elements,null==(s=t.extra)?void 0:s.trailingComma);break;case"AssignmentExpression":"="!==t.operator&&this.raise(t.left.end,Ct.MissingEqInAssignment),t.type="AssignmentPattern",delete t.operator,this.toAssignable(t.left);break;case"ParenthesizedExpression":this.toAssignable(i)}return t}},{key:"toAssignableObjectExpressionProp",value:function(t,e){if("ObjectMethod"===t.type){var s="get"===t.kind||"set"===t.kind?Ct.PatternHasAccessor:Ct.PatternHasMethod;this.raise(t.key.start,s)}else"SpreadElement"!==t.type||e?this.toAssignable(t):this.raiseRestNotLast(t.start)}},{key:"toAssignableList",value:function(t,e){var s=t.length;if(s){var i=t[s-1];if("RestElement"===(null==i?void 0:i.type))--s;else if("SpreadElement"===(null==i?void 0:i.type)){i.type="RestElement";var a=i.argument;this.toAssignable(a),"Identifier"!==a.type&&"MemberExpression"!==a.type&&"ArrayPattern"!==a.type&&"ObjectPattern"!==a.type&&this.unexpected(a.start),e&&this.raiseTrailingCommaAfterRest(e),--s}}for(var r=0;r<s;r++){var n=t[r];n&&(this.toAssignable(n),"RestElement"===n.type&&this.raiseRestNotLast(n.start))}return t}},{key:"toReferencedList",value:function(t,e){return t}},{key:"toReferencedListDeep",value:function(t,e){this.toReferencedList(t,e);for(var s=0;s<t.length;s++){var i=t[s];"ArrayExpression"===(null==i?void 0:i.type)&&this.toReferencedListDeep(i.elements)}}},{key:"parseSpread",value:function(t,e){var s=this.startNode();return this.next(),s.argument=this.parseMaybeAssignAllowIn(t,void 0,e),this.finishNode(s,"SpreadElement")}},{key:"parseRestBinding",value:function(){var t=this.startNode();return this.next(),t.argument=this.parseBindingAtom(),this.finishNode(t,"RestElement")}},{key:"parseBindingAtom",value:function(){switch(this.state.type){case N.bracketL:var t=this.startNode();return this.next(),t.elements=this.parseBindingList(N.bracketR,93,!0),this.finishNode(t,"ArrayPattern");case N.braceL:return this.parseObjectLike(N.braceR,!0)}return this.parseIdentifier()}},{key:"parseBindingList",value:function(t,e,s,i){for(var a=[],r=!0;!this.eat(t);)if(r?r=!1:this.expect(N.comma),s&&this.match(N.comma))a.push(null);else{if(this.eat(t))break;if(this.match(N.ellipsis)){a.push(this.parseAssignableListItemTypes(this.parseRestBinding())),this.checkCommaAfterRest(e),this.expect(t);break}var n=[];for(this.match(N.at)&&this.hasPlugin("decorators")&&this.raise(this.state.start,Ct.UnsupportedParameterDecorator);this.match(N.at);)n.push(this.parseDecorator());a.push(this.parseAssignableListItem(i,n))}return a}},{key:"parseAssignableListItem",value:function(t,e){var s=this.parseMaybeDefault();this.parseAssignableListItemTypes(s);var i=this.parseMaybeDefault(s.start,s.loc.start,s);return e.length&&(s.decorators=e),i}},{key:"parseAssignableListItemTypes",value:function(t){return t}},{key:"parseMaybeDefault",value:function(t,e,s){var i,a,r;if(e=null!=(i=e)?i:this.state.startLoc,t=null!=(a=t)?a:this.state.start,s=null!=(r=s)?r:this.parseBindingAtom(),!this.eat(N.eq))return s;var n=this.startNodeAt(t,e);return n.left=s,n.right=this.parseMaybeAssignAllowIn(),this.finishNode(n,"AssignmentPattern")}},{key:"checkLVal",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:at,s=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,r=arguments.length>5&&void 0!==arguments[5]&&arguments[5];switch(t.type){case"Identifier":if(this.state.strict&&(r?Qt(t.name,this.inModule):Gt(t.name))&&this.raise(t.start,e===at?Ct.StrictEvalArguments:Ct.StrictEvalArgumentsBinding,t.name),s){var n="_".concat(t.name);s[n]?this.raise(t.start,Ct.ParamDupe):s[n]=!0}a&&"let"===t.name&&this.raise(t.start,Ct.LetInLexicalBinding),e&at||this.scope.declareName(t.name,e,t.start);break;case"MemberExpression":e!==at&&this.raise(t.start,Ct.InvalidPropertyBindingPattern);break;case"ObjectPattern":for(var o=0,h=t.properties;o<h.length;o++){var l=h[o];if("ObjectProperty"===l.type)l=l.value;else if("ObjectMethod"===l.type)continue;this.checkLVal(l,e,s,"object destructuring pattern",a)}break;case"ArrayPattern":for(var p=0,c=t.elements;p<c.length;p++){var u=c[p];u&&this.checkLVal(u,e,s,"array destructuring pattern",a)}break;case"AssignmentPattern":this.checkLVal(t.left,e,s,"assignment pattern");break;case"RestElement":this.checkLVal(t.argument,e,s,"rest element");break;case"ParenthesizedExpression":this.checkLVal(t.expression,e,s,"parenthesized expression");break;default:this.raise(t.start,e===at?Ct.InvalidLhs:Ct.InvalidLhsBinding,i)}}},{key:"checkToRestConversion",value:function(t){"Identifier"!==t.argument.type&&"MemberExpression"!==t.argument.type&&this.raise(t.argument.start,Ct.InvalidRestAssignmentPattern)}},{key:"checkCommaAfterRest",value:function(t){this.match(N.comma)&&(this.lookaheadCharCode()===t?this.raiseTrailingCommaAfterRest(this.state.start):this.raiseRestNotLast(this.state.start))}},{key:"raiseRestNotLast",value:function(t){throw this.raise(t,Ct.ElementAfterRest)}},{key:"raiseTrailingCommaAfterRest",value:function(t){this.raise(t,Ct.RestTrailingComma)}}]),s}(),ss=function(t){l(s,es);var e=c(s);function s(){return x(this,s),e.apply(this,arguments)}return v(s,[{key:"checkProto",value:function(t,e,s,i){if("SpreadElement"!==t.type&&"ObjectMethod"!==t.type&&!t.computed&&!t.shorthand){var a=t.key;if("__proto__"===("Identifier"===a.type?a.name:a.value)){if(e)return void this.raise(a.start,Ct.RecordNoProto);s.used&&(i?-1===i.doubleProto&&(i.doubleProto=a.start):this.raise(a.start,Ct.DuplicateProto)),s.used=!0}}}},{key:"shouldExitDescending",value:function(t,e){return"ArrowFunctionExpression"===t.type&&t.start===e}},{key:"getExpression",value:function(){var t=ke;this.hasPlugin("topLevelAwait")&&this.inModule&&(t|=be),this.scope.enter(L),this.prodParam.enter(t),this.nextToken();var e=this.parseExpression();return this.match(N.eof)||this.unexpected(),e.comments=this.state.comments,e.errors=this.state.errors,e}},{key:"parseExpression",value:function(t,e){var s=this;return t?this.disallowInAnd(function(){return s.parseExpressionBase(e)}):this.allowInAnd(function(){return s.parseExpressionBase(e)})}},{key:"parseExpressionBase",value:function(t){var e=this.state.start,s=this.state.startLoc,i=this.parseMaybeAssign(t);if(this.match(N.comma)){var a=this.startNodeAt(e,s);for(a.expressions=[i];this.eat(N.comma);)a.expressions.push(this.parseMaybeAssign(t));return this.toReferencedList(a.expressions),this.finishNode(a,"SequenceExpression")}return i}},{key:"parseMaybeAssignDisallowIn",value:function(t,e,s){var i=this;return this.disallowInAnd(function(){return i.parseMaybeAssign(t,e,s)})}},{key:"parseMaybeAssignAllowIn",value:function(t,e,s){var i=this;return this.allowInAnd(function(){return i.parseMaybeAssign(t,e,s)})}},{key:"parseMaybeAssign",value:function(t,e,s){var i,a=this.state.start,r=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){var n=this.parseYield();return e&&(n=e.call(this,n,a,r)),n}this.state.exprAllowed=!1}t?i=!1:(t=new Ye,i=!0),(this.match(N.parenL)||this.match(N.name))&&(this.state.potentialArrowAt=this.state.start);var o=this.parseMaybeConditional(t,s);if(e&&(o=e.call(this,o,a,r)),this.state.type.isAssign){var h=this.startNodeAt(a,r),l=this.state.value;return h.operator=l,this.match(N.eq)?(h.left=this.toAssignable(o),t.doubleProto=-1):h.left=o,t.shorthandAssign>=h.left.start&&(t.shorthandAssign=-1),this.checkLVal(o,void 0,void 0,"assignment expression"),this.next(),h.right=this.parseMaybeAssign(),this.finishNode(h,"AssignmentExpression")}return i&&this.checkExpressionErrors(t,!0),o}},{key:"parseMaybeConditional",value:function(t,e){var s=this.state.start,i=this.state.startLoc,a=this.state.potentialArrowAt,r=this.parseExprOps(t);return this.shouldExitDescending(r,a)?r:this.parseConditional(r,s,i,e)}},{key:"parseConditional",value:function(t,e,s,i){if(this.eat(N.question)){var a=this.startNodeAt(e,s);return a.test=t,a.consequent=this.parseMaybeAssignAllowIn(),this.expect(N.colon),a.alternate=this.parseMaybeAssign(),this.finishNode(a,"ConditionalExpression")}return t}},{key:"parseExprOps",value:function(t){var e=this.state.start,s=this.state.startLoc,i=this.state.potentialArrowAt,a=this.parseMaybeUnary(t);return this.shouldExitDescending(a,i)?a:this.parseExprOp(a,e,s,-1)}},{key:"parseExprOp",value:function(t,e,s,i){var a=this.state.type.binop;if(null!=a&&(this.prodParam.hasIn||!this.match(N._in))&&a>i){var r=this.state.type;if(r===N.pipeline){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return t;this.state.inPipeline=!0,this.checkPipelineAtInfixOperator(t,e)}var n=this.startNodeAt(e,s);n.left=t,n.operator=this.state.value,r!==N.exponent||"UnaryExpression"!==t.type||!this.options.createParenthesizedExpressions&&t.extra&&t.extra.parenthesized||this.raise(t.argument.start,Ct.UnexpectedTokenUnaryExponentiation);var o=r===N.logicalOR||r===N.logicalAND,h=r===N.nullishCoalescing;if(h&&(a=N.logicalAND.binop),this.next(),r===N.pipeline&&"minimal"===this.getPluginOption("pipelineOperator","proposal")&&this.match(N.name)&&"await"===this.state.value&&this.prodParam.hasAwait)throw this.raise(this.state.start,Ct.UnexpectedAwaitAfterPipelineBody);n.right=this.parseExprOpRightExpr(r,a),this.finishNode(n,o||h?"LogicalExpression":"BinaryExpression");var l=this.state.type;if(h&&(l===N.logicalOR||l===N.logicalAND)||o&&l===N.nullishCoalescing)throw this.raise(this.state.start,Ct.MixingCoalesceWithLogical);return this.parseExprOp(n,e,s,i)}return t}},{key:"parseExprOpRightExpr",value:function(t,e){var s=this,i=this.state.start,a=this.state.startLoc;switch(t){case N.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext(function(){return s.parseSmartPipelineBody(s.parseExprOpBaseRightExpr(t,e),i,a)});case"fsharp":return this.withSoloAwaitPermittingContext(function(){return s.parseFSharpPipelineBody(e)})}default:return this.parseExprOpBaseRightExpr(t,e)}}},{key:"parseExprOpBaseRightExpr",value:function(t,e){var s=this.state.start,i=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),s,i,t.rightAssociative?e-1:e)}},{key:"parseMaybeUnary",value:function(t){if(this.isContextual("await")&&this.isAwaitAllowed())return this.parseAwait();var e=this.match(N.incDec),s=this.startNode();if(this.state.type.prefix){s.operator=this.state.value,s.prefix=!0,this.match(N._throw)&&this.expectPlugin("throwExpressions");var i=this.match(N._delete);if(this.next(),s.argument=this.parseMaybeUnary(),this.checkExpressionErrors(t,!0),this.state.strict&&i){var a=s.argument;"Identifier"===a.type?this.raise(s.start,Ct.StrictDelete):"MemberExpression"!==a.type&&"OptionalMemberExpression"!==a.type||"PrivateName"!==a.property.type||this.raise(s.start,Ct.DeletePrivateField)}if(!e)return this.finishNode(s,"UnaryExpression")}return this.parseUpdate(s,e,t)}},{key:"parseUpdate",value:function(t,e,s){if(e)return this.checkLVal(t.argument,void 0,void 0,"prefix operation"),this.finishNode(t,"UpdateExpression");var i=this.state.start,a=this.state.startLoc,r=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,!1))return r;for(;this.state.type.postfix&&!this.canInsertSemicolon();){var n=this.startNodeAt(i,a);n.operator=this.state.value,n.prefix=!1,n.argument=r,this.checkLVal(r,void 0,void 0,"postfix operation"),this.next(),r=this.finishNode(n,"UpdateExpression")}return r}},{key:"parseExprSubscripts",value:function(t){var e=this.state.start,s=this.state.startLoc,i=this.state.potentialArrowAt,a=this.parseExprAtom(t);return this.shouldExitDescending(a,i)?a:this.parseSubscripts(a,e,s)}},{key:"parseSubscripts",value:function(t,e,s,i){var a={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(t),stop:!1};do{var r=this.state.maybeInAsyncArrowHead;a.maybeAsyncArrow&&(this.state.maybeInAsyncArrowHead=!0),t=this.parseSubscript(t,e,s,i,a),a.maybeAsyncArrow=!1,this.state.maybeInAsyncArrowHead=r}while(!a.stop);return t}},{key:"parseSubscript",value:function(t,e,s,i,a){if(!i&&this.eat(N.doubleColon))return this.parseBind(t,e,s,i,a);if(this.match(N.backQuote))return this.parseTaggedTemplateExpression(t,e,s,a);var r=!1;if(this.match(N.questionDot)){if(a.optionalChainMember=r=!0,i&&40===this.lookaheadCharCode())return a.stop=!0,t;this.next()}return!i&&this.match(N.parenL)?this.parseCoverCallAndAsyncArrowHead(t,e,s,a,r):r||this.match(N.bracketL)||this.eat(N.dot)?this.parseMember(t,e,s,a,r):(a.stop=!0,t)}},{key:"parseMember",value:function(t,e,s,i,a){var r=this.startNodeAt(e,s),n=this.eat(N.bracketL);r.object=t,r.computed=n;var o=n?this.parseExpression():this.parseMaybePrivateName(!0);return"PrivateName"===o.type&&("Super"===r.object.type&&this.raise(e,Ct.SuperPrivateField),this.classScope.usePrivateName(o.id.name,o.start)),r.property=o,n&&this.expect(N.bracketR),i.optionalChainMember?(r.optional=a,this.finishNode(r,"OptionalMemberExpression")):this.finishNode(r,"MemberExpression")}},{key:"parseBind",value:function(t,e,s,i,a){var r=this.startNodeAt(e,s);return r.object=t,r.callee=this.parseNoCallExpr(),a.stop=!0,this.parseSubscripts(this.finishNode(r,"BindExpression"),e,s,i)}},{key:"parseCoverCallAndAsyncArrowHead",value:function(t,e,s,i,a){var r=this.state.maybeInArrowParameters,n=this.state.yieldPos,o=this.state.awaitPos;this.state.maybeInArrowParameters=!0,this.state.yieldPos=-1,this.state.awaitPos=-1,this.next();var h=this.startNodeAt(e,s);return h.callee=t,i.optionalChainMember&&(h.optional=a),h.arguments=a?this.parseCallExpressionArguments(N.parenR,!1):this.parseCallExpressionArguments(N.parenR,i.maybeAsyncArrow,"Import"===t.type,"Super"!==t.type,h),this.finishCallExpression(h,i.optionalChainMember),i.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!a?(i.stop=!0,h=this.parseAsyncArrowFromCallExpression(this.startNodeAt(e,s),h),this.checkYieldAwaitInDefaultParams(),this.state.yieldPos=n,this.state.awaitPos=o):(this.toReferencedListDeep(h.arguments),-1!==n&&(this.state.yieldPos=n),(this.isAwaitAllowed()||r)&&-1===o||(this.state.awaitPos=o)),this.state.maybeInArrowParameters=r,h}},{key:"parseTaggedTemplateExpression",value:function(t,e,s,i){var a=this.startNodeAt(e,s);return a.tag=t,a.quasi=this.parseTemplate(!0),i.optionalChainMember&&this.raise(e,Ct.OptionalChainingNoTemplate),this.finishNode(a,"TaggedTemplateExpression")}},{key:"atPossibleAsyncArrow",value:function(t){return"Identifier"===t.type&&"async"===t.name&&this.state.lastTokEnd===t.end&&!this.canInsertSemicolon()&&t.end-t.start==5&&t.start===this.state.potentialArrowAt}},{key:"finishCallExpression",value:function(t,e){if("Import"===t.callee.type)if(2===t.arguments.length&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),0===t.arguments.length||t.arguments.length>2)this.raise(t.start,Ct.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument");else for(var s=0,i=t.arguments;s<i.length;s++){var a=i[s];"SpreadElement"===a.type&&this.raise(a.start,Ct.ImportCallSpreadArgument)}return this.finishNode(t,e?"OptionalCallExpression":"CallExpression")}},{key:"parseCallExpressionArguments",value:function(t,e,s,i,a){var r,n=[],o=!0,h=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(t);){if(o)o=!1;else if(this.expect(N.comma),this.match(t)){!s||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")||this.raise(this.state.lastTokStart,Ct.ImportCallArgumentTrailingComma),a&&this.addExtra(a,"trailingComma",this.state.lastTokStart),this.next();break}this.match(N.parenL)&&!r&&(r=this.state.start),n.push(this.parseExprListItem(!1,e?new Ye:void 0,e?{start:0}:void 0,i))}return e&&r&&this.shouldParseAsyncArrow()&&this.unexpected(),this.state.inFSharpPipelineDirectBody=h,n}},{key:"shouldParseAsyncArrow",value:function(){return this.match(N.arrow)&&!this.canInsertSemicolon()}},{key:"parseAsyncArrowFromCallExpression",value:function(t,e){var s;return this.expect(N.arrow),this.parseArrowExpression(t,e.arguments,!0,null==(s=e.extra)?void 0:s.trailingComma),t}},{key:"parseNoCallExpr",value:function(){var t=this.state.start,e=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),t,e,!0)}},{key:"parseExprAtom",value:function(t){this.state.type===N.slash&&this.readRegexp();var e,s=this.state.potentialArrowAt===this.state.start;switch(this.state.type){case N._super:return this.parseSuper();case N._import:return e=this.startNode(),this.next(),this.match(N.dot)?this.parseImportMetaProperty(e):(this.match(N.parenL)||this.raise(this.state.lastTokStart,Ct.UnsupportedImport),this.finishNode(e,"Import"));case N._this:return e=this.startNode(),this.next(),this.finishNode(e,"ThisExpression");case N.name:var i=this.state.containsEsc,a=this.parseIdentifier();if(!i&&"async"===a.name&&!this.canInsertSemicolon()){if(this.match(N._function)){var r=this.state.context.length-1;if(this.state.context[r]!==Mt.functionStatement)throw new Error("Internal error");return this.state.context[r]=Mt.functionExpression,this.next(),this.parseFunction(this.startNodeAtNode(a),void 0,!0)}if(this.match(N.name))return this.parseAsyncArrowUnaryFunction(a)}return s&&this.match(N.arrow)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(a),[a],!1)):a;case N._do:return this.parseDo();case N.regexp:var n=this.state.value;return(e=this.parseLiteral(n.value,"RegExpLiteral")).pattern=n.pattern,e.flags=n.flags,e;case N.num:return this.parseLiteral(this.state.value,"NumericLiteral");case N.bigint:return this.parseLiteral(this.state.value,"BigIntLiteral");case N.decimal:return this.parseLiteral(this.state.value,"DecimalLiteral");case N.string:return this.parseLiteral(this.state.value,"StringLiteral");case N._null:return e=this.startNode(),this.next(),this.finishNode(e,"NullLiteral");case N._true:case N._false:return this.parseBooleanLiteral();case N.parenL:return this.parseParenAndDistinguishExpression(s);case N.bracketBarL:case N.bracketHashL:return this.parseArrayLike(this.state.type===N.bracketBarL?N.bracketBarR:N.bracketR,!1,!0,t);case N.bracketL:return this.parseArrayLike(N.bracketR,!0,!1,t);case N.braceBarL:case N.braceHashL:return this.parseObjectLike(this.state.type===N.braceBarL?N.braceBarR:N.braceR,!1,!0,t);case N.braceL:return this.parseObjectLike(N.braceR,!1,!1,t);case N._function:return this.parseFunctionOrFunctionSent();case N.at:this.parseDecorators();case N._class:return e=this.startNode(),this.takeDecorators(e),this.parseClass(e,!1);case N._new:return this.parseNewOrNewTarget();case N.backQuote:return this.parseTemplate(!1);case N.doubleColon:e=this.startNode(),this.next(),e.object=null;var o=e.callee=this.parseNoCallExpr();if("MemberExpression"===o.type)return this.finishNode(e,"BindExpression");throw this.raise(o.start,Ct.UnsupportedBind);case N.hash:if(this.state.inPipeline)return e=this.startNode(),"smart"!==this.getPluginOption("pipelineOperator","proposal")&&this.raise(e.start,Ct.PrimaryTopicRequiresSmartPipeline),this.next(),this.primaryTopicReferenceIsAllowedInCurrentTopicContext()||this.raise(e.start,Ct.PrimaryTopicNotAllowed),this.registerTopicReference(),this.finishNode(e,"PipelinePrimaryTopicReference");var h=this.input.codePointAt(this.state.end);if(qt(h)||92===h){var l=this.state.start;if(e=this.parseMaybePrivateName(!0),this.match(N._in))this.expectPlugin("privateIn"),this.classScope.usePrivateName(e.id.name,e.start);else{if(!this.hasPlugin("privateIn"))throw this.unexpected(l);this.raise(this.state.start,Ct.PrivateInExpectedIn,e.id.name)}return e}case N.relational:if("<"===this.state.value){var p=this.input.codePointAt(this.nextTokenStart());(qt(p)||62===p)&&this.expectOnePlugin(["jsx","flow","typescript"])}default:throw this.unexpected()}}},{key:"parseAsyncArrowUnaryFunction",value:function(t){var e=this.startNodeAtNode(t),s=this.state.maybeInArrowParameters,i=this.state.maybeInAsyncArrowHead,a=this.state.yieldPos,r=this.state.awaitPos;this.state.maybeInArrowParameters=!0,this.state.maybeInAsyncArrowHead=!0,this.state.yieldPos=-1,this.state.awaitPos=-1;var n=[this.parseIdentifier()];return this.hasPrecedingLineBreak()&&this.raise(this.state.pos,Ct.LineTerminatorBeforeArrow),this.expect(N.arrow),this.checkYieldAwaitInDefaultParams(),this.state.maybeInArrowParameters=s,this.state.maybeInAsyncArrowHead=i,this.state.yieldPos=a,this.state.awaitPos=r,this.parseArrowExpression(e,n,!0),e}},{key:"parseDo",value:function(){this.expectPlugin("doExpressions");var t=this.startNode();this.next();var e=this.state.labels;return this.state.labels=[],t.body=this.parseBlock(),this.state.labels=e,this.finishNode(t,"DoExpression")}},{key:"parseSuper",value:function(){var t=this.startNode();return this.next(),!this.match(N.parenL)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(t.start,Ct.UnexpectedSuper):this.raise(t.start,Ct.SuperNotAllowed),this.match(N.parenL)||this.match(N.bracketL)||this.match(N.dot)||this.raise(t.start,Ct.UnsupportedSuper),this.finishNode(t,"Super")}},{key:"parseBooleanLiteral",value:function(){var t=this.startNode();return t.value=this.match(N._true),this.next(),this.finishNode(t,"BooleanLiteral")}},{key:"parseMaybePrivateName",value:function(t){if(this.match(N.hash)){this.expectOnePlugin(["classPrivateProperties","classPrivateMethods"]),t||this.raise(this.state.pos,Ct.UnexpectedPrivateField);var e=this.startNode();return this.next(),this.assertNoSpace("Unexpected space between # and identifier"),e.id=this.parseIdentifier(!0),this.finishNode(e,"PrivateName")}return this.parseIdentifier(!0)}},{key:"parseFunctionOrFunctionSent",value:function(){var t=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(N.dot)){var e=this.createIdentifier(this.startNodeAtNode(t),"function");return this.next(),this.parseMetaProperty(t,e,"sent")}return this.parseFunction(t)}},{key:"parseMetaProperty",value:function(t,e,s){t.meta=e,"function"===e.name&&"sent"===s&&(this.isContextual(s)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected());var i=this.state.containsEsc;return t.property=this.parseIdentifier(!0),(t.property.name!==s||i)&&this.raise(t.property.start,Ct.UnsupportedMetaProperty,e.name,s),this.finishNode(t,"MetaProperty")}},{key:"parseImportMetaProperty",value:function(t){var e=this.createIdentifier(this.startNodeAtNode(t),"import");return this.next(),this.isContextual("meta")&&(this.inModule||this.raiseWithData(e.start,{code:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"},Ct.ImportMetaOutsideModule),this.sawUnambiguousESM=!0),this.parseMetaProperty(t,e,"meta")}},{key:"parseLiteral",value:function(t,e,s,i){s=s||this.state.start,i=i||this.state.startLoc;var a=this.startNodeAt(s,i);return this.addExtra(a,"rawValue",t),this.addExtra(a,"raw",this.input.slice(s,this.state.end)),a.value=t,this.next(),this.finishNode(a,e)}},{key:"parseParenAndDistinguishExpression",value:function(t){var e,s=this.state.start,i=this.state.startLoc;this.next();var a=this.state.maybeInArrowParameters,r=this.state.yieldPos,n=this.state.awaitPos,o=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.yieldPos=-1,this.state.awaitPos=-1,this.state.inFSharpPipelineDirectBody=!1;for(var h,l,p=this.state.start,c=this.state.startLoc,u=[],d=new Ye,m={start:0},f=!0;!this.match(N.parenR);){if(f)f=!1;else if(this.expect(N.comma,m.start||null),this.match(N.parenR)){l=this.state.start;break}if(this.match(N.ellipsis)){var y=this.state.start,v=this.state.startLoc;h=this.state.start,u.push(this.parseParenItem(this.parseRestBinding(),y,v)),this.checkCommaAfterRest(41);break}u.push(this.parseMaybeAssignAllowIn(d,this.parseParenItem,m))}var x=this.state.lastTokEnd,P=this.state.lastTokEndLoc;this.expect(N.parenR),this.state.maybeInArrowParameters=a,this.state.inFSharpPipelineDirectBody=o;var k=this.startNodeAt(s,i);if(t&&this.shouldParseArrow()&&(k=this.parseArrow(k))){this.isAwaitAllowed()||this.state.maybeInAsyncArrowHead||(this.state.awaitPos=n),this.checkYieldAwaitInDefaultParams(),this.state.yieldPos=r,this.state.awaitPos=n;for(var g=0;g<u.length;g++){var b=u[g];b.extra&&b.extra.parenthesized&&this.unexpected(b.extra.parenStart)}return this.parseArrowExpression(k,u,!1),k}if(-1!==r&&(this.state.yieldPos=r),-1!==n&&(this.state.awaitPos=n),u.length||this.unexpected(this.state.lastTokStart),l&&this.unexpected(l),h&&this.unexpected(h),this.checkExpressionErrors(d,!0),m.start&&this.unexpected(m.start),this.toReferencedListDeep(u,!0),u.length>1?((e=this.startNodeAt(p,c)).expressions=u,this.finishNodeAt(e,"SequenceExpression",x,P)):e=u[0],!this.options.createParenthesizedExpressions)return this.addExtra(e,"parenthesized",!0),this.addExtra(e,"parenStart",s),e;var T=this.startNodeAt(s,i);return T.expression=e,this.finishNode(T,"ParenthesizedExpression"),T}},{key:"shouldParseArrow",value:function(){return!this.canInsertSemicolon()}},{key:"parseArrow",value:function(t){if(this.eat(N.arrow))return t}},{key:"parseParenItem",value:function(t,e,s){return t}},{key:"parseNewOrNewTarget",value:function(){var t=this.startNode();if(this.next(),this.match(N.dot)){var e=this.createIdentifier(this.startNodeAtNode(t),"new");this.next();var s=this.parseMetaProperty(t,e,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){var i=Ct.UnexpectedNewTarget;this.hasPlugin("classProperties")&&(i+=" or class properties"),this.raise(s.start,i)}return s}return this.parseNew(t)}},{key:"parseNew",value:function(t){return t.callee=this.parseNoCallExpr(),"Import"===t.callee.type?this.raise(t.callee.start,Ct.ImportCallNotNewExpression):"OptionalMemberExpression"===t.callee.type||"OptionalCallExpression"===t.callee.type?this.raise(this.state.lastTokEnd,Ct.OptionalChainingNoNew):this.eat(N.questionDot)&&this.raise(this.state.start,Ct.OptionalChainingNoNew),this.parseNewArguments(t),this.finishNode(t,"NewExpression")}},{key:"parseNewArguments",value:function(t){if(this.eat(N.parenL)){var e=this.parseExprList(N.parenR);this.toReferencedList(e),t.arguments=e}else t.arguments=[]}},{key:"parseTemplateElement",value:function(t){var e=this.startNode();return null===this.state.value&&(t||this.raise(this.state.start+1,Ct.InvalidEscapeSequenceTemplate)),e.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value},this.next(),e.tail=this.match(N.backQuote),this.finishNode(e,"TemplateElement")}},{key:"parseTemplate",value:function(t){var e=this.startNode();this.next(),e.expressions=[];var s=this.parseTemplateElement(t);for(e.quasis=[s];!s.tail;)this.expect(N.dollarBraceL),e.expressions.push(this.parseTemplateSubstitution()),this.expect(N.braceR),e.quasis.push(s=this.parseTemplateElement(t));return this.next(),this.finishNode(e,"TemplateLiteral")}},{key:"parseTemplateSubstitution",value:function(){return this.parseExpression()}},{key:"parseObjectLike",value:function(t,e,s,i){s&&this.expectPlugin("recordAndTuple");var a=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;var r=Object.create(null),n=!0,o=this.startNode();for(o.properties=[],this.next();!this.eat(t);){if(n)n=!1;else if(this.expect(N.comma),this.match(t)){this.addExtra(o,"trailingComma",this.state.lastTokStart),this.next();break}var h=this.parsePropertyDefinition(e,i);e||this.checkProto(h,s,r,i),s&&"ObjectProperty"!==h.type&&"SpreadElement"!==h.type&&this.raise(h.start,Ct.InvalidRecordProperty),h.shorthand&&this.addExtra(h,"shorthand",!0),o.properties.push(h)}this.state.inFSharpPipelineDirectBody=a;var l="ObjectExpression";return e?l="ObjectPattern":s&&(l="RecordExpression"),this.finishNode(o,l)}},{key:"maybeAsyncOrAccessorProp",value:function(t){return!t.computed&&"Identifier"===t.key.type&&(this.isLiteralPropertyName()||this.match(N.bracketL)||this.match(N.star))}},{key:"parsePropertyDefinition",value:function(t,e){var s=[];if(this.match(N.at))for(this.hasPlugin("decorators")&&this.raise(this.state.start,Ct.UnsupportedPropertyDecorator);this.match(N.at);)s.push(this.parseDecorator());var i,a,r=this.startNode(),n=!1,o=!1,h=!1;if(this.match(N.ellipsis))return s.length&&this.unexpected(),t?(this.next(),r.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(r,"RestElement")):this.parseSpread();s.length&&(r.decorators=s,s=[]),r.method=!1,(t||e)&&(i=this.state.start,a=this.state.startLoc),t||(n=this.eat(N.star));var l=this.state.containsEsc,p=this.parsePropertyName(r,!1);if(!t&&!n&&!l&&this.maybeAsyncOrAccessorProp(r)){var c=p.name;"async"!==c||this.hasPrecedingLineBreak()||(o=!0,n=this.eat(N.star),this.parsePropertyName(r,!1)),"get"!==c&&"set"!==c||(h=!0,r.kind=c,this.match(N.star)&&(n=!0,this.raise(this.state.pos,Ct.AccessorIsGenerator,c),this.next()),this.parsePropertyName(r,!1))}return this.parseObjPropValue(r,i,a,n,o,t,h,e),r}},{key:"getGetterSetterExpectedParamCount",value:function(t){return"get"===t.kind?0:1}},{key:"getObjectOrClassMethodParams",value:function(t){return t.params}},{key:"checkGetterSetterParams",value:function(t){var e,s=this.getGetterSetterExpectedParamCount(t),i=this.getObjectOrClassMethodParams(t),a=t.start;i.length!==s&&("get"===t.kind?this.raise(a,Ct.BadGetterArity):this.raise(a,Ct.BadSetterArity)),"set"===t.kind&&"RestElement"===(null==(e=i[i.length-1])?void 0:e.type)&&this.raise(a,Ct.BadSetterRestParameter)}},{key:"parseObjectMethod",value:function(t,e,s,i,a){return a?(this.parseMethod(t,e,!1,!1,!1,"ObjectMethod"),this.checkGetterSetterParams(t),t):s||e||this.match(N.parenL)?(i&&this.unexpected(),t.kind="method",t.method=!0,this.parseMethod(t,e,s,!1,!1,"ObjectMethod")):void 0}},{key:"parseObjectProperty",value:function(t,e,s,i,a){return t.shorthand=!1,this.eat(N.colon)?(t.value=i?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(a),this.finishNode(t,"ObjectProperty")):t.computed||"Identifier"!==t.key.type?void 0:(this.checkReservedWord(t.key.name,t.key.start,!0,!1),i?t.value=this.parseMaybeDefault(e,s,t.key.__clone()):this.match(N.eq)&&a?(-1===a.shorthandAssign&&(a.shorthandAssign=this.state.start),t.value=this.parseMaybeDefault(e,s,t.key.__clone())):t.value=t.key.__clone(),t.shorthand=!0,this.finishNode(t,"ObjectProperty"))}},{key:"parseObjPropValue",value:function(t,e,s,i,a,r,n,o){var h=this.parseObjectMethod(t,i,a,r,n)||this.parseObjectProperty(t,e,s,r,o);return h||this.unexpected(),h}},{key:"parsePropertyName",value:function(t,e){if(this.eat(N.bracketL))t.computed=!0,t.key=this.parseMaybeAssignAllowIn(),this.expect(N.bracketR);else{var s=this.state.inPropertyName;this.state.inPropertyName=!0,t.key=this.match(N.num)||this.match(N.string)||this.match(N.bigint)||this.match(N.decimal)?this.parseExprAtom():this.parseMaybePrivateName(e),"PrivateName"!==t.key.type&&(t.computed=!1),this.state.inPropertyName=s}return t.key}},{key:"initFunction",value:function(t,e){t.id=null,t.generator=!1,t.async=!!e}},{key:"parseMethod",value:function(t,e,s,i,a,r){var n=arguments.length>6&&void 0!==arguments[6]&&arguments[6],o=this.state.yieldPos,h=this.state.awaitPos;this.state.yieldPos=-1,this.state.awaitPos=-1,this.initFunction(t,s),t.generator=!!e;var l=i;return this.scope.enter(D|O|(n?B:0)|(a?F:0)),this.prodParam.enter(Ee(s,t.generator)),this.parseFunctionParams(t,l),this.parseFunctionBodyAndFinish(t,r,!0),this.prodParam.exit(),this.scope.exit(),this.state.yieldPos=o,this.state.awaitPos=h,t}},{key:"parseArrayLike",value:function(t,e,s,i){s&&this.expectPlugin("recordAndTuple");var a=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;var r=this.startNode();return this.next(),r.elements=this.parseExprList(t,!s,i,r),e&&!this.state.maybeInArrowParameters&&this.toReferencedList(r.elements),this.state.inFSharpPipelineDirectBody=a,this.finishNode(r,s?"TupleExpression":"ArrayExpression")}},{key:"parseArrowExpression",value:function(t,e,s,i){this.scope.enter(D|M);var a=Ee(s,!1);!this.match(N.bracketL)&&this.prodParam.hasIn&&(a|=we),this.prodParam.enter(a),this.initFunction(t,s);var r=this.state.maybeInArrowParameters,n=this.state.yieldPos,o=this.state.awaitPos;return e&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(t,e,i)),this.state.maybeInArrowParameters=!1,this.state.yieldPos=-1,this.state.awaitPos=-1,this.parseFunctionBody(t,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=r,this.state.yieldPos=n,this.state.awaitPos=o,this.finishNode(t,"ArrowFunctionExpression")}},{key:"setArrowFunctionParameters",value:function(t,e,s){t.params=this.toAssignableList(e,s)}},{key:"parseFunctionBodyAndFinish",value:function(t,e){var s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.parseFunctionBody(t,!1,s),this.finishNode(t,e)}},{key:"parseFunctionBody",value:function(t,e){var s=this,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=e&&!this.match(N.braceL),r=this.state.inParameters;if(this.state.inParameters=!1,a)t.body=this.parseMaybeAssign(),this.checkParams(t,!1,e,!1);else{var n=this.state.strict,o=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|Te),t.body=this.parseBlock(!0,!1,function(a){var r=!s.isSimpleParamList(t.params);if(a&&r){var o="method"!==t.kind&&"constructor"!==t.kind||!t.key?t.start:t.key.end;s.raise(o,Ct.IllegalLanguageModeDirective)}var h=!n&&s.state.strict;s.checkParams(t,!(s.state.strict||e||i||r),e,h),s.state.strict&&t.id&&s.checkLVal(t.id,rt,void 0,"function name",void 0,h)}),this.prodParam.exit(),this.state.labels=o}this.state.inParameters=r}},{key:"isSimpleParamList",value:function(t){for(var e=0,s=t.length;e<s;e++)if("Identifier"!==t[e].type)return!1;return!0}},{key:"checkParams",value:function(t,e,s){for(var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=Object.create(null),r=0;r<t.params.length;r++)this.checkLVal(t.params[r],$,e?null:a,"function parameter list",void 0,i)}},{key:"parseExprList",value:function(t,e,s,i){for(var a=[],r=!0;!this.eat(t);){if(r)r=!1;else if(this.expect(N.comma),this.match(t)){i&&this.addExtra(i,"trailingComma",this.state.lastTokStart),this.next();break}a.push(this.parseExprListItem(e,s))}return a}},{key:"parseExprListItem",value:function(t,e,s,i){var a;if(this.match(N.comma))t||this.raise(this.state.pos,Ct.UnexpectedToken,","),a=null;else if(this.match(N.ellipsis)){var r=this.state.start,n=this.state.startLoc;a=this.parseParenItem(this.parseSpread(e,s),r,n)}else if(this.match(N.question)){this.expectPlugin("partialApplication"),i||this.raise(this.state.start,Ct.UnexpectedArgumentPlaceholder);var o=this.startNode();this.next(),a=this.finishNode(o,"ArgumentPlaceholder")}else a=this.parseMaybeAssignAllowIn(e,this.parseParenItem,s);return a}},{key:"parseIdentifier",value:function(t){var e=this.startNode(),s=this.parseIdentifierName(e.start,t);return this.createIdentifier(e,s)}},{key:"createIdentifier",value:function(t,e){return t.name=e,t.loc.identifierName=e,this.finishNode(t,"Identifier")}},{key:"parseIdentifierName",value:function(t,e){var s,{start:i,type:a}=this.state;if(a===N.name)s=this.state.value;else{if(!a.keyword)throw this.unexpected();s=a.keyword;var r=this.curContext();a!==N._class&&a!==N._function||r!==Mt.functionStatement&&r!==Mt.functionExpression||this.state.context.pop()}return e?this.state.type=N.name:this.checkReservedWord(s,i,!!a.keyword,!1),this.next(),s}},{key:"checkReservedWord",value:function(t,e,s,i){if(this.prodParam.hasYield&&"yield"===t)this.raise(e,Ct.YieldBindingIdentifier);else{if("await"===t){if(this.prodParam.hasAwait)return void this.raise(e,Ct.AwaitBindingIdentifier);-1===this.state.awaitPos&&(this.state.maybeInAsyncArrowHead||this.isAwaitAllowed())&&(this.state.awaitPos=this.state.start)}if(!this.scope.inClass||this.scope.inNonArrowFunction||"arguments"!==t)if(s&&Yt(t))this.raise(e,Ct.UnexpectedKeyword,t);else(this.state.strict?i?Qt:Xt:Jt)(t,this.inModule)&&(this.prodParam.hasAwait||"await"!==t?this.raise(e,Ct.UnexpectedReservedWord,t):this.raise(e,Ct.AwaitNotInAsyncFunction));else this.raise(e,Ct.ArgumentsInClass)}}},{key:"isAwaitAllowed",value:function(){return this.scope.inFunction?this.prodParam.hasAwait:!!this.options.allowAwaitOutsideFunction||!!this.hasPlugin("topLevelAwait")&&(this.inModule&&this.prodParam.hasAwait)}},{key:"parseAwait",value:function(){var t=this.startNode();return this.next(),this.state.inParameters?this.raise(t.start,Ct.AwaitExpressionFormalParameter):-1===this.state.awaitPos&&(this.state.awaitPos=t.start),this.eat(N.star)&&this.raise(t.start,Ct.ObsoleteAwaitStar),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.hasPrecedingLineBreak()||this.match(N.plusMin)||this.match(N.parenL)||this.match(N.bracketL)||this.match(N.backQuote)||this.match(N.regexp)||this.match(N.slash)||this.hasPlugin("v8intrinsic")&&this.match(N.modulo)?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(t.argument=this.parseMaybeUnary()),this.finishNode(t,"AwaitExpression")}},{key:"parseYield",value:function(){var t=this.startNode();return this.state.inParameters?this.raise(t.start,Ct.YieldInParameter):-1===this.state.yieldPos&&(this.state.yieldPos=t.start),this.next(),this.match(N.semi)||!this.match(N.star)&&!this.state.type.startsExpr||this.hasPrecedingLineBreak()?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(N.star),t.argument=this.parseMaybeAssign()),this.finishNode(t,"YieldExpression")}},{key:"checkPipelineAtInfixOperator",value:function(t,e){"smart"===this.getPluginOption("pipelineOperator","proposal")&&"SequenceExpression"===t.type&&this.raise(e,Ct.PipelineHeadSequenceExpression)}},{key:"parseSmartPipelineBody",value:function(t,e,s){return this.checkSmartPipelineBodyEarlyErrors(t,e),this.parseSmartPipelineBodyInStyle(t,e,s)}},{key:"checkSmartPipelineBodyEarlyErrors",value:function(t,e){if(this.match(N.arrow))throw this.raise(this.state.start,Ct.PipelineBodyNoArrow);"SequenceExpression"===t.type&&this.raise(e,Ct.PipelineBodySequenceExpression)}},{key:"parseSmartPipelineBodyInStyle",value:function(t,e,s){var i=this.startNodeAt(e,s),a=this.isSimpleReference(t);return a?i.callee=t:(this.topicReferenceWasUsedInCurrentTopicContext()||this.raise(e,Ct.PipelineTopicUnused),i.expression=t),this.finishNode(i,a?"PipelineBareFunction":"PipelineTopicExpression")}},{key:"isSimpleReference",value:function(t){switch(t.type){case"MemberExpression":return!t.computed&&this.isSimpleReference(t.object);case"Identifier":return!0;default:return!1}}},{key:"withTopicPermittingContext",value:function(t){var e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}},{key:"withTopicForbiddingContext",value:function(t){var e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}},{key:"withSoloAwaitPermittingContext",value:function(t){var e=this.state.soloAwait;this.state.soloAwait=!0;try{return t()}finally{this.state.soloAwait=e}}},{key:"allowInAnd",value:function(t){var e=this.prodParam.currentFlags();if(we&~e){this.prodParam.enter(e|we);try{return t()}finally{this.prodParam.exit()}}return t()}},{key:"disallowInAnd",value:function(t){var e=this.prodParam.currentFlags();if(we&e){this.prodParam.enter(e&~we);try{return t()}finally{this.prodParam.exit()}}return t()}},{key:"registerTopicReference",value:function(){this.state.topicContext.maxTopicIndex=0}},{key:"primaryTopicReferenceIsAllowedInCurrentTopicContext",value:function(){return this.state.topicContext.maxNumOfResolvableTopics>=1}},{key:"topicReferenceWasUsedInCurrentTopicContext",value:function(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0}},{key:"parseFSharpPipelineBody",value:function(t){var e=this.state.start,s=this.state.startLoc;this.state.potentialArrowAt=this.state.start;var i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;var a=this.parseExprOp(this.parseMaybeUnary(),e,s,t);return this.state.inFSharpPipelineDirectBody=i,a}}]),s}(),is={kind:"loop"},as={kind:"switch"},rs=0,ns=1,os=2,hs=4,ls=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,ps=function(e){l(i,ss);var s=c(i);function i(){return x(this,i),s.apply(this,arguments)}return v(i,[{key:"parseTopLevel",value:function(t,e){if(e.sourceType=this.options.sourceType,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,N.eof),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(var s=0,i=Array.from(this.scope.undefinedExports);s<i.length;s++){var[a]=i[s],r=this.scope.undefinedExports.get(a);this.raise(r,Ct.ModuleExportUndefined,a)}return t.program=this.finishNode(e,"Program"),t.comments=this.state.comments,this.options.tokens&&(t.tokens=this.tokens),this.finishNode(t,"File")}},{key:"stmtToDirective",value:function(t){var e=t.expression,s=this.startNodeAt(e.start,e.loc.start),i=this.startNodeAt(t.start,t.loc.start),a=this.input.slice(e.start,e.end),r=s.value=a.slice(1,-1);return this.addExtra(s,"raw",a),this.addExtra(s,"rawValue",r),i.value=this.finishNodeAt(s,"DirectiveLiteral",e.end,e.loc.end),this.finishNodeAt(i,"Directive",t.end,t.loc.end)}},{key:"parseInterpreterDirective",value:function(){if(!this.match(N.interpreterDirective))return null;var t=this.startNode();return t.value=this.state.value,this.next(),this.finishNode(t,"InterpreterDirective")}},{key:"isLet",value:function(t){if(!this.isContextual("let"))return!1;var e=this.nextTokenStart(),s=this.input.charCodeAt(e);if(91===s)return!0;if(t)return!1;if(123===s)return!0;if(qt(s)){for(var i=e+1;Vt(this.input.charCodeAt(i));)++i;var a=this.input.slice(e,i);if(!$t.test(a))return!0}return!1}},{key:"parseStatement",value:function(t,e){return this.match(N.at)&&this.parseDecorators(!0),this.parseStatementContent(t,e)}},{key:"parseStatementContent",value:function(t,e){var s,i=this.state.type,a=this.startNode();switch(this.isLet(t)&&(i=N._var,s="let"),i){case N._break:case N._continue:return this.parseBreakContinueStatement(a,i.keyword);case N._debugger:return this.parseDebuggerStatement(a);case N._do:return this.parseDoStatement(a);case N._for:return this.parseForStatement(a);case N._function:if(46===this.lookaheadCharCode())break;return t&&(this.state.strict?this.raise(this.state.start,Ct.StrictFunction):"if"!==t&&"label"!==t&&this.raise(this.state.start,Ct.SloppyFunction)),this.parseFunctionStatement(a,!1,!t);case N._class:return t&&this.unexpected(),this.parseClass(a,!0);case N._if:return this.parseIfStatement(a);case N._return:return this.parseReturnStatement(a);case N._switch:return this.parseSwitchStatement(a);case N._throw:return this.parseThrowStatement(a);case N._try:return this.parseTryStatement(a);case N._const:case N._var:return s=s||this.state.value,t&&"var"!==s&&this.raise(this.state.start,Ct.UnexpectedLexicalDeclaration),this.parseVarStatement(a,s);case N._while:return this.parseWhileStatement(a);case N._with:return this.parseWithStatement(a);case N.braceL:return this.parseBlock();case N.semi:return this.parseEmptyStatement(a);case N._import:var r=this.lookaheadCharCode();if(40===r||46===r)break;case N._export:var n;return this.options.allowImportExportEverywhere||e||this.raise(this.state.start,Ct.UnexpectedImportExport),this.next(),i===N._import?"ImportDeclaration"!==(n=this.parseImport(a)).type||n.importKind&&"value"!==n.importKind||(this.sawUnambiguousESM=!0):("ExportNamedDeclaration"!==(n=this.parseExport(a)).type||n.exportKind&&"value"!==n.exportKind)&&("ExportAllDeclaration"!==n.type||n.exportKind&&"value"!==n.exportKind)&&"ExportDefaultDeclaration"!==n.type||(this.sawUnambiguousESM=!0),this.assertModuleNodeAllowed(a),n;default:if(this.isAsyncFunction())return t&&this.raise(this.state.start,Ct.AsyncFunctionInSingleStatementContext),this.next(),this.parseFunctionStatement(a,!0,!t)}var o=this.state.value,h=this.parseExpression();return i===N.name&&"Identifier"===h.type&&this.eat(N.colon)?this.parseLabeledStatement(a,o,h,t):this.parseExpressionStatement(a,h)}},{key:"assertModuleNodeAllowed",value:function(t){this.options.allowImportExportEverywhere||this.inModule||this.raiseWithData(t.start,{code:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"},Ct.ImportOutsideModule)}},{key:"takeDecorators",value:function(t){var e=this.state.decoratorStack[this.state.decoratorStack.length-1];e.length&&(t.decorators=e,this.resetStartLocationFromNode(t,e[0]),this.state.decoratorStack[this.state.decoratorStack.length-1]=[])}},{key:"canHaveLeadingDecorator",value:function(){return this.match(N._class)}},{key:"parseDecorators",value:function(t){for(var e=this.state.decoratorStack[this.state.decoratorStack.length-1];this.match(N.at);){var s=this.parseDecorator();e.push(s)}if(this.match(N._export))t||this.unexpected(),this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(this.state.start,Ct.DecoratorExportClass);else if(!this.canHaveLeadingDecorator())throw this.raise(this.state.start,Ct.UnexpectedLeadingDecorator)}},{key:"parseDecorator",value:function(){this.expectOnePlugin(["decorators-legacy","decorators"]);var t=this.startNode();if(this.next(),this.hasPlugin("decorators")){this.state.decoratorStack.push([]);var e,s=this.state.start,i=this.state.startLoc;if(this.eat(N.parenL))e=this.parseExpression(),this.expect(N.parenR);else for(e=this.parseIdentifier(!1);this.eat(N.dot);){var a=this.startNodeAt(s,i);a.object=e,a.property=this.parseIdentifier(!0),a.computed=!1,e=this.finishNode(a,"MemberExpression")}t.expression=this.parseMaybeDecoratorArguments(e),this.state.decoratorStack.pop()}else t.expression=this.parseExprSubscripts();return this.finishNode(t,"Decorator")}},{key:"parseMaybeDecoratorArguments",value:function(t){if(this.eat(N.parenL)){var e=this.startNodeAtNode(t);return e.callee=t,e.arguments=this.parseCallExpressionArguments(N.parenR,!1),this.toReferencedList(e.arguments),this.finishNode(e,"CallExpression")}return t}},{key:"parseBreakContinueStatement",value:function(t,e){var s="break"===e;return this.next(),this.isLineTerminator()?t.label=null:(t.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(t,e),this.finishNode(t,s?"BreakStatement":"ContinueStatement")}},{key:"verifyBreakContinue",value:function(t,e){var s,i="break"===e;for(s=0;s<this.state.labels.length;++s){var a=this.state.labels[s];if(null==t.label||a.name===t.label.name){if(null!=a.kind&&(i||"loop"===a.kind))break;if(t.label&&i)break}}s===this.state.labels.length&&this.raise(t.start,Ct.IllegalBreakContinue,e)}},{key:"parseDebuggerStatement",value:function(t){return this.next(),this.semicolon(),this.finishNode(t,"DebuggerStatement")}},{key:"parseHeaderExpression",value:function(){this.expect(N.parenL);var t=this.parseExpression();return this.expect(N.parenR),t}},{key:"parseDoStatement",value:function(t){var e=this;return this.next(),this.state.labels.push(is),t.body=this.withTopicForbiddingContext(function(){return e.parseStatement("do")}),this.state.labels.pop(),this.expect(N._while),t.test=this.parseHeaderExpression(),this.eat(N.semi),this.finishNode(t,"DoWhileStatement")}},{key:"parseForStatement",value:function(t){this.next(),this.state.labels.push(is);var e=-1;if(this.isAwaitAllowed()&&this.eatContextual("await")&&(e=this.state.lastTokStart),this.scope.enter(I),this.expect(N.parenL),this.match(N.semi))return e>-1&&this.unexpected(e),this.parseFor(t,null);var s=this.isLet();if(this.match(N._var)||this.match(N._const)||s){var i=this.startNode(),a=s?"let":this.state.value;return this.next(),this.parseVar(i,!0,a),this.finishNode(i,"VariableDeclaration"),(this.match(N._in)||this.isContextual("of"))&&1===i.declarations.length?this.parseForIn(t,i,e):(e>-1&&this.unexpected(e),this.parseFor(t,i))}var r=new Ye,n=this.parseExpression(!0,r);if(this.match(N._in)||this.isContextual("of")){this.toAssignable(n);var o=this.isContextual("of")?"for-of statement":"for-in statement";return this.checkLVal(n,void 0,void 0,o),this.parseForIn(t,n,e)}return this.checkExpressionErrors(r,!0),e>-1&&this.unexpected(e),this.parseFor(t,n)}},{key:"parseFunctionStatement",value:function(t,e,s){return this.next(),this.parseFunction(t,ns|(s?0:os),e)}},{key:"parseIfStatement",value:function(t){return this.next(),t.test=this.parseHeaderExpression(),t.consequent=this.parseStatement("if"),t.alternate=this.eat(N._else)?this.parseStatement("if"):null,this.finishNode(t,"IfStatement")}},{key:"parseReturnStatement",value:function(t){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(this.state.start,Ct.IllegalReturn),this.next(),this.isLineTerminator()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")}},{key:"parseSwitchStatement",value:function(t){this.next(),t.discriminant=this.parseHeaderExpression();var e,s,i=t.cases=[];for(this.expect(N.braceL),this.state.labels.push(as),this.scope.enter(I);!this.match(N.braceR);)if(this.match(N._case)||this.match(N._default)){var a=this.match(N._case);e&&this.finishNode(e,"SwitchCase"),i.push(e=this.startNode()),e.consequent=[],this.next(),a?e.test=this.parseExpression():(s&&this.raise(this.state.lastTokStart,Ct.MultipleDefaultsInSwitch),s=!0,e.test=null),this.expect(N.colon)}else e?e.consequent.push(this.parseStatement(null)):this.unexpected();return this.scope.exit(),e&&this.finishNode(e,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(t,"SwitchStatement")}},{key:"parseThrowStatement",value:function(t){return this.next(),this.hasPrecedingLineBreak()&&this.raise(this.state.lastTokEnd,Ct.NewlineAfterThrow),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")}},{key:"parseCatchClauseParam",value:function(){var t=this.parseBindingAtom(),e="Identifier"===t.type;return this.scope.enter(e?R:0),this.checkLVal(t,Y,null,"catch clause"),t}},{key:"parseTryStatement",value:function(t){var e=this;if(this.next(),t.block=this.parseBlock(),t.handler=null,this.match(N._catch)){var s=this.startNode();this.next(),this.match(N.parenL)?(this.expect(N.parenL),s.param=this.parseCatchClauseParam(),this.expect(N.parenR)):(s.param=null,this.scope.enter(I)),s.body=this.withTopicForbiddingContext(function(){return e.parseBlock(!1,!1)}),this.scope.exit(),t.handler=this.finishNode(s,"CatchClause")}return t.finalizer=this.eat(N._finally)?this.parseBlock():null,t.handler||t.finalizer||this.raise(t.start,Ct.NoCatchOrFinally),this.finishNode(t,"TryStatement")}},{key:"parseVarStatement",value:function(t,e){return this.next(),this.parseVar(t,!1,e),this.semicolon(),this.finishNode(t,"VariableDeclaration")}},{key:"parseWhileStatement",value:function(t){var e=this;return this.next(),t.test=this.parseHeaderExpression(),this.state.labels.push(is),t.body=this.withTopicForbiddingContext(function(){return e.parseStatement("while")}),this.state.labels.pop(),this.finishNode(t,"WhileStatement")}},{key:"parseWithStatement",value:function(t){var e=this;return this.state.strict&&this.raise(this.state.start,Ct.StrictWith),this.next(),t.object=this.parseHeaderExpression(),t.body=this.withTopicForbiddingContext(function(){return e.parseStatement("with")}),this.finishNode(t,"WithStatement")}},{key:"parseEmptyStatement",value:function(t){return this.next(),this.finishNode(t,"EmptyStatement")}},{key:"parseLabeledStatement",value:function(t,e,s,i){for(var a=0,r=this.state.labels;a<r.length;a++){r[a].name===e&&this.raise(s.start,Ct.LabelRedeclaration,e)}for(var n=this.state.type.isLoop?"loop":this.match(N._switch)?"switch":null,o=this.state.labels.length-1;o>=0;o--){var h=this.state.labels[o];if(h.statementStart!==t.start)break;h.statementStart=this.state.start,h.kind=n}return this.state.labels.push({name:e,kind:n,statementStart:this.state.start}),t.body=this.parseStatement(i?-1===i.indexOf("label")?i+"label":i:"label"),this.state.labels.pop(),t.label=s,this.finishNode(t,"LabeledStatement")}},{key:"parseExpressionStatement",value:function(t,e){return t.expression=e,this.semicolon(),this.finishNode(t,"ExpressionStatement")}},{key:"parseBlock",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],s=arguments.length>2?arguments[2]:void 0,i=this.startNode();return this.expect(N.braceL),e&&this.scope.enter(I),this.parseBlockBody(i,t,!1,N.braceR,s),e&&this.scope.exit(),this.finishNode(i,"BlockStatement")}},{key:"isValidDirective",value:function(t){return"ExpressionStatement"===t.type&&"StringLiteral"===t.expression.type&&!t.expression.extra.parenthesized}},{key:"parseBlockBody",value:function(t,e,s,i,a){var r=t.body=[],n=t.directives=[];this.parseBlockOrModuleBlockBody(r,e?n:void 0,s,i,a)}},{key:"parseBlockOrModuleBlockBody",value:function(e,s,i,a,r){for(var n=[],o=this.state.strict,h=!1,l=!1;!this.match(a);){!l&&this.state.octalPositions.length&&n.push.apply(n,t(this.state.octalPositions));var p=this.parseStatement(null,i);if(s&&!l&&this.isValidDirective(p)){var c=this.stmtToDirective(p);s.push(c),h||"use strict"!==c.value.value||(h=!0,this.setStrict(!0))}else l=!0,e.push(p)}if(this.state.strict&&n.length)for(var u=0;u<n.length;u++){var d=n[u];this.raise(d,Ct.StrictOctalLiteral)}r&&r.call(this,h),o||this.setStrict(!1),this.next()}},{key:"parseFor",value:function(t,e){var s=this;return t.init=e,this.expect(N.semi),t.test=this.match(N.semi)?null:this.parseExpression(),this.expect(N.semi),t.update=this.match(N.parenR)?null:this.parseExpression(),this.expect(N.parenR),t.body=this.withTopicForbiddingContext(function(){return s.parseStatement("for")}),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,"ForStatement")}},{key:"parseForIn",value:function(t,e,s){var i=this,a=this.match(N._in);return this.next(),a?s>-1&&this.unexpected(s):t.await=s>-1,"VariableDeclaration"!==e.type||null==e.declarations[0].init||a&&!this.state.strict&&"var"===e.kind&&"Identifier"===e.declarations[0].id.type?"AssignmentPattern"===e.type&&this.raise(e.start,Ct.InvalidLhs,"for-loop"):this.raise(e.start,Ct.ForInOfLoopInitializer,a?"for-in":"for-of"),t.left=e,t.right=a?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(N.parenR),t.body=this.withTopicForbiddingContext(function(){return i.parseStatement("for")}),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,a?"ForInStatement":"ForOfStatement")}},{key:"parseVar",value:function(t,e,s){var i=t.declarations=[],a=this.hasPlugin("typescript");for(t.kind=s;;){var r=this.startNode();if(this.parseVarId(r,s),this.eat(N.eq)?r.init=e?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():("const"!==s||this.match(N._in)||this.isContextual("of")?"Identifier"===r.id.type||e&&(this.match(N._in)||this.isContextual("of"))||this.raise(this.state.lastTokEnd,Ct.DeclarationMissingInitializer,"Complex binding patterns"):a||this.raise(this.state.lastTokEnd,Ct.DeclarationMissingInitializer,"Const declarations"),r.init=null),i.push(this.finishNode(r,"VariableDeclarator")),!this.eat(N.comma))break}return t}},{key:"parseVarId",value:function(t,e){t.id=this.parseBindingAtom(),this.checkLVal(t.id,"var"===e?$:Y,void 0,"variable declaration","var"!==e)}},{key:"parseFunction",value:function(t){var e=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rs,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=s&ns,r=s&os,n=!(!a||s&hs);this.initFunction(t,i),this.match(N.star)&&r&&this.raise(this.state.start,Ct.GeneratorInSingleStatementContext),t.generator=this.eat(N.star),a&&(t.id=this.parseFunctionId(n));var o=this.state.maybeInArrowParameters,h=this.state.yieldPos,l=this.state.awaitPos;return this.state.maybeInArrowParameters=!1,this.state.yieldPos=-1,this.state.awaitPos=-1,this.scope.enter(D),this.prodParam.enter(Ee(i,t.generator)),a||(t.id=this.parseFunctionId()),this.parseFunctionParams(t,!1),this.withTopicForbiddingContext(function(){e.parseFunctionBodyAndFinish(t,a?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),a&&!r&&this.registerFunctionStatementId(t),this.state.maybeInArrowParameters=o,this.state.yieldPos=h,this.state.awaitPos=l,t}},{key:"parseFunctionId",value:function(t){return t||this.match(N.name)?this.parseIdentifier():null}},{key:"parseFunctionParams",value:function(t,e){var s=this.state.inParameters;this.state.inParameters=!0,this.expect(N.parenL),t.params=this.parseBindingList(N.parenR,41,!1,e),this.state.inParameters=s,this.checkYieldAwaitInDefaultParams()}},{key:"registerFunctionStatementId",value:function(t){t.id&&this.scope.declareName(t.id.name,this.state.strict||t.generator||t.async?this.scope.treatFunctionsAsVar?$:Y:Z,t.id.start)}},{key:"parseClass",value:function(t,e,s){this.next(),this.takeDecorators(t);var i=this.state.strict;return this.state.strict=!0,this.parseClassId(t,e,s),this.parseClassSuper(t),t.body=this.parseClassBody(!!t.superClass,i),this.finishNode(t,e?"ClassDeclaration":"ClassExpression")}},{key:"isClassProperty",value:function(){return this.match(N.eq)||this.match(N.semi)||this.match(N.braceR)}},{key:"isClassMethod",value:function(){return this.match(N.parenL)}},{key:"isNonstaticConstructor",value:function(t){return!(t.computed||t.static||"constructor"!==t.key.name&&"constructor"!==t.key.value)}},{key:"parseClassBody",value:function(t,e){var s=this;this.classScope.enter();var i={constructorAllowsSuper:t,hadConstructor:!1,hadStaticBlock:!1},a=[],r=this.startNode();if(r.body=[],this.expect(N.braceL),this.withTopicForbiddingContext(function(){for(;!s.match(N.braceR);)if(s.eat(N.semi)){if(a.length>0)throw s.raise(s.state.lastTokEnd,Ct.DecoratorSemicolon)}else if(s.match(N.at))a.push(s.parseDecorator());else{var t=s.startNode();a.length&&(t.decorators=a,s.resetStartLocationFromNode(t,a[0]),a=[]),s.parseClassMember(r,t,i),"constructor"===t.kind&&t.decorators&&t.decorators.length>0&&s.raise(t.start,Ct.DecoratorConstructor)}}),this.state.strict=e,this.next(),a.length)throw this.raise(this.state.start,Ct.TrailingDecorator);return this.classScope.exit(),this.finishNode(r,"ClassBody")}},{key:"parseClassMemberFromModifier",value:function(t,e){var s=this.parseIdentifier(!0);if(this.isClassMethod()){var i=e;return i.kind="method",i.computed=!1,i.key=s,i.static=!1,this.pushClassMethod(t,i,!1,!1,!1,!1),!0}if(this.isClassProperty()){var a=e;return a.computed=!1,a.key=s,a.static=!1,t.body.push(this.parseClassProperty(a)),!0}return!1}},{key:"parseClassMember",value:function(t,e,s){var i=this.isContextual("static");if(i){if(this.parseClassMemberFromModifier(t,e))return;if(this.eat(N.braceL))return void this.parseClassStaticBlock(t,e,s)}this.parseClassMemberWithIsStatic(t,e,s,i)}},{key:"parseClassMemberWithIsStatic",value:function(t,e,s,i){var a=e,r=e,n=e,o=e,h=a,l=a;if(e.static=i,this.eat(N.star))return h.kind="method",this.parseClassElementName(h),"PrivateName"===h.key.type?void this.pushClassPrivateMethod(t,r,!0,!1):(this.isNonstaticConstructor(a)&&this.raise(a.key.start,Ct.ConstructorIsGenerator),void this.pushClassMethod(t,a,!0,!1,!1,!1));var p=this.state.containsEsc,c=this.parseClassElementName(e),u="PrivateName"===c.type,d="Identifier"===c.type,m=this.state.start;if(this.parsePostMemberNameModifiers(l),this.isClassMethod()){if(h.kind="method",u)return void this.pushClassPrivateMethod(t,r,!1,!1);var f=this.isNonstaticConstructor(a),y=!1;f&&(a.kind="constructor",s.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(c.start,Ct.DuplicateConstructor),s.hadConstructor=!0,y=s.constructorAllowsSuper),this.pushClassMethod(t,a,!1,!1,f,y)}else if(this.isClassProperty())u?this.pushClassPrivateProperty(t,o):this.pushClassProperty(t,n);else if(!d||"async"!==c.name||p||this.isLineTerminator())!d||"get"!==c.name&&"set"!==c.name||p||this.match(N.star)&&this.isLineTerminator()?this.isLineTerminator()?u?this.pushClassPrivateProperty(t,o):this.pushClassProperty(t,n):this.unexpected():(h.kind=c.name,this.parseClassElementName(a),"PrivateName"===h.key.type?this.pushClassPrivateMethod(t,r,!1,!1):(this.isNonstaticConstructor(a)&&this.raise(a.key.start,Ct.ConstructorIsAccessor),this.pushClassMethod(t,a,!1,!1,!1,!1)),this.checkGetterSetterParams(a));else{var v=this.eat(N.star);l.optional&&this.unexpected(m),h.kind="method",this.parseClassElementName(h),this.parsePostMemberNameModifiers(l),"PrivateName"===h.key.type?this.pushClassPrivateMethod(t,r,v,!0):(this.isNonstaticConstructor(a)&&this.raise(a.key.start,Ct.ConstructorIsAsync),this.pushClassMethod(t,a,v,!0,!1,!1))}}},{key:"parseClassElementName",value:function(t){var e=this.parsePropertyName(t,!0);return t.computed||!t.static||"prototype"!==e.name&&"prototype"!==e.value||this.raise(e.start,Ct.StaticPrototype),"PrivateName"===e.type&&"constructor"===e.id.name&&this.raise(e.start,Ct.ConstructorClassPrivateField),e}},{key:"parseClassStaticBlock",value:function(t,e,s){var i;this.expectPlugin("classStaticBlock",e.start),this.scope.enter(B|O);var a=this.state.labels;this.state.labels=[],this.prodParam.enter(ke);var r=e.body=[];this.parseBlockOrModuleBlockBody(r,void 0,!1,N.braceR),this.prodParam.exit(),this.scope.exit(),this.state.labels=a,t.body.push(this.finishNode(e,"StaticBlock")),s.hadStaticBlock&&this.raise(e.start,Ct.DuplicateStaticBlock),(null==(i=e.decorators)?void 0:i.length)&&this.raise(e.start,Ct.DecoratorStaticBlock),s.hadStaticBlock=!0}},{key:"pushClassProperty",value:function(t,e){e.computed||"constructor"!==e.key.name&&"constructor"!==e.key.value||this.raise(e.key.start,Ct.ConstructorClassField),t.body.push(this.parseClassProperty(e))}},{key:"pushClassPrivateProperty",value:function(t,e){this.expectPlugin("classPrivateProperties",e.key.start);var s=this.parseClassPrivateProperty(e);t.body.push(s),this.classScope.declarePrivateName(s.key.id.name,yt,s.key.start)}},{key:"pushClassMethod",value:function(t,e,s,i,a,r){t.body.push(this.parseMethod(e,s,i,a,r,"ClassMethod",!0))}},{key:"pushClassPrivateMethod",value:function(t,e,s,i){this.expectPlugin("classPrivateMethods",e.key.start);var a=this.parseMethod(e,s,i,!1,!1,"ClassPrivateMethod",!0);t.body.push(a);var r="get"===a.kind?a.static?ut:mt:"set"===a.kind?a.static?dt:ft:yt;this.classScope.declarePrivateName(a.key.id.name,r,a.key.start)}},{key:"parsePostMemberNameModifiers",value:function(t){}},{key:"parseClassPrivateProperty",value:function(t){return this.scope.enter(B|O),this.prodParam.enter(ke),t.value=this.eat(N.eq)?this.parseMaybeAssignAllowIn():null,this.semicolon(),this.prodParam.exit(),this.scope.exit(),this.finishNode(t,"ClassPrivateProperty")}},{key:"parseClassProperty",value:function(t){return t.typeAnnotation||this.expectPlugin("classProperties"),this.scope.enter(B|O),this.prodParam.enter(ke),this.match(N.eq)?(this.expectPlugin("classProperties"),this.next(),t.value=this.parseMaybeAssignAllowIn()):t.value=null,this.semicolon(),this.prodParam.exit(),this.scope.exit(),this.finishNode(t,"ClassProperty")}},{key:"parseClassId",value:function(t,e,s){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Q;this.match(N.name)?(t.id=this.parseIdentifier(),e&&this.checkLVal(t.id,i,void 0,"class name")):s||!e?t.id=null:this.unexpected(null,Ct.MissingClassName)}},{key:"parseClassSuper",value:function(t){t.superClass=this.eat(N._extends)?this.parseExprSubscripts():null}},{key:"parseExport",value:function(t){var e=this.maybeParseExportDefaultSpecifier(t),s=!e||this.eat(N.comma),i=s&&this.eatExportStar(t),a=i&&this.maybeParseExportNamespaceSpecifier(t),r=s&&(!a||this.eat(N.comma)),n=e||i;if(i&&!a)return e&&this.unexpected(),this.parseExportFrom(t,!0),this.finishNode(t,"ExportAllDeclaration");var o,h=this.maybeParseExportNamedSpecifiers(t);if(e&&s&&!i&&!h||a&&r&&!h)throw this.unexpected(null,N.braceL);if(n||h?(o=!1,this.parseExportFrom(t,n)):o=this.maybeParseExportDeclaration(t),n||h||o)return this.checkExport(t,!0,!1,!!t.source),this.finishNode(t,"ExportNamedDeclaration");if(this.eat(N._default))return t.declaration=this.parseExportDefaultExpression(),this.checkExport(t,!0,!0),this.finishNode(t,"ExportDefaultDeclaration");throw this.unexpected(null,N.braceL)}},{key:"eatExportStar",value:function(t){return this.eat(N.star)}},{key:"maybeParseExportDefaultSpecifier",value:function(t){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");var e=this.startNode();return e.exported=this.parseIdentifier(!0),t.specifiers=[this.finishNode(e,"ExportDefaultSpecifier")],!0}return!1}},{key:"maybeParseExportNamespaceSpecifier",value:function(t){if(this.isContextual("as")){t.specifiers||(t.specifiers=[]);var e=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);return this.next(),e.exported=this.parseModuleExportName(),t.specifiers.push(this.finishNode(e,"ExportNamespaceSpecifier")),!0}return!1}},{key:"maybeParseExportNamedSpecifiers",value:function(e){var s;return!!this.match(N.braceL)&&(e.specifiers||(e.specifiers=[]),(s=e.specifiers).push.apply(s,t(this.parseExportSpecifiers())),e.source=null,e.declaration=null,!0)}},{key:"maybeParseExportDeclaration",value:function(t){return!!this.shouldParseExportDeclaration()&&(t.specifiers=[],t.source=null,t.declaration=this.parseExportDeclaration(t),!0)}},{key:"isAsyncFunction",value:function(){if(!this.isContextual("async"))return!1;var t=this.nextTokenStart();return!vt.test(this.input.slice(this.state.pos,t))&&this.isUnparsedContextual(t,"function")}},{key:"parseExportDefaultExpression",value:function(){var t=this.startNode(),e=this.isAsyncFunction();if(this.match(N._function)||e)return this.next(),e&&this.next(),this.parseFunction(t,ns|hs,e);if(this.match(N._class))return this.parseClass(t,!0,!0);if(this.match(N.at))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(this.state.start,Ct.DecoratorBeforeExport),this.parseDecorators(!1),this.parseClass(t,!0,!0);if(this.match(N._const)||this.match(N._var)||this.isLet())throw this.raise(this.state.start,Ct.UnsupportedDefaultExport);var s=this.parseMaybeAssignAllowIn();return this.semicolon(),s}},{key:"parseExportDeclaration",value:function(t){return this.parseStatement(null)}},{key:"isExportDefaultSpecifier",value:function(){if(this.match(N.name)){var t=this.state.value;if("async"===t&&!this.state.containsEsc||"let"===t)return!1;if(("type"===t||"interface"===t)&&!this.state.containsEsc){var e=this.lookahead();if(e.type===N.name&&"from"!==e.value||e.type===N.braceL)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(N._default))return!1;var s=this.nextTokenStart(),i=this.isUnparsedContextual(s,"from");if(44===this.input.charCodeAt(s)||this.match(N.name)&&i)return!0;if(this.match(N._default)&&i){var a=this.input.charCodeAt(this.nextTokenStartSince(s+4));return 34===a||39===a}return!1}},{key:"parseExportFrom",value:function(t,e){this.eatContextual("from")?(t.source=this.parseImportSource(),this.checkExport(t)):e?this.unexpected():t.source=null,this.semicolon()}},{key:"shouldParseExportDeclaration",value:function(){if(this.match(N.at)&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))){if(!this.getPluginOption("decorators","decoratorsBeforeExport"))return!0;this.unexpected(this.state.start,Ct.DecoratorBeforeExport)}return"var"===this.state.type.keyword||"const"===this.state.type.keyword||"function"===this.state.type.keyword||"class"===this.state.type.keyword||this.isLet()||this.isAsyncFunction()}},{key:"checkExport",value:function(t,e,s,i){if(e)if(s){if(this.checkDuplicateExports(t,"default"),this.hasPlugin("exportDefaultFrom")){var a,r=t.declaration;"Identifier"!==r.type||"from"!==r.name||r.end-r.start!=4||(null==(a=r.extra)?void 0:a.parenthesized)||this.raise(r.start,Ct.ExportDefaultFromAsIdentifier)}}else if(t.specifiers&&t.specifiers.length)for(var n=0,o=t.specifiers;n<o.length;n++){var h=o[n],{exported:l}=h,p="Identifier"===l.type?l.name:l.value;if(this.checkDuplicateExports(h,p),!i&&h.local){var{local:c}=h;"StringLiteral"===c.type?this.raise(h.start,Ct.ExportBindingIsString,c.extra.raw,p):(this.checkReservedWord(c.name,c.start,!0,!1),this.scope.checkLocalExport(c))}}else if(t.declaration)if("FunctionDeclaration"===t.declaration.type||"ClassDeclaration"===t.declaration.type){var u=t.declaration.id;if(!u)throw new Error("Assertion failure");this.checkDuplicateExports(t,u.name)}else if("VariableDeclaration"===t.declaration.type)for(var d=0,m=t.declaration.declarations;d<m.length;d++){var f=m[d];this.checkDeclaration(f.id)}if(this.state.decoratorStack[this.state.decoratorStack.length-1].length)throw this.raise(t.start,Ct.UnsupportedDecoratorExport)}},{key:"checkDeclaration",value:function(t){if("Identifier"===t.type)this.checkDuplicateExports(t,t.name);else if("ObjectPattern"===t.type)for(var e=0,s=t.properties;e<s.length;e++){var i=s[e];this.checkDeclaration(i)}else if("ArrayPattern"===t.type)for(var a=0,r=t.elements;a<r.length;a++){var n=r[a];n&&this.checkDeclaration(n)}else"ObjectProperty"===t.type?this.checkDeclaration(t.value):"RestElement"===t.type?this.checkDeclaration(t.argument):"AssignmentPattern"===t.type&&this.checkDeclaration(t.left)}},{key:"checkDuplicateExports",value:function(t,e){this.state.exportedIdentifiers.indexOf(e)>-1&&this.raise(t.start,"default"===e?Ct.DuplicateDefaultExport:Ct.DuplicateExport,e),this.state.exportedIdentifiers.push(e)}},{key:"parseExportSpecifiers",value:function(){var t=[],e=!0;for(this.expect(N.braceL);!this.eat(N.braceR);){if(e)e=!1;else if(this.expect(N.comma),this.eat(N.braceR))break;var s=this.startNode();s.local=this.parseModuleExportName(),s.exported=this.eatContextual("as")?this.parseModuleExportName():s.local.__clone(),t.push(this.finishNode(s,"ExportSpecifier"))}return t}},{key:"parseModuleExportName",value:function(){if(this.match(N.string)){this.expectPlugin("moduleStringNames");var t=this.parseLiteral(this.state.value,"StringLiteral"),e=t.value.match(ls);return e&&this.raise(t.start,Ct.ModuleExportNameHasLoneSurrogate,e[0].charCodeAt(0).toString(16)),t}return this.parseIdentifier(!0)}},{key:"parseImport",value:function(t){if(t.specifiers=[],!this.match(N.string)){var e=!this.maybeParseDefaultImportSpecifier(t)||this.eat(N.comma),s=e&&this.maybeParseStarImportSpecifier(t);e&&!s&&this.parseNamedImportSpecifiers(t),this.expectContextual("from")}t.source=this.parseImportSource();var i=this.maybeParseImportAssertions();if(i)t.assertions=i;else{var a=this.maybeParseModuleAttributes();a&&(t.attributes=a)}return this.semicolon(),this.finishNode(t,"ImportDeclaration")}},{key:"parseImportSource",value:function(){return this.match(N.string)||this.unexpected(),this.parseExprAtom()}},{key:"shouldParseDefaultImport",value:function(t){return this.match(N.name)}},{key:"parseImportSpecifierLocal",value:function(t,e,s,i){e.local=this.parseIdentifier(),this.checkLVal(e.local,Y,void 0,i),t.specifiers.push(this.finishNode(e,s))}},{key:"parseAssertEntries",value:function(){this.expectPlugin("importAssertions");var t=[],e=new Set;do{if(this.match(N.braceR))break;var s=this.startNode(),i=void 0;if(i=this.match(N.string)?this.parseLiteral(this.state.value,"StringLiteral"):this.parseIdentifier(!0),this.next(),s.key=i,"type"!==s.key.name&&this.raise(s.key.start,Ct.ModuleAttributeDifferentFromType,s.key.name),e.has(s.key.name)&&this.raise(s.key.start,Ct.ModuleAttributesWithDuplicateKeys,s.key.name),e.add(s.key.name),!this.match(N.string))throw this.unexpected(this.state.start,Ct.ModuleAttributeInvalidValue);s.value=this.parseLiteral(this.state.value,"StringLiteral"),this.finishNode(s,"ImportAttribute"),t.push(s)}while(this.eat(N.comma));return t}},{key:"maybeParseModuleAttributes",value:function(){if(!this.match(N._with)||this.hasPrecedingLineBreak())return this.hasPlugin("moduleAttributes")?[]:null;this.expectPlugin("moduleAttributes"),this.next();var t=[],e=new Set;do{var s=this.startNode();if(s.key=this.parseIdentifier(!0),"type"!==s.key.name&&this.raise(s.key.start,Ct.ModuleAttributeDifferentFromType,s.key.name),e.has(s.key.name)&&this.raise(s.key.start,Ct.ModuleAttributesWithDuplicateKeys,s.key.name),e.add(s.key.name),this.expect(N.colon),!this.match(N.string))throw this.unexpected(this.state.start,Ct.ModuleAttributeInvalidValue);s.value=this.parseLiteral(this.state.value,"StringLiteral"),this.finishNode(s,"ImportAttribute"),t.push(s)}while(this.eat(N.comma));return t}},{key:"maybeParseImportAssertions",value:function(){if(!this.match(N.name)||"assert"!==this.state.value||this.hasPrecedingLineBreak())return this.hasPlugin("importAssertions")?[]:null;this.expectPlugin("importAssertions"),this.next(),this.eat(N.braceL);var t=this.parseAssertEntries();return this.eat(N.braceR),t}},{key:"maybeParseDefaultImportSpecifier",value:function(t){return!!this.shouldParseDefaultImport(t)&&(this.parseImportSpecifierLocal(t,this.startNode(),"ImportDefaultSpecifier","default import specifier"),!0)}},{key:"maybeParseStarImportSpecifier",value:function(t){if(this.match(N.star)){var e=this.startNode();return this.next(),this.expectContextual("as"),this.parseImportSpecifierLocal(t,e,"ImportNamespaceSpecifier","import namespace specifier"),!0}return!1}},{key:"parseNamedImportSpecifiers",value:function(t){var e=!0;for(this.expect(N.braceL);!this.eat(N.braceR);){if(e)e=!1;else{if(this.eat(N.colon))throw this.raise(this.state.start,Ct.DestructureNamedImport);if(this.expect(N.comma),this.eat(N.braceR))break}this.parseImportSpecifier(t)}}},{key:"parseImportSpecifier",value:function(t){var e=this.startNode();if(e.imported=this.parseModuleExportName(),this.eatContextual("as"))e.local=this.parseIdentifier();else{var{imported:s}=e;if("StringLiteral"===s.type)throw this.raise(e.start,Ct.ImportBindingIsString,s.value);this.checkReservedWord(s.name,e.start,!0,!0),e.local=s.__clone()}this.checkLVal(e.local,Y,void 0,"import specifier"),t.specifiers.push(this.finishNode(e,"ImportSpecifier"))}}]),i}(),cs=function t(){x(this,t),this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map},us=function(){function t(e){x(this,t),this.stack=[],this.raise=void 0,this.undefinedPrivateNames=new Map,this.raise=e}return v(t,[{key:"current",value:function(){return this.stack[this.stack.length-1]}},{key:"enter",value:function(){this.stack.push(new cs)}},{key:"exit",value:function(){for(var t=this.stack.pop(),e=this.current(),s=0,i=Array.from(t.undefinedPrivateNames);s<i.length;s++){var[a,r]=i[s];e?e.undefinedPrivateNames.has(a)||e.undefinedPrivateNames.set(a,r):this.raise(r,Ct.InvalidPrivateFieldResolution,a)}}},{key:"declarePrivateName",value:function(t,e,s){var i=this.current(),a=i.privateNames.has(t);if(e&ct){var r=a&&i.loneAccessors.get(t);if(r)(a=(r&ct)===(e&ct)||(r&ht)!==(e&ht))||i.loneAccessors.delete(t);else a||i.loneAccessors.set(t,e)}a&&this.raise(s,Ct.PrivateNameRedeclaration,t),i.privateNames.add(t),i.undefinedPrivateNames.delete(t)}},{key:"usePrivateName",value:function(t,e){for(var s,i=0,a=this.stack;i<a.length;i++)if((s=a[i]).privateNames.has(t))return;s?s.undefinedPrivateNames.set(t,e):this.raise(e,Ct.InvalidPrivateFieldResolution,t)}}]),t}(),ds=function(t){l(s,ps);var e=c(s);function s(t,i){var a;x(this,s),t=Ve(t);var r=(a=e.call(this,t,i)).getScopeHandler();return a.options=t,a.inModule="module"===a.options.sourceType,a.scope=new r(a.raise.bind(d(a)),a.inModule),a.prodParam=new Ae,a.classScope=new us(a.raise.bind(d(a))),a.plugins=ms(a.options.plugins),a.filename=t.sourceFilename,a}return v(s,[{key:"getScopeHandler",value:function(){return ve}},{key:"parse",value:function(){var t=ke;this.hasPlugin("topLevelAwait")&&this.inModule&&(t|=be),this.scope.enter(L),this.prodParam.enter(t);var e=this.startNode(),s=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,s),e.errors=this.state.errors,e}}]),s}();function ms(t){for(var e=new Map,s=0;s<t.length;s++){var i=t[s],[a,r]=Array.isArray(i)?i:[i,{}];e.has(a)||e.set(a,r||{})}return e}function fs(t,e){var s;if("unambiguous"!==(null==(s=e)?void 0:s.sourceType))return vs(e,t).parse();e=Object.assign({},e);try{e.sourceType="module";var i=vs(e,t),a=i.parse();if(i.sawUnambiguousESM)return a;if(i.ambiguousScriptDifferentAst)try{return e.sourceType="script",vs(e,t).parse()}catch(r){}else a.program.sourceType="script";return a}catch(n){try{return e.sourceType="script",vs(e,t).parse()}catch(o){}throw n}}function ys(t,e){var s=vs(e,t);return s.options.strictMode&&(s.state.strict=!0),s.getExpression()}function vs(t,e){var s=ds;return(null==t?void 0:t.plugins)&&(_e(t.plugins),s=Ps(t.plugins)),new s(t,e)}var xs={};function Ps(t){var e=Ue.filter(function(e){return Re(t,e)}),s=e.join("/"),i=xs[s];if(!i){i=ds;for(var a=0;a<e.length;a++){var r=e[a];i=je[r](i)}xs[s]=i}return i}exports.parse=fs,exports.parseExpression=ys,exports.tokTypes=N;
  },{}],"nu1T":[function(require,module,exports) {
  "use strict";function e(e,t){const r=Object.keys(t);for(const o of r)if(e[o]!==t[o])return!1;return!0}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;
  },{}],"iqnQ":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isArrayExpression=r,exports.isAssignmentExpression=n,exports.isBinaryExpression=i,exports.isInterpreterDirective=o,exports.isDirective=a,exports.isDirectiveLiteral=u,exports.isBlockStatement=p,exports.isBreakStatement=s,exports.isCallExpression=l,exports.isCatchClause=f,exports.isConditionalExpression=d,exports.isContinueStatement=c,exports.isDebuggerStatement=y,exports.isDoWhileStatement=T,exports.isEmptyStatement=x,exports.isExpressionStatement=S,exports.isFile=m,exports.isForInStatement=v,exports.isForStatement=E,exports.isFunctionDeclaration=D,exports.isFunctionExpression=A,exports.isIdentifier=P,exports.isIfStatement=b,exports.isLabeledStatement=I,exports.isStringLiteral=g,exports.isNumericLiteral=h,exports.isNullLiteral=N,exports.isBooleanLiteral=C,exports.isRegExpLiteral=F,exports.isLogicalExpression=M,exports.isMemberExpression=L,exports.isNewExpression=B,exports.isProgram=w,exports.isObjectExpression=O,exports.isObjectMethod=X,exports.isObjectProperty=J,exports.isRestElement=j,exports.isReturnStatement=K,exports.isSequenceExpression=k,exports.isParenthesizedExpression=R,exports.isSwitchCase=V,exports.isSwitchStatement=U,exports.isThisExpression=W,exports.isThrowStatement=q,exports.isTryStatement=Q,exports.isUnaryExpression=z,exports.isUpdateExpression=G,exports.isVariableDeclaration=Y,exports.isVariableDeclarator=_,exports.isWhileStatement=H,exports.isWithStatement=Z,exports.isAssignmentPattern=$,exports.isArrayPattern=ee,exports.isArrowFunctionExpression=te,exports.isClassBody=re,exports.isClassExpression=ne,exports.isClassDeclaration=ie,exports.isExportAllDeclaration=oe,exports.isExportDefaultDeclaration=ae,exports.isExportNamedDeclaration=ue,exports.isExportSpecifier=pe,exports.isForOfStatement=se,exports.isImportDeclaration=le,exports.isImportDefaultSpecifier=fe,exports.isImportNamespaceSpecifier=de,exports.isImportSpecifier=ce,exports.isMetaProperty=ye,exports.isClassMethod=Te,exports.isObjectPattern=xe,exports.isSpreadElement=Se,exports.isSuper=me,exports.isTaggedTemplateExpression=ve,exports.isTemplateElement=Ee,exports.isTemplateLiteral=De,exports.isYieldExpression=Ae,exports.isAwaitExpression=Pe,exports.isImport=be,exports.isBigIntLiteral=Ie,exports.isExportNamespaceSpecifier=ge,exports.isOptionalMemberExpression=he,exports.isOptionalCallExpression=Ne,exports.isAnyTypeAnnotation=Ce,exports.isArrayTypeAnnotation=Fe,exports.isBooleanTypeAnnotation=Me,exports.isBooleanLiteralTypeAnnotation=Le,exports.isNullLiteralTypeAnnotation=Be,exports.isClassImplements=we,exports.isDeclareClass=Oe,exports.isDeclareFunction=Xe,exports.isDeclareInterface=Je,exports.isDeclareModule=je,exports.isDeclareModuleExports=Ke,exports.isDeclareTypeAlias=ke,exports.isDeclareOpaqueType=Re,exports.isDeclareVariable=Ve,exports.isDeclareExportDeclaration=Ue,exports.isDeclareExportAllDeclaration=We,exports.isDeclaredPredicate=qe,exports.isExistsTypeAnnotation=Qe,exports.isFunctionTypeAnnotation=ze,exports.isFunctionTypeParam=Ge,exports.isGenericTypeAnnotation=Ye,exports.isInferredPredicate=_e,exports.isInterfaceExtends=He,exports.isInterfaceDeclaration=Ze,exports.isInterfaceTypeAnnotation=$e,exports.isIntersectionTypeAnnotation=et,exports.isMixedTypeAnnotation=tt,exports.isEmptyTypeAnnotation=rt,exports.isNullableTypeAnnotation=nt,exports.isNumberLiteralTypeAnnotation=it,exports.isNumberTypeAnnotation=ot,exports.isObjectTypeAnnotation=at,exports.isObjectTypeInternalSlot=ut,exports.isObjectTypeCallProperty=pt,exports.isObjectTypeIndexer=st,exports.isObjectTypeProperty=lt,exports.isObjectTypeSpreadProperty=ft,exports.isOpaqueType=dt,exports.isQualifiedTypeIdentifier=ct,exports.isStringLiteralTypeAnnotation=yt,exports.isStringTypeAnnotation=Tt,exports.isSymbolTypeAnnotation=xt,exports.isThisTypeAnnotation=St,exports.isTupleTypeAnnotation=mt,exports.isTypeofTypeAnnotation=vt,exports.isTypeAlias=Et,exports.isTypeAnnotation=Dt,exports.isTypeCastExpression=At,exports.isTypeParameter=Pt,exports.isTypeParameterDeclaration=bt,exports.isTypeParameterInstantiation=It,exports.isUnionTypeAnnotation=gt,exports.isVariance=ht,exports.isVoidTypeAnnotation=Nt,exports.isEnumDeclaration=Ct,exports.isEnumBooleanBody=Ft,exports.isEnumNumberBody=Mt,exports.isEnumStringBody=Lt,exports.isEnumSymbolBody=Bt,exports.isEnumBooleanMember=wt,exports.isEnumNumberMember=Ot,exports.isEnumStringMember=Xt,exports.isEnumDefaultedMember=Jt,exports.isJSXAttribute=jt,exports.isJSXClosingElement=Kt,exports.isJSXElement=kt,exports.isJSXEmptyExpression=Rt,exports.isJSXExpressionContainer=Vt,exports.isJSXSpreadChild=Ut,exports.isJSXIdentifier=Wt,exports.isJSXMemberExpression=qt,exports.isJSXNamespacedName=Qt,exports.isJSXOpeningElement=zt,exports.isJSXSpreadAttribute=Gt,exports.isJSXText=Yt,exports.isJSXFragment=_t,exports.isJSXOpeningFragment=Ht,exports.isJSXClosingFragment=Zt,exports.isNoop=$t,exports.isPlaceholder=er,exports.isV8IntrinsicIdentifier=tr,exports.isArgumentPlaceholder=rr,exports.isBindExpression=nr,exports.isClassProperty=ir,exports.isPipelineTopicExpression=or,exports.isPipelineBareFunction=ar,exports.isPipelinePrimaryTopicReference=ur,exports.isClassPrivateProperty=pr,exports.isClassPrivateMethod=sr,exports.isImportAttribute=lr,exports.isDecorator=fr,exports.isDoExpression=dr,exports.isExportDefaultSpecifier=cr,exports.isPrivateName=yr,exports.isRecordExpression=Tr,exports.isTupleExpression=xr,exports.isDecimalLiteral=Sr,exports.isStaticBlock=mr,exports.isTSParameterProperty=vr,exports.isTSDeclareFunction=Er,exports.isTSDeclareMethod=Dr,exports.isTSQualifiedName=Ar,exports.isTSCallSignatureDeclaration=Pr,exports.isTSConstructSignatureDeclaration=br,exports.isTSPropertySignature=Ir,exports.isTSMethodSignature=gr,exports.isTSIndexSignature=hr,exports.isTSAnyKeyword=Nr,exports.isTSBooleanKeyword=Cr,exports.isTSBigIntKeyword=Fr,exports.isTSIntrinsicKeyword=Mr,exports.isTSNeverKeyword=Lr,exports.isTSNullKeyword=Br,exports.isTSNumberKeyword=wr,exports.isTSObjectKeyword=Or,exports.isTSStringKeyword=Xr,exports.isTSSymbolKeyword=Jr,exports.isTSUndefinedKeyword=jr,exports.isTSUnknownKeyword=Kr,exports.isTSVoidKeyword=kr,exports.isTSThisType=Rr,exports.isTSFunctionType=Vr,exports.isTSConstructorType=Ur,exports.isTSTypeReference=Wr,exports.isTSTypePredicate=qr,exports.isTSTypeQuery=Qr,exports.isTSTypeLiteral=zr,exports.isTSArrayType=Gr,exports.isTSTupleType=Yr,exports.isTSOptionalType=_r,exports.isTSRestType=Hr,exports.isTSNamedTupleMember=Zr,exports.isTSUnionType=$r,exports.isTSIntersectionType=en,exports.isTSConditionalType=tn,exports.isTSInferType=rn,exports.isTSParenthesizedType=nn,exports.isTSTypeOperator=on,exports.isTSIndexedAccessType=an,exports.isTSMappedType=un,exports.isTSLiteralType=pn,exports.isTSExpressionWithTypeArguments=sn,exports.isTSInterfaceDeclaration=ln,exports.isTSInterfaceBody=fn,exports.isTSTypeAliasDeclaration=dn,exports.isTSAsExpression=cn,exports.isTSTypeAssertion=yn,exports.isTSEnumDeclaration=Tn,exports.isTSEnumMember=xn,exports.isTSModuleDeclaration=Sn,exports.isTSModuleBlock=mn,exports.isTSImportType=vn,exports.isTSImportEqualsDeclaration=En,exports.isTSExternalModuleReference=Dn,exports.isTSNonNullExpression=An,exports.isTSExportAssignment=Pn,exports.isTSNamespaceExportDeclaration=bn,exports.isTSTypeAnnotation=In,exports.isTSTypeParameterInstantiation=gn,exports.isTSTypeParameterDeclaration=hn,exports.isTSTypeParameter=Nn,exports.isExpression=Cn,exports.isBinary=Fn,exports.isScopable=Mn,exports.isBlockParent=Ln,exports.isBlock=Bn,exports.isStatement=wn,exports.isTerminatorless=On,exports.isCompletionStatement=Xn,exports.isConditional=Jn,exports.isLoop=jn,exports.isWhile=Kn,exports.isExpressionWrapper=kn,exports.isFor=Rn,exports.isForXStatement=Vn,exports.isFunction=Un,exports.isFunctionParent=Wn,exports.isPureish=qn,exports.isDeclaration=Qn,exports.isPatternLike=zn,exports.isLVal=Gn,exports.isTSEntityName=Yn,exports.isLiteral=_n,exports.isImmutable=Hn,exports.isUserWhitespacable=Zn,exports.isMethod=$n,exports.isObjectMember=ei,exports.isProperty=ti,exports.isUnaryLike=ri,exports.isPattern=ni,exports.isClass=ii,exports.isModuleDeclaration=oi,exports.isExportDeclaration=ai,exports.isModuleSpecifier=ui,exports.isFlow=pi,exports.isFlowType=si,exports.isFlowBaseAnnotation=li,exports.isFlowDeclaration=fi,exports.isFlowPredicate=di,exports.isEnumBody=ci,exports.isEnumMember=yi,exports.isJSX=Ti,exports.isPrivate=xi,exports.isTSTypeElement=Si,exports.isTSType=mi,exports.isTSBaseType=vi,exports.isNumberLiteral=Ei,exports.isRegexLiteral=Di,exports.isRestProperty=Ai,exports.isSpreadProperty=Pi;var e=t(require("../../utils/shallowEqual"));function t(e){return e&&e.__esModule?e:{default:e}}function r(t,r){if(!t)return!1;return"ArrayExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function n(t,r){if(!t)return!1;return"AssignmentExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function i(t,r){if(!t)return!1;return"BinaryExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function o(t,r){if(!t)return!1;return"InterpreterDirective"===t.type&&(void 0===r||(0,e.default)(t,r))}function a(t,r){if(!t)return!1;return"Directive"===t.type&&(void 0===r||(0,e.default)(t,r))}function u(t,r){if(!t)return!1;return"DirectiveLiteral"===t.type&&(void 0===r||(0,e.default)(t,r))}function p(t,r){if(!t)return!1;return"BlockStatement"===t.type&&(void 0===r||(0,e.default)(t,r))}function s(t,r){if(!t)return!1;return"BreakStatement"===t.type&&(void 0===r||(0,e.default)(t,r))}function l(t,r){if(!t)return!1;return"CallExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function f(t,r){if(!t)return!1;return"CatchClause"===t.type&&(void 0===r||(0,e.default)(t,r))}function d(t,r){if(!t)return!1;return"ConditionalExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function c(t,r){if(!t)return!1;return"ContinueStatement"===t.type&&(void 0===r||(0,e.default)(t,r))}function y(t,r){if(!t)return!1;return"DebuggerStatement"===t.type&&(void 0===r||(0,e.default)(t,r))}function T(t,r){if(!t)return!1;return"DoWhileStatement"===t.type&&(void 0===r||(0,e.default)(t,r))}function x(t,r){if(!t)return!1;return"EmptyStatement"===t.type&&(void 0===r||(0,e.default)(t,r))}function S(t,r){if(!t)return!1;return"ExpressionStatement"===t.type&&(void 0===r||(0,e.default)(t,r))}function m(t,r){if(!t)return!1;return"File"===t.type&&(void 0===r||(0,e.default)(t,r))}function v(t,r){if(!t)return!1;return"ForInStatement"===t.type&&(void 0===r||(0,e.default)(t,r))}function E(t,r){if(!t)return!1;return"ForStatement"===t.type&&(void 0===r||(0,e.default)(t,r))}function D(t,r){if(!t)return!1;return"FunctionDeclaration"===t.type&&(void 0===r||(0,e.default)(t,r))}function A(t,r){if(!t)return!1;return"FunctionExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function P(t,r){if(!t)return!1;return"Identifier"===t.type&&(void 0===r||(0,e.default)(t,r))}function b(t,r){if(!t)return!1;return"IfStatement"===t.type&&(void 0===r||(0,e.default)(t,r))}function I(t,r){if(!t)return!1;return"LabeledStatement"===t.type&&(void 0===r||(0,e.default)(t,r))}function g(t,r){if(!t)return!1;return"StringLiteral"===t.type&&(void 0===r||(0,e.default)(t,r))}function h(t,r){if(!t)return!1;return"NumericLiteral"===t.type&&(void 0===r||(0,e.default)(t,r))}function N(t,r){if(!t)return!1;return"NullLiteral"===t.type&&(void 0===r||(0,e.default)(t,r))}function C(t,r){if(!t)return!1;return"BooleanLiteral"===t.type&&(void 0===r||(0,e.default)(t,r))}function F(t,r){if(!t)return!1;return"RegExpLiteral"===t.type&&(void 0===r||(0,e.default)(t,r))}function M(t,r){if(!t)return!1;return"LogicalExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function L(t,r){if(!t)return!1;return"MemberExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function B(t,r){if(!t)return!1;return"NewExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function w(t,r){if(!t)return!1;return"Program"===t.type&&(void 0===r||(0,e.default)(t,r))}function O(t,r){if(!t)return!1;return"ObjectExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function X(t,r){if(!t)return!1;return"ObjectMethod"===t.type&&(void 0===r||(0,e.default)(t,r))}function J(t,r){if(!t)return!1;return"ObjectProperty"===t.type&&(void 0===r||(0,e.default)(t,r))}function j(t,r){if(!t)return!1;return"RestElement"===t.type&&(void 0===r||(0,e.default)(t,r))}function K(t,r){if(!t)return!1;return"ReturnStatement"===t.type&&(void 0===r||(0,e.default)(t,r))}function k(t,r){if(!t)return!1;return"SequenceExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function R(t,r){if(!t)return!1;return"ParenthesizedExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function V(t,r){if(!t)return!1;return"SwitchCase"===t.type&&(void 0===r||(0,e.default)(t,r))}function U(t,r){if(!t)return!1;return"SwitchStatement"===t.type&&(void 0===r||(0,e.default)(t,r))}function W(t,r){if(!t)return!1;return"ThisExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function q(t,r){if(!t)return!1;return"ThrowStatement"===t.type&&(void 0===r||(0,e.default)(t,r))}function Q(t,r){if(!t)return!1;return"TryStatement"===t.type&&(void 0===r||(0,e.default)(t,r))}function z(t,r){if(!t)return!1;return"UnaryExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function G(t,r){if(!t)return!1;return"UpdateExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function Y(t,r){if(!t)return!1;return"VariableDeclaration"===t.type&&(void 0===r||(0,e.default)(t,r))}function _(t,r){if(!t)return!1;return"VariableDeclarator"===t.type&&(void 0===r||(0,e.default)(t,r))}function H(t,r){if(!t)return!1;return"WhileStatement"===t.type&&(void 0===r||(0,e.default)(t,r))}function Z(t,r){if(!t)return!1;return"WithStatement"===t.type&&(void 0===r||(0,e.default)(t,r))}function $(t,r){if(!t)return!1;return"AssignmentPattern"===t.type&&(void 0===r||(0,e.default)(t,r))}function ee(t,r){if(!t)return!1;return"ArrayPattern"===t.type&&(void 0===r||(0,e.default)(t,r))}function te(t,r){if(!t)return!1;return"ArrowFunctionExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function re(t,r){if(!t)return!1;return"ClassBody"===t.type&&(void 0===r||(0,e.default)(t,r))}function ne(t,r){if(!t)return!1;return"ClassExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function ie(t,r){if(!t)return!1;return"ClassDeclaration"===t.type&&(void 0===r||(0,e.default)(t,r))}function oe(t,r){if(!t)return!1;return"ExportAllDeclaration"===t.type&&(void 0===r||(0,e.default)(t,r))}function ae(t,r){if(!t)return!1;return"ExportDefaultDeclaration"===t.type&&(void 0===r||(0,e.default)(t,r))}function ue(t,r){if(!t)return!1;return"ExportNamedDeclaration"===t.type&&(void 0===r||(0,e.default)(t,r))}function pe(t,r){if(!t)return!1;return"ExportSpecifier"===t.type&&(void 0===r||(0,e.default)(t,r))}function se(t,r){if(!t)return!1;return"ForOfStatement"===t.type&&(void 0===r||(0,e.default)(t,r))}function le(t,r){if(!t)return!1;return"ImportDeclaration"===t.type&&(void 0===r||(0,e.default)(t,r))}function fe(t,r){if(!t)return!1;return"ImportDefaultSpecifier"===t.type&&(void 0===r||(0,e.default)(t,r))}function de(t,r){if(!t)return!1;return"ImportNamespaceSpecifier"===t.type&&(void 0===r||(0,e.default)(t,r))}function ce(t,r){if(!t)return!1;return"ImportSpecifier"===t.type&&(void 0===r||(0,e.default)(t,r))}function ye(t,r){if(!t)return!1;return"MetaProperty"===t.type&&(void 0===r||(0,e.default)(t,r))}function Te(t,r){if(!t)return!1;return"ClassMethod"===t.type&&(void 0===r||(0,e.default)(t,r))}function xe(t,r){if(!t)return!1;return"ObjectPattern"===t.type&&(void 0===r||(0,e.default)(t,r))}function Se(t,r){if(!t)return!1;return"SpreadElement"===t.type&&(void 0===r||(0,e.default)(t,r))}function me(t,r){if(!t)return!1;return"Super"===t.type&&(void 0===r||(0,e.default)(t,r))}function ve(t,r){if(!t)return!1;return"TaggedTemplateExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function Ee(t,r){if(!t)return!1;return"TemplateElement"===t.type&&(void 0===r||(0,e.default)(t,r))}function De(t,r){if(!t)return!1;return"TemplateLiteral"===t.type&&(void 0===r||(0,e.default)(t,r))}function Ae(t,r){if(!t)return!1;return"YieldExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function Pe(t,r){if(!t)return!1;return"AwaitExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function be(t,r){if(!t)return!1;return"Import"===t.type&&(void 0===r||(0,e.default)(t,r))}function Ie(t,r){if(!t)return!1;return"BigIntLiteral"===t.type&&(void 0===r||(0,e.default)(t,r))}function ge(t,r){if(!t)return!1;return"ExportNamespaceSpecifier"===t.type&&(void 0===r||(0,e.default)(t,r))}function he(t,r){if(!t)return!1;return"OptionalMemberExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function Ne(t,r){if(!t)return!1;return"OptionalCallExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function Ce(t,r){if(!t)return!1;return"AnyTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function Fe(t,r){if(!t)return!1;return"ArrayTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function Me(t,r){if(!t)return!1;return"BooleanTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function Le(t,r){if(!t)return!1;return"BooleanLiteralTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function Be(t,r){if(!t)return!1;return"NullLiteralTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function we(t,r){if(!t)return!1;return"ClassImplements"===t.type&&(void 0===r||(0,e.default)(t,r))}function Oe(t,r){if(!t)return!1;return"DeclareClass"===t.type&&(void 0===r||(0,e.default)(t,r))}function Xe(t,r){if(!t)return!1;return"DeclareFunction"===t.type&&(void 0===r||(0,e.default)(t,r))}function Je(t,r){if(!t)return!1;return"DeclareInterface"===t.type&&(void 0===r||(0,e.default)(t,r))}function je(t,r){if(!t)return!1;return"DeclareModule"===t.type&&(void 0===r||(0,e.default)(t,r))}function Ke(t,r){if(!t)return!1;return"DeclareModuleExports"===t.type&&(void 0===r||(0,e.default)(t,r))}function ke(t,r){if(!t)return!1;return"DeclareTypeAlias"===t.type&&(void 0===r||(0,e.default)(t,r))}function Re(t,r){if(!t)return!1;return"DeclareOpaqueType"===t.type&&(void 0===r||(0,e.default)(t,r))}function Ve(t,r){if(!t)return!1;return"DeclareVariable"===t.type&&(void 0===r||(0,e.default)(t,r))}function Ue(t,r){if(!t)return!1;return"DeclareExportDeclaration"===t.type&&(void 0===r||(0,e.default)(t,r))}function We(t,r){if(!t)return!1;return"DeclareExportAllDeclaration"===t.type&&(void 0===r||(0,e.default)(t,r))}function qe(t,r){if(!t)return!1;return"DeclaredPredicate"===t.type&&(void 0===r||(0,e.default)(t,r))}function Qe(t,r){if(!t)return!1;return"ExistsTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function ze(t,r){if(!t)return!1;return"FunctionTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function Ge(t,r){if(!t)return!1;return"FunctionTypeParam"===t.type&&(void 0===r||(0,e.default)(t,r))}function Ye(t,r){if(!t)return!1;return"GenericTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function _e(t,r){if(!t)return!1;return"InferredPredicate"===t.type&&(void 0===r||(0,e.default)(t,r))}function He(t,r){if(!t)return!1;return"InterfaceExtends"===t.type&&(void 0===r||(0,e.default)(t,r))}function Ze(t,r){if(!t)return!1;return"InterfaceDeclaration"===t.type&&(void 0===r||(0,e.default)(t,r))}function $e(t,r){if(!t)return!1;return"InterfaceTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function et(t,r){if(!t)return!1;return"IntersectionTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function tt(t,r){if(!t)return!1;return"MixedTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function rt(t,r){if(!t)return!1;return"EmptyTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function nt(t,r){if(!t)return!1;return"NullableTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function it(t,r){if(!t)return!1;return"NumberLiteralTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function ot(t,r){if(!t)return!1;return"NumberTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function at(t,r){if(!t)return!1;return"ObjectTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function ut(t,r){if(!t)return!1;return"ObjectTypeInternalSlot"===t.type&&(void 0===r||(0,e.default)(t,r))}function pt(t,r){if(!t)return!1;return"ObjectTypeCallProperty"===t.type&&(void 0===r||(0,e.default)(t,r))}function st(t,r){if(!t)return!1;return"ObjectTypeIndexer"===t.type&&(void 0===r||(0,e.default)(t,r))}function lt(t,r){if(!t)return!1;return"ObjectTypeProperty"===t.type&&(void 0===r||(0,e.default)(t,r))}function ft(t,r){if(!t)return!1;return"ObjectTypeSpreadProperty"===t.type&&(void 0===r||(0,e.default)(t,r))}function dt(t,r){if(!t)return!1;return"OpaqueType"===t.type&&(void 0===r||(0,e.default)(t,r))}function ct(t,r){if(!t)return!1;return"QualifiedTypeIdentifier"===t.type&&(void 0===r||(0,e.default)(t,r))}function yt(t,r){if(!t)return!1;return"StringLiteralTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function Tt(t,r){if(!t)return!1;return"StringTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function xt(t,r){if(!t)return!1;return"SymbolTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function St(t,r){if(!t)return!1;return"ThisTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function mt(t,r){if(!t)return!1;return"TupleTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function vt(t,r){if(!t)return!1;return"TypeofTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function Et(t,r){if(!t)return!1;return"TypeAlias"===t.type&&(void 0===r||(0,e.default)(t,r))}function Dt(t,r){if(!t)return!1;return"TypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function At(t,r){if(!t)return!1;return"TypeCastExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function Pt(t,r){if(!t)return!1;return"TypeParameter"===t.type&&(void 0===r||(0,e.default)(t,r))}function bt(t,r){if(!t)return!1;return"TypeParameterDeclaration"===t.type&&(void 0===r||(0,e.default)(t,r))}function It(t,r){if(!t)return!1;return"TypeParameterInstantiation"===t.type&&(void 0===r||(0,e.default)(t,r))}function gt(t,r){if(!t)return!1;return"UnionTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function ht(t,r){if(!t)return!1;return"Variance"===t.type&&(void 0===r||(0,e.default)(t,r))}function Nt(t,r){if(!t)return!1;return"VoidTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function Ct(t,r){if(!t)return!1;return"EnumDeclaration"===t.type&&(void 0===r||(0,e.default)(t,r))}function Ft(t,r){if(!t)return!1;return"EnumBooleanBody"===t.type&&(void 0===r||(0,e.default)(t,r))}function Mt(t,r){if(!t)return!1;return"EnumNumberBody"===t.type&&(void 0===r||(0,e.default)(t,r))}function Lt(t,r){if(!t)return!1;return"EnumStringBody"===t.type&&(void 0===r||(0,e.default)(t,r))}function Bt(t,r){if(!t)return!1;return"EnumSymbolBody"===t.type&&(void 0===r||(0,e.default)(t,r))}function wt(t,r){if(!t)return!1;return"EnumBooleanMember"===t.type&&(void 0===r||(0,e.default)(t,r))}function Ot(t,r){if(!t)return!1;return"EnumNumberMember"===t.type&&(void 0===r||(0,e.default)(t,r))}function Xt(t,r){if(!t)return!1;return"EnumStringMember"===t.type&&(void 0===r||(0,e.default)(t,r))}function Jt(t,r){if(!t)return!1;return"EnumDefaultedMember"===t.type&&(void 0===r||(0,e.default)(t,r))}function jt(t,r){if(!t)return!1;return"JSXAttribute"===t.type&&(void 0===r||(0,e.default)(t,r))}function Kt(t,r){if(!t)return!1;return"JSXClosingElement"===t.type&&(void 0===r||(0,e.default)(t,r))}function kt(t,r){if(!t)return!1;return"JSXElement"===t.type&&(void 0===r||(0,e.default)(t,r))}function Rt(t,r){if(!t)return!1;return"JSXEmptyExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function Vt(t,r){if(!t)return!1;return"JSXExpressionContainer"===t.type&&(void 0===r||(0,e.default)(t,r))}function Ut(t,r){if(!t)return!1;return"JSXSpreadChild"===t.type&&(void 0===r||(0,e.default)(t,r))}function Wt(t,r){if(!t)return!1;return"JSXIdentifier"===t.type&&(void 0===r||(0,e.default)(t,r))}function qt(t,r){if(!t)return!1;return"JSXMemberExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function Qt(t,r){if(!t)return!1;return"JSXNamespacedName"===t.type&&(void 0===r||(0,e.default)(t,r))}function zt(t,r){if(!t)return!1;return"JSXOpeningElement"===t.type&&(void 0===r||(0,e.default)(t,r))}function Gt(t,r){if(!t)return!1;return"JSXSpreadAttribute"===t.type&&(void 0===r||(0,e.default)(t,r))}function Yt(t,r){if(!t)return!1;return"JSXText"===t.type&&(void 0===r||(0,e.default)(t,r))}function _t(t,r){if(!t)return!1;return"JSXFragment"===t.type&&(void 0===r||(0,e.default)(t,r))}function Ht(t,r){if(!t)return!1;return"JSXOpeningFragment"===t.type&&(void 0===r||(0,e.default)(t,r))}function Zt(t,r){if(!t)return!1;return"JSXClosingFragment"===t.type&&(void 0===r||(0,e.default)(t,r))}function $t(t,r){if(!t)return!1;return"Noop"===t.type&&(void 0===r||(0,e.default)(t,r))}function er(t,r){if(!t)return!1;return"Placeholder"===t.type&&(void 0===r||(0,e.default)(t,r))}function tr(t,r){if(!t)return!1;return"V8IntrinsicIdentifier"===t.type&&(void 0===r||(0,e.default)(t,r))}function rr(t,r){if(!t)return!1;return"ArgumentPlaceholder"===t.type&&(void 0===r||(0,e.default)(t,r))}function nr(t,r){if(!t)return!1;return"BindExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function ir(t,r){if(!t)return!1;return"ClassProperty"===t.type&&(void 0===r||(0,e.default)(t,r))}function or(t,r){if(!t)return!1;return"PipelineTopicExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function ar(t,r){if(!t)return!1;return"PipelineBareFunction"===t.type&&(void 0===r||(0,e.default)(t,r))}function ur(t,r){if(!t)return!1;return"PipelinePrimaryTopicReference"===t.type&&(void 0===r||(0,e.default)(t,r))}function pr(t,r){if(!t)return!1;return"ClassPrivateProperty"===t.type&&(void 0===r||(0,e.default)(t,r))}function sr(t,r){if(!t)return!1;return"ClassPrivateMethod"===t.type&&(void 0===r||(0,e.default)(t,r))}function lr(t,r){if(!t)return!1;return"ImportAttribute"===t.type&&(void 0===r||(0,e.default)(t,r))}function fr(t,r){if(!t)return!1;return"Decorator"===t.type&&(void 0===r||(0,e.default)(t,r))}function dr(t,r){if(!t)return!1;return"DoExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function cr(t,r){if(!t)return!1;return"ExportDefaultSpecifier"===t.type&&(void 0===r||(0,e.default)(t,r))}function yr(t,r){if(!t)return!1;return"PrivateName"===t.type&&(void 0===r||(0,e.default)(t,r))}function Tr(t,r){if(!t)return!1;return"RecordExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function xr(t,r){if(!t)return!1;return"TupleExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function Sr(t,r){if(!t)return!1;return"DecimalLiteral"===t.type&&(void 0===r||(0,e.default)(t,r))}function mr(t,r){if(!t)return!1;return"StaticBlock"===t.type&&(void 0===r||(0,e.default)(t,r))}function vr(t,r){if(!t)return!1;return"TSParameterProperty"===t.type&&(void 0===r||(0,e.default)(t,r))}function Er(t,r){if(!t)return!1;return"TSDeclareFunction"===t.type&&(void 0===r||(0,e.default)(t,r))}function Dr(t,r){if(!t)return!1;return"TSDeclareMethod"===t.type&&(void 0===r||(0,e.default)(t,r))}function Ar(t,r){if(!t)return!1;return"TSQualifiedName"===t.type&&(void 0===r||(0,e.default)(t,r))}function Pr(t,r){if(!t)return!1;return"TSCallSignatureDeclaration"===t.type&&(void 0===r||(0,e.default)(t,r))}function br(t,r){if(!t)return!1;return"TSConstructSignatureDeclaration"===t.type&&(void 0===r||(0,e.default)(t,r))}function Ir(t,r){if(!t)return!1;return"TSPropertySignature"===t.type&&(void 0===r||(0,e.default)(t,r))}function gr(t,r){if(!t)return!1;return"TSMethodSignature"===t.type&&(void 0===r||(0,e.default)(t,r))}function hr(t,r){if(!t)return!1;return"TSIndexSignature"===t.type&&(void 0===r||(0,e.default)(t,r))}function Nr(t,r){if(!t)return!1;return"TSAnyKeyword"===t.type&&(void 0===r||(0,e.default)(t,r))}function Cr(t,r){if(!t)return!1;return"TSBooleanKeyword"===t.type&&(void 0===r||(0,e.default)(t,r))}function Fr(t,r){if(!t)return!1;return"TSBigIntKeyword"===t.type&&(void 0===r||(0,e.default)(t,r))}function Mr(t,r){if(!t)return!1;return"TSIntrinsicKeyword"===t.type&&(void 0===r||(0,e.default)(t,r))}function Lr(t,r){if(!t)return!1;return"TSNeverKeyword"===t.type&&(void 0===r||(0,e.default)(t,r))}function Br(t,r){if(!t)return!1;return"TSNullKeyword"===t.type&&(void 0===r||(0,e.default)(t,r))}function wr(t,r){if(!t)return!1;return"TSNumberKeyword"===t.type&&(void 0===r||(0,e.default)(t,r))}function Or(t,r){if(!t)return!1;return"TSObjectKeyword"===t.type&&(void 0===r||(0,e.default)(t,r))}function Xr(t,r){if(!t)return!1;return"TSStringKeyword"===t.type&&(void 0===r||(0,e.default)(t,r))}function Jr(t,r){if(!t)return!1;return"TSSymbolKeyword"===t.type&&(void 0===r||(0,e.default)(t,r))}function jr(t,r){if(!t)return!1;return"TSUndefinedKeyword"===t.type&&(void 0===r||(0,e.default)(t,r))}function Kr(t,r){if(!t)return!1;return"TSUnknownKeyword"===t.type&&(void 0===r||(0,e.default)(t,r))}function kr(t,r){if(!t)return!1;return"TSVoidKeyword"===t.type&&(void 0===r||(0,e.default)(t,r))}function Rr(t,r){if(!t)return!1;return"TSThisType"===t.type&&(void 0===r||(0,e.default)(t,r))}function Vr(t,r){if(!t)return!1;return"TSFunctionType"===t.type&&(void 0===r||(0,e.default)(t,r))}function Ur(t,r){if(!t)return!1;return"TSConstructorType"===t.type&&(void 0===r||(0,e.default)(t,r))}function Wr(t,r){if(!t)return!1;return"TSTypeReference"===t.type&&(void 0===r||(0,e.default)(t,r))}function qr(t,r){if(!t)return!1;return"TSTypePredicate"===t.type&&(void 0===r||(0,e.default)(t,r))}function Qr(t,r){if(!t)return!1;return"TSTypeQuery"===t.type&&(void 0===r||(0,e.default)(t,r))}function zr(t,r){if(!t)return!1;return"TSTypeLiteral"===t.type&&(void 0===r||(0,e.default)(t,r))}function Gr(t,r){if(!t)return!1;return"TSArrayType"===t.type&&(void 0===r||(0,e.default)(t,r))}function Yr(t,r){if(!t)return!1;return"TSTupleType"===t.type&&(void 0===r||(0,e.default)(t,r))}function _r(t,r){if(!t)return!1;return"TSOptionalType"===t.type&&(void 0===r||(0,e.default)(t,r))}function Hr(t,r){if(!t)return!1;return"TSRestType"===t.type&&(void 0===r||(0,e.default)(t,r))}function Zr(t,r){if(!t)return!1;return"TSNamedTupleMember"===t.type&&(void 0===r||(0,e.default)(t,r))}function $r(t,r){if(!t)return!1;return"TSUnionType"===t.type&&(void 0===r||(0,e.default)(t,r))}function en(t,r){if(!t)return!1;return"TSIntersectionType"===t.type&&(void 0===r||(0,e.default)(t,r))}function tn(t,r){if(!t)return!1;return"TSConditionalType"===t.type&&(void 0===r||(0,e.default)(t,r))}function rn(t,r){if(!t)return!1;return"TSInferType"===t.type&&(void 0===r||(0,e.default)(t,r))}function nn(t,r){if(!t)return!1;return"TSParenthesizedType"===t.type&&(void 0===r||(0,e.default)(t,r))}function on(t,r){if(!t)return!1;return"TSTypeOperator"===t.type&&(void 0===r||(0,e.default)(t,r))}function an(t,r){if(!t)return!1;return"TSIndexedAccessType"===t.type&&(void 0===r||(0,e.default)(t,r))}function un(t,r){if(!t)return!1;return"TSMappedType"===t.type&&(void 0===r||(0,e.default)(t,r))}function pn(t,r){if(!t)return!1;return"TSLiteralType"===t.type&&(void 0===r||(0,e.default)(t,r))}function sn(t,r){if(!t)return!1;return"TSExpressionWithTypeArguments"===t.type&&(void 0===r||(0,e.default)(t,r))}function ln(t,r){if(!t)return!1;return"TSInterfaceDeclaration"===t.type&&(void 0===r||(0,e.default)(t,r))}function fn(t,r){if(!t)return!1;return"TSInterfaceBody"===t.type&&(void 0===r||(0,e.default)(t,r))}function dn(t,r){if(!t)return!1;return"TSTypeAliasDeclaration"===t.type&&(void 0===r||(0,e.default)(t,r))}function cn(t,r){if(!t)return!1;return"TSAsExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function yn(t,r){if(!t)return!1;return"TSTypeAssertion"===t.type&&(void 0===r||(0,e.default)(t,r))}function Tn(t,r){if(!t)return!1;return"TSEnumDeclaration"===t.type&&(void 0===r||(0,e.default)(t,r))}function xn(t,r){if(!t)return!1;return"TSEnumMember"===t.type&&(void 0===r||(0,e.default)(t,r))}function Sn(t,r){if(!t)return!1;return"TSModuleDeclaration"===t.type&&(void 0===r||(0,e.default)(t,r))}function mn(t,r){if(!t)return!1;return"TSModuleBlock"===t.type&&(void 0===r||(0,e.default)(t,r))}function vn(t,r){if(!t)return!1;return"TSImportType"===t.type&&(void 0===r||(0,e.default)(t,r))}function En(t,r){if(!t)return!1;return"TSImportEqualsDeclaration"===t.type&&(void 0===r||(0,e.default)(t,r))}function Dn(t,r){if(!t)return!1;return"TSExternalModuleReference"===t.type&&(void 0===r||(0,e.default)(t,r))}function An(t,r){if(!t)return!1;return"TSNonNullExpression"===t.type&&(void 0===r||(0,e.default)(t,r))}function Pn(t,r){if(!t)return!1;return"TSExportAssignment"===t.type&&(void 0===r||(0,e.default)(t,r))}function bn(t,r){if(!t)return!1;return"TSNamespaceExportDeclaration"===t.type&&(void 0===r||(0,e.default)(t,r))}function In(t,r){if(!t)return!1;return"TSTypeAnnotation"===t.type&&(void 0===r||(0,e.default)(t,r))}function gn(t,r){if(!t)return!1;return"TSTypeParameterInstantiation"===t.type&&(void 0===r||(0,e.default)(t,r))}function hn(t,r){if(!t)return!1;return"TSTypeParameterDeclaration"===t.type&&(void 0===r||(0,e.default)(t,r))}function Nn(t,r){if(!t)return!1;return"TSTypeParameter"===t.type&&(void 0===r||(0,e.default)(t,r))}function Cn(t,r){if(!t)return!1;const n=t.type;return("Expression"===n||"ArrayExpression"===n||"AssignmentExpression"===n||"BinaryExpression"===n||"CallExpression"===n||"ConditionalExpression"===n||"FunctionExpression"===n||"Identifier"===n||"StringLiteral"===n||"NumericLiteral"===n||"NullLiteral"===n||"BooleanLiteral"===n||"RegExpLiteral"===n||"LogicalExpression"===n||"MemberExpression"===n||"NewExpression"===n||"ObjectExpression"===n||"SequenceExpression"===n||"ParenthesizedExpression"===n||"ThisExpression"===n||"UnaryExpression"===n||"UpdateExpression"===n||"ArrowFunctionExpression"===n||"ClassExpression"===n||"MetaProperty"===n||"Super"===n||"TaggedTemplateExpression"===n||"TemplateLiteral"===n||"YieldExpression"===n||"AwaitExpression"===n||"Import"===n||"BigIntLiteral"===n||"OptionalMemberExpression"===n||"OptionalCallExpression"===n||"TypeCastExpression"===n||"JSXElement"===n||"JSXFragment"===n||"BindExpression"===n||"PipelinePrimaryTopicReference"===n||"DoExpression"===n||"RecordExpression"===n||"TupleExpression"===n||"DecimalLiteral"===n||"TSAsExpression"===n||"TSTypeAssertion"===n||"TSNonNullExpression"===n||"Placeholder"===n&&("Expression"===t.expectedNode||"Identifier"===t.expectedNode||"StringLiteral"===t.expectedNode))&&(void 0===r||(0,e.default)(t,r))}function Fn(t,r){if(!t)return!1;const n=t.type;return("Binary"===n||"BinaryExpression"===n||"LogicalExpression"===n)&&(void 0===r||(0,e.default)(t,r))}function Mn(t,r){if(!t)return!1;const n=t.type;return("Scopable"===n||"BlockStatement"===n||"CatchClause"===n||"DoWhileStatement"===n||"ForInStatement"===n||"ForStatement"===n||"FunctionDeclaration"===n||"FunctionExpression"===n||"Program"===n||"ObjectMethod"===n||"SwitchStatement"===n||"WhileStatement"===n||"ArrowFunctionExpression"===n||"ClassExpression"===n||"ClassDeclaration"===n||"ForOfStatement"===n||"ClassMethod"===n||"ClassPrivateMethod"===n||"StaticBlock"===n||"TSModuleBlock"===n||"Placeholder"===n&&"BlockStatement"===t.expectedNode)&&(void 0===r||(0,e.default)(t,r))}function Ln(t,r){if(!t)return!1;const n=t.type;return("BlockParent"===n||"BlockStatement"===n||"CatchClause"===n||"DoWhileStatement"===n||"ForInStatement"===n||"ForStatement"===n||"FunctionDeclaration"===n||"FunctionExpression"===n||"Program"===n||"ObjectMethod"===n||"SwitchStatement"===n||"WhileStatement"===n||"ArrowFunctionExpression"===n||"ForOfStatement"===n||"ClassMethod"===n||"ClassPrivateMethod"===n||"StaticBlock"===n||"TSModuleBlock"===n||"Placeholder"===n&&"BlockStatement"===t.expectedNode)&&(void 0===r||(0,e.default)(t,r))}function Bn(t,r){if(!t)return!1;const n=t.type;return("Block"===n||"BlockStatement"===n||"Program"===n||"TSModuleBlock"===n||"Placeholder"===n&&"BlockStatement"===t.expectedNode)&&(void 0===r||(0,e.default)(t,r))}function wn(t,r){if(!t)return!1;const n=t.type;return("Statement"===n||"BlockStatement"===n||"BreakStatement"===n||"ContinueStatement"===n||"DebuggerStatement"===n||"DoWhileStatement"===n||"EmptyStatement"===n||"ExpressionStatement"===n||"ForInStatement"===n||"ForStatement"===n||"FunctionDeclaration"===n||"IfStatement"===n||"LabeledStatement"===n||"ReturnStatement"===n||"SwitchStatement"===n||"ThrowStatement"===n||"TryStatement"===n||"VariableDeclaration"===n||"WhileStatement"===n||"WithStatement"===n||"ClassDeclaration"===n||"ExportAllDeclaration"===n||"ExportDefaultDeclaration"===n||"ExportNamedDeclaration"===n||"ForOfStatement"===n||"ImportDeclaration"===n||"DeclareClass"===n||"DeclareFunction"===n||"DeclareInterface"===n||"DeclareModule"===n||"DeclareModuleExports"===n||"DeclareTypeAlias"===n||"DeclareOpaqueType"===n||"DeclareVariable"===n||"DeclareExportDeclaration"===n||"DeclareExportAllDeclaration"===n||"InterfaceDeclaration"===n||"OpaqueType"===n||"TypeAlias"===n||"EnumDeclaration"===n||"TSDeclareFunction"===n||"TSInterfaceDeclaration"===n||"TSTypeAliasDeclaration"===n||"TSEnumDeclaration"===n||"TSModuleDeclaration"===n||"TSImportEqualsDeclaration"===n||"TSExportAssignment"===n||"TSNamespaceExportDeclaration"===n||"Placeholder"===n&&("Statement"===t.expectedNode||"Declaration"===t.expectedNode||"BlockStatement"===t.expectedNode))&&(void 0===r||(0,e.default)(t,r))}function On(t,r){if(!t)return!1;const n=t.type;return("Terminatorless"===n||"BreakStatement"===n||"ContinueStatement"===n||"ReturnStatement"===n||"ThrowStatement"===n||"YieldExpression"===n||"AwaitExpression"===n)&&(void 0===r||(0,e.default)(t,r))}function Xn(t,r){if(!t)return!1;const n=t.type;return("CompletionStatement"===n||"BreakStatement"===n||"ContinueStatement"===n||"ReturnStatement"===n||"ThrowStatement"===n)&&(void 0===r||(0,e.default)(t,r))}function Jn(t,r){if(!t)return!1;const n=t.type;return("Conditional"===n||"ConditionalExpression"===n||"IfStatement"===n)&&(void 0===r||(0,e.default)(t,r))}function jn(t,r){if(!t)return!1;const n=t.type;return("Loop"===n||"DoWhileStatement"===n||"ForInStatement"===n||"ForStatement"===n||"WhileStatement"===n||"ForOfStatement"===n)&&(void 0===r||(0,e.default)(t,r))}function Kn(t,r){if(!t)return!1;const n=t.type;return("While"===n||"DoWhileStatement"===n||"WhileStatement"===n)&&(void 0===r||(0,e.default)(t,r))}function kn(t,r){if(!t)return!1;const n=t.type;return("ExpressionWrapper"===n||"ExpressionStatement"===n||"ParenthesizedExpression"===n||"TypeCastExpression"===n)&&(void 0===r||(0,e.default)(t,r))}function Rn(t,r){if(!t)return!1;const n=t.type;return("For"===n||"ForInStatement"===n||"ForStatement"===n||"ForOfStatement"===n)&&(void 0===r||(0,e.default)(t,r))}function Vn(t,r){if(!t)return!1;const n=t.type;return("ForXStatement"===n||"ForInStatement"===n||"ForOfStatement"===n)&&(void 0===r||(0,e.default)(t,r))}function Un(t,r){if(!t)return!1;const n=t.type;return("Function"===n||"FunctionDeclaration"===n||"FunctionExpression"===n||"ObjectMethod"===n||"ArrowFunctionExpression"===n||"ClassMethod"===n||"ClassPrivateMethod"===n)&&(void 0===r||(0,e.default)(t,r))}function Wn(t,r){if(!t)return!1;const n=t.type;return("FunctionParent"===n||"FunctionDeclaration"===n||"FunctionExpression"===n||"ObjectMethod"===n||"ArrowFunctionExpression"===n||"ClassMethod"===n||"ClassPrivateMethod"===n)&&(void 0===r||(0,e.default)(t,r))}function qn(t,r){if(!t)return!1;const n=t.type;return("Pureish"===n||"FunctionDeclaration"===n||"FunctionExpression"===n||"StringLiteral"===n||"NumericLiteral"===n||"NullLiteral"===n||"BooleanLiteral"===n||"RegExpLiteral"===n||"ArrowFunctionExpression"===n||"BigIntLiteral"===n||"DecimalLiteral"===n||"Placeholder"===n&&"StringLiteral"===t.expectedNode)&&(void 0===r||(0,e.default)(t,r))}function Qn(t,r){if(!t)return!1;const n=t.type;return("Declaration"===n||"FunctionDeclaration"===n||"VariableDeclaration"===n||"ClassDeclaration"===n||"ExportAllDeclaration"===n||"ExportDefaultDeclaration"===n||"ExportNamedDeclaration"===n||"ImportDeclaration"===n||"DeclareClass"===n||"DeclareFunction"===n||"DeclareInterface"===n||"DeclareModule"===n||"DeclareModuleExports"===n||"DeclareTypeAlias"===n||"DeclareOpaqueType"===n||"DeclareVariable"===n||"DeclareExportDeclaration"===n||"DeclareExportAllDeclaration"===n||"InterfaceDeclaration"===n||"OpaqueType"===n||"TypeAlias"===n||"EnumDeclaration"===n||"TSDeclareFunction"===n||"TSInterfaceDeclaration"===n||"TSTypeAliasDeclaration"===n||"TSEnumDeclaration"===n||"TSModuleDeclaration"===n||"Placeholder"===n&&"Declaration"===t.expectedNode)&&(void 0===r||(0,e.default)(t,r))}function zn(t,r){if(!t)return!1;const n=t.type;return("PatternLike"===n||"Identifier"===n||"RestElement"===n||"AssignmentPattern"===n||"ArrayPattern"===n||"ObjectPattern"===n||"Placeholder"===n&&("Pattern"===t.expectedNode||"Identifier"===t.expectedNode))&&(void 0===r||(0,e.default)(t,r))}function Gn(t,r){if(!t)return!1;const n=t.type;return("LVal"===n||"Identifier"===n||"MemberExpression"===n||"RestElement"===n||"AssignmentPattern"===n||"ArrayPattern"===n||"ObjectPattern"===n||"TSParameterProperty"===n||"Placeholder"===n&&("Pattern"===t.expectedNode||"Identifier"===t.expectedNode))&&(void 0===r||(0,e.default)(t,r))}function Yn(t,r){if(!t)return!1;const n=t.type;return("TSEntityName"===n||"Identifier"===n||"TSQualifiedName"===n||"Placeholder"===n&&"Identifier"===t.expectedNode)&&(void 0===r||(0,e.default)(t,r))}function _n(t,r){if(!t)return!1;const n=t.type;return("Literal"===n||"StringLiteral"===n||"NumericLiteral"===n||"NullLiteral"===n||"BooleanLiteral"===n||"RegExpLiteral"===n||"TemplateLiteral"===n||"BigIntLiteral"===n||"DecimalLiteral"===n||"Placeholder"===n&&"StringLiteral"===t.expectedNode)&&(void 0===r||(0,e.default)(t,r))}function Hn(t,r){if(!t)return!1;const n=t.type;return("Immutable"===n||"StringLiteral"===n||"NumericLiteral"===n||"NullLiteral"===n||"BooleanLiteral"===n||"BigIntLiteral"===n||"JSXAttribute"===n||"JSXClosingElement"===n||"JSXElement"===n||"JSXExpressionContainer"===n||"JSXSpreadChild"===n||"JSXOpeningElement"===n||"JSXText"===n||"JSXFragment"===n||"JSXOpeningFragment"===n||"JSXClosingFragment"===n||"DecimalLiteral"===n||"Placeholder"===n&&"StringLiteral"===t.expectedNode)&&(void 0===r||(0,e.default)(t,r))}function Zn(t,r){if(!t)return!1;const n=t.type;return("UserWhitespacable"===n||"ObjectMethod"===n||"ObjectProperty"===n||"ObjectTypeInternalSlot"===n||"ObjectTypeCallProperty"===n||"ObjectTypeIndexer"===n||"ObjectTypeProperty"===n||"ObjectTypeSpreadProperty"===n)&&(void 0===r||(0,e.default)(t,r))}function $n(t,r){if(!t)return!1;const n=t.type;return("Method"===n||"ObjectMethod"===n||"ClassMethod"===n||"ClassPrivateMethod"===n)&&(void 0===r||(0,e.default)(t,r))}function ei(t,r){if(!t)return!1;const n=t.type;return("ObjectMember"===n||"ObjectMethod"===n||"ObjectProperty"===n)&&(void 0===r||(0,e.default)(t,r))}function ti(t,r){if(!t)return!1;const n=t.type;return("Property"===n||"ObjectProperty"===n||"ClassProperty"===n||"ClassPrivateProperty"===n)&&(void 0===r||(0,e.default)(t,r))}function ri(t,r){if(!t)return!1;const n=t.type;return("UnaryLike"===n||"UnaryExpression"===n||"SpreadElement"===n)&&(void 0===r||(0,e.default)(t,r))}function ni(t,r){if(!t)return!1;const n=t.type;return("Pattern"===n||"AssignmentPattern"===n||"ArrayPattern"===n||"ObjectPattern"===n||"Placeholder"===n&&"Pattern"===t.expectedNode)&&(void 0===r||(0,e.default)(t,r))}function ii(t,r){if(!t)return!1;const n=t.type;return("Class"===n||"ClassExpression"===n||"ClassDeclaration"===n)&&(void 0===r||(0,e.default)(t,r))}function oi(t,r){if(!t)return!1;const n=t.type;return("ModuleDeclaration"===n||"ExportAllDeclaration"===n||"ExportDefaultDeclaration"===n||"ExportNamedDeclaration"===n||"ImportDeclaration"===n)&&(void 0===r||(0,e.default)(t,r))}function ai(t,r){if(!t)return!1;const n=t.type;return("ExportDeclaration"===n||"ExportAllDeclaration"===n||"ExportDefaultDeclaration"===n||"ExportNamedDeclaration"===n)&&(void 0===r||(0,e.default)(t,r))}function ui(t,r){if(!t)return!1;const n=t.type;return("ModuleSpecifier"===n||"ExportSpecifier"===n||"ImportDefaultSpecifier"===n||"ImportNamespaceSpecifier"===n||"ImportSpecifier"===n||"ExportNamespaceSpecifier"===n||"ExportDefaultSpecifier"===n)&&(void 0===r||(0,e.default)(t,r))}function pi(t,r){if(!t)return!1;const n=t.type;return("Flow"===n||"AnyTypeAnnotation"===n||"ArrayTypeAnnotation"===n||"BooleanTypeAnnotation"===n||"BooleanLiteralTypeAnnotation"===n||"NullLiteralTypeAnnotation"===n||"ClassImplements"===n||"DeclareClass"===n||"DeclareFunction"===n||"DeclareInterface"===n||"DeclareModule"===n||"DeclareModuleExports"===n||"DeclareTypeAlias"===n||"DeclareOpaqueType"===n||"DeclareVariable"===n||"DeclareExportDeclaration"===n||"DeclareExportAllDeclaration"===n||"DeclaredPredicate"===n||"ExistsTypeAnnotation"===n||"FunctionTypeAnnotation"===n||"FunctionTypeParam"===n||"GenericTypeAnnotation"===n||"InferredPredicate"===n||"InterfaceExtends"===n||"InterfaceDeclaration"===n||"InterfaceTypeAnnotation"===n||"IntersectionTypeAnnotation"===n||"MixedTypeAnnotation"===n||"EmptyTypeAnnotation"===n||"NullableTypeAnnotation"===n||"NumberLiteralTypeAnnotation"===n||"NumberTypeAnnotation"===n||"ObjectTypeAnnotation"===n||"ObjectTypeInternalSlot"===n||"ObjectTypeCallProperty"===n||"ObjectTypeIndexer"===n||"ObjectTypeProperty"===n||"ObjectTypeSpreadProperty"===n||"OpaqueType"===n||"QualifiedTypeIdentifier"===n||"StringLiteralTypeAnnotation"===n||"StringTypeAnnotation"===n||"SymbolTypeAnnotation"===n||"ThisTypeAnnotation"===n||"TupleTypeAnnotation"===n||"TypeofTypeAnnotation"===n||"TypeAlias"===n||"TypeAnnotation"===n||"TypeCastExpression"===n||"TypeParameter"===n||"TypeParameterDeclaration"===n||"TypeParameterInstantiation"===n||"UnionTypeAnnotation"===n||"Variance"===n||"VoidTypeAnnotation"===n)&&(void 0===r||(0,e.default)(t,r))}function si(t,r){if(!t)return!1;const n=t.type;return("FlowType"===n||"AnyTypeAnnotation"===n||"ArrayTypeAnnotation"===n||"BooleanTypeAnnotation"===n||"BooleanLiteralTypeAnnotation"===n||"NullLiteralTypeAnnotation"===n||"ExistsTypeAnnotation"===n||"FunctionTypeAnnotation"===n||"GenericTypeAnnotation"===n||"InterfaceTypeAnnotation"===n||"IntersectionTypeAnnotation"===n||"MixedTypeAnnotation"===n||"EmptyTypeAnnotation"===n||"NullableTypeAnnotation"===n||"NumberLiteralTypeAnnotation"===n||"NumberTypeAnnotation"===n||"ObjectTypeAnnotation"===n||"StringLiteralTypeAnnotation"===n||"StringTypeAnnotation"===n||"SymbolTypeAnnotation"===n||"ThisTypeAnnotation"===n||"TupleTypeAnnotation"===n||"TypeofTypeAnnotation"===n||"UnionTypeAnnotation"===n||"VoidTypeAnnotation"===n)&&(void 0===r||(0,e.default)(t,r))}function li(t,r){if(!t)return!1;const n=t.type;return("FlowBaseAnnotation"===n||"AnyTypeAnnotation"===n||"BooleanTypeAnnotation"===n||"NullLiteralTypeAnnotation"===n||"MixedTypeAnnotation"===n||"EmptyTypeAnnotation"===n||"NumberTypeAnnotation"===n||"StringTypeAnnotation"===n||"SymbolTypeAnnotation"===n||"ThisTypeAnnotation"===n||"VoidTypeAnnotation"===n)&&(void 0===r||(0,e.default)(t,r))}function fi(t,r){if(!t)return!1;const n=t.type;return("FlowDeclaration"===n||"DeclareClass"===n||"DeclareFunction"===n||"DeclareInterface"===n||"DeclareModule"===n||"DeclareModuleExports"===n||"DeclareTypeAlias"===n||"DeclareOpaqueType"===n||"DeclareVariable"===n||"DeclareExportDeclaration"===n||"DeclareExportAllDeclaration"===n||"InterfaceDeclaration"===n||"OpaqueType"===n||"TypeAlias"===n)&&(void 0===r||(0,e.default)(t,r))}function di(t,r){if(!t)return!1;const n=t.type;return("FlowPredicate"===n||"DeclaredPredicate"===n||"InferredPredicate"===n)&&(void 0===r||(0,e.default)(t,r))}function ci(t,r){if(!t)return!1;const n=t.type;return("EnumBody"===n||"EnumBooleanBody"===n||"EnumNumberBody"===n||"EnumStringBody"===n||"EnumSymbolBody"===n)&&(void 0===r||(0,e.default)(t,r))}function yi(t,r){if(!t)return!1;const n=t.type;return("EnumMember"===n||"EnumBooleanMember"===n||"EnumNumberMember"===n||"EnumStringMember"===n||"EnumDefaultedMember"===n)&&(void 0===r||(0,e.default)(t,r))}function Ti(t,r){if(!t)return!1;const n=t.type;return("JSX"===n||"JSXAttribute"===n||"JSXClosingElement"===n||"JSXElement"===n||"JSXEmptyExpression"===n||"JSXExpressionContainer"===n||"JSXSpreadChild"===n||"JSXIdentifier"===n||"JSXMemberExpression"===n||"JSXNamespacedName"===n||"JSXOpeningElement"===n||"JSXSpreadAttribute"===n||"JSXText"===n||"JSXFragment"===n||"JSXOpeningFragment"===n||"JSXClosingFragment"===n)&&(void 0===r||(0,e.default)(t,r))}function xi(t,r){if(!t)return!1;const n=t.type;return("Private"===n||"ClassPrivateProperty"===n||"ClassPrivateMethod"===n||"PrivateName"===n)&&(void 0===r||(0,e.default)(t,r))}function Si(t,r){if(!t)return!1;const n=t.type;return("TSTypeElement"===n||"TSCallSignatureDeclaration"===n||"TSConstructSignatureDeclaration"===n||"TSPropertySignature"===n||"TSMethodSignature"===n||"TSIndexSignature"===n)&&(void 0===r||(0,e.default)(t,r))}function mi(t,r){if(!t)return!1;const n=t.type;return("TSType"===n||"TSAnyKeyword"===n||"TSBooleanKeyword"===n||"TSBigIntKeyword"===n||"TSIntrinsicKeyword"===n||"TSNeverKeyword"===n||"TSNullKeyword"===n||"TSNumberKeyword"===n||"TSObjectKeyword"===n||"TSStringKeyword"===n||"TSSymbolKeyword"===n||"TSUndefinedKeyword"===n||"TSUnknownKeyword"===n||"TSVoidKeyword"===n||"TSThisType"===n||"TSFunctionType"===n||"TSConstructorType"===n||"TSTypeReference"===n||"TSTypePredicate"===n||"TSTypeQuery"===n||"TSTypeLiteral"===n||"TSArrayType"===n||"TSTupleType"===n||"TSOptionalType"===n||"TSRestType"===n||"TSUnionType"===n||"TSIntersectionType"===n||"TSConditionalType"===n||"TSInferType"===n||"TSParenthesizedType"===n||"TSTypeOperator"===n||"TSIndexedAccessType"===n||"TSMappedType"===n||"TSLiteralType"===n||"TSExpressionWithTypeArguments"===n||"TSImportType"===n)&&(void 0===r||(0,e.default)(t,r))}function vi(t,r){if(!t)return!1;const n=t.type;return("TSBaseType"===n||"TSAnyKeyword"===n||"TSBooleanKeyword"===n||"TSBigIntKeyword"===n||"TSIntrinsicKeyword"===n||"TSNeverKeyword"===n||"TSNullKeyword"===n||"TSNumberKeyword"===n||"TSObjectKeyword"===n||"TSStringKeyword"===n||"TSSymbolKeyword"===n||"TSUndefinedKeyword"===n||"TSUnknownKeyword"===n||"TSVoidKeyword"===n||"TSThisType"===n||"TSLiteralType"===n)&&(void 0===r||(0,e.default)(t,r))}function Ei(t,r){if(console.trace("The node type NumberLiteral has been renamed to NumericLiteral"),!t)return!1;return"NumberLiteral"===t.type&&(void 0===r||(0,e.default)(t,r))}function Di(t,r){if(console.trace("The node type RegexLiteral has been renamed to RegExpLiteral"),!t)return!1;return"RegexLiteral"===t.type&&(void 0===r||(0,e.default)(t,r))}function Ai(t,r){if(console.trace("The node type RestProperty has been renamed to RestElement"),!t)return!1;return"RestProperty"===t.type&&(void 0===r||(0,e.default)(t,r))}function Pi(t,r){if(console.trace("The node type SpreadProperty has been renamed to SpreadElement"),!t)return!1;return"SpreadProperty"===t.type&&(void 0===r||(0,e.default)(t,r))}
  },{"../../utils/shallowEqual":"nu1T"}],"cdpc":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=require("./generated");function r(r,t,n){if(!(0,e.isMemberExpression)(r))return!1;const i=Array.isArray(t)?t:t.split("."),s=[];let l;for(l=r;(0,e.isMemberExpression)(l);l=l.object)s.push(l.property);if(s.push(l),s.length<i.length)return!1;if(!n&&s.length>i.length)return!1;for(let u=0,o=s.length-1;u<i.length;u++,o--){const r=s[o];let t;if((0,e.isIdentifier)(r))t=r.name;else{if(!(0,e.isStringLiteral)(r))return!1;t=r.value}if(i[u]!==t)return!1}return!0}
  },{"./generated":"iqnQ"}],"bML2":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=t(require("./matchesPattern"));function t(e){return e&&e.__esModule?e:{default:e}}function r(t,r){const u=t.split(".");return t=>(0,e.default)(t,u,r)}
  },{"./matchesPattern":"cdpc"}],"TduV":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("../buildMatchMemberExpression"));function t(e){return e&&e.__esModule?e:{default:e}}const r=(0,e.default)("React.Component");var o=r;exports.default=o;
  },{"../buildMatchMemberExpression":"bML2"}],"lzKE":[function(require,module,exports) {
  "use strict";function e(e){return!!e&&/^[a-z]/.test(e)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;
  },{}],"s9iF":[function(require,module,exports) {
  function t(){this.__data__=[],this.size=0}module.exports=t;
  },{}],"LIpy":[function(require,module,exports) {
  function e(e,n){return e===n||e!=e&&n!=n}module.exports=e;
  },{}],"yEjJ":[function(require,module,exports) {
  var r=require("./eq");function e(e,n){for(var t=e.length;t--;)if(r(e[t][0],n))return t;return-1}module.exports=e;
  },{"./eq":"LIpy"}],"bWyl":[function(require,module,exports) {
  var e=require("./_assocIndexOf"),r=Array.prototype,t=r.splice;function a(r){var a=this.__data__,o=e(a,r);return!(o<0)&&(o==a.length-1?a.pop():t.call(a,o,1),--this.size,!0)}module.exports=a;
  },{"./_assocIndexOf":"yEjJ"}],"Ewuv":[function(require,module,exports) {
  var r=require("./_assocIndexOf");function e(e){var a=this.__data__,o=r(a,e);return o<0?void 0:a[o][1]}module.exports=e;
  },{"./_assocIndexOf":"yEjJ"}],"xDQX":[function(require,module,exports) {
  var e=require("./_assocIndexOf");function r(r){return e(this.__data__,r)>-1}module.exports=r;
  },{"./_assocIndexOf":"yEjJ"}],"h0zV":[function(require,module,exports) {
  var s=require("./_assocIndexOf");function e(e,r){var t=this.__data__,i=s(t,e);return i<0?(++this.size,t.push([e,r])):t[i][1]=r,this}module.exports=e;
  },{"./_assocIndexOf":"yEjJ"}],"Xk23":[function(require,module,exports) {
  var e=require("./_listCacheClear"),t=require("./_listCacheDelete"),r=require("./_listCacheGet"),l=require("./_listCacheHas"),o=require("./_listCacheSet");function a(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var l=e[t];this.set(l[0],l[1])}}a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=l,a.prototype.set=o,module.exports=a;
  },{"./_listCacheClear":"s9iF","./_listCacheDelete":"bWyl","./_listCacheGet":"Ewuv","./_listCacheHas":"xDQX","./_listCacheSet":"h0zV"}],"y4DG":[function(require,module,exports) {
  var e=require("./_ListCache");function i(){this.__data__=new e,this.size=0}module.exports=i;
  },{"./_ListCache":"Xk23"}],"TpjK":[function(require,module,exports) {
  function e(e){var t=this.__data__,i=t.delete(e);return this.size=t.size,i}module.exports=e;
  },{}],"skbs":[function(require,module,exports) {
  function t(t){return this.__data__.get(t)}module.exports=t;
  },{}],"ocJ6":[function(require,module,exports) {
  function t(t){return this.__data__.has(t)}module.exports=t;
  },{}],"j3D9":[function(require,module,exports) {
  var global = arguments[3];
  var e=arguments[3],t="object"==typeof e&&e&&e.Object===Object&&e;module.exports=t;
  },{}],"MIhM":[function(require,module,exports) {
  var e=require("./_freeGlobal"),t="object"==typeof self&&self&&self.Object===Object&&self,l=e||t||Function("return this")();module.exports=l;
  },{"./_freeGlobal":"j3D9"}],"wppe":[function(require,module,exports) {
  var o=require("./_root"),r=o.Symbol;module.exports=r;
  },{"./_root":"MIhM"}],"uiOY":[function(require,module,exports) {
  var r=require("./_Symbol"),t=Object.prototype,e=t.hasOwnProperty,o=t.toString,a=r?r.toStringTag:void 0;function l(r){var t=e.call(r,a),l=r[a];try{r[a]=void 0;var c=!0}catch(n){}var i=o.call(r);return c&&(t?r[a]=l:delete r[a]),i}module.exports=l;
  },{"./_Symbol":"wppe"}],"lPmd":[function(require,module,exports) {
  var t=Object.prototype,o=t.toString;function r(t){return o.call(t)}module.exports=r;
  },{}],"e5TX":[function(require,module,exports) {
  var e=require("./_Symbol"),r=require("./_getRawTag"),o=require("./_objectToString"),t="[object Null]",i="[object Undefined]",n=e?e.toStringTag:void 0;function u(e){return null==e?void 0===e?i:t:n&&n in Object(e)?r(e):o(e)}module.exports=u;
  },{"./_Symbol":"wppe","./_getRawTag":"uiOY","./_objectToString":"lPmd"}],"u9vI":[function(require,module,exports) {
  function n(n){var o=typeof n;return null!=n&&("object"==o||"function"==o)}module.exports=n;
  },{}],"dRuq":[function(require,module,exports) {
  var e=require("./_baseGetTag"),r=require("./isObject"),t="[object AsyncFunction]",n="[object Function]",o="[object GeneratorFunction]",c="[object Proxy]";function u(u){if(!r(u))return!1;var i=e(u);return i==n||i==o||i==t||i==c}module.exports=u;
  },{"./_baseGetTag":"e5TX","./isObject":"u9vI"}],"q3B8":[function(require,module,exports) {
  var r=require("./_root"),e=r["__core-js_shared__"];module.exports=e;
  },{"./_root":"MIhM"}],"qpNZ":[function(require,module,exports) {
  var e=require("./_coreJsData"),r=function(){var r=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function n(e){return!!r&&r in e}module.exports=n;
  },{"./_coreJsData":"q3B8"}],"g55O":[function(require,module,exports) {
  var t=Function.prototype,r=t.toString;function n(t){if(null!=t){try{return r.call(t)}catch(n){}try{return t+""}catch(n){}}return""}module.exports=n;
  },{}],"iEGD":[function(require,module,exports) {
  var e=require("./isFunction"),r=require("./_isMasked"),t=require("./isObject"),o=require("./_toSource"),n=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,i=Function.prototype,u=Object.prototype,p=i.toString,s=u.hasOwnProperty,a=RegExp("^"+p.call(s).replace(n,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function l(n){return!(!t(n)||r(n))&&(e(n)?a:c).test(o(n))}module.exports=l;
  },{"./isFunction":"dRuq","./_isMasked":"qpNZ","./isObject":"u9vI","./_toSource":"g55O"}],"Nk5W":[function(require,module,exports) {
  function n(n,o){return null==n?void 0:n[o]}module.exports=n;
  },{}],"bViC":[function(require,module,exports) {
  var e=require("./_baseIsNative"),r=require("./_getValue");function u(u,a){var i=r(u,a);return e(i)?i:void 0}module.exports=u;
  },{"./_baseIsNative":"iEGD","./_getValue":"Nk5W"}],"K9uV":[function(require,module,exports) {
  var e=require("./_getNative"),r=require("./_root"),o=e(r,"Map");module.exports=o;
  },{"./_getNative":"bViC","./_root":"MIhM"}],"FTXF":[function(require,module,exports) {
  var e=require("./_getNative"),r=e(Object,"create");module.exports=r;
  },{"./_getNative":"bViC"}],"RxSq":[function(require,module,exports) {
  var e=require("./_nativeCreate");function t(){this.__data__=e?e(null):{},this.size=0}module.exports=t;
  },{"./_nativeCreate":"FTXF"}],"qBl2":[function(require,module,exports) {
  function t(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}module.exports=t;
  },{}],"hClK":[function(require,module,exports) {
  var e=require("./_nativeCreate"),r="__lodash_hash_undefined__",t=Object.prototype,a=t.hasOwnProperty;function _(t){var _=this.__data__;if(e){var o=_[t];return o===r?void 0:o}return a.call(_,t)?_[t]:void 0}module.exports=_;
  },{"./_nativeCreate":"FTXF"}],"YIaf":[function(require,module,exports) {
  var e=require("./_nativeCreate"),r=Object.prototype,t=r.hasOwnProperty;function a(r){var a=this.__data__;return e?void 0!==a[r]:t.call(a,r)}module.exports=a;
  },{"./_nativeCreate":"FTXF"}],"Ag0p":[function(require,module,exports) {
  var e=require("./_nativeCreate"),_="__lodash_hash_undefined__";function i(i,t){var a=this.__data__;return this.size+=this.has(i)?0:1,a[i]=e&&void 0===t?_:t,this}module.exports=i;
  },{"./_nativeCreate":"FTXF"}],"C8N4":[function(require,module,exports) {
  var e=require("./_hashClear"),r=require("./_hashDelete"),t=require("./_hashGet"),h=require("./_hashHas"),o=require("./_hashSet");function a(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var h=e[r];this.set(h[0],h[1])}}a.prototype.clear=e,a.prototype.delete=r,a.prototype.get=t,a.prototype.has=h,a.prototype.set=o,module.exports=a;
  },{"./_hashClear":"RxSq","./_hashDelete":"qBl2","./_hashGet":"hClK","./_hashHas":"YIaf","./_hashSet":"Ag0p"}],"lBq7":[function(require,module,exports) {
  var e=require("./_Hash"),i=require("./_ListCache"),r=require("./_Map");function a(){this.size=0,this.__data__={hash:new e,map:new(r||i),string:new e}}module.exports=a;
  },{"./_Hash":"C8N4","./_ListCache":"Xk23","./_Map":"K9uV"}],"XJYD":[function(require,module,exports) {
  function o(o){var n=typeof o;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==o:null===o}module.exports=o;
  },{}],"ZC1a":[function(require,module,exports) {
  var r=require("./_isKeyable");function e(e,a){var t=e.__data__;return r(a)?t["string"==typeof a?"string":"hash"]:t.map}module.exports=e;
  },{"./_isKeyable":"XJYD"}],"cDyG":[function(require,module,exports) {
  var e=require("./_getMapData");function t(t){var r=e(this,t).delete(t);return this.size-=r?1:0,r}module.exports=t;
  },{"./_getMapData":"ZC1a"}],"G3gK":[function(require,module,exports) {
  var e=require("./_getMapData");function t(t){return e(this,t).get(t)}module.exports=t;
  },{"./_getMapData":"ZC1a"}],"ueph":[function(require,module,exports) {
  var e=require("./_getMapData");function r(r){return e(this,r).has(r)}module.exports=r;
  },{"./_getMapData":"ZC1a"}],"UY82":[function(require,module,exports) {
  var e=require("./_getMapData");function t(t,i){var s=e(this,t),r=s.size;return s.set(t,i),this.size+=s.size==r?0:1,this}module.exports=t;
  },{"./_getMapData":"ZC1a"}],"wtMJ":[function(require,module,exports) {
  var e=require("./_mapCacheClear"),r=require("./_mapCacheDelete"),t=require("./_mapCacheGet"),a=require("./_mapCacheHas"),p=require("./_mapCacheSet");function o(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var a=e[r];this.set(a[0],a[1])}}o.prototype.clear=e,o.prototype.delete=r,o.prototype.get=t,o.prototype.has=a,o.prototype.set=p,module.exports=o;
  },{"./_mapCacheClear":"lBq7","./_mapCacheDelete":"cDyG","./_mapCacheGet":"G3gK","./_mapCacheHas":"ueph","./_mapCacheSet":"UY82"}],"fwYF":[function(require,module,exports) {
  var e=require("./_ListCache"),i=require("./_Map"),t=require("./_MapCache"),s=200;function _(_,a){var r=this.__data__;if(r instanceof e){var h=r.__data__;if(!i||h.length<s-1)return h.push([_,a]),this.size=++r.size,this;r=this.__data__=new t(h)}return r.set(_,a),this.size=r.size,this}module.exports=_;
  },{"./_ListCache":"Xk23","./_Map":"K9uV","./_MapCache":"wtMJ"}],"I84N":[function(require,module,exports) {
  var e=require("./_ListCache"),t=require("./_stackClear"),r=require("./_stackDelete"),a=require("./_stackGet"),s=require("./_stackHas"),o=require("./_stackSet");function i(t){var r=this.__data__=new e(t);this.size=r.size}i.prototype.clear=t,i.prototype.delete=r,i.prototype.get=a,i.prototype.has=s,i.prototype.set=o,module.exports=i;
  },{"./_ListCache":"Xk23","./_stackClear":"y4DG","./_stackDelete":"TpjK","./_stackGet":"skbs","./_stackHas":"ocJ6","./_stackSet":"fwYF"}],"D78i":[function(require,module,exports) {
  function n(n,r){for(var e=-1,l=null==n?0:n.length;++e<l&&!1!==r(n[e],e,n););return n}module.exports=n;
  },{}],"kAdy":[function(require,module,exports) {
  var e=require("./_getNative"),r=function(){try{var r=e(Object,"defineProperty");return r({},"",{}),r}catch(t){}}();module.exports=r;
  },{"./_getNative":"bViC"}],"d05L":[function(require,module,exports) {
  var e=require("./_defineProperty");function r(r,o,u){"__proto__"==o&&e?e(r,o,{configurable:!0,enumerable:!0,value:u,writable:!0}):r[o]=u}module.exports=r;
  },{"./_defineProperty":"kAdy"}],"pS95":[function(require,module,exports) {
  var e=require("./_baseAssignValue"),r=require("./eq"),o=Object.prototype,a=o.hasOwnProperty;function i(o,i,t){var n=o[i];a.call(o,i)&&r(n,t)&&(void 0!==t||i in o)||e(o,i,t)}module.exports=i;
  },{"./_baseAssignValue":"d05L","./eq":"LIpy"}],"dtkN":[function(require,module,exports) {
  var r=require("./_assignValue"),e=require("./_baseAssignValue");function a(a,i,u,n){var o=!u;u||(u={});for(var s=-1,v=i.length;++s<v;){var l=i[s],t=n?n(u[l],a[l],l,u,a):void 0;void 0===t&&(t=a[l]),o?e(u,l,t):r(u,l,t)}return u}module.exports=a;
  },{"./_assignValue":"pS95","./_baseAssignValue":"d05L"}],"r8MY":[function(require,module,exports) {
  function r(r,o){for(var e=-1,n=Array(r);++e<r;)n[e]=o(e);return n}module.exports=r;
  },{}],"OuyB":[function(require,module,exports) {
  function e(e){return null!=e&&"object"==typeof e}module.exports=e;
  },{}],"pK4Y":[function(require,module,exports) {
  var e=require("./_baseGetTag"),r=require("./isObjectLike"),t="[object Arguments]";function u(u){return r(u)&&e(u)==t}module.exports=u;
  },{"./_baseGetTag":"e5TX","./isObjectLike":"OuyB"}],"tilN":[function(require,module,exports) {
  var e=require("./_baseIsArguments"),r=require("./isObjectLike"),t=Object.prototype,l=t.hasOwnProperty,n=t.propertyIsEnumerable,u=e(function(){return arguments}())?e:function(e){return r(e)&&l.call(e,"callee")&&!n.call(e,"callee")};module.exports=u;
  },{"./_baseIsArguments":"pK4Y","./isObjectLike":"OuyB"}],"p0cq":[function(require,module,exports) {
  var r=Array.isArray;module.exports=r;
  },{}],"PYZb":[function(require,module,exports) {
  function e(){return!1}module.exports=e;
  },{}],"iyC2":[function(require,module,exports) {
  
  var e=require("./_root"),o=require("./stubFalse"),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,t=r&&"object"==typeof module&&module&&!module.nodeType&&module,p=t&&t.exports===r,u=p?e.Buffer:void 0,d=u?u.isBuffer:void 0,s=d||o;module.exports=s;
  },{"./_root":"MIhM","./stubFalse":"PYZb"}],"AGrE":[function(require,module,exports) {
  var e=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function t(t,n){var o=typeof t;return!!(n=null==n?e:n)&&("number"==o||"symbol"!=o&&r.test(t))&&t>-1&&t%1==0&&t<n}module.exports=t;
  },{}],"GmNU":[function(require,module,exports) {
  var e=9007199254740991;function r(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=e}module.exports=r;
  },{}],"L2LX":[function(require,module,exports) {
  var e=require("./_baseGetTag"),t=require("./isLength"),r=require("./isObjectLike"),o="[object Arguments]",b="[object Array]",c="[object Boolean]",j="[object Date]",a="[object Error]",n="[object Function]",i="[object Map]",A="[object Number]",y="[object Object]",u="[object RegExp]",g="[object Set]",l="[object String]",p="[object WeakMap]",s="[object ArrayBuffer]",m="[object DataView]",U="[object Float32Array]",f="[object Float64Array]",q="[object Int8Array]",F="[object Int16Array]",I="[object Int32Array]",d="[object Uint8Array]",h="[object Uint8ClampedArray]",k="[object Uint16Array]",x="[object Uint32Array]",B={};function D(o){return r(o)&&t(o.length)&&!!B[e(o)]}B[U]=B[f]=B[q]=B[F]=B[I]=B[d]=B[h]=B[k]=B[x]=!0,B[o]=B[b]=B[s]=B[c]=B[m]=B[j]=B[a]=B[n]=B[i]=B[A]=B[y]=B[u]=B[g]=B[l]=B[p]=!1,module.exports=D;
  },{"./_baseGetTag":"e5TX","./isLength":"GmNU","./isObjectLike":"OuyB"}],"PnXa":[function(require,module,exports) {
  function n(n){return function(r){return n(r)}}module.exports=n;
  },{}],"PBPf":[function(require,module,exports) {
  var e=require("./_freeGlobal"),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=o&&"object"==typeof module&&module&&!module.nodeType&&module,t=r&&r.exports===o,p=t&&e.process,u=function(){try{var e=r&&r.require&&r.require("util").types;return e||p&&p.binding&&p.binding("util")}catch(o){}}();module.exports=u;
  },{"./_freeGlobal":"j3D9"}],"kwIb":[function(require,module,exports) {
  var e=require("./_baseIsTypedArray"),r=require("./_baseUnary"),a=require("./_nodeUtil"),i=a&&a.isTypedArray,s=i?r(i):e;module.exports=s;
  },{"./_baseIsTypedArray":"L2LX","./_baseUnary":"PnXa","./_nodeUtil":"PBPf"}],"VcLW":[function(require,module,exports) {
  var e=require("./_baseTimes"),r=require("./isArguments"),t=require("./isArray"),i=require("./isBuffer"),n=require("./_isIndex"),s=require("./isTypedArray"),u=Object.prototype,f=u.hasOwnProperty;function a(u,a){var o=t(u),p=!o&&r(u),y=!o&&!p&&i(u),g=!o&&!p&&!y&&s(u),h=o||p||y||g,l=h?e(u.length,String):[],q=l.length;for(var b in u)!a&&!f.call(u,b)||h&&("length"==b||y&&("offset"==b||"parent"==b)||g&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||n(b,q))||l.push(b);return l}module.exports=a;
  },{"./_baseTimes":"r8MY","./isArguments":"tilN","./isArray":"p0cq","./isBuffer":"iyC2","./_isIndex":"AGrE","./isTypedArray":"kwIb"}],"nhsl":[function(require,module,exports) {
  var t=Object.prototype;function o(o){var r=o&&o.constructor;return o===("function"==typeof r&&r.prototype||t)}module.exports=o;
  },{}],"oss3":[function(require,module,exports) {
  function n(n,r){return function(t){return n(r(t))}}module.exports=n;
  },{}],"J1oc":[function(require,module,exports) {
  var e=require("./_overArg"),r=e(Object.keys,Object);module.exports=r;
  },{"./_overArg":"oss3"}],"BNjb":[function(require,module,exports) {
  var r=require("./_isPrototype"),e=require("./_nativeKeys"),t=Object.prototype,o=t.hasOwnProperty;function n(t){if(!r(t))return e(t);var n=[];for(var u in Object(t))o.call(t,u)&&"constructor"!=u&&n.push(u);return n}module.exports=n;
  },{"./_isPrototype":"nhsl","./_nativeKeys":"J1oc"}],"LN6c":[function(require,module,exports) {
  var e=require("./isFunction"),n=require("./isLength");function r(r){return null!=r&&n(r.length)&&!e(r)}module.exports=r;
  },{"./isFunction":"dRuq","./isLength":"GmNU"}],"HI10":[function(require,module,exports) {
  var e=require("./_arrayLikeKeys"),r=require("./_baseKeys"),i=require("./isArrayLike");function u(u){return i(u)?e(u):r(u)}module.exports=u;
  },{"./_arrayLikeKeys":"VcLW","./_baseKeys":"BNjb","./isArrayLike":"LN6c"}],"eFjB":[function(require,module,exports) {
  var e=require("./_copyObject"),r=require("./keys");function u(u,o){return u&&e(o,r(o),u)}module.exports=u;
  },{"./_copyObject":"dtkN","./keys":"HI10"}],"uy4o":[function(require,module,exports) {
  function r(r){var n=[];if(null!=r)for(var u in Object(r))n.push(u);return n}module.exports=r;
  },{}],"FASg":[function(require,module,exports) {
  var r=require("./isObject"),e=require("./_isPrototype"),t=require("./_nativeKeysIn"),o=Object.prototype,i=o.hasOwnProperty;function n(o){if(!r(o))return t(o);var n=e(o),u=[];for(var s in o)("constructor"!=s||!n&&i.call(o,s))&&u.push(s);return u}module.exports=n;
  },{"./isObject":"u9vI","./_isPrototype":"nhsl","./_nativeKeysIn":"uy4o"}],"UACB":[function(require,module,exports) {
  var e=require("./_arrayLikeKeys"),r=require("./_baseKeysIn"),i=require("./isArrayLike");function u(u){return i(u)?e(u,!0):r(u)}module.exports=u;
  },{"./_arrayLikeKeys":"VcLW","./_baseKeysIn":"FASg","./isArrayLike":"LN6c"}],"q2Io":[function(require,module,exports) {
  var e=require("./_copyObject"),r=require("./keysIn");function u(u,n){return u&&e(n,r(n),u)}module.exports=u;
  },{"./_copyObject":"dtkN","./keysIn":"UACB"}],"s4SJ":[function(require,module,exports) {
  
  var e=require("./_root"),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=o&&"object"==typeof module&&module&&!module.nodeType&&module,t=r&&r.exports===o,p=t?e.Buffer:void 0,u=p?p.allocUnsafe:void 0;function n(e,o){if(o)return e.slice();var r=e.length,t=u?u(r):new e.constructor(r);return e.copy(t),t}module.exports=n;
  },{"./_root":"MIhM"}],"Mkgn":[function(require,module,exports) {
  function r(r,e){var n=-1,o=r.length;for(e||(e=Array(o));++n<o;)e[n]=r[n];return e}module.exports=r;
  },{}],"uvMU":[function(require,module,exports) {
  function r(r,n){for(var e=-1,l=null==r?0:r.length,o=0,t=[];++e<l;){var u=r[e];n(u,e,r)&&(t[o++]=u)}return t}module.exports=r;
  },{}],"Mmba":[function(require,module,exports) {
  function e(){return[]}module.exports=e;
  },{}],"EvLK":[function(require,module,exports) {
  var r=require("./_arrayFilter"),e=require("./stubArray"),t=Object.prototype,u=t.propertyIsEnumerable,n=Object.getOwnPropertySymbols,o=n?function(e){return null==e?[]:(e=Object(e),r(n(e),function(r){return u.call(e,r)}))}:e;module.exports=o;
  },{"./_arrayFilter":"uvMU","./stubArray":"Mmba"}],"az4F":[function(require,module,exports) {
  var e=require("./_copyObject"),r=require("./_getSymbols");function o(o,t){return e(o,r(o),t)}module.exports=o;
  },{"./_copyObject":"dtkN","./_getSymbols":"EvLK"}],"srRO":[function(require,module,exports) {
  function e(e,n){for(var r=-1,t=n.length,o=e.length;++r<t;)e[o+r]=n[r];return e}module.exports=e;
  },{}],"CXf5":[function(require,module,exports) {
  var e=require("./_overArg"),r=e(Object.getPrototypeOf,Object);module.exports=r;
  },{"./_overArg":"oss3"}],"q8BM":[function(require,module,exports) {
  var r=require("./_arrayPush"),e=require("./_getPrototype"),t=require("./_getSymbols"),o=require("./stubArray"),u=Object.getOwnPropertySymbols,y=u?function(o){for(var u=[];o;)r(u,t(o)),o=e(o);return u}:o;module.exports=y;
  },{"./_arrayPush":"srRO","./_getPrototype":"CXf5","./_getSymbols":"EvLK","./stubArray":"Mmba"}],"K7uZ":[function(require,module,exports) {
  var e=require("./_copyObject"),r=require("./_getSymbolsIn");function o(o,t){return e(o,r(o),t)}module.exports=o;
  },{"./_copyObject":"dtkN","./_getSymbolsIn":"q8BM"}],"Vhgk":[function(require,module,exports) {
  var r=require("./_arrayPush"),e=require("./isArray");function u(u,a,i){var n=a(u);return e(u)?n:r(n,i(u))}module.exports=u;
  },{"./_arrayPush":"srRO","./isArray":"p0cq"}],"uf6I":[function(require,module,exports) {
  var e=require("./_baseGetAllKeys"),r=require("./_getSymbols"),u=require("./keys");function s(s){return e(s,u,r)}module.exports=s;
  },{"./_baseGetAllKeys":"Vhgk","./_getSymbols":"EvLK","./keys":"HI10"}],"l4Ef":[function(require,module,exports) {
  var e=require("./_baseGetAllKeys"),r=require("./_getSymbolsIn"),u=require("./keysIn");function n(n){return e(n,u,r)}module.exports=n;
  },{"./_baseGetAllKeys":"Vhgk","./_getSymbolsIn":"q8BM","./keysIn":"UACB"}],"fLfT":[function(require,module,exports) {
  var e=require("./_getNative"),r=require("./_root"),t=e(r,"DataView");module.exports=t;
  },{"./_getNative":"bViC","./_root":"MIhM"}],"gTEC":[function(require,module,exports) {
  var e=require("./_getNative"),r=require("./_root"),o=e(r,"Promise");module.exports=o;
  },{"./_getNative":"bViC","./_root":"MIhM"}],"IVes":[function(require,module,exports) {
  var e=require("./_getNative"),r=require("./_root"),t=e(r,"Set");module.exports=t;
  },{"./_getNative":"bViC","./_root":"MIhM"}],"N036":[function(require,module,exports) {
  var e=require("./_getNative"),r=require("./_root"),a=e(r,"WeakMap");module.exports=a;
  },{"./_getNative":"bViC","./_root":"MIhM"}],"tQCT":[function(require,module,exports) {
  var e=require("./_DataView"),r=require("./_Map"),t=require("./_Promise"),a=require("./_Set"),u=require("./_WeakMap"),c=require("./_baseGetTag"),o=require("./_toSource"),i="[object Map]",n="[object Object]",s="[object Promise]",b="[object Set]",w="[object WeakMap]",j="[object DataView]",q=o(e),_=o(r),p=o(t),f=o(a),v=o(u),M=c;(e&&M(new e(new ArrayBuffer(1)))!=j||r&&M(new r)!=i||t&&M(t.resolve())!=s||a&&M(new a)!=b||u&&M(new u)!=w)&&(M=function(e){var r=c(e),t=r==n?e.constructor:void 0,a=t?o(t):"";if(a)switch(a){case q:return j;case _:return i;case p:return s;case f:return b;case v:return w}return r}),module.exports=M;
  },{"./_DataView":"fLfT","./_Map":"K9uV","./_Promise":"gTEC","./_Set":"IVes","./_WeakMap":"N036","./_baseGetTag":"e5TX","./_toSource":"g55O"}],"f7dW":[function(require,module,exports) {
  var t=Object.prototype,n=t.hasOwnProperty;function e(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&n.call(t,"index")&&(r.index=t.index,r.input=t.input),r}module.exports=e;
  },{}],"yfX1":[function(require,module,exports) {
  var r=require("./_root"),e=r.Uint8Array;module.exports=e;
  },{"./_root":"MIhM"}],"zb3a":[function(require,module,exports) {
  var e=require("./_Uint8Array");function r(r){var n=new r.constructor(r.byteLength);return new e(n).set(new e(r)),n}module.exports=r;
  },{"./_Uint8Array":"yfX1"}],"aWGB":[function(require,module,exports) {
  var e=require("./_cloneArrayBuffer");function r(r,f){var t=f?e(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.byteLength)}module.exports=r;
  },{"./_cloneArrayBuffer":"zb3a"}],"jskC":[function(require,module,exports) {
  var e=/\w*$/;function r(r){var n=new r.constructor(r.source,e.exec(r));return n.lastIndex=r.lastIndex,n}module.exports=r;
  },{}],"WLsS":[function(require,module,exports) {
  var e=require("./_Symbol"),o=e?e.prototype:void 0,r=o?o.valueOf:void 0;function t(e){return r?Object(r.call(e)):{}}module.exports=t;
  },{"./_Symbol":"wppe"}],"jXAN":[function(require,module,exports) {
  var r=require("./_cloneArrayBuffer");function e(e,f){var t=f?r(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}module.exports=e;
  },{"./_cloneArrayBuffer":"zb3a"}],"mAMs":[function(require,module,exports) {
  var e=require("./_cloneArrayBuffer"),r=require("./_cloneDataView"),c=require("./_cloneRegExp"),t=require("./_cloneSymbol"),a=require("./_cloneTypedArray"),o="[object Boolean]",n="[object Date]",b="[object Map]",s="[object Number]",u="[object RegExp]",j="[object Set]",y="[object String]",i="[object Symbol]",l="[object ArrayBuffer]",A="[object DataView]",w="[object Float32Array]",p="[object Float64Array]",f="[object Int8Array]",m="[object Int16Array]",q="[object Int32Array]",_="[object Uint8Array]",S="[object Uint8ClampedArray]",U="[object Uint16Array]",d="[object Uint32Array]";function g(g,x,B){var D=g.constructor;switch(x){case l:return e(g);case o:case n:return new D(+g);case A:return r(g,B);case w:case p:case f:case m:case q:case _:case S:case U:case d:return a(g,B);case b:return new D;case s:case y:return new D(g);case u:return c(g);case j:return new D;case i:return t(g)}}module.exports=g;
  },{"./_cloneArrayBuffer":"zb3a","./_cloneDataView":"aWGB","./_cloneRegExp":"jskC","./_cloneSymbol":"WLsS","./_cloneTypedArray":"jXAN"}],"ga8q":[function(require,module,exports) {
  var r=require("./isObject"),e=Object.create,t=function(){function t(){}return function(n){if(!r(n))return{};if(e)return e(n);t.prototype=n;var o=new t;return t.prototype=void 0,o}}();module.exports=t;
  },{"./isObject":"u9vI"}],"qE2F":[function(require,module,exports) {
  var e=require("./_baseCreate"),r=require("./_getPrototype"),t=require("./_isPrototype");function o(o){return"function"!=typeof o.constructor||t(o)?{}:e(r(o))}module.exports=o;
  },{"./_baseCreate":"ga8q","./_getPrototype":"CXf5","./_isPrototype":"nhsl"}],"WYUj":[function(require,module,exports) {
  var e=require("./_getTag"),r=require("./isObjectLike"),t="[object Map]";function i(i){return r(i)&&e(i)==t}module.exports=i;
  },{"./_getTag":"tQCT","./isObjectLike":"OuyB"}],"rjxD":[function(require,module,exports) {
  var e=require("./_baseIsMap"),r=require("./_baseUnary"),a=require("./_nodeUtil"),i=a&&a.isMap,s=i?r(i):e;module.exports=s;
  },{"./_baseIsMap":"WYUj","./_baseUnary":"PnXa","./_nodeUtil":"PBPf"}],"NM6E":[function(require,module,exports) {
  var e=require("./_getTag"),r=require("./isObjectLike"),t="[object Set]";function i(i){return r(i)&&e(i)==t}module.exports=i;
  },{"./_getTag":"tQCT","./isObjectLike":"OuyB"}],"Z5jp":[function(require,module,exports) {
  var e=require("./_baseIsSet"),r=require("./_baseUnary"),i=require("./_nodeUtil"),s=i&&i.isSet,a=s?r(s):e;module.exports=a;
  },{"./_baseIsSet":"NM6E","./_baseUnary":"PnXa","./_nodeUtil":"PBPf"}],"s7WH":[function(require,module,exports) {
  var e=require("./_Stack"),r=require("./_arrayEach"),t=require("./_assignValue"),i=require("./_baseAssign"),o=require("./_baseAssignIn"),n=require("./_cloneBuffer"),a=require("./_copyArray"),c=require("./_copySymbols"),u=require("./_copySymbolsIn"),b=require("./_getAllKeys"),j=require("./_getAllKeysIn"),y=require("./_getTag"),s=require("./_initCloneArray"),q=require("./_initCloneByTag"),f=require("./_initCloneObject"),l=require("./isArray"),A=require("./isBuffer"),_=require("./isMap"),g=require("./isObject"),p=require("./isSet"),v=require("./keys"),m=require("./keysIn"),I=1,S=2,d=4,B="[object Arguments]",E="[object Array]",k="[object Boolean]",C="[object Date]",F="[object Error]",U="[object Function]",h="[object GeneratorFunction]",M="[object Map]",O="[object Number]",w="[object Object]",x="[object RegExp]",D="[object Set]",K="[object String]",T="[object Symbol]",V="[object WeakMap]",G="[object ArrayBuffer]",N="[object DataView]",R="[object Float32Array]",W="[object Float64Array]",z="[object Int8Array]",H="[object Int16Array]",J="[object Int32Array]",L="[object Uint8Array]",P="[object Uint8ClampedArray]",Q="[object Uint16Array]",X="[object Uint32Array]",Y={};function Z(E,k,C,F,M,O){var x,D=k&I,K=k&S,T=k&d;if(C&&(x=M?C(E,F,M,O):C(E)),void 0!==x)return x;if(!g(E))return E;var V=l(E);if(V){if(x=s(E),!D)return a(E,x)}else{var G=y(E),N=G==U||G==h;if(A(E))return n(E,D);if(G==w||G==B||N&&!M){if(x=K||N?{}:f(E),!D)return K?u(E,o(x,E)):c(E,i(x,E))}else{if(!Y[G])return M?E:{};x=q(E,G,D)}}O||(O=new e);var R=O.get(E);if(R)return R;O.set(E,x),p(E)?E.forEach(function(e){x.add(Z(e,k,C,e,E,O))}):_(E)&&E.forEach(function(e,r){x.set(r,Z(e,k,C,r,E,O))});var W=V?void 0:(T?K?j:b:K?m:v)(E);return r(W||E,function(e,r){W&&(e=E[r=e]),t(x,r,Z(e,k,C,r,E,O))}),x}Y[B]=Y[E]=Y[G]=Y[N]=Y[k]=Y[C]=Y[R]=Y[W]=Y[z]=Y[H]=Y[J]=Y[M]=Y[O]=Y[w]=Y[x]=Y[D]=Y[K]=Y[T]=Y[L]=Y[P]=Y[Q]=Y[X]=!0,Y[F]=Y[U]=Y[V]=!1,module.exports=Z;
  },{"./_Stack":"I84N","./_arrayEach":"D78i","./_assignValue":"pS95","./_baseAssign":"eFjB","./_baseAssignIn":"q2Io","./_cloneBuffer":"s4SJ","./_copyArray":"Mkgn","./_copySymbols":"az4F","./_copySymbolsIn":"K7uZ","./_getAllKeys":"uf6I","./_getAllKeysIn":"l4Ef","./_getTag":"tQCT","./_initCloneArray":"f7dW","./_initCloneByTag":"mAMs","./_initCloneObject":"qE2F","./isArray":"p0cq","./isBuffer":"iyC2","./isMap":"rjxD","./isObject":"u9vI","./isSet":"Z5jp","./keys":"HI10","./keysIn":"UACB"}],"ACgM":[function(require,module,exports) {
  var e=require("./_baseClone"),r=4;function n(n){return e(n,r)}module.exports=n;
  },{"./_baseClone":"s7WH"}],"BiFU":[function(require,module,exports) {
  "use strict";function t(o){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(o)}let o=null;function n(e){if(null!==o&&t(o.property)){const t=o;return o=n.prototype=null,t}return o=n.prototype=null==e?Object.create(null):e,new n}n(),module.exports=function(t){return n(t)};
  },{}],"KOhW":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=require("../definitions");function r(r,t){if(r===t)return!0;if(e.ALIAS_KEYS[t])return!1;const i=e.FLIPPED_ALIAS_KEYS[t];if(i){if(i[0]===r)return!0;for(const e of i)if(r===e)return!0}return!1}
  },{"../definitions":"xIOT"}],"dGdi":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=require("../definitions");function r(r,t){if(r===t)return!0;const i=e.PLACEHOLDERS_ALIAS[r];if(i)for(const e of i)if(t===e)return!0;return!1}
  },{"../definitions":"xIOT"}],"cs2k":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=l;var e=i(require("../utils/shallowEqual")),r=i(require("./isType")),t=i(require("./isPlaceholderType")),u=require("../definitions");function i(e){return e&&e.__esModule?e:{default:e}}function l(i,l,d){if(!l)return!1;return(0,r.default)(l.type,i)?void 0===d||(0,e.default)(l,d):!d&&"Placeholder"===l.type&&i in u.FLIPPED_ALIAS_KEYS&&(0,t.default)(l.expectedNode,i)}
  },{"../utils/shallowEqual":"nu1T","./isType":"KOhW","./isPlaceholderType":"dGdi","../definitions":"xIOT"}],"zKl3":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isIdentifierStart=s,exports.isIdentifierChar=u,exports.isIdentifierName=l;let e="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ﬀ-ﬆﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼＡ-Ｚａ-ｚｦ-ﾾￂ-ￇￊ-ￏￒ-ￗￚ-ￜ",t="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏０-９＿";const r=new RegExp("["+e+"]"),n=new RegExp("["+e+t+"]");e=t=null;const i=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function f(e,t){let r=65536;for(let n=0,i=t.length;n<i;n+=2){if((r+=t[n])>e)return!1;if((r+=t[n+1])>=e)return!0}return!1}function s(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&r.test(String.fromCharCode(e)):f(e,i)))}function u(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&n.test(String.fromCharCode(e)):f(e,i)||f(e,o))))}function l(e){let t=!0;for(let r=0,n=Array.from(e);r<n.length;r++){const e=n[r].codePointAt(0);if(t){if(!s(e))return!1;t=!1}else if(!u(e))return!1}return!t}
  },{}],"Mrua":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isReservedWord=n,exports.isStrictReservedWord=s,exports.isStrictBindOnlyReservedWord=o,exports.isStrictBindReservedWord=c,exports.isKeyword=d;const e={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},t=new Set(e.keyword),r=new Set(e.strict),i=new Set(e.strictBind);function n(e,t){return t&&"await"===e||"enum"===e}function s(e,t){return n(e,t)||r.has(e)}function o(e){return i.has(e)}function c(e,t){return s(e,t)||o(e)}function d(e){return t.has(e)}
  },{}],"RT1n":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"isIdentifierName",{enumerable:!0,get:function(){return e.isIdentifierName}}),Object.defineProperty(exports,"isIdentifierChar",{enumerable:!0,get:function(){return e.isIdentifierChar}}),Object.defineProperty(exports,"isIdentifierStart",{enumerable:!0,get:function(){return e.isIdentifierStart}}),Object.defineProperty(exports,"isReservedWord",{enumerable:!0,get:function(){return r.isReservedWord}}),Object.defineProperty(exports,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return r.isStrictBindOnlyReservedWord}}),Object.defineProperty(exports,"isStrictBindReservedWord",{enumerable:!0,get:function(){return r.isStrictBindReservedWord}}),Object.defineProperty(exports,"isStrictReservedWord",{enumerable:!0,get:function(){return r.isStrictReservedWord}}),Object.defineProperty(exports,"isKeyword",{enumerable:!0,get:function(){return r.isKeyword}});var e=require("./identifier"),r=require("./keyword");
  },{"./identifier":"zKl3","./keyword":"Mrua"}],"DG3c":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=require("@babel/helper-validator-identifier");function r(r,i=!0){if("string"!=typeof r)return!1;if(i){if((0,e.isKeyword)(r)||(0,e.isStrictReservedWord)(r))return!1;if("await"===r)return!1}return(0,e.isIdentifierName)(r)}
  },{"@babel/helper-validator-identifier":"RT1n"}],"pINp":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NOT_LOCAL_BINDING=exports.BLOCK_SCOPED_SYMBOL=exports.INHERIT_KEYS=exports.UNARY_OPERATORS=exports.STRING_UNARY_OPERATORS=exports.NUMBER_UNARY_OPERATORS=exports.BOOLEAN_UNARY_OPERATORS=exports.ASSIGNMENT_OPERATORS=exports.BINARY_OPERATORS=exports.NUMBER_BINARY_OPERATORS=exports.BOOLEAN_BINARY_OPERATORS=exports.COMPARISON_BINARY_OPERATORS=exports.EQUALITY_BINARY_OPERATORS=exports.BOOLEAN_NUMBER_BINARY_OPERATORS=exports.UPDATE_OPERATORS=exports.LOGICAL_OPERATORS=exports.COMMENT_KEYS=exports.FOR_INIT_KEYS=exports.FLATTENABLE_KEYS=exports.STATEMENT_OR_BLOCK_KEYS=void 0;const o=["consequent","body","alternate"];exports.STATEMENT_OR_BLOCK_KEYS=o;const t=["body","expressions"];exports.FLATTENABLE_KEYS=t;const O=["left","init"];exports.FOR_INIT_KEYS=O;const R=["leadingComments","trailingComments","innerComments"];exports.COMMENT_KEYS=R;const e=["||","&&","??"];exports.LOGICAL_OPERATORS=e;const s=["++","--"];exports.UPDATE_OPERATORS=s;const A=[">","<",">=","<="];exports.BOOLEAN_NUMBER_BINARY_OPERATORS=A;const _=["==","===","!=","!=="];exports.EQUALITY_BINARY_OPERATORS=_;const E=[..._,"in","instanceof"];exports.COMPARISON_BINARY_OPERATORS=E;const r=[...E,...A];exports.BOOLEAN_BINARY_OPERATORS=r;const N=["-","/","%","*","**","&","|",">>",">>>","<<","^"];exports.NUMBER_BINARY_OPERATORS=N;const T=["+",...N,...r];exports.BINARY_OPERATORS=T;const S=["=","+=",...N.map(o=>o+"="),...e.map(o=>o+"=")];exports.ASSIGNMENT_OPERATORS=S;const p=["delete","!"];exports.BOOLEAN_UNARY_OPERATORS=p;const n=["+","-","~"];exports.NUMBER_UNARY_OPERATORS=n;const x=["typeof"];exports.STRING_UNARY_OPERATORS=x;const B=["void","throw",...p,...n,...x];exports.UNARY_OPERATORS=B;const I={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};exports.INHERIT_KEYS=I;const P=Symbol.for("var used to be block scoped");exports.BLOCK_SCOPED_SYMBOL=P;const Y=Symbol.for("should not be considered a local binding");exports.NOT_LOCAL_BINDING=Y;
  },{}],"LEnp":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t,exports.validateField=i,exports.validateChild=n;var e=require("../definitions");function t(t,l,o){if(!t)return;const r=e.NODE_FIELDS[t.type];r&&(i(t,l,o,r[l]),n(t,l,o))}function i(e,t,i,n){(null==n?void 0:n.validate)&&(n.optional&&null==i||n.validate(e,t,i))}function n(t,i,n){if(null==n)return;const l=e.NODE_PARENT_VALIDATIONS[n.type];l&&l(t,i,n)}
  },{"../definitions":"xIOT"}],"e8eR":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.validate=u,exports.typeIs=c,exports.validateType=d,exports.validateOptional=y,exports.validateOptionalType=x,exports.arrayOf=O,exports.arrayOfType=E,exports.validateArrayOfType=v,exports.assertEach=h,exports.assertOneOf=S,exports.assertNodeType=$,exports.assertNodeOrValueType=A,exports.assertValueType=T,exports.assertShape=_,exports.assertOptionalChainStart=b,exports.chain=w,exports.default=g,exports.NODE_PARENT_VALIDATIONS=exports.DEPRECATED_KEYS=exports.BUILDER_KEYS=exports.NODE_FIELDS=exports.FLIPPED_ALIAS_KEYS=exports.ALIAS_KEYS=exports.VISITOR_KEYS=void 0;var e=o(require("../validators/is")),t=require("../validators/validate");function o(e){return e&&e.__esModule?e:{default:e}}const r={};exports.VISITOR_KEYS=r;const n={};exports.ALIAS_KEYS=n;const i={};exports.FLIPPED_ALIAS_KEYS=i;const a={};exports.NODE_FIELDS=a;const s={};exports.BUILDER_KEYS=s;const f={};exports.DEPRECATED_KEYS=f;const l={};function p(e){return Array.isArray(e)?"array":null===e?"null":typeof e}function u(e){return{validate:e}}function c(e){return"string"==typeof e?$(e):$(...e)}function d(e){return u(c(e))}function y(e){return{validate:e,optional:!0}}function x(e){return{validate:c(e),optional:!0}}function O(e){return w(T("array"),h(e))}function E(e){return O(c(e))}function v(e){return u(E(e))}function h(e){function t(t,o,r){if(Array.isArray(r))for(let n=0;n<r.length;n++){const i=`${o}[${n}]`,a=r[n];e(t,i,a)}}return t.each=e,t}function S(...e){function t(t,o,r){if(e.indexOf(r)<0)throw new TypeError(`Property ${o} expected value to be one of ${JSON.stringify(e)} but got ${JSON.stringify(r)}`)}return t.oneOf=e,t}function $(...o){function r(r,n,i){for(const a of o)if((0,e.default)(a,i))return void(0,t.validateChild)(r,n,i);throw new TypeError(`Property ${n} of ${r.type} expected node to be of a type ${JSON.stringify(o)} but instead got ${JSON.stringify(null==i?void 0:i.type)}`)}return r.oneOfNodeTypes=o,r}function A(...o){function r(r,n,i){for(const a of o)if(p(i)===a||(0,e.default)(a,i))return void(0,t.validateChild)(r,n,i);throw new TypeError(`Property ${n} of ${r.type} expected node to be of a type ${JSON.stringify(o)} but instead got ${JSON.stringify(null==i?void 0:i.type)}`)}return r.oneOfNodeOrValueTypes=o,r}function T(e){function t(t,o,r){if(!(p(r)===e))throw new TypeError(`Property ${o} expected type of ${e} but got ${p(r)}`)}return t.type=e,t}function _(e){function o(o,r,n){const i=[];for(const s of Object.keys(e))try{(0,t.validateField)(o,s,n[s],e[s])}catch(a){if(a instanceof TypeError){i.push(a.message);continue}throw a}if(i.length)throw new TypeError(`Property ${r} of ${o.type} expected to have the following:\n${i.join("\n")}`)}return o.shapeOf=e,o}function b(){return function(e){var t;let o=e;for(;e;){const{type:e}=o;if("OptionalCallExpression"!==e){if("OptionalMemberExpression"!==e)break;if(o.optional)return;o=o.object}else{if(o.optional)return;o=o.callee}}throw new TypeError(`Non-optional ${e.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${null==(t=o)?void 0:t.type}`)}}function w(...e){function t(...t){for(const o of e)o(...t)}return t.chainOf=e,t}exports.NODE_PARENT_VALIDATIONS=l;const N=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],I=["default","optional","validate"];function g(e,t={}){const o=t.inherits&&D[t.inherits]||{};let u=t.fields;if(!u&&(u={},o.fields)){const e=Object.getOwnPropertyNames(o.fields);for(const t of e){const e=o.fields[t];u[t]={default:e.default,optional:e.optional,validate:e.validate}}}const c=t.visitor||o.visitor||[],d=t.aliases||o.aliases||[],y=t.builder||o.builder||t.visitor||[];for(const r of Object.keys(t))if(-1===N.indexOf(r))throw new Error(`Unknown type option "${r}" on ${e}`);t.deprecatedAlias&&(f[t.deprecatedAlias]=e);for(const r of c.concat(y))u[r]=u[r]||{};for(const r of Object.keys(u)){const t=u[r];void 0!==t.default&&-1===y.indexOf(r)&&(t.optional=!0),void 0===t.default?t.default=null:t.validate||null==t.default||(t.validate=T(p(t.default)));for(const o of Object.keys(t))if(-1===I.indexOf(o))throw new Error(`Unknown field key "${o}" on ${e}.${r}`)}r[e]=t.visitor=c,s[e]=t.builder=y,a[e]=t.fields=u,n[e]=t.aliases=d,d.forEach(t=>{i[t]=i[t]||[],i[t].push(e)}),t.validate&&(l[e]=t.validate),D[e]=t}const D={};
  },{"../validators/is":"cs2k","../validators/validate":"LEnp"}],"P1WE":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.classMethodOrDeclareMethodCommon=exports.classMethodOrPropertyCommon=exports.patternLikeCommon=exports.functionDeclarationCommon=exports.functionTypeAnnotationCommon=exports.functionCommon=void 0;var e=l(require("../validators/is")),a=l(require("../validators/isValidIdentifier")),t=require("@babel/helper-validator-identifier"),s=require("../constants"),r=o(require("./utils"));function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function o(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=i();if(a&&a.has(e))return a.get(e);var t={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(t,r,o):t[r]=e[r]}return t.default=e,a&&a.set(e,t),t}function l(e){return e&&e.__esModule?e:{default:e}}(0,r.default)("ArrayExpression",{fields:{elements:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,r.default)("AssignmentExpression",{fields:{operator:{validate:(0,r.assertValueType)("string")},left:{validate:(0,r.assertNodeType)("LVal")},right:{validate:(0,r.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),(0,r.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,r.assertOneOf)(...s.BINARY_OPERATORS)},left:{validate:function(){const e=(0,r.assertNodeType)("Expression"),a=(0,r.assertNodeType)("Expression","PrivateName"),t=function(t,s,r){("in"===t.operator?a:e)(t,s,r)};return t.oneOfNodeTypes=["Expression","PrivateName"],t}()},right:{validate:(0,r.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),(0,r.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,r.assertValueType)("string")}}}),(0,r.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,r.assertNodeType)("DirectiveLiteral")}}}),(0,r.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,r.assertValueType)("string")}}}),(0,r.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("Directive"))),default:[]},body:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]}),(0,r.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,r.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),(0,r.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,r.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},{optional:{validate:(0,r.assertOneOf)(!0,!1),optional:!0}},{typeArguments:{validate:(0,r.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,r.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),(0,r.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,r.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,r.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]}),(0,r.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,r.assertNodeType)("Expression")},consequent:{validate:(0,r.assertNodeType)("Expression")},alternate:{validate:(0,r.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),(0,r.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,r.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),(0,r.default)("DebuggerStatement",{aliases:["Statement"]}),(0,r.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,r.assertNodeType)("Expression")},body:{validate:(0,r.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),(0,r.default)("EmptyStatement",{aliases:["Statement"]}),(0,r.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,r.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),(0,r.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,r.assertNodeType)("Program")},comments:{validate:Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,r.assertEach)(Object.assign(()=>{},{type:"any"})),optional:!0}}}),(0,r.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(0,r.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,r.assertNodeType)("Expression")},body:{validate:(0,r.assertNodeType)("Statement")}}}),(0,r.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,r.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,r.assertNodeType)("Expression"),optional:!0},update:{validate:(0,r.assertNodeType)("Expression"),optional:!0},body:{validate:(0,r.assertNodeType)("Statement")}}});const n={params:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},generator:{default:!1},async:{default:!1}};exports.functionCommon=n;const d={returnType:{validate:(0,r.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,r.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}};exports.functionTypeAnnotationCommon=d;const p=Object.assign({},n,{declare:{validate:(0,r.assertValueType)("boolean"),optional:!0},id:{validate:(0,r.assertNodeType)("Identifier"),optional:!0}});exports.functionDeclarationCommon=p,(0,r.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,d,{body:{validate:(0,r.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:()=>{}}),(0,r.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},n,d,{id:{validate:(0,r.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,r.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,r.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("Decorator")))}};exports.patternLikeCommon=c,(0,r.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,r.chain)((0,r.assertValueType)("string"),Object.assign(function(e,a,t){},{type:"string"}))},optional:{validate:(0,r.assertValueType)("boolean"),optional:!0}}),validate(e,a,t){}}),(0,r.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,r.assertNodeType)("Expression")},consequent:{validate:(0,r.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,r.assertNodeType)("Statement")}}}),(0,r.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,r.assertNodeType)("Identifier")},body:{validate:(0,r.assertNodeType)("Statement")}}}),(0,r.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,r.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,r.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,r.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,r.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),(0,r.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,r.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,r.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,r.assertValueType)("string")},flags:{validate:(0,r.chain)((0,r.assertValueType)("string"),Object.assign(function(e,a,t){},{type:"string"})),default:""}}}),(0,r.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,r.assertOneOf)(...s.LOGICAL_OPERATORS)},left:{validate:(0,r.assertNodeType)("Expression")},right:{validate:(0,r.assertNodeType)("Expression")}}}),(0,r.default)("MemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,r.assertNodeType)("Expression")},property:{validate:function(){const e=(0,r.assertNodeType)("Identifier","PrivateName"),a=(0,r.assertNodeType)("Expression"),t=function(t,s,r){(t.computed?a:e)(t,s,r)};return t.oneOfNodeTypes=["Expression","Identifier","PrivateName"],t}()},computed:{default:!1}},{optional:{validate:(0,r.assertOneOf)(!0,!1),optional:!0}})}),(0,r.default)("NewExpression",{inherits:"CallExpression"}),(0,r.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,r.assertValueType)("string")},sourceType:{validate:(0,r.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,r.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("Directive"))),default:[]},body:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]}),(0,r.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}}),(0,r.default)("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},n,d,{kind:Object.assign({validate:(0,r.assertOneOf)("method","get","set")},{default:"method"}),computed:{default:!1},key:{validate:function(){const e=(0,r.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),a=(0,r.assertNodeType)("Expression"),t=function(t,s,r){(t.computed?a:e)(t,s,r)};return t.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"],t}()},decorators:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("Decorator"))),optional:!0},body:{validate:(0,r.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),(0,r.default)("ObjectProperty",{builder:["key","value","computed","shorthand","decorators"],fields:{computed:{default:!1},key:{validate:function(){const e=(0,r.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),a=(0,r.assertNodeType)("Expression"),t=function(t,s,r){(t.computed?a:e)(t,s,r)};return t.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"],t}()},value:{validate:(0,r.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,r.chain)((0,r.assertValueType)("boolean"),Object.assign(function(e,a,t){},{type:"boolean"}),function(e,a,t){}),default:!1},decorators:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("Decorator"))),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){(0,r.assertNodeType)("Identifier","Pattern"),(0,r.assertNodeType)("Expression");return function(e,a,t){}}()}),(0,r.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:(0,r.assertNodeType)("LVal")}}),validate(e,a){}}),(0,r.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,r.assertNodeType)("Expression"),optional:!0}}}),(0,r.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("Expression")))}},aliases:["Expression"]}),(0,r.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,r.assertNodeType)("Expression")}}}),(0,r.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,r.assertNodeType)("Expression"),optional:!0},consequent:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("Statement")))}}}),(0,r.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,r.assertNodeType)("Expression")},cases:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("SwitchCase")))}}}),(0,r.default)("ThisExpression",{aliases:["Expression"]}),(0,r.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,r.assertNodeType)("Expression")}}}),(0,r.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,r.chain)((0,r.assertNodeType)("BlockStatement"),Object.assign(function(e){},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:!0,validate:(0,r.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,r.assertNodeType)("BlockStatement")}}}),(0,r.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,r.assertNodeType)("Expression")},operator:{validate:(0,r.assertOneOf)(...s.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),(0,r.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:(0,r.assertNodeType)("Expression")},operator:{validate:(0,r.assertOneOf)(...s.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),(0,r.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,r.assertValueType)("boolean"),optional:!0},kind:{validate:(0,r.assertOneOf)("var","let","const")},declarations:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("VariableDeclarator")))}},validate(e,a,t){}}),(0,r.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:(0,r.assertNodeType)("LVal")},definite:{optional:!0,validate:(0,r.assertValueType)("boolean")},init:{optional:!0,validate:(0,r.assertNodeType)("Expression")}}}),(0,r.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,r.assertNodeType)("Expression")},body:{validate:(0,r.assertNodeType)("Statement")}}}),(0,r.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,r.assertNodeType)("Expression")},body:{validate:(0,r.assertNodeType)("Statement")}}}),(0,r.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{left:{validate:(0,r.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,r.assertNodeType)("Expression")},decorators:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("Decorator"))),optional:!0}})}),(0,r.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{elements:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("Decorator"))),optional:!0}})}),(0,r.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},n,d,{expression:{validate:(0,r.assertValueType)("boolean")},body:{validate:(0,r.assertNodeType)("BlockStatement","Expression")}})}),(0,r.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}}),(0,r.default)("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,r.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,r.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,r.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,r.assertNodeType)("Expression")},superTypeParameters:{validate:(0,r.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("Decorator"))),optional:!0},mixins:{validate:(0,r.assertNodeType)("InterfaceExtends"),optional:!0}}}),(0,r.default)("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,r.assertNodeType)("Identifier")},typeParameters:{validate:(0,r.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,r.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,r.assertNodeType)("Expression")},superTypeParameters:{validate:(0,r.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("Decorator"))),optional:!0},mixins:{validate:(0,r.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,r.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,r.assertValueType)("boolean"),optional:!0}},validate:function(){(0,r.assertNodeType)("Identifier");return function(e,a,t){}}()}),(0,r.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,r.assertNodeType)("StringLiteral")}}}),(0,r.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,r.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}}),(0,r.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:!0,validate:(0,r.chain)((0,r.assertNodeType)("Declaration"),Object.assign(function(e,a,t){},{oneOfNodeTypes:["Declaration"]}),function(e,a,t){})},specifiers:{default:[],validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)(function(){const e=(0,r.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");(0,r.assertNodeType)("ExportSpecifier");return e}()))},source:{validate:(0,r.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,r.validateOptional)((0,r.assertOneOf)("type","value"))}}),(0,r.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,r.assertNodeType)("Identifier")},exported:{validate:(0,r.assertNodeType)("Identifier","StringLiteral")}}}),(0,r.default)("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(0,r.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,r.assertNodeType)("Expression")},body:{validate:(0,r.assertNodeType)("Statement")},await:{default:!1}}}),(0,r.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{specifiers:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,r.assertNodeType)("StringLiteral")},importKind:{validate:(0,r.assertOneOf)("type","typeof","value"),optional:!0}}}),(0,r.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,r.assertNodeType)("Identifier")}}}),(0,r.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,r.assertNodeType)("Identifier")}}}),(0,r.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,r.assertNodeType)("Identifier")},imported:{validate:(0,r.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,r.assertOneOf)("type","typeof"),optional:!0}}}),(0,r.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,r.chain)((0,r.assertNodeType)("Identifier"),Object.assign(function(e,a,t){},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,r.assertNodeType)("Identifier")}}});const u={abstract:{validate:(0,r.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,r.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},computed:{default:!1},optional:{validate:(0,r.assertValueType)("boolean"),optional:!0},key:{validate:(0,r.chain)(function(){const e=(0,r.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),a=(0,r.assertNodeType)("Expression");return function(t,s,r){(t.computed?a:e)(t,s,r)}}(),(0,r.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};exports.classMethodOrPropertyCommon=u;const y=Object.assign({},n,u,{kind:{validate:(0,r.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,r.chain)((0,r.assertValueType)("string"),(0,r.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("Decorator"))),optional:!0}});exports.classMethodOrDeclareMethodCommon=y,(0,r.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},y,d,{body:{validate:(0,r.assertNodeType)("BlockStatement")}})}),(0,r.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},c,{properties:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("RestElement","ObjectProperty")))}})}),(0,r.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,r.assertNodeType)("Expression")}}}),(0,r.default)("Super",{aliases:["Expression"]}),(0,r.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,r.assertNodeType)("Expression")},quasi:{validate:(0,r.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,r.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),(0,r.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,r.assertShape)({raw:{validate:(0,r.assertValueType)("string")},cooked:{validate:(0,r.assertValueType)("string"),optional:!0}})},tail:{default:!1}}}),(0,r.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("TemplateElement")))},expressions:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("Expression","TSType")),function(e,a,t){if(e.quasis.length!==t.length+1)throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${t.length+1} quasis but got ${e.quasis.length}`)})}}}),(0,r.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,r.chain)((0,r.assertValueType)("boolean"),Object.assign(function(e,a,t){},{type:"boolean"})),default:!1},argument:{optional:!0,validate:(0,r.assertNodeType)("Expression")}}}),(0,r.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,r.assertNodeType)("Expression")}}}),(0,r.default)("Import",{aliases:["Expression"]}),(0,r.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,r.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,r.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,r.assertNodeType)("Identifier")}}}),(0,r.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,r.assertNodeType)("Expression")},property:{validate:function(){const e=(0,r.assertNodeType)("Identifier"),a=(0,r.assertNodeType)("Expression"),t=function(t,s,r){(t.computed?a:e)(t,s,r)};return t.oneOfNodeTypes=["Expression","Identifier"],t}()},computed:{default:!1},optional:{validate:(0,r.assertValueType)("boolean")}}}),(0,r.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,r.assertNodeType)("Expression")},arguments:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("Expression","SpreadElement","JSXNamespacedName")))},optional:{validate:(0,r.assertValueType)("boolean")},typeArguments:{validate:(0,r.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,r.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}}});
  },{"../validators/is":"cs2k","../validators/isValidIdentifier":"DG3c","@babel/helper-validator-identifier":"RT1n","../constants":"pINp","./utils":"e8eR"}],"xIIh":[function(require,module,exports) {
  "use strict";var e=t(require("./utils"));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function t(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var i={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var n=l?Object.getOwnPropertyDescriptor(e,o):null;n&&(n.get||n.set)?Object.defineProperty(i,o,n):i[o]=e[o]}return i.default=e,t&&t.set(e,i),i}const i=(a,t="TypeParameterDeclaration")=>{(0,e.default)(a,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,e.validateType)("Identifier"),typeParameters:(0,e.validateOptionalType)(t),extends:(0,e.validateOptional)((0,e.arrayOfType)("InterfaceExtends")),mixins:(0,e.validateOptional)((0,e.arrayOfType)("InterfaceExtends")),implements:(0,e.validateOptional)((0,e.arrayOfType)("ClassImplements")),body:(0,e.validateType)("ObjectTypeAnnotation")}})};(0,e.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,e.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,e.validateType)("FlowType")}}),(0,e.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,e.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,e.validate)((0,e.assertValueType)("boolean"))}}),(0,e.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,e.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,e.validateType)("Identifier"),typeParameters:(0,e.validateOptionalType)("TypeParameterInstantiation")}}),i("DeclareClass"),(0,e.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,e.validateType)("Identifier"),predicate:(0,e.validateOptionalType)("DeclaredPredicate")}}),i("DeclareInterface"),(0,e.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,e.validateType)(["Identifier","StringLiteral"]),body:(0,e.validateType)("BlockStatement"),kind:(0,e.validateOptional)((0,e.assertOneOf)("CommonJS","ES"))}}),(0,e.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,e.validateType)("TypeAnnotation")}}),(0,e.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,e.validateType)("Identifier"),typeParameters:(0,e.validateOptionalType)("TypeParameterDeclaration"),right:(0,e.validateType)("FlowType")}}),(0,e.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,e.validateType)("Identifier"),typeParameters:(0,e.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,e.validateOptionalType)("FlowType")}}),(0,e.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,e.validateType)("Identifier")}}),(0,e.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,e.validateOptionalType)("Flow"),specifiers:(0,e.validateOptional)((0,e.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,e.validateOptionalType)("StringLiteral"),default:(0,e.validateOptional)((0,e.assertValueType)("boolean"))}}),(0,e.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,e.validateType)("StringLiteral"),exportKind:(0,e.validateOptional)((0,e.assertOneOf)("type","value"))}}),(0,e.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,e.validateType)("Flow")}}),(0,e.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]}),(0,e.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,e.validateOptionalType)("TypeParameterDeclaration"),params:(0,e.validate)((0,e.arrayOfType)("FunctionTypeParam")),rest:(0,e.validateOptionalType)("FunctionTypeParam"),returnType:(0,e.validateType)("FlowType")}}),(0,e.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,e.validateOptionalType)("Identifier"),typeAnnotation:(0,e.validateType)("FlowType"),optional:(0,e.validateOptional)((0,e.assertValueType)("boolean"))}}),(0,e.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,e.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,e.validateOptionalType)("TypeParameterInstantiation")}}),(0,e.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]}),(0,e.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,e.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,e.validateOptionalType)("TypeParameterInstantiation")}}),i("InterfaceDeclaration"),(0,e.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,e.validateOptional)((0,e.arrayOfType)("InterfaceExtends")),body:(0,e.validateType)("ObjectTypeAnnotation")}}),(0,e.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,e.validate)((0,e.arrayOfType)("FlowType"))}}),(0,e.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,e.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,e.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,e.validateType)("FlowType")}}),(0,e.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,e.validate)((0,e.assertValueType)("number"))}}),(0,e.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,e.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,e.validate)((0,e.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,e.validateOptional)((0,e.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,e.validateOptional)((0,e.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,e.validateOptional)((0,e.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,e.assertValueType)("boolean"),default:!1},inexact:(0,e.validateOptional)((0,e.assertValueType)("boolean"))}}),(0,e.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,e.validateType)("Identifier"),value:(0,e.validateType)("FlowType"),optional:(0,e.validate)((0,e.assertValueType)("boolean")),static:(0,e.validate)((0,e.assertValueType)("boolean")),method:(0,e.validate)((0,e.assertValueType)("boolean"))}}),(0,e.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,e.validateType)("FlowType"),static:(0,e.validate)((0,e.assertValueType)("boolean"))}}),(0,e.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,e.validateOptionalType)("Identifier"),key:(0,e.validateType)("FlowType"),value:(0,e.validateType)("FlowType"),static:(0,e.validate)((0,e.assertValueType)("boolean")),variance:(0,e.validateOptionalType)("Variance")}}),(0,e.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,e.validateType)(["Identifier","StringLiteral"]),value:(0,e.validateType)("FlowType"),kind:(0,e.validate)((0,e.assertOneOf)("init","get","set")),static:(0,e.validate)((0,e.assertValueType)("boolean")),proto:(0,e.validate)((0,e.assertValueType)("boolean")),optional:(0,e.validate)((0,e.assertValueType)("boolean")),variance:(0,e.validateOptionalType)("Variance")}}),(0,e.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,e.validateType)("FlowType")}}),(0,e.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,e.validateType)("Identifier"),typeParameters:(0,e.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,e.validateOptionalType)("FlowType"),impltype:(0,e.validateType)("FlowType")}}),(0,e.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,e.validateType)("Identifier"),qualification:(0,e.validateType)(["Identifier","QualifiedTypeIdentifier"])}}),(0,e.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,e.validate)((0,e.assertValueType)("string"))}}),(0,e.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,e.default)("SymbolTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,e.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,e.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,e.validate)((0,e.arrayOfType)("FlowType"))}}),(0,e.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,e.validateType)("FlowType")}}),(0,e.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,e.validateType)("Identifier"),typeParameters:(0,e.validateOptionalType)("TypeParameterDeclaration"),right:(0,e.validateType)("FlowType")}}),(0,e.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,e.validateType)("FlowType")}}),(0,e.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,e.validateType)("Expression"),typeAnnotation:(0,e.validateType)("TypeAnnotation")}}),(0,e.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,e.validate)((0,e.assertValueType)("string")),bound:(0,e.validateOptionalType)("TypeAnnotation"),default:(0,e.validateOptionalType)("FlowType"),variance:(0,e.validateOptionalType)("Variance")}}),(0,e.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,e.validate)((0,e.arrayOfType)("TypeParameter"))}}),(0,e.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,e.validate)((0,e.arrayOfType)("FlowType"))}}),(0,e.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,e.validate)((0,e.arrayOfType)("FlowType"))}}),(0,e.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,e.validate)((0,e.assertOneOf)("minus","plus"))}}),(0,e.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,e.default)("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,e.validateType)("Identifier"),body:(0,e.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}}),(0,e.default)("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicit:(0,e.validate)((0,e.assertValueType)("boolean")),members:(0,e.validateArrayOfType)("EnumBooleanMember")}}),(0,e.default)("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicit:(0,e.validate)((0,e.assertValueType)("boolean")),members:(0,e.validateArrayOfType)("EnumNumberMember")}}),(0,e.default)("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicit:(0,e.validate)((0,e.assertValueType)("boolean")),members:(0,e.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"])}}),(0,e.default)("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,e.validateArrayOfType)("EnumDefaultedMember")}}),(0,e.default)("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,e.validateType)("Identifier"),init:(0,e.validateType)("BooleanLiteral")}}),(0,e.default)("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,e.validateType)("Identifier"),init:(0,e.validateType)("NumericLiteral")}}),(0,e.default)("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,e.validateType)("Identifier"),init:(0,e.validateType)("StringLiteral")}}),(0,e.default)("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,e.validateType)("Identifier")}});
  },{"./utils":"e8eR"}],"ytbe":[function(require,module,exports) {
  "use strict";var e=t(require("./utils"));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function t(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var s={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=i?Object.getOwnPropertyDescriptor(e,r):null;n&&(n.get||n.set)?Object.defineProperty(s,r,n):s[r]=e[r]}return s.default=e,t&&t.set(e,s),s}(0,e.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,e.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,e.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),(0,e.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,e.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),(0,e.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,e.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,e.assertNodeType)("JSXClosingElement")},children:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,e.assertValueType)("boolean"),optional:!0}}}),(0,e.default)("JSXEmptyExpression",{aliases:["JSX"]}),(0,e.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,e.assertNodeType)("Expression","JSXEmptyExpression")}}}),(0,e.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,e.assertNodeType)("Expression")}}}),(0,e.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,e.assertValueType)("string")}}}),(0,e.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,e.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,e.assertNodeType)("JSXIdentifier")}}}),(0,e.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,e.assertNodeType)("JSXIdentifier")},name:{validate:(0,e.assertNodeType)("JSXIdentifier")}}}),(0,e.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,e.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,e.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),(0,e.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,e.assertNodeType)("Expression")}}}),(0,e.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,e.assertValueType)("string")}}}),(0,e.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,e.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,e.assertNodeType)("JSXClosingFragment")},children:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}}),(0,e.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]}),(0,e.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]});
  },{"./utils":"e8eR"}],"h2Ka":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PLACEHOLDERS_FLIPPED_ALIAS=exports.PLACEHOLDERS_ALIAS=exports.PLACEHOLDERS=void 0;var t=require("./utils");const e=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];exports.PLACEHOLDERS=e;const r={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};exports.PLACEHOLDERS_ALIAS=r;for(const s of e){const e=t.ALIAS_KEYS[s];(null==e?void 0:e.length)&&(r[s]=e)}const o={};exports.PLACEHOLDERS_FLIPPED_ALIAS=o,Object.keys(r).forEach(t=>{r[t].forEach(e=>{Object.hasOwnProperty.call(o,e)||(o[e]=[]),o[e].push(t)})});
  },{"./utils":"e8eR"}],"xvzS":[function(require,module,exports) {
  "use strict";var e=i(require("./utils")),t=require("./placeholders");function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}function i(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var i={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=n?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(i,a,o):i[a]=e[a]}return i.default=e,t&&t.set(e,i),i}(0,e.default)("Noop",{visitor:[]}),(0,e.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,e.assertNodeType)("Identifier")},expectedNode:{validate:(0,e.assertOneOf)(...t.PLACEHOLDERS)}}}),(0,e.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,e.assertValueType)("string")}}});
  },{"./utils":"e8eR","./placeholders":"h2Ka"}],"y4VM":[function(require,module,exports) {
  "use strict";var e=s(require("./utils")),a=require("./core");function t(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return t=function(){return e},e}function s(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=t();if(a&&a.has(e))return a.get(e);var s={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(s,i,o):s[i]=e[i]}return s.default=e,a&&a.set(e,s),s}(0,e.default)("ArgumentPlaceholder",{}),(0,e.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}}),(0,e.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},a.classMethodOrPropertyCommon,{value:{validate:(0,e.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,e.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,e.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,e.assertValueType)("boolean"),optional:!0},declare:{validate:(0,e.assertValueType)("boolean"),optional:!0}})}),(0,e.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,e.assertNodeType)("Expression")}}}),(0,e.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,e.assertNodeType)("Expression")}}}),(0,e.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]}),(0,e.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,e.assertNodeType)("PrivateName")},value:{validate:(0,e.assertNodeType)("Expression"),optional:!0},decorators:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("Decorator"))),optional:!0}}}),(0,e.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},a.classMethodOrDeclareMethodCommon,a.functionTypeAnnotationCommon,{key:{validate:(0,e.assertNodeType)("PrivateName")},body:{validate:(0,e.assertNodeType)("BlockStatement")}})}),(0,e.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,e.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,e.assertNodeType)("StringLiteral")}}}),(0,e.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,e.assertNodeType)("Expression")}}}),(0,e.default)("DoExpression",{visitor:["body"],aliases:["Expression"],fields:{body:{validate:(0,e.assertNodeType)("BlockStatement")}}}),(0,e.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,e.assertNodeType)("Identifier")}}}),(0,e.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,e.assertNodeType)("Identifier")}}}),(0,e.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("ObjectProperty","SpreadElement")))}}}),(0,e.default)("TupleExpression",{fields:{elements:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,e.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,e.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,e.default)("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent"]});
  },{"./utils":"e8eR","./core":"P1WE"}],"sT2U":[function(require,module,exports) {
  "use strict";var e=i(require("./utils")),a=require("./core");function t(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return t=function(){return e},e}function i(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=t();if(a&&a.has(e))return a.get(e);var i={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if(Object.prototype.hasOwnProperty.call(e,l)){var n=r?Object.getOwnPropertyDescriptor(e,l):null;n&&(n.get||n.set)?Object.defineProperty(i,l,n):i[l]=e[l]}return i.default=e,a&&a.set(e,i),i}const r=(0,e.assertValueType)("boolean"),l={returnType:{validate:(0,e.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,e.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}};(0,e.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,e.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,e.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,e.assertNodeType)("Identifier","AssignmentPattern")}}}),(0,e.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},a.functionDeclarationCommon,l)}),(0,e.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},a.classMethodOrDeclareMethodCommon,l)}),(0,e.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,e.validateType)("TSEntityName"),right:(0,e.validateType)("Identifier")}});const n={typeParameters:(0,e.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,e.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,e.validateOptionalType)("TSTypeAnnotation")},p={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:n};(0,e.default)("TSCallSignatureDeclaration",p),(0,e.default)("TSConstructSignatureDeclaration",p);const s={key:(0,e.validateType)("Expression"),computed:(0,e.validate)(r),optional:(0,e.validateOptional)(r)};(0,e.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},s,{readonly:(0,e.validateOptional)(r),typeAnnotation:(0,e.validateOptionalType)("TSTypeAnnotation"),initializer:(0,e.validateOptionalType)("Expression")})}),(0,e.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},n,s)}),(0,e.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,e.validateOptional)(r),parameters:(0,e.validateArrayOfType)("Identifier"),typeAnnotation:(0,e.validateOptionalType)("TSTypeAnnotation")}});const T=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const d of T)(0,e.default)(d,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});(0,e.default)("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const o={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"],fields:n};(0,e.default)("TSFunctionType",o),(0,e.default)("TSConstructorType",o),(0,e.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,e.validateType)("TSEntityName"),typeParameters:(0,e.validateOptionalType)("TSTypeParameterInstantiation")}}),(0,e.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,e.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,e.validateOptionalType)("TSTypeAnnotation"),asserts:(0,e.validateOptional)(r)}}),(0,e.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,e.validateType)(["TSEntityName","TSImportType"])}}),(0,e.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,e.validateArrayOfType)("TSTypeElement")}}),(0,e.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,e.validateType)("TSType")}}),(0,e.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,e.validateArrayOfType)(["TSType","TSNamedTupleMember"])}}),(0,e.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,e.validateType)("TSType")}}),(0,e.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,e.validateType)("TSType")}}),(0,e.default)("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,e.validateType)("Identifier"),optional:{validate:r,default:!1},elementType:(0,e.validateType)("TSType")}});const y={aliases:["TSType"],visitor:["types"],fields:{types:(0,e.validateArrayOfType)("TSType")}};(0,e.default)("TSUnionType",y),(0,e.default)("TSIntersectionType",y),(0,e.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,e.validateType)("TSType"),extendsType:(0,e.validateType)("TSType"),trueType:(0,e.validateType)("TSType"),falseType:(0,e.validateType)("TSType")}}),(0,e.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,e.validateType)("TSTypeParameter")}}),(0,e.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,e.validateType)("TSType")}}),(0,e.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,e.validate)((0,e.assertValueType)("string")),typeAnnotation:(0,e.validateType)("TSType")}}),(0,e.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,e.validateType)("TSType"),indexType:(0,e.validateType)("TSType")}}),(0,e.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,e.validateOptional)(r),typeParameter:(0,e.validateType)("TSTypeParameter"),optional:(0,e.validateOptional)(r),typeAnnotation:(0,e.validateOptionalType)("TSType"),nameType:(0,e.validateOptionalType)("TSType")}}),(0,e.default)("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:(0,e.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral"])}}),(0,e.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,e.validateType)("TSEntityName"),typeParameters:(0,e.validateOptionalType)("TSTypeParameterInstantiation")}}),(0,e.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,e.validateOptional)(r),id:(0,e.validateType)("Identifier"),typeParameters:(0,e.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,e.validateOptional)((0,e.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,e.validateType)("TSInterfaceBody")}}),(0,e.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,e.validateArrayOfType)("TSTypeElement")}}),(0,e.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,e.validateOptional)(r),id:(0,e.validateType)("Identifier"),typeParameters:(0,e.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,e.validateType)("TSType")}}),(0,e.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,e.validateType)("Expression"),typeAnnotation:(0,e.validateType)("TSType")}}),(0,e.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,e.validateType)("TSType"),expression:(0,e.validateType)("Expression")}}),(0,e.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,e.validateOptional)(r),const:(0,e.validateOptional)(r),id:(0,e.validateType)("Identifier"),members:(0,e.validateArrayOfType)("TSEnumMember"),initializer:(0,e.validateOptionalType)("Expression")}}),(0,e.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,e.validateType)(["Identifier","StringLiteral"]),initializer:(0,e.validateOptionalType)("Expression")}}),(0,e.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,e.validateOptional)(r),global:(0,e.validateOptional)(r),id:(0,e.validateType)(["Identifier","StringLiteral"]),body:(0,e.validateType)(["TSModuleBlock","TSModuleDeclaration"])}}),(0,e.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,e.validateArrayOfType)("Statement")}}),(0,e.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,e.validateType)("StringLiteral"),qualifier:(0,e.validateOptionalType)("TSEntityName"),typeParameters:(0,e.validateOptionalType)("TSTypeParameterInstantiation")}}),(0,e.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,e.validate)(r),id:(0,e.validateType)("Identifier"),moduleReference:(0,e.validateType)(["TSEntityName","TSExternalModuleReference"])}}),(0,e.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,e.validateType)("StringLiteral")}}),(0,e.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,e.validateType)("Expression")}}),(0,e.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,e.validateType)("Expression")}}),(0,e.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,e.validateType)("Identifier")}}),(0,e.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,e.assertNodeType)("TSType")}}}),(0,e.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("TSType")))}}}),(0,e.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("TSTypeParameter")))}}}),(0,e.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,e.assertValueType)("string")},constraint:{validate:(0,e.assertNodeType)("TSType"),optional:!0},default:{validate:(0,e.assertNodeType)("TSType"),optional:!0}}});
  },{"./utils":"e8eR","./core":"P1WE"}],"xIOT":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"VISITOR_KEYS",{enumerable:!0,get:function(){return r.VISITOR_KEYS}}),Object.defineProperty(exports,"ALIAS_KEYS",{enumerable:!0,get:function(){return r.ALIAS_KEYS}}),Object.defineProperty(exports,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return r.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(exports,"NODE_FIELDS",{enumerable:!0,get:function(){return r.NODE_FIELDS}}),Object.defineProperty(exports,"BUILDER_KEYS",{enumerable:!0,get:function(){return r.BUILDER_KEYS}}),Object.defineProperty(exports,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return r.DEPRECATED_KEYS}}),Object.defineProperty(exports,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return r.NODE_PARENT_VALIDATIONS}}),Object.defineProperty(exports,"PLACEHOLDERS",{enumerable:!0,get:function(){return t.PLACEHOLDERS}}),Object.defineProperty(exports,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return t.PLACEHOLDERS_ALIAS}}),Object.defineProperty(exports,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return t.PLACEHOLDERS_FLIPPED_ALIAS}}),exports.TYPES=void 0;var e=E(require("to-fast-properties"));require("./core"),require("./flow"),require("./jsx"),require("./misc"),require("./experimental"),require("./typescript");var r=require("./utils"),t=require("./placeholders");function E(e){return e&&e.__esModule?e:{default:e}}(0,e.default)(r.VISITOR_KEYS),(0,e.default)(r.ALIAS_KEYS),(0,e.default)(r.FLIPPED_ALIAS_KEYS),(0,e.default)(r.NODE_FIELDS),(0,e.default)(r.BUILDER_KEYS),(0,e.default)(r.DEPRECATED_KEYS),(0,e.default)(t.PLACEHOLDERS_ALIAS),(0,e.default)(t.PLACEHOLDERS_FLIPPED_ALIAS);const n=Object.keys(r.VISITOR_KEYS).concat(Object.keys(r.FLIPPED_ALIAS_KEYS)).concat(Object.keys(r.DEPRECATED_KEYS));exports.TYPES=n;
  },{"to-fast-properties":"BiFU","./core":"P1WE","./flow":"xIIh","./jsx":"ytbe","./misc":"xvzS","./experimental":"y4VM","./typescript":"sT2U","./utils":"e8eR","./placeholders":"h2Ka"}],"S4lE":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=n;var e=o(require("lodash/clone")),t=require("../definitions"),r=o(require("../validators/validate"));function o(e){return e&&e.__esModule?e:{default:e}}function n(o,...n){const a=t.BUILDER_KEYS[o],u=n.length;if(u>a.length)throw new Error(`${o}: Too many arguments passed. Received ${u} but can receive no more than ${a.length}`);const l={type:o};let s=0;a.forEach(r=>{const a=t.NODE_FIELDS[o][r];let i;s<u&&(i=n[s]),void 0===i&&(i=(0,e.default)(a.default)),l[r]=i,s++});for(const e of Object.keys(l))(0,r.default)(l,e,l[e]);return l}
  },{"lodash/clone":"ACgM","../definitions":"xIOT","../validators/validate":"LEnp"}],"mu1T":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ArrayExpression=exports.arrayExpression=r,exports.AssignmentExpression=exports.assignmentExpression=n,exports.BinaryExpression=exports.binaryExpression=o,exports.InterpreterDirective=exports.interpreterDirective=p,exports.Directive=exports.directive=a,exports.DirectiveLiteral=exports.directiveLiteral=s,exports.BlockStatement=exports.blockStatement=i,exports.BreakStatement=exports.breakStatement=u,exports.CallExpression=exports.callExpression=x,exports.CatchClause=exports.catchClause=l,exports.ConditionalExpression=exports.conditionalExpression=c,exports.ContinueStatement=exports.continueStatement=f,exports.DebuggerStatement=exports.debuggerStatement=d,exports.DoWhileStatement=exports.doWhileStatement=y,exports.EmptyStatement=exports.emptyStatement=T,exports.ExpressionStatement=exports.expressionStatement=S,exports.File=exports.file=m,exports.ForInStatement=exports.forInStatement=E,exports.ForStatement=exports.forStatement=A,exports.FunctionDeclaration=exports.functionDeclaration=b,exports.FunctionExpression=exports.functionExpression=D,exports.Identifier=exports.identifier=g,exports.IfStatement=exports.ifStatement=P,exports.LabeledStatement=exports.labeledStatement=I,exports.StringLiteral=exports.stringLiteral=N,exports.NumericLiteral=exports.numericLiteral=h,exports.NullLiteral=exports.nullLiteral=w,exports.BooleanLiteral=exports.booleanLiteral=C,exports.RegExpLiteral=exports.regExpLiteral=M,exports.LogicalExpression=exports.logicalExpression=j,exports.MemberExpression=exports.memberExpression=L,exports.NewExpression=exports.newExpression=B,exports.Program=exports.program=O,exports.ObjectExpression=exports.objectExpression=K,exports.ObjectMethod=exports.objectMethod=F,exports.ObjectProperty=exports.objectProperty=X,exports.RestElement=exports.restElement=R,exports.ReturnStatement=exports.returnStatement=J,exports.SequenceExpression=exports.sequenceExpression=v,exports.ParenthesizedExpression=exports.parenthesizedExpression=U,exports.SwitchCase=exports.switchCase=k,exports.SwitchStatement=exports.switchStatement=V,exports.ThisExpression=exports.thisExpression=q,exports.ThrowStatement=exports.throwStatement=W,exports.TryStatement=exports.tryStatement=Q,exports.UnaryExpression=exports.unaryExpression=z,exports.UpdateExpression=exports.updateExpression=_,exports.VariableDeclaration=exports.variableDeclaration=G,exports.VariableDeclarator=exports.variableDeclarator=Y,exports.WhileStatement=exports.whileStatement=H,exports.WithStatement=exports.withStatement=Z,exports.AssignmentPattern=exports.assignmentPattern=$,exports.ArrayPattern=exports.arrayPattern=ee,exports.ArrowFunctionExpression=exports.arrowFunctionExpression=te,exports.ClassBody=exports.classBody=re,exports.ClassExpression=exports.classExpression=ne,exports.ClassDeclaration=exports.classDeclaration=oe,exports.ExportAllDeclaration=exports.exportAllDeclaration=pe,exports.ExportDefaultDeclaration=exports.exportDefaultDeclaration=ae,exports.ExportNamedDeclaration=exports.exportNamedDeclaration=se,exports.ExportSpecifier=exports.exportSpecifier=ie,exports.ForOfStatement=exports.forOfStatement=ue,exports.ImportDeclaration=exports.importDeclaration=xe,exports.ImportDefaultSpecifier=exports.importDefaultSpecifier=le,exports.ImportNamespaceSpecifier=exports.importNamespaceSpecifier=ce,exports.ImportSpecifier=exports.importSpecifier=fe,exports.MetaProperty=exports.metaProperty=de,exports.ClassMethod=exports.classMethod=ye,exports.ObjectPattern=exports.objectPattern=Te,exports.SpreadElement=exports.spreadElement=Se,exports.super=exports.Super=me,exports.TaggedTemplateExpression=exports.taggedTemplateExpression=Ee,exports.TemplateElement=exports.templateElement=Ae,exports.TemplateLiteral=exports.templateLiteral=be,exports.YieldExpression=exports.yieldExpression=De,exports.AwaitExpression=exports.awaitExpression=ge,exports.import=exports.Import=Pe,exports.BigIntLiteral=exports.bigIntLiteral=Ie,exports.ExportNamespaceSpecifier=exports.exportNamespaceSpecifier=Ne,exports.OptionalMemberExpression=exports.optionalMemberExpression=he,exports.OptionalCallExpression=exports.optionalCallExpression=we,exports.AnyTypeAnnotation=exports.anyTypeAnnotation=Ce,exports.ArrayTypeAnnotation=exports.arrayTypeAnnotation=Me,exports.BooleanTypeAnnotation=exports.booleanTypeAnnotation=je,exports.BooleanLiteralTypeAnnotation=exports.booleanLiteralTypeAnnotation=Le,exports.NullLiteralTypeAnnotation=exports.nullLiteralTypeAnnotation=Be,exports.ClassImplements=exports.classImplements=Oe,exports.DeclareClass=exports.declareClass=Ke,exports.DeclareFunction=exports.declareFunction=Fe,exports.DeclareInterface=exports.declareInterface=Xe,exports.DeclareModule=exports.declareModule=Re,exports.DeclareModuleExports=exports.declareModuleExports=Je,exports.DeclareTypeAlias=exports.declareTypeAlias=ve,exports.DeclareOpaqueType=exports.declareOpaqueType=Ue,exports.DeclareVariable=exports.declareVariable=ke,exports.DeclareExportDeclaration=exports.declareExportDeclaration=Ve,exports.DeclareExportAllDeclaration=exports.declareExportAllDeclaration=qe,exports.DeclaredPredicate=exports.declaredPredicate=We,exports.ExistsTypeAnnotation=exports.existsTypeAnnotation=Qe,exports.FunctionTypeAnnotation=exports.functionTypeAnnotation=ze,exports.FunctionTypeParam=exports.functionTypeParam=_e,exports.GenericTypeAnnotation=exports.genericTypeAnnotation=Ge,exports.InferredPredicate=exports.inferredPredicate=Ye,exports.InterfaceExtends=exports.interfaceExtends=He,exports.InterfaceDeclaration=exports.interfaceDeclaration=Ze,exports.InterfaceTypeAnnotation=exports.interfaceTypeAnnotation=$e,exports.IntersectionTypeAnnotation=exports.intersectionTypeAnnotation=et,exports.MixedTypeAnnotation=exports.mixedTypeAnnotation=tt,exports.EmptyTypeAnnotation=exports.emptyTypeAnnotation=rt,exports.NullableTypeAnnotation=exports.nullableTypeAnnotation=nt,exports.NumberLiteralTypeAnnotation=exports.numberLiteralTypeAnnotation=ot,exports.NumberTypeAnnotation=exports.numberTypeAnnotation=pt,exports.ObjectTypeAnnotation=exports.objectTypeAnnotation=at,exports.ObjectTypeInternalSlot=exports.objectTypeInternalSlot=st,exports.ObjectTypeCallProperty=exports.objectTypeCallProperty=it,exports.ObjectTypeIndexer=exports.objectTypeIndexer=ut,exports.ObjectTypeProperty=exports.objectTypeProperty=xt,exports.ObjectTypeSpreadProperty=exports.objectTypeSpreadProperty=lt,exports.OpaqueType=exports.opaqueType=ct,exports.QualifiedTypeIdentifier=exports.qualifiedTypeIdentifier=ft,exports.StringLiteralTypeAnnotation=exports.stringLiteralTypeAnnotation=dt,exports.StringTypeAnnotation=exports.stringTypeAnnotation=yt,exports.SymbolTypeAnnotation=exports.symbolTypeAnnotation=Tt,exports.ThisTypeAnnotation=exports.thisTypeAnnotation=St,exports.TupleTypeAnnotation=exports.tupleTypeAnnotation=mt,exports.TypeofTypeAnnotation=exports.typeofTypeAnnotation=Et,exports.TypeAlias=exports.typeAlias=At,exports.TypeAnnotation=exports.typeAnnotation=bt,exports.TypeCastExpression=exports.typeCastExpression=Dt,exports.TypeParameter=exports.typeParameter=gt,exports.TypeParameterDeclaration=exports.typeParameterDeclaration=Pt,exports.TypeParameterInstantiation=exports.typeParameterInstantiation=It,exports.UnionTypeAnnotation=exports.unionTypeAnnotation=Nt,exports.Variance=exports.variance=ht,exports.VoidTypeAnnotation=exports.voidTypeAnnotation=wt,exports.EnumDeclaration=exports.enumDeclaration=Ct,exports.EnumBooleanBody=exports.enumBooleanBody=Mt,exports.EnumNumberBody=exports.enumNumberBody=jt,exports.EnumStringBody=exports.enumStringBody=Lt,exports.EnumSymbolBody=exports.enumSymbolBody=Bt,exports.EnumBooleanMember=exports.enumBooleanMember=Ot,exports.EnumNumberMember=exports.enumNumberMember=Kt,exports.EnumStringMember=exports.enumStringMember=Ft,exports.EnumDefaultedMember=exports.enumDefaultedMember=Xt,exports.jSXAttribute=exports.JSXAttribute=exports.jsxAttribute=Rt,exports.jSXClosingElement=exports.JSXClosingElement=exports.jsxClosingElement=Jt,exports.jSXElement=exports.JSXElement=exports.jsxElement=vt,exports.jSXEmptyExpression=exports.JSXEmptyExpression=exports.jsxEmptyExpression=Ut,exports.jSXExpressionContainer=exports.JSXExpressionContainer=exports.jsxExpressionContainer=kt,exports.jSXSpreadChild=exports.JSXSpreadChild=exports.jsxSpreadChild=Vt,exports.jSXIdentifier=exports.JSXIdentifier=exports.jsxIdentifier=qt,exports.jSXMemberExpression=exports.JSXMemberExpression=exports.jsxMemberExpression=Wt,exports.jSXNamespacedName=exports.JSXNamespacedName=exports.jsxNamespacedName=Qt,exports.jSXOpeningElement=exports.JSXOpeningElement=exports.jsxOpeningElement=zt,exports.jSXSpreadAttribute=exports.JSXSpreadAttribute=exports.jsxSpreadAttribute=_t,exports.jSXText=exports.JSXText=exports.jsxText=Gt,exports.jSXFragment=exports.JSXFragment=exports.jsxFragment=Yt,exports.jSXOpeningFragment=exports.JSXOpeningFragment=exports.jsxOpeningFragment=Ht,exports.jSXClosingFragment=exports.JSXClosingFragment=exports.jsxClosingFragment=Zt,exports.Noop=exports.noop=$t,exports.Placeholder=exports.placeholder=er,exports.V8IntrinsicIdentifier=exports.v8IntrinsicIdentifier=tr,exports.ArgumentPlaceholder=exports.argumentPlaceholder=rr,exports.BindExpression=exports.bindExpression=nr,exports.ClassProperty=exports.classProperty=or,exports.PipelineTopicExpression=exports.pipelineTopicExpression=pr,exports.PipelineBareFunction=exports.pipelineBareFunction=ar,exports.PipelinePrimaryTopicReference=exports.pipelinePrimaryTopicReference=sr,exports.ClassPrivateProperty=exports.classPrivateProperty=ir,exports.ClassPrivateMethod=exports.classPrivateMethod=ur,exports.ImportAttribute=exports.importAttribute=xr,exports.Decorator=exports.decorator=lr,exports.DoExpression=exports.doExpression=cr,exports.ExportDefaultSpecifier=exports.exportDefaultSpecifier=fr,exports.PrivateName=exports.privateName=dr,exports.RecordExpression=exports.recordExpression=yr,exports.TupleExpression=exports.tupleExpression=Tr,exports.DecimalLiteral=exports.decimalLiteral=Sr,exports.StaticBlock=exports.staticBlock=mr,exports.tSParameterProperty=exports.TSParameterProperty=exports.tsParameterProperty=Er,exports.tSDeclareFunction=exports.TSDeclareFunction=exports.tsDeclareFunction=Ar,exports.tSDeclareMethod=exports.TSDeclareMethod=exports.tsDeclareMethod=br,exports.tSQualifiedName=exports.TSQualifiedName=exports.tsQualifiedName=Dr,exports.tSCallSignatureDeclaration=exports.TSCallSignatureDeclaration=exports.tsCallSignatureDeclaration=gr,exports.tSConstructSignatureDeclaration=exports.TSConstructSignatureDeclaration=exports.tsConstructSignatureDeclaration=Pr,exports.tSPropertySignature=exports.TSPropertySignature=exports.tsPropertySignature=Ir,exports.tSMethodSignature=exports.TSMethodSignature=exports.tsMethodSignature=Nr,exports.tSIndexSignature=exports.TSIndexSignature=exports.tsIndexSignature=hr,exports.tSAnyKeyword=exports.TSAnyKeyword=exports.tsAnyKeyword=wr,exports.tSBooleanKeyword=exports.TSBooleanKeyword=exports.tsBooleanKeyword=Cr,exports.tSBigIntKeyword=exports.TSBigIntKeyword=exports.tsBigIntKeyword=Mr,exports.tSIntrinsicKeyword=exports.TSIntrinsicKeyword=exports.tsIntrinsicKeyword=jr,exports.tSNeverKeyword=exports.TSNeverKeyword=exports.tsNeverKeyword=Lr,exports.tSNullKeyword=exports.TSNullKeyword=exports.tsNullKeyword=Br,exports.tSNumberKeyword=exports.TSNumberKeyword=exports.tsNumberKeyword=Or,exports.tSObjectKeyword=exports.TSObjectKeyword=exports.tsObjectKeyword=Kr,exports.tSStringKeyword=exports.TSStringKeyword=exports.tsStringKeyword=Fr,exports.tSSymbolKeyword=exports.TSSymbolKeyword=exports.tsSymbolKeyword=Xr,exports.tSUndefinedKeyword=exports.TSUndefinedKeyword=exports.tsUndefinedKeyword=Rr,exports.tSUnknownKeyword=exports.TSUnknownKeyword=exports.tsUnknownKeyword=Jr,exports.tSVoidKeyword=exports.TSVoidKeyword=exports.tsVoidKeyword=vr,exports.tSThisType=exports.TSThisType=exports.tsThisType=Ur,exports.tSFunctionType=exports.TSFunctionType=exports.tsFunctionType=kr,exports.tSConstructorType=exports.TSConstructorType=exports.tsConstructorType=Vr,exports.tSTypeReference=exports.TSTypeReference=exports.tsTypeReference=qr,exports.tSTypePredicate=exports.TSTypePredicate=exports.tsTypePredicate=Wr,exports.tSTypeQuery=exports.TSTypeQuery=exports.tsTypeQuery=Qr,exports.tSTypeLiteral=exports.TSTypeLiteral=exports.tsTypeLiteral=zr,exports.tSArrayType=exports.TSArrayType=exports.tsArrayType=_r,exports.tSTupleType=exports.TSTupleType=exports.tsTupleType=Gr,exports.tSOptionalType=exports.TSOptionalType=exports.tsOptionalType=Yr,exports.tSRestType=exports.TSRestType=exports.tsRestType=Hr,exports.tSNamedTupleMember=exports.TSNamedTupleMember=exports.tsNamedTupleMember=Zr,exports.tSUnionType=exports.TSUnionType=exports.tsUnionType=$r,exports.tSIntersectionType=exports.TSIntersectionType=exports.tsIntersectionType=en,exports.tSConditionalType=exports.TSConditionalType=exports.tsConditionalType=tn,exports.tSInferType=exports.TSInferType=exports.tsInferType=rn,exports.tSParenthesizedType=exports.TSParenthesizedType=exports.tsParenthesizedType=nn,exports.tSTypeOperator=exports.TSTypeOperator=exports.tsTypeOperator=on,exports.tSIndexedAccessType=exports.TSIndexedAccessType=exports.tsIndexedAccessType=pn,exports.tSMappedType=exports.TSMappedType=exports.tsMappedType=an,exports.tSLiteralType=exports.TSLiteralType=exports.tsLiteralType=sn,exports.tSExpressionWithTypeArguments=exports.TSExpressionWithTypeArguments=exports.tsExpressionWithTypeArguments=un,exports.tSInterfaceDeclaration=exports.TSInterfaceDeclaration=exports.tsInterfaceDeclaration=xn,exports.tSInterfaceBody=exports.TSInterfaceBody=exports.tsInterfaceBody=ln,exports.tSTypeAliasDeclaration=exports.TSTypeAliasDeclaration=exports.tsTypeAliasDeclaration=cn,exports.tSAsExpression=exports.TSAsExpression=exports.tsAsExpression=fn,exports.tSTypeAssertion=exports.TSTypeAssertion=exports.tsTypeAssertion=dn,exports.tSEnumDeclaration=exports.TSEnumDeclaration=exports.tsEnumDeclaration=yn,exports.tSEnumMember=exports.TSEnumMember=exports.tsEnumMember=Tn,exports.tSModuleDeclaration=exports.TSModuleDeclaration=exports.tsModuleDeclaration=Sn,exports.tSModuleBlock=exports.TSModuleBlock=exports.tsModuleBlock=mn,exports.tSImportType=exports.TSImportType=exports.tsImportType=En,exports.tSImportEqualsDeclaration=exports.TSImportEqualsDeclaration=exports.tsImportEqualsDeclaration=An,exports.tSExternalModuleReference=exports.TSExternalModuleReference=exports.tsExternalModuleReference=bn,exports.tSNonNullExpression=exports.TSNonNullExpression=exports.tsNonNullExpression=Dn,exports.tSExportAssignment=exports.TSExportAssignment=exports.tsExportAssignment=gn,exports.tSNamespaceExportDeclaration=exports.TSNamespaceExportDeclaration=exports.tsNamespaceExportDeclaration=Pn,exports.tSTypeAnnotation=exports.TSTypeAnnotation=exports.tsTypeAnnotation=In,exports.tSTypeParameterInstantiation=exports.TSTypeParameterInstantiation=exports.tsTypeParameterInstantiation=Nn,exports.tSTypeParameterDeclaration=exports.TSTypeParameterDeclaration=exports.tsTypeParameterDeclaration=hn,exports.tSTypeParameter=exports.TSTypeParameter=exports.tsTypeParameter=wn,exports.numberLiteral=exports.NumberLiteral=Cn,exports.regexLiteral=exports.RegexLiteral=Mn,exports.restProperty=exports.RestProperty=jn,exports.spreadProperty=exports.SpreadProperty=Ln;var e=t(require("../builder"));function t(e){return e&&e.__esModule?e:{default:e}}function r(...t){return(0,e.default)("ArrayExpression",...t)}function n(...t){return(0,e.default)("AssignmentExpression",...t)}function o(...t){return(0,e.default)("BinaryExpression",...t)}function p(...t){return(0,e.default)("InterpreterDirective",...t)}function a(...t){return(0,e.default)("Directive",...t)}function s(...t){return(0,e.default)("DirectiveLiteral",...t)}function i(...t){return(0,e.default)("BlockStatement",...t)}function u(...t){return(0,e.default)("BreakStatement",...t)}function x(...t){return(0,e.default)("CallExpression",...t)}function l(...t){return(0,e.default)("CatchClause",...t)}function c(...t){return(0,e.default)("ConditionalExpression",...t)}function f(...t){return(0,e.default)("ContinueStatement",...t)}function d(...t){return(0,e.default)("DebuggerStatement",...t)}function y(...t){return(0,e.default)("DoWhileStatement",...t)}function T(...t){return(0,e.default)("EmptyStatement",...t)}function S(...t){return(0,e.default)("ExpressionStatement",...t)}function m(...t){return(0,e.default)("File",...t)}function E(...t){return(0,e.default)("ForInStatement",...t)}function A(...t){return(0,e.default)("ForStatement",...t)}function b(...t){return(0,e.default)("FunctionDeclaration",...t)}function D(...t){return(0,e.default)("FunctionExpression",...t)}function g(...t){return(0,e.default)("Identifier",...t)}function P(...t){return(0,e.default)("IfStatement",...t)}function I(...t){return(0,e.default)("LabeledStatement",...t)}function N(...t){return(0,e.default)("StringLiteral",...t)}function h(...t){return(0,e.default)("NumericLiteral",...t)}function w(...t){return(0,e.default)("NullLiteral",...t)}function C(...t){return(0,e.default)("BooleanLiteral",...t)}function M(...t){return(0,e.default)("RegExpLiteral",...t)}function j(...t){return(0,e.default)("LogicalExpression",...t)}function L(...t){return(0,e.default)("MemberExpression",...t)}function B(...t){return(0,e.default)("NewExpression",...t)}function O(...t){return(0,e.default)("Program",...t)}function K(...t){return(0,e.default)("ObjectExpression",...t)}function F(...t){return(0,e.default)("ObjectMethod",...t)}function X(...t){return(0,e.default)("ObjectProperty",...t)}function R(...t){return(0,e.default)("RestElement",...t)}function J(...t){return(0,e.default)("ReturnStatement",...t)}function v(...t){return(0,e.default)("SequenceExpression",...t)}function U(...t){return(0,e.default)("ParenthesizedExpression",...t)}function k(...t){return(0,e.default)("SwitchCase",...t)}function V(...t){return(0,e.default)("SwitchStatement",...t)}function q(...t){return(0,e.default)("ThisExpression",...t)}function W(...t){return(0,e.default)("ThrowStatement",...t)}function Q(...t){return(0,e.default)("TryStatement",...t)}function z(...t){return(0,e.default)("UnaryExpression",...t)}function _(...t){return(0,e.default)("UpdateExpression",...t)}function G(...t){return(0,e.default)("VariableDeclaration",...t)}function Y(...t){return(0,e.default)("VariableDeclarator",...t)}function H(...t){return(0,e.default)("WhileStatement",...t)}function Z(...t){return(0,e.default)("WithStatement",...t)}function $(...t){return(0,e.default)("AssignmentPattern",...t)}function ee(...t){return(0,e.default)("ArrayPattern",...t)}function te(...t){return(0,e.default)("ArrowFunctionExpression",...t)}function re(...t){return(0,e.default)("ClassBody",...t)}function ne(...t){return(0,e.default)("ClassExpression",...t)}function oe(...t){return(0,e.default)("ClassDeclaration",...t)}function pe(...t){return(0,e.default)("ExportAllDeclaration",...t)}function ae(...t){return(0,e.default)("ExportDefaultDeclaration",...t)}function se(...t){return(0,e.default)("ExportNamedDeclaration",...t)}function ie(...t){return(0,e.default)("ExportSpecifier",...t)}function ue(...t){return(0,e.default)("ForOfStatement",...t)}function xe(...t){return(0,e.default)("ImportDeclaration",...t)}function le(...t){return(0,e.default)("ImportDefaultSpecifier",...t)}function ce(...t){return(0,e.default)("ImportNamespaceSpecifier",...t)}function fe(...t){return(0,e.default)("ImportSpecifier",...t)}function de(...t){return(0,e.default)("MetaProperty",...t)}function ye(...t){return(0,e.default)("ClassMethod",...t)}function Te(...t){return(0,e.default)("ObjectPattern",...t)}function Se(...t){return(0,e.default)("SpreadElement",...t)}function me(...t){return(0,e.default)("Super",...t)}function Ee(...t){return(0,e.default)("TaggedTemplateExpression",...t)}function Ae(...t){return(0,e.default)("TemplateElement",...t)}function be(...t){return(0,e.default)("TemplateLiteral",...t)}function De(...t){return(0,e.default)("YieldExpression",...t)}function ge(...t){return(0,e.default)("AwaitExpression",...t)}function Pe(...t){return(0,e.default)("Import",...t)}function Ie(...t){return(0,e.default)("BigIntLiteral",...t)}function Ne(...t){return(0,e.default)("ExportNamespaceSpecifier",...t)}function he(...t){return(0,e.default)("OptionalMemberExpression",...t)}function we(...t){return(0,e.default)("OptionalCallExpression",...t)}function Ce(...t){return(0,e.default)("AnyTypeAnnotation",...t)}function Me(...t){return(0,e.default)("ArrayTypeAnnotation",...t)}function je(...t){return(0,e.default)("BooleanTypeAnnotation",...t)}function Le(...t){return(0,e.default)("BooleanLiteralTypeAnnotation",...t)}function Be(...t){return(0,e.default)("NullLiteralTypeAnnotation",...t)}function Oe(...t){return(0,e.default)("ClassImplements",...t)}function Ke(...t){return(0,e.default)("DeclareClass",...t)}function Fe(...t){return(0,e.default)("DeclareFunction",...t)}function Xe(...t){return(0,e.default)("DeclareInterface",...t)}function Re(...t){return(0,e.default)("DeclareModule",...t)}function Je(...t){return(0,e.default)("DeclareModuleExports",...t)}function ve(...t){return(0,e.default)("DeclareTypeAlias",...t)}function Ue(...t){return(0,e.default)("DeclareOpaqueType",...t)}function ke(...t){return(0,e.default)("DeclareVariable",...t)}function Ve(...t){return(0,e.default)("DeclareExportDeclaration",...t)}function qe(...t){return(0,e.default)("DeclareExportAllDeclaration",...t)}function We(...t){return(0,e.default)("DeclaredPredicate",...t)}function Qe(...t){return(0,e.default)("ExistsTypeAnnotation",...t)}function ze(...t){return(0,e.default)("FunctionTypeAnnotation",...t)}function _e(...t){return(0,e.default)("FunctionTypeParam",...t)}function Ge(...t){return(0,e.default)("GenericTypeAnnotation",...t)}function Ye(...t){return(0,e.default)("InferredPredicate",...t)}function He(...t){return(0,e.default)("InterfaceExtends",...t)}function Ze(...t){return(0,e.default)("InterfaceDeclaration",...t)}function $e(...t){return(0,e.default)("InterfaceTypeAnnotation",...t)}function et(...t){return(0,e.default)("IntersectionTypeAnnotation",...t)}function tt(...t){return(0,e.default)("MixedTypeAnnotation",...t)}function rt(...t){return(0,e.default)("EmptyTypeAnnotation",...t)}function nt(...t){return(0,e.default)("NullableTypeAnnotation",...t)}function ot(...t){return(0,e.default)("NumberLiteralTypeAnnotation",...t)}function pt(...t){return(0,e.default)("NumberTypeAnnotation",...t)}function at(...t){return(0,e.default)("ObjectTypeAnnotation",...t)}function st(...t){return(0,e.default)("ObjectTypeInternalSlot",...t)}function it(...t){return(0,e.default)("ObjectTypeCallProperty",...t)}function ut(...t){return(0,e.default)("ObjectTypeIndexer",...t)}function xt(...t){return(0,e.default)("ObjectTypeProperty",...t)}function lt(...t){return(0,e.default)("ObjectTypeSpreadProperty",...t)}function ct(...t){return(0,e.default)("OpaqueType",...t)}function ft(...t){return(0,e.default)("QualifiedTypeIdentifier",...t)}function dt(...t){return(0,e.default)("StringLiteralTypeAnnotation",...t)}function yt(...t){return(0,e.default)("StringTypeAnnotation",...t)}function Tt(...t){return(0,e.default)("SymbolTypeAnnotation",...t)}function St(...t){return(0,e.default)("ThisTypeAnnotation",...t)}function mt(...t){return(0,e.default)("TupleTypeAnnotation",...t)}function Et(...t){return(0,e.default)("TypeofTypeAnnotation",...t)}function At(...t){return(0,e.default)("TypeAlias",...t)}function bt(...t){return(0,e.default)("TypeAnnotation",...t)}function Dt(...t){return(0,e.default)("TypeCastExpression",...t)}function gt(...t){return(0,e.default)("TypeParameter",...t)}function Pt(...t){return(0,e.default)("TypeParameterDeclaration",...t)}function It(...t){return(0,e.default)("TypeParameterInstantiation",...t)}function Nt(...t){return(0,e.default)("UnionTypeAnnotation",...t)}function ht(...t){return(0,e.default)("Variance",...t)}function wt(...t){return(0,e.default)("VoidTypeAnnotation",...t)}function Ct(...t){return(0,e.default)("EnumDeclaration",...t)}function Mt(...t){return(0,e.default)("EnumBooleanBody",...t)}function jt(...t){return(0,e.default)("EnumNumberBody",...t)}function Lt(...t){return(0,e.default)("EnumStringBody",...t)}function Bt(...t){return(0,e.default)("EnumSymbolBody",...t)}function Ot(...t){return(0,e.default)("EnumBooleanMember",...t)}function Kt(...t){return(0,e.default)("EnumNumberMember",...t)}function Ft(...t){return(0,e.default)("EnumStringMember",...t)}function Xt(...t){return(0,e.default)("EnumDefaultedMember",...t)}function Rt(...t){return(0,e.default)("JSXAttribute",...t)}function Jt(...t){return(0,e.default)("JSXClosingElement",...t)}function vt(...t){return(0,e.default)("JSXElement",...t)}function Ut(...t){return(0,e.default)("JSXEmptyExpression",...t)}function kt(...t){return(0,e.default)("JSXExpressionContainer",...t)}function Vt(...t){return(0,e.default)("JSXSpreadChild",...t)}function qt(...t){return(0,e.default)("JSXIdentifier",...t)}function Wt(...t){return(0,e.default)("JSXMemberExpression",...t)}function Qt(...t){return(0,e.default)("JSXNamespacedName",...t)}function zt(...t){return(0,e.default)("JSXOpeningElement",...t)}function _t(...t){return(0,e.default)("JSXSpreadAttribute",...t)}function Gt(...t){return(0,e.default)("JSXText",...t)}function Yt(...t){return(0,e.default)("JSXFragment",...t)}function Ht(...t){return(0,e.default)("JSXOpeningFragment",...t)}function Zt(...t){return(0,e.default)("JSXClosingFragment",...t)}function $t(...t){return(0,e.default)("Noop",...t)}function er(...t){return(0,e.default)("Placeholder",...t)}function tr(...t){return(0,e.default)("V8IntrinsicIdentifier",...t)}function rr(...t){return(0,e.default)("ArgumentPlaceholder",...t)}function nr(...t){return(0,e.default)("BindExpression",...t)}function or(...t){return(0,e.default)("ClassProperty",...t)}function pr(...t){return(0,e.default)("PipelineTopicExpression",...t)}function ar(...t){return(0,e.default)("PipelineBareFunction",...t)}function sr(...t){return(0,e.default)("PipelinePrimaryTopicReference",...t)}function ir(...t){return(0,e.default)("ClassPrivateProperty",...t)}function ur(...t){return(0,e.default)("ClassPrivateMethod",...t)}function xr(...t){return(0,e.default)("ImportAttribute",...t)}function lr(...t){return(0,e.default)("Decorator",...t)}function cr(...t){return(0,e.default)("DoExpression",...t)}function fr(...t){return(0,e.default)("ExportDefaultSpecifier",...t)}function dr(...t){return(0,e.default)("PrivateName",...t)}function yr(...t){return(0,e.default)("RecordExpression",...t)}function Tr(...t){return(0,e.default)("TupleExpression",...t)}function Sr(...t){return(0,e.default)("DecimalLiteral",...t)}function mr(...t){return(0,e.default)("StaticBlock",...t)}function Er(...t){return(0,e.default)("TSParameterProperty",...t)}function Ar(...t){return(0,e.default)("TSDeclareFunction",...t)}function br(...t){return(0,e.default)("TSDeclareMethod",...t)}function Dr(...t){return(0,e.default)("TSQualifiedName",...t)}function gr(...t){return(0,e.default)("TSCallSignatureDeclaration",...t)}function Pr(...t){return(0,e.default)("TSConstructSignatureDeclaration",...t)}function Ir(...t){return(0,e.default)("TSPropertySignature",...t)}function Nr(...t){return(0,e.default)("TSMethodSignature",...t)}function hr(...t){return(0,e.default)("TSIndexSignature",...t)}function wr(...t){return(0,e.default)("TSAnyKeyword",...t)}function Cr(...t){return(0,e.default)("TSBooleanKeyword",...t)}function Mr(...t){return(0,e.default)("TSBigIntKeyword",...t)}function jr(...t){return(0,e.default)("TSIntrinsicKeyword",...t)}function Lr(...t){return(0,e.default)("TSNeverKeyword",...t)}function Br(...t){return(0,e.default)("TSNullKeyword",...t)}function Or(...t){return(0,e.default)("TSNumberKeyword",...t)}function Kr(...t){return(0,e.default)("TSObjectKeyword",...t)}function Fr(...t){return(0,e.default)("TSStringKeyword",...t)}function Xr(...t){return(0,e.default)("TSSymbolKeyword",...t)}function Rr(...t){return(0,e.default)("TSUndefinedKeyword",...t)}function Jr(...t){return(0,e.default)("TSUnknownKeyword",...t)}function vr(...t){return(0,e.default)("TSVoidKeyword",...t)}function Ur(...t){return(0,e.default)("TSThisType",...t)}function kr(...t){return(0,e.default)("TSFunctionType",...t)}function Vr(...t){return(0,e.default)("TSConstructorType",...t)}function qr(...t){return(0,e.default)("TSTypeReference",...t)}function Wr(...t){return(0,e.default)("TSTypePredicate",...t)}function Qr(...t){return(0,e.default)("TSTypeQuery",...t)}function zr(...t){return(0,e.default)("TSTypeLiteral",...t)}function _r(...t){return(0,e.default)("TSArrayType",...t)}function Gr(...t){return(0,e.default)("TSTupleType",...t)}function Yr(...t){return(0,e.default)("TSOptionalType",...t)}function Hr(...t){return(0,e.default)("TSRestType",...t)}function Zr(...t){return(0,e.default)("TSNamedTupleMember",...t)}function $r(...t){return(0,e.default)("TSUnionType",...t)}function en(...t){return(0,e.default)("TSIntersectionType",...t)}function tn(...t){return(0,e.default)("TSConditionalType",...t)}function rn(...t){return(0,e.default)("TSInferType",...t)}function nn(...t){return(0,e.default)("TSParenthesizedType",...t)}function on(...t){return(0,e.default)("TSTypeOperator",...t)}function pn(...t){return(0,e.default)("TSIndexedAccessType",...t)}function an(...t){return(0,e.default)("TSMappedType",...t)}function sn(...t){return(0,e.default)("TSLiteralType",...t)}function un(...t){return(0,e.default)("TSExpressionWithTypeArguments",...t)}function xn(...t){return(0,e.default)("TSInterfaceDeclaration",...t)}function ln(...t){return(0,e.default)("TSInterfaceBody",...t)}function cn(...t){return(0,e.default)("TSTypeAliasDeclaration",...t)}function fn(...t){return(0,e.default)("TSAsExpression",...t)}function dn(...t){return(0,e.default)("TSTypeAssertion",...t)}function yn(...t){return(0,e.default)("TSEnumDeclaration",...t)}function Tn(...t){return(0,e.default)("TSEnumMember",...t)}function Sn(...t){return(0,e.default)("TSModuleDeclaration",...t)}function mn(...t){return(0,e.default)("TSModuleBlock",...t)}function En(...t){return(0,e.default)("TSImportType",...t)}function An(...t){return(0,e.default)("TSImportEqualsDeclaration",...t)}function bn(...t){return(0,e.default)("TSExternalModuleReference",...t)}function Dn(...t){return(0,e.default)("TSNonNullExpression",...t)}function gn(...t){return(0,e.default)("TSExportAssignment",...t)}function Pn(...t){return(0,e.default)("TSNamespaceExportDeclaration",...t)}function In(...t){return(0,e.default)("TSTypeAnnotation",...t)}function Nn(...t){return(0,e.default)("TSTypeParameterInstantiation",...t)}function hn(...t){return(0,e.default)("TSTypeParameterDeclaration",...t)}function wn(...t){return(0,e.default)("TSTypeParameter",...t)}function Cn(...t){return console.trace("The node type NumberLiteral has been renamed to NumericLiteral"),(0,e.default)("NumberLiteral",...t)}function Mn(...t){return console.trace("The node type RegexLiteral has been renamed to RegExpLiteral"),(0,e.default)("RegexLiteral",...t)}function jn(...t){return console.trace("The node type RestProperty has been renamed to RestElement"),(0,e.default)("RestProperty",...t)}function Ln(...t){return console.trace("The node type SpreadProperty has been renamed to SpreadElement"),(0,e.default)("SpreadProperty",...t)}
  },{"../builder":"S4lE"}],"AWhm":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=require("../../builders/generated");function t(t,r){const l=t.value.split(/\r\n|\n|\r/);let n=0;for(let e=0;e<l.length;e++)l[e].match(/[^ \t]/)&&(n=e);let s="";for(let e=0;e<l.length;e++){const t=l[e],r=0===e,a=e===l.length-1,c=e===n;let o=t.replace(/\t/g," ");r||(o=o.replace(/^[ ]+/,"")),a||(o=o.replace(/[ ]+$/,"")),o&&(c||(o+=" "),s+=o)}s&&r.push((0,e.stringLiteral)(s))}
  },{"../../builders/generated":"mu1T"}],"KWI9":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=i;var e=require("../../validators/generated"),t=r(require("../../utils/react/cleanJSXElementLiteralChild"));function r(e){return e&&e.__esModule?e:{default:e}}function i(r){const i=[];for(let n=0;n<r.children.length;n++){let s=r.children[n];(0,e.isJSXText)(s)?(0,t.default)(s,i):((0,e.isJSXExpressionContainer)(s)&&(s=s.expression),(0,e.isJSXEmptyExpression)(s)||i.push(s))}return i}
  },{"../../validators/generated":"iqnQ","../../utils/react/cleanJSXElementLiteralChild":"AWhm"}],"zcK8":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=require("../definitions");function t(t){return!(!t||!e.VISITOR_KEYS[t.type])}
  },{"../definitions":"xIOT"}],"nJSy":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=t(require("../validators/isNode"));function t(e){return e&&e.__esModule?e:{default:e}}function r(t){if(!(0,e.default)(t)){var r;const e=null!=(r=null==t?void 0:t.type)?r:JSON.stringify(t);throw new TypeError(`Not a valid node of type "${e}"`)}}
  },{"../validators/isNode":"zcK8"}],"h9EI":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.assertArrayExpression=r,exports.assertAssignmentExpression=s,exports.assertBinaryExpression=o,exports.assertInterpreterDirective=a,exports.assertDirective=i,exports.assertDirectiveLiteral=p,exports.assertBlockStatement=c,exports.assertBreakStatement=u,exports.assertCallExpression=x,exports.assertCatchClause=l,exports.assertConditionalExpression=f,exports.assertContinueStatement=T,exports.assertDebuggerStatement=S,exports.assertDoWhileStatement=y,exports.assertEmptyStatement=m,exports.assertExpressionStatement=d,exports.assertFile=E,exports.assertForInStatement=A,exports.assertForStatement=D,exports.assertFunctionDeclaration=b,exports.assertFunctionExpression=P,exports.assertIdentifier=I,exports.assertIfStatement=g,exports.assertLabeledStatement=h,exports.assertStringLiteral=C,exports.assertNumericLiteral=M,exports.assertNullLiteral=N,exports.assertBooleanLiteral=B,exports.assertRegExpLiteral=w,exports.assertLogicalExpression=L,exports.assertMemberExpression=F,exports.assertNewExpression=O,exports.assertProgram=X,exports.assertObjectExpression=J,exports.assertObjectMethod=K,exports.assertObjectProperty=j,exports.assertRestElement=R,exports.assertReturnStatement=v,exports.assertSequenceExpression=k,exports.assertParenthesizedExpression=U,exports.assertSwitchCase=V,exports.assertSwitchStatement=W,exports.assertThisExpression=q,exports.assertThrowStatement=Q,exports.assertTryStatement=z,exports.assertUnaryExpression=_,exports.assertUpdateExpression=$,exports.assertVariableDeclaration=G,exports.assertVariableDeclarator=Y,exports.assertWhileStatement=H,exports.assertWithStatement=Z,exports.assertAssignmentPattern=ee,exports.assertArrayPattern=te,exports.assertArrowFunctionExpression=ne,exports.assertClassBody=re,exports.assertClassExpression=se,exports.assertClassDeclaration=oe,exports.assertExportAllDeclaration=ae,exports.assertExportDefaultDeclaration=ie,exports.assertExportNamedDeclaration=pe,exports.assertExportSpecifier=ce,exports.assertForOfStatement=ue,exports.assertImportDeclaration=xe,exports.assertImportDefaultSpecifier=le,exports.assertImportNamespaceSpecifier=fe,exports.assertImportSpecifier=Te,exports.assertMetaProperty=Se,exports.assertClassMethod=ye,exports.assertObjectPattern=me,exports.assertSpreadElement=de,exports.assertSuper=Ee,exports.assertTaggedTemplateExpression=Ae,exports.assertTemplateElement=De,exports.assertTemplateLiteral=be,exports.assertYieldExpression=Pe,exports.assertAwaitExpression=Ie,exports.assertImport=ge,exports.assertBigIntLiteral=he,exports.assertExportNamespaceSpecifier=Ce,exports.assertOptionalMemberExpression=Me,exports.assertOptionalCallExpression=Ne,exports.assertAnyTypeAnnotation=Be,exports.assertArrayTypeAnnotation=we,exports.assertBooleanTypeAnnotation=Le,exports.assertBooleanLiteralTypeAnnotation=Fe,exports.assertNullLiteralTypeAnnotation=Oe,exports.assertClassImplements=Xe,exports.assertDeclareClass=Je,exports.assertDeclareFunction=Ke,exports.assertDeclareInterface=je,exports.assertDeclareModule=Re,exports.assertDeclareModuleExports=ve,exports.assertDeclareTypeAlias=ke,exports.assertDeclareOpaqueType=Ue,exports.assertDeclareVariable=Ve,exports.assertDeclareExportDeclaration=We,exports.assertDeclareExportAllDeclaration=qe,exports.assertDeclaredPredicate=Qe,exports.assertExistsTypeAnnotation=ze,exports.assertFunctionTypeAnnotation=_e,exports.assertFunctionTypeParam=$e,exports.assertGenericTypeAnnotation=Ge,exports.assertInferredPredicate=Ye,exports.assertInterfaceExtends=He,exports.assertInterfaceDeclaration=Ze,exports.assertInterfaceTypeAnnotation=et,exports.assertIntersectionTypeAnnotation=tt,exports.assertMixedTypeAnnotation=nt,exports.assertEmptyTypeAnnotation=rt,exports.assertNullableTypeAnnotation=st,exports.assertNumberLiteralTypeAnnotation=ot,exports.assertNumberTypeAnnotation=at,exports.assertObjectTypeAnnotation=it,exports.assertObjectTypeInternalSlot=pt,exports.assertObjectTypeCallProperty=ct,exports.assertObjectTypeIndexer=ut,exports.assertObjectTypeProperty=xt,exports.assertObjectTypeSpreadProperty=lt,exports.assertOpaqueType=ft,exports.assertQualifiedTypeIdentifier=Tt,exports.assertStringLiteralTypeAnnotation=St,exports.assertStringTypeAnnotation=yt,exports.assertSymbolTypeAnnotation=mt,exports.assertThisTypeAnnotation=dt,exports.assertTupleTypeAnnotation=Et,exports.assertTypeofTypeAnnotation=At,exports.assertTypeAlias=Dt,exports.assertTypeAnnotation=bt,exports.assertTypeCastExpression=Pt,exports.assertTypeParameter=It,exports.assertTypeParameterDeclaration=gt,exports.assertTypeParameterInstantiation=ht,exports.assertUnionTypeAnnotation=Ct,exports.assertVariance=Mt,exports.assertVoidTypeAnnotation=Nt,exports.assertEnumDeclaration=Bt,exports.assertEnumBooleanBody=wt,exports.assertEnumNumberBody=Lt,exports.assertEnumStringBody=Ft,exports.assertEnumSymbolBody=Ot,exports.assertEnumBooleanMember=Xt,exports.assertEnumNumberMember=Jt,exports.assertEnumStringMember=Kt,exports.assertEnumDefaultedMember=jt,exports.assertJSXAttribute=Rt,exports.assertJSXClosingElement=vt,exports.assertJSXElement=kt,exports.assertJSXEmptyExpression=Ut,exports.assertJSXExpressionContainer=Vt,exports.assertJSXSpreadChild=Wt,exports.assertJSXIdentifier=qt,exports.assertJSXMemberExpression=Qt,exports.assertJSXNamespacedName=zt,exports.assertJSXOpeningElement=_t,exports.assertJSXSpreadAttribute=$t,exports.assertJSXText=Gt,exports.assertJSXFragment=Yt,exports.assertJSXOpeningFragment=Ht,exports.assertJSXClosingFragment=Zt,exports.assertNoop=en,exports.assertPlaceholder=tn,exports.assertV8IntrinsicIdentifier=nn,exports.assertArgumentPlaceholder=rn,exports.assertBindExpression=sn,exports.assertClassProperty=on,exports.assertPipelineTopicExpression=an,exports.assertPipelineBareFunction=pn,exports.assertPipelinePrimaryTopicReference=cn,exports.assertClassPrivateProperty=un,exports.assertClassPrivateMethod=xn,exports.assertImportAttribute=ln,exports.assertDecorator=fn,exports.assertDoExpression=Tn,exports.assertExportDefaultSpecifier=Sn,exports.assertPrivateName=yn,exports.assertRecordExpression=mn,exports.assertTupleExpression=dn,exports.assertDecimalLiteral=En,exports.assertStaticBlock=An,exports.assertTSParameterProperty=Dn,exports.assertTSDeclareFunction=bn,exports.assertTSDeclareMethod=Pn,exports.assertTSQualifiedName=In,exports.assertTSCallSignatureDeclaration=gn,exports.assertTSConstructSignatureDeclaration=hn,exports.assertTSPropertySignature=Cn,exports.assertTSMethodSignature=Mn,exports.assertTSIndexSignature=Nn,exports.assertTSAnyKeyword=Bn,exports.assertTSBooleanKeyword=wn,exports.assertTSBigIntKeyword=Ln,exports.assertTSIntrinsicKeyword=Fn,exports.assertTSNeverKeyword=On,exports.assertTSNullKeyword=Xn,exports.assertTSNumberKeyword=Jn,exports.assertTSObjectKeyword=Kn,exports.assertTSStringKeyword=jn,exports.assertTSSymbolKeyword=Rn,exports.assertTSUndefinedKeyword=vn,exports.assertTSUnknownKeyword=kn,exports.assertTSVoidKeyword=Un,exports.assertTSThisType=Vn,exports.assertTSFunctionType=Wn,exports.assertTSConstructorType=qn,exports.assertTSTypeReference=Qn,exports.assertTSTypePredicate=zn,exports.assertTSTypeQuery=_n,exports.assertTSTypeLiteral=$n,exports.assertTSArrayType=Gn,exports.assertTSTupleType=Yn,exports.assertTSOptionalType=Hn,exports.assertTSRestType=Zn,exports.assertTSNamedTupleMember=er,exports.assertTSUnionType=tr,exports.assertTSIntersectionType=nr,exports.assertTSConditionalType=rr,exports.assertTSInferType=sr,exports.assertTSParenthesizedType=or,exports.assertTSTypeOperator=ar,exports.assertTSIndexedAccessType=ir,exports.assertTSMappedType=pr,exports.assertTSLiteralType=cr,exports.assertTSExpressionWithTypeArguments=ur,exports.assertTSInterfaceDeclaration=xr,exports.assertTSInterfaceBody=lr,exports.assertTSTypeAliasDeclaration=fr,exports.assertTSAsExpression=Tr,exports.assertTSTypeAssertion=Sr,exports.assertTSEnumDeclaration=yr,exports.assertTSEnumMember=mr,exports.assertTSModuleDeclaration=dr,exports.assertTSModuleBlock=Er,exports.assertTSImportType=Ar,exports.assertTSImportEqualsDeclaration=Dr,exports.assertTSExternalModuleReference=br,exports.assertTSNonNullExpression=Pr,exports.assertTSExportAssignment=Ir,exports.assertTSNamespaceExportDeclaration=gr,exports.assertTSTypeAnnotation=hr,exports.assertTSTypeParameterInstantiation=Cr,exports.assertTSTypeParameterDeclaration=Mr,exports.assertTSTypeParameter=Nr,exports.assertExpression=Br,exports.assertBinary=wr,exports.assertScopable=Lr,exports.assertBlockParent=Fr,exports.assertBlock=Or,exports.assertStatement=Xr,exports.assertTerminatorless=Jr,exports.assertCompletionStatement=Kr,exports.assertConditional=jr,exports.assertLoop=Rr,exports.assertWhile=vr,exports.assertExpressionWrapper=kr,exports.assertFor=Ur,exports.assertForXStatement=Vr,exports.assertFunction=Wr,exports.assertFunctionParent=qr,exports.assertPureish=Qr,exports.assertDeclaration=zr,exports.assertPatternLike=_r,exports.assertLVal=$r,exports.assertTSEntityName=Gr,exports.assertLiteral=Yr,exports.assertImmutable=Hr,exports.assertUserWhitespacable=Zr,exports.assertMethod=es,exports.assertObjectMember=ts,exports.assertProperty=ns,exports.assertUnaryLike=rs,exports.assertPattern=ss,exports.assertClass=os,exports.assertModuleDeclaration=as,exports.assertExportDeclaration=is,exports.assertModuleSpecifier=ps,exports.assertFlow=cs,exports.assertFlowType=us,exports.assertFlowBaseAnnotation=xs,exports.assertFlowDeclaration=ls,exports.assertFlowPredicate=fs,exports.assertEnumBody=Ts,exports.assertEnumMember=Ss,exports.assertJSX=ys,exports.assertPrivate=ms,exports.assertTSTypeElement=ds,exports.assertTSType=Es,exports.assertTSBaseType=As,exports.assertNumberLiteral=Ds,exports.assertRegexLiteral=bs,exports.assertRestProperty=Ps,exports.assertSpreadProperty=Is;var e=t(require("../../validators/is"));function t(e){return e&&e.__esModule?e:{default:e}}function n(t,n,r){if(!(0,e.default)(t,n,r))throw new Error(`Expected type "${t}" with option ${JSON.stringify(r)}, `+`but instead got "${n.type}".`)}function r(e,t={}){n("ArrayExpression",e,t)}function s(e,t={}){n("AssignmentExpression",e,t)}function o(e,t={}){n("BinaryExpression",e,t)}function a(e,t={}){n("InterpreterDirective",e,t)}function i(e,t={}){n("Directive",e,t)}function p(e,t={}){n("DirectiveLiteral",e,t)}function c(e,t={}){n("BlockStatement",e,t)}function u(e,t={}){n("BreakStatement",e,t)}function x(e,t={}){n("CallExpression",e,t)}function l(e,t={}){n("CatchClause",e,t)}function f(e,t={}){n("ConditionalExpression",e,t)}function T(e,t={}){n("ContinueStatement",e,t)}function S(e,t={}){n("DebuggerStatement",e,t)}function y(e,t={}){n("DoWhileStatement",e,t)}function m(e,t={}){n("EmptyStatement",e,t)}function d(e,t={}){n("ExpressionStatement",e,t)}function E(e,t={}){n("File",e,t)}function A(e,t={}){n("ForInStatement",e,t)}function D(e,t={}){n("ForStatement",e,t)}function b(e,t={}){n("FunctionDeclaration",e,t)}function P(e,t={}){n("FunctionExpression",e,t)}function I(e,t={}){n("Identifier",e,t)}function g(e,t={}){n("IfStatement",e,t)}function h(e,t={}){n("LabeledStatement",e,t)}function C(e,t={}){n("StringLiteral",e,t)}function M(e,t={}){n("NumericLiteral",e,t)}function N(e,t={}){n("NullLiteral",e,t)}function B(e,t={}){n("BooleanLiteral",e,t)}function w(e,t={}){n("RegExpLiteral",e,t)}function L(e,t={}){n("LogicalExpression",e,t)}function F(e,t={}){n("MemberExpression",e,t)}function O(e,t={}){n("NewExpression",e,t)}function X(e,t={}){n("Program",e,t)}function J(e,t={}){n("ObjectExpression",e,t)}function K(e,t={}){n("ObjectMethod",e,t)}function j(e,t={}){n("ObjectProperty",e,t)}function R(e,t={}){n("RestElement",e,t)}function v(e,t={}){n("ReturnStatement",e,t)}function k(e,t={}){n("SequenceExpression",e,t)}function U(e,t={}){n("ParenthesizedExpression",e,t)}function V(e,t={}){n("SwitchCase",e,t)}function W(e,t={}){n("SwitchStatement",e,t)}function q(e,t={}){n("ThisExpression",e,t)}function Q(e,t={}){n("ThrowStatement",e,t)}function z(e,t={}){n("TryStatement",e,t)}function _(e,t={}){n("UnaryExpression",e,t)}function $(e,t={}){n("UpdateExpression",e,t)}function G(e,t={}){n("VariableDeclaration",e,t)}function Y(e,t={}){n("VariableDeclarator",e,t)}function H(e,t={}){n("WhileStatement",e,t)}function Z(e,t={}){n("WithStatement",e,t)}function ee(e,t={}){n("AssignmentPattern",e,t)}function te(e,t={}){n("ArrayPattern",e,t)}function ne(e,t={}){n("ArrowFunctionExpression",e,t)}function re(e,t={}){n("ClassBody",e,t)}function se(e,t={}){n("ClassExpression",e,t)}function oe(e,t={}){n("ClassDeclaration",e,t)}function ae(e,t={}){n("ExportAllDeclaration",e,t)}function ie(e,t={}){n("ExportDefaultDeclaration",e,t)}function pe(e,t={}){n("ExportNamedDeclaration",e,t)}function ce(e,t={}){n("ExportSpecifier",e,t)}function ue(e,t={}){n("ForOfStatement",e,t)}function xe(e,t={}){n("ImportDeclaration",e,t)}function le(e,t={}){n("ImportDefaultSpecifier",e,t)}function fe(e,t={}){n("ImportNamespaceSpecifier",e,t)}function Te(e,t={}){n("ImportSpecifier",e,t)}function Se(e,t={}){n("MetaProperty",e,t)}function ye(e,t={}){n("ClassMethod",e,t)}function me(e,t={}){n("ObjectPattern",e,t)}function de(e,t={}){n("SpreadElement",e,t)}function Ee(e,t={}){n("Super",e,t)}function Ae(e,t={}){n("TaggedTemplateExpression",e,t)}function De(e,t={}){n("TemplateElement",e,t)}function be(e,t={}){n("TemplateLiteral",e,t)}function Pe(e,t={}){n("YieldExpression",e,t)}function Ie(e,t={}){n("AwaitExpression",e,t)}function ge(e,t={}){n("Import",e,t)}function he(e,t={}){n("BigIntLiteral",e,t)}function Ce(e,t={}){n("ExportNamespaceSpecifier",e,t)}function Me(e,t={}){n("OptionalMemberExpression",e,t)}function Ne(e,t={}){n("OptionalCallExpression",e,t)}function Be(e,t={}){n("AnyTypeAnnotation",e,t)}function we(e,t={}){n("ArrayTypeAnnotation",e,t)}function Le(e,t={}){n("BooleanTypeAnnotation",e,t)}function Fe(e,t={}){n("BooleanLiteralTypeAnnotation",e,t)}function Oe(e,t={}){n("NullLiteralTypeAnnotation",e,t)}function Xe(e,t={}){n("ClassImplements",e,t)}function Je(e,t={}){n("DeclareClass",e,t)}function Ke(e,t={}){n("DeclareFunction",e,t)}function je(e,t={}){n("DeclareInterface",e,t)}function Re(e,t={}){n("DeclareModule",e,t)}function ve(e,t={}){n("DeclareModuleExports",e,t)}function ke(e,t={}){n("DeclareTypeAlias",e,t)}function Ue(e,t={}){n("DeclareOpaqueType",e,t)}function Ve(e,t={}){n("DeclareVariable",e,t)}function We(e,t={}){n("DeclareExportDeclaration",e,t)}function qe(e,t={}){n("DeclareExportAllDeclaration",e,t)}function Qe(e,t={}){n("DeclaredPredicate",e,t)}function ze(e,t={}){n("ExistsTypeAnnotation",e,t)}function _e(e,t={}){n("FunctionTypeAnnotation",e,t)}function $e(e,t={}){n("FunctionTypeParam",e,t)}function Ge(e,t={}){n("GenericTypeAnnotation",e,t)}function Ye(e,t={}){n("InferredPredicate",e,t)}function He(e,t={}){n("InterfaceExtends",e,t)}function Ze(e,t={}){n("InterfaceDeclaration",e,t)}function et(e,t={}){n("InterfaceTypeAnnotation",e,t)}function tt(e,t={}){n("IntersectionTypeAnnotation",e,t)}function nt(e,t={}){n("MixedTypeAnnotation",e,t)}function rt(e,t={}){n("EmptyTypeAnnotation",e,t)}function st(e,t={}){n("NullableTypeAnnotation",e,t)}function ot(e,t={}){n("NumberLiteralTypeAnnotation",e,t)}function at(e,t={}){n("NumberTypeAnnotation",e,t)}function it(e,t={}){n("ObjectTypeAnnotation",e,t)}function pt(e,t={}){n("ObjectTypeInternalSlot",e,t)}function ct(e,t={}){n("ObjectTypeCallProperty",e,t)}function ut(e,t={}){n("ObjectTypeIndexer",e,t)}function xt(e,t={}){n("ObjectTypeProperty",e,t)}function lt(e,t={}){n("ObjectTypeSpreadProperty",e,t)}function ft(e,t={}){n("OpaqueType",e,t)}function Tt(e,t={}){n("QualifiedTypeIdentifier",e,t)}function St(e,t={}){n("StringLiteralTypeAnnotation",e,t)}function yt(e,t={}){n("StringTypeAnnotation",e,t)}function mt(e,t={}){n("SymbolTypeAnnotation",e,t)}function dt(e,t={}){n("ThisTypeAnnotation",e,t)}function Et(e,t={}){n("TupleTypeAnnotation",e,t)}function At(e,t={}){n("TypeofTypeAnnotation",e,t)}function Dt(e,t={}){n("TypeAlias",e,t)}function bt(e,t={}){n("TypeAnnotation",e,t)}function Pt(e,t={}){n("TypeCastExpression",e,t)}function It(e,t={}){n("TypeParameter",e,t)}function gt(e,t={}){n("TypeParameterDeclaration",e,t)}function ht(e,t={}){n("TypeParameterInstantiation",e,t)}function Ct(e,t={}){n("UnionTypeAnnotation",e,t)}function Mt(e,t={}){n("Variance",e,t)}function Nt(e,t={}){n("VoidTypeAnnotation",e,t)}function Bt(e,t={}){n("EnumDeclaration",e,t)}function wt(e,t={}){n("EnumBooleanBody",e,t)}function Lt(e,t={}){n("EnumNumberBody",e,t)}function Ft(e,t={}){n("EnumStringBody",e,t)}function Ot(e,t={}){n("EnumSymbolBody",e,t)}function Xt(e,t={}){n("EnumBooleanMember",e,t)}function Jt(e,t={}){n("EnumNumberMember",e,t)}function Kt(e,t={}){n("EnumStringMember",e,t)}function jt(e,t={}){n("EnumDefaultedMember",e,t)}function Rt(e,t={}){n("JSXAttribute",e,t)}function vt(e,t={}){n("JSXClosingElement",e,t)}function kt(e,t={}){n("JSXElement",e,t)}function Ut(e,t={}){n("JSXEmptyExpression",e,t)}function Vt(e,t={}){n("JSXExpressionContainer",e,t)}function Wt(e,t={}){n("JSXSpreadChild",e,t)}function qt(e,t={}){n("JSXIdentifier",e,t)}function Qt(e,t={}){n("JSXMemberExpression",e,t)}function zt(e,t={}){n("JSXNamespacedName",e,t)}function _t(e,t={}){n("JSXOpeningElement",e,t)}function $t(e,t={}){n("JSXSpreadAttribute",e,t)}function Gt(e,t={}){n("JSXText",e,t)}function Yt(e,t={}){n("JSXFragment",e,t)}function Ht(e,t={}){n("JSXOpeningFragment",e,t)}function Zt(e,t={}){n("JSXClosingFragment",e,t)}function en(e,t={}){n("Noop",e,t)}function tn(e,t={}){n("Placeholder",e,t)}function nn(e,t={}){n("V8IntrinsicIdentifier",e,t)}function rn(e,t={}){n("ArgumentPlaceholder",e,t)}function sn(e,t={}){n("BindExpression",e,t)}function on(e,t={}){n("ClassProperty",e,t)}function an(e,t={}){n("PipelineTopicExpression",e,t)}function pn(e,t={}){n("PipelineBareFunction",e,t)}function cn(e,t={}){n("PipelinePrimaryTopicReference",e,t)}function un(e,t={}){n("ClassPrivateProperty",e,t)}function xn(e,t={}){n("ClassPrivateMethod",e,t)}function ln(e,t={}){n("ImportAttribute",e,t)}function fn(e,t={}){n("Decorator",e,t)}function Tn(e,t={}){n("DoExpression",e,t)}function Sn(e,t={}){n("ExportDefaultSpecifier",e,t)}function yn(e,t={}){n("PrivateName",e,t)}function mn(e,t={}){n("RecordExpression",e,t)}function dn(e,t={}){n("TupleExpression",e,t)}function En(e,t={}){n("DecimalLiteral",e,t)}function An(e,t={}){n("StaticBlock",e,t)}function Dn(e,t={}){n("TSParameterProperty",e,t)}function bn(e,t={}){n("TSDeclareFunction",e,t)}function Pn(e,t={}){n("TSDeclareMethod",e,t)}function In(e,t={}){n("TSQualifiedName",e,t)}function gn(e,t={}){n("TSCallSignatureDeclaration",e,t)}function hn(e,t={}){n("TSConstructSignatureDeclaration",e,t)}function Cn(e,t={}){n("TSPropertySignature",e,t)}function Mn(e,t={}){n("TSMethodSignature",e,t)}function Nn(e,t={}){n("TSIndexSignature",e,t)}function Bn(e,t={}){n("TSAnyKeyword",e,t)}function wn(e,t={}){n("TSBooleanKeyword",e,t)}function Ln(e,t={}){n("TSBigIntKeyword",e,t)}function Fn(e,t={}){n("TSIntrinsicKeyword",e,t)}function On(e,t={}){n("TSNeverKeyword",e,t)}function Xn(e,t={}){n("TSNullKeyword",e,t)}function Jn(e,t={}){n("TSNumberKeyword",e,t)}function Kn(e,t={}){n("TSObjectKeyword",e,t)}function jn(e,t={}){n("TSStringKeyword",e,t)}function Rn(e,t={}){n("TSSymbolKeyword",e,t)}function vn(e,t={}){n("TSUndefinedKeyword",e,t)}function kn(e,t={}){n("TSUnknownKeyword",e,t)}function Un(e,t={}){n("TSVoidKeyword",e,t)}function Vn(e,t={}){n("TSThisType",e,t)}function Wn(e,t={}){n("TSFunctionType",e,t)}function qn(e,t={}){n("TSConstructorType",e,t)}function Qn(e,t={}){n("TSTypeReference",e,t)}function zn(e,t={}){n("TSTypePredicate",e,t)}function _n(e,t={}){n("TSTypeQuery",e,t)}function $n(e,t={}){n("TSTypeLiteral",e,t)}function Gn(e,t={}){n("TSArrayType",e,t)}function Yn(e,t={}){n("TSTupleType",e,t)}function Hn(e,t={}){n("TSOptionalType",e,t)}function Zn(e,t={}){n("TSRestType",e,t)}function er(e,t={}){n("TSNamedTupleMember",e,t)}function tr(e,t={}){n("TSUnionType",e,t)}function nr(e,t={}){n("TSIntersectionType",e,t)}function rr(e,t={}){n("TSConditionalType",e,t)}function sr(e,t={}){n("TSInferType",e,t)}function or(e,t={}){n("TSParenthesizedType",e,t)}function ar(e,t={}){n("TSTypeOperator",e,t)}function ir(e,t={}){n("TSIndexedAccessType",e,t)}function pr(e,t={}){n("TSMappedType",e,t)}function cr(e,t={}){n("TSLiteralType",e,t)}function ur(e,t={}){n("TSExpressionWithTypeArguments",e,t)}function xr(e,t={}){n("TSInterfaceDeclaration",e,t)}function lr(e,t={}){n("TSInterfaceBody",e,t)}function fr(e,t={}){n("TSTypeAliasDeclaration",e,t)}function Tr(e,t={}){n("TSAsExpression",e,t)}function Sr(e,t={}){n("TSTypeAssertion",e,t)}function yr(e,t={}){n("TSEnumDeclaration",e,t)}function mr(e,t={}){n("TSEnumMember",e,t)}function dr(e,t={}){n("TSModuleDeclaration",e,t)}function Er(e,t={}){n("TSModuleBlock",e,t)}function Ar(e,t={}){n("TSImportType",e,t)}function Dr(e,t={}){n("TSImportEqualsDeclaration",e,t)}function br(e,t={}){n("TSExternalModuleReference",e,t)}function Pr(e,t={}){n("TSNonNullExpression",e,t)}function Ir(e,t={}){n("TSExportAssignment",e,t)}function gr(e,t={}){n("TSNamespaceExportDeclaration",e,t)}function hr(e,t={}){n("TSTypeAnnotation",e,t)}function Cr(e,t={}){n("TSTypeParameterInstantiation",e,t)}function Mr(e,t={}){n("TSTypeParameterDeclaration",e,t)}function Nr(e,t={}){n("TSTypeParameter",e,t)}function Br(e,t={}){n("Expression",e,t)}function wr(e,t={}){n("Binary",e,t)}function Lr(e,t={}){n("Scopable",e,t)}function Fr(e,t={}){n("BlockParent",e,t)}function Or(e,t={}){n("Block",e,t)}function Xr(e,t={}){n("Statement",e,t)}function Jr(e,t={}){n("Terminatorless",e,t)}function Kr(e,t={}){n("CompletionStatement",e,t)}function jr(e,t={}){n("Conditional",e,t)}function Rr(e,t={}){n("Loop",e,t)}function vr(e,t={}){n("While",e,t)}function kr(e,t={}){n("ExpressionWrapper",e,t)}function Ur(e,t={}){n("For",e,t)}function Vr(e,t={}){n("ForXStatement",e,t)}function Wr(e,t={}){n("Function",e,t)}function qr(e,t={}){n("FunctionParent",e,t)}function Qr(e,t={}){n("Pureish",e,t)}function zr(e,t={}){n("Declaration",e,t)}function _r(e,t={}){n("PatternLike",e,t)}function $r(e,t={}){n("LVal",e,t)}function Gr(e,t={}){n("TSEntityName",e,t)}function Yr(e,t={}){n("Literal",e,t)}function Hr(e,t={}){n("Immutable",e,t)}function Zr(e,t={}){n("UserWhitespacable",e,t)}function es(e,t={}){n("Method",e,t)}function ts(e,t={}){n("ObjectMember",e,t)}function ns(e,t={}){n("Property",e,t)}function rs(e,t={}){n("UnaryLike",e,t)}function ss(e,t={}){n("Pattern",e,t)}function os(e,t={}){n("Class",e,t)}function as(e,t={}){n("ModuleDeclaration",e,t)}function is(e,t={}){n("ExportDeclaration",e,t)}function ps(e,t={}){n("ModuleSpecifier",e,t)}function cs(e,t={}){n("Flow",e,t)}function us(e,t={}){n("FlowType",e,t)}function xs(e,t={}){n("FlowBaseAnnotation",e,t)}function ls(e,t={}){n("FlowDeclaration",e,t)}function fs(e,t={}){n("FlowPredicate",e,t)}function Ts(e,t={}){n("EnumBody",e,t)}function Ss(e,t={}){n("EnumMember",e,t)}function ys(e,t={}){n("JSX",e,t)}function ms(e,t={}){n("Private",e,t)}function ds(e,t={}){n("TSTypeElement",e,t)}function Es(e,t={}){n("TSType",e,t)}function As(e,t={}){n("TSBaseType",e,t)}function Ds(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral"),n("NumberLiteral",e,t)}function bs(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral"),n("RegexLiteral",e,t)}function Ps(e,t){console.trace("The node type RestProperty has been renamed to RestElement"),n("RestProperty",e,t)}function Is(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement"),n("SpreadProperty",e,t)}
  },{"../../validators/is":"cs2k"}],"u1gM":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=n;var e=require("../generated");function n(n){if("string"===n)return(0,e.stringTypeAnnotation)();if("number"===n)return(0,e.numberTypeAnnotation)();if("undefined"===n)return(0,e.voidTypeAnnotation)();if("boolean"===n)return(0,e.booleanTypeAnnotation)();if("function"===n)return(0,e.genericTypeAnnotation)((0,e.identifier)("Function"));if("object"===n)return(0,e.genericTypeAnnotation)((0,e.identifier)("Object"));if("symbol"===n)return(0,e.genericTypeAnnotation)((0,e.identifier)("Symbol"));throw new Error("Invalid typeof value")}
  },{"../generated":"mu1T"}],"pmLI":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=require("../../validators/generated");function t(s){const n={},r={},a=[],o=[];for(let i=0;i<s.length;i++){const p=s[i];if(p&&!(o.indexOf(p)>=0)){if((0,e.isAnyTypeAnnotation)(p))return[p];if((0,e.isFlowBaseAnnotation)(p))r[p.type]=p;else if((0,e.isUnionTypeAnnotation)(p))a.indexOf(p.types)<0&&(s=s.concat(p.types),a.push(p.types));else if((0,e.isGenericTypeAnnotation)(p)){const e=p.id.name;if(n[e]){let s=n[e];s.typeParameters?p.typeParameters&&(s.typeParameters.params=t(s.typeParameters.params.concat(p.typeParameters.params))):s=p.typeParameters}else n[e]=p}else o.push(p)}}for(const e of Object.keys(r))o.push(r[e]);for(const e of Object.keys(n))o.push(n[e]);return o}
  },{"../../validators/generated":"iqnQ"}],"I7zl":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=require("../generated"),t=n(require("../../modifications/flow/removeTypeDuplicates"));function n(e){return e&&e.__esModule?e:{default:e}}function r(n){const r=(0,t.default)(n);return 1===r.length?r[0]:(0,e.unionTypeAnnotation)(r)}
  },{"../generated":"mu1T","../../modifications/flow/removeTypeDuplicates":"pmLI"}],"XeNA":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=require("../../validators/generated");function t(t){const s={},o={},r=[],n=[];for(let p=0;p<t.length;p++){const s=t[p];if(s&&!(n.indexOf(s)>=0)){if((0,e.isTSAnyKeyword)(s.type))return[s];(0,e.isTSBaseType)(s)?o[s.type]=s:(0,e.isTSUnionType)(s)?r.indexOf(s.types)<0&&(t=t.concat(s.types),r.push(s.types)):n.push(s)}}for(const e of Object.keys(o))n.push(o[e]);for(const e of Object.keys(s))n.push(s[e]);return n}
  },{"../../validators/generated":"iqnQ"}],"yYKz":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=n;var e=require("../generated"),t=r(require("../../modifications/typescript/removeTypeDuplicates"));function r(e){return e&&e.__esModule?e:{default:e}}function n(r){const n=r.map(e=>e.typeAnnotations),o=(0,t.default)(n);return 1===o.length?o[0]:(0,e.tsUnionType)(o)}
  },{"../generated":"mu1T","../../modifications/typescript/removeTypeDuplicates":"XeNA"}],"lRG4":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var n=require("../definitions");const t=Function.call.bind(Object.prototype.hasOwnProperty);function e(n,t,e){return n&&"string"==typeof n.type?r(n,t,e):n}function o(n,t,o){return Array.isArray(n)?n.map(n=>e(n,t,o)):e(n,t,o)}function r(e,r=!0,i=!1){if(!e)return e;const{type:l}=e,s={type:l};if("Identifier"===l)s.name=e.name,t(e,"optional")&&"boolean"==typeof e.optional&&(s.optional=e.optional),t(e,"typeAnnotation")&&(s.typeAnnotation=r?o(e.typeAnnotation,!0,i):e.typeAnnotation);else{if(!t(n.NODE_FIELDS,l))throw new Error(`Unknown node type: "${l}"`);for(const m of Object.keys(n.NODE_FIELDS[l]))t(e,m)&&(s[m]=r?"File"===l&&"comments"===m?a(e.comments,r,i):o(e[m],!0,i):e[m])}return t(e,"loc")&&(s.loc=i?null:e.loc),t(e,"leadingComments")&&(s.leadingComments=a(e.leadingComments,r,i)),t(e,"innerComments")&&(s.innerComments=a(e.innerComments,r,i)),t(e,"trailingComments")&&(s.trailingComments=a(e.trailingComments,r,i)),t(e,"extra")&&(s.extra=Object.assign({},e.extra)),s}function i(n){return n.map(({type:n,value:t})=>({type:n,value:t,loc:null}))}function a(n,t,e){return t&&e?i(n):n}
  },{"../definitions":"xIOT"}],"P6GY":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=t(require("./cloneNode"));function t(e){return e&&e.__esModule?e:{default:e}}function r(t){return(0,e.default)(t,!1)}
  },{"./cloneNode":"lRG4"}],"N5Ls":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=t(require("./cloneNode"));function t(e){return e&&e.__esModule?e:{default:e}}function r(t){return(0,e.default)(t)}
  },{"./cloneNode":"lRG4"}],"i4lb":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=t(require("./cloneNode"));function t(e){return e&&e.__esModule?e:{default:e}}function r(t){return(0,e.default)(t,!0,!0)}
  },{"./cloneNode":"lRG4"}],"CHJx":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=t(require("./cloneNode"));function t(e){return e&&e.__esModule?e:{default:e}}function r(t){return(0,e.default)(t,!1,!0)}
  },{"./cloneNode":"lRG4"}],"tVxe":[function(require,module,exports) {
  "use strict";function e(e,t,n){if(!n||!e)return e;const o=`${t}Comments`;return e[o]?e[o]="leading"===t?n.concat(e[o]):e[o].concat(n):e[o]=n,e}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;
  },{}],"Lyw9":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=u;var e=t(require("./addComments"));function t(e){return e&&e.__esModule?e:{default:e}}function u(t,u,r,n){return(0,e.default)(t,u,[{type:n?"CommentLine":"CommentBlock",value:r}])}
  },{"./addComments":"tVxe"}],"h2XZ":[function(require,module,exports) {
  "use strict";function e(e,t,o){t&&o&&(t[e]=Array.from(new Set([].concat(t[e],o[e]).filter(Boolean))))}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;
  },{}],"OF1H":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=t(require("../utils/inherit"));function t(e){return e&&e.__esModule?e:{default:e}}function r(t,r){(0,e.default)("innerComments",t,r)}
  },{"../utils/inherit":"h2XZ"}],"wmgz":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=u;var e=t(require("../utils/inherit"));function t(e){return e&&e.__esModule?e:{default:e}}function u(t,u){(0,e.default)("leadingComments",t,u)}
  },{"../utils/inherit":"h2XZ"}],"NDRa":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=t(require("../utils/inherit"));function t(e){return e&&e.__esModule?e:{default:e}}function r(t,r){(0,e.default)("trailingComments",t,r)}
  },{"../utils/inherit":"h2XZ"}],"RKsG":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=i;var e=n(require("./inheritTrailingComments")),r=n(require("./inheritLeadingComments")),t=n(require("./inheritInnerComments"));function n(e){return e&&e.__esModule?e:{default:e}}function i(n,i){return(0,e.default)(n,i),(0,r.default)(n,i),(0,t.default)(n,i),n}
  },{"./inheritTrailingComments":"NDRa","./inheritLeadingComments":"wmgz","./inheritInnerComments":"OF1H"}],"ePnO":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=require("../constants");function r(r){return e.COMMENT_KEYS.forEach(e=>{r[e]=null}),r}
  },{"../constants":"pINp"}],"SsN6":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TSBASETYPE_TYPES=exports.TSTYPE_TYPES=exports.TSTYPEELEMENT_TYPES=exports.PRIVATE_TYPES=exports.JSX_TYPES=exports.ENUMMEMBER_TYPES=exports.ENUMBODY_TYPES=exports.FLOWPREDICATE_TYPES=exports.FLOWDECLARATION_TYPES=exports.FLOWBASEANNOTATION_TYPES=exports.FLOWTYPE_TYPES=exports.FLOW_TYPES=exports.MODULESPECIFIER_TYPES=exports.EXPORTDECLARATION_TYPES=exports.MODULEDECLARATION_TYPES=exports.CLASS_TYPES=exports.PATTERN_TYPES=exports.UNARYLIKE_TYPES=exports.PROPERTY_TYPES=exports.OBJECTMEMBER_TYPES=exports.METHOD_TYPES=exports.USERWHITESPACABLE_TYPES=exports.IMMUTABLE_TYPES=exports.LITERAL_TYPES=exports.TSENTITYNAME_TYPES=exports.LVAL_TYPES=exports.PATTERNLIKE_TYPES=exports.DECLARATION_TYPES=exports.PUREISH_TYPES=exports.FUNCTIONPARENT_TYPES=exports.FUNCTION_TYPES=exports.FORXSTATEMENT_TYPES=exports.FOR_TYPES=exports.EXPRESSIONWRAPPER_TYPES=exports.WHILE_TYPES=exports.LOOP_TYPES=exports.CONDITIONAL_TYPES=exports.COMPLETIONSTATEMENT_TYPES=exports.TERMINATORLESS_TYPES=exports.STATEMENT_TYPES=exports.BLOCK_TYPES=exports.BLOCKPARENT_TYPES=exports.SCOPABLE_TYPES=exports.BINARY_TYPES=exports.EXPRESSION_TYPES=void 0;var E=require("../../definitions");const S=E.FLIPPED_ALIAS_KEYS.Expression;exports.EXPRESSION_TYPES=S;const P=E.FLIPPED_ALIAS_KEYS.Binary;exports.BINARY_TYPES=P;const T=E.FLIPPED_ALIAS_KEYS.Scopable;exports.SCOPABLE_TYPES=T;const _=E.FLIPPED_ALIAS_KEYS.BlockParent;exports.BLOCKPARENT_TYPES=_;const t=E.FLIPPED_ALIAS_KEYS.Block;exports.BLOCK_TYPES=t;const o=E.FLIPPED_ALIAS_KEYS.Statement;exports.STATEMENT_TYPES=o;const A=E.FLIPPED_ALIAS_KEYS.Terminatorless;exports.TERMINATORLESS_TYPES=A;const e=E.FLIPPED_ALIAS_KEYS.CompletionStatement;exports.COMPLETIONSTATEMENT_TYPES=e;const s=E.FLIPPED_ALIAS_KEYS.Conditional;exports.CONDITIONAL_TYPES=s;const L=E.FLIPPED_ALIAS_KEYS.Loop;exports.LOOP_TYPES=L;const Y=E.FLIPPED_ALIAS_KEYS.While;exports.WHILE_TYPES=Y;const I=E.FLIPPED_ALIAS_KEYS.ExpressionWrapper;exports.EXPRESSIONWRAPPER_TYPES=I;const r=E.FLIPPED_ALIAS_KEYS.For;exports.FOR_TYPES=r;const p=E.FLIPPED_ALIAS_KEYS.ForXStatement;exports.FORXSTATEMENT_TYPES=p;const x=E.FLIPPED_ALIAS_KEYS.Function;exports.FUNCTION_TYPES=x;const n=E.FLIPPED_ALIAS_KEYS.FunctionParent;exports.FUNCTIONPARENT_TYPES=n;const F=E.FLIPPED_ALIAS_KEYS.Pureish;exports.PUREISH_TYPES=F;const O=E.FLIPPED_ALIAS_KEYS.Declaration;exports.DECLARATION_TYPES=O;const D=E.FLIPPED_ALIAS_KEYS.PatternLike;exports.PATTERNLIKE_TYPES=D;const N=E.FLIPPED_ALIAS_KEYS.LVal;exports.LVAL_TYPES=N;const c=E.FLIPPED_ALIAS_KEYS.TSEntityName;exports.TSENTITYNAME_TYPES=c;const R=E.FLIPPED_ALIAS_KEYS.Literal;exports.LITERAL_TYPES=R;const K=E.FLIPPED_ALIAS_KEYS.Immutable;exports.IMMUTABLE_TYPES=K;const M=E.FLIPPED_ALIAS_KEYS.UserWhitespacable;exports.USERWHITESPACABLE_TYPES=M;const a=E.FLIPPED_ALIAS_KEYS.Method;exports.METHOD_TYPES=a;const C=E.FLIPPED_ALIAS_KEYS.ObjectMember;exports.OBJECTMEMBER_TYPES=C;const i=E.FLIPPED_ALIAS_KEYS.Property;exports.PROPERTY_TYPES=i;const B=E.FLIPPED_ALIAS_KEYS.UnaryLike;exports.UNARYLIKE_TYPES=B;const l=E.FLIPPED_ALIAS_KEYS.Pattern;exports.PATTERN_TYPES=l;const U=E.FLIPPED_ALIAS_KEYS.Class;exports.CLASS_TYPES=U;const W=E.FLIPPED_ALIAS_KEYS.ModuleDeclaration;exports.MODULEDECLARATION_TYPES=W;const m=E.FLIPPED_ALIAS_KEYS.ExportDeclaration;exports.EXPORTDECLARATION_TYPES=m;const u=E.FLIPPED_ALIAS_KEYS.ModuleSpecifier;exports.MODULESPECIFIER_TYPES=u;const X=E.FLIPPED_ALIAS_KEYS.Flow;exports.FLOW_TYPES=X;const d=E.FLIPPED_ALIAS_KEYS.FlowType;exports.FLOWTYPE_TYPES=d;const y=E.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation;exports.FLOWBASEANNOTATION_TYPES=y;const H=E.FLIPPED_ALIAS_KEYS.FlowDeclaration;exports.FLOWDECLARATION_TYPES=H;const b=E.FLIPPED_ALIAS_KEYS.FlowPredicate;exports.FLOWPREDICATE_TYPES=b;const w=E.FLIPPED_ALIAS_KEYS.EnumBody;exports.ENUMBODY_TYPES=w;const J=E.FLIPPED_ALIAS_KEYS.EnumMember;exports.ENUMMEMBER_TYPES=J;const V=E.FLIPPED_ALIAS_KEYS.JSX;exports.JSX_TYPES=V;const h=E.FLIPPED_ALIAS_KEYS.Private;exports.PRIVATE_TYPES=h;const k=E.FLIPPED_ALIAS_KEYS.TSTypeElement;exports.TSTYPEELEMENT_TYPES=k;const v=E.FLIPPED_ALIAS_KEYS.TSType;exports.TSTYPE_TYPES=v;const f=E.FLIPPED_ALIAS_KEYS.TSBaseType;exports.TSBASETYPE_TYPES=f;
  },{"../../definitions":"xIOT"}],"eZNy":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=require("../validators/generated"),t=require("../builders/generated");function r(r,n){if((0,e.isBlockStatement)(r))return r;let i=[];return(0,e.isEmptyStatement)(r)?i=[]:((0,e.isStatement)(r)||(r=(0,e.isFunction)(n)?(0,t.returnStatement)(r):(0,t.expressionStatement)(r)),i=[r]),(0,t.blockStatement)(i)}
  },{"../validators/generated":"iqnQ","../builders/generated":"mu1T"}],"LMrj":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=t(require("./toBlock"));function t(e){return e&&e.__esModule?e:{default:e}}function r(t,r="body"){return t[r]=(0,e.default)(t[r],t)}
  },{"./toBlock":"eZNy"}],"CIsv":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=r(require("../validators/isValidIdentifier"));function r(e){return e&&e.__esModule?e:{default:e}}function t(r){return r=(r=(r=(r+="").replace(/[^a-zA-Z0-9$_]/g,"-")).replace(/^[-0-9]+/,"")).replace(/[-\s]+(.)?/g,function(e,r){return r?r.toUpperCase():""}),(0,e.default)(r)||(r=`_${r}`),r||"_"}
  },{"../validators/isValidIdentifier":"DG3c"}],"m0HP":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=t(require("./toIdentifier"));function t(e){return e&&e.__esModule?e:{default:e}}function r(t){return"eval"!==(t=(0,e.default)(t))&&"arguments"!==t||(t="_"+t),t}
  },{"./toIdentifier":"CIsv"}],"gxYJ":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=require("../validators/generated"),r=require("../builders/generated");function t(t,i=t.key||t.property){return!t.computed&&(0,e.isIdentifier)(i)&&(i=(0,r.stringLiteral)(i.name)),i}
  },{"../validators/generated":"iqnQ","../builders/generated":"mu1T"}],"FYe6":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=s;var e=require("../validators/generated");function s(s){if((0,e.isExpressionStatement)(s)&&(s=s.expression),(0,e.isExpression)(s))return s;if((0,e.isClass)(s)?s.type="ClassExpression":(0,e.isFunction)(s)&&(s.type="FunctionExpression"),!(0,e.isExpression)(s))throw new Error(`cannot turn ${s.type} to an expression`);return s}
  },{"../validators/generated":"iqnQ"}],"iQN4":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=require("../definitions");function r(t,o,s){if(!t)return;const f=e.VISITOR_KEYS[t.type];if(f){o(t,s=s||{});for(const e of f){const f=t[e];if(Array.isArray(f))for(const e of f)r(e,o,s);else r(f,o,s)}}}
  },{"../definitions":"xIOT"}],"Rpfq":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=n;var o=require("../constants");const t=["tokens","start","end","loc","raw","rawValue"],e=o.COMMENT_KEYS.concat(["comments"]).concat(t);function n(o,n={}){const s=n.preserveComments?t:e;for(const t of s)null!=o[t]&&(o[t]=void 0);for(const t of Object.keys(o))"_"===t[0]&&null!=o[t]&&(o[t]=void 0);const c=Object.getOwnPropertySymbols(o);for(const t of c)o[t]=null}
  },{"../constants":"pINp"}],"nRem":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=u;var e=t(require("../traverse/traverseFast")),r=t(require("./removeProperties"));function t(e){return e&&e.__esModule?e:{default:e}}function u(t,u){return(0,e.default)(t,r.default,u),t}
  },{"../traverse/traverseFast":"iQN4","./removeProperties":"Rpfq"}],"DXv2":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=n;var e=require("../validators/generated"),t=r(require("../clone/cloneNode")),i=r(require("../modifications/removePropertiesDeep"));function r(e){return e&&e.__esModule?e:{default:e}}function n(r,u=r.key){let d;return"method"===r.kind?n.increment()+"":(d=(0,e.isIdentifier)(u)?u.name:(0,e.isStringLiteral)(u)?JSON.stringify(u.value):JSON.stringify((0,i.default)((0,t.default)(u))),r.computed&&(d=`[${d}]`),r.static&&(d=`static:${d}`),d)}n.uid=0,n.increment=function(){return n.uid>=Number.MAX_SAFE_INTEGER?n.uid=0:n.uid++};
  },{"../validators/generated":"iqnQ","../clone/cloneNode":"lRG4","../modifications/removePropertiesDeep":"nRem"}],"aoMx":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=require("../validators/generated");function t(a,r,i){let n=[].concat(a);const s=Object.create(null);for(;n.length;){const a=n.shift();if(!a)continue;const o=t.keys[a.type];if((0,e.isIdentifier)(a))if(r){(s[a.name]=s[a.name]||[]).push(a)}else s[a.name]=a;else if((0,e.isExportDeclaration)(a))(0,e.isDeclaration)(a.declaration)&&n.push(a.declaration);else{if(i){if((0,e.isFunctionDeclaration)(a)){n.push(a.id);continue}if((0,e.isFunctionExpression)(a))continue}if(o)for(let e=0;e<o.length;e++){const t=o[e];a[t]&&(n=n.concat(a[t]))}}}return s}t.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]};
  },{"../validators/generated":"iqnQ"}],"hFkK":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=s(require("../retrievers/getBindingIdentifiers")),t=require("../validators/generated"),n=require("../builders/generated"),i=s(require("../clone/cloneNode"));function s(e){return e&&e.__esModule?e:{default:e}}function r(s,o,d){const u=[];let a=!0;for(const f of s)if((0,t.isEmptyStatement)(f)||(a=!1),(0,t.isExpression)(f))u.push(f);else if((0,t.isExpressionStatement)(f))u.push(f.expression);else if((0,t.isVariableDeclaration)(f)){if("var"!==f.kind)return;for(const t of f.declarations){const s=(0,e.default)(t);for(const e of Object.keys(s))d.push({kind:f.kind,id:(0,i.default)(s[e])});t.init&&u.push((0,n.assignmentExpression)("=",t.id,t.init))}a=!0}else if((0,t.isIfStatement)(f)){const e=f.consequent?r([f.consequent],o,d):o.buildUndefinedNode(),t=f.alternate?r([f.alternate],o,d):o.buildUndefinedNode();if(!e||!t)return;u.push((0,n.conditionalExpression)(f.test,e,t))}else if((0,t.isBlockStatement)(f)){const e=r(f.body,o,d);if(!e)return;u.push(e)}else{if(!(0,t.isEmptyStatement)(f))return;0===s.indexOf(f)&&(a=!0)}return a&&u.push(o.buildUndefinedNode()),1===u.length?u[0]:(0,n.sequenceExpression)(u)}
  },{"../retrievers/getBindingIdentifiers":"aoMx","../validators/generated":"iqnQ","../builders/generated":"mu1T","../clone/cloneNode":"lRG4"}],"TBWJ":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=t(require("./gatherSequenceExpressions"));function t(e){return e&&e.__esModule?e:{default:e}}function r(t,r){if(!(null==t?void 0:t.length))return;const u=[],n=(0,e.default)(t,r,u);if(n){for(const e of u)r.push(e);return n}}
  },{"./gatherSequenceExpressions":"hFkK"}],"WbJ8":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=require("../validators/generated"),t=require("../builders/generated");function r(r,n){if((0,e.isStatement)(r))return r;let i,s=!1;if((0,e.isClass)(r))s=!0,i="ClassDeclaration";else if((0,e.isFunction)(r))s=!0,i="FunctionDeclaration";else if((0,e.isAssignmentExpression)(r))return(0,t.expressionStatement)(r);if(s&&!r.id&&(i=!1),!i){if(n)return!1;throw new Error(`cannot turn ${r.type} to a statement`)}return r.type=i,r}
  },{"../validators/generated":"iqnQ","../builders/generated":"mu1T"}],"ES04":[function(require,module,exports) {
  var t=require("./_baseGetTag"),e=require("./_getPrototype"),r=require("./isObjectLike"),o="[object Object]",c=Function.prototype,n=Object.prototype,u=c.toString,i=n.hasOwnProperty,a=u.call(Object);function l(c){if(!r(c)||t(c)!=o)return!1;var n=e(c);if(null===n)return!0;var l=i.call(n,"constructor")&&n.constructor;return"function"==typeof l&&l instanceof l&&u.call(l)==a}module.exports=l;
  },{"./_baseGetTag":"e5TX","./_getPrototype":"CXf5","./isObjectLike":"OuyB"}],"eBs7":[function(require,module,exports) {
  var e=require("./_baseGetTag"),r=require("./isObjectLike"),t="[object RegExp]";function i(i){return r(i)&&e(i)==t}module.exports=i;
  },{"./_baseGetTag":"e5TX","./isObjectLike":"OuyB"}],"K8jB":[function(require,module,exports) {
  var e=require("./_baseIsRegExp"),r=require("./_baseUnary"),i=require("./_nodeUtil"),s=i&&i.isRegExp,a=s?r(s):e;module.exports=a;
  },{"./_baseIsRegExp":"eBs7","./_baseUnary":"PnXa","./_nodeUtil":"PBPf"}],"Nr4d":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=u;var e=n(require("lodash/isPlainObject")),r=n(require("lodash/isRegExp")),i=n(require("../validators/isValidIdentifier")),t=require("../builders/generated");function n(e){return e&&e.__esModule?e:{default:e}}function u(n){if(void 0===n)return(0,t.identifier)("undefined");if(!0===n||!1===n)return(0,t.booleanLiteral)(n);if(null===n)return(0,t.nullLiteral)();if("string"==typeof n)return(0,t.stringLiteral)(n);if("number"==typeof n){let e;if(Number.isFinite(n))e=(0,t.numericLiteral)(Math.abs(n));else{let r;r=Number.isNaN(n)?(0,t.numericLiteral)(0):(0,t.numericLiteral)(1),e=(0,t.binaryExpression)("/",r,(0,t.numericLiteral)(0))}return(n<0||Object.is(n,-0))&&(e=(0,t.unaryExpression)("-",e)),e}if((0,r.default)(n)){const e=n.source,r=n.toString().match(/\/([a-z]+|)$/)[1];return(0,t.regExpLiteral)(e,r)}if(Array.isArray(n))return(0,t.arrayExpression)(n.map(u));if((0,e.default)(n)){const e=[];for(const r of Object.keys(n)){let a;a=(0,i.default)(r)?(0,t.identifier)(r):(0,t.stringLiteral)(r),e.push((0,t.objectProperty)(a,u(n[r])))}return(0,t.objectExpression)(e)}throw new Error("don't know how to turn this value into a node")}
  },{"lodash/isPlainObject":"ES04","lodash/isRegExp":"K8jB","../validators/isValidIdentifier":"DG3c","../builders/generated":"mu1T"}],"QaFO":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=require("../builders/generated");function r(r,t,o=!1){return r.object=(0,e.memberExpression)(r.object,r.property,r.computed),r.property=t,r.computed=!!o,r}
  },{"../builders/generated":"mu1T"}],"fo17":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=require("../constants"),t=o(require("../comments/inheritsComments"));function o(e){return e&&e.__esModule?e:{default:e}}function r(o,r){if(!o||!r)return o;for(const t of e.INHERIT_KEYS.optional)null==o[t]&&(o[t]=r[t]);for(const e of Object.keys(r))"_"===e[0]&&"__clone"!==e&&(o[e]=r[e]);for(const t of e.INHERIT_KEYS.force)o[t]=r[t];return(0,t.default)(o,r),o}
  },{"../constants":"pINp","../comments/inheritsComments":"RKsG"}],"aojM":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=require("../builders/generated");function r(r,t){return r.object=(0,e.memberExpression)(t,r.object),r}
  },{"../builders/generated":"mu1T"}],"fBez":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=t(require("./getBindingIdentifiers"));function t(e){return e&&e.__esModule?e:{default:e}}function r(t,r){return(0,e.default)(t,r,!0)}
  },{"./getBindingIdentifiers":"aoMx"}],"C2mR":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=require("../definitions");function t(e,t,n){"function"==typeof t&&(t={enter:t});const{enter:r,exit:s}=t;o(e,r,s,n,[])}function o(t,n,r,s,i){const f=e.VISITOR_KEYS[t.type];if(f){n&&n(t,i,s);for(const e of f){const f=t[e];if(Array.isArray(f))for(let p=0;p<f.length;p++){const c=f[p];c&&(i.push({node:t,key:e,index:p}),o(c,n,r,s,i),i.pop())}else f&&(i.push({node:t,key:e}),o(f,n,r,s,i),i.pop())}r&&r(t,i,s)}}
  },{"../definitions":"xIOT"}],"kzmH":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=r(require("../retrievers/getBindingIdentifiers"));function r(e){return e&&e.__esModule?e:{default:e}}function t(r,t,i){if(i&&"Identifier"===r.type&&"ObjectProperty"===t.type&&"ObjectExpression"===i.type)return!1;const n=e.default.keys[t.type];if(n)for(let e=0;e<n.length;e++){const i=t[n[e]];if(Array.isArray(i)){if(i.indexOf(r)>=0)return!0}else if(i===r)return!0}return!1}
  },{"../retrievers/getBindingIdentifiers":"aoMx"}],"gaTC":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=require("./generated"),r=require("../constants");function t(t){return(0,e.isVariableDeclaration)(t)&&("var"!==t.kind||t[r.BLOCK_SCOPED_SYMBOL])}
  },{"./generated":"iqnQ","../constants":"pINp"}],"J983":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=u;var e=require("./generated"),t=r(require("./isLet"));function r(e){return e&&e.__esModule?e:{default:e}}function u(r){return(0,e.isFunctionDeclaration)(r)||(0,e.isClassDeclaration)(r)||(0,t.default)(r)}
  },{"./generated":"iqnQ","./isLet":"gaTC"}],"I4Mw":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=u;var e=r(require("./isType")),t=require("./generated");function r(e){return e&&e.__esModule?e:{default:e}}function u(r){return!!(0,e.default)(r.type,"Immutable")||!!(0,t.isIdentifier)(r)&&"undefined"===r.name}
  },{"./isType":"KOhW","./generated":"iqnQ"}],"B1CP":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=require("../definitions");function t(r,n){if("object"!=typeof r||"object"!=typeof n||null==r||null==n)return r===n;if(r.type!==n.type)return!1;const f=Object.keys(e.NODE_FIELDS[r.type]||r.type),l=e.VISITOR_KEYS[r.type];for(const e of f){if(typeof r[e]!=typeof n[e])return!1;if(null!=r[e]||null!=n[e]){if(null==r[e]||null==n[e])return!1;if(Array.isArray(r[e])){if(!Array.isArray(n[e]))return!1;if(r[e].length!==n[e].length)return!1;for(let f=0;f<r[e].length;f++)if(!t(r[e][f],n[e][f]))return!1}else if("object"!=typeof r[e]||(null==l?void 0:l.includes(e))){if(!t(r[e],n[e]))return!1}else for(const t of Object.keys(r[e]))if(r[e][t]!==n[e][t])return!1}}return!0}
  },{"../definitions":"xIOT"}],"nRxu":[function(require,module,exports) {
  "use strict";function e(e,r,t){switch(r.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":return r.property===e?!!r.computed:r.object===e;case"VariableDeclarator":return r.init===e;case"ArrowFunctionExpression":return r.body===e;case"ExportSpecifier":return!r.source&&r.local===e;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(r.params.includes(e))return!1;case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":return r.key===e?!!r.computed:r.value!==e||(!t||"ObjectPattern"!==t.type);case"ClassDeclaration":case"ClassExpression":return r.superClass===e;case"AssignmentExpression":case"AssignmentPattern":return r.right===e;case"LabeledStatement":case"CatchClause":case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":case"MetaProperty":return!1;case"ObjectTypeProperty":return r.key!==e;case"TSEnumMember":return r.id!==e;case"TSPropertySignature":return r.key!==e||!!r.computed}return!0}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;
  },{}],"UHPU":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=require("./generated");function t(t,s){return(!(0,e.isBlockStatement)(t)||!(0,e.isFunction)(s)&&!(0,e.isCatchClause)(s))&&(!(!(0,e.isPattern)(t)||!(0,e.isFunction)(s)&&!(0,e.isCatchClause)(s))||(0,e.isScopable)(t))}
  },{"./generated":"iqnQ"}],"CiU9":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=require("./generated");function r(r){return(0,e.isImportDefaultSpecifier)(r)||(0,e.isIdentifier)(r.imported||r.exported,{name:"default"})}
  },{"./generated":"iqnQ"}],"yknp":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=t(require("./isValidIdentifier"));function t(e){return e&&e.__esModule?e:{default:e}}const n=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function r(t){return(0,e.default)(t)&&!n.has(t)}
  },{"./isValidIdentifier":"DG3c"}],"ATpN":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=require("./generated"),r=require("../constants");function t(t){return(0,e.isVariableDeclaration)(t,{kind:"var"})&&!t[r.BLOCK_SCOPED_SYMBOL]}
  },{"./generated":"iqnQ","../constants":"pINp"}],"TU5L":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,createFlowUnionType:!0,createTSUnionType:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneDeepWithoutLoc:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toSequenceExpression:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0};Object.defineProperty(exports,"assertNode",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(exports,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(exports,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(exports,"createFlowUnionType",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(exports,"createTSUnionType",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(exports,"cloneNode",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(exports,"clone",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(exports,"cloneDeep",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(exports,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(exports,"cloneWithoutLoc",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(exports,"addComment",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(exports,"addComments",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(exports,"inheritInnerComments",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(exports,"inheritLeadingComments",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(exports,"inheritsComments",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(exports,"inheritTrailingComments",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(exports,"removeComments",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(exports,"ensureBlock",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(exports,"toBindingIdentifierName",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(exports,"toBlock",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(exports,"toComputedKey",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(exports,"toExpression",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(exports,"toIdentifier",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(exports,"toKeyAlias",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(exports,"toSequenceExpression",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(exports,"toStatement",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(exports,"valueToNode",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(exports,"appendToMemberExpression",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(exports,"inherits",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(exports,"prependToMemberExpression",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(exports,"removeProperties",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(exports,"removePropertiesDeep",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(exports,"removeTypeDuplicates",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(exports,"getBindingIdentifiers",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(exports,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(exports,"traverse",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(exports,"traverseFast",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(exports,"shallowEqual",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(exports,"is",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(exports,"isBinding",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(exports,"isBlockScoped",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(exports,"isImmutable",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(exports,"isLet",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(exports,"isNode",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(exports,"isNodesEquivalent",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(exports,"isPlaceholderType",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(exports,"isReferenced",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(exports,"isScope",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(exports,"isSpecifierDefault",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(exports,"isType",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(exports,"isValidES3Identifier",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(exports,"isValidIdentifier",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(exports,"isVar",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(exports,"matchesPattern",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(exports,"validate",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(exports,"buildMatchMemberExpression",{enumerable:!0,get:function(){return de.default}}),exports.react=void 0;var r=le(require("./validators/react/isReactComponent")),t=le(require("./validators/react/isCompatTag")),n=le(require("./builders/react/buildChildren")),o=le(require("./asserts/assertNode")),i=require("./asserts/generated");Object.keys(i).forEach(function(r){"default"!==r&&"__esModule"!==r&&(Object.prototype.hasOwnProperty.call(e,r)||r in exports&&exports[r]===i[r]||Object.defineProperty(exports,r,{enumerable:!0,get:function(){return i[r]}}))});var u=le(require("./builders/flow/createTypeAnnotationBasedOnTypeof")),a=le(require("./builders/flow/createFlowUnionType")),s=le(require("./builders/typescript/createTSUnionType")),d=require("./builders/generated");Object.keys(d).forEach(function(r){"default"!==r&&"__esModule"!==r&&(Object.prototype.hasOwnProperty.call(e,r)||r in exports&&exports[r]===d[r]||Object.defineProperty(exports,r,{enumerable:!0,get:function(){return d[r]}}))});var c=le(require("./clone/cloneNode")),l=le(require("./clone/clone")),f=le(require("./clone/cloneDeep")),p=le(require("./clone/cloneDeepWithoutLoc")),m=le(require("./clone/cloneWithoutLoc")),b=le(require("./comments/addComment")),y=le(require("./comments/addComments")),g=le(require("./comments/inheritInnerComments")),x=le(require("./comments/inheritLeadingComments")),O=le(require("./comments/inheritsComments")),P=le(require("./comments/inheritTrailingComments")),j=le(require("./comments/removeComments")),q=require("./constants/generated");Object.keys(q).forEach(function(r){"default"!==r&&"__esModule"!==r&&(Object.prototype.hasOwnProperty.call(e,r)||r in exports&&exports[r]===q[r]||Object.defineProperty(exports,r,{enumerable:!0,get:function(){return q[r]}}))});var v=require("./constants");Object.keys(v).forEach(function(r){"default"!==r&&"__esModule"!==r&&(Object.prototype.hasOwnProperty.call(e,r)||r in exports&&exports[r]===v[r]||Object.defineProperty(exports,r,{enumerable:!0,get:function(){return v[r]}}))});var h=le(require("./converters/ensureBlock")),T=le(require("./converters/toBindingIdentifierName")),C=le(require("./converters/toBlock")),E=le(require("./converters/toComputedKey")),B=le(require("./converters/toExpression")),I=le(require("./converters/toIdentifier")),S=le(require("./converters/toKeyAlias")),M=le(require("./converters/toSequenceExpression")),N=le(require("./converters/toStatement")),_=le(require("./converters/valueToNode")),k=require("./definitions");Object.keys(k).forEach(function(r){"default"!==r&&"__esModule"!==r&&(Object.prototype.hasOwnProperty.call(e,r)||r in exports&&exports[r]===k[r]||Object.defineProperty(exports,r,{enumerable:!0,get:function(){return k[r]}}))});var w=le(require("./modifications/appendToMemberExpression")),D=le(require("./modifications/inherits")),L=le(require("./modifications/prependToMemberExpression")),V=le(require("./modifications/removeProperties")),A=le(require("./modifications/removePropertiesDeep")),U=le(require("./modifications/flow/removeTypeDuplicates")),F=le(require("./retrievers/getBindingIdentifiers")),K=le(require("./retrievers/getOuterBindingIdentifiers")),W=le(require("./traverse/traverse")),R=le(require("./traverse/traverseFast")),z=le(require("./utils/shallowEqual")),G=le(require("./validators/is")),H=le(require("./validators/isBinding")),J=le(require("./validators/isBlockScoped")),Q=le(require("./validators/isImmutable")),X=le(require("./validators/isLet")),Y=le(require("./validators/isNode")),Z=le(require("./validators/isNodesEquivalent")),$=le(require("./validators/isPlaceholderType")),ee=le(require("./validators/isReferenced")),re=le(require("./validators/isScope")),te=le(require("./validators/isSpecifierDefault")),ne=le(require("./validators/isType")),oe=le(require("./validators/isValidES3Identifier")),ie=le(require("./validators/isValidIdentifier")),ue=le(require("./validators/isVar")),ae=le(require("./validators/matchesPattern")),se=le(require("./validators/validate")),de=le(require("./validators/buildMatchMemberExpression")),ce=require("./validators/generated");function le(e){return e&&e.__esModule?e:{default:e}}Object.keys(ce).forEach(function(r){"default"!==r&&"__esModule"!==r&&(Object.prototype.hasOwnProperty.call(e,r)||r in exports&&exports[r]===ce[r]||Object.defineProperty(exports,r,{enumerable:!0,get:function(){return ce[r]}}))});const fe={isReactComponent:r.default,isCompatTag:t.default,buildChildren:n.default};exports.react=fe;
  },{"./validators/react/isReactComponent":"TduV","./validators/react/isCompatTag":"lzKE","./builders/react/buildChildren":"KWI9","./asserts/assertNode":"nJSy","./asserts/generated":"h9EI","./builders/flow/createTypeAnnotationBasedOnTypeof":"u1gM","./builders/flow/createFlowUnionType":"I7zl","./builders/typescript/createTSUnionType":"yYKz","./builders/generated":"mu1T","./clone/cloneNode":"lRG4","./clone/clone":"P6GY","./clone/cloneDeep":"N5Ls","./clone/cloneDeepWithoutLoc":"i4lb","./clone/cloneWithoutLoc":"CHJx","./comments/addComment":"Lyw9","./comments/addComments":"tVxe","./comments/inheritInnerComments":"OF1H","./comments/inheritLeadingComments":"wmgz","./comments/inheritsComments":"RKsG","./comments/inheritTrailingComments":"NDRa","./comments/removeComments":"ePnO","./constants/generated":"SsN6","./constants":"pINp","./converters/ensureBlock":"LMrj","./converters/toBindingIdentifierName":"m0HP","./converters/toBlock":"eZNy","./converters/toComputedKey":"gxYJ","./converters/toExpression":"FYe6","./converters/toIdentifier":"CIsv","./converters/toKeyAlias":"DXv2","./converters/toSequenceExpression":"TBWJ","./converters/toStatement":"WbJ8","./converters/valueToNode":"Nr4d","./definitions":"xIOT","./modifications/appendToMemberExpression":"QaFO","./modifications/inherits":"fo17","./modifications/prependToMemberExpression":"aojM","./modifications/removeProperties":"Rpfq","./modifications/removePropertiesDeep":"nRem","./modifications/flow/removeTypeDuplicates":"pmLI","./retrievers/getBindingIdentifiers":"aoMx","./retrievers/getOuterBindingIdentifiers":"fBez","./traverse/traverse":"C2mR","./traverse/traverseFast":"iQN4","./utils/shallowEqual":"nu1T","./validators/is":"cs2k","./validators/isBinding":"kzmH","./validators/isBlockScoped":"J983","./validators/isImmutable":"I4Mw","./validators/isLet":"gaTC","./validators/isNode":"zcK8","./validators/isNodesEquivalent":"B1CP","./validators/isPlaceholderType":"dGdi","./validators/isReferenced":"nRxu","./validators/isScope":"UHPU","./validators/isSpecifierDefault":"CiU9","./validators/isType":"KOhW","./validators/isValidES3Identifier":"yknp","./validators/isValidIdentifier":"DG3c","./validators/isVar":"ATpN","./validators/matchesPattern":"cdpc","./validators/validate":"LEnp","./validators/buildMatchMemberExpression":"bML2","./validators/generated":"iqnQ"}],"okIg":[function(require,module,exports) {
  "use strict";function e(e,r,t){switch(e){case"+":return r+t;case"-":return r-t;case"/":return r/t;case"%":return r%t;case"*":return r*t;case"**":return Math.pow(r,t);case"&":return r&t;case"|":return r|t;case">>":return r>>t;case">>>":return r>>>t;case"<<":return r<<t;case"^":return r^t;case"==":return r==t;case"===":return r===t;case"!=":return r!=t;case"!==":return r!==t;case"in":return r in t;case"instanceof":return r instanceof t;case">":return r>t;case"<":return r<t;case">=":return r>=t;case"<=":return r<=t}}exports.__esModule=!0,exports.default=e;
  },{}],"tcFq":[function(require,module,exports) {
  "use strict";exports.__esModule=!0;var e=require("@babel/parser"),r=require("@babel/types"),t=require("./binaryOperation");function s(e,s){void 0===s&&(s={});var i=!0;var o=function e(o){if(i){if(r.isArrayExpression(o)){for(var u=[],c=0;i&&c<o.elements.length;c++){var p=o.elements[c];r.isSpreadElement(p)?n(v=e(p.argument))&&i?u.push.apply(u,v):i=!1:r.isExpression(p)?u.push(e(p)):i=!1}return u}if(r.isBinaryExpression(o)){var l=e(o.left),f=e(o.right);return i&&t.default(o.operator,l,f)}if(r.isBooleanLiteral(o))return o.value;if(r.isCallExpression(o)){var d=[];for(c=0;i&&c<o.arguments.length;c++){var v,x=o.arguments[c];r.isSpreadElement(x)?n(v=e(x.argument))&&i?d.push.apply(d,v):i=!1:r.isExpression(x)?d.push(e(x)):i=!1}if(!i)return;if(!r.isMemberExpression(o.callee)){if(!r.isExpression(o.callee))return void(i=!1);var y=e(o.callee);if(!i)return;return y.apply(null,d)}if(!(m=e(o.callee.object))||!i)return void(i=!1);if(void 0!==(g=o.callee.computed?e(o.callee.property):r.isIdentifier(o.callee.property)?o.callee.property.name:void 0)||o.callee.computed||(i=!1),!i)return;if(a(m,""+g))return m[g].apply(m,d)}if(r.isConditionalExpression(o)){var h=e(o.test);return e(h?o.consequent:o.alternate)}if(r.isIdentifier(o)&&s.constants&&{}.hasOwnProperty.call(s.constants,o.name))return s.constants[o.name];if(r.isLogicalExpression(o)){if(l=e(o.left),f=e(o.right),i&&"&&"===o.operator)return l&&f;if(i&&"||"===o.operator)return l||f}if(r.isMemberExpression(o)){var m,g;if(!(m=e(o.object))||!i)return void(i=!1);if(void 0!==(g=o.computed?e(o.property):r.isIdentifier(o.property)?o.property.name:void 0)||o.computed||(i=!1),!i)return;if({}.hasOwnProperty.call(m,""+g)&&"_"!==g[0])return m[g]}if(r.isNullLiteral(o))return null;if(r.isNumericLiteral(o))return o.value;if(r.isObjectExpression(o)){var E={};for(c=0;i&&c<o.properties.length;c++){var b=o.properties[c];if(r.isObjectProperty(b)){if(b.shorthand)return void(i=!1);var w=b.computed?e(b.key):r.isIdentifier(b.key)?b.key.name:r.isStringLiteral(b.key)?b.key.value:void 0;if(w&&"_"!==w[0]||(i=!1),!i)return;if(r.isExpression(b.value)){var S=e(b.value);if(!i)return;E[w]=S}else i=!1}else if(r.isObjectMethod(b))i=!1;else if(r.isSpreadProperty(b)){if((O=e(b.argument))||(i=!1),!i)return;Object.assign(E,O)}}return E}if(r.isParenthesizedExpression(o))return e(o.expression);if(r.isRegExpLiteral(o))return new RegExp(o.pattern,o.flags);if(r.isSequenceExpression(o)){for(c=0;c<o.expressions.length-1&&i;c++)e(o.expressions[c]);return e(o.expressions[o.expressions.length-1])}if(r.isStringLiteral(o))return o.value;if(r.isTemplateLiteral(o)){var C="";for(c=0;c<o.quasis.length;c++)C+=o.quasis[c].value.cooked,c<o.expressions.length&&(C+=""+e(o.expressions[c]));return C}if(r.isUnaryExpression(o)){var O=e(o.argument);if(!i)return;switch(o.operator){case"-":return-O;case"+":return+O;case"!":return!O;case"~":return~O;case"typeof":return typeof O;case"void":return}}i=!1}}(e);return i?{constant:!0,result:o}:{constant:!1}}function n(e){return"string"==typeof e||Array.isArray(e)||"undefined"!=typeof Set&&e instanceof Set||"undefined"!=typeof Map&&e instanceof Map}function i(e,r){if(e===r)return!0;if(e&&r&&"object"==typeof e&&"object"==typeof r){for(var t in e)if(e[t]!==r[t])return!1;for(var t in r)if(e[t]!==r[t])return!1;return!0}return!1}function a(e,r){switch(typeof e){case"boolean":switch(r){case"toString":return!0;default:return!1}case"number":switch(r){case"toExponential":case"toFixed":case"toPrecision":case"toString":return!0;default:return!1}case"string":switch(r){case"charAt":case"charCodeAt":case"codePointAt":case"concat":case"endsWith":case"includes":case"indexOf":case"lastIndexOf":case"match":case"normalize":case"padEnd":case"padStart":case"repeat":case"replace":case"search":case"slice":case"split":case"startsWith":case"substr":case"substring":case"toLowerCase":case"toUpperCase":case"trim":return!0;default:return!1}default:if(e instanceof RegExp)switch(r){case"test":case"exec":return!0;default:return!1}return{}.hasOwnProperty.call(e,r)&&"_"!==r[0]}}exports.expressionToConstant=s;var o={},u="",c=o,p=o,l=null,f=!1;function d(r,t,n){if(void 0===t&&(t=o),void 0===n&&(n=o),u===r&&i(c,t)&&i(p,n))return f;var a;u=r,c=t;try{a=e.parseExpression(r,n)}catch(y){return f=!1}var d=s(a,{constants:t}),v=d.result,x=d.constant;return l=v,f=x}function v(e,r,t){if(void 0===r&&(r=o),void 0===t&&(t=o),!d(e,r,t))throw new Error(JSON.stringify(e)+" is not constant.");return l}exports.isConstant=d,exports.toConstant=v,exports.default=d,module.exports=d,module.exports.default=d,module.exports.expressionToConstant=s,module.exports.isConstant=d,module.exports.toConstant=v;
  },{"@babel/parser":"J4YF","@babel/types":"TU5L","./binaryOperation":"okIg"}],"qFO7":[function(require,module,exports) {
  "use strict";var e=require("path").dirname,r=require("constantinople"),n=require("pug-walk"),t=require("pug-error"),i=require("./run-filter");function a(r,a,s,c){function u(e){var r=e.name;if(c&&c[r]&&(r=c[r],c[r]))throw t("FILTER_ALISE_CHAIN",'The filter "'+e.name+'" is an alias for "'+r+'", which is an alias for "'+c[r]+'".  Pug does not support chains of filter aliases.',e);return r}return s=s||{},n(r,function(r){var n=r.filename?e(r.filename):null;if("Filter"===r.type){o(r,a,s,c);var d=l(r);(v=f(r,s)).filename=r.filename,r.type="Text",r.val=h(r,d,v)}else if("RawInclude"===r.type&&r.filters.length){var v,m=r.filters.pop(),p=(v=f(m,s)).filename=r.file.fullPath;r.type="Text",r.val=function(e,r,n,t){var i=u(e);return a&&a[i]?a[i].renderBuffer?a[i].renderBuffer(n.raw,t):a[i](n.str,t):h(e,r,t,"renderFile")}(m,p,r.file,v),r.filters.slice().reverse().forEach(function(e){var n=f(e,s);n.filename=p,r.val=h(e,r.val,n)}),r.filters=void 0,r.file=void 0}function h(e,r,o,l){try{var f=u(e);return a&&a[f]?a[f](r,o):i(f,r,o,n,l)}catch(s){if("UNKNOWN_FILTER"===s.code)throw t(s.code,s.message,e);throw s}}},{includeDependencies:!0}),r}function o(e,r,n,t){e.block.nodes[0]&&"Filter"===e.block.nodes[0].type&&(e.block.nodes[0]=a(e.block,r,n,t).nodes[0])}function l(e){return e.block.nodes.map(function(e){return e.val}).join("")}function f(e,n){var i={};e.attrs.forEach(function(n){try{i[n.name]=!0===n.val||r.toConstant(n.val)}catch(a){if(/not constant/.test(a.message))throw t("FILTER_OPTION_NOT_CONSTANT",a.message+" All filters are rendered compile-time so filter options must be constants.",e);throw a}});var a=n[e.name]||{};return Object.keys(a).forEach(function(e){i.hasOwnProperty(e)||(i[e]=a[e])}),i}module.exports=a;
  },{"path":"UUq2","constantinople":"tcFq","pug-walk":"gdoB","pug-error":"eq22","./run-filter":"ABfX"}],"oONa":[function(require,module,exports) {
  "use strict";exports.runFilter=require("./lib/run-filter"),exports.handleFilters=require("./lib/handle-filters");
  },{"./lib/run-filter":"ABfX","./lib/handle-filters":"qFO7"}],"ygNA":[function(require,module,exports) {
  "use strict";var e=require("assert"),n=require("pug-walk");function t(){throw require("pug-error").apply(null,arguments)}function o(c){e("Block"===c.type,"The top level element should always be a block");var s=null;if(c.nodes.length){var d="Extends"===c.nodes[0].type;i(c,d),d&&(s=c.nodes.shift())}if((c=l(c)).declaredBlocks=a(c),s){var u=[],f=[];c.nodes.forEach(function e(n){"NamedBlock"===n.type?f.push(n):"Block"===n.type?n.nodes.forEach(e):"Mixin"===n.type&&!1===n.call?u.push(n):t("UNEXPECTED_NODES_IN_EXTENDING_ROOT","Only named blocks and mixins can appear at the top level of an extending template",n)});var p=o(s.file.ast);r(p.declaredBlocks,c);var h=[];return n(p,function(e){"NamedBlock"===e.type&&h.push(e.name)}),f.forEach(function(e){-1===h.indexOf(e.name)&&t("UNEXPECTED_BLOCK","Unexpected block "+e.name,e)}),Object.keys(c.declaredBlocks).forEach(function(e){p.declaredBlocks[e]=c.declaredBlocks[e]}),p.nodes=u.concat(p.nodes),p.hasExtends=!0,p}return c}function a(e){var t={};return n(e,function(e){"NamedBlock"===e.type&&"replace"===e.mode&&(t[e.name]=t[e.name]||[],t[e.name].push(e))}),t}function c(e,n){return n=n||[],e.forEach(function(e){e.parents&&c(e.parents,n),n.push(e)}),n}function r(e,t){var o={};n(t,function(n){if("NamedBlock"===n.type){if(o[n.name]===n.name)return n.ignore=!0;o[n.name]=n.name;var t=e[n.name]?c(e[n.name]):[];t.length&&(n.parents=t,t.forEach(function(e){switch(n.mode){case"append":e.nodes=e.nodes.concat(n.nodes);break;case"prepend":e.nodes=n.nodes.concat(e.nodes);break;case"replace":e.nodes=n.nodes}}))}},function(e){"NamedBlock"!==e.type||e.ignore||delete o[e.name]})}function l(e,t){return n(e,function(e,n){"RawInclude"===e.type&&n({type:"Text",val:e.file.str.replace(/\r/g,"")})},function(e,n){if("Include"===e.type){var t=o(e.file.ast);t.hasExtends&&(t=s(t)),n(d(t,e.block))}})}function s(e){return n(e,function(e,n){"NamedBlock"===e.type&&n({type:"Block",nodes:e.nodes})})}function d(e,t){if(!t||!t.nodes.length)return e;var o=!1;return e=n(e,null,function(e,n){"YieldBlock"===e.type&&(o=!0,e.type="Block",e.nodes=[t])}),o||function e(n){for(var t=n,o=0;o<n.nodes.length;o++)n.nodes[o].textOnly||("Block"===n.nodes[o].type?t=e(n.nodes[o]):n.nodes[o].block&&n.nodes[o].block.nodes.length&&(t=e(n.nodes[o].block)));return t}(e).nodes.push(t),e}function i(e,o){var a=!1;n(e,function(e){"Extends"===e.type&&(o&&!a?a=!0:t("EXTENDS_NOT_FIRST",'Declaration of template inheritance ("extends") should be the first thing in the file. There can only be one extends statement per file.',e))})}module.exports=o;
  },{"assert":"DlZn","pug-walk":"gdoB","pug-error":"eq22"}],"no2P":[function(require,module,exports) {
  "use strict";module.exports={html:"<!DOCTYPE html>",xml:'<?xml version="1.0" encoding="utf-8" ?>',transitional:'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',strict:'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">',frameset:'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">',1.1:'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">',basic:'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">',mobile:'<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">',plist:'<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">'};
  },{}],"kLoP":[function(require,module,exports) {
  module.exports={has_own_property:[],merge:["style"],classes_array:["classes","escape"],classes_object:["has_own_property"],classes:["classes_array","classes_object"],style:["has_own_property"],attr:["escape"],attrs:["attr","classes","has_own_property","style"],match_html:[],escape:["match_html"],rethrow:[]};
  },{}],"CzUD":[function(require,module,exports) {
  module.exports={dependencies:!0,internals:!0,has_own_property:!0,classes_array:!0,classes_object:!0,match_html:!0};
  },{}],"sFgK":[function(require,module,exports) {
  module.exports={has_own_property:"var pug_has_own_property=Object.prototype.hasOwnProperty;",merge:'function pug_merge(e,r){if(1===arguments.length){for(var t=e[0],g=1;g<e.length;g++)t=pug_merge(t,e[g]);return t}for(var l in r)if("class"===l){var n=e[l]||[];e[l]=(Array.isArray(n)?n:[n]).concat(r[l]||[])}else if("style"===l){var n=pug_style(e[l]);n=n&&";"!==n[n.length-1]?n+";":n;var a=pug_style(r[l]);a=a&&";"!==a[a.length-1]?a+";":a,e[l]=n+a}else e[l]=r[l];return e}',classes_array:'function pug_classes_array(r,a){for(var s,e="",u="",c=Array.isArray(a),g=0;g<r.length;g++)(s=pug_classes(r[g]))&&(c&&a[g]&&(s=pug_escape(s)),e=e+u+s,u=" ");return e}',classes_object:'function pug_classes_object(r){var a="",n="";for(var o in r)o&&r[o]&&pug_has_own_property.call(r,o)&&(a=a+n+o,n=" ");return a}',classes:'function pug_classes(s,r){return Array.isArray(s)?pug_classes_array(s,r):s&&"object"==typeof s?pug_classes_object(s):s||""}',style:'function pug_style(r){if(!r)return"";if("object"==typeof r){var t="";for(var e in r)pug_has_own_property.call(r,e)&&(t=t+e+":"+r[e]+";");return t}return r+""}',attr:'function pug_attr(t,e,n,r){if(!1===e||null==e||!e&&("class"===t||"style"===t))return"";if(!0===e)return" "+(r?t:t+\'="\'+t+\'"\');var f=typeof e;return"object"!==f&&"function"!==f||"function"!=typeof e.toJSON||(e=e.toJSON()),"string"==typeof e||(e=JSON.stringify(e),n||-1===e.indexOf(\'"\'))?(n&&(e=pug_escape(e))," "+t+\'="\'+e+\'"\'):" "+t+"=\'"+e.replace(/\'/g,"&#39;")+"\'"}',attrs:'function pug_attrs(t,r){var a="";for(var s in t)if(pug_has_own_property.call(t,s)){var u=t[s];if("class"===s){u=pug_classes(u),a=pug_attr(s,u,!1,r)+a;continue}"style"===s&&(u=pug_style(u)),a+=pug_attr(s,u,!1,r)}return a}',match_html:'var pug_match_html=/["&<>]/;',escape:'function pug_escape(e){var a=""+e,t=pug_match_html.exec(a);if(!t)return e;var r,c,n,s="";for(r=t.index,c=0;r<a.length;r++){switch(a.charCodeAt(r)){case 34:n="&quot;";break;case 38:n="&amp;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;default:continue}c!==r&&(s+=a.substring(c,r)),c=r+1,s+=n}return c!==r?s+a.substring(c,r):s}',rethrow:'function pug_rethrow(n,e,t,r){if(!(n instanceof Error))throw n;if(!("undefined"==typeof window&&e||r))throw n.message+=" on line "+t,n;try{r=r||require("fs").readFileSync(e,"utf8")}catch(e){pug_rethrow(n,null,t)}var a=3,i=r.split("\\n"),o=Math.max(t-a,0),h=Math.min(i.length,t+a),a=i.slice(o,h).map(function(n,e){var r=e+o+1;return(r==t?"  > ":"    ")+r+"| "+n}).join("\\n");n.path=e;try{n.message=(e||"Pug")+":"+t+"\\n"+a+"\\n\\n"+n.message}catch(n){}throw n}'};
  },{}],"tLNy":[function(require,module,exports) {
  "use strict";var r=require("fs"),e=require("./lib/dependencies.js"),n=require("./lib/internals.js"),i=require("./lib/sources.js");function u(r){var u=[];r=r.filter(function(r){return!n[r]});for(var s=0;s<r.length;s++)-1===u.indexOf(r[s])&&(u.push(r[s]),r.push.apply(r,e[r[s]]));return u.sort().map(function(r){return i[r]}).join("\n")}module.exports=u;
  },{"fs":"rDCW","./lib/dependencies.js":"kLoP","./lib/internals.js":"CzUD","./lib/sources.js":"sFgK"}],"mWEc":[function(require,module,exports) {
  "use strict";var r=Object.prototype.hasOwnProperty;function t(r,e){if(1===arguments.length){for(var n=r[0],a=1;a<r.length;a++)n=t(n,r[a]);return n}for(var i in e)if("class"===i){var s=r[i]||[];r[i]=(Array.isArray(s)?s:[s]).concat(e[i]||[])}else if("style"===i){s=(s=o(r[i]))&&";"!==s[s.length-1]?s+";":s;var c=o(e[i]);c=c&&";"!==c[c.length-1]?c+";":c,r[i]=s+c}else r[i]=e[i];return r}function e(r,t){for(var e,n="",o="",i=Array.isArray(t),s=0;s<r.length;s++)(e=a(r[s]))&&(i&&t[s]&&(e=f(e)),n=n+o+e,o=" ");return n}function n(t){var e="",n="";for(var a in t)a&&t[a]&&r.call(t,a)&&(e=e+n+a,n=" ");return e}function a(r,t){return Array.isArray(r)?e(r,t):r&&"object"==typeof r?n(r):r||""}function o(t){if(!t)return"";if("object"==typeof t){var e="";for(var n in t)r.call(t,n)&&(e=e+n+":"+t[n]+";");return e}return t+""}function i(r,t,e,n){if(!1===t||null==t||!t&&("class"===r||"style"===r))return"";if(!0===t)return" "+(n?r:r+'="'+r+'"');var a=typeof t;return"object"!==a&&"function"!==a||"function"!=typeof t.toJSON||(t=t.toJSON()),"string"==typeof t||(t=JSON.stringify(t),e||-1===t.indexOf('"'))?(e&&(t=f(t))," "+r+'="'+t+'"'):" "+r+"='"+t.replace(/'/g,"&#39;")+"'"}function s(t,e){var n="";for(var s in t)if(r.call(t,s)){var c=t[s];if("class"===s){n=i(s,c=a(c),!1,e)+n;continue}"style"===s&&(c=o(c)),n+=i(s,c,!1,e)}return n}exports.merge=t,exports.classes=a,exports.style=o,exports.attr=i,exports.attrs=s;var c=/["&<>]/;function f(r){var t=""+r,e=c.exec(t);if(!e)return r;var n,a,o,i="";for(n=e.index,a=0;n<t.length;n++){switch(t.charCodeAt(n)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 60:o="&lt;";break;case 62:o="&gt;";break;default:continue}a!==n&&(i+=t.substring(a,n)),a=n+1,i+=o}return a!==n?i+t.substring(a,n):i}function u(r,t,e,n){if(!(r instanceof Error))throw r;if(!("undefined"==typeof window&&t||n))throw r.message+=" on line "+e,r;try{n=n||require("fs").readFileSync(t,"utf8")}catch(c){u(r,null,e)}var a=3,o=n.split("\n"),i=Math.max(e-a,0),s=Math.min(o.length,e+a);a=o.slice(i,s).map(function(r,t){var n=t+i+1;return(n==e?"  > ":"    ")+n+"| "+r}).join("\n");r.path=t;try{r.message=(t||"Pug")+":"+e+"\n"+a+"\n\n"+r.message}catch(f){}throw r}exports.escape=f,exports.rethrow=u;
  },{"fs":"rDCW"}],"pWFu":[function(require,module,exports) {
  "use strict";function e(u){return u instanceof Date?"new Date("+e(u.toISOString())+")":void 0===u?"undefined":JSON.stringify(u).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/</g,"\\u003C").replace(/>/g,"\\u003E").replace(/\//g,"\\u002F")}module.exports=e;
  },{}],"aeV3":[function(require,module,exports) {
  "use strict";var t=require("assert"),e=require("constantinople"),n=require("pug-runtime"),r=require("js-stringify");function s(t){return e(t,{pug:n,pug_interp:void 0})}function o(t){return e.toConstant(t,{pug:n,pug_interp:void 0})}function a(e,a){t(Array.isArray(e),"Attrs should be an array"),t(e.every(function(t){return t&&"object"==typeof t&&"string"==typeof t.name&&("string"==typeof t.val||"boolean"==typeof t.val)&&"boolean"==typeof t.mustEscape}),"All attributes should be supplied as an object of the form {name, val, mustEscape}"),t(a&&"object"==typeof a,"Options should be an object"),t("boolean"==typeof a.terse,"Options.terse should be a boolean"),t("function"==typeof a.runtime,"Options.runtime should be a function that takes a runtime function name and returns the source code that will evaluate to that function at runtime"),t("html"===a.format||"object"===a.format,'Options.format should be "html" or "object"');var u=[],i=[],l=[];function p(t,e,u,i){if(s(e))if("html"===a.format){var l=r(n.attr(t,o(e),u,a.terse)),p=i[i.length-1];p&&p[p.length-1]===l[0]?i[i.length-1]=p.substr(0,p.length-1)+l.substr(1):i.push(l)}else e=o(e),u&&(e=n.escape(e)),i.push(r(t)+": "+r(e));else"html"===a.format?i.push(a.runtime("attr")+'("'+t+'", '+e+", "+r(u)+", "+r(a.terse)+")"):(u&&(e=a.runtime("escape")+"("+e+")"),i.push(r(t)+": "+e))}e.forEach(function(t){var e=t.name,c=t.val,f=t.mustEscape;"class"===e?(i.push(c),l.push(f)):("style"===e&&(c=s(c)?r(n.style(o(c))):a.runtime("style")+"("+c+")"),p(e,c,f,u))});var c=[];return i.length&&(i.every(s)?p("class",r(n.classes(i.map(o),l)),!1,c):(i=i.map(function(t,e){return s(t)&&(t=r(l[e]?n.escape(o(t)):o(t)),l[e]=!1),t}),p("class",a.runtime("classes")+"(["+i.join(",")+"], "+r(l)+")",!1,c))),u=c.concat(u),"html"===a.format?u.length?u.join("+"):'""':"{"+u.join(",")+"}"}module.exports=a;
  },{"assert":"DlZn","constantinople":"tcFq","pug-runtime":"mWEc","js-stringify":"pWFu"}],"xPr9":[function(require,module,exports) {
  module.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};
  },{}],"z6pd":[function(require,module,exports) {
  "use strict";function e(e,r){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=t(e))||r&&e&&"number"==typeof e.length){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,f=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return f=e.done,e},e:function(e){a=!0,u=e},f:function(){try{f||null==n.return||n.return()}finally{if(a)throw u}}}}function t(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),u=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&o(t,e,r);return i(t,e),t};Object.defineProperty(exports,"__esModule",{value:!0});var f=u(require("@babel/types"));if(!Array.isArray(f.TYPES)||!f.TYPES.every(function(e){return"string"==typeof e}))throw new Error("@babel/types TYPES does not match the expected type.");var a=f.FLIPPED_ALIAS_KEYS,c=new Set(f.TYPES);if(!a||"object"!==n(a)||!Object.keys(a).every(function(e){return Array.isArray(a[e])&&a[e].every(function(e){return"string"==typeof e})}))throw new Error("@babel/types FLIPPED_ALIAS_KEYS does not match the expected type.");function y(t){var r={};for(var n in t){var o=a[n];if(o){var i,u=e(o);try{for(u.s();!(i=u.n()).done;){var f=i.value;f in r?"function"==typeof t[n]?r[f].enter.push(t[n]):(t[n].enter&&r[f].enter.push(t[n].enter),t[n].exit&&r[f].exit.push(t[n].exit)):"function"==typeof t[n]?r[f]={enter:[t[n]],exit:[]}:r[f]={enter:t[n].enter?[t[n].enter]:[],exit:t[n].exit?[t[n].exit]:[]}}}catch(y){u.e(y)}finally{u.f()}}else c.has(n)&&(n in r?"function"==typeof t[n]?r[n].enter.push(t[n]):(t[n].enter&&r[n].enter.push(t[n].enter),t[n].exit&&r[n].exit.push(t[n].exit)):"function"==typeof t[n]?r[n]={enter:[t[n]],exit:[]}:r[n]={enter:t[n].enter?[t[n].enter]:[],exit:t[n].exit?[t[n].exit]:[]})}return r}exports.default=y;
  },{"@babel/types":"TU5L"}],"W6dG":[function(require,module,exports) {
  "use strict";function e(e,r){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=t(e))||r&&e&&"number"==typeof e.length){n&&(e=n);var o=0,a=function(){};return{s:a,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,f=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return f=e.done,e},e:function(e){l=!0,i=e},f:function(){try{f||null==n.return||n.return()}finally{if(l)throw i}}}}function t(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&o(t,e,r);return a(t,e),t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.recursive=exports.ancestor=exports.simple=void 0;var l=i(require("@babel/types")),u=f(require("./explode")),c=l.VISITOR_KEYS;if(!c||"object"!==n(c)||!Object.keys(c).every(function(e){return Array.isArray(c[e])&&c[e].every(function(e){return"string"==typeof e})}))throw new Error("@babel/types VISITOR_KEYS does not match the expected type.");function y(t){var r=u.default(t);return function(t,n){!function t(o){if(o){var a=r[o.type];if(null==a?void 0:a.enter){var i,f=e(a.enter);try{for(f.s();!(i=f.n()).done;){(0,i.value)(o,n)}}catch(h){f.e(h)}finally{f.f()}}var l,u=e(c[o.type]||[]);try{for(u.s();!(l=u.n()).done;){var y=o[l.value];if(Array.isArray(y)){var s,v=e(y);try{for(v.s();!(s=v.n()).done;){t(s.value)}}catch(h){v.e(h)}finally{v.f()}}else t(y)}}catch(h){u.e(h)}finally{u.f()}if(null==a?void 0:a.exit){var d,p=e(a.exit);try{for(p.s();!(d=p.n()).done;){(0,d.value)(o,n)}}catch(h){p.e(h)}finally{p.f()}}}}(t)}}function s(t){var r=u.default(t);return function(t,n){var o=[];!function t(a){if(a){var i=r[a.type],f=a!==o[o.length-1];if(f&&o.push(a),null==i?void 0:i.enter){var l,u=e(i.enter);try{for(u.s();!(l=u.n()).done;){(0,l.value)(a,n,o)}}catch(m){u.e(m)}finally{u.f()}}var y,s=e(c[a.type]||[]);try{for(s.s();!(y=s.n()).done;){var v=a[y.value];if(Array.isArray(v)){var d,p=e(v);try{for(p.s();!(d=p.n()).done;){t(d.value)}}catch(m){p.e(m)}finally{p.f()}}else t(v)}}catch(m){s.e(m)}finally{s.f()}if(null==i?void 0:i.exit){var h,b=e(i.exit);try{for(b.s();!(h=b.n()).done;){(0,h.value)(a,n,o)}}catch(m){b.e(m)}finally{b.f()}}f&&o.pop()}}(t)}}function v(t){var r=u.default(t);return function(t,n){!function t(o){if(o){var a=r[o.type];if(null==a?void 0:a.enter){var i,f=e(a.enter);try{for(f.s();!(i=f.n()).done;){(0,i.value)(o,n,t)}}catch(d){f.e(d)}finally{f.f()}}else{var l,u=e(c[o.type]||[]);try{for(u.s();!(l=u.n()).done;){var y=o[l.value];if(Array.isArray(y)){var s,v=e(y);try{for(v.s();!(s=v.n()).done;){t(s.value)}}catch(d){v.e(d)}finally{v.f()}}else t(y)}}catch(d){u.e(d)}finally{u.f()}}}}(t)}}exports.simple=y,exports.ancestor=s,exports.recursive=v;
  },{"@babel/types":"TU5L","./explode":"z6pd"}],"wDU6":[function(require,module,exports) {
  "use strict";function e(e,r){if(r)return e;throw new Error("Unhandled discriminated union member: "+JSON.stringify(e))}Object.defineProperty(exports,"__esModule",{value:!0}),exports.assertNever=e,exports.default=e;
  },{}],"yLlV":[function(require,module,exports) {
  "use strict";var e=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),t=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var n={};if(null!=r)for(var i in r)Object.hasOwnProperty.call(r,i)&&e(n,r,i);return t(n,r),n};Object.defineProperty(exports,"__esModule",{value:!0});var n=r(require("@babel/types"));function i(e,t){switch(t.type){case"ObjectProperty":return t.value===e||t.computed;case"BreakStatement":case"ContinueStatement":return!1;case"AssignmentExpression":return!0}return n.isReferenced(e,t)}exports.default=i;
  },{"@babel/types":"TU5L"}],"dNaq":[function(require,module,exports) {
  "use strict";function e(e,a){return n(e)||t(e,a)||l(e,a)||r()}function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function t(e,r){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var t=[],n=!0,a=!1,o=void 0;try{for(var i,u=e[Symbol.iterator]();!(n=(i=u.next()).done)&&(t.push(i.value),!r||t.length!==r);n=!0);}catch(f){a=!0,o=f}finally{try{n||null==u.return||u.return()}finally{if(a)throw o}}return t}}function n(e){if(Array.isArray(e))return e}function a(e){return u(e)||i(e)||l(e)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function u(e){if(Array.isArray(e))return c(e)}function f(e,r){var t;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(t=l(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){t=e[Symbol.iterator]()},n:function(){var e=t.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==t.return||t.return()}finally{if(u)throw o}}}}function l(e,r){if(e){if("string"==typeof e)return c(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?c(e,r):void 0}}function c(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}var s=this&&this.__createBinding||(Object.create?function(e,r,t,n){void 0===n&&(n=t),Object.defineProperty(e,n,{enumerable:!0,get:function(){return r[t]}})}:function(e,r,t,n){void 0===n&&(n=t),e[n]=r[t]}),d=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),y=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.hasOwnProperty.call(e,t)&&s(r,e,t);return d(r,e),r},v=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0});var m=v(require("assert-never")),b=require("babel-walk"),h=y(require("@babel/types")),p=v(require("./reference")),g=function(e){return h.isFunctionParent(e)||h.isProgram(e)},S=function(e){return h.isBlockStatement(e)||g(e)},w=function(e){return h.isFunction(e)&&!h.isArrowFunctionExpression(e)},j=w,A=Symbol("locals"),_=function(e){return e[A]},O=function(e){return e[A]=e[A]||new Set},I=function(e,r){return O(e).add(r)};function P(e){var r,t=f(e.params);try{for(t.s();!(r=t.n()).done;){k(r.value,e)}}catch(a){t.e(a)}finally{t.f()}var n=e.id;n&&I(e,n.name)}function k(e,r){switch(e.type){case"Identifier":I(r,e.name);break;case"ObjectPattern":var t,n=f(e.properties);try{for(n.s();!(t=n.n()).done;){var a=t.value;switch(a.type){case"RestElement":k(a.argument,r);break;case"ObjectProperty":k(a.value,r);break;default:m.default(a)}}}catch(l){n.e(l)}finally{n.f()}break;case"ArrayPattern":var o,i=f(e.elements);try{for(i.s();!(o=i.n()).done;){var u=o.value;u&&k(u,r)}}catch(l){i.e(l)}finally{i.f()}break;case"RestElement":k(e.argument,r);break;case"AssignmentPattern":k(e.left,r);break;default:throw new Error("Unrecognized pattern type: "+e.type)}}function E(e,r,t){for(var n=t.length-2;n>=0;n--)if(g(t[n]))return void I(t[n],e.local.name)}var T=b.ancestor({VariableDeclaration:function(e,r,t){for(var n=t.length-2;n>=0;n--)if("var"===e.kind?h.isFunctionParent(t[n]):S(t[n])){var a,o=f(e.declarations);try{for(o.s();!(a=o.n()).done;){k(a.value.id,t[n])}}catch(i){o.e(i)}finally{o.f()}return}},FunctionDeclaration:function(e,r,t){if(e.id)for(var n=t.length-2;n>=0;n--)if(g(t[n]))return void I(t[n],e.id.name)},Function:P,ClassDeclaration:function(e,r,t){for(var n=t.length-2;n>=0;n--)if(g(t[n]))return void I(t[n],e.id.name)},TryStatement:function(e){null!==e.handler&&null!==e.handler.param&&k(e.handler.param,e.handler)},ImportDefaultSpecifier:E,ImportSpecifier:E,ImportNamespaceSpecifier:E}),x=b.ancestor({Identifier:function(e,r,t){var n,a=e.name;if("undefined"!==a){var o=t[t.length-2];if(o){if(!p.default(e,o))return;var i,u=f(t);try{for(u.s();!(i=u.n()).done;){var l=i.value;if("arguments"===a&&w(l))return;if(null===(n=_(l))||void 0===n?void 0:n.has(a))return}}catch(c){u.e(c)}finally{u.f()}}r.globals.push(e)}},ThisExpression:function(e,r,t){var n,a=f(t);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(j(o))return}}catch(i){a.e(i)}finally{a.f()}r.globals.push(e)}});function D(r){var t=[];if(!h.isNode(r))throw new TypeError("Source must be a Babylon AST");T(r,void 0),x(r,{globals:t});for(var n=new Map,o=0,i=t;o<i.length;o++){var u=i[o],f="ThisExpression"===u.type?"this":u.name,l=n.get(f);l?l.push(u):n.set(f,[u])}return a(n).map(function(r){var t=e(r,2);return{name:t[0],nodes:t[1]}}).sort(function(e,r){return e.name<r.name?-1:1})}exports.default=D;
  },{"assert-never":"wDU6","babel-walk":"W6dG","@babel/types":"TU5L","./reference":"yLlV"}],"AGV2":[function(require,module,exports) {
  var global = arguments[3];
  var t=arguments[3];function r(t){return a(t)||o(t)||n(t)||e()}function e(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function n(t,r){if(t){if("string"==typeof t)return c(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?c(t,r):void 0}}function o(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function a(t){if(Array.isArray(t))return c(t)}function c(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}var i=this&&this.__createBinding||(Object.create?function(t,r,e,n){void 0===n&&(n=e),Object.defineProperty(t,n,{enumerable:!0,get:function(){return r[e]}})}:function(t,r,e,n){void 0===n&&(n=e),t[n]=r[e]}),u=this&&this.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:!0,value:r})}:function(t,r){t.default=r}),f=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(null!=t)for(var e in t)Object.hasOwnProperty.call(t,e)&&i(r,t,e);return u(r,t),r},s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0});var l=require("@babel/parser"),d=require("babel-walk"),p=f(require("@babel/types")),b=s(require("./globals")),h={allowReturnOutsideFunction:!0,allowImportExportEverywhere:!0};function m(t,e){var n,o,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];t+="",e+="";try{n=l.parse(e,h)}catch(y){throw Object.assign(new Error("Error parsing body of the with expression"),{component:"src",babylonError:y})}try{o=l.parse(t,h)}catch(y){throw Object.assign(new Error("Error parsing object part of the with expression"),{component:"obj",babylonError:y})}var c=new Set(["undefined","this"].concat(r(a),r(b.default(o).map(function(t){return t.name})))),i=new Set(b.default(n).map(function(t){return t.name}).filter(function(t){return!c.has(t)}));if(0===i.size)return e;var u="",f="locals_for_with",s="result_of_with";if(p.isValidIdentifier(t))f=t;else{for(;i.has(f)||c.has(f);)f+="_";u="var ".concat(f," = (").concat(t,");")}for(;i.has(s)||c.has(s);)s+="_";var d=["this"].concat(r(Array.from(i).map(function(t){return"".concat(JSON.stringify(t)," in ").concat(f," ?\n        ").concat(f,".").concat(t," :\n        typeof ").concat(t," !== 'undefined' ? ").concat(t," : undefined")}))),m=v(n,e,s);return";\n    ".concat(u,"\n    ").concat(m.before,"\n    (function (").concat(Array.from(i).join(", "),") {\n      ").concat(m.body,"\n    }.call(").concat(d.join(", "),"));\n    ").concat(m.after,";")}exports.default=m;var y=d.recursive({Function:function(t,r,e){},ReturnStatement:function(t,r){r.hasReturn=!0;var e="";t.argument&&(e="value: (".concat(r.source(t.argument),")")),r.replace(t,"return {".concat(e,"};"))}});function v(t,r,e){var n=r.split(""),o={hasReturn:!1,source:function(t){return r.slice(t.start,t.end)},replace:function(t,r){n.fill("",t.start,t.end),n[t.start]=r}};return y(t,o),{before:o.hasReturn?"var ".concat(e," = "):"",body:n.join(""),after:o.hasReturn?";if (".concat(e,") return ").concat(e,".value"):""}}module.exports=m,module.exports.default=m;
  },{"@babel/parser":"J4YF","babel-walk":"W6dG","@babel/types":"TU5L","./globals":"dNaq"}],"RNFs":[function(require,module,exports) {
  "use strict";var t=require("doctypes"),i=require("pug-error"),e=require("pug-runtime/build"),s=require("pug-runtime"),n=require("pug-attrs"),u=require("void-elements"),h=require("constantinople"),r=require("js-stringify"),o=require("with"),f={pre:!0,textarea:!0},p=["pug","pug_mixins","pug_interp","pug_debug_filename","pug_debug_line","pug_debug_sources","pug_html"];function l(t,i){return new b(t,i).compile()}function a(t){return h(t,{pug:s,pug_interp:void 0})}function c(t){return h.toConstant(t,{pug:s,pug_interp:void 0})}function b(t,i){this.options=i=i||{},this.node=t,this.bufferedConcatenationCount=0,this.hasCompiledDoctype=!1,this.hasCompiledTag=!1,this.pp=i.pretty||!1,this.pp&&"string"!=typeof this.pp&&(this.pp="  "),this.debug=!1!==i.compileDebug,this.indents=0,this.parentIndents=0,this.terse=!1,this.mixins={},this.dynamicMixins=!1,this.eachCount=0,i.doctype&&this.setDoctype(i.doctype),this.runtimeFunctionsUsed=[],this.inlineRuntimeFunctions=i.inlineRuntimeFunctions||!1,this.debug&&this.inlineRuntimeFunctions&&this.runtimeFunctionsUsed.push("rethrow")}function d(t){return t.block.nodes.every(function t(i){return"Block"===i.type?i.nodes.every(t):"YieldBlock"===i.type||"Text"===i.type&&!/\n/.test(i.val)||i.isInline})}module.exports=l,module.exports.CodeGenerator=b,b.prototype={runtime:function(t){return this.inlineRuntimeFunctions?(this.runtimeFunctionsUsed.push(t),"pug_"+t):"pug."+t},error:function(t,e,s){throw i(e,t,{line:s.line,column:s.column,filename:s.filename})},compile:function(){if(this.buf=[],this.pp&&this.buf.push("var pug_indent = [];"),this.lastBufferedIdx=-1,this.visit(this.node),!this.dynamicMixins)for(var t=Object.keys(this.mixins),i=0;i<t.length;i++){var s=this.mixins[t[i]];if(!s.used)for(var n=0;n<s.instances.length;n++)for(var u=s.instances[n].start;u<s.instances[n].end;u++)this.buf[u]=""}var h=this.buf.join("\n"),f=this.options.globals?this.options.globals.concat(p):p;return h=this.options.self?"var self = locals || {};"+h:o("locals || {}",h,f.concat(this.runtimeFunctionsUsed.map(function(t){return"pug_"+t}))),this.debug&&(this.options.includeSources&&(h="var pug_debug_sources = "+r(this.options.includeSources)+";\n"+h),h="var pug_debug_filename, pug_debug_line;try {"+h+"} catch (err) {"+(this.inlineRuntimeFunctions?"pug_rethrow":"pug.rethrow")+"(err, pug_debug_filename, pug_debug_line"+(this.options.includeSources?", pug_debug_sources[pug_debug_filename]":"")+");}"),e(this.runtimeFunctionsUsed)+"function "+(this.options.templateName||"template")+'(locals) {var pug_html = "", pug_mixins = {}, pug_interp;'+h+";return pug_html;}"},setDoctype:function(i){this.doctype=t[i.toLowerCase()]||"<!DOCTYPE "+i+">",this.terse="<!doctype html>"==this.doctype.toLowerCase(),this.xml=0==this.doctype.indexOf("<?xml")},buffer:function(t){t=(t=r(t)).substr(1,t.length-2),this.lastBufferedIdx==this.buf.length&&this.bufferedConcatenationCount<100?("code"===this.lastBufferedType&&(this.lastBuffered+=' + "',this.bufferedConcatenationCount++),this.lastBufferedType="text",this.lastBuffered+=t,this.buf[this.lastBufferedIdx-1]="pug_html = pug_html + "+this.bufferStartChar+this.lastBuffered+'";'):(this.bufferedConcatenationCount=0,this.buf.push('pug_html = pug_html + "'+t+'";'),this.lastBufferedType="text",this.bufferStartChar='"',this.lastBuffered=t,this.lastBufferedIdx=this.buf.length)},bufferExpression:function(t){if(a(t))return this.buffer(c(t)+"");this.lastBufferedIdx==this.buf.length&&this.bufferedConcatenationCount<100?(this.bufferedConcatenationCount++,"text"===this.lastBufferedType&&(this.lastBuffered+='"'),this.lastBufferedType="code",this.lastBuffered+=" + ("+t+")",this.buf[this.lastBufferedIdx-1]="pug_html = pug_html + ("+this.bufferStartChar+this.lastBuffered+");"):(this.bufferedConcatenationCount=0,this.buf.push("pug_html = pug_html + ("+t+");"),this.lastBufferedType="code",this.bufferStartChar="",this.lastBuffered="("+t+")",this.lastBufferedIdx=this.buf.length)},prettyIndent:function(t,i){t=t||0,i=i?"\n":"",this.buffer(i+Array(this.indents+t).join(this.pp)),this.parentIndents&&this.buf.push('pug_html = pug_html + pug_indent.join("");')},visit:function(t,i){var e=this.debug;if(!t)throw n=i?"A child of "+i.type+" ("+(i.filename||"Pug")+":"+i.line+")":"A top-level node",n+=" is "+t+", expected a Pug AST Node.",new TypeError(n);if(e&&!1!==t.debug&&"Block"!==t.type&&t.line){var s=";pug_debug_line = "+t.line;t.filename&&(s+=";pug_debug_filename = "+r(t.filename)),this.buf.push(s+";")}if(!this["visit"+t.type]){var n;switch(n=i?"A child of "+i.type:"A top-level node",n+=" ("+(t.filename||"Pug")+":"+t.line+") is of type "+t.type+", which is not supported by pug-code-gen.",t.type){case"Filter":n+=" Please use pug-filters to preprocess this AST.";break;case"Extends":case"Include":case"NamedBlock":case"FileReference":n+=" Please use pug-linker to preprocess this AST."}throw new TypeError(n)}this.visitNode(t)},visitNode:function(t){return this["visit"+t.type](t)},visitCase:function(t){this.buf.push("switch ("+t.expr+"){"),this.visit(t.block,t),this.buf.push("}")},visitWhen:function(t){"default"==t.expr?this.buf.push("default:"):this.buf.push("case "+t.expr+":"),t.block&&(this.visit(t.block,t),this.buf.push("  break;"))},visitLiteral:function(t){this.buffer(t.str)},visitNamedBlock:function(t){return this.visitBlock(t)},visitBlock:function(t){var i=this.escapePrettyMode,e=this.pp;e&&t.nodes.length>1&&!i&&"Text"===t.nodes[0].type&&"Text"===t.nodes[1].type&&this.prettyIndent(1,!0);for(var s=0;s<t.nodes.length;++s)e&&s>0&&!i&&"Text"===t.nodes[s].type&&"Text"===t.nodes[s-1].type&&/\n$/.test(t.nodes[s-1].val)&&this.prettyIndent(1,!1),this.visit(t.nodes[s],t)},visitMixinBlock:function(t){this.pp&&this.buf.push("pug_indent.push('"+Array(this.indents+1).join(this.pp)+"');"),this.buf.push("block && block();"),this.pp&&this.buf.push("pug_indent.pop();")},visitDoctype:function(t){!t||!t.val&&this.doctype||this.setDoctype(t.val||"html"),this.doctype&&this.buffer(this.doctype),this.hasCompiledDoctype=!0},visitMixin:function(t){var i="pug_mixins[",e=t.args||"",s=t.block,n=t.attrs,u=this.attributeBlocks(t.attributeBlocks),h=this.pp,r="#"===t.name[0],o=t.name;if(r&&(this.dynamicMixins=!0),i+=(r?t.name.substr(2,t.name.length-3):'"'+t.name+'"')+"]",this.mixins[o]=this.mixins[o]||{used:!1,instances:[]},t.call){if(this.mixins[o].used=!0,h&&this.buf.push("pug_indent.push('"+Array(this.indents+1).join(h)+"');"),s||n.length||u.length){if(this.buf.push(i+".call({"),s){this.buf.push("block: function(){"),this.parentIndents++;var f=this.indents;this.indents=0,this.visit(t.block,t),this.indents=f,this.parentIndents--,n.length||u.length?this.buf.push("},"):this.buf.push("}")}if(u.length){if(n.length){var p=this.attrs(n);u.unshift(p)}u.length>1?this.buf.push("attributes: "+this.runtime("merge")+"(["+u.join(",")+"])"):this.buf.push("attributes: "+u[0])}else if(n.length){p=this.attrs(n);this.buf.push("attributes: "+p)}e?this.buf.push("}, "+e+");"):this.buf.push("});")}else this.buf.push(i+"("+e+");");h&&this.buf.push("pug_indent.pop();")}else{var l,a=this.buf.length;(e=e?e.split(","):[]).length&&/^\.\.\./.test(e[e.length-1].trim())&&(l=e.pop().trim().replace(/^\.\.\./,"")),this.buf.push(i+" = pug_interp = function("+e.join(",")+"){"),this.buf.push("var block = (this && this.block), attributes = (this && this.attributes) || {};"),l&&(this.buf.push("var "+l+" = [];"),this.buf.push("for (pug_interp = "+e.length+"; pug_interp < arguments.length; pug_interp++) {"),this.buf.push("  "+l+".push(arguments[pug_interp]);"),this.buf.push("}")),this.parentIndents++,this.visit(s,t),this.parentIndents--,this.buf.push("};");var c=this.buf.length;this.mixins[o].instances.push({start:a,end:c})}},visitTag:function(t,i){this.indents++;var e=t.name,s=this.pp,n=this;function h(){i?n.bufferExpression(t.expr):n.buffer(e)}!0===f[t.name]&&(this.escapePrettyMode=!0),this.hasCompiledTag||(this.hasCompiledDoctype||"html"!=e||this.visitDoctype(),this.hasCompiledTag=!0),s&&!t.isInline&&this.prettyIndent(0,!0),t.selfClosing||!this.xml&&u[t.name]?(this.buffer("<"),h(),this.visitAttributes(t.attrs,this.attributeBlocks(t.attributeBlocks)),this.terse&&!t.selfClosing?this.buffer(">"):this.buffer("/>"),(t.code||t.block&&("Block"!==t.block.type||0!==t.block.nodes.length)&&t.block.nodes.some(function(t){return"Text"!==t.type||!/^\s*$/.test(t.val)}))&&this.error(e+" is a self closing element: <"+e+"/> but contains nested content.","SELF_CLOSING_CONTENT",t)):(this.buffer("<"),h(),this.visitAttributes(t.attrs,this.attributeBlocks(t.attributeBlocks)),this.buffer(">"),t.code&&this.visitCode(t.code),this.visit(t.block,t),!s||t.isInline||!0===f[t.name]||d(t)||this.prettyIndent(0,!0),this.buffer("</"),h(),this.buffer(">")),!0===f[t.name]&&(this.escapePrettyMode=!1),this.indents--},visitInterpolatedTag:function(t){return this.visitTag(t,!0)},visitText:function(t){this.buffer(t.val)},visitComment:function(t){t.buffer&&(this.pp&&this.prettyIndent(1,!0),this.buffer("\x3c!--"+t.val+"--\x3e"))},visitYieldBlock:function(t){},visitBlockComment:function(t){t.buffer&&(this.pp&&this.prettyIndent(1,!0),this.buffer("\x3c!--"+(t.val||"")),this.visit(t.block,t),this.pp&&this.prettyIndent(1,!0),this.buffer("--\x3e"))},visitCode:function(t){if(t.buffer){var i=t.val.trim();i="null == (pug_interp = "+i+') ? "" : pug_interp',!1!==t.mustEscape&&(i=this.runtime("escape")+"("+i+")"),this.bufferExpression(i)}else this.buf.push(t.val);t.block&&(t.buffer||this.buf.push("{"),this.visit(t.block,t),t.buffer||this.buf.push("}"))},visitConditional:function(t){var i=t.test;this.buf.push("if ("+i+") {"),this.visit(t.consequent,t),this.buf.push("}"),t.alternate&&("Conditional"===t.alternate.type?(this.buf.push("else"),this.visitConditional(t.alternate)):(this.buf.push("else {"),this.visit(t.alternate,t),this.buf.push("}")))},visitWhile:function(t){var i=t.test;this.buf.push("while ("+i+") {"),this.visit(t.block,t),this.buf.push("}")},visitEach:function(t){var i=t.key||"pug_index"+this.eachCount;this.eachCount++,this.buf.push("// iterate "+t.obj+"\n;(function(){\n  var $$obj = "+t.obj+";\n  if ('number' == typeof $$obj.length) {"),t.alternate&&this.buf.push("    if ($$obj.length) {"),this.buf.push("      for (var "+i+" = 0, $$l = $$obj.length; "+i+" < $$l; "+i+"++) {\n        var "+t.val+" = $$obj["+i+"];"),this.visit(t.block,t),this.buf.push("      }"),t.alternate&&(this.buf.push("    } else {"),this.visit(t.alternate,t),this.buf.push("    }")),this.buf.push("  } else {\n    var $$l = 0;\n    for (var "+i+" in $$obj) {\n      $$l++;\n      var "+t.val+" = $$obj["+i+"];"),this.visit(t.block,t),this.buf.push("    }"),t.alternate&&(this.buf.push("    if ($$l === 0) {"),this.visit(t.alternate,t),this.buf.push("    }")),this.buf.push("  }\n}).call(this);\n")},visitEachOf:function(t){this.buf.push("// iterate "+t.obj+"\nfor (const "+t.val+" of "+t.obj+") {\n"),this.visit(t.block,t),this.buf.push("}\n")},visitAttributes:function(t,i){if(i.length){if(t.length){var e=this.attrs(t);i.unshift(e)}i.length>1?this.bufferExpression(this.runtime("attrs")+"("+this.runtime("merge")+"(["+i.join(",")+"]), "+r(this.terse)+")"):this.bufferExpression(this.runtime("attrs")+"("+i[0]+", "+r(this.terse)+")")}else t.length&&this.attrs(t,!0)},attrs:function(t,i){var e=n(t,{terse:this.terse,format:i?"html":"object",runtime:this.runtime.bind(this)});return i&&this.bufferExpression(e),e},attributeBlocks:function(t){return t&&t.slice().map(function(t){return t.val})}};
  },{"doctypes":"no2P","pug-error":"eq22","pug-runtime/build":"tLNy","pug-runtime":"mWEc","pug-attrs":"aeV3","void-elements":"xPr9","constantinople":"tcFq","js-stringify":"pWFu","with":"AGV2"}],"PFRc":[function(require,module,exports) {
  var e=require("./");function r(r,n){return n=n||"template",Function("pug",r+"\nreturn "+n+";")(e)}module.exports=r;
  },{"./":"mWEc"}],"icog":[function(require,module,exports) {
  "use strict";var e=require("fs"),r=require("path"),n=require("pug-lexer"),t=require("pug-strip-comments"),i=require("pug-parser"),o=require("pug-load"),l=require("pug-filters"),u=require("pug-linker"),p=require("pug-code-gen"),s=require("pug-runtime"),c=require("pug-runtime/wrap");function a(e,r,n,t){return n.reduce(function(e,n){return n[t]?n[t](e,r):e},e)}function f(e,r){var n=e.filter(function(e){return e[r]});if(n.length>1)throw new Error("Two or more plugins all implement "+r+" method.");return n.length?n[0][r].bind(n[0]):null}function m(e,s){var c={};c[s.filename]=e;var m=[],d=s.plugins||[],g=o.string(e,{filename:s.filename,basedir:s.basedir,lex:function(e,r){var t={};Object.keys(r).forEach(function(e){t[e]=r[e]}),t.plugins=d.filter(function(e){return!!e.lex}).map(function(e){return e.lex});var i=a(e,{filename:r.filename},d,"preLex");return a(n(i,t),r,d,"postLex")},parse:function(e,n){e=e.map(function(e){return"path"===e.type&&""===r.extname(e.val)?{type:"path",loc:e.loc,val:e.val+".pug"}:e}),e=a(e=t(e,n),n,d,"preParse");var o={};return Object.keys(n).forEach(function(e){o[e]=n[e]}),o.plugins=d.filter(function(e){return!!e.parse}).map(function(e){return e.parse}),a(a(i(e,o),n,d,"postParse"),n,d,"preLoad")},resolve:function(e,r,n){var t=f(d,"resolve");return t?t(e,r,s):o.resolve(e,r,n)},read:function(e,r){var n;m.push(e);var t=f(d,"read");return n=t?t(e,s):o.read(e,r),c[e]=n,n}});g=a(g,s,d,"postLoad"),g=a(g,s,d,"preFilters");var b={};Object.keys(exports.filters).forEach(function(e){b[e]=exports.filters[e]}),s.filters&&Object.keys(s.filters).forEach(function(e){b[e]=s.filters[e]}),g=a(g=l.handleFilters(g,b,s.filterOptions,s.filterAliases),s,d,"postFilters"),g=a(g,s,d,"preLink"),g=a(g=u(g),s,d,"postLink"),g=a(g,s,d,"preCodeGen");var x=(f(d,"generateCode")||p)(g,{pretty:s.pretty,compileDebug:s.compileDebug,doctype:s.doctype,inlineRuntimeFunctions:s.inlineRuntimeFunctions,globals:s.globals,self:s.self,includeSources:!!s.includeSources&&c,templateName:s.templateName});return x=a(x,s,d,"postCodeGen"),s.debug&&console.error("\nCompiled Function:\n\n[90m%s[0m",x.replace(/^/gm,"  ")),{body:x,dependencies:m}}function d(r,n){var t=r.filename;if(r.cache&&exports.cache[t])return exports.cache[t];void 0===n&&(n=e.readFileSync(r.filename,"utf8"));var i=exports.compile(n,r);return r.cache&&(exports.cache[t]=i),i}exports.name="Pug",exports.runtime=s,exports.cache={},exports.filters={},exports.compile=function(e,r){r=r||{};var n=m(e=String(e),{compileDebug:!1!==r.compileDebug,filename:r.filename,basedir:r.basedir,pretty:r.pretty,doctype:r.doctype,inlineRuntimeFunctions:r.inlineRuntimeFunctions,globals:r.globals,self:r.self,includeSources:!0===r.compileDebug,debug:r.debug,templateName:"template",filters:r.filters,filterOptions:r.filterOptions,filterAliases:r.filterAliases,plugins:r.plugins}),t=r.inlineRuntimeFunctions?new Function("",n.body+";return template;")():c(n.body);return t.dependencies=n.dependencies,t},exports.compileClientWithDependenciesTracked=function(e,r){r=r||{};var n=m(e=String(e),{compileDebug:r.compileDebug,filename:r.filename,basedir:r.basedir,pretty:r.pretty,doctype:r.doctype,inlineRuntimeFunctions:!1!==r.inlineRuntimeFunctions,globals:r.globals,self:r.self,includeSources:r.compileDebug,debug:r.debug,templateName:r.name||"template",filters:r.filters,filterOptions:r.filterOptions,filterAliases:r.filterAliases,plugins:r.plugins}),t=n.body;return r.module&&(!1===r.inlineRuntimeFunctions&&(t='var pug = require("pug-runtime");'+t),t+=" module.exports = "+(r.name||"template")+";"),{body:t,dependencies:n.dependencies}},exports.compileClient=function(e,r){return exports.compileClientWithDependenciesTracked(e,r).body},exports.compileFile=function(e,r){return(r=r||{}).filename=e,d(r)},exports.render=function(e,r,n){if("function"==typeof r&&(n=r,r=void 0),"function"==typeof n){var t;try{t=exports.render(e,r)}catch(i){return n(i)}return n(null,t)}if((r=r||{}).cache&&!r.filename)throw new Error('the "filename" option is required for caching');return d(r,e)(r)},exports.renderFile=function(e,r,n){if("function"==typeof r&&(n=r,r=void 0),"function"==typeof n){var t;try{t=exports.renderFile(e,r)}catch(i){return n(i)}return n(null,t)}return(r=r||{}).filename=e,d(r)(r)},exports.compileFileClient=function(r,n){var t=r+":client";if((n=n||{}).filename=r,n.cache&&exports.cache[t])return exports.cache[t];var i=e.readFileSync(n.filename,"utf8"),o=exports.compileClient(i,n);return n.cache&&(exports.cache[t]=o),o},exports.__express=function(e,r,n){null==r.compileDebug&&(r.compileDebug=!1),exports.renderFile(e,r,n)};
  },{"fs":"rDCW","path":"UUq2","pug-lexer":"tw29","pug-strip-comments":"c0O5","pug-parser":"GXBg","pug-load":"tlUP","pug-filters":"oONa","pug-linker":"ygNA","pug-code-gen":"RNFs","pug-runtime":"mWEc","pug-runtime/wrap":"PFRc"}],"Focm":[function(require,module,exports) {
  var e=require("pug"),t=e.compileClientWithDependenciesTracked,n=["January","February","March","April","May","June","July","August","September","October","November","December"],a=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];function c(){var e=new Date;today.innerHTML="".concat(a[e.getDay()]," ").concat(e.getDate(),", ").concat(n[e.getMonth()]," ").concat(e.getFullYear()),setTimeout(function(){c()},1e3)}function o(){var e=new Date,t=e.getHours(),n=e.getMinutes();t<10&&(t="0".concat(t)),n<10&&(n="0".concat(n)),clock.innerHTML="".concat(t,":").concat(n),setTimeout(function(){o()},1e3)}o(),c();
  },{"pug":"icog"}]},{},["Focm"], null)
  //# sourceMappingURL=/src.e504bf55.js.map