prettier 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +23 -1
  3. data/dist/haml/parser.rb +6 -0
  4. data/dist/parser/getInfo.js +9 -2
  5. data/dist/parser/server.rb +6 -2
  6. data/dist/rbs/parser.rb +59 -2
  7. data/dist/rbs/printer.js +14 -6
  8. data/dist/ruby/embed.js +10 -5
  9. data/dist/ruby/location.js +19 -0
  10. data/dist/ruby/nodes/alias.js +6 -5
  11. data/dist/ruby/nodes/aref.js +4 -6
  12. data/dist/ruby/nodes/args.js +29 -56
  13. data/dist/ruby/nodes/arrays.js +31 -35
  14. data/dist/ruby/nodes/assign.js +19 -23
  15. data/dist/ruby/nodes/blocks.js +18 -15
  16. data/dist/ruby/nodes/calls.js +33 -30
  17. data/dist/ruby/nodes/case.js +8 -8
  18. data/dist/ruby/nodes/class.js +13 -13
  19. data/dist/ruby/nodes/commands.js +36 -22
  20. data/dist/ruby/nodes/conditionals.js +56 -52
  21. data/dist/ruby/nodes/constants.js +10 -13
  22. data/dist/ruby/nodes/flow.js +39 -46
  23. data/dist/ruby/nodes/hashes.js +26 -30
  24. data/dist/ruby/nodes/heredocs.js +9 -9
  25. data/dist/ruby/nodes/hooks.js +2 -2
  26. data/dist/ruby/nodes/ints.js +5 -5
  27. data/dist/ruby/nodes/lambdas.js +7 -6
  28. data/dist/ruby/nodes/loops.js +26 -24
  29. data/dist/ruby/nodes/massign.js +22 -35
  30. data/dist/ruby/nodes/methods.js +20 -40
  31. data/dist/ruby/nodes/operators.js +26 -28
  32. data/dist/ruby/nodes/params.js +31 -25
  33. data/dist/ruby/nodes/patterns.js +34 -37
  34. data/dist/ruby/nodes/regexp.js +6 -6
  35. data/dist/ruby/nodes/rescue.js +23 -22
  36. data/dist/ruby/nodes/return.js +61 -36
  37. data/dist/ruby/nodes/statements.js +24 -25
  38. data/dist/ruby/nodes/strings.js +36 -34
  39. data/dist/ruby/nodes/super.js +6 -10
  40. data/dist/ruby/nodes/undef.js +19 -14
  41. data/dist/ruby/nodes.js +47 -21
  42. data/dist/ruby/parser.js +3 -2
  43. data/dist/ruby/parser.rb +8470 -2972
  44. data/dist/ruby/printer.js +9 -71
  45. data/dist/ruby/toProc.js +33 -35
  46. data/dist/types.js +5 -1
  47. data/dist/utils/containsAssignment.js +5 -2
  48. data/dist/utils/getChildNodes.js +305 -0
  49. data/dist/utils/inlineEnsureParens.js +1 -1
  50. data/dist/utils/isEmptyBodyStmt.js +1 -1
  51. data/dist/utils/isEmptyParams.js +12 -0
  52. data/dist/utils/isEmptyStmts.js +1 -1
  53. data/dist/utils/makeCall.js +5 -4
  54. data/dist/utils/printEmptyCollection.js +3 -1
  55. data/dist/utils/skipAssignIndent.js +6 -2
  56. data/dist/utils.js +5 -3
  57. data/lib/prettier.rb +2 -1
  58. data/node_modules/prettier/bin-prettier.js +48 -18924
  59. data/node_modules/prettier/cli.js +12335 -0
  60. data/node_modules/prettier/doc.js +1306 -4755
  61. data/node_modules/prettier/index.js +37468 -57614
  62. data/node_modules/prettier/package.json +3 -2
  63. data/node_modules/prettier/parser-angular.js +2 -66
  64. data/node_modules/prettier/parser-babel.js +27 -22
  65. data/node_modules/prettier/parser-espree.js +26 -22
  66. data/node_modules/prettier/parser-flow.js +26 -22
  67. data/node_modules/prettier/parser-glimmer.js +27 -1
  68. data/node_modules/prettier/parser-graphql.js +15 -1
  69. data/node_modules/prettier/parser-html.js +21 -117
  70. data/node_modules/prettier/parser-markdown.js +61 -19
  71. data/node_modules/prettier/parser-meriyah.js +19 -22
  72. data/node_modules/prettier/parser-postcss.js +76 -22
  73. data/node_modules/prettier/parser-typescript.js +280 -22
  74. data/node_modules/prettier/parser-yaml.js +150 -15
  75. data/node_modules/prettier/third-party.js +8660 -11030
  76. data/package.json +7 -7
  77. metadata +7 -3
@@ -1,22 +1,26 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):((e="undefined"!=typeof globalThis?globalThis:e||self).prettierPlugins=e.prettierPlugins||{},e.prettierPlugins.espree=t())}(this,(function(){"use strict";var e=function(e,t){const i=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return i.loc=t,i};var t,i=function(...e){let t;for(const[i,r]of e.entries())try{return{result:r()}}catch(e){0===i&&(t=e)}return{error:t}},r=void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function u(){if(void 0===t){var e=new ArrayBuffer(2),i=new Uint8Array(e),r=new Uint16Array(e);if(i[0]=1,i[1]=2,258===r[0])t="BE";else{if(513!==r[0])throw new Error("unable to figure out endianess");t="LE"}}return t}function n(){return void 0!==r.location?r.location.hostname:""}function s(){return[]}function a(){return 0}function o(){return Number.MAX_VALUE}function c(){return Number.MAX_VALUE}function p(){return[]}function D(){return"Browser"}function h(){return void 0!==r.navigator?r.navigator.appVersion:""}function l(){}function f(){}function d(){return"javascript"}function E(){return"browser"}function m(){return"/tmp"}var C=m,A={EOL:"\n",arch:d,platform:E,tmpdir:C,tmpDir:m,networkInterfaces:l,getNetworkInterfaces:f,release:h,type:D,cpus:p,totalmem:c,freemem:o,uptime:a,loadavg:s,hostname:n,endianness:u},F=Object.freeze({__proto__:null,endianness:u,hostname:n,loadavg:s,uptime:a,freemem:o,totalmem:c,cpus:p,type:D,release:h,networkInterfaces:l,getNetworkInterfaces:f,arch:d,platform:E,tmpDir:m,tmpdir:C,EOL:"\n",default:A});const g=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");const t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;const i=t.filter((e=>"\r\n"===e)).length;return i>t.length-i?"\r\n":"\n"};var y=g;y.graceful=e=>"string"==typeof e&&g(e)||"\n";var x="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function B(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function v(e){var t={exports:{}};return e(t,t.exports),t.exports}var b=B(F),S=function(e){const t=e.match(O);return t?t[0].trimLeft():""},w=function(e){const t=e.match(O);return t&&t[0]?e.substring(t[0].length):e},T=function(e){return X(e).pragmas},k=X,I=function({comments:e="",pragmas:t={}}){const i=(0,_().default)(e)||N().EOL,r=" *",u=Object.keys(t),n=u.map((e=>q(e,t[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>" * "+e+i)).join("");if(!e){if(0===u.length)return"";if(1===u.length&&!Array.isArray(t[u[0]])){const e=t[u[0]];return`/** ${q(u[0],e)[0]} */`}}const s=e.split(i).map((e=>` * ${e}`)).join(i)+i;return"/**"+i+(e?s:"")+(e&&u.length?r+i:"")+n+" */"};function N(){const e=b;return N=function(){return e},e}function _(){const e=(t=y)&&t.__esModule?t:{default:t};var t;return _=function(){return e},e}const L=/\*\/$/,P=/^\/\*\*/,O=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,R=/(^|\s+)\/\/([^\r\n]*)/g,j=/^(\r?\n)+/,V=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,M=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,U=/(\r?\n|^) *\* ?/g,$=[];function X(e){const t=(0,_().default)(e)||N().EOL;e=e.replace(P,"").replace(L,"").replace(U,"$1");let i="";for(;i!==e;)i=e,e=e.replace(V,`${t}$1 $2${t}`);e=e.replace(j,"").trimRight();const r=Object.create(null),u=e.replace(M,"").replace(j,"").trimRight();let n;for(;n=M.exec(e);){const e=n[2].replace(R,"");"string"==typeof r[n[1]]||Array.isArray(r[n[1]])?r[n[1]]=$.concat(r[n[1]],e):r[n[1]]=e}return{comments:u,pragmas:r}}function q(e,t){return $.concat(t).map((t=>`@${e} ${t}`.trim()))}var G=Object.defineProperty({extract:S,strip:w,parse:T,parseWithComments:k,print:I},"__esModule",{value:!0}),W=e=>"string"==typeof e?e.replace((({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")})(),""):e;const J=e=>!Number.isNaN(e)&&(e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141));var z=J,H=J;z.default=H;const K=e=>{if("string"!=typeof e||0===e.length)return 0;if(0===(e=W(e)).length)return 0;e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," ");let t=0;for(let i=0;i<e.length;i++){const r=e.codePointAt(i);r<=31||r>=127&&r<=159||(r>=768&&r<=879||(r>65535&&i++,t+=z(r)?2:1))}return t};var Y=K,Q=K;Y.default=Q;var Z=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")};var ee=e=>e[e.length-1];function te(e,t){if(null==e)return{};var i,r,u=function(e,t){if(null==e)return{};var i,r,u={},n=Object.keys(e);for(r=0;r<n.length;r++)i=n[r],t.indexOf(i)>=0||(u[i]=e[i]);return u}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)i=n[r],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(u[i]=e[i])}return u}var ie,re,ue=function(e){return e&&e.Math==Math&&e},ne=ue("object"==typeof globalThis&&globalThis)||ue("object"==typeof window&&window)||ue("object"==typeof self&&self)||ue("object"==typeof x&&x)||function(){return this}()||Function("return this")(),se=function(e){try{return!!e()}catch(e){return!0}},ae=!se((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),oe={}.propertyIsEnumerable,ce=Object.getOwnPropertyDescriptor,pe={f:ce&&!oe.call({1:2},1)?function(e){var t=ce(this,e);return!!t&&t.enumerable}:oe},De=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},he={}.toString,le=function(e){return he.call(e).slice(8,-1)},fe="".split,de=se((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==le(e)?fe.call(e,""):Object(e)}:Object,Ee=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},me=function(e){return de(Ee(e))},Ce=function(e){return"object"==typeof e?null!==e:"function"==typeof e},Ae=function(e){return"function"==typeof e?e:void 0},Fe=function(e,t){return arguments.length<2?Ae(ne[e]):ne[e]&&ne[e][t]},ge=Fe("navigator","userAgent")||"",ye=ne.process,xe=ne.Deno,Be=ye&&ye.versions||xe&&xe.version,ve=Be&&Be.v8;ve?re=(ie=ve.split("."))[0]<4?1:ie[0]+ie[1]:ge&&(!(ie=ge.match(/Edge\/(\d+)/))||ie[1]>=74)&&(ie=ge.match(/Chrome\/(\d+)/))&&(re=ie[1]);var be=re&&+re,Se=!!Object.getOwnPropertySymbols&&!se((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&be&&be<41})),we=Se&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Te=we?function(e){return"symbol"==typeof e}:function(e){var t=Fe("Symbol");return"function"==typeof t&&Object(e)instanceof t},ke=function(e,t){try{Object.defineProperty(ne,e,{value:t,configurable:!0,writable:!0})}catch(i){ne[e]=t}return t},Ie="__core-js_shared__",Ne=ne[Ie]||ke(Ie,{}),_e=v((function(e){(e.exports=function(e,t){return Ne[e]||(Ne[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.17.3",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})})),Le=function(e){return Object(Ee(e))},Pe={}.hasOwnProperty,Oe=Object.hasOwn||function(e,t){return Pe.call(Le(e),t)},Re=0,je=Math.random(),Ve=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++Re+je).toString(36)},Me=_e("wks"),Ue=ne.Symbol,$e=we?Ue:Ue&&Ue.withoutSetter||Ve,Xe=function(e){return Oe(Me,e)&&(Se||"string"==typeof Me[e])||(Se&&Oe(Ue,e)?Me[e]=Ue[e]:Me[e]=$e("Symbol."+e)),Me[e]},qe=Xe("toPrimitive"),Ge=function(e,t){if(!Ce(e)||Te(e))return e;var i,r=e[qe];if(void 0!==r){if(void 0===t&&(t="default"),i=r.call(e,t),!Ce(i)||Te(i))return i;throw TypeError("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var i,r;if("string"===t&&"function"==typeof(i=e.toString)&&!Ce(r=i.call(e)))return r;if("function"==typeof(i=e.valueOf)&&!Ce(r=i.call(e)))return r;if("string"!==t&&"function"==typeof(i=e.toString)&&!Ce(r=i.call(e)))return r;throw TypeError("Can't convert object to primitive value")}(e,t)},We=function(e){var t=Ge(e,"string");return Te(t)?t:String(t)},Je=ne.document,ze=Ce(Je)&&Ce(Je.createElement),He=!ae&&!se((function(){return 7!=Object.defineProperty((e="div",ze?Je.createElement(e):{}),"a",{get:function(){return 7}}).a;var e})),Ke=Object.getOwnPropertyDescriptor,Ye={f:ae?Ke:function(e,t){if(e=me(e),t=We(t),He)try{return Ke(e,t)}catch(e){}if(Oe(e,t))return De(!pe.f.call(e,t),e[t])}},Qe=function(e){if(!Ce(e))throw TypeError(String(e)+" is not an object");return e},Ze=Object.defineProperty,et={f:ae?Ze:function(e,t,i){if(Qe(e),t=We(t),Qe(i),He)try{return Ze(e,t,i)}catch(e){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(e[t]=i.value),e}},tt=ae?function(e,t,i){return et.f(e,t,De(1,i))}:function(e,t,i){return e[t]=i,e},it=Function.toString;"function"!=typeof Ne.inspectSource&&(Ne.inspectSource=function(e){return it.call(e)});var rt,ut,nt,st,at=Ne.inspectSource,ot=ne.WeakMap,ct="function"==typeof ot&&/native code/.test(at(ot)),pt=_e("keys"),Dt={},ht="Object already initialized",lt=ne.WeakMap;if(ct||Ne.state){var ft=Ne.state||(Ne.state=new lt),dt=ft.get,Et=ft.has,mt=ft.set;rt=function(e,t){if(Et.call(ft,e))throw new TypeError(ht);return t.facade=e,mt.call(ft,e,t),t},ut=function(e){return dt.call(ft,e)||{}},nt=function(e){return Et.call(ft,e)}}else{var Ct=pt[st="state"]||(pt[st]=Ve(st));Dt[Ct]=!0,rt=function(e,t){if(Oe(e,Ct))throw new TypeError(ht);return t.facade=e,tt(e,Ct,t),t},ut=function(e){return Oe(e,Ct)?e[Ct]:{}},nt=function(e){return Oe(e,Ct)}}var At={set:rt,get:ut,has:nt,enforce:function(e){return nt(e)?ut(e):rt(e,{})},getterFor:function(e){return function(t){var i;if(!Ce(t)||(i=ut(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return i}}},Ft=v((function(e){var t=At.get,i=At.enforce,r=String(String).split("String");(e.exports=function(e,t,u,n){var s,a=!!n&&!!n.unsafe,o=!!n&&!!n.enumerable,c=!!n&&!!n.noTargetGet;"function"==typeof u&&("string"!=typeof t||Oe(u,"name")||tt(u,"name",t),(s=i(u)).source||(s.source=r.join("string"==typeof t?t:""))),e!==ne?(a?!c&&e[t]&&(o=!0):delete e[t],o?e[t]=u:tt(e,t,u)):o?e[t]=u:ke(t,u)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||at(this)}))})),gt=Math.ceil,yt=Math.floor,xt=function(e){return isNaN(e=+e)?0:(e>0?yt:gt)(e)},Bt=Math.min,vt=function(e){return e>0?Bt(xt(e),9007199254740991):0},bt=Math.max,St=Math.min,wt=function(e){return function(t,i,r){var u,n=me(t),s=vt(n.length),a=function(e,t){var i=xt(e);return i<0?bt(i+t,0):St(i,t)}(r,s);if(e&&i!=i){for(;s>a;)if((u=n[a++])!=u)return!0}else for(;s>a;a++)if((e||a in n)&&n[a]===i)return e||a||0;return!e&&-1}},Tt={includes:wt(!0),indexOf:wt(!1)}.indexOf,kt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),It={f:Object.getOwnPropertyNames||function(e){return function(e,t){var i,r=me(e),u=0,n=[];for(i in r)!Oe(Dt,i)&&Oe(r,i)&&n.push(i);for(;t.length>u;)Oe(r,i=t[u++])&&(~Tt(n,i)||n.push(i));return n}(e,kt)}},Nt={f:Object.getOwnPropertySymbols},_t=Fe("Reflect","ownKeys")||function(e){var t=It.f(Qe(e)),i=Nt.f;return i?t.concat(i(e)):t},Lt=function(e,t){for(var i=_t(t),r=et.f,u=Ye.f,n=0;n<i.length;n++){var s=i[n];Oe(e,s)||r(e,s,u(t,s))}},Pt=/#|\.prototype\./,Ot=function(e,t){var i=jt[Rt(e)];return i==Mt||i!=Vt&&("function"==typeof t?se(t):!!t)},Rt=Ot.normalize=function(e){return String(e).replace(Pt,".").toLowerCase()},jt=Ot.data={},Vt=Ot.NATIVE="N",Mt=Ot.POLYFILL="P",Ut=Ot,$t=Ye.f,Xt=function(e,t){var i,r,u,n,s,a=e.target,o=e.global,c=e.stat;if(i=o?ne:c?ne[a]||ke(a,{}):(ne[a]||{}).prototype)for(r in t){if(n=t[r],u=e.noTargetGet?(s=$t(i,r))&&s.value:i[r],!Ut(o?r:a+(c?".":"#")+r,e.forced)&&void 0!==u){if(typeof n==typeof u)continue;Lt(n,u)}(e.sham||u&&u.sham)&&tt(n,"sham",!0),Ft(i,r,n,e)}},qt=Array.isArray||function(e){return"Array"==le(e)},Gt=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Wt=function(e,t,i){if(Gt(e),void 0===t)return e;switch(i){case 0:return function(){return e.call(t)};case 1:return function(i){return e.call(t,i)};case 2:return function(i,r){return e.call(t,i,r)};case 3:return function(i,r,u){return e.call(t,i,r,u)}}return function(){return e.apply(t,arguments)}},Jt=function(e,t,i,r,u,n,s,a){for(var o,c=u,p=0,D=!!s&&Wt(s,a,3);p<r;){if(p in i){if(o=D?D(i[p],p,t):i[p],n>0&&qt(o))c=Jt(e,t,o,vt(o.length),c,n-1)-1;else{if(c>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[c]=o}c++}p++}return c},zt=Jt,Ht=Xe("species"),Kt=function(e,t){return new(function(e){var t;return qt(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!qt(t.prototype)?Ce(t)&&null===(t=t[Ht])&&(t=void 0):t=void 0),void 0===t?Array:t}(e))(0===t?0:t)};Xt({target:"Array",proto:!0},{flatMap:function(e){var t,i=Le(this),r=vt(i.length);return Gt(e),(t=Kt(i,0)).length=zt(t,i,i,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}});var Yt,Qt,Zt=function(e){if(Te(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)},ei=Math.floor,ti=function(e,t){var i=e.length,r=ei(i/2);return i<8?ii(e,t):ri(ti(e.slice(0,r),t),ti(e.slice(r),t),t)},ii=function(e,t){for(var i,r,u=e.length,n=1;n<u;){for(r=n,i=e[n];r&&t(e[r-1],i)>0;)e[r]=e[--r];r!==n++&&(e[r]=i)}return e},ri=function(e,t,i){for(var r=e.length,u=t.length,n=0,s=0,a=[];n<r||s<u;)n<r&&s<u?a.push(i(e[n],t[s])<=0?e[n++]:t[s++]):a.push(n<r?e[n++]:t[s++]);return a},ui=ti,ni=ge.match(/firefox\/(\d+)/i),si=!!ni&&+ni[1],ai=/MSIE|Trident/.test(ge),oi=ge.match(/AppleWebKit\/(\d+)\./),ci=!!oi&&+oi[1],pi=[],Di=pi.sort,hi=se((function(){pi.sort(void 0)})),li=se((function(){pi.sort(null)})),fi=!!(Qt=[]["sort"])&&se((function(){Qt.call(null,Yt||function(){throw 1},1)})),di=!se((function(){if(be)return be<70;if(!(si&&si>3)){if(ai)return!0;if(ci)return ci<603;var e,t,i,r,u="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:i=3;break;case 68:case 71:i=4;break;default:i=2}for(r=0;r<47;r++)pi.push({k:t+r,v:i})}for(pi.sort((function(e,t){return t.v-e.v})),r=0;r<pi.length;r++)t=pi[r].k.charAt(0),u.charAt(u.length-1)!==t&&(u+=t);return"DGBEFHACIJK"!==u}}));Xt({target:"Array",proto:!0,forced:hi||!li||!fi||!di},{sort:function(e){void 0!==e&&Gt(e);var t=Le(this);if(di)return void 0===e?Di.call(t):Di.call(t,e);var i,r,u=[],n=vt(t.length);for(r=0;r<n;r++)r in t&&u.push(t[r]);for(i=(u=ui(u,function(e){return function(t,i){return void 0===i?-1:void 0===t?1:void 0!==e?+e(t,i)||0:Zt(t)>Zt(i)?1:-1}}(e))).length,r=0;r<i;)t[r]=u[r++];for(;r<n;)delete t[r++];return t}});var Ei={},mi=Xe("iterator"),Ci=Array.prototype,Ai={};Ai[Xe("toStringTag")]="z";var Fi="[object z]"===String(Ai),gi=Xe("toStringTag"),yi="Arguments"==le(function(){return arguments}()),xi=Fi?le:function(e){var t,i,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),gi))?i:yi?le(t):"Object"==(r=le(t))&&"function"==typeof t.callee?"Arguments":r},Bi=Xe("iterator"),vi=function(e){if(null!=e)return e[Bi]||e["@@iterator"]||Ei[xi(e)]},bi=function(e,t,i){var r,u;Qe(e);try{if(void 0===(r=e.return)){if("throw"===t)throw i;return i}r=r.call(e)}catch(e){u=!0,r=e}if("throw"===t)throw i;if(u)throw r;return Qe(r),i},Si=function(e,t){this.stopped=e,this.result=t},wi=function(e,t,i){var r,u,n,s,a,o,c,p,D=i&&i.that,h=!(!i||!i.AS_ENTRIES),l=!(!i||!i.IS_ITERATOR),f=!(!i||!i.INTERRUPTED),d=Wt(t,D,1+h+f),E=function(e){return r&&bi(r,"normal",e),new Si(!0,e)},m=function(e){return h?(Qe(e),f?d(e[0],e[1],E):d(e[0],e[1])):f?d(e,E):d(e)};if(l)r=e;else{if("function"!=typeof(u=vi(e)))throw TypeError("Target is not iterable");if(void 0!==(p=u)&&(Ei.Array===p||Ci[mi]===p)){for(n=0,s=vt(e.length);s>n;n++)if((a=m(e[n]))&&a instanceof Si)return a;return new Si(!1)}r=function(e,t){var i=arguments.length<2?vi(e):t;if("function"!=typeof i)throw TypeError(String(e)+" is not iterable");return Qe(i.call(e))}(e,u)}for(o=r.next;!(c=o.call(r)).done;){try{a=m(c.value)}catch(e){bi(r,"throw",e)}if("object"==typeof a&&a&&a instanceof Si)return a}return new Si(!1)};function Ti(){throw new Error("setTimeout has not been defined")}function ki(){throw new Error("clearTimeout has not been defined")}Xt({target:"Object",stat:!0},{fromEntries:function(e){var t={};return wi(e,(function(e,i){!function(e,t,i){var r=We(t);r in e?et.f(e,r,De(0,i)):e[r]=i}(t,e,i)}),{AS_ENTRIES:!0}),t}});var Ii=Ti,Ni=ki;function _i(e){if(Ii===setTimeout)return setTimeout(e,0);if((Ii===Ti||!Ii)&&setTimeout)return Ii=setTimeout,setTimeout(e,0);try{return Ii(e,0)}catch(t){try{return Ii.call(null,e,0)}catch(t){return Ii.call(this,e,0)}}}"function"==typeof r.setTimeout&&(Ii=setTimeout),"function"==typeof r.clearTimeout&&(Ni=clearTimeout);var Li,Pi=[],Oi=!1,Ri=-1;function ji(){Oi&&Li&&(Oi=!1,Li.length?Pi=Li.concat(Pi):Ri=-1,Pi.length&&Vi())}function Vi(){if(!Oi){var e=_i(ji);Oi=!0;for(var t=Pi.length;t;){for(Li=Pi,Pi=[];++Ri<t;)Li&&Li[Ri].run();Ri=-1,t=Pi.length}Li=null,Oi=!1,function(e){if(Ni===clearTimeout)return clearTimeout(e);if((Ni===ki||!Ni)&&clearTimeout)return Ni=clearTimeout,clearTimeout(e);try{Ni(e)}catch(t){try{return Ni.call(null,e)}catch(t){return Ni.call(this,e)}}}(e)}}function Mi(e,t){this.fun=e,this.array=t}Mi.prototype.run=function(){this.fun.apply(null,this.array)};function Ui(){}var $i=Ui,Xi=Ui,qi=Ui,Gi=Ui,Wi=Ui,Ji=Ui,zi=Ui;var Hi=r.performance||{},Ki=Hi.now||Hi.mozNow||Hi.msNow||Hi.oNow||Hi.webkitNow||function(){return(new Date).getTime()};var Yi=new Date;var Qi={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)t[i-1]=arguments[i];Pi.push(new Mi(e,t)),1!==Pi.length||Oi||_i(Vi)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:$i,addListener:Xi,once:qi,off:Gi,removeListener:Wi,removeAllListeners:Ji,emit:zi,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*Ki.call(Hi),i=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(i-=e[0],(r-=e[1])<0&&(i--,r+=1e9)),[i,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-Yi)/1e3}};var Zi="object"==typeof Qi&&Qi.env&&Qi.env.NODE_DEBUG&&/\bsemver\b/i.test(Qi.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var er={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},tr=v((function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:i}=er,r=(t=e.exports={}).re=[],u=t.src=[],n=t.t={};let s=0;const a=(e,t,i)=>{const a=s++;Zi(a,t),n[e]=a,u[a]=t,r[a]=new RegExp(t,i?"g":void 0)};a("NUMERICIDENTIFIER","0|[1-9]\\d*"),a("NUMERICIDENTIFIERLOOSE","[0-9]+"),a("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),a("MAINVERSION",`(${u[n.NUMERICIDENTIFIER]})\\.(${u[n.NUMERICIDENTIFIER]})\\.(${u[n.NUMERICIDENTIFIER]})`),a("MAINVERSIONLOOSE",`(${u[n.NUMERICIDENTIFIERLOOSE]})\\.(${u[n.NUMERICIDENTIFIERLOOSE]})\\.(${u[n.NUMERICIDENTIFIERLOOSE]})`),a("PRERELEASEIDENTIFIER",`(?:${u[n.NUMERICIDENTIFIER]}|${u[n.NONNUMERICIDENTIFIER]})`),a("PRERELEASEIDENTIFIERLOOSE",`(?:${u[n.NUMERICIDENTIFIERLOOSE]}|${u[n.NONNUMERICIDENTIFIER]})`),a("PRERELEASE",`(?:-(${u[n.PRERELEASEIDENTIFIER]}(?:\\.${u[n.PRERELEASEIDENTIFIER]})*))`),a("PRERELEASELOOSE",`(?:-?(${u[n.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[n.PRERELEASEIDENTIFIERLOOSE]})*))`),a("BUILDIDENTIFIER","[0-9A-Za-z-]+"),a("BUILD",`(?:\\+(${u[n.BUILDIDENTIFIER]}(?:\\.${u[n.BUILDIDENTIFIER]})*))`),a("FULLPLAIN",`v?${u[n.MAINVERSION]}${u[n.PRERELEASE]}?${u[n.BUILD]}?`),a("FULL",`^${u[n.FULLPLAIN]}$`),a("LOOSEPLAIN",`[v=\\s]*${u[n.MAINVERSIONLOOSE]}${u[n.PRERELEASELOOSE]}?${u[n.BUILD]}?`),a("LOOSE",`^${u[n.LOOSEPLAIN]}$`),a("GTLT","((?:<|>)?=?)"),a("XRANGEIDENTIFIERLOOSE",`${u[n.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),a("XRANGEIDENTIFIER",`${u[n.NUMERICIDENTIFIER]}|x|X|\\*`),a("XRANGEPLAIN",`[v=\\s]*(${u[n.XRANGEIDENTIFIER]})(?:\\.(${u[n.XRANGEIDENTIFIER]})(?:\\.(${u[n.XRANGEIDENTIFIER]})(?:${u[n.PRERELEASE]})?${u[n.BUILD]}?)?)?`),a("XRANGEPLAINLOOSE",`[v=\\s]*(${u[n.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[n.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[n.XRANGEIDENTIFIERLOOSE]})(?:${u[n.PRERELEASELOOSE]})?${u[n.BUILD]}?)?)?`),a("XRANGE",`^${u[n.GTLT]}\\s*${u[n.XRANGEPLAIN]}$`),a("XRANGELOOSE",`^${u[n.GTLT]}\\s*${u[n.XRANGEPLAINLOOSE]}$`),a("COERCE",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?(?:$|[^\\d])`),a("COERCERTL",u[n.COERCE],!0),a("LONETILDE","(?:~>?)"),a("TILDETRIM",`(\\s*)${u[n.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",a("TILDE",`^${u[n.LONETILDE]}${u[n.XRANGEPLAIN]}$`),a("TILDELOOSE",`^${u[n.LONETILDE]}${u[n.XRANGEPLAINLOOSE]}$`),a("LONECARET","(?:\\^)"),a("CARETTRIM",`(\\s*)${u[n.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",a("CARET",`^${u[n.LONECARET]}${u[n.XRANGEPLAIN]}$`),a("CARETLOOSE",`^${u[n.LONECARET]}${u[n.XRANGEPLAINLOOSE]}$`),a("COMPARATORLOOSE",`^${u[n.GTLT]}\\s*(${u[n.LOOSEPLAIN]})$|^$`),a("COMPARATOR",`^${u[n.GTLT]}\\s*(${u[n.FULLPLAIN]})$|^$`),a("COMPARATORTRIM",`(\\s*)${u[n.GTLT]}\\s*(${u[n.LOOSEPLAIN]}|${u[n.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",a("HYPHENRANGE",`^\\s*(${u[n.XRANGEPLAIN]})\\s+-\\s+(${u[n.XRANGEPLAIN]})\\s*$`),a("HYPHENRANGELOOSE",`^\\s*(${u[n.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[n.XRANGEPLAINLOOSE]})\\s*$`),a("STAR","(<|>)?=?\\s*\\*"),a("GTE0","^\\s*>=\\s*0.0.0\\s*$"),a("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}));const ir=["includePrerelease","loose","rtl"];var rr=e=>e?"object"!=typeof e?{loose:!0}:ir.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{};const ur=/^[0-9]+$/,nr=(e,t)=>{const i=ur.test(e),r=ur.test(t);return i&&r&&(e=+e,t=+t),e===t?0:i&&!r?-1:r&&!i?1:e<t?-1:1};var sr={compareIdentifiers:nr,rcompareIdentifiers:(e,t)=>nr(t,e)};const{MAX_LENGTH:ar,MAX_SAFE_INTEGER:or}=er,{re:cr,t:pr}=tr,{compareIdentifiers:Dr}=sr;class hr{constructor(e,t){if(t=rr(t),e instanceof hr){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>ar)throw new TypeError(`version is longer than ${ar} characters`);Zi("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const i=e.trim().match(t.loose?cr[pr.LOOSE]:cr[pr.FULL]);if(!i)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>or||this.major<0)throw new TypeError("Invalid major version");if(this.minor>or||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>or||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<or)return t}return e})):this.prerelease=[],this.build=i[5]?i[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(Zi("SemVer.compare",this.version,this.options,e),!(e instanceof hr)){if("string"==typeof e&&e===this.version)return 0;e=new hr(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof hr||(e=new hr(e,this.options)),Dr(this.major,e.major)||Dr(this.minor,e.minor)||Dr(this.patch,e.patch)}comparePre(e){if(e instanceof hr||(e=new hr(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const i=this.prerelease[t],r=e.prerelease[t];if(Zi("prerelease compare",t,i,r),void 0===i&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===i)return-1;if(i!==r)return Dr(i,r)}while(++t)}compareBuild(e){e instanceof hr||(e=new hr(e,this.options));let t=0;do{const i=this.build[t],r=e.build[t];if(Zi("prerelease compare",t,i,r),void 0===i&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===i)return-1;if(i!==r)return Dr(i,r)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}var lr=hr;var fr=(e,t,i)=>new lr(e,i).compare(new lr(t,i));var dr=(e,t,i)=>fr(e,t,i)<0;var Er=(e,t,i)=>fr(e,t,i)>=0,mr=v((function(e,t){function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function r(){return"undefined"!=typeof WeakMap?new WeakMap:{add:i,delete:i,get:i,set:i,has:function(e){return!1}}}Object.defineProperty(t,"__esModule",{value:!0}),t.outdent=void 0;var u=Object.prototype.hasOwnProperty,n=function(e,t){return u.call(e,t)};function s(e,t){for(var i in t)n(t,i)&&(e[i]=t[i]);return e}var a=/^[ \t]*(?:\r\n|\r|\n)/,o=/(?:\r\n|\r|\n)[ \t]*$/,c=/^(?:[\r\n]|$)/,p=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,D=/^[ \t]*[\r\n][ \t\r\n]*$/;function h(e,t,i){var r=0,u=e[0].match(p);u&&(r=u[1].length);var n=new RegExp("(\\r\\n|\\r|\\n).{0,"+r+"}","g");t&&(e=e.slice(1));var s=i.newline,c=i.trimLeadingNewline,D=i.trimTrailingNewline,h="string"==typeof s,l=e.length;return e.map((function(e,t){return e=e.replace(n,"$1"),0===t&&c&&(e=e.replace(a,"")),t===l-1&&D&&(e=e.replace(o,"")),h&&(e=e.replace(/\r\n|\n|\r/g,(function(e){return s}))),e}))}function l(e,t){for(var i="",r=0,u=e.length;r<u;r++)i+=e[r],r<u-1&&(i+=t[r]);return i}function f(e){return n(e,"raw")&&n(e,"length")}var d=function e(t){var i=r(),u=r();return s((function r(n){for(var a=[],o=1;o<arguments.length;o++)a[o-1]=arguments[o];if(f(n)){var p=n,E=(a[0]===r||a[0]===d)&&D.test(p[0])&&c.test(p[1]),m=E?u:i,C=m.get(p);if(C||(C=h(p,E,t),m.set(p,C)),0===a.length)return C[0];var A=l(C,E?a.slice(1):a);return A}return e(s(s({},t),n||{}))}),{string:function(e){return h([e],!1,t)[0]}})}({trimLeadingNewline:!0,trimTrailingNewline:!0});t.outdent=d,t.default=d;try{e.exports=d,Object.defineProperty(d,"__esModule",{value:!0}),d.default=d,d.outdent=d}catch(e){}}));const{outdent:Cr}=mr,Ar="Config",Fr="Editor",gr="Other",yr="Global",xr="Special",Br={cursorOffset:{since:"1.4.0",category:xr,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:Cr`
2
- Print (to stderr) where a cursor at the given position would move to after formatting.
3
- This option cannot be used with --range-start and --range-end.
4
- `,cliCategory:Fr},endOfLine:{since:"1.15.0",category:yr,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:Cr`
5
- Maintain existing
6
- (mixed values within one file are normalised by looking at what's used after the first line)
7
- `}]},filepath:{since:"1.4.0",category:xr,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:gr,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:xr,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:gr},parser:{since:"0.0.10",category:yr,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:yr,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:Ar},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:yr,description:Cr`
8
- Custom directory that contains prettier plugins in node_modules subdirectory.
9
- Overrides default behavior when plugins are searched relatively to the location of Prettier.
10
- Multiple values are accepted.
11
- `,exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:Ar},printWidth:{since:"0.0.0",category:yr,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:xr,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Cr`
12
- Format code ending at a given character offset (exclusive).
13
- The range will extend forwards to the end of the selected statement.
14
- This option cannot be used with --cursor-offset.
15
- `,cliCategory:Fr},rangeStart:{since:"1.4.0",category:xr,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Cr`
16
- Format code starting at a given character offset.
17
- The range will extend backwards to the start of the first line containing the selected statement.
18
- This option cannot be used with --cursor-offset.
19
- `,cliCategory:Fr},requirePragma:{since:"1.7.0",category:xr,type:"boolean",default:!1,description:Cr`
20
- Require either '@prettier' or '@format' to be present in the file's first docblock comment
21
- in order for it to be formatted.
22
- `,cliCategory:gr},tabWidth:{type:"int",category:yr,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:yr,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:yr,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};const vr=["cliName","cliCategory","cliDescription"],br={compare:fr,lt:dr,gte:Er},Sr="2.4.1",wr={CATEGORY_CONFIG:Ar,CATEGORY_EDITOR:Fr,CATEGORY_FORMAT:"Format",CATEGORY_OTHER:gr,CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:yr,CATEGORY_SPECIAL:xr,options:Br}.options;var Tr={getSupportInfo:function({plugins:e=[],showUnreleased:t=!1,showDeprecated:i=!1,showInternal:r=!1}={}){const u=Sr.split("-",1)[0],n=e.flatMap((e=>e.languages||[])).filter(c),s=(a=Object.assign({},...e.map((({options:e})=>e)),wr),o="name",Object.entries(a).map((([e,t])=>Object.assign({[o]:e},t)))).filter((e=>c(e)&&p(e))).sort(((e,t)=>e.name===t.name?0:e.name<t.name?-1:1)).map((function(e){if(r)return e;return te(e,vr)})).map((t=>{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(c).sort(((e,t)=>br.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>c(e)&&p(e))),"parser"===t.name&&function(e,t,i){const r=new Set(e.choices.map((e=>e.value)));for(const u of t)if(u.parsers)for(const t of u.parsers)if(!r.has(t)){r.add(t);const n=i.find((e=>e.parsers&&e.parsers[t]));let s=u.name;n&&n.name&&(s+=` (plugin: ${n.name})`),e.choices.push({value:t,description:s})}}(t,n,e));const i=Object.fromEntries(e.filter((e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name])).map((e=>[e.name,e.defaultOptions[t.name]])));return Object.assign(Object.assign({},t),{},{pluginDefaults:i})}));var a,o;return{languages:n,options:s};function c(e){return t||!("since"in e)||e.since&&br.gte(u,e.since)}function p(e){return i||!("deprecated"in e)||e.deprecated&&br.lt(u,e.deprecated)}}};const{getSupportInfo:kr}=Tr,Ir=/[^\x20-\x7F]/;function Nr(e){return(t,i,r)=>{const u=r&&r.backwards;if(!1===i)return!1;const{length:n}=t;let s=i;for(;s>=0&&s<n;){const i=t.charAt(s);if(e instanceof RegExp){if(!e.test(i))return s}else if(!e.includes(i))return s;u?s--:s++}return(-1===s||s===n)&&s}}const _r=Nr(/\s/),Lr=Nr(" \t"),Pr=Nr(",; \t"),Or=Nr(/[^\n\r]/);function Rr(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let i=t+2;i<e.length;++i)if("*"===e.charAt(i)&&"/"===e.charAt(i+1))return i+2;return t}function jr(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?Or(e,t):t)}function Vr(e,t,i){const r=i&&i.backwards;if(!1===t)return!1;const u=e.charAt(t);if(r){if("\r"===e.charAt(t-1)&&"\n"===u)return t-2;if("\n"===u||"\r"===u||"\u2028"===u||"\u2029"===u)return t-1}else{if("\r"===u&&"\n"===e.charAt(t+1))return t+2;if("\n"===u||"\r"===u||"\u2028"===u||"\u2029"===u)return t+1}return t}function Mr(e,t,i={}){const r=Lr(e,i.backwards?t-1:t,i);return r!==Vr(e,r,i)}function Ur(e,t){let i=null,r=t;for(;r!==i;)i=r,r=Pr(e,r),r=Rr(e,r),r=Lr(e,r);return r=jr(e,r),r=Vr(e,r),!1!==r&&Mr(e,r)}function $r(e,t){let i=null,r=t;for(;r!==i;)i=r,r=Lr(e,r),r=Rr(e,r),r=jr(e,r),r=Vr(e,r);return r}function Xr(e,t,i){return $r(e,i(t))}function qr(e,t,i=0){let r=0;for(let u=i;u<e.length;++u)"\t"===e[u]?r=r+t-r%t:r++;return r}function Gr(e,t){const i=e.slice(1,-1),r={quote:'"',regex:/"/g},u={quote:"'",regex:/'/g},n="'"===t?u:r,s=n===u?r:u;let a=n.quote;if(i.includes(n.quote)||i.includes(s.quote)){a=(i.match(n.regex)||[]).length>(i.match(s.regex)||[]).length?s.quote:n.quote}return a}function Wr(e,t,i){const r='"'===t?"'":'"',u=e.replace(/\\(.)|(["'])/gs,((e,u,n)=>u===r?u:n===t?"\\"+n:n||(i&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(u)?u:"\\"+u)));return t+u+t}function Jr(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(e){const t=e.type||e.kind||"(unknown type)";let i=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");i.length>20&&(i=i.slice(0,19)+"\u2026");return t+(i?" "+i:"")}(e)}var zr={inferParserByLanguage:function(e,t){const{languages:i}=kr({plugins:t.plugins}),r=i.find((({name:t})=>t.toLowerCase()===e))||i.find((({aliases:t})=>Array.isArray(t)&&t.includes(e)))||i.find((({extensions:t})=>Array.isArray(t)&&t.includes(`.${e}`)));return r&&r.parsers[0]},getStringWidth:function(e){return e?Ir.test(e)?Y(e):e.length:0},getMaxContinuousCount:function(e,t){const i=e.match(new RegExp(`(${Z(t)})+`,"g"));return null===i?0:i.reduce(((e,i)=>Math.max(e,i.length/t.length)),0)},getMinNotPresentContinuousCount:function(e,t){const i=e.match(new RegExp(`(${Z(t)})+`,"g"));if(null===i)return 0;const r=new Map;let u=0;for(const e of i){const i=e.length/t.length;r.set(i,!0),i>u&&(u=i)}for(let e=1;e<u;e++)if(!r.get(e))return e;return u+1},getPenultimate:e=>e[e.length-2],getLast:ee,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:$r,getNextNonSpaceNonCommentCharacterIndex:Xr,getNextNonSpaceNonCommentCharacter:function(e,t,i){return e.charAt(Xr(e,t,i))},skip:Nr,skipWhitespace:_r,skipSpaces:Lr,skipToLineEnd:Pr,skipEverythingButNewLine:Or,skipInlineComment:Rr,skipTrailingComment:jr,skipNewline:Vr,isNextLineEmptyAfterIndex:Ur,isNextLineEmpty:function(e,t,i){return Ur(e,i(t))},isPreviousLineEmpty:function(e,t,i){let r=i(t)-1;return r=Lr(e,r,{backwards:!0}),r=Vr(e,r,{backwards:!0}),r=Lr(e,r,{backwards:!0}),r!==Vr(e,r,{backwards:!0})},hasNewline:Mr,hasNewlineInRange:function(e,t,i){for(let r=t;r<i;++r)if("\n"===e.charAt(r))return!0;return!1},hasSpaces:function(e,t,i={}){return Lr(e,i.backwards?t-1:t,i)!==t},getAlignmentSize:qr,getIndentSize:function(e,t){const i=e.lastIndexOf("\n");return-1===i?0:qr(e.slice(i+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:Gr,printString:function(e,t){return Wr(e.slice(1,-1),"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":Gr(e,t.singleQuote?"'":'"'),!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))},printNumber:function(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},makeString:Wr,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,Jr(e,t)},addDanglingComment:function(e,t,i){t.leading=!1,t.trailing=!1,i&&(t.marker=i),Jr(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,Jr(e,t)},isFrontMatterNode:function(e){return e&&"front-matter"===e.type},getShebang:function(e){if(!e.startsWith("#!"))return"";const t=e.indexOf("\n");return-1===t?e:e.slice(0,t)},isNonEmptyArray:function(e){return Array.isArray(e)&&e.length>0},createGroupIdMapper:function(e){const t=new WeakMap;return function(i){return t.has(i)||t.set(i,Symbol(e)),t.get(i)}}};var Hr={guessEndOfLine:function(e){const t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function(e,t){let i;if("\n"===t)i=/\n/g;else if("\r"===t)i=/\r/g;else{if("\r\n"!==t)throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`);i=/\r\n/g}const r=e.match(i);return r?r.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}};const{parseWithComments:Kr,strip:Yr,extract:Qr,print:Zr}=G,{getShebang:eu}=zr,{normalizeEndOfLine:tu}=Hr;function iu(e){const t=eu(e);t&&(e=e.slice(t.length+1));const i=Qr(e),{pragmas:r,comments:u}=Kr(i);return{shebang:t,text:e,pragmas:r,comments:u}}var ru={hasPragma:function(e){const t=Object.keys(iu(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){const{shebang:t,text:i,pragmas:r,comments:u}=iu(e),n=Yr(i),s=Zr({pragmas:Object.assign({format:""},r),comments:u.trimStart()});return(t?`${t}\n`:"")+tu(s)+(n.startsWith("\n")?"\n":"\n\n")+n}};const{isNonEmptyArray:uu}=zr;function nu(e,t){const{ignoreDecorators:i}=t||{};if(!i){const t=e.declaration&&e.declaration.decorators||e.decorators;if(uu(t))return nu(t[0])}return e.range?e.range[0]:e.start}function su(e){return e.range?e.range[1]:e.end}function au(e,t){return nu(e)===nu(t)}var ou={locStart:nu,locEnd:su,hasSameLocStart:au,hasSameLoc:function(e,t){return au(e,t)&&function(e,t){return su(e)===su(t)}(e,t)}};const{hasPragma:cu}=ru,{locStart:pu,locEnd:Du}=ou;var hu=function(e){return e="function"==typeof e?{parse:e}:e,Object.assign({astFormat:"estree",hasPragma:cu,locStart:pu,locEnd:Du},e)};var lu=function(e){return"#"===e.charAt(0)&&"!"===e.charAt(1)?"//"+e.slice(2):e},fu=v((function(e){!function(){function t(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function i(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}e.exports={isExpression:function(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:t,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(e){return t(e)||null!=e&&"FunctionDeclaration"===e.type},isProblematicIfStatement:function(e){var t;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=i(t)}while(t);return!1},trailingStatement:i}}()})),du=v((function(e){!function(){var t,i,r,u,n,s;function a(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(i={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],u=new Array(128),s=0;s<128;++s)u[s]=s>=97&&s<=122||s>=65&&s<=90||36===s||95===s;for(n=new Array(128),s=0;s<128;++s)n[s]=s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||36===s||95===s;e.exports={isDecimalDigit:function(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&r.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?u[e]:i.NonAsciiIdentifierStart.test(a(e))},isIdentifierPartES5:function(e){return e<128?n[e]:i.NonAsciiIdentifierPart.test(a(e))},isIdentifierStartES6:function(e){return e<128?u[e]:t.NonAsciiIdentifierStart.test(a(e))},isIdentifierPartES6:function(e){return e<128?n[e]:t.NonAsciiIdentifierPart.test(a(e))}}}()})),Eu=v((function(e){!function(){var t=du;function i(e,t){return!(!t&&"yield"===e)&&r(e,t)}function r(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function u(e,t){return"null"===e||"true"===e||"false"===e||i(e,t)}function n(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function s(e){var i,r,u;if(0===e.length)return!1;if(u=e.charCodeAt(0),!t.isIdentifierStartES5(u))return!1;for(i=1,r=e.length;i<r;++i)if(u=e.charCodeAt(i),!t.isIdentifierPartES5(u))return!1;return!0}function a(e){var i,r,u,n,s;if(0===e.length)return!1;for(s=t.isIdentifierStartES6,i=0,r=e.length;i<r;++i){if(55296<=(u=e.charCodeAt(i))&&u<=56319){if(++i>=r)return!1;if(!(56320<=(n=e.charCodeAt(i))&&n<=57343))return!1;u=1024*(u-55296)+(n-56320)+65536}if(!s(u))return!1;s=t.isIdentifierPartES6}return!0}e.exports={isKeywordES5:i,isKeywordES6:r,isReservedWordES5:u,isReservedWordES6:n,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:s,isIdentifierNameES6:a,isIdentifierES5:function(e,t){return s(e)&&!u(e,t)},isIdentifierES6:function(e,t){return a(e)&&!n(e,t)}}}()}));const mu=v((function(e,t){t.ast=fu,t.code=du,t.keyword=Eu})).keyword.isIdentifierNameES5,{getLast:Cu,hasNewline:Au,skipWhitespace:Fu,isNonEmptyArray:gu,isNextLineEmptyAfterIndex:yu,getStringWidth:xu}=zr,{locStart:Bu,locEnd:vu,hasSameLocStart:bu}=ou,Su=new RegExp("^(?:(?=.)\\s)*:"),wu=new RegExp("^(?:(?=.)\\s)*::");function Tu(e){return"Block"===e.type||"CommentBlock"===e.type||"MultiLine"===e.type}function ku(e){return"Line"===e.type||"CommentLine"===e.type||"SingleLine"===e.type||"HashbangComment"===e.type||"HTMLOpen"===e.type||"HTMLClose"===e.type}const Iu=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function Nu(e){return e&&Iu.has(e.type)}function _u(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function Lu(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function Pu(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function Ou(e){return Xu(e)&&"Identifier"===e.callee.type&&("async"===e.callee.name||"inject"===e.callee.name||"fakeAsync"===e.callee.name)}function Ru(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function ju(e){return"get"===e.kind||"set"===e.kind}function Vu(e){return ju(e)||bu(e,e.value)}const Mu=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]);const Uu=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]);const $u=/^(?:skip|[fx]?(?:it|describe|test))$/;function Xu(e){return e&&("CallExpression"===e.type||"OptionalCallExpression"===e.type)}function qu(e){return e&&("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)}function Gu(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}function Wu(e){return e.quasis.some((e=>e.value.raw.includes("\n")))}function Ju(e){return e.extra?e.extra.raw:e.raw}const zu={"==":!0,"!=":!0,"===":!0,"!==":!0},Hu={"*":!0,"/":!0,"%":!0},Ku={">>":!0,">>>":!0,"<<":!0};const Yu={};for(const[e,t]of[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].entries())for(const i of t)Yu[i]=e;function Qu(e){return Yu[e]}const Zu=new WeakMap;function en(e){if(Zu.has(e))return Zu.get(e);const t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),Zu.set(e,t),t}const tn=new WeakMap;function rn(e){if(tn.has(e))return tn.get(e);let t=e.arguments;return"ImportExpression"===e.type&&(t=[e.source],e.attributes&&t.push(e.attributes)),tn.set(e,t),t}function un(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function nn(e){return e&&(e.prettierIgnore||on(e,sn.PrettierIgnore))}const sn={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},an=(e,t)=>{if("function"==typeof e&&(t=e,e=0),e||t)return(i,r,u)=>!(e&sn.Leading&&!i.leading||e&sn.Trailing&&!i.trailing||e&sn.Dangling&&(i.leading||i.trailing)||e&sn.Block&&!Tu(i)||e&sn.Line&&!ku(i)||e&sn.First&&0!==r||e&sn.Last&&r!==u.length-1||e&sn.PrettierIgnore&&!un(i)||t&&!t(i))};function on(e,t,i){if(!e||!gu(e.comments))return!1;const r=an(t,i);return!r||e.comments.some(r)}function cn(e,t,i){if(!e||!Array.isArray(e.comments))return[];const r=an(t,i);return r?e.comments.filter(r):e.comments}function pn(e){return Xu(e)||"NewExpression"===e.type||"ImportExpression"===e.type}var Dn={getFunctionParameters:en,iterateFunctionParametersPath:function(e,t){const i=e.getValue();let r=0;const u=e=>t(e,r++);i.this&&e.call(u,"this"),Array.isArray(i.parameters)?e.each(u,"parameters"):Array.isArray(i.params)&&e.each(u,"params"),i.rest&&e.call(u,"rest")},getCallArguments:rn,iterateCallArgumentsPath:function(e,t){const i=e.getValue();"ImportExpression"===i.type?(e.call((e=>t(e,0)),"source"),i.attributes&&e.call((e=>t(e,1)),"attributes")):e.each(t,"arguments")},hasRestParameter:function(e){if(e.rest)return!0;const t=en(e);return t.length>0&&"RestElement"===Cu(t).type},getLeftSide:function(e){return e.expressions?e.expressions[0]:e.left||e.test||e.callee||e.object||e.tag||e.argument||e.expression},getLeftSidePathName:function(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.")},getParentExportDeclaration:function(e){const t=e.getParentNode();return"declaration"===e.getName()&&Nu(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasFlowAnnotationComment:function(e){return gu(e)&&Tu(e[0])&&wu.test(e[0].value)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&gu(e.trailingComments)&&Tu(e.trailingComments[0])&&Su.test(e.trailingComments[0].value)},hasLeadingOwnLineComment:function(e,t){return Ru(t)?nn(t):on(t,sn.Leading,(t=>Au(e,vu(t))))},hasNakedLeftSide:function(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||Xu(e)||qu(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type},hasNode:function e(t,i){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t))return t.some((t=>e(t,i)));const r=i(t);return"boolean"==typeof r?r:Object.values(t).some((t=>e(t,i)))},hasIgnoreComment:function(e){return nn(e.getValue())},hasNodeIgnoreComment:nn,identity:function(e){return e},isBinaryish:function(e){return Mu.has(e.type)},isBlockComment:Tu,isCallLikeExpression:pn,isLineComment:ku,isPrettierIgnoreComment:un,isCallExpression:Xu,isMemberExpression:qu,isExportDeclaration:Nu,isFlowAnnotationComment:function(e,t){const i=Bu(t),r=Fu(e,vu(t));return!1!==r&&"/*"===e.slice(i,i+2)&&"*/"===e.slice(r,r+2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;let t=0;for(const i of e)if(Pu(i)){if(t+=1,t>1)return!0}else if(Xu(i))for(const e of i.arguments)if(Pu(e))return!0;return!1},isFunctionNotation:Vu,isFunctionOrArrowExpression:Pu,isGetterOrSetter:ju,isJestEachTemplateLiteral:function(e,t){const i=/^[fx]?(?:describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&i.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&i.test(t.tag.object.object.name))},isJsxNode:Ru,isLiteral:function(e){return"BooleanLiteral"===e.type||"DirectiveLiteral"===e.type||"Literal"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"BigIntLiteral"===e.type||"DecimalLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"TemplateLiteral"===e.type||"TSTypeLiteral"===e.type||"JSXText"===e.type},isLongCurriedCallExpression:function(e){const t=e.getValue(),i=e.getParentNode();return Xu(t)&&Xu(i)&&i.callee===t&&t.arguments.length>i.arguments.length&&i.arguments.length>0},isSimpleCallArgument:function e(t,i){if(i>=2)return!1;const r=t=>e(t,i+1),u="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(u&&xu(u)>5)&&("Literal"===t.type||"BigIntLiteral"===t.type||"DecimalLiteral"===t.type||"BooleanLiteral"===t.type||"NullLiteral"===t.type||"NumericLiteral"===t.type||"RegExpLiteral"===t.type||"StringLiteral"===t.type||"Identifier"===t.type||"ThisExpression"===t.type||"Super"===t.type||"PrivateName"===t.type||"PrivateIdentifier"===t.type||"ArgumentPlaceholder"===t.type||"Import"===t.type||("TemplateLiteral"===t.type?t.quasis.every((e=>!e.value.raw.includes("\n")))&&t.expressions.every(r):"ObjectExpression"===t.type?t.properties.every((e=>!e.computed&&(e.shorthand||e.value&&r(e.value)))):"ArrayExpression"===t.type?t.elements.every((e=>null===e||r(e))):pn(t)?("ImportExpression"===t.type||e(t.callee,i))&&rn(t).every(r):qu(t)?e(t.object,i)&&e(t.property,i):"UnaryExpression"!==t.type||"!"!==t.operator&&"-"!==t.operator?"TSNonNullExpression"===t.type&&e(t.expression,i):e(t.argument,i)))},isMemberish:function(e){return qu(e)||"BindExpression"===e.type&&Boolean(e.object)},isNumericLiteral:_u,isSignedNumericLiteral:function(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&_u(e.argument)},isObjectProperty:function(e){return e&&("ObjectProperty"===e.type||"Property"===e.type&&!e.method&&"init"===e.kind)},isObjectType:function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"TSMappedType"===e.type},isObjectTypePropertyAFunction:function(e){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||Vu(e))},isSimpleType:function(e){return!!e&&(!("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)||!!Uu.has(e.type))},isSimpleNumber:Gu,isSimpleTemplateLiteral:function(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");const i=e[t];return 0!==i.length&&i.every((e=>{if(on(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(qu(e)){let t=e;for(;qu(t);){if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type)return!1;if(t=t.object,on(t))return!1}return"Identifier"===t.type||"ThisExpression"===t.type}return!1}))},isStringLiteral:Lu,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&Lu(e.key)&&Ju(e.key).slice(1,-1)===e.key.value&&(mu(e.key.value)&&!(("typescript"===t.parser||"babel-ts"===t.parser)&&"ClassProperty"===e.type)||Gu(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser))},isTemplateOnItsOwnLine:function(e,t){return("TemplateLiteral"===e.type&&Wu(e)||"TaggedTemplateExpression"===e.type&&Wu(e.quasi))&&!Au(t,Bu(e),{backwards:!0})},isTestCall:function e(t,i){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(Ou(t)&&i&&e(i))return Pu(t.arguments[0]);if(function(e){return"Identifier"===e.callee.type&&/^(?:before|after)(?:Each|All)$/.test(e.callee.name)&&1===e.arguments.length}(t))return Ou(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&$u.test(t.callee.name)||function(e){return qu(e.callee)&&"Identifier"===e.callee.object.type&&"Identifier"===e.callee.property.type&&$u.test(e.callee.object.name)&&("only"===e.callee.property.name||"skip"===e.callee.property.name)}(t))&&(function(e){return"TemplateLiteral"===e.type}(t.arguments[0])||Lu(t.arguments[0])))return!(t.arguments[2]&&!_u(t.arguments[2]))&&((2===t.arguments.length?Pu(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&en(t.arguments[1]).length<=1)||Ou(t.arguments[1]));return!1},isTheOnlyJsxElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;const i=t.getNode();if(!i.expression||!Ru(i.expression))return!1;const r=t.getParentNode();return"Program"===r.type&&1===r.body.length},isTSXFile:function(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function(e){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||bu(e,e.typeAnnotation))},isNextLineEmpty:(e,{originalText:t})=>yu(t,vu(e)),needsHardlineAfterDanglingComment:function(e){if(!on(e))return!1;const t=Cu(cn(e,sn.Dangling));return t&&!Tu(t)},rawText:Ju,shouldPrintComma:function(e,t="es5"){return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)},isBitwiseOperator:function(e){return Boolean(Ku[e])||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return Qu(t)===Qu(e)&&("**"!==e&&((!zu[e]||!zu[t])&&(!("%"===t&&Hu[e]||"%"===e&&Hu[t])&&((t===e||!Hu[t]||!Hu[e])&&(!Ku[e]||!Ku[t])))))},startsWithNoLookaheadToken:function e(t,i){switch((t=function(e){for(;e.left;)e=e.left;return e}(t)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return i;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return e(t.object,i);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,i);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,i);case"ConditionalExpression":return e(t.test,i);case"UpdateExpression":return!t.prefix&&e(t.argument,i);case"BindExpression":return t.object&&e(t.object,i);case"SequenceExpression":return e(t.expressions[0],i);case"TSAsExpression":case"TSNonNullExpression":return e(t.expression,i);default:return!1}},getPrecedence:Qu,hasComment:on,getComments:cn,CommentCheckFlags:sn};const{getLast:hn,hasNewline:ln,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:fn,getNextNonSpaceNonCommentCharacter:dn,hasNewlineInRange:En,addLeadingComment:mn,addTrailingComment:Cn,addDanglingComment:An,getNextNonSpaceNonCommentCharacterIndex:Fn,isNonEmptyArray:gn}=zr,{isBlockComment:yn,getFunctionParameters:xn,isPrettierIgnoreComment:Bn,isJsxNode:vn,hasFlowShorthandAnnotationComment:bn,hasFlowAnnotationComment:Sn,hasIgnoreComment:wn,isCallLikeExpression:Tn,getCallArguments:kn,isCallExpression:In,isMemberExpression:Nn,isObjectProperty:_n,getComments:Ln,CommentCheckFlags:Pn}=Dn,{locStart:On,locEnd:Rn}=ou;function jn(e,t){const i=(e.body||e.properties).find((({type:e})=>"EmptyStatement"!==e));i?mn(i,t):An(e,t)}function Vn(e,t){"BlockStatement"===e.type?jn(e,t):mn(e,t)}function Mn({comment:e,followingNode:t}){return!(!t||!ds(e))&&(mn(t,e),!0)}function Un({comment:e,precedingNode:t,enclosingNode:i,followingNode:r,text:u}){if(!i||"IfStatement"!==i.type||!r)return!1;return")"===dn(u,e,Rn)?(Cn(t,e),!0):t===i.consequent&&r===i.alternate?("BlockStatement"===t.type?Cn(t,e):An(i,e),!0):"BlockStatement"===r.type?(jn(r,e),!0):"IfStatement"===r.type?(Vn(r.consequent,e),!0):i.consequent===r&&(mn(r,e),!0)}function $n({comment:e,precedingNode:t,enclosingNode:i,followingNode:r,text:u}){if(!i||"WhileStatement"!==i.type||!r)return!1;return")"===dn(u,e,Rn)?(Cn(t,e),!0):"BlockStatement"===r.type?(jn(r,e),!0):i.body===r&&(mn(r,e),!0)}function Xn({comment:e,precedingNode:t,enclosingNode:i,followingNode:r}){return!(!i||"TryStatement"!==i.type&&"CatchClause"!==i.type||!r)&&("CatchClause"===i.type&&t?(Cn(t,e),!0):"BlockStatement"===r.type?(jn(r,e),!0):"TryStatement"===r.type?(Vn(r.finalizer,e),!0):"CatchClause"===r.type&&(Vn(r.body,e),!0))}function qn({comment:e,enclosingNode:t,followingNode:i}){return!(!Nn(t)||!i||"Identifier"!==i.type)&&(mn(t,e),!0)}function Gn({comment:e,precedingNode:t,enclosingNode:i,followingNode:r,text:u}){const n=t&&!En(u,Rn(t),On(e));return!(t&&n||!i||"ConditionalExpression"!==i.type&&"TSConditionalType"!==i.type||!r)&&(mn(r,e),!0)}function Wn({comment:e,precedingNode:t,enclosingNode:i}){return!(!_n(i)||!i.shorthand||i.key!==t||"AssignmentPattern"!==i.value.type)&&(Cn(i.value.left,e),!0)}function Jn({comment:e,precedingNode:t,enclosingNode:i,followingNode:r}){if(i&&("ClassDeclaration"===i.type||"ClassExpression"===i.type||"DeclareClass"===i.type||"DeclareInterface"===i.type||"InterfaceDeclaration"===i.type||"TSInterfaceDeclaration"===i.type)){if(gn(i.decorators)&&(!r||"Decorator"!==r.type))return Cn(hn(i.decorators),e),!0;if(i.body&&r===i.body)return jn(i.body,e),!0;if(r)for(const u of["implements","extends","mixins"])if(i[u]&&r===i[u][0])return!t||t!==i.id&&t!==i.typeParameters&&t!==i.superClass?An(i,e,u):Cn(t,e),!0}return!1}function zn({comment:e,precedingNode:t,enclosingNode:i,text:r}){return(i&&t&&("Property"===i.type||"TSDeclareMethod"===i.type||"TSAbstractMethodDefinition"===i.type)&&"Identifier"===t.type&&i.key===t&&":"!==dn(r,t,Rn)||!(!t||!i||"Decorator"!==t.type||"ClassMethod"!==i.type&&"ClassProperty"!==i.type&&"PropertyDefinition"!==i.type&&"TSAbstractClassProperty"!==i.type&&"TSAbstractMethodDefinition"!==i.type&&"TSDeclareMethod"!==i.type&&"MethodDefinition"!==i.type))&&(Cn(t,e),!0)}function Hn({comment:e,precedingNode:t,enclosingNode:i,text:r}){return"("===dn(r,e,Rn)&&(!(!t||!i||"FunctionDeclaration"!==i.type&&"FunctionExpression"!==i.type&&"ClassMethod"!==i.type&&"MethodDefinition"!==i.type&&"ObjectMethod"!==i.type)&&(Cn(t,e),!0))}function Kn({comment:e,enclosingNode:t,text:i}){if(!t||"ArrowFunctionExpression"!==t.type)return!1;const r=Fn(i,e,Rn);return!1!==r&&"=>"===i.slice(r,r+2)&&(An(t,e),!0)}function Yn({comment:e,enclosingNode:t,text:i}){return")"===dn(i,e,Rn)&&(t&&(fs(t)&&0===xn(t).length||Tn(t)&&0===kn(t).length)?(An(t,e),!0):!(!t||"MethodDefinition"!==t.type&&"TSAbstractMethodDefinition"!==t.type||0!==xn(t.value).length)&&(An(t.value,e),!0))}function Qn({comment:e,precedingNode:t,enclosingNode:i,followingNode:r,text:u}){if(t&&"FunctionTypeParam"===t.type&&i&&"FunctionTypeAnnotation"===i.type&&r&&"FunctionTypeParam"!==r.type)return Cn(t,e),!0;if(t&&("Identifier"===t.type||"AssignmentPattern"===t.type)&&i&&fs(i)&&")"===dn(u,e,Rn))return Cn(t,e),!0;if(i&&"FunctionDeclaration"===i.type&&r&&"BlockStatement"===r.type){const t=(()=>{const e=xn(i);if(e.length>0)return fn(u,Rn(hn(e)));const t=fn(u,Rn(i.id));return!1!==t&&fn(u,t+1)})();if(On(e)>t)return jn(r,e),!0}return!1}function Zn({comment:e,enclosingNode:t}){return!(!t||"ImportSpecifier"!==t.type)&&(mn(t,e),!0)}function es({comment:e,enclosingNode:t}){return!(!t||"LabeledStatement"!==t.type)&&(mn(t,e),!0)}function ts({comment:e,enclosingNode:t}){return!(!t||"ContinueStatement"!==t.type&&"BreakStatement"!==t.type||t.label)&&(Cn(t,e),!0)}function is({comment:e,precedingNode:t,enclosingNode:i}){return!!(In(i)&&t&&i.callee===t&&i.arguments.length>0)&&(mn(i.arguments[0],e),!0)}function rs({comment:e,precedingNode:t,enclosingNode:i,followingNode:r}){return!i||"UnionTypeAnnotation"!==i.type&&"TSUnionType"!==i.type?(r&&("UnionTypeAnnotation"===r.type||"TSUnionType"===r.type)&&Bn(e)&&(r.types[0].prettierIgnore=!0,e.unignore=!0),!1):(Bn(e)&&(r.prettierIgnore=!0,e.unignore=!0),!!t&&(Cn(t,e),!0))}function us({comment:e,enclosingNode:t}){return!!_n(t)&&(mn(t,e),!0)}function ns({comment:e,enclosingNode:t,followingNode:i,ast:r,isLastComment:u}){return r&&r.body&&0===r.body.length?(u?An(r,e):mn(r,e),!0):t&&"Program"===t.type&&0===t.body.length&&!gn(t.directives)?(u?An(t,e):mn(t,e),!0):!(!i||"Program"!==i.type||0!==i.body.length||!t||"ModuleExpression"!==t.type)&&(An(i,e),!0)}function ss({comment:e,enclosingNode:t}){return!(!t||"ForInStatement"!==t.type&&"ForOfStatement"!==t.type)&&(mn(t,e),!0)}function as({comment:e,precedingNode:t,enclosingNode:i,text:r}){return!!(t&&"ImportSpecifier"===t.type&&i&&"ImportDeclaration"===i.type&&ln(r,Rn(e)))&&(Cn(t,e),!0)}function os({comment:e,enclosingNode:t}){return!(!t||"AssignmentPattern"!==t.type)&&(mn(t,e),!0)}function cs({comment:e,enclosingNode:t}){return!(!t||"TypeAlias"!==t.type)&&(mn(t,e),!0)}function ps({comment:e,enclosingNode:t,followingNode:i}){return!(!t||"VariableDeclarator"!==t.type&&"AssignmentExpression"!==t.type||!i||"ObjectExpression"!==i.type&&"ArrayExpression"!==i.type&&"TemplateLiteral"!==i.type&&"TaggedTemplateExpression"!==i.type&&!yn(e))&&(mn(i,e),!0)}function Ds({comment:e,enclosingNode:t,followingNode:i,text:r}){return!(i||!t||"TSMethodSignature"!==t.type&&"TSDeclareFunction"!==t.type&&"TSAbstractMethodDefinition"!==t.type||";"!==dn(r,e,Rn))&&(Cn(t,e),!0)}function hs({comment:e,enclosingNode:t,followingNode:i}){if(Bn(e)&&t&&"TSMappedType"===t.type&&i&&"TSTypeParameter"===i.type&&i.constraint)return t.prettierIgnore=!0,e.unignore=!0,!0}function ls({comment:e,precedingNode:t,enclosingNode:i,followingNode:r}){return!(!i||"TSMappedType"!==i.type)&&(r&&"TSTypeParameter"===r.type&&r.name?(mn(r.name,e),!0):!(!t||"TSTypeParameter"!==t.type||!t.constraint)&&(Cn(t.constraint,e),!0))}function fs(e){return"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type||"ObjectMethod"===e.type||"ClassMethod"===e.type||"TSDeclareFunction"===e.type||"TSCallSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type}function ds(e){return yn(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}var Es={handleOwnLineComment:function(e){return[hs,Qn,qn,Un,$n,Xn,Jn,Zn,ss,rs,ns,as,os,zn,es].some((t=>t(e)))},handleEndOfLineComment:function(e){return[Mn,Qn,Gn,Zn,Un,$n,Xn,Jn,es,is,us,ns,cs,ps].some((t=>t(e)))},handleRemainingComment:function(e){return[hs,Un,$n,Wn,Yn,zn,ns,Kn,Hn,ls,ts,Ds].some((t=>t(e)))},isTypeCastComment:ds,getCommentChildNodes:function(e,t){if(("typescript"===t.parser||"flow"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===xn(e.value).length&&!e.value.returnType&&!gn(e.value.typeParameters)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]},willPrintOwnComments:function(e){const t=e.getValue(),i=e.getParentNode();return(t&&(vn(t)||bn(t)||In(i)&&(e=>Sn(Ln(e,Pn.Leading))||Sn(Ln(e,Pn.Trailing)))(t))||i&&("JSXSpreadAttribute"===i.type||"JSXSpreadChild"===i.type||"UnionTypeAnnotation"===i.type||"TSUnionType"===i.type||("ClassDeclaration"===i.type||"ClassExpression"===i.type)&&i.superClass===t))&&(!wn(e)||"UnionTypeAnnotation"===i.type||"TSUnionType"===i.type)}};const{getLast:ms,getNextNonSpaceNonCommentCharacter:Cs}=zr,{locStart:As,locEnd:Fs}=ou,{isTypeCastComment:gs}=Es;function ys(e){return"CallExpression"===e.type?(e.type="OptionalCallExpression",e.callee=ys(e.callee)):"MemberExpression"===e.type?(e.type="OptionalMemberExpression",e.object=ys(e.object)):"TSNonNullExpression"===e.type&&(e.expression=ys(e.expression)),e}function xs(e,t){let i;if(Array.isArray(e))i=e.entries();else{if(!e||"object"!=typeof e||"string"!=typeof e.type)return e;i=Object.entries(e)}for(const[r,u]of i)e[r]=xs(u,t);return Array.isArray(e)?e:t(e)||e}function Bs(e){return"LogicalExpression"===e.type&&"LogicalExpression"===e.right.type&&e.operator===e.right.operator}function vs(e){return Bs(e)?vs({type:"LogicalExpression",operator:e.operator,left:vs({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[As(e.left),Fs(e.right.left)]}),right:e.right.right,range:[As(e),Fs(e)]}):e}var bs=function(t,i){if("typescript"===i.parser&&i.originalText.includes("@")){const{esTreeNodeToTSNodeMap:r,tsNodeToESTreeNodeMap:u}=i.tsParseResult;t=xs(t,(t=>{const i=r.get(t);if(!i)return;const n=i.decorators;if(!Array.isArray(n))return;const s=u.get(i);if(s!==t)return;const a=s.decorators;if(!Array.isArray(a)||a.length!==n.length||n.some((e=>{const t=u.get(e);return!t||!a.includes(t)}))){const{start:t,end:i}=s.loc;throw e("Leading decorators must be attached to a class declaration",{start:{line:t.line,column:t.column+1},end:{line:i.line,column:i.column+1}})}}))}if("typescript"!==i.parser&&"flow"!==i.parser&&"espree"!==i.parser&&"meriyah"!==i.parser){const e=new Set;t=xs(t,(t=>{t.leadingComments&&t.leadingComments.some(gs)&&e.add(As(t))})),t=xs(t,(t=>{if("ParenthesizedExpression"===t.type){const{expression:i}=t;if("TypeCastExpression"===i.type)return i.range=t.range,i;const r=As(t);if(!e.has(r))return i.extra=Object.assign(Object.assign({},i.extra),{},{parenthesized:!0}),i}}))}return t=xs(t,(e=>{switch(e.type){case"ChainExpression":return ys(e.expression);case"LogicalExpression":if(Bs(e))return vs(e);break;case"VariableDeclaration":{const t=ms(e.declarations);t&&t.init&&function(e,t){if(";"===i.originalText[Fs(t)])return;e.range=[As(e),Fs(t)]}(e,t);break}case"TSParenthesizedType":return e.typeAnnotation.range=[As(e),Fs(e)],e.typeAnnotation;case"TSTypeParameter":if("string"==typeof e.name){const t=As(e);e.name={type:"Identifier",name:e.name,range:[t,t+e.name.length]}}break;case"SequenceExpression":{const t=ms(e.expressions);e.range=[As(e),Math.min(Fs(t),Fs(e))];break}case"ClassProperty":e.key&&"TSPrivateIdentifier"===e.key.type&&"?"===Cs(i.originalText,e.key,Fs)&&(e.optional=!0)}}))},Ss=v((function(e,t){!function(e){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"},i="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",r={5:i,"5module":i+" export import",6:i+" const class extends export import super"},u=/^in(stanceof)?$/,n="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08c7\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\u9ffc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7ca\ua7f5-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc",s="\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08d3-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf\u1ac0\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1df9\u1dfb-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f",a=new RegExp("["+n+"]"),o=new RegExp("["+n+s+"]");n=s=null;var c=[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 D(e,t){for(var i=65536,r=0;r<t.length;r+=2){if((i+=t[r])>e)return!1;if((i+=t[r+1])>=e)return!0}}function h(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&a.test(String.fromCharCode(e)):!1!==t&&D(e,c)))}function l(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&o.test(String.fromCharCode(e)):!1!==t&&(D(e,c)||D(e,p)))))}var f=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function d(e,t){return new f(e,{beforeExpr:!0,binop:t})}var E={beforeExpr:!0},m={startsExpr:!0},C={};function A(e,t){return void 0===t&&(t={}),t.keyword=e,C[e]=new f(e,t)}var F={num:new f("num",m),regexp:new f("regexp",m),string:new f("string",m),name:new f("name",m),privateId:new f("privateId",m),eof:new f("eof"),bracketL:new f("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new f("]"),braceL:new f("{",{beforeExpr:!0,startsExpr:!0}),braceR:new f("}"),parenL:new f("(",{beforeExpr:!0,startsExpr:!0}),parenR:new f(")"),comma:new f(",",E),semi:new f(";",E),colon:new f(":",E),dot:new f("."),question:new f("?",E),questionDot:new f("?."),arrow:new f("=>",E),template:new f("template"),invalidTemplate:new f("invalidTemplate"),ellipsis:new f("...",E),backQuote:new f("`",m),dollarBraceL:new f("${",{beforeExpr:!0,startsExpr:!0}),eq:new f("=",{beforeExpr:!0,isAssign:!0}),assign:new f("_=",{beforeExpr:!0,isAssign:!0}),incDec:new f("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new f("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:d("||",1),logicalAND:d("&&",2),bitwiseOR:d("|",3),bitwiseXOR:d("^",4),bitwiseAND:d("&",5),equality:d("==/!=/===/!==",6),relational:d("</>/<=/>=",7),bitShift:d("<</>>/>>>",8),plusMin:new f("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:d("%",10),star:d("*",10),slash:d("/",10),starstar:new f("**",{beforeExpr:!0}),coalesce:d("??",1),_break:A("break"),_case:A("case",E),_catch:A("catch"),_continue:A("continue"),_debugger:A("debugger"),_default:A("default",E),_do:A("do",{isLoop:!0,beforeExpr:!0}),_else:A("else",E),_finally:A("finally"),_for:A("for",{isLoop:!0}),_function:A("function",m),_if:A("if"),_return:A("return",E),_switch:A("switch"),_throw:A("throw",E),_try:A("try"),_var:A("var"),_const:A("const"),_while:A("while",{isLoop:!0}),_with:A("with"),_new:A("new",{beforeExpr:!0,startsExpr:!0}),_this:A("this",m),_super:A("super",m),_class:A("class",m),_extends:A("extends",E),_export:A("export"),_import:A("import",m),_null:A("null",m),_true:A("true",m),_false:A("false",m),_in:A("in",{beforeExpr:!0,binop:7}),_instanceof:A("instanceof",{beforeExpr:!0,binop:7}),_typeof:A("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:A("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:A("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},g=/\r\n?|\n|\u2028|\u2029/,y=new RegExp(g.source,"g");function x(e){return 10===e||13===e||8232===e||8233===e}var B=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,v=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,b=Object.prototype,S=b.hasOwnProperty,w=b.toString;function T(e,t){return S.call(e,t)}var k=Array.isArray||function(e){return"[object Array]"===w.call(e)};function I(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var N=function(e,t){this.line=e,this.column=t};N.prototype.offset=function(e){return new N(this.line,this.column+e)};var _=function(e,t,i){this.start=t,this.end=i,null!==e.sourceFile&&(this.source=e.sourceFile)};function L(e,t){for(var i=1,r=0;;){y.lastIndex=r;var u=y.exec(e);if(!(u&&u.index<t))return new N(i,t-r);++i,r=u.index+u[0].length}}var P={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},O=!1;function R(e){var t={};for(var i in P)t[i]=e&&T(e,i)?e[i]:P[i];if("latest"===t.ecmaVersion?t.ecmaVersion=1e8:null==t.ecmaVersion?(!O&&"object"==typeof console&&console.warn&&(O=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),k(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return k(t.onComment)&&(t.onComment=j(t,t.onComment)),t}function j(e,t){return function(i,r,u,n,s,a){var o={type:i?"Block":"Line",value:r,start:u,end:n};e.locations&&(o.loc=new _(this,s,a)),e.ranges&&(o.range=[u,n]),t.push(o)}}var V=1,M=2,U=4,$=8,X=16,q=32,G=64,W=128,J=256,z=V|M|J;function H(e,t){return M|(e?U:0)|(t?$:0)}var K=0,Y=1,Q=2,Z=3,ee=4,te=5,ie=function(e,i,u){this.options=e=R(e),this.sourceFile=e.sourceFile,this.keywords=I(r[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var n="";!0!==e.allowReserved&&(n=t[e.ecmaVersion>=6?6:5===e.ecmaVersion?5:3],"module"===e.sourceType&&(n+=" await")),this.reservedWords=I(n);var s=(n?n+" ":"")+t.strict;this.reservedWordsStrict=I(s),this.reservedWordsStrictBind=I(s+" "+t.strictBind),this.input=String(i),this.containsEsc=!1,u?(this.pos=u,this.lineStart=this.input.lastIndexOf("\n",u-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(g).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=F.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.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(V),this.regexpState=null,this.privateNameStack=[]},re={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};ie.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},re.inFunction.get=function(){return(this.currentVarScope().flags&M)>0},re.inGenerator.get=function(){return(this.currentVarScope().flags&$)>0&&!this.currentVarScope().inClassFieldInit},re.inAsync.get=function(){return(this.currentVarScope().flags&U)>0&&!this.currentVarScope().inClassFieldInit},re.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&J)return!1;if(t.flags&M)return(t.flags&U)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},re.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,i=e.inClassFieldInit;return(t&G)>0||i||this.options.allowSuperOutsideMethod},re.allowDirectSuper.get=function(){return(this.currentThisScope().flags&W)>0},re.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},re.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,i=e.inClassFieldInit;return(t&(M|J))>0||i},re.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&J)>0},ie.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i=this,r=0;r<e.length;r++)i=e[r](i);return i},ie.parse=function(e,t){return new this(t,e).parse()},ie.parseExpressionAt=function(e,t,i){var r=new this(i,e,t);return r.nextToken(),r.parseExpression()},ie.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(ie.prototype,re);var ue=ie.prototype,ne=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;function se(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}ue.strictDirective=function(e){for(;;){v.lastIndex=e,e+=v.exec(this.input)[0].length;var t=ne.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2])){v.lastIndex=e+t[0].length;var i=v.exec(this.input),r=i.index+i[0].length,u=this.input.charAt(r);return";"===u||"}"===u||g.test(i[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(u)||"!"===u&&"="===this.input.charAt(r+1))}e+=t[0].length,v.lastIndex=e,e+=v.exec(this.input)[0].length,";"===this.input[e]&&e++}},ue.eat=function(e){return this.type===e&&(this.next(),!0)},ue.isContextual=function(e){return this.type===F.name&&this.value===e&&!this.containsEsc},ue.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},ue.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},ue.canInsertSemicolon=function(){return this.type===F.eof||this.type===F.braceR||g.test(this.input.slice(this.lastTokEnd,this.start))},ue.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},ue.semicolon=function(){this.eat(F.semi)||this.insertSemicolon()||this.unexpected()},ue.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},ue.expect=function(e){this.eat(e)||this.unexpected()},ue.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},ue.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var i=t?e.parenthesizedAssign:e.parenthesizedBind;i>-1&&this.raiseRecoverable(i,"Parenthesized pattern")}},ue.checkExpressionErrors=function(e,t){if(!e)return!1;var i=e.shorthandAssign,r=e.doubleProto;if(!t)return i>=0||r>=0;i>=0&&this.raise(i,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},ue.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")},ue.isSimpleAssignTarget=function(e){return"ParenthesizedExpression"===e.type?this.isSimpleAssignTarget(e.expression):"Identifier"===e.type||"MemberExpression"===e.type};var ae=ie.prototype;ae.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==F.eof;){var i=this.parseStatement(null,!0,t);e.body.push(i)}if(this.inModule)for(var r=0,u=Object.keys(this.undefinedExports);r<u.length;r+=1){var n=u[r];this.raiseRecoverable(this.undefinedExports[n].start,"Export '"+n+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var oe={kind:"loop"},ce={kind:"switch"};ae.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;v.lastIndex=this.pos;var t=v.exec(this.input),i=this.pos+t[0].length,r=this.input.charCodeAt(i);if(91===r||92===r||r>55295&&r<56320)return!0;if(e)return!1;if(123===r)return!0;if(h(r,!0)){for(var n=i+1;l(r=this.input.charCodeAt(n),!0);)++n;if(92===r||r>55295&&r<56320)return!0;var s=this.input.slice(i,n);if(!u.test(s))return!0}return!1},ae.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;v.lastIndex=this.pos;var e,t=v.exec(this.input),i=this.pos+t[0].length;return!(g.test(this.input.slice(this.pos,i))||"function"!==this.input.slice(i,i+8)||i+8!==this.input.length&&(l(e=this.input.charCodeAt(i+8))||e>55295&&e<56320))},ae.parseStatement=function(e,t,i){var r,u=this.type,n=this.startNode();switch(this.isLet(e)&&(u=F._var,r="let"),u){case F._break:case F._continue:return this.parseBreakContinueStatement(n,u.keyword);case F._debugger:return this.parseDebuggerStatement(n);case F._do:return this.parseDoStatement(n);case F._for:return this.parseForStatement(n);case F._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(n,!1,!e);case F._class:return e&&this.unexpected(),this.parseClass(n,!0);case F._if:return this.parseIfStatement(n);case F._return:return this.parseReturnStatement(n);case F._switch:return this.parseSwitchStatement(n);case F._throw:return this.parseThrowStatement(n);case F._try:return this.parseTryStatement(n);case F._const:case F._var:return r=r||this.value,e&&"var"!==r&&this.unexpected(),this.parseVarStatement(n,r);case F._while:return this.parseWhileStatement(n);case F._with:return this.parseWithStatement(n);case F.braceL:return this.parseBlock(!0,n);case F.semi:return this.parseEmptyStatement(n);case F._export:case F._import:if(this.options.ecmaVersion>10&&u===F._import){v.lastIndex=this.pos;var s=v.exec(this.input),a=this.pos+s[0].length,o=this.input.charCodeAt(a);if(40===o||46===o)return this.parseExpressionStatement(n,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||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'")),u===F._import?this.parseImport(n):this.parseExport(n,i);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(n,!0,!e);var c=this.value,p=this.parseExpression();return u===F.name&&"Identifier"===p.type&&this.eat(F.colon)?this.parseLabeledStatement(n,c,p,e):this.parseExpressionStatement(n,p)}},ae.parseBreakContinueStatement=function(e,t){var i="break"===t;this.next(),this.eat(F.semi)||this.insertSemicolon()?e.label=null:this.type!==F.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r<this.labels.length;++r){var u=this.labels[r];if(null==e.label||u.name===e.label.name){if(null!=u.kind&&(i||"loop"===u.kind))break;if(e.label&&i)break}}return r===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,i?"BreakStatement":"ContinueStatement")},ae.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},ae.parseDoStatement=function(e){return this.next(),this.labels.push(oe),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(F._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(F.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},ae.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(oe),this.enterScope(0),this.expect(F.parenL),this.type===F.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var i=this.isLet();if(this.type===F._var||this.type===F._const||i){var r=this.startNode(),u=i?"let":this.value;return this.next(),this.parseVar(r,!0,u),this.finishNode(r,"VariableDeclaration"),(this.type===F._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===r.declarations.length?(this.options.ecmaVersion>=9&&(this.type===F._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r)):(t>-1&&this.unexpected(t),this.parseFor(e,r))}var n=this.isContextual("let"),s=!1,a=new se,o=this.parseExpression(!(t>-1)||"await",a);return this.type===F._in||(s=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===F._in?t>-1&&this.unexpected(t):e.await=t>-1),n&&s&&this.raise(o.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(o,!1,a),this.checkLValPattern(o),this.parseForIn(e,o)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,o))},ae.parseFunctionStatement=function(e,t,i){return this.next(),this.parseFunction(e,De|(i?0:he),!1,t)},ae.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(F._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},ae.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(F.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},ae.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(F.braceL),this.labels.push(ce),this.enterScope(0);for(var i=!1;this.type!==F.braceR;)if(this.type===F._case||this.type===F._default){var r=this.type===F._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,t.test=null),this.expect(F.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},ae.parseThrowStatement=function(e){return this.next(),g.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var pe=[];ae.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===F._catch){var t=this.startNode();if(this.next(),this.eat(F.parenL)){t.param=this.parseBindingAtom();var i="Identifier"===t.param.type;this.enterScope(i?q:0),this.checkLValPattern(t.param,i?ee:Q),this.expect(F.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(F._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},ae.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},ae.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(oe),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},ae.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},ae.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},ae.parseLabeledStatement=function(e,t,i,r){for(var u=0,n=this.labels;u<n.length;u+=1)n[u].name===t&&this.raise(i.start,"Label '"+t+"' is already declared");for(var s=this.type.isLoop?"loop":this.type===F._switch?"switch":null,a=this.labels.length-1;a>=0;a--){var o=this.labels[a];if(o.statementStart!==e.start)break;o.statementStart=this.start,o.kind=s}return this.labels.push({name:t,kind:s,statementStart:this.start}),e.body=this.parseStatement(r?-1===r.indexOf("label")?r+"label":r:"label"),this.labels.pop(),e.label=i,this.finishNode(e,"LabeledStatement")},ae.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},ae.parseBlock=function(e,t,i){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(F.braceL),e&&this.enterScope(0);this.type!==F.braceR;){var r=this.parseStatement(null);t.body.push(r)}return i&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},ae.parseFor=function(e,t){return e.init=t,this.expect(F.semi),e.test=this.type===F.semi?null:this.parseExpression(),this.expect(F.semi),e.update=this.type===F.parenR?null:this.parseExpression(),this.expect(F.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},ae.parseForIn=function(e,t){var i=this.type===F._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!i||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(t.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=i?this.parseExpression():this.parseMaybeAssign(),this.expect(F.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,i?"ForInStatement":"ForOfStatement")},ae.parseVar=function(e,t,i){for(e.declarations=[],e.kind=i;;){var r=this.startNode();if(this.parseVarId(r,i),this.eat(F.eq)?r.init=this.parseMaybeAssign(t):"const"!==i||this.type===F._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===r.id.type||t&&(this.type===F._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(F.comma))break}return e},ae.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,"var"===t?Y:Q,!1)};var De=1,he=2,le=4;function fe(e,t){var i=t.key.name,r=e[i],u="true";return"MethodDefinition"!==t.type||"get"!==t.kind&&"set"!==t.kind||(u=(t.static?"s":"i")+t.kind),"iget"===r&&"iset"===u||"iset"===r&&"iget"===u||"sget"===r&&"sset"===u||"sset"===r&&"sget"===u?(e[i]="true",!1):!!r||(e[i]=u,!1)}function de(e,t){var i=e.computed,r=e.key;return!i&&("Identifier"===r.type&&r.name===t||"Literal"===r.type&&r.value===t)}ae.parseFunction=function(e,t,i,r,u){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===F.star&&t&he&&this.unexpected(),e.generator=this.eat(F.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&De&&(e.id=t&le&&this.type!==F.name?null:this.parseIdent(),!e.id||t&he||this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Y:Q:Z));var n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(H(e.async,e.generator)),t&De||(e.id=this.type===F.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,i,!1,u),this.yieldPos=n,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,t&De?"FunctionDeclaration":"FunctionExpression")},ae.parseFunctionParams=function(e){this.expect(F.parenL),e.params=this.parseBindingList(F.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},ae.parseClass=function(e,t){this.next();var i=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.enterClassBody(),u=this.startNode(),n=!1;for(u.body=[],this.expect(F.braceL);this.type!==F.braceR;){var s=this.parseClassElement(null!==e.superClass);s&&(u.body.push(s),"MethodDefinition"===s.type&&"constructor"===s.kind?(n&&this.raise(s.start,"Duplicate constructor in the same class"),n=!0):s.key&&"PrivateIdentifier"===s.key.type&&fe(r,s)&&this.raiseRecoverable(s.key.start,"Identifier '#"+s.key.name+"' has already been declared"))}return this.strict=i,this.next(),e.body=this.finishNode(u,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},ae.parseClassElement=function(e){if(this.eat(F.semi))return null;var t=this.options.ecmaVersion,i=this.startNode(),r="",u=!1,n=!1,s="method",a=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(F.braceL))return this.parseClassStaticBlock(i),i;this.isClassElementNameStart()||this.type===F.star?a=!0:r="static"}if(i.static=a,!r&&t>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==F.star||this.canInsertSemicolon()?r="async":n=!0),!r&&(t>=9||!n)&&this.eat(F.star)&&(u=!0),!r&&!n&&!u){var o=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?s=o:r=o)}if(r?(i.computed=!1,i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),i.key.name=r,this.finishNode(i.key,"Identifier")):this.parseClassElementName(i),t<13||this.type===F.parenL||"method"!==s||u||n){var c=!i.static&&de(i,"constructor"),p=c&&e;c&&"method"!==s&&this.raise(i.key.start,"Constructor can't have get/set modifier"),i.kind=c?"constructor":s,this.parseClassMethod(i,u,n,p)}else this.parseClassField(i);return i},ae.isClassElementNameStart=function(){return this.type===F.name||this.type===F.privateId||this.type===F.num||this.type===F.string||this.type===F.bracketL||this.type.keyword},ae.parseClassElementName=function(e){this.type===F.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},ae.parseClassMethod=function(e,t,i,r){var u=e.key;"constructor"===e.kind?(t&&this.raise(u.start,"Constructor can't be a generator"),i&&this.raise(u.start,"Constructor can't be an async method")):e.static&&de(e,"prototype")&&this.raise(u.start,"Classes may not have a static property named prototype");var n=e.value=this.parseMethod(t,i,r);return"get"===e.kind&&0!==n.params.length&&this.raiseRecoverable(n.start,"getter should have no params"),"set"===e.kind&&1!==n.params.length&&this.raiseRecoverable(n.start,"setter should have exactly one param"),"set"===e.kind&&"RestElement"===n.params[0].type&&this.raiseRecoverable(n.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},ae.parseClassField=function(e){if(de(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&de(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(F.eq)){var t=this.currentThisScope(),i=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=i}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")},ae.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(J|G);this.type!==F.braceR;){var i=this.parseStatement(null);e.body.push(i)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},ae.parseClassId=function(e,t){this.type===F.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,Q,!1)):(!0===t&&this.unexpected(),e.id=null)},ae.parseClassSuper=function(e){e.superClass=this.eat(F._extends)?this.parseExprSubscripts(!1):null},ae.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},ae.exitClassBody=function(){for(var e=this.privateNameStack.pop(),t=e.declared,i=e.used,r=this.privateNameStack.length,u=0===r?null:this.privateNameStack[r-1],n=0;n<i.length;++n){var s=i[n];T(t,s.name)||(u?u.used.push(s):this.raiseRecoverable(s.start,"Private field '#"+s.name+"' must be declared in an enclosing class"))}},ae.parseExport=function(e,t){if(this.next(),this.eat(F.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==F.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(F._default)){var i;if(this.checkExport(t,"default",this.lastTokStart),this.type===F._function||(i=this.isAsyncFunction())){var r=this.startNode();this.next(),i&&this.next(),e.declaration=this.parseFunction(r,De|le,!1,i)}else if(this.type===F._class){var u=this.startNode();e.declaration=this.parseClass(u,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==F.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var n=0,s=e.specifiers;n<s.length;n+=1){var a=s[n];this.checkUnreserved(a.local),this.checkLocalExport(a.local)}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},ae.checkExport=function(e,t,i){e&&(T(e,t)&&this.raiseRecoverable(i,"Duplicate export '"+t+"'"),e[t]=!0)},ae.checkPatternExport=function(e,t){var i=t.type;if("Identifier"===i)this.checkExport(e,t.name,t.start);else if("ObjectPattern"===i)for(var r=0,u=t.properties;r<u.length;r+=1){var n=u[r];this.checkPatternExport(e,n)}else if("ArrayPattern"===i)for(var s=0,a=t.elements;s<a.length;s+=1){var o=a[s];o&&this.checkPatternExport(e,o)}else"Property"===i?this.checkPatternExport(e,t.value):"AssignmentPattern"===i?this.checkPatternExport(e,t.left):"RestElement"===i?this.checkPatternExport(e,t.argument):"ParenthesizedExpression"===i&&this.checkPatternExport(e,t.expression)},ae.checkVariableExport=function(e,t){if(e)for(var i=0,r=t;i<r.length;i+=1){var u=r[i];this.checkPatternExport(e,u.id)}},ae.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},ae.parseExportSpecifiers=function(e){var t=[],i=!0;for(this.expect(F.braceL);!this.eat(F.braceR);){if(i)i=!1;else if(this.expect(F.comma),this.afterTrailingComma(F.braceR))break;var r=this.startNode();r.local=this.parseIdent(!0),r.exported=this.eatContextual("as")?this.parseIdent(!0):r.local,this.checkExport(e,r.exported.name,r.exported.start),t.push(this.finishNode(r,"ExportSpecifier"))}return t},ae.parseImport=function(e){return this.next(),this.type===F.string?(e.specifiers=pe,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===F.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},ae.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===F.name){var i=this.startNode();if(i.local=this.parseIdent(),this.checkLValSimple(i.local,Q),e.push(this.finishNode(i,"ImportDefaultSpecifier")),!this.eat(F.comma))return e}if(this.type===F.star){var r=this.startNode();return this.next(),this.expectContextual("as"),r.local=this.parseIdent(),this.checkLValSimple(r.local,Q),e.push(this.finishNode(r,"ImportNamespaceSpecifier")),e}for(this.expect(F.braceL);!this.eat(F.braceR);){if(t)t=!1;else if(this.expect(F.comma),this.afterTrailingComma(F.braceR))break;var u=this.startNode();u.imported=this.parseIdent(!0),this.eatContextual("as")?u.local=this.parseIdent():(this.checkUnreserved(u.imported),u.local=u.imported),this.checkLValSimple(u.local,Q),e.push(this.finishNode(u,"ImportSpecifier"))}return e},ae.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},ae.isDirectiveCandidate=function(e){return"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&('"'===this.input[e.start]||"'"===this.input[e.start])};var Ee=ie.prototype;Ee.toAssignable=function(e,t,i){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",i&&this.checkPatternErrors(i,!0);for(var r=0,u=e.properties;r<u.length;r+=1){var n=u[r];this.toAssignable(n,t),"RestElement"!==n.type||"ArrayPattern"!==n.argument.type&&"ObjectPattern"!==n.argument.type||this.raise(n.argument.start,"Unexpected token")}break;case"Property":"init"!==e.kind&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",i&&this.checkPatternErrors(i,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),"AssignmentPattern"===e.argument.type&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==e.operator&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,i);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else i&&this.checkPatternErrors(i,!0);return e},Ee.toAssignableList=function(e,t){for(var i=e.length,r=0;r<i;r++){var u=e[r];u&&this.toAssignable(u,t)}if(i){var n=e[i-1];6===this.options.ecmaVersion&&t&&n&&"RestElement"===n.type&&"Identifier"!==n.argument.type&&this.unexpected(n.argument.start)}return e},Ee.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},Ee.parseRestBinding=function(){var e=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==F.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},Ee.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case F.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(F.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case F.braceL:return this.parseObj(!0)}return this.parseIdent()},Ee.parseBindingList=function(e,t,i){for(var r=[],u=!0;!this.eat(e);)if(u?u=!1:this.expect(F.comma),t&&this.type===F.comma)r.push(null);else{if(i&&this.afterTrailingComma(e))break;if(this.type===F.ellipsis){var n=this.parseRestBinding();this.parseBindingListItem(n),r.push(n),this.type===F.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}var s=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(s),r.push(s)}return r},Ee.parseBindingListItem=function(e){return e},Ee.parseMaybeDefault=function(e,t,i){if(i=i||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(F.eq))return i;var r=this.startNodeAt(e,t);return r.left=i,r.right=this.parseMaybeAssign(),this.finishNode(r,"AssignmentPattern")},Ee.checkLValSimple=function(e,t,i){void 0===t&&(t=K);var r=t!==K;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(r?"Binding ":"Assigning to ")+e.name+" in strict mode"),r&&(t===Q&&"let"===e.name&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),i&&(T(i,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),i[e.name]=!0),t!==te&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":r&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return r&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,i);default:this.raise(e.start,(r?"Binding":"Assigning to")+" rvalue")}},Ee.checkLValPattern=function(e,t,i){switch(void 0===t&&(t=K),e.type){case"ObjectPattern":for(var r=0,u=e.properties;r<u.length;r+=1){var n=u[r];this.checkLValInnerPattern(n,t,i)}break;case"ArrayPattern":for(var s=0,a=e.elements;s<a.length;s+=1){var o=a[s];o&&this.checkLValInnerPattern(o,t,i)}break;default:this.checkLValSimple(e,t,i)}},Ee.checkLValInnerPattern=function(e,t,i){switch(void 0===t&&(t=K),e.type){case"Property":this.checkLValInnerPattern(e.value,t,i);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,i);break;case"RestElement":this.checkLValPattern(e.argument,t,i);break;default:this.checkLValPattern(e,t,i)}};var me=function(e,t,i,r,u){this.token=e,this.isExpr=!!t,this.preserveSpace=!!i,this.override=r,this.generator=!!u},Ce={b_stat:new me("{",!1),b_expr:new me("{",!0),b_tmpl:new me("${",!1),p_stat:new me("(",!1),p_expr:new me("(",!0),q_tmpl:new me("`",!0,!0,(function(e){return e.tryReadTemplateToken()})),f_stat:new me("function",!1),f_expr:new me("function",!0),f_expr_gen:new me("function",!0,!1,null,!0),f_gen:new me("function",!1,!1,null,!0)},Ae=ie.prototype;Ae.initialContext=function(){return[Ce.b_stat]},Ae.curContext=function(){return this.context[this.context.length-1]},Ae.braceIsBlock=function(e){var t=this.curContext();return t===Ce.f_expr||t===Ce.f_stat||(e!==F.colon||t!==Ce.b_stat&&t!==Ce.b_expr?e===F._return||e===F.name&&this.exprAllowed?g.test(this.input.slice(this.lastTokEnd,this.start)):e===F._else||e===F.semi||e===F.eof||e===F.parenR||e===F.arrow||(e===F.braceL?t===Ce.b_stat:e!==F._var&&e!==F._const&&e!==F.name&&!this.exprAllowed):!t.isExpr)},Ae.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},Ae.updateContext=function(e){var t,i=this.type;i.keyword&&e===F.dot?this.exprAllowed=!1:(t=i.updateContext)?t.call(this,e):this.exprAllowed=i.beforeExpr},Ae.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},F.parenR.updateContext=F.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===Ce.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},F.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Ce.b_stat:Ce.b_expr),this.exprAllowed=!0},F.dollarBraceL.updateContext=function(){this.context.push(Ce.b_tmpl),this.exprAllowed=!0},F.parenL.updateContext=function(e){var t=e===F._if||e===F._for||e===F._with||e===F._while;this.context.push(t?Ce.p_stat:Ce.p_expr),this.exprAllowed=!0},F.incDec.updateContext=function(){},F._function.updateContext=F._class.updateContext=function(e){!e.beforeExpr||e===F._else||e===F.semi&&this.curContext()!==Ce.p_stat||e===F._return&&g.test(this.input.slice(this.lastTokEnd,this.start))||(e===F.colon||e===F.braceL)&&this.curContext()===Ce.b_stat?this.context.push(Ce.f_stat):this.context.push(Ce.f_expr),this.exprAllowed=!1},F.backQuote.updateContext=function(){this.curContext()===Ce.q_tmpl?this.context.pop():this.context.push(Ce.q_tmpl),this.exprAllowed=!1},F.star.updateContext=function(e){if(e===F._function){var t=this.context.length-1;this.context[t]===Ce.f_expr?this.context[t]=Ce.f_expr_gen:this.context[t]=Ce.f_gen}this.exprAllowed=!0},F.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==F.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var Fe=ie.prototype;function ge(e){return"MemberExpression"===e.type&&"PrivateIdentifier"===e.property.type||"ChainExpression"===e.type&&ge(e.expression)}Fe.checkPropClash=function(e,t,i){if(!(this.options.ecmaVersion>=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r,u=e.key;switch(u.type){case"Identifier":r=u.name;break;case"Literal":r=String(u.value);break;default:return}var n=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===r&&"init"===n&&(t.proto&&(i?i.doubleProto<0&&(i.doubleProto=u.start):this.raiseRecoverable(u.start,"Redefinition of __proto__ property")),t.proto=!0);else{var s=t[r="$"+r];s?("init"===n?this.strict&&s.init||s.get||s.set:s.init||s[n])&&this.raiseRecoverable(u.start,"Redefinition of property"):s=t[r]={init:!1,get:!1,set:!1},s[n]=!0}}},Fe.parseExpression=function(e,t){var i=this.start,r=this.startLoc,u=this.parseMaybeAssign(e,t);if(this.type===F.comma){var n=this.startNodeAt(i,r);for(n.expressions=[u];this.eat(F.comma);)n.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(n,"SequenceExpression")}return u},Fe.parseMaybeAssign=function(e,t,i){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var r=!1,u=-1,n=-1;t?(u=t.parenthesizedAssign,n=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new se,r=!0);var s=this.start,a=this.startLoc;this.type!==F.parenL&&this.type!==F.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===e);var o=this.parseMaybeConditional(e,t);if(i&&(o=i.call(this,o,s,a)),this.type.isAssign){var c=this.startNodeAt(s,a);return c.operator=this.value,this.type===F.eq&&(o=this.toAssignable(o,!1,t)),r||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=o.start&&(t.shorthandAssign=-1),this.type===F.eq?this.checkLValPattern(o):this.checkLValSimple(o),c.left=o,this.next(),c.right=this.parseMaybeAssign(e),this.finishNode(c,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),u>-1&&(t.parenthesizedAssign=u),n>-1&&(t.trailingComma=n),o},Fe.parseMaybeConditional=function(e,t){var i=this.start,r=this.startLoc,u=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return u;if(this.eat(F.question)){var n=this.startNodeAt(i,r);return n.test=u,n.consequent=this.parseMaybeAssign(),this.expect(F.colon),n.alternate=this.parseMaybeAssign(e),this.finishNode(n,"ConditionalExpression")}return u},Fe.parseExprOps=function(e,t){var i=this.start,r=this.startLoc,u=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||u.start===i&&"ArrowFunctionExpression"===u.type?u:this.parseExprOp(u,i,r,-1,e)},Fe.parseExprOp=function(e,t,i,r,u){var n=this.type.binop;if(null!=n&&(!u||this.type!==F._in)&&n>r){var s=this.type===F.logicalOR||this.type===F.logicalAND,a=this.type===F.coalesce;a&&(n=F.logicalAND.binop);var o=this.value;this.next();var c=this.start,p=this.startLoc,D=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,u),c,p,n,u),h=this.buildBinary(t,i,e,D,o,s||a);return(s&&this.type===F.coalesce||a&&(this.type===F.logicalOR||this.type===F.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(h,t,i,r,u)}return e},Fe.buildBinary=function(e,t,i,r,u,n){var s=this.startNodeAt(e,t);return s.left=i,s.operator=u,s.right=r,this.finishNode(s,n?"LogicalExpression":"BinaryExpression")},Fe.parseMaybeUnary=function(e,t,i,r){var u,n=this.start,s=this.startLoc;if(this.isContextual("await")&&this.canAwait)u=this.parseAwait(r),t=!0;else if(this.type.prefix){var a=this.startNode(),o=this.type===F.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0,o,r),this.checkExpressionErrors(e,!0),o?this.checkLValSimple(a.argument):this.strict&&"delete"===a.operator&&"Identifier"===a.argument.type?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):"delete"===a.operator&&ge(a.argument)?this.raiseRecoverable(a.start,"Private fields can not be deleted"):t=!0,u=this.finishNode(a,o?"UpdateExpression":"UnaryExpression")}else{if(u=this.parseExprSubscripts(e,r),this.checkExpressionErrors(e))return u;for(;this.type.postfix&&!this.canInsertSemicolon();){var c=this.startNodeAt(n,s);c.operator=this.value,c.prefix=!1,c.argument=u,this.checkLValSimple(u),this.next(),u=this.finishNode(c,"UpdateExpression")}}return i||!this.eat(F.starstar)?u:t?void this.unexpected(this.lastTokStart):this.buildBinary(n,s,u,this.parseMaybeUnary(null,!1,!1,r),"**",!1)},Fe.parseExprSubscripts=function(e,t){var i=this.start,r=this.startLoc,u=this.parseExprAtom(e,t);if("ArrowFunctionExpression"===u.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return u;var n=this.parseSubscripts(u,i,r,!1,t);return e&&"MemberExpression"===n.type&&(e.parenthesizedAssign>=n.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=n.start&&(e.parenthesizedBind=-1),e.trailingComma>=n.start&&(e.trailingComma=-1)),n},Fe.parseSubscripts=function(e,t,i,r,u){for(var n=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&this.potentialArrowAt===e.start,s=!1;;){var a=this.parseSubscript(e,t,i,r,n,s,u);if(a.optional&&(s=!0),a===e||"ArrowFunctionExpression"===a.type){if(s){var o=this.startNodeAt(t,i);o.expression=a,a=this.finishNode(o,"ChainExpression")}return a}e=a}},Fe.parseSubscript=function(e,t,i,r,u,n,s){var a=this.options.ecmaVersion>=11,o=a&&this.eat(F.questionDot);r&&o&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var c=this.eat(F.bracketL);if(c||o&&this.type!==F.parenL&&this.type!==F.backQuote||this.eat(F.dot)){var p=this.startNodeAt(t,i);p.object=e,c?(p.property=this.parseExpression(),this.expect(F.bracketR)):this.type===F.privateId&&"Super"!==e.type?p.property=this.parsePrivateIdent():p.property=this.parseIdent("never"!==this.options.allowReserved),p.computed=!!c,a&&(p.optional=o),e=this.finishNode(p,"MemberExpression")}else if(!r&&this.eat(F.parenL)){var D=new se,h=this.yieldPos,l=this.awaitPos,f=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var d=this.parseExprList(F.parenR,this.options.ecmaVersion>=8,!1,D);if(u&&!o&&!this.canInsertSemicolon()&&this.eat(F.arrow))return this.checkPatternErrors(D,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=h,this.awaitPos=l,this.awaitIdentPos=f,this.parseArrowExpression(this.startNodeAt(t,i),d,!0,s);this.checkExpressionErrors(D,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=l||this.awaitPos,this.awaitIdentPos=f||this.awaitIdentPos;var E=this.startNodeAt(t,i);E.callee=e,E.arguments=d,a&&(E.optional=o),e=this.finishNode(E,"CallExpression")}else if(this.type===F.backQuote){(o||n)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var m=this.startNodeAt(t,i);m.tag=e,m.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(m,"TaggedTemplateExpression")}return e},Fe.parseExprAtom=function(e,t){this.type===F.slash&&this.readRegexp();var i,r=this.potentialArrowAt===this.start;switch(this.type){case F._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),i=this.startNode(),this.next(),this.type!==F.parenL||this.allowDirectSuper||this.raise(i.start,"super() call outside constructor of a subclass"),this.type!==F.dot&&this.type!==F.bracketL&&this.type!==F.parenL&&this.unexpected(),this.finishNode(i,"Super");case F._this:return i=this.startNode(),this.next(),this.finishNode(i,"ThisExpression");case F.name:var u=this.start,n=this.startLoc,s=this.containsEsc,a=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!s&&"async"===a.name&&!this.canInsertSemicolon()&&this.eat(F._function))return this.overrideContext(Ce.f_expr),this.parseFunction(this.startNodeAt(u,n),0,!1,!0,t);if(r&&!this.canInsertSemicolon()){if(this.eat(F.arrow))return this.parseArrowExpression(this.startNodeAt(u,n),[a],!1,t);if(this.options.ecmaVersion>=8&&"async"===a.name&&this.type===F.name&&!s&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return a=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(F.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(u,n),[a],!0,t)}return a;case F.regexp:var o=this.value;return(i=this.parseLiteral(o.value)).regex={pattern:o.pattern,flags:o.flags},i;case F.num:case F.string:return this.parseLiteral(this.value);case F._null:case F._true:case F._false:return(i=this.startNode()).value=this.type===F._null?null:this.type===F._true,i.raw=this.type.keyword,this.next(),this.finishNode(i,"Literal");case F.parenL:var c=this.start,p=this.parseParenAndDistinguishExpression(r,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(p)&&(e.parenthesizedAssign=c),e.parenthesizedBind<0&&(e.parenthesizedBind=c)),p;case F.bracketL:return i=this.startNode(),this.next(),i.elements=this.parseExprList(F.bracketR,!0,!0,e),this.finishNode(i,"ArrayExpression");case F.braceL:return this.overrideContext(Ce.b_expr),this.parseObj(!1,e);case F._function:return i=this.startNode(),this.next(),this.parseFunction(i,0);case F._class:return this.parseClass(this.startNode(),!1);case F._new:return this.parseNew();case F.backQuote:return this.parseTemplate();case F._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},Fe.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case F.parenL:return this.parseDynamicImport(e);case F.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},Fe.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(F.parenR)){var t=this.start;this.eat(F.comma)&&this.eat(F.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},Fe.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),"module"===this.options.sourceType||this.options.allowImportExportEverywhere||this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},Fe.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},Fe.parseParenExpression=function(){this.expect(F.parenL);var e=this.parseExpression();return this.expect(F.parenR),e},Fe.parseParenAndDistinguishExpression=function(e,t){var i,r=this.start,u=this.startLoc,n=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s,a=this.start,o=this.startLoc,c=[],p=!0,D=!1,h=new se,l=this.yieldPos,f=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==F.parenR;){if(p?p=!1:this.expect(F.comma),n&&this.afterTrailingComma(F.parenR,!0)){D=!0;break}if(this.type===F.ellipsis){s=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===F.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}c.push(this.parseMaybeAssign(!1,h,this.parseParenItem))}var d=this.lastTokEnd,E=this.lastTokEndLoc;if(this.expect(F.parenR),e&&!this.canInsertSemicolon()&&this.eat(F.arrow))return this.checkPatternErrors(h,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=l,this.awaitPos=f,this.parseParenArrowList(r,u,c,t);c.length&&!D||this.unexpected(this.lastTokStart),s&&this.unexpected(s),this.checkExpressionErrors(h,!0),this.yieldPos=l||this.yieldPos,this.awaitPos=f||this.awaitPos,c.length>1?((i=this.startNodeAt(a,o)).expressions=c,this.finishNodeAt(i,"SequenceExpression",d,E)):i=c[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var m=this.startNodeAt(r,u);return m.expression=i,this.finishNode(m,"ParenthesizedExpression")}return i},Fe.parseParenItem=function(e){return e},Fe.parseParenArrowList=function(e,t,i,r){return this.parseArrowExpression(this.startNodeAt(e,t),i,r)};var ye=[];Fe.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(F.dot)){e.meta=t;var i=this.containsEsc;return e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),i&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var r=this.start,u=this.startLoc,n=this.type===F._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,u,!0,!1),n&&"ImportExpression"===e.callee.type&&this.raise(r,"Cannot use new with import()"),this.eat(F.parenL)?e.arguments=this.parseExprList(F.parenR,this.options.ecmaVersion>=8,!1):e.arguments=ye,this.finishNode(e,"NewExpression")},Fe.parseTemplateElement=function(e){var t=e.isTagged,i=this.startNode();return this.type===F.invalidTemplate?(t||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===F.backQuote,this.finishNode(i,"TemplateElement")},Fe.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var i=this.startNode();this.next(),i.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(i.quasis=[r];!r.tail;)this.type===F.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(F.dollarBraceL),i.expressions.push(this.parseExpression()),this.expect(F.braceR),i.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(i,"TemplateLiteral")},Fe.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===F.name||this.type===F.num||this.type===F.string||this.type===F.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===F.star)&&!g.test(this.input.slice(this.lastTokEnd,this.start))},Fe.parseObj=function(e,t){var i=this.startNode(),r=!0,u={};for(i.properties=[],this.next();!this.eat(F.braceR);){if(r)r=!1;else if(this.expect(F.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(F.braceR))break;var n=this.parseProperty(e,t);e||this.checkPropClash(n,u,t),i.properties.push(n)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")},Fe.parseProperty=function(e,t){var i,r,u,n,s=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(F.ellipsis))return e?(s.argument=this.parseIdent(!1),this.type===F.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(s,"RestElement")):(this.type===F.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),s.argument=this.parseMaybeAssign(!1,t),this.type===F.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(s,"SpreadElement"));this.options.ecmaVersion>=6&&(s.method=!1,s.shorthand=!1,(e||t)&&(u=this.start,n=this.startLoc),e||(i=this.eat(F.star)));var a=this.containsEsc;return this.parsePropertyName(s),!e&&!a&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(s)?(r=!0,i=this.options.ecmaVersion>=9&&this.eat(F.star),this.parsePropertyName(s,t)):r=!1,this.parsePropertyValue(s,e,i,r,u,n,t,a),this.finishNode(s,"Property")},Fe.parsePropertyValue=function(e,t,i,r,u,n,s,a){if((i||r)&&this.type===F.colon&&this.unexpected(),this.eat(F.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,s),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===F.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(i,r);else if(t||a||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===F.comma||this.type===F.braceR||this.type===F.eq)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((i||r)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=u),e.kind="init",t?e.value=this.parseMaybeDefault(u,n,this.copyNode(e.key)):this.type===F.eq&&s?(s.shorthandAssign<0&&(s.shorthandAssign=this.start),e.value=this.parseMaybeDefault(u,n,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected();else{(i||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var o="get"===e.kind?0:1;if(e.value.params.length!==o){var c=e.value.start;"get"===e.kind?this.raiseRecoverable(c,"getter should have no params"):this.raiseRecoverable(c,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},Fe.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(F.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(F.bracketR),e.key;e.computed=!1}return e.key=this.type===F.num||this.type===F.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},Fe.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},Fe.parseMethod=function(e,t,i){var r=this.startNode(),u=this.yieldPos,n=this.awaitPos,s=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=e),this.options.ecmaVersion>=8&&(r.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(H(t,r.generator)|G|(i?W:0)),this.expect(F.parenL),r.params=this.parseBindingList(F.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0,!1),this.yieldPos=u,this.awaitPos=n,this.awaitIdentPos=s,this.finishNode(r,"FunctionExpression")},Fe.parseArrowExpression=function(e,t,i,r){var u=this.yieldPos,n=this.awaitPos,s=this.awaitIdentPos;return this.enterScope(H(i,!1)|X),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!i),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,r),this.yieldPos=u,this.awaitPos=n,this.awaitIdentPos=s,this.finishNode(e,"ArrowFunctionExpression")},Fe.parseFunctionBody=function(e,t,i,r){var u=t&&this.type!==F.braceL,n=this.strict,s=!1;if(u)e.body=this.parseMaybeAssign(r),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);n&&!a||(s=this.strictDirective(this.end))&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var o=this.labels;this.labels=[],s&&(this.strict=!0),this.checkParams(e,!n&&!s&&!t&&!i&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,te),e.body=this.parseBlock(!1,void 0,s&&!n),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=o}this.exitScope()},Fe.isSimpleParamList=function(e){for(var t=0,i=e;t<i.length;t+=1)if("Identifier"!==i[t].type)return!1;return!0},Fe.checkParams=function(e,t){for(var i=Object.create(null),r=0,u=e.params;r<u.length;r+=1){var n=u[r];this.checkLValInnerPattern(n,Y,t?null:i)}},Fe.parseExprList=function(e,t,i,r){for(var u=[],n=!0;!this.eat(e);){if(n)n=!1;else if(this.expect(F.comma),t&&this.afterTrailingComma(e))break;var s=void 0;i&&this.type===F.comma?s=null:this.type===F.ellipsis?(s=this.parseSpread(r),r&&this.type===F.comma&&r.trailingComma<0&&(r.trailingComma=this.start)):s=this.parseMaybeAssign(!1,r),u.push(s)}return u},Fe.checkUnreserved=function(e){var t=e.start,i=e.end,r=e.name;this.inGenerator&&"yield"===r&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===r&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&"arguments"===r&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||"arguments"!==r&&"await"!==r||this.raise(t,"Cannot use "+r+" in class static initialization block"),this.keywords.test(r)&&this.raise(t,"Unexpected keyword '"+r+"'"),this.options.ecmaVersion<6&&-1!==this.input.slice(t,i).indexOf("\\")||(this.strict?this.reservedWordsStrict:this.reservedWords).test(r)&&(this.inAsync||"await"!==r||this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+r+"' is reserved"))},Fe.parseIdent=function(e,t){var i=this.startNode();return this.type===F.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(!!e),this.finishNode(i,"Identifier"),e||(this.checkUnreserved(i),"await"!==i.name||this.awaitIdentPos||(this.awaitIdentPos=i.start)),i},Fe.parsePrivateIdent=function(){var e=this.startNode();return this.type===F.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),0===this.privateNameStack.length?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e),e},Fe.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===F.semi||this.canInsertSemicolon()||this.type!==F.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(F.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},Fe.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var xe=ie.prototype;xe.raise=function(e,t){var i=L(this.input,e);t+=" ("+i.line+":"+i.column+")";var r=new SyntaxError(t);throw r.pos=e,r.loc=i,r.raisedAt=this.pos,r},xe.raiseRecoverable=xe.raise,xe.curPosition=function(){if(this.options.locations)return new N(this.curLine,this.pos-this.lineStart)};var Be=ie.prototype,ve=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};Be.enterScope=function(e){this.scopeStack.push(new ve(e))},Be.exitScope=function(){this.scopeStack.pop()},Be.treatFunctionsAsVarInScope=function(e){return e.flags&M||!this.inModule&&e.flags&V},Be.declareName=function(e,t,i){var r=!1;if(t===Q){var u=this.currentScope();r=u.lexical.indexOf(e)>-1||u.functions.indexOf(e)>-1||u.var.indexOf(e)>-1,u.lexical.push(e),this.inModule&&u.flags&V&&delete this.undefinedExports[e]}else if(t===ee)this.currentScope().lexical.push(e);else if(t===Z){var n=this.currentScope();r=this.treatFunctionsAsVar?n.lexical.indexOf(e)>-1:n.lexical.indexOf(e)>-1||n.var.indexOf(e)>-1,n.functions.push(e)}else for(var s=this.scopeStack.length-1;s>=0;--s){var a=this.scopeStack[s];if(a.lexical.indexOf(e)>-1&&!(a.flags&q&&a.lexical[0]===e)||!this.treatFunctionsAsVarInScope(a)&&a.functions.indexOf(e)>-1){r=!0;break}if(a.var.push(e),this.inModule&&a.flags&V&&delete this.undefinedExports[e],a.flags&z)break}r&&this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")},Be.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},Be.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Be.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&z)return t}},Be.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&z&&!(t.flags&X))return t}};var be=function(e,t,i){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new _(e,i)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},Se=ie.prototype;function we(e,t,i,r){return e.type=t,e.end=i,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=i),e}Se.startNode=function(){return new be(this,this.start,this.startLoc)},Se.startNodeAt=function(e,t){return new be(this,e,t)},Se.finishNode=function(e,t){return we.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},Se.finishNodeAt=function(e,t,i,r){return we.call(this,e,t,i,r)},Se.copyNode=function(e){var t=new be(this,e.start,this.startLoc);for(var i in e)t[i]=e[i];return t};var Te="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",ke=Te+" Extended_Pictographic",Ie={9:Te,10:ke,11:ke,12:ke+" EBase EComp EMod EPres ExtPict"},Ne="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",_e="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",Le=_e+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Pe=Le+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Oe={9:_e,10:Le,11:Pe,12:Pe+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi"},Re={};function je(e){var t=Re[e]={binary:I(Ie[e]+" "+Ne),nonBinary:{General_Category:I(Ne),Script:I(Oe[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}je(9),je(10),je(11),je(12);var Ve=ie.prototype,Me=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":""),this.unicodeProperties=Re[e.options.ecmaVersion>=12?12:e.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 Ue(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function $e(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function Xe(e){return h(e,!0)||36===e||95===e}function qe(e){return l(e,!0)||36===e||95===e||8204===e||8205===e}function Ge(e){return e>=65&&e<=90||e>=97&&e<=122}function We(e){return e>=0&&e<=1114111}function Je(e){return 100===e||68===e||115===e||83===e||119===e||87===e}function ze(e){return Ge(e)||95===e}function He(e){return ze(e)||Ke(e)}function Ke(e){return e>=48&&e<=57}function Ye(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Qe(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function Ze(e){return e>=48&&e<=55}Me.prototype.reset=function(e,t,i){var r=-1!==i.indexOf("u");this.start=0|e,this.source=t+"",this.flags=i,this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchN=r&&this.parser.options.ecmaVersion>=9},Me.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},Me.prototype.at=function(e,t){void 0===t&&(t=!1);var i=this.source,r=i.length;if(e>=r)return-1;var u=i.charCodeAt(e);if(!t&&!this.switchU||u<=55295||u>=57344||e+1>=r)return u;var n=i.charCodeAt(e+1);return n>=56320&&n<=57343?(u<<10)+n-56613888:u},Me.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var i=this.source,r=i.length;if(e>=r)return r;var u,n=i.charCodeAt(e);return!t&&!this.switchU||n<=55295||n>=57344||e+1>=r||(u=i.charCodeAt(e+1))<56320||u>57343?e+1:e+2},Me.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.pos,e)},Me.prototype.lookahead=function(e){return void 0===e&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},Me.prototype.advance=function(e){void 0===e&&(e=!1),this.pos=this.nextIndex(this.pos,e)},Me.prototype.eat=function(e,t){return void 0===t&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},Ve.validateRegExpFlags=function(e){for(var t=e.validFlags,i=e.flags,r=0;r<i.length;r++){var u=i.charAt(r);-1===t.indexOf(u)&&this.raise(e.start,"Invalid regular expression flag"),i.indexOf(u,r+1)>-1&&this.raise(e.start,"Duplicate regular expression flag")}},Ve.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},Ve.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,i=e.backReferenceNames;t<i.length;t+=1){var r=i[t];-1===e.groupNames.indexOf(r)&&e.raise("Invalid named capture referenced")}},Ve.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},Ve.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},Ve.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):!!(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))&&(this.regexp_eatQuantifier(e),!0)},Ve.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var i=!1;if(this.options.ecmaVersion>=9&&(i=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!i,!0}return e.pos=t,!1},Ve.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},Ve.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},Ve.regexp_eatBracedQuantifier=function(e,t){var i=e.pos;if(e.eat(123)){var r=0,u=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(u=e.lastIntValue),e.eat(125)))return-1!==u&&u<r&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=i}return!1},Ve.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},Ve.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},Ve.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}e.pos=t}return!1},Ve.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},Ve.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},Ve.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},Ve.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!$e(t)&&(e.lastIntValue=t,e.advance(),!0)},Ve.regexp_eatPatternCharacters=function(e){for(var t=e.pos,i=0;-1!==(i=e.current())&&!$e(i);)e.advance();return e.pos!==t},Ve.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t||(e.advance(),0))},Ve.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},Ve.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},Ve.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Ue(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Ue(e.lastIntValue);return!0}return!1},Ve.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,r=e.current(i);return e.advance(i),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(r=e.lastIntValue),Xe(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},Ve.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,r=e.current(i);return e.advance(i),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(r=e.lastIntValue),qe(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},Ve.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},Ve.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var i=e.lastIntValue;if(e.switchU)return i>e.maxBackReference&&(e.maxBackReference=i),!0;if(i<=e.numCapturingParens)return!0;e.pos=t}return!1},Ve.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},Ve.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},Ve.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},Ve.regexp_eatZero=function(e){return 48===e.current()&&!Ke(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},Ve.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},Ve.regexp_eatControlLetter=function(e){var t=e.current();return!!Ge(t)&&(e.lastIntValue=t%32,e.advance(),!0)},Ve.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){void 0===t&&(t=!1);var i=e.pos,r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var u=e.lastIntValue;if(r&&u>=55296&&u<=56319){var n=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(s>=56320&&s<=57343)return e.lastIntValue=1024*(u-55296)+(s-56320)+65536,!0}e.pos=n,e.lastIntValue=u}return!0}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&We(e.lastIntValue))return!0;r&&e.raise("Invalid unicode escape"),e.pos=i}return!1},Ve.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t||(e.lastIntValue=t,e.advance(),0))},Ve.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1},Ve.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(Je(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(80===t||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},Ve.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var i=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,i,r),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var u=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,u),!0}return!1},Ve.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){T(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(i)||e.raise("Invalid property value")},Ve.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},Ve.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";ze(t=e.current());)e.lastStringValue+=Ue(t),e.advance();return""!==e.lastStringValue},Ve.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";He(t=e.current());)e.lastStringValue+=Ue(t),e.advance();return""!==e.lastStringValue},Ve.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},Ve.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},Ve.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var i=e.lastIntValue;!e.switchU||-1!==t&&-1!==i||e.raise("Invalid character class"),-1!==t&&-1!==i&&t>i&&e.raise("Range out of order in character class")}}},Ve.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var i=e.current();(99===i||Ze(i))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return 93!==r&&(e.lastIntValue=r,e.advance(),!0)},Ve.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},Ve.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!Ke(t)&&95!==t||(e.lastIntValue=t%32,e.advance(),0))},Ve.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},Ve.regexp_eatDecimalDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;Ke(i=e.current());)e.lastIntValue=10*e.lastIntValue+(i-48),e.advance();return e.pos!==t},Ve.regexp_eatHexDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;Ye(i=e.current());)e.lastIntValue=16*e.lastIntValue+Qe(i),e.advance();return e.pos!==t},Ve.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var i=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*i+e.lastIntValue:e.lastIntValue=8*t+i}else e.lastIntValue=t;return!0}return!1},Ve.regexp_eatOctalDigit=function(e){var t=e.current();return Ze(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},Ve.regexp_eatFixedHexDigits=function(e,t){var i=e.pos;e.lastIntValue=0;for(var r=0;r<t;++r){var u=e.current();if(!Ye(u))return e.pos=i,!1;e.lastIntValue=16*e.lastIntValue+Qe(u),e.advance()}return!0};var et=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new _(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},tt=ie.prototype;function it(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function rt(e){return"function"!=typeof BigInt?null:BigInt(e.replace(/_/g,""))}function ut(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}tt.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new et(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},tt.getToken=function(){return this.next(),new et(this)},"undefined"!=typeof Symbol&&(tt[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===F.eof,value:t}}}}),tt.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(F.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},tt.readToken=function(e){return h(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},tt.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888},tt.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),i=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(y.lastIndex=i;(e=y.exec(this.input))&&e.index<this.pos;)++this.curLine,this.lineStart=e.index+e[0].length;this.options.onComment&&this.options.onComment(!0,this.input.slice(i+2,r),i,this.pos,t,this.curPosition())},tt.skipLineComment=function(e){for(var t=this.pos,i=this.options.onComment&&this.curPosition(),r=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!x(r);)r=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,i,this.curPosition())},tt.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){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 e}break;default:if(!(e>8&&e<14||e>=5760&&B.test(String.fromCharCode(e))))break e;++this.pos}}},tt.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var i=this.type;this.type=e,this.value=t,this.updateContext(i)},tt.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(F.ellipsis)):(++this.pos,this.finishToken(F.dot))},tt.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(F.assign,2):this.finishOp(F.slash,1)},tt.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),i=1,r=42===e?F.star:F.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++i,r=F.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(F.assign,i+1):this.finishOp(r,i)},tt.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.options.ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(F.assign,3):this.finishOp(124===e?F.logicalOR:F.logicalAND,2):61===t?this.finishOp(F.assign,2):this.finishOp(124===e?F.bitwiseOR:F.bitwiseAND,1)},tt.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(F.assign,2):this.finishOp(F.bitwiseXOR,1)},tt.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!g.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(F.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(F.assign,2):this.finishOp(F.plusMin,1)},tt.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),i=1;return t===e?(i=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+i)?this.finishOp(F.assign,i+1):this.finishOp(F.bitShift,i)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(i=2),this.finishOp(F.relational,i)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},tt.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(F.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(F.arrow)):this.finishOp(61===e?F.eq:F.prefix,1)},tt.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(46===t){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57)return this.finishOp(F.questionDot,2)}if(63===t)return e>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(F.assign,3):this.finishOp(F.coalesce,2)}return this.finishOp(F.question,1)},tt.readToken_numberSign=function(){var e=35;if(this.options.ecmaVersion>=13&&(++this.pos,h(e=this.fullCharCodeAtPos(),!0)||92===e))return this.finishToken(F.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+ut(e)+"'")},tt.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(F.parenL);case 41:return++this.pos,this.finishToken(F.parenR);case 59:return++this.pos,this.finishToken(F.semi);case 44:return++this.pos,this.finishToken(F.comma);case 91:return++this.pos,this.finishToken(F.bracketL);case 93:return++this.pos,this.finishToken(F.bracketR);case 123:return++this.pos,this.finishToken(F.braceL);case 125:return++this.pos,this.finishToken(F.braceR);case 58:return++this.pos,this.finishToken(F.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(F.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)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(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(F.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+ut(e)+"'")},tt.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,i)},tt.readRegexp=function(){for(var e,t,i=this.pos;;){this.pos>=this.input.length&&this.raise(i,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(g.test(r)&&this.raise(i,"Unterminated regular expression"),e)e=!1;else{if("["===r)t=!0;else if("]"===r&&t)t=!1;else if("/"===r&&!t)break;e="\\"===r}++this.pos}var u=this.input.slice(i,this.pos);++this.pos;var n=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(n);var a=this.regexpState||(this.regexpState=new Me(this));a.reset(i,u,s),this.validateRegExpFlags(a),this.validateRegExpPattern(a);var o=null;try{o=new RegExp(u,s)}catch(e){}return this.finishToken(F.regexp,{pattern:u,flags:s,value:o})},tt.readInt=function(e,t,i){for(var r=this.options.ecmaVersion>=12&&void 0===t,u=i&&48===this.input.charCodeAt(this.pos),n=this.pos,s=0,a=0,o=0,c=null==t?1/0:t;o<c;++o,++this.pos){var p=this.input.charCodeAt(this.pos),D=void 0;if(r&&95===p)u&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===a&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===o&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),a=p;else{if((D=p>=97?p-97+10:p>=65?p-65+10:p>=48&&p<=57?p-48:1/0)>=e)break;a=p,s=s*e+D}}return r&&95===a&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===n||null!=t&&this.pos-n!==t?null:s},tt.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);return null==i&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(i=rt(this.input.slice(t,this.pos)),++this.pos):h(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(F.num,i)},tt.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10,void 0,!0)||this.raise(t,"Invalid number");var i=this.pos-t>=2&&48===this.input.charCodeAt(t);i&&this.strict&&this.raise(t,"Invalid number");var r=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&110===r){var u=rt(this.input.slice(t,this.pos));return++this.pos,h(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(F.num,u)}i&&/[89]/.test(this.input.slice(t,this.pos))&&(i=!1),46!==r||i||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||i||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),h(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var n=it(this.input.slice(t,this.pos),i);return this.finishToken(F.num,n)},tt.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},tt.readString=function(e){for(var t="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(i,this.pos),t+=this.readEscapedChar(!1),i=this.pos):8232===r||8233===r?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(x(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(i,this.pos++),this.finishToken(F.string,t)};var nt={};tt.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==nt)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},tt.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw nt;this.raise(e,t)},tt.readTmplToken=function(){for(var e="",t=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!==F.template&&this.type!==F.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(F.template,e)):36===i?(this.pos+=2,this.finishToken(F.dollarBraceL)):(++this.pos,this.finishToken(F.backQuote));if(92===i)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(x(i)){switch(e+=this.input.slice(t,this.pos),++this.pos,i){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(i)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},tt.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(F.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},tt.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return ut(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(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var i=this.pos-1;return this.invalidStringToken(i,"Invalid escape sequence in template string"),null}default:if(t>=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],u=parseInt(r,8);return u>255&&(r=r.slice(0,-1),u=parseInt(r,8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),"0"===r&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(u)}return x(t)?"":String.fromCharCode(t)}},tt.readHexChar=function(e){var t=this.pos,i=this.readInt(16,e);return null===i&&this.invalidStringToken(t,"Bad character escape sequence"),i},tt.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,i=this.pos,r=this.options.ecmaVersion>=6;this.pos<this.input.length;){var u=this.fullCharCodeAtPos();if(l(u,r))this.pos+=u<=65535?1:2;else{if(92!==u)break;this.containsEsc=!0,e+=this.input.slice(i,this.pos);var n=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var s=this.readCodePoint();(t?h:l)(s,r)||this.invalidStringToken(n,"Invalid Unicode escape"),e+=ut(s),i=this.pos}t=!1}return e+this.input.slice(i,this.pos)},tt.readWord=function(){var e=this.readWord1(),t=F.name;return this.keywords.test(e)&&(t=C[e]),this.finishToken(t,e)};var st="8.5.0";function at(e,t){return ie.parse(e,t)}function ot(e,t,i){return ie.parseExpressionAt(e,t,i)}function ct(e,t){return ie.tokenizer(e,t)}ie.acorn={Parser:ie,version:st,defaultOptions:P,Position:N,SourceLocation:_,getLineInfo:L,Node:be,TokenType:f,tokTypes:F,keywordTypes:C,TokContext:me,tokContexts:Ce,isIdentifierChar:l,isIdentifierStart:h,Token:et,isNewLine:x,lineBreak:g,lineBreakG:y,nonASCIIwhitespace:B},e.Node=be,e.Parser=ie,e.Position=N,e.SourceLocation=_,e.TokContext=me,e.Token=et,e.TokenType=f,e.defaultOptions=P,e.getLineInfo=L,e.isIdentifierChar=l,e.isIdentifierStart=h,e.isNewLine=x,e.keywordTypes=C,e.lineBreak=g,e.lineBreakG=y,e.nonASCIIwhitespace=B,e.parse=at,e.parseExpressionAt=ot,e.tokContexts=Ce,e.tokTypes=F,e.tokenizer=ct,e.version=st,Object.defineProperty(e,"__esModule",{value:!0})}(t)})),ws={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02c6",tilde:"\u02dc",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203a",oline:"\u203e",frasl:"\u2044",euro:"\u20ac",image:"\u2111",weierp:"\u2118",real:"\u211c",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lArr:"\u21d0",uArr:"\u21d1",rArr:"\u21d2",dArr:"\u21d3",hArr:"\u21d4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",lang:"\u2329",rang:"\u232a",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},Ts=v((function(e){const t=/^[\da-fA-F]+$/,i=/^\d+$/,r=new WeakMap;function u(e){e=e.Parser.acorn||e;let t=r.get(e);if(!t){const i=e.tokTypes,u=e.TokContext,n=e.TokenType,s=new u("<tag",!1),a=new u("</tag",!1),o=new u("<tag>...</tag>",!0,!0),c={tc_oTag:s,tc_cTag:a,tc_expr:o},p={jsxName:new n("jsxName"),jsxText:new n("jsxText",{beforeExpr:!0}),jsxTagStart:new n("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new n("jsxTagEnd")};p.jsxTagStart.updateContext=function(){this.context.push(o),this.context.push(s),this.exprAllowed=!1},p.jsxTagEnd.updateContext=function(e){let t=this.context.pop();t===s&&e===i.slash||t===a?(this.context.pop(),this.exprAllowed=this.curContext()===o):this.exprAllowed=!0},t={tokContexts:c,tokTypes:p},r.set(e,t)}return t}function n(e){return e?"JSXIdentifier"===e.type?e.name:"JSXNamespacedName"===e.type?e.namespace.name+":"+e.name.name:"JSXMemberExpression"===e.type?n(e.object)+"."+n(e.property):void 0:e}e.exports=function(e){return e=e||{},function(r){return function(e,r){const s=r.acorn||Ss,a=u(s),o=s.tokTypes,c=a.tokTypes,p=s.tokContexts,D=a.tokContexts.tc_oTag,h=a.tokContexts.tc_cTag,l=a.tokContexts.tc_expr,f=s.isNewLine,d=s.isIdentifierStart,E=s.isIdentifierChar;return class extends r{static get acornJsx(){return a}jsx_readToken(){let e="",t=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let i=this.input.charCodeAt(this.pos);switch(i){case 60:case 123:return this.pos===this.start?60===i&&this.exprAllowed?(++this.pos,this.finishToken(c.jsxTagStart)):this.getTokenFromCode(i):(e+=this.input.slice(t,this.pos),this.finishToken(c.jsxText,e));case 38:e+=this.input.slice(t,this.pos),e+=this.jsx_readEntity(),t=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(62===i?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:f(i)?(e+=this.input.slice(t,this.pos),e+=this.jsx_readNewLine(!0),t=this.pos):++this.pos}}}jsx_readNewLine(e){let t,i=this.input.charCodeAt(this.pos);return++this.pos,13===i&&10===this.input.charCodeAt(this.pos)?(++this.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(i),this.options.locations&&(++this.curLine,this.lineStart=this.pos),t}jsx_readString(e){let t="",i=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let r=this.input.charCodeAt(this.pos);if(r===e)break;38===r?(t+=this.input.slice(i,this.pos),t+=this.jsx_readEntity(),i=this.pos):f(r)?(t+=this.input.slice(i,this.pos),t+=this.jsx_readNewLine(!1),i=this.pos):++this.pos}return t+=this.input.slice(i,this.pos++),this.finishToken(o.string,t)}jsx_readEntity(){let e,r="",u=0,n=this.input[this.pos];"&"!==n&&this.raise(this.pos,"Entity must start with an ampersand");let s=++this.pos;for(;this.pos<this.input.length&&u++<10;){if(n=this.input[this.pos++],";"===n){"#"===r[0]?"x"===r[1]?(r=r.substr(2),t.test(r)&&(e=String.fromCharCode(parseInt(r,16)))):(r=r.substr(1),i.test(r)&&(e=String.fromCharCode(parseInt(r,10)))):e=ws[r];break}r+=n}return e||(this.pos=s,"&")}jsx_readWord(){let e,t=this.pos;do{e=this.input.charCodeAt(++this.pos)}while(E(e)||45===e);return this.finishToken(c.jsxName,this.input.slice(t,this.pos))}jsx_parseIdentifier(){let e=this.startNode();return this.type===c.jsxName?e.name=this.value:this.type.keyword?e.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsx_parseNamespacedName(){let t=this.start,i=this.startLoc,r=this.jsx_parseIdentifier();if(!e.allowNamespaces||!this.eat(o.colon))return r;var u=this.startNodeAt(t,i);return u.namespace=r,u.name=this.jsx_parseIdentifier(),this.finishNode(u,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===c.jsxTagEnd)return"";let t=this.start,i=this.startLoc,r=this.jsx_parseNamespacedName();for(this.type!==o.dot||"JSXNamespacedName"!==r.type||e.allowNamespacedObjects||this.unexpected();this.eat(o.dot);){let e=this.startNodeAt(t,i);e.object=r,e.property=this.jsx_parseIdentifier(),r=this.finishNode(e,"JSXMemberExpression")}return r}jsx_parseAttributeValue(){switch(this.type){case o.braceL:let e=this.jsx_parseExpressionContainer();return"JSXEmptyExpression"===e.expression.type&&this.raise(e.start,"JSX attributes must only be assigned a non-empty expression"),e;case c.jsxTagStart:case o.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let e=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let e=this.startNode();return this.next(),e.expression=this.type===o.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(o.braceR),this.finishNode(e,"JSXExpressionContainer")}jsx_parseAttribute(){let e=this.startNode();return this.eat(o.braceL)?(this.expect(o.ellipsis),e.argument=this.parseMaybeAssign(),this.expect(o.braceR),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsx_parseNamespacedName(),e.value=this.eat(o.eq)?this.jsx_parseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsx_parseOpeningElementAt(e,t){let i=this.startNodeAt(e,t);i.attributes=[];let r=this.jsx_parseElementName();for(r&&(i.name=r);this.type!==o.slash&&this.type!==c.jsxTagEnd;)i.attributes.push(this.jsx_parseAttribute());return i.selfClosing=this.eat(o.slash),this.expect(c.jsxTagEnd),this.finishNode(i,r?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(e,t){let i=this.startNodeAt(e,t),r=this.jsx_parseElementName();return r&&(i.name=r),this.expect(c.jsxTagEnd),this.finishNode(i,r?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(e,t){let i=this.startNodeAt(e,t),r=[],u=this.jsx_parseOpeningElementAt(e,t),s=null;if(!u.selfClosing){e:for(;;)switch(this.type){case c.jsxTagStart:if(e=this.start,t=this.startLoc,this.next(),this.eat(o.slash)){s=this.jsx_parseClosingElementAt(e,t);break e}r.push(this.jsx_parseElementAt(e,t));break;case c.jsxText:r.push(this.parseExprAtom());break;case o.braceL:r.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}n(s.name)!==n(u.name)&&this.raise(s.start,"Expected corresponding JSX closing tag for <"+n(u.name)+">")}let a=u.name?"Element":"Fragment";return i["opening"+a]=u,i["closing"+a]=s,i.children=r,this.type===o.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(i,"JSX"+a)}jsx_parseText(){let e=this.parseLiteral(this.value);return e.type="JSXText",e}jsx_parseElement(){let e=this.start,t=this.startLoc;return this.next(),this.jsx_parseElementAt(e,t)}parseExprAtom(e){return this.type===c.jsxText?this.jsx_parseText():this.type===c.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(e)}readToken(e){let t=this.curContext();if(t===l)return this.jsx_readToken();if(t===D||t===h){if(d(e))return this.jsx_readWord();if(62==e)return++this.pos,this.finishToken(c.jsxTagEnd);if((34===e||39===e)&&t==D)return this.jsx_readString(e)}return 60===e&&this.exprAllowed&&33!==this.input.charCodeAt(this.pos+1)?(++this.pos,this.finishToken(c.jsxTagStart)):super.readToken(e)}updateContext(e){if(this.type==o.braceL){var t=this.curContext();t==D?this.context.push(p.b_expr):t==l?this.context.push(p.b_tmpl):super.updateContext(e),this.exprAllowed=!0}else{if(this.type!==o.slash||e!==c.jsxTagStart)return super.updateContext(e);this.context.length-=2,this.context.push(h),this.exprAllowed=!1}}}}({allowNamespaces:!1!==e.allowNamespaces,allowNamespacedObjects:!!e.allowNamespacedObjects},r)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return u(Ss).tokTypes},configurable:!0,enumerable:!0})}));const ks={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["exported","source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportExpression:["source"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},Is=Object.keys(ks);for(const e of Is)Object.freeze(ks[e]);Object.freeze(ks);const Ns=new Set(["parent","leadingComments","trailingComments"]);function _s(e){return!Ns.has(e)&&"_"!==e[0]}var Ls=ks,Ps=function(e){return Object.keys(e).filter(_s)},Os=function(e){const t=Object.assign({},ks);for(const i of Object.keys(e))if(Object.prototype.hasOwnProperty.call(t,i)){const r=new Set(e[i]);for(const e of t[i])r.add(e);t[i]=Object.freeze(Array.from(r))}else t[i]=Object.freeze(Array.from(e[i]));return Object.freeze(t)},Rs=Object.defineProperty({KEYS:Ls,getKeys:Ps,unionWith:Os},"__esModule",{value:!0});function js(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function Vs(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(i){if("default"!==i){var r=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:function(){return e[i]}})}})),t.default=e,Object.freeze(t)}var Ms=Vs(Ss),Us=js(Ts),$s=Vs(Rs),Xs={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression",JSXIdentifier:"JSXIdentifier",JSXNamespacedName:"JSXNamespacedName",JSXMemberExpression:"JSXMemberExpression",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXElement:"JSXElement",JSXClosingElement:"JSXClosingElement",JSXOpeningElement:"JSXOpeningElement",JSXAttribute:"JSXAttribute",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportAllDeclaration:"ExportAllDeclaration",ExportSpecifier:"ExportSpecifier",ImportDeclaration:"ImportDeclaration",ImportSpecifier:"ImportSpecifier",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier"};const qs="Boolean",Gs="Identifier",Ws="PrivateIdentifier",Js="Keyword",zs="Null",Hs="Numeric",Ks="Punctuator",Ys="String",Qs="RegularExpression",Zs="Template",ea="JSXIdentifier",ta="JSXText";function ia(e,t){this._acornTokTypes=e,this._tokens=[],this._curlyBrace=null,this._code=t}ia.prototype={constructor:ia,translate(e,t){const i=e.type,r=this._acornTokTypes;if(i===r.name)e.type=Gs,"static"===e.value&&(e.type=Js),t.ecmaVersion>5&&("yield"===e.value||"let"===e.value)&&(e.type=Js);else if(i===r.privateId)e.type=Ws;else if(i===r.semi||i===r.comma||i===r.parenL||i===r.parenR||i===r.braceL||i===r.braceR||i===r.dot||i===r.bracketL||i===r.colon||i===r.question||i===r.bracketR||i===r.ellipsis||i===r.arrow||i===r.jsxTagStart||i===r.incDec||i===r.starstar||i===r.jsxTagEnd||i===r.prefix||i===r.questionDot||i.binop&&!i.keyword||i.isAssign)e.type=Ks,e.value=this._code.slice(e.start,e.end);else if(i===r.jsxName)e.type=ea;else if("jsxText"===i.label||i===r.jsxAttrValueToken)e.type=ta;else if(i.keyword)"true"===i.keyword||"false"===i.keyword?e.type=qs:"null"===i.keyword?e.type=zs:e.type=Js;else if(i===r.num)e.type=Hs,e.value=this._code.slice(e.start,e.end);else if(i===r.string)t.jsxAttrValueToken?(t.jsxAttrValueToken=!1,e.type=ta):e.type=Ys,e.value=this._code.slice(e.start,e.end);else if(i===r.regexp){e.type=Qs;const t=e.value;e.regex={flags:t.flags,pattern:t.pattern},e.value=`/${t.pattern}/${t.flags}`}return e},onToken(e,t){const i=this,r=this._acornTokTypes,u=t.tokens,n=this._tokens;function s(){u.push(function(e,t){const i=e[0],r=e[e.length-1],u={type:Zs,value:t.slice(i.start,r.end)};return i.loc&&(u.loc={start:i.loc.start,end:r.loc.end}),i.range&&(u.start=i.range[0],u.end=r.range[1],u.range=[u.start,u.end]),u}(i._tokens,i._code)),i._tokens=[]}if(e.type!==r.eof){if(e.type===r.backQuote)return this._curlyBrace&&(u.push(this.translate(this._curlyBrace,t)),this._curlyBrace=null),n.push(e),void(n.length>1&&s());if(e.type===r.dollarBraceL)return n.push(e),void s();if(e.type===r.braceR)return this._curlyBrace&&u.push(this.translate(this._curlyBrace,t)),void(this._curlyBrace=e);if(e.type===r.template||e.type===r.invalidTemplate)return this._curlyBrace&&(n.push(this._curlyBrace),this._curlyBrace=null),void n.push(e);this._curlyBrace&&(u.push(this.translate(this._curlyBrace,t)),this._curlyBrace=null),u.push(this.translate(e,t))}else this._curlyBrace&&u.push(this.translate(this._curlyBrace,t))}};const ra=[3,5,6,7,8,9,10,11,12,13];function ua(){return ra[ra.length-1]}function na(e){const t=function(e=5){let t="latest"===e?ua():e;if("number"!=typeof t)throw new Error(`ecmaVersion must be a number or "latest". Received value of type ${typeof e} instead.`);if(t>=2015&&(t-=2009),!ra.includes(t))throw new Error("Invalid ecmaVersion.");return t}(e.ecmaVersion),i=function(e="script"){if("script"===e||"module"===e)return e;throw new Error("Invalid sourceType.")}(e.sourceType),r=!0===e.range,u=!0===e.loc,n=3===t&&"never";if("module"===i&&t<6)throw new Error("sourceType 'module' is not supported when ecmaVersion < 2015. Consider adding `{ ecmaVersion: 2015 }` to the parser options.");return Object.assign({},e,{ecmaVersion:t,sourceType:i,ranges:r,locations:u,allowReserved:n})}const sa=Symbol("espree's internal state"),aa=Symbol("espree's esprimaFinishNode");var oa=()=>e=>{const t=Object.assign({},e.acorn.tokTypes);return e.acornJsx&&Object.assign(t,e.acornJsx.tokTypes),class extends e{constructor(e,i){"object"==typeof e&&null!==e||(e={}),"string"==typeof i||i instanceof String||(i=String(i));const r=na(e),u=r.ecmaFeatures||{},n=!0===r.tokens?new ia(t,i):null;super({ecmaVersion:r.ecmaVersion,sourceType:r.sourceType,ranges:r.ranges,locations:r.locations,allowReserved:r.allowReserved,allowReturnOutsideFunction:Boolean(u.globalReturn),onToken:e=>{n&&n.onToken(e,this[sa]),e.type!==t.eof&&(this[sa].lastToken=e)},onComment:(e,t,i,r,u,n)=>{if(this[sa].comments){const s=function(e,t,i,r,u,n){const s={type:e?"Block":"Line",value:t};return"number"==typeof i&&(s.start=i,s.end=r,s.range=[i,r]),"object"==typeof u&&(s.loc={start:u,end:n}),s}(e,t,i,r,u,n);this[sa].comments.push(s)}}},i),this[sa]={tokens:n?[]:null,comments:!0===r.comment?[]:null,impliedStrict:!0===u.impliedStrict&&this.options.ecmaVersion>=5,ecmaVersion:this.options.ecmaVersion,jsxAttrValueToken:!1,lastToken:null,templateElements:[]}}tokenize(){do{this.next()}while(this.type!==t.eof);this.next();const e=this[sa],i=e.tokens;return e.comments&&(i.comments=e.comments),i}finishNode(...e){const t=super.finishNode(...e);return this[aa](t)}finishNodeAt(...e){const t=super.finishNodeAt(...e);return this[aa](t)}parse(){const e=this[sa],t=super.parse();if(t.sourceType=this.options.sourceType,e.comments&&(t.comments=e.comments),e.tokens&&(t.tokens=e.tokens),t.body.length){const[e]=t.body;t.range&&(t.range[0]=e.range[0]),t.loc&&(t.loc.start=e.loc.start),t.start=e.start}return e.lastToken&&(t.range&&(t.range[1]=e.lastToken.range[1]),t.loc&&(t.loc.end=e.lastToken.loc.end),t.end=e.lastToken.end),this[sa].templateElements.forEach((e=>{const t=e.tail?1:2;e.start+=-1,e.end+=t,e.range&&(e.range[0]+=-1,e.range[1]+=t),e.loc&&(e.loc.start.column+=-1,e.loc.end.column+=t)})),t}parseTopLevel(e){return this[sa].impliedStrict&&(this.strict=!0),super.parseTopLevel(e)}raise(t,i){const r=e.acorn.getLineInfo(this.input,t),u=new SyntaxError(i);throw u.index=t,u.lineNumber=r.line,u.column=r.column+1,u}raiseRecoverable(e,t){this.raise(e,t)}unexpected(e){let t="Unexpected token";if(null!=e){if(this.pos=e,this.options.locations)for(;this.pos<this.lineStart;)this.lineStart=this.input.lastIndexOf("\n",this.lineStart-2)+1,--this.curLine;this.nextToken()}this.end>this.start&&(t+=` ${this.input.slice(this.start,this.end)}`),this.raise(this.start,t)}jsx_readString(e){const i=super.jsx_readString(e);return this.type===t.string&&(this[sa].jsxAttrValueToken=!0),i}[aa](e){return"TemplateElement"===e.type&&this[sa].templateElements.push(e),e.type.includes("Function")&&!e.generator&&(e.generator=!1),e}}};const ca={_regular:null,_jsx:null,get regular(){return null===this._regular&&(this._regular=Ms.Parser.extend(oa())),this._regular},get jsx(){return null===this._jsx&&(this._jsx=Ms.Parser.extend(Us.default(),oa())),this._jsx},get(e){return Boolean(e&&e.ecmaFeatures&&e.ecmaFeatures.jsx)?this.jsx:this.regular}};var pa=function(){let e,t={};for(e in"function"==typeof Object.create&&(t=Object.create(null)),Xs)Object.hasOwnProperty.call(Xs,e)&&(t[e]=Xs[e]);return"function"==typeof Object.freeze&&Object.freeze(t),t}(),Da=$s.KEYS,ha=ua(),la=function(e,t){return new(ca.get(t))(t,e).parse()},fa=[...ra],da=function(e,t){const i=ca.get(t);return t&&!0===t.tokens||(t=Object.assign({},t,{tokens:!0})),new i(t,e).tokenize()},Ea=Object.defineProperty({Syntax:pa,VisitorKeys:Da,latestEcmaVersion:ha,parse:la,supportedEcmaVersions:fa,tokenize:da,version:"9.0.0"},"__esModule",{value:!0});const ma={ecmaVersion:"latest",range:!0,loc:!0,comment:!0,tokens:!0,sourceType:"module",ecmaFeatures:{jsx:!0,globalReturn:!0,impliedStrict:!1}};return{parsers:{espree:hu((function(t,r,u){const{parse:n}=Ea,s=lu(t),{result:a,error:o}=i((()=>n(s,Object.assign(Object.assign({},ma),{},{sourceType:"module"}))),(()=>n(s,Object.assign(Object.assign({},ma),{},{sourceType:"script"}))));if(!a)throw function(t){const{message:i,lineNumber:r,column:u}=t;return"number"!=typeof r?t:e(i,{start:{line:r,column:u}})}(o);return bs(a,Object.assign(Object.assign({},u),{},{originalText:t}))}))}}}));
1
+ (function(e){if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var i=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};i.prettierPlugins=i.prettierPlugins||{},i.prettierPlugins.espree=e()}})(function(){"use strict";var S=(n,o)=>()=>(o||n((o={exports:{}}).exports,o),o.exports);var $=S((Nh,qr)=>{var Ze=function(n){return n&&n.Math==Math&&n};qr.exports=Ze(typeof globalThis=="object"&&globalThis)||Ze(typeof window=="object"&&window)||Ze(typeof self=="object"&&self)||Ze(typeof global=="object"&&global)||function(){return this}()||Function("return this")()});var ye=S((Dh,Mr)=>{Mr.exports=function(n){try{return!!n()}catch{return!0}}});var _e=S((Oh,Ur)=>{var en=ye();Ur.exports=!en(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})});var Ct=S((Lh,zr)=>{var tn=ye();zr.exports=!tn(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")})});var et=S((Vh,Wr)=>{var rn=Ct(),$e=Function.prototype.call;Wr.exports=rn?$e.bind($e):function(){return $e.apply($e,arguments)}});var Hr=S(Xr=>{"use strict";var Gr={}.propertyIsEnumerable,Kr=Object.getOwnPropertyDescriptor,sn=Kr&&!Gr.call({1:2},1);Xr.f=sn?function(o){var u=Kr(this,o);return!!u&&u.enumerable}:Gr});var Et=S((jh,Jr)=>{Jr.exports=function(n,o){return{enumerable:!(n&1),configurable:!(n&2),writable:!(n&4),value:o}}});var ce=S((qh,Zr)=>{var Yr=Ct(),Qr=Function.prototype,an=Qr.bind,bt=Qr.call,nn=Yr&&an.bind(bt,bt);Zr.exports=Yr?function(n){return n&&nn(n)}:function(n){return n&&function(){return bt.apply(n,arguments)}}});var ti=S((Mh,ei)=>{var $r=ce(),on=$r({}.toString),un=$r("".slice);ei.exports=function(n){return un(on(n),8,-1)}});var ii=S((Uh,ri)=>{var hn=$(),ln=ce(),cn=ye(),pn=ti(),_t=hn.Object,fn=ln("".split);ri.exports=cn(function(){return!_t("z").propertyIsEnumerable(0)})?function(n){return pn(n)=="String"?fn(n,""):_t(n)}:_t});var St=S((zh,si)=>{var dn=$(),mn=dn.TypeError;si.exports=function(n){if(n==null)throw mn("Can't call method on "+n);return n}});var tt=S((Wh,ai)=>{var vn=ii(),gn=St();ai.exports=function(n){return vn(gn(n))}});var pe=S((Gh,ni)=>{ni.exports=function(n){return typeof n=="function"}});var Ie=S((Kh,oi)=>{var xn=pe();oi.exports=function(n){return typeof n=="object"?n!==null:xn(n)}});var rt=S((Xh,ui)=>{var wt=$(),yn=pe(),An=function(n){return yn(n)?n:void 0};ui.exports=function(n,o){return arguments.length<2?An(wt[n]):wt[n]&&wt[n][o]}});var li=S((Hh,hi)=>{var Cn=ce();hi.exports=Cn({}.isPrototypeOf)});var pi=S((Jh,ci)=>{var En=rt();ci.exports=En("navigator","userAgent")||""});var yi=S((Yh,xi)=>{var gi=$(),kt=pi(),fi=gi.process,di=gi.Deno,mi=fi&&fi.versions||di&&di.version,vi=mi&&mi.v8,he,it;vi&&(he=vi.split("."),it=he[0]>0&&he[0]<4?1:+(he[0]+he[1]));!it&&kt&&(he=kt.match(/Edge\/(\d+)/),(!he||he[1]>=74)&&(he=kt.match(/Chrome\/(\d+)/),he&&(it=+he[1])));xi.exports=it});var Ft=S((Qh,Ci)=>{var Ai=yi(),bn=ye();Ci.exports=!!Object.getOwnPropertySymbols&&!bn(function(){var n=Symbol();return!String(n)||!(Object(n)instanceof Symbol)||!Symbol.sham&&Ai&&Ai<41})});var Bt=S((Zh,Ei)=>{var _n=Ft();Ei.exports=_n&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var Tt=S(($h,bi)=>{var Sn=$(),wn=rt(),kn=pe(),Fn=li(),Bn=Bt(),Tn=Sn.Object;bi.exports=Bn?function(n){return typeof n=="symbol"}:function(n){var o=wn("Symbol");return kn(o)&&Fn(o.prototype,Tn(n))}});var Si=S((el,_i)=>{var In=$(),Pn=In.String;_i.exports=function(n){try{return Pn(n)}catch{return"Object"}}});var ki=S((tl,wi)=>{var Nn=$(),Dn=pe(),On=Si(),Ln=Nn.TypeError;wi.exports=function(n){if(Dn(n))return n;throw Ln(On(n)+" is not a function")}});var Bi=S((rl,Fi)=>{var Vn=ki();Fi.exports=function(n,o){var u=n[o];return u==null?void 0:Vn(u)}});var Ii=S((il,Ti)=>{var Rn=$(),It=et(),Pt=pe(),Nt=Ie(),jn=Rn.TypeError;Ti.exports=function(n,o){var u,l;if(o==="string"&&Pt(u=n.toString)&&!Nt(l=It(u,n))||Pt(u=n.valueOf)&&!Nt(l=It(u,n))||o!=="string"&&Pt(u=n.toString)&&!Nt(l=It(u,n)))return l;throw jn("Can't convert object to primitive value")}});var Ni=S((sl,Pi)=>{Pi.exports=!1});var st=S((al,Oi)=>{var Di=$(),qn=Object.defineProperty;Oi.exports=function(n,o){try{qn(Di,n,{value:o,configurable:!0,writable:!0})}catch{Di[n]=o}return o}});var at=S((nl,Vi)=>{var Mn=$(),Un=st(),Li="__core-js_shared__",zn=Mn[Li]||Un(Li,{});Vi.exports=zn});var Dt=S((ol,ji)=>{var Wn=Ni(),Ri=at();(ji.exports=function(n,o){return Ri[n]||(Ri[n]=o!==void 0?o:{})})("versions",[]).push({version:"3.21.1",mode:Wn?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})});var Mi=S((ul,qi)=>{var Gn=$(),Kn=St(),Xn=Gn.Object;qi.exports=function(n){return Xn(Kn(n))}});var Ae=S((hl,Ui)=>{var Hn=ce(),Jn=Mi(),Yn=Hn({}.hasOwnProperty);Ui.exports=Object.hasOwn||function(o,u){return Yn(Jn(o),u)}});var Ot=S((ll,zi)=>{var Qn=ce(),Zn=0,$n=Math.random(),eo=Qn(1 .toString);zi.exports=function(n){return"Symbol("+(n===void 0?"":n)+")_"+eo(++Zn+$n,36)}});var Ji=S((cl,Hi)=>{var to=$(),ro=Dt(),Wi=Ae(),io=Ot(),Gi=Ft(),Xi=Bt(),Pe=ro("wks"),Se=to.Symbol,Ki=Se&&Se.for,so=Xi?Se:Se&&Se.withoutSetter||io;Hi.exports=function(n){if(!Wi(Pe,n)||!(Gi||typeof Pe[n]=="string")){var o="Symbol."+n;Gi&&Wi(Se,n)?Pe[n]=Se[n]:Xi&&Ki?Pe[n]=Ki(o):Pe[n]=so(o)}return Pe[n]}});var $i=S((pl,Zi)=>{var ao=$(),no=et(),Yi=Ie(),Qi=Tt(),oo=Bi(),uo=Ii(),ho=Ji(),lo=ao.TypeError,co=ho("toPrimitive");Zi.exports=function(n,o){if(!Yi(n)||Qi(n))return n;var u=oo(n,co),l;if(u){if(o===void 0&&(o="default"),l=no(u,n,o),!Yi(l)||Qi(l))return l;throw lo("Can't convert object to primitive value")}return o===void 0&&(o="number"),uo(n,o)}});var Lt=S((fl,es)=>{var po=$i(),fo=Tt();es.exports=function(n){var o=po(n,"string");return fo(o)?o:o+""}});var is=S((dl,rs)=>{var mo=$(),ts=Ie(),Vt=mo.document,vo=ts(Vt)&&ts(Vt.createElement);rs.exports=function(n){return vo?Vt.createElement(n):{}}});var Rt=S((ml,ss)=>{var go=_e(),xo=ye(),yo=is();ss.exports=!go&&!xo(function(){return Object.defineProperty(yo("div"),"a",{get:function(){return 7}}).a!=7})});var jt=S(ns=>{var Ao=_e(),Co=et(),Eo=Hr(),bo=Et(),_o=tt(),So=Lt(),wo=Ae(),ko=Rt(),as=Object.getOwnPropertyDescriptor;ns.f=Ao?as:function(o,u){if(o=_o(o),u=So(u),ko)try{return as(o,u)}catch{}if(wo(o,u))return bo(!Co(Eo.f,o,u),o[u])}});var us=S((gl,os)=>{var Fo=_e(),Bo=ye();os.exports=Fo&&Bo(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})});var qt=S((xl,ls)=>{var hs=$(),To=Ie(),Io=hs.String,Po=hs.TypeError;ls.exports=function(n){if(To(n))return n;throw Po(Io(n)+" is not an object")}});var Gt=S(ps=>{var No=$(),Do=_e(),Oo=Rt(),Lo=us(),nt=qt(),cs=Lt(),Vo=No.TypeError,Mt=Object.defineProperty,Ro=Object.getOwnPropertyDescriptor,Ut="enumerable",zt="configurable",Wt="writable";ps.f=Do?Lo?function(o,u,l){if(nt(o),u=cs(u),nt(l),typeof o=="function"&&u==="prototype"&&"value"in l&&Wt in l&&!l[Wt]){var x=Ro(o,u);x&&x[Wt]&&(o[u]=l.value,l={configurable:zt in l?l[zt]:x[zt],enumerable:Ut in l?l[Ut]:x[Ut],writable:!1})}return Mt(o,u,l)}:Mt:function(o,u,l){if(nt(o),u=cs(u),nt(l),Oo)try{return Mt(o,u,l)}catch{}if("get"in l||"set"in l)throw Vo("Accessors not supported");return"value"in l&&(o[u]=l.value),o}});var ot=S((Al,fs)=>{var jo=_e(),qo=Gt(),Mo=Et();fs.exports=jo?function(n,o,u){return qo.f(n,o,Mo(1,u))}:function(n,o,u){return n[o]=u,n}});var Xt=S((Cl,ds)=>{var Uo=ce(),zo=pe(),Kt=at(),Wo=Uo(Function.toString);zo(Kt.inspectSource)||(Kt.inspectSource=function(n){return Wo(n)});ds.exports=Kt.inspectSource});var gs=S((El,vs)=>{var Go=$(),Ko=pe(),Xo=Xt(),ms=Go.WeakMap;vs.exports=Ko(ms)&&/native code/.test(Xo(ms))});var As=S((bl,ys)=>{var Ho=Dt(),Jo=Ot(),xs=Ho("keys");ys.exports=function(n){return xs[n]||(xs[n]=Jo(n))}});var Ht=S((_l,Cs)=>{Cs.exports={}});var ks=S((Sl,ws)=>{var Yo=gs(),Ss=$(),Jt=ce(),Qo=Ie(),Zo=ot(),Yt=Ae(),Qt=at(),$o=As(),eu=Ht(),Es="Object already initialized",$t=Ss.TypeError,tu=Ss.WeakMap,ut,qe,ht,ru=function(n){return ht(n)?qe(n):ut(n,{})},iu=function(n){return function(o){var u;if(!Qo(o)||(u=qe(o)).type!==n)throw $t("Incompatible receiver, "+n+" required");return u}};Yo||Qt.state?(Ce=Qt.state||(Qt.state=new tu),bs=Jt(Ce.get),Zt=Jt(Ce.has),_s=Jt(Ce.set),ut=function(n,o){if(Zt(Ce,n))throw new $t(Es);return o.facade=n,_s(Ce,n,o),o},qe=function(n){return bs(Ce,n)||{}},ht=function(n){return Zt(Ce,n)}):(we=$o("state"),eu[we]=!0,ut=function(n,o){if(Yt(n,we))throw new $t(Es);return o.facade=n,Zo(n,we,o),o},qe=function(n){return Yt(n,we)?n[we]:{}},ht=function(n){return Yt(n,we)});var Ce,bs,Zt,_s,we;ws.exports={set:ut,get:qe,has:ht,enforce:ru,getterFor:iu}});var Ts=S((wl,Bs)=>{var er=_e(),su=Ae(),Fs=Function.prototype,au=er&&Object.getOwnPropertyDescriptor,tr=su(Fs,"name"),nu=tr&&function(){}.name==="something",ou=tr&&(!er||er&&au(Fs,"name").configurable);Bs.exports={EXISTS:tr,PROPER:nu,CONFIGURABLE:ou}});var Os=S((kl,Ds)=>{var uu=$(),Is=pe(),hu=Ae(),Ps=ot(),lu=st(),cu=Xt(),Ns=ks(),pu=Ts().CONFIGURABLE,fu=Ns.get,du=Ns.enforce,mu=String(String).split("String");(Ds.exports=function(n,o,u,l){var x=l?!!l.unsafe:!1,b=l?!!l.enumerable:!1,A=l?!!l.noTargetGet:!1,k=l&&l.name!==void 0?l.name:o,E;if(Is(u)&&(String(k).slice(0,7)==="Symbol("&&(k="["+String(k).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!hu(u,"name")||pu&&u.name!==k)&&Ps(u,"name",k),E=du(u),E.source||(E.source=mu.join(typeof k=="string"?k:""))),n===uu){b?n[o]=u:lu(o,u);return}else x?!A&&n[o]&&(b=!0):delete n[o];b?n[o]=u:Ps(n,o,u)})(Function.prototype,"toString",function(){return Is(this)&&fu(this).source||cu(this)})});var rr=S((Fl,Ls)=>{var vu=Math.ceil,gu=Math.floor;Ls.exports=function(n){var o=+n;return o!==o||o===0?0:(o>0?gu:vu)(o)}});var Rs=S((Bl,Vs)=>{var xu=rr(),yu=Math.max,Au=Math.min;Vs.exports=function(n,o){var u=xu(n);return u<0?yu(u+o,0):Au(u,o)}});var qs=S((Tl,js)=>{var Cu=rr(),Eu=Math.min;js.exports=function(n){return n>0?Eu(Cu(n),9007199254740991):0}});var Us=S((Il,Ms)=>{var bu=qs();Ms.exports=function(n){return bu(n.length)}});var Gs=S((Pl,Ws)=>{var _u=tt(),Su=Rs(),wu=Us(),zs=function(n){return function(o,u,l){var x=_u(o),b=wu(x),A=Su(l,b),k;if(n&&u!=u){for(;b>A;)if(k=x[A++],k!=k)return!0}else for(;b>A;A++)if((n||A in x)&&x[A]===u)return n||A||0;return!n&&-1}};Ws.exports={includes:zs(!0),indexOf:zs(!1)}});var Hs=S((Nl,Xs)=>{var ku=ce(),ir=Ae(),Fu=tt(),Bu=Gs().indexOf,Tu=Ht(),Ks=ku([].push);Xs.exports=function(n,o){var u=Fu(n),l=0,x=[],b;for(b in u)!ir(Tu,b)&&ir(u,b)&&Ks(x,b);for(;o.length>l;)ir(u,b=o[l++])&&(~Bu(x,b)||Ks(x,b));return x}});var Ys=S((Dl,Js)=>{Js.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var Zs=S(Qs=>{var Iu=Hs(),Pu=Ys(),Nu=Pu.concat("length","prototype");Qs.f=Object.getOwnPropertyNames||function(o){return Iu(o,Nu)}});var ea=S($s=>{$s.f=Object.getOwnPropertySymbols});var ra=S((Vl,ta)=>{var Du=rt(),Ou=ce(),Lu=Zs(),Vu=ea(),Ru=qt(),ju=Ou([].concat);ta.exports=Du("Reflect","ownKeys")||function(o){var u=Lu.f(Ru(o)),l=Vu.f;return l?ju(u,l(o)):u}});var aa=S((Rl,sa)=>{var ia=Ae(),qu=ra(),Mu=jt(),Uu=Gt();sa.exports=function(n,o,u){for(var l=qu(o),x=Uu.f,b=Mu.f,A=0;A<l.length;A++){var k=l[A];!ia(n,k)&&!(u&&ia(u,k))&&x(n,k,b(o,k))}}});var oa=S((jl,na)=>{var zu=ye(),Wu=pe(),Gu=/#|\.prototype\./,Me=function(n,o){var u=Xu[Ku(n)];return u==Ju?!0:u==Hu?!1:Wu(o)?zu(o):!!o},Ku=Me.normalize=function(n){return String(n).replace(Gu,".").toLowerCase()},Xu=Me.data={},Hu=Me.NATIVE="N",Ju=Me.POLYFILL="P";na.exports=Me});var ha=S((ql,ua)=>{var sr=$(),Yu=jt().f,Qu=ot(),Zu=Os(),$u=st(),eh=aa(),th=oa();ua.exports=function(n,o){var u=n.target,l=n.global,x=n.stat,b,A,k,E,g,O;if(l?A=sr:x?A=sr[u]||$u(u,{}):A=(sr[u]||{}).prototype,A)for(k in o){if(g=o[k],n.noTargetGet?(O=Yu(A,k),E=O&&O.value):E=A[k],b=th(l?k:u+(x?".":"#")+k,n.forced),!b&&E!==void 0){if(typeof g==typeof E)continue;eh(g,E)}(n.sham||E&&E.sham)&&Qu(g,"sham",!0),Zu(A,k,g,n)}}});var la=S(()=>{var rh=ha(),ih=$();rh({global:!0},{globalThis:ih})});var ca=S(()=>{la()});var Ih=S((Kl,Pa)=>{ca();var ur=Object.defineProperty,sh=Object.getOwnPropertyDescriptor,hr=Object.getOwnPropertyNames,ah=Object.prototype.hasOwnProperty,pa=(n,o)=>function(){return n&&(o=(0,n[hr(n)[0]])(n=0)),o},Q=(n,o)=>function(){return o||(0,n[hr(n)[0]])((o={exports:{}}).exports,o),o.exports},nh=(n,o)=>{for(var u in o)ur(n,u,{get:o[u],enumerable:!0})},oh=(n,o,u,l)=>{if(o&&typeof o=="object"||typeof o=="function")for(let x of hr(o))!ah.call(n,x)&&x!==u&&ur(n,x,{get:()=>o[x],enumerable:!(l=sh(o,x))||l.enumerable});return n},uh=n=>oh(ur({},"__esModule",{value:!0}),n),J=pa({"<define:process>"(){}}),lr=Q({"src/common/parser-create-error.js"(n,o){"use strict";J();function u(l,x){let b=new SyntaxError(l+" ("+x.start.line+":"+x.start.column+")");return b.loc=x,b}o.exports=u}}),fa=Q({"src/utils/try-combinations.js"(n,o){"use strict";J();function u(){let l;for(var x=arguments.length,b=new Array(x),A=0;A<x;A++)b[A]=arguments[A];for(let[k,E]of b.entries())try{return{result:E()}}catch(g){k===0&&(l=g)}return{error:l}}o.exports=u}}),da={};nh(da,{EOL:()=>or,arch:()=>hh,cpus:()=>Ca,default:()=>wa,endianness:()=>ma,freemem:()=>ya,getNetworkInterfaces:()=>Sa,hostname:()=>va,loadavg:()=>ga,networkInterfaces:()=>_a,platform:()=>lh,release:()=>ba,tmpDir:()=>ar,tmpdir:()=>nr,totalmem:()=>Aa,type:()=>Ea,uptime:()=>xa});function ma(){if(typeof lt>"u"){var n=new ArrayBuffer(2),o=new Uint8Array(n),u=new Uint16Array(n);if(o[0]=1,o[1]=2,u[0]===258)lt="BE";else if(u[0]===513)lt="LE";else throw new Error("unable to figure out endianess")}return lt}function va(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function ga(){return[]}function xa(){return 0}function ya(){return Number.MAX_VALUE}function Aa(){return Number.MAX_VALUE}function Ca(){return[]}function Ea(){return"Browser"}function ba(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function _a(){}function Sa(){}function hh(){return"javascript"}function lh(){return"browser"}function ar(){return"/tmp"}var lt,nr,or,wa,ch=pa({"node-modules-polyfills:os"(){J(),nr=ar,or=`
2
+ `,wa={EOL:or,tmpdir:nr,tmpDir:ar,networkInterfaces:_a,getNetworkInterfaces:Sa,release:ba,type:Ea,cpus:Ca,totalmem:Aa,freemem:ya,uptime:xa,loadavg:ga,hostname:va,endianness:ma}}}),ph=Q({"node-modules-polyfills-commonjs:os"(n,o){J();var u=(ch(),uh(da));if(u&&u.default){o.exports=u.default;for(let l in u)o.exports[l]=u[l]}else u&&(o.exports=u)}}),fh=Q({"node_modules/detect-newline/index.js"(n,o){"use strict";J();var u=l=>{if(typeof l!="string")throw new TypeError("Expected a string");let x=l.match(/(?:\r?\n)/g)||[];if(x.length===0)return;let b=x.filter(k=>k===`\r
3
+ `).length,A=x.length-b;return b>A?`\r
4
+ `:`
5
+ `};o.exports=u,o.exports.graceful=l=>typeof l=="string"&&u(l)||`
6
+ `}}),dh=Q({"node_modules/jest-docblock/build/index.js"(n){"use strict";J(),Object.defineProperty(n,"__esModule",{value:!0}),n.extract=d,n.parse=K,n.parseWithComments=m,n.print=N,n.strip=C;function o(){let B=ph();return o=function(){return B},B}function u(){let B=l(fh());return u=function(){return B},B}function l(B){return B&&B.__esModule?B:{default:B}}var x=/\*\/$/,b=/^\/\*\*/,A=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,k=/(^|\s+)\/\/([^\r\n]*)/g,E=/^(\r?\n)+/,g=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,O=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,V=/(\r?\n|^) *\* ?/g,I=[];function d(B){let H=B.match(A);return H?H[0].trimLeft():""}function C(B){let H=B.match(A);return H&&H[0]?B.substring(H[0].length):B}function K(B){return m(B).pragmas}function m(B){let H=(0,u().default)(B)||o().EOL;B=B.replace(b,"").replace(x,"").replace(V,"$1");let L="";for(;L!==B;)L=B,B=B.replace(g,"".concat(H,"$1 $2").concat(H));B=B.replace(E,"").trimRight();let i=Object.create(null),_=B.replace(O,"").replace(E,"").trimRight(),T;for(;T=O.exec(B);){let q=T[2].replace(k,"");typeof i[T[1]]=="string"||Array.isArray(i[T[1]])?i[T[1]]=I.concat(i[T[1]],q):i[T[1]]=q}return{comments:_,pragmas:i}}function N(B){let{comments:H="",pragmas:L={}}=B,i=(0,u().default)(H)||o().EOL,_="/**",T=" *",q=" */",ee=Object.keys(L),ae=ee.map(ie=>j(ie,L[ie])).reduce((ie,Ne)=>ie.concat(Ne),[]).map(ie=>T+" "+ie+i).join("");if(!H){if(ee.length===0)return"";if(ee.length===1&&!Array.isArray(L[ee[0]])){let ie=L[ee[0]];return"".concat(_," ").concat(j(ee[0],ie)[0]).concat(q)}}let te=H.split(i).map(ie=>"".concat(T," ").concat(ie)).join(i)+i;return _+i+(H?te:"")+(H&&ee.length?T+i:"")+ae+q}function j(B,H){return I.concat(H).map(L=>"@".concat(B," ").concat(L).trim())}}}),mh=Q({"src/common/end-of-line.js"(n,o){"use strict";J();function u(A){let k=A.indexOf("\r");return k>=0?A.charAt(k+1)===`
7
+ `?"crlf":"cr":"lf"}function l(A){switch(A){case"cr":return"\r";case"crlf":return`\r
8
+ `;default:return`
9
+ `}}function x(A,k){let E;switch(k){case`
10
+ `:E=/\n/g;break;case"\r":E=/\r/g;break;case`\r
11
+ `:E=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(k),"."))}let g=A.match(E);return g?g.length:0}function b(A){return A.replace(/\r\n?/g,`
12
+ `)}o.exports={guessEndOfLine:u,convertEndOfLineToChars:l,countEndOfLineChars:x,normalizeEndOfLine:b}}}),vh=Q({"src/language-js/utils/get-shebang.js"(n,o){"use strict";J();function u(l){if(!l.startsWith("#!"))return"";let x=l.indexOf(`
13
+ `);return x===-1?l:l.slice(0,x)}o.exports=u}}),gh=Q({"src/language-js/pragma.js"(n,o){"use strict";J();var{parseWithComments:u,strip:l,extract:x,print:b}=dh(),{normalizeEndOfLine:A}=mh(),k=vh();function E(V){let I=k(V);I&&(V=V.slice(I.length+1));let d=x(V),{pragmas:C,comments:K}=u(d);return{shebang:I,text:V,pragmas:C,comments:K}}function g(V){let I=Object.keys(E(V).pragmas);return I.includes("prettier")||I.includes("format")}function O(V){let{shebang:I,text:d,pragmas:C,comments:K}=E(V),m=l(d),N=b({pragmas:Object.assign({format:""},C),comments:K.trimStart()});return(I?"".concat(I,`
14
+ `):"")+A(N)+(m.startsWith(`
15
+ `)?`
16
+ `:`
17
+
18
+ `)+m}o.exports={hasPragma:g,insertPragma:O}}}),xh=Q({"src/utils/is-non-empty-array.js"(n,o){"use strict";J();function u(l){return Array.isArray(l)&&l.length>0}o.exports=u}}),ka=Q({"src/language-js/loc.js"(n,o){"use strict";J();var u=xh();function l(E,g){let{ignoreDecorators:O}=g||{};if(!O){let V=E.declaration&&E.declaration.decorators||E.decorators;if(u(V))return l(V[0])}return E.range?E.range[0]:E.start}function x(E){return E.range?E.range[1]:E.end}function b(E,g){let O=l(E);return Number.isInteger(O)&&O===l(g)}function A(E,g){let O=x(E);return Number.isInteger(O)&&O===x(g)}function k(E,g){return b(E,g)&&A(E,g)}o.exports={locStart:l,locEnd:x,hasSameLocStart:b,hasSameLoc:k}}}),Fa=Q({"src/language-js/parse/utils/create-parser.js"(n,o){"use strict";J();var{hasPragma:u}=gh(),{locStart:l,locEnd:x}=ka();function b(A){return A=typeof A=="function"?{parse:A}:A,Object.assign({astFormat:"estree",hasPragma:u,locStart:l,locEnd:x},A)}o.exports=b}}),yh=Q({"src/language-js/utils/is-ts-keyword-type.js"(n,o){"use strict";J();function u(l){let{type:x}=l;return x.startsWith("TS")&&x.endsWith("Keyword")}o.exports=u}}),Ah=Q({"src/language-js/utils/is-block-comment.js"(n,o){"use strict";J();function u(l){return l.type==="Block"||l.type==="CommentBlock"||l.type==="MultiLine"}o.exports=u}}),Ch=Q({"src/language-js/utils/is-type-cast-comment.js"(n,o){"use strict";J();var u=Ah();function l(x){return u(x)&&x.value[0]==="*"&&/@type\b/.test(x.value)}o.exports=l}}),Eh=Q({"src/utils/get-last.js"(n,o){"use strict";J();var u=l=>l[l.length-1];o.exports=u}}),Ba=Q({"src/language-js/parse/postprocess/visit-node.js"(n,o){"use strict";J();function u(l,x){if(Array.isArray(l)){for(let b=0;b<l.length;b++)l[b]=u(l[b],x);return l}if(l&&typeof l=="object"&&typeof l.type=="string"){let b=Object.keys(l);for(let A=0;A<b.length;A++)l[b[A]]=u(l[b[A]],x);return x(l)||l}return l}o.exports=u}}),bh=Q({"src/language-js/parse/postprocess/typescript.js"(n,o){"use strict";J();var u=lr(),l=Ba();function x(E,g){let{start:O,end:V}=E.loc;throw u(g,{start:{line:O.line,column:O.column+1},end:{line:V.line,column:V.column+1}})}function b(E,g,O){let V=E.decorators;if(!Array.isArray(V))return;let I=g.decorators;(!Array.isArray(I)||I.length!==V.length||V.some(d=>{let C=O.get(d);return!C||!I.includes(C)}))&&x(g,"Leading decorators must be attached to a class declaration")}function A(E,g){E.kind!==166||E.modifiers&&!E.modifiers.some(I=>I.kind===126)||E.initializer&&g.value===null&&x(g,"Abstract property cannot have an initializer")}function k(E,g){let{esTreeNodeToTSNodeMap:O,tsNodeToESTreeNodeMap:V}=g.tsParseResult;l(E,I=>{let d=O.get(I);if(!d)return;let C=V.get(d);C===I&&(b(d,C,V),A(d,C))})}o.exports={throwErrorForInvalidNodes:k}}}),Ta=Q({"src/language-js/parse/postprocess/index.js"(n,o){"use strict";J();var{locStart:u,locEnd:l}=ka(),x=yh(),b=Ch(),A=Eh(),k=Ba(),{throwErrorForInvalidNodes:E}=bh();function g(d,C){if(C.parser==="typescript"&&/@|abstract/.test(C.originalText)&&E(d,C),C.parser!=="typescript"&&C.parser!=="flow"&&C.parser!=="acorn"&&C.parser!=="espree"&&C.parser!=="meriyah"){let m=new Set;d=k(d,N=>{N.leadingComments&&N.leadingComments.some(b)&&m.add(u(N))}),d=k(d,N=>{if(N.type==="ParenthesizedExpression"){let{expression:j}=N;if(j.type==="TypeCastExpression")return j.range=N.range,j;let B=u(N);if(!m.has(B))return j.extra=Object.assign(Object.assign({},j.extra),{},{parenthesized:!0}),j}})}return d=k(d,m=>{switch(m.type){case"ChainExpression":return O(m.expression);case"LogicalExpression":{if(V(m))return I(m);break}case"VariableDeclaration":{let N=A(m.declarations);N&&N.init&&K(m,N);break}case"TSParenthesizedType":return x(m.typeAnnotation)||m.typeAnnotation.type==="TSThisType"||(m.typeAnnotation.range=[u(m),l(m)]),m.typeAnnotation;case"TSTypeParameter":if(typeof m.name=="string"){let N=u(m);m.name={type:"Identifier",name:m.name,range:[N,N+m.name.length]}}break;case"SequenceExpression":{let N=A(m.expressions);m.range=[u(m),Math.min(l(N),l(m))];break}case"TopicReference":C.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:N}=m;if(C.parser==="meriyah"&&N&&N.type==="Identifier"){let j=C.originalText.slice(u(N),l(N));(j.startsWith('"')||j.startsWith("'"))&&(m.exported=Object.assign(Object.assign({},m.exported),{},{type:"Literal",value:m.exported.name,raw:j}))}break}}}),d;function K(m,N){C.originalText[l(N)]!==";"&&(m.range=[u(m),l(N)])}}function O(d){switch(d.type){case"CallExpression":d.type="OptionalCallExpression",d.callee=O(d.callee);break;case"MemberExpression":d.type="OptionalMemberExpression",d.object=O(d.object);break;case"TSNonNullExpression":d.expression=O(d.expression);break}return d}function V(d){return d.type==="LogicalExpression"&&d.right.type==="LogicalExpression"&&d.operator===d.right.operator}function I(d){return V(d)?I({type:"LogicalExpression",operator:d.operator,left:I({type:"LogicalExpression",operator:d.operator,left:d.left,right:d.right.left,range:[u(d.left),l(d.right.left)]}),right:d.right.right,range:[u(d),l(d)]}):d}o.exports=g}}),ct=Q({"node_modules/acorn/dist/acorn.js"(n,o){J(),function(u,l){typeof n=="object"&&typeof o<"u"?l(n):typeof define=="function"&&define.amd?define(["exports"],l):(u=typeof globalThis<"u"?globalThis:u||self,l(u.acorn={}))}(n,function(u){"use strict";var l={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"},x="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",b={5:x,"5module":x+" export import",6:x+" const class extends export import super"},A=/^in(stanceof)?$/,k="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",E="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",g=new RegExp("["+k+"]"),O=new RegExp("["+k+E+"]");k=E=null;var V=[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,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,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,43,17,47,20,28,22,13,52,58,1,3,0,14,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,38,6,186,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,19,72,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,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,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,8936,3,2,6,2,1,2,290,46,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,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,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,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],I=[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,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,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,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,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,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function d(e,t){for(var r=65536,s=0;s<t.length;s+=2){if(r+=t[s],r>e)return!1;if(r+=t[s+1],r>=e)return!0}}function C(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&g.test(String.fromCharCode(e)):t===!1?!1:d(e,V)}function K(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&O.test(String.fromCharCode(e)):t===!1?!1:d(e,V)||d(e,I)}var m=function(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function N(e,t){return new m(e,{beforeExpr:!0,binop:t})}var j={beforeExpr:!0},B={startsExpr:!0},H={};function L(e,t){return t===void 0&&(t={}),t.keyword=e,H[e]=new m(e,t)}var i={num:new m("num",B),regexp:new m("regexp",B),string:new m("string",B),name:new m("name",B),privateId:new m("privateId",B),eof:new m("eof"),bracketL:new m("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new m("]"),braceL:new m("{",{beforeExpr:!0,startsExpr:!0}),braceR:new m("}"),parenL:new m("(",{beforeExpr:!0,startsExpr:!0}),parenR:new m(")"),comma:new m(",",j),semi:new m(";",j),colon:new m(":",j),dot:new m("."),question:new m("?",j),questionDot:new m("?."),arrow:new m("=>",j),template:new m("template"),invalidTemplate:new m("invalidTemplate"),ellipsis:new m("...",j),backQuote:new m("`",B),dollarBraceL:new m("${",{beforeExpr:!0,startsExpr:!0}),eq:new m("=",{beforeExpr:!0,isAssign:!0}),assign:new m("_=",{beforeExpr:!0,isAssign:!0}),incDec:new m("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new m("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:N("||",1),logicalAND:N("&&",2),bitwiseOR:N("|",3),bitwiseXOR:N("^",4),bitwiseAND:N("&",5),equality:N("==/!=/===/!==",6),relational:N("</>/<=/>=",7),bitShift:N("<</>>/>>>",8),plusMin:new m("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:N("%",10),star:N("*",10),slash:N("/",10),starstar:new m("**",{beforeExpr:!0}),coalesce:N("??",1),_break:L("break"),_case:L("case",j),_catch:L("catch"),_continue:L("continue"),_debugger:L("debugger"),_default:L("default",j),_do:L("do",{isLoop:!0,beforeExpr:!0}),_else:L("else",j),_finally:L("finally"),_for:L("for",{isLoop:!0}),_function:L("function",B),_if:L("if"),_return:L("return",j),_switch:L("switch"),_throw:L("throw",j),_try:L("try"),_var:L("var"),_const:L("const"),_while:L("while",{isLoop:!0}),_with:L("with"),_new:L("new",{beforeExpr:!0,startsExpr:!0}),_this:L("this",B),_super:L("super",B),_class:L("class",B),_extends:L("extends",j),_export:L("export"),_import:L("import",B),_null:L("null",B),_true:L("true",B),_false:L("false",B),_in:L("in",{beforeExpr:!0,binop:7}),_instanceof:L("instanceof",{beforeExpr:!0,binop:7}),_typeof:L("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:L("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:L("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},_=/\r\n?|\n|\u2028|\u2029/,T=new RegExp(_.source,"g");function q(e){return e===10||e===13||e===8232||e===8233}function ee(e,t,r){r===void 0&&(r=e.length);for(var s=t;s<r;s++){var a=e.charCodeAt(s);if(q(a))return s<r-1&&a===13&&e.charCodeAt(s+1)===10?s+2:s+1}return-1}var ae=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,te=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ie=Object.prototype,Ne=ie.hasOwnProperty,p=ie.toString,P=Object.hasOwn||function(e,t){return Ne.call(e,t)},w=Array.isArray||function(e){return p.call(e)==="[object Array]"};function f(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var F=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,G=function(t,r){this.line=t,this.column=r};G.prototype.offset=function(t){return new G(this.line,this.column+t)};var X=function(t,r,s){this.start=r,this.end=s,t.sourceFile!==null&&(this.source=t.sourceFile)};function oe(e,t){for(var r=1,s=0;;){var a=ee(e,s,t);if(a<0)return new G(r,t-s);++r,s=a}}var me={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},ve=!1;function pt(e){var t={};for(var r in me)t[r]=e&&P(e,r)?e[r]:me[r];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!ve&&typeof console=="object"&&console.warn&&(ve=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
19
+ Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),w(t.onToken)){var s=t.onToken;t.onToken=function(a){return s.push(a)}}return w(t.onComment)&&(t.onComment=ft(t,t.onComment)),t}function ft(e,t){return function(r,s,a,h,c,v){var y={type:r?"Block":"Line",value:s,start:a,end:h};e.locations&&(y.loc=new X(this,c,v)),e.ranges&&(y.range=[a,h]),t.push(y)}}var Ee=1,ge=2,De=4,Ue=8,cr=16,pr=32,dt=64,fr=128,Oe=256,mt=Ee|ge|Oe;function vt(e,t){return ge|(e?De:0)|(t?Ue:0)}var ze=0,gt=1,fe=2,dr=3,mr=4,vr=5,Z=function(t,r,s){this.options=t=pt(t),this.sourceFile=t.sourceFile,this.keywords=f(b[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var a="";t.allowReserved!==!0&&(a=l[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(a+=" await")),this.reservedWords=f(a);var h=(a?a+" ":"")+l.strict;this.reservedWordsStrict=f(h),this.reservedWordsStrictBind=f(h+" "+l.strictBind),this.input=String(r),this.containsEsc=!1,s?(this.pos=s,this.lineStart=this.input.lastIndexOf(`
20
+ `,s-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(_).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=i.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=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Ee),this.regexpState=null,this.privateNameStack=[]},le={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Z.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)},le.inFunction.get=function(){return(this.currentVarScope().flags&ge)>0},le.inGenerator.get=function(){return(this.currentVarScope().flags&Ue)>0&&!this.currentVarScope().inClassFieldInit},le.inAsync.get=function(){return(this.currentVarScope().flags&De)>0&&!this.currentVarScope().inClassFieldInit},le.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&Oe)return!1;if(t.flags&ge)return(t.flags&De)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},le.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(t&dt)>0||r||this.options.allowSuperOutsideMethod},le.allowDirectSuper.get=function(){return(this.currentThisScope().flags&fr)>0},le.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},le.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(t&(ge|Oe))>0||r},le.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Oe)>0},Z.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var s=this,a=0;a<t.length;a++)s=t[a](s);return s},Z.parse=function(t,r){return new this(r,t).parse()},Z.parseExpressionAt=function(t,r,s){var a=new this(s,t,r);return a.nextToken(),a.parseExpression()},Z.tokenizer=function(t,r){return new this(r,t)},Object.defineProperties(Z.prototype,le);var se=Z.prototype,Na=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;se.strictDirective=function(e){for(;;){te.lastIndex=e,e+=te.exec(this.input)[0].length;var t=Na.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){te.lastIndex=e+t[0].length;var r=te.exec(this.input),s=r.index+r[0].length,a=this.input.charAt(s);return a===";"||a==="}"||_.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(a)||a==="!"&&this.input.charAt(s+1)==="=")}e+=t[0].length,te.lastIndex=e,e+=te.exec(this.input)[0].length,this.input[e]===";"&&e++}},se.eat=function(e){return this.type===e?(this.next(),!0):!1},se.isContextual=function(e){return this.type===i.name&&this.value===e&&!this.containsEsc},se.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},se.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},se.canInsertSemicolon=function(){return this.type===i.eof||this.type===i.braceR||_.test(this.input.slice(this.lastTokEnd,this.start))},se.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},se.semicolon=function(){!this.eat(i.semi)&&!this.insertSemicolon()&&this.unexpected()},se.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},se.expect=function(e){this.eat(e)||this.unexpected()},se.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};function We(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}se.checkPatternErrors=function(e,t){if(!!e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,"Parenthesized pattern")}},se.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,s=e.doubleProto;if(!t)return r>=0||s>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),s>=0&&this.raiseRecoverable(s,"Redefinition of __proto__ property")},se.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")},se.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var R=Z.prototype;R.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==i.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var s=0,a=Object.keys(this.undefinedExports);s<a.length;s+=1){var h=a[s];this.raiseRecoverable(this.undefinedExports[h].start,"Export '"+h+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var xt={kind:"loop"},Da={kind:"switch"};R.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;te.lastIndex=this.pos;var t=te.exec(this.input),r=this.pos+t[0].length,s=this.input.charCodeAt(r);if(s===91||s===92||s>55295&&s<56320)return!0;if(e)return!1;if(s===123)return!0;if(C(s,!0)){for(var a=r+1;K(s=this.input.charCodeAt(a),!0);)++a;if(s===92||s>55295&&s<56320)return!0;var h=this.input.slice(r,a);if(!A.test(h))return!0}return!1},R.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;te.lastIndex=this.pos;var e=te.exec(this.input),t=this.pos+e[0].length,r;return!_.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(K(r=this.input.charCodeAt(t+8))||r>55295&&r<56320))},R.parseStatement=function(e,t,r){var s=this.type,a=this.startNode(),h;switch(this.isLet(e)&&(s=i._var,h="let"),s){case i._break:case i._continue:return this.parseBreakContinueStatement(a,s.keyword);case i._debugger:return this.parseDebuggerStatement(a);case i._do:return this.parseDoStatement(a);case i._for:return this.parseForStatement(a);case i._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1,!e);case i._class:return e&&this.unexpected(),this.parseClass(a,!0);case i._if:return this.parseIfStatement(a);case i._return:return this.parseReturnStatement(a);case i._switch:return this.parseSwitchStatement(a);case i._throw:return this.parseThrowStatement(a);case i._try:return this.parseTryStatement(a);case i._const:case i._var:return h=h||this.value,e&&h!=="var"&&this.unexpected(),this.parseVarStatement(a,h);case i._while:return this.parseWhileStatement(a);case i._with:return this.parseWithStatement(a);case i.braceL:return this.parseBlock(!0,a);case i.semi:return this.parseEmptyStatement(a);case i._export:case i._import:if(this.options.ecmaVersion>10&&s===i._import){te.lastIndex=this.pos;var c=te.exec(this.input),v=this.pos+c[0].length,y=this.input.charCodeAt(v);if(y===40||y===46)return this.parseExpressionStatement(a,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||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'")),s===i._import?this.parseImport(a):this.parseExport(a,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(a,!0,!e);var M=this.value,z=this.parseExpression();return s===i.name&&z.type==="Identifier"&&this.eat(i.colon)?this.parseLabeledStatement(a,M,z,e):this.parseExpressionStatement(a,z)}},R.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(i.semi)||this.insertSemicolon()?e.label=null:this.type!==i.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var s=0;s<this.labels.length;++s){var a=this.labels[s];if((e.label==null||a.name===e.label.name)&&(a.kind!=null&&(r||a.kind==="loop")||e.label&&r))break}return s===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")},R.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},R.parseDoStatement=function(e){return this.next(),this.labels.push(xt),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(i._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(i.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},R.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(xt),this.enterScope(0),this.expect(i.parenL),this.type===i.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===i._var||this.type===i._const||r){var s=this.startNode(),a=r?"let":this.value;return this.next(),this.parseVar(s,!0,a),this.finishNode(s,"VariableDeclaration"),(this.type===i._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&s.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===i._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,s)):(t>-1&&this.unexpected(t),this.parseFor(e,s))}var h=this.isContextual("let"),c=!1,v=new We,y=this.parseExpression(t>-1?"await":!0,v);return this.type===i._in||(c=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===i._in?t>-1&&this.unexpected(t):e.await=t>-1),h&&c&&this.raise(y.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(y,!1,v),this.checkLValPattern(y),this.parseForIn(e,y)):(this.checkExpressionErrors(v,!0),t>-1&&this.unexpected(t),this.parseFor(e,y))},R.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Le|(r?0:yt),!1,t)},R.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(i._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},R.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(i.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},R.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(i.braceL),this.labels.push(Da),this.enterScope(0);for(var t,r=!1;this.type!==i.braceR;)if(this.type===i._case||this.type===i._default){var s=this.type===i._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),s?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(i.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},R.parseThrowStatement=function(e){return this.next(),_.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var Oa=[];R.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===i._catch){var t=this.startNode();if(this.next(),this.eat(i.parenL)){t.param=this.parseBindingAtom();var r=t.param.type==="Identifier";this.enterScope(r?pr:0),this.checkLValPattern(t.param,r?mr:fe),this.expect(i.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(i._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},R.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},R.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(xt),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},R.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},R.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},R.parseLabeledStatement=function(e,t,r,s){for(var a=0,h=this.labels;a<h.length;a+=1){var c=h[a];c.name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var v=this.type.isLoop?"loop":this.type===i._switch?"switch":null,y=this.labels.length-1;y>=0;y--){var M=this.labels[y];if(M.statementStart===e.start)M.statementStart=this.start,M.kind=v;else break}return this.labels.push({name:t,kind:v,statementStart:this.start}),e.body=this.parseStatement(s?s.indexOf("label")===-1?s+"label":s:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},R.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},R.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(i.braceL),e&&this.enterScope(0);this.type!==i.braceR;){var s=this.parseStatement(null);t.body.push(s)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},R.parseFor=function(e,t){return e.init=t,this.expect(i.semi),e.test=this.type===i.semi?null:this.parseExpression(),this.expect(i.semi),e.update=this.type===i.parenR?null:this.parseExpression(),this.expect(i.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},R.parseForIn=function(e,t){var r=this.type===i._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(i.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},R.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var s=this.startNode();if(this.parseVarId(s,r),this.eat(i.eq)?s.init=this.parseMaybeAssign(t):r==="const"&&!(this.type===i._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():s.id.type!=="Identifier"&&!(t&&(this.type===i._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):s.init=null,e.declarations.push(this.finishNode(s,"VariableDeclarator")),!this.eat(i.comma))break}return e},R.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?gt:fe,!1)};var Le=1,yt=2,gr=4;R.parseFunction=function(e,t,r,s,a){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!s)&&(this.type===i.star&&t&yt&&this.unexpected(),e.generator=this.eat(i.star)),this.options.ecmaVersion>=8&&(e.async=!!s),t&Le&&(e.id=t&gr&&this.type!==i.name?null:this.parseIdent(),e.id&&!(t&yt)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?gt:fe:dr));var h=this.yieldPos,c=this.awaitPos,v=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(vt(e.async,e.generator)),t&Le||(e.id=this.type===i.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,a),this.yieldPos=h,this.awaitPos=c,this.awaitIdentPos=v,this.finishNode(e,t&Le?"FunctionDeclaration":"FunctionExpression")},R.parseFunctionParams=function(e){this.expect(i.parenL),e.params=this.parseBindingList(i.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},R.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var s=this.enterClassBody(),a=this.startNode(),h=!1;for(a.body=[],this.expect(i.braceL);this.type!==i.braceR;){var c=this.parseClassElement(e.superClass!==null);c&&(a.body.push(c),c.type==="MethodDefinition"&&c.kind==="constructor"?(h&&this.raise(c.start,"Duplicate constructor in the same class"),h=!0):c.key&&c.key.type==="PrivateIdentifier"&&La(s,c)&&this.raiseRecoverable(c.key.start,"Identifier '#"+c.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(a,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},R.parseClassElement=function(e){if(this.eat(i.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),s="",a=!1,h=!1,c="method",v=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(i.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===i.star?v=!0:s="static"}if(r.static=v,!s&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===i.star)&&!this.canInsertSemicolon()?h=!0:s="async"),!s&&(t>=9||!h)&&this.eat(i.star)&&(a=!0),!s&&!h&&!a){var y=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?c=y:s=y)}if(s?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=s,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===i.parenL||c!=="method"||a||h){var M=!r.static&&Ge(r,"constructor"),z=M&&e;M&&c!=="method"&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=M?"constructor":c,this.parseClassMethod(r,a,h,z)}else this.parseClassField(r);return r},R.isClassElementNameStart=function(){return this.type===i.name||this.type===i.privateId||this.type===i.num||this.type===i.string||this.type===i.bracketL||this.type.keyword},R.parseClassElementName=function(e){this.type===i.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},R.parseClassMethod=function(e,t,r,s){var a=e.key;e.kind==="constructor"?(t&&this.raise(a.start,"Constructor can't be a generator"),r&&this.raise(a.start,"Constructor can't be an async method")):e.static&&Ge(e,"prototype")&&this.raise(a.start,"Classes may not have a static property named prototype");var h=e.value=this.parseMethod(t,r,s);return e.kind==="get"&&h.params.length!==0&&this.raiseRecoverable(h.start,"getter should have no params"),e.kind==="set"&&h.params.length!==1&&this.raiseRecoverable(h.start,"setter should have exactly one param"),e.kind==="set"&&h.params[0].type==="RestElement"&&this.raiseRecoverable(h.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},R.parseClassField=function(e){if(Ge(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Ge(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(i.eq)){var t=this.currentThisScope(),r=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=r}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")},R.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(Oe|dt);this.type!==i.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},R.parseClassId=function(e,t){this.type===i.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,fe,!1)):(t===!0&&this.unexpected(),e.id=null)},R.parseClassSuper=function(e){e.superClass=this.eat(i._extends)?this.parseExprSubscripts(!1):null},R.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},R.exitClassBody=function(){for(var e=this.privateNameStack.pop(),t=e.declared,r=e.used,s=this.privateNameStack.length,a=s===0?null:this.privateNameStack[s-1],h=0;h<r.length;++h){var c=r[h];P(t,c.name)||(a?a.used.push(c):this.raiseRecoverable(c.start,"Private field '#"+c.name+"' must be declared in an enclosing class"))}};function La(e,t){var r=t.key.name,s=e[r],a="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(a=(t.static?"s":"i")+t.kind),s==="iget"&&a==="iset"||s==="iset"&&a==="iget"||s==="sget"&&a==="sset"||s==="sset"&&a==="sget"?(e[r]="true",!1):s?!0:(e[r]=a,!1)}function Ge(e,t){var r=e.computed,s=e.key;return!r&&(s.type==="Identifier"&&s.name===t||s.type==="Literal"&&s.value===t)}R.parseExport=function(e,t){if(this.next(),this.eat(i.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==i.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(i._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===i._function||(r=this.isAsyncFunction())){var s=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(s,Le|gr,!1,r)}else if(this.type===i._class){var a=this.startNode();e.declaration=this.parseClass(a,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==i.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var h=0,c=e.specifiers;h<c.length;h+=1){var v=c[h];this.checkUnreserved(v.local),this.checkLocalExport(v.local),v.local.type==="Literal"&&this.raise(v.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},R.checkExport=function(e,t,r){!e||(P(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)},R.checkPatternExport=function(e,t){var r=t.type;if(r==="Identifier")this.checkExport(e,t.name,t.start);else if(r==="ObjectPattern")for(var s=0,a=t.properties;s<a.length;s+=1){var h=a[s];this.checkPatternExport(e,h)}else if(r==="ArrayPattern")for(var c=0,v=t.elements;c<v.length;c+=1){var y=v[c];y&&this.checkPatternExport(e,y)}else r==="Property"?this.checkPatternExport(e,t.value):r==="AssignmentPattern"?this.checkPatternExport(e,t.left):r==="RestElement"?this.checkPatternExport(e,t.argument):r==="ParenthesizedExpression"&&this.checkPatternExport(e,t.expression)},R.checkVariableExport=function(e,t){if(!!e)for(var r=0,s=t;r<s.length;r+=1){var a=s[r];this.checkPatternExport(e,a.id)}},R.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},R.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(i.braceL);!this.eat(i.braceR);){if(r)r=!1;else if(this.expect(i.comma),this.afterTrailingComma(i.braceR))break;var s=this.startNode();s.local=this.parseModuleExportName(),s.exported=this.eatContextual("as")?this.parseModuleExportName():s.local,this.checkExport(e,s.exported[s.exported.type==="Identifier"?"name":"value"],s.exported.start),t.push(this.finishNode(s,"ExportSpecifier"))}return t},R.parseImport=function(e){return this.next(),this.type===i.string?(e.specifiers=Oa,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===i.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},R.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===i.name){var r=this.startNode();if(r.local=this.parseIdent(),this.checkLValSimple(r.local,fe),e.push(this.finishNode(r,"ImportDefaultSpecifier")),!this.eat(i.comma))return e}if(this.type===i.star){var s=this.startNode();return this.next(),this.expectContextual("as"),s.local=this.parseIdent(),this.checkLValSimple(s.local,fe),e.push(this.finishNode(s,"ImportNamespaceSpecifier")),e}for(this.expect(i.braceL);!this.eat(i.braceR);){if(t)t=!1;else if(this.expect(i.comma),this.afterTrailingComma(i.braceR))break;var a=this.startNode();a.imported=this.parseModuleExportName(),this.eatContextual("as")?a.local=this.parseIdent():(this.checkUnreserved(a.imported),a.local=a.imported),this.checkLValSimple(a.local,fe),e.push(this.finishNode(a,"ImportSpecifier"))}return e},R.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===i.string){var e=this.parseLiteral(this.value);return F.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)},R.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},R.isDirectiveCandidate=function(e){return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var ue=Z.prototype;ue.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var s=0,a=e.properties;s<a.length;s+=1){var h=a[s];this.toAssignable(h,t),h.type==="RestElement"&&(h.argument.type==="ArrayPattern"||h.argument.type==="ObjectPattern")&&this.raise(h.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e},ue.toAssignableList=function(e,t){for(var r=e.length,s=0;s<r;s++){var a=e[s];a&&this.toAssignable(a,t)}if(r){var h=e[r-1];this.options.ecmaVersion===6&&t&&h&&h.type==="RestElement"&&h.argument.type!=="Identifier"&&this.unexpected(h.argument.start)}return e},ue.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},ue.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==i.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},ue.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case i.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(i.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case i.braceL:return this.parseObj(!0)}return this.parseIdent()},ue.parseBindingList=function(e,t,r){for(var s=[],a=!0;!this.eat(e);)if(a?a=!1:this.expect(i.comma),t&&this.type===i.comma)s.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===i.ellipsis){var h=this.parseRestBinding();this.parseBindingListItem(h),s.push(h),this.type===i.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else{var c=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(c),s.push(c)}}return s},ue.parseBindingListItem=function(e){return e},ue.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(i.eq))return r;var s=this.startNodeAt(e,t);return s.left=r,s.right=this.parseMaybeAssign(),this.finishNode(s,"AssignmentPattern")},ue.checkLValSimple=function(e,t,r){t===void 0&&(t=ze);var s=t!==ze;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(s?"Binding ":"Assigning to ")+e.name+" in strict mode"),s&&(t===fe&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&(P(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==vr&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":s&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return s&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,r);default:this.raise(e.start,(s?"Binding":"Assigning to")+" rvalue")}},ue.checkLValPattern=function(e,t,r){switch(t===void 0&&(t=ze),e.type){case"ObjectPattern":for(var s=0,a=e.properties;s<a.length;s+=1){var h=a[s];this.checkLValInnerPattern(h,t,r)}break;case"ArrayPattern":for(var c=0,v=e.elements;c<v.length;c+=1){var y=v[c];y&&this.checkLValInnerPattern(y,t,r)}break;default:this.checkLValSimple(e,t,r)}},ue.checkLValInnerPattern=function(e,t,r){switch(t===void 0&&(t=ze),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}};var ne=function(t,r,s,a,h){this.token=t,this.isExpr=!!r,this.preserveSpace=!!s,this.override=a,this.generator=!!h},Y={b_stat:new ne("{",!1),b_expr:new ne("{",!0),b_tmpl:new ne("${",!1),p_stat:new ne("(",!1),p_expr:new ne("(",!0),q_tmpl:new ne("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new ne("function",!1),f_expr:new ne("function",!0),f_expr_gen:new ne("function",!0,!1,null,!0),f_gen:new ne("function",!1,!1,null,!0)},ke=Z.prototype;ke.initialContext=function(){return[Y.b_stat]},ke.curContext=function(){return this.context[this.context.length-1]},ke.braceIsBlock=function(e){var t=this.curContext();return t===Y.f_expr||t===Y.f_stat?!0:e===i.colon&&(t===Y.b_stat||t===Y.b_expr)?!t.isExpr:e===i._return||e===i.name&&this.exprAllowed?_.test(this.input.slice(this.lastTokEnd,this.start)):e===i._else||e===i.semi||e===i.eof||e===i.parenR||e===i.arrow?!0:e===i.braceL?t===Y.b_stat:e===i._var||e===i._const||e===i.name?!1:!this.exprAllowed},ke.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1},ke.updateContext=function(e){var t,r=this.type;r.keyword&&e===i.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},ke.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},i.parenR.updateContext=i.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===Y.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},i.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Y.b_stat:Y.b_expr),this.exprAllowed=!0},i.dollarBraceL.updateContext=function(){this.context.push(Y.b_tmpl),this.exprAllowed=!0},i.parenL.updateContext=function(e){var t=e===i._if||e===i._for||e===i._with||e===i._while;this.context.push(t?Y.p_stat:Y.p_expr),this.exprAllowed=!0},i.incDec.updateContext=function(){},i._function.updateContext=i._class.updateContext=function(e){e.beforeExpr&&e!==i._else&&!(e===i.semi&&this.curContext()!==Y.p_stat)&&!(e===i._return&&_.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===i.colon||e===i.braceL)&&this.curContext()===Y.b_stat)?this.context.push(Y.f_expr):this.context.push(Y.f_stat),this.exprAllowed=!1},i.backQuote.updateContext=function(){this.curContext()===Y.q_tmpl?this.context.pop():this.context.push(Y.q_tmpl),this.exprAllowed=!1},i.star.updateContext=function(e){if(e===i._function){var t=this.context.length-1;this.context[t]===Y.f_expr?this.context[t]=Y.f_expr_gen:this.context[t]=Y.f_gen}this.exprAllowed=!0},i.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==i.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var U=Z.prototype;U.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var s=e.key,a;switch(s.type){case"Identifier":a=s.name;break;case"Literal":a=String(s.value);break;default:return}var h=e.kind;if(this.options.ecmaVersion>=6){a==="__proto__"&&h==="init"&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=s.start):this.raiseRecoverable(s.start,"Redefinition of __proto__ property")),t.proto=!0);return}a="$"+a;var c=t[a];if(c){var v;h==="init"?v=this.strict&&c.init||c.get||c.set:v=c.init||c[h],v&&this.raiseRecoverable(s.start,"Redefinition of property")}else c=t[a]={init:!1,get:!1,set:!1};c[h]=!0}},U.parseExpression=function(e,t){var r=this.start,s=this.startLoc,a=this.parseMaybeAssign(e,t);if(this.type===i.comma){var h=this.startNodeAt(r,s);for(h.expressions=[a];this.eat(i.comma);)h.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(h,"SequenceExpression")}return a},U.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var s=!1,a=-1,h=-1,c=-1;t?(a=t.parenthesizedAssign,h=t.trailingComma,c=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new We,s=!0);var v=this.start,y=this.startLoc;(this.type===i.parenL||this.type===i.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var M=this.parseMaybeConditional(e,t);if(r&&(M=r.call(this,M,v,y)),this.type.isAssign){var z=this.startNodeAt(v,y);return z.operator=this.value,this.type===i.eq&&(M=this.toAssignable(M,!1,t)),s||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=M.start&&(t.shorthandAssign=-1),this.type===i.eq?this.checkLValPattern(M):this.checkLValSimple(M),z.left=M,this.next(),z.right=this.parseMaybeAssign(e),c>-1&&(t.doubleProto=c),this.finishNode(z,"AssignmentExpression")}else s&&this.checkExpressionErrors(t,!0);return a>-1&&(t.parenthesizedAssign=a),h>-1&&(t.trailingComma=h),M},U.parseMaybeConditional=function(e,t){var r=this.start,s=this.startLoc,a=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return a;if(this.eat(i.question)){var h=this.startNodeAt(r,s);return h.test=a,h.consequent=this.parseMaybeAssign(),this.expect(i.colon),h.alternate=this.parseMaybeAssign(e),this.finishNode(h,"ConditionalExpression")}return a},U.parseExprOps=function(e,t){var r=this.start,s=this.startLoc,a=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||a.start===r&&a.type==="ArrowFunctionExpression"?a:this.parseExprOp(a,r,s,-1,e)},U.parseExprOp=function(e,t,r,s,a){var h=this.type.binop;if(h!=null&&(!a||this.type!==i._in)&&h>s){var c=this.type===i.logicalOR||this.type===i.logicalAND,v=this.type===i.coalesce;v&&(h=i.logicalAND.binop);var y=this.value;this.next();var M=this.start,z=this.startLoc,re=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,a),M,z,h,a),be=this.buildBinary(t,r,e,re,y,c||v);return(c&&this.type===i.coalesce||v&&(this.type===i.logicalOR||this.type===i.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(be,t,r,s,a)}return e},U.buildBinary=function(e,t,r,s,a,h){s.type==="PrivateIdentifier"&&this.raise(s.start,"Private identifier can only be left side of binary expression");var c=this.startNodeAt(e,t);return c.left=r,c.operator=a,c.right=s,this.finishNode(c,h?"LogicalExpression":"BinaryExpression")},U.parseMaybeUnary=function(e,t,r,s){var a=this.start,h=this.startLoc,c;if(this.isContextual("await")&&this.canAwait)c=this.parseAwait(s),t=!0;else if(this.type.prefix){var v=this.startNode(),y=this.type===i.incDec;v.operator=this.value,v.prefix=!0,this.next(),v.argument=this.parseMaybeUnary(null,!0,y,s),this.checkExpressionErrors(e,!0),y?this.checkLValSimple(v.argument):this.strict&&v.operator==="delete"&&v.argument.type==="Identifier"?this.raiseRecoverable(v.start,"Deleting local variable in strict mode"):v.operator==="delete"&&xr(v.argument)?this.raiseRecoverable(v.start,"Private fields can not be deleted"):t=!0,c=this.finishNode(v,y?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===i.privateId)(s||this.privateNameStack.length===0)&&this.unexpected(),c=this.parsePrivateIdent(),this.type!==i._in&&this.unexpected();else{if(c=this.parseExprSubscripts(e,s),this.checkExpressionErrors(e))return c;for(;this.type.postfix&&!this.canInsertSemicolon();){var M=this.startNodeAt(a,h);M.operator=this.value,M.prefix=!1,M.argument=c,this.checkLValSimple(c),this.next(),c=this.finishNode(M,"UpdateExpression")}}if(!r&&this.eat(i.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(a,h,c,this.parseMaybeUnary(null,!1,!1,s),"**",!1);else return c};function xr(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&xr(e.expression)}U.parseExprSubscripts=function(e,t){var r=this.start,s=this.startLoc,a=this.parseExprAtom(e,t);if(a.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return a;var h=this.parseSubscripts(a,r,s,!1,t);return e&&h.type==="MemberExpression"&&(e.parenthesizedAssign>=h.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=h.start&&(e.parenthesizedBind=-1),e.trailingComma>=h.start&&(e.trailingComma=-1)),h},U.parseSubscripts=function(e,t,r,s,a){for(var h=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,c=!1;;){var v=this.parseSubscript(e,t,r,s,h,c,a);if(v.optional&&(c=!0),v===e||v.type==="ArrowFunctionExpression"){if(c){var y=this.startNodeAt(t,r);y.expression=v,v=this.finishNode(y,"ChainExpression")}return v}e=v}},U.parseSubscript=function(e,t,r,s,a,h,c){var v=this.options.ecmaVersion>=11,y=v&&this.eat(i.questionDot);s&&y&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var M=this.eat(i.bracketL);if(M||y&&this.type!==i.parenL&&this.type!==i.backQuote||this.eat(i.dot)){var z=this.startNodeAt(t,r);z.object=e,M?(z.property=this.parseExpression(),this.expect(i.bracketR)):this.type===i.privateId&&e.type!=="Super"?z.property=this.parsePrivateIdent():z.property=this.parseIdent(this.options.allowReserved!=="never"),z.computed=!!M,v&&(z.optional=y),e=this.finishNode(z,"MemberExpression")}else if(!s&&this.eat(i.parenL)){var re=new We,be=this.yieldPos,je=this.awaitPos,Fe=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var Qe=this.parseExprList(i.parenR,this.options.ecmaVersion>=8,!1,re);if(a&&!y&&!this.canInsertSemicolon()&&this.eat(i.arrow))return this.checkPatternErrors(re,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=be,this.awaitPos=je,this.awaitIdentPos=Fe,this.parseArrowExpression(this.startNodeAt(t,r),Qe,!0,c);this.checkExpressionErrors(re,!0),this.yieldPos=be||this.yieldPos,this.awaitPos=je||this.awaitPos,this.awaitIdentPos=Fe||this.awaitIdentPos;var Be=this.startNodeAt(t,r);Be.callee=e,Be.arguments=Qe,v&&(Be.optional=y),e=this.finishNode(Be,"CallExpression")}else if(this.type===i.backQuote){(y||h)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var Te=this.startNodeAt(t,r);Te.tag=e,Te.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(Te,"TaggedTemplateExpression")}return e},U.parseExprAtom=function(e,t){this.type===i.slash&&this.readRegexp();var r,s=this.potentialArrowAt===this.start;switch(this.type){case i._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),r=this.startNode(),this.next(),this.type===i.parenL&&!this.allowDirectSuper&&this.raise(r.start,"super() call outside constructor of a subclass"),this.type!==i.dot&&this.type!==i.bracketL&&this.type!==i.parenL&&this.unexpected(),this.finishNode(r,"Super");case i._this:return r=this.startNode(),this.next(),this.finishNode(r,"ThisExpression");case i.name:var a=this.start,h=this.startLoc,c=this.containsEsc,v=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!c&&v.name==="async"&&!this.canInsertSemicolon()&&this.eat(i._function))return this.overrideContext(Y.f_expr),this.parseFunction(this.startNodeAt(a,h),0,!1,!0,t);if(s&&!this.canInsertSemicolon()){if(this.eat(i.arrow))return this.parseArrowExpression(this.startNodeAt(a,h),[v],!1,t);if(this.options.ecmaVersion>=8&&v.name==="async"&&this.type===i.name&&!c&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return v=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(i.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(a,h),[v],!0,t)}return v;case i.regexp:var y=this.value;return r=this.parseLiteral(y.value),r.regex={pattern:y.pattern,flags:y.flags},r;case i.num:case i.string:return this.parseLiteral(this.value);case i._null:case i._true:case i._false:return r=this.startNode(),r.value=this.type===i._null?null:this.type===i._true,r.raw=this.type.keyword,this.next(),this.finishNode(r,"Literal");case i.parenL:var M=this.start,z=this.parseParenAndDistinguishExpression(s,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(z)&&(e.parenthesizedAssign=M),e.parenthesizedBind<0&&(e.parenthesizedBind=M)),z;case i.bracketL:return r=this.startNode(),this.next(),r.elements=this.parseExprList(i.bracketR,!0,!0,e),this.finishNode(r,"ArrayExpression");case i.braceL:return this.overrideContext(Y.b_expr),this.parseObj(!1,e);case i._function:return r=this.startNode(),this.next(),this.parseFunction(r,0);case i._class:return this.parseClass(this.startNode(),!1);case i._new:return this.parseNew();case i.backQuote:return this.parseTemplate();case i._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},U.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case i.parenL:return this.parseDynamicImport(e);case i.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},U.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(i.parenR)){var t=this.start;this.eat(i.comma)&&this.eat(i.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},U.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},U.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},U.parseParenExpression=function(){this.expect(i.parenL);var e=this.parseExpression();return this.expect(i.parenR),e},U.parseParenAndDistinguishExpression=function(e,t){var r=this.start,s=this.startLoc,a,h=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var c=this.start,v=this.startLoc,y=[],M=!0,z=!1,re=new We,be=this.yieldPos,je=this.awaitPos,Fe;for(this.yieldPos=0,this.awaitPos=0;this.type!==i.parenR;)if(M?M=!1:this.expect(i.comma),h&&this.afterTrailingComma(i.parenR,!0)){z=!0;break}else if(this.type===i.ellipsis){Fe=this.start,y.push(this.parseParenItem(this.parseRestBinding())),this.type===i.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else y.push(this.parseMaybeAssign(!1,re,this.parseParenItem));var Qe=this.lastTokEnd,Be=this.lastTokEndLoc;if(this.expect(i.parenR),e&&!this.canInsertSemicolon()&&this.eat(i.arrow))return this.checkPatternErrors(re,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=be,this.awaitPos=je,this.parseParenArrowList(r,s,y,t);(!y.length||z)&&this.unexpected(this.lastTokStart),Fe&&this.unexpected(Fe),this.checkExpressionErrors(re,!0),this.yieldPos=be||this.yieldPos,this.awaitPos=je||this.awaitPos,y.length>1?(a=this.startNodeAt(c,v),a.expressions=y,this.finishNodeAt(a,"SequenceExpression",Qe,Be)):a=y[0]}else a=this.parseParenExpression();if(this.options.preserveParens){var Te=this.startNodeAt(r,s);return Te.expression=a,this.finishNode(Te,"ParenthesizedExpression")}else return a},U.parseParenItem=function(e){return e},U.parseParenArrowList=function(e,t,r,s){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,s)};var Va=[];U.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(i.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var s=this.start,a=this.startLoc,h=this.type===i._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),s,a,!0,!1),h&&e.callee.type==="ImportExpression"&&this.raise(s,"Cannot use new with import()"),this.eat(i.parenL)?e.arguments=this.parseExprList(i.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Va,this.finishNode(e,"NewExpression")},U.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===i.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
21
+ `),cooked:this.value},this.next(),r.tail=this.type===i.backQuote,this.finishNode(r,"TemplateElement")},U.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var s=this.parseTemplateElement({isTagged:t});for(r.quasis=[s];!s.tail;)this.type===i.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(i.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(i.braceR),r.quasis.push(s=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},U.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===i.name||this.type===i.num||this.type===i.string||this.type===i.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===i.star)&&!_.test(this.input.slice(this.lastTokEnd,this.start))},U.parseObj=function(e,t){var r=this.startNode(),s=!0,a={};for(r.properties=[],this.next();!this.eat(i.braceR);){if(s)s=!1;else if(this.expect(i.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(i.braceR))break;var h=this.parseProperty(e,t);e||this.checkPropClash(h,a,t),r.properties.push(h)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},U.parseProperty=function(e,t){var r=this.startNode(),s,a,h,c;if(this.options.ecmaVersion>=9&&this.eat(i.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===i.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(this.type===i.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),r.argument=this.parseMaybeAssign(!1,t),this.type===i.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(h=this.start,c=this.startLoc),e||(s=this.eat(i.star)));var v=this.containsEsc;return this.parsePropertyName(r),!e&&!v&&this.options.ecmaVersion>=8&&!s&&this.isAsyncProp(r)?(a=!0,s=this.options.ecmaVersion>=9&&this.eat(i.star),this.parsePropertyName(r,t)):a=!1,this.parsePropertyValue(r,e,s,a,h,c,t,v),this.finishNode(r,"Property")},U.parsePropertyValue=function(e,t,r,s,a,h,c,v){if((r||s)&&this.type===i.colon&&this.unexpected(),this.eat(i.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,c),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===i.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,s);else if(!t&&!v&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==i.comma&&this.type!==i.braceR&&this.type!==i.eq){(r||s)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var y=e.kind==="get"?0:1;if(e.value.params.length!==y){var M=e.value.start;e.kind==="get"?this.raiseRecoverable(M,"getter should have no params"):this.raiseRecoverable(M,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||s)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=a),e.kind="init",t?e.value=this.parseMaybeDefault(a,h,this.copyNode(e.key)):this.type===i.eq&&c?(c.shorthandAssign<0&&(c.shorthandAssign=this.start),e.value=this.parseMaybeDefault(a,h,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected()},U.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(i.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(i.bracketR),e.key;e.computed=!1}return e.key=this.type===i.num||this.type===i.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},U.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},U.parseMethod=function(e,t,r){var s=this.startNode(),a=this.yieldPos,h=this.awaitPos,c=this.awaitIdentPos;return this.initFunction(s),this.options.ecmaVersion>=6&&(s.generator=e),this.options.ecmaVersion>=8&&(s.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(vt(t,s.generator)|dt|(r?fr:0)),this.expect(i.parenL),s.params=this.parseBindingList(i.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(s,!1,!0,!1),this.yieldPos=a,this.awaitPos=h,this.awaitIdentPos=c,this.finishNode(s,"FunctionExpression")},U.parseArrowExpression=function(e,t,r,s){var a=this.yieldPos,h=this.awaitPos,c=this.awaitIdentPos;return this.enterScope(vt(r,!1)|cr),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,s),this.yieldPos=a,this.awaitPos=h,this.awaitIdentPos=c,this.finishNode(e,"ArrowFunctionExpression")},U.parseFunctionBody=function(e,t,r,s){var a=t&&this.type!==i.braceL,h=this.strict,c=!1;if(a)e.body=this.parseMaybeAssign(s),e.expression=!0,this.checkParams(e,!1);else{var v=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!h||v)&&(c=this.strictDirective(this.end),c&&v&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var y=this.labels;this.labels=[],c&&(this.strict=!0),this.checkParams(e,!h&&!c&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,vr),e.body=this.parseBlock(!1,void 0,c&&!h),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=y}this.exitScope()},U.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){var s=r[t];if(s.type!=="Identifier")return!1}return!0},U.checkParams=function(e,t){for(var r=Object.create(null),s=0,a=e.params;s<a.length;s+=1){var h=a[s];this.checkLValInnerPattern(h,gt,t?null:r)}},U.parseExprList=function(e,t,r,s){for(var a=[],h=!0;!this.eat(e);){if(h)h=!1;else if(this.expect(i.comma),t&&this.afterTrailingComma(e))break;var c=void 0;r&&this.type===i.comma?c=null:this.type===i.ellipsis?(c=this.parseSpread(s),s&&this.type===i.comma&&s.trailingComma<0&&(s.trailingComma=this.start)):c=this.parseMaybeAssign(!1,s),a.push(c)}return a},U.checkUnreserved=function(e){var t=e.start,r=e.end,s=e.name;if(this.inGenerator&&s==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&s==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&s==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(s==="arguments"||s==="await")&&this.raise(t,"Cannot use "+s+" in class static initialization block"),this.keywords.test(s)&&this.raise(t,"Unexpected keyword '"+s+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1)){var a=this.strict?this.reservedWordsStrict:this.reservedWords;a.test(s)&&(!this.inAsync&&s==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+s+"' is reserved"))}},U.parseIdent=function(e,t){var r=this.startNode();return this.type===i.name?r.name=this.value:this.type.keyword?(r.name=this.type.keyword,(r.name==="class"||r.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!e),this.finishNode(r,"Identifier"),e||(this.checkUnreserved(r),r.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=r.start)),r},U.parsePrivateIdent=function(){var e=this.startNode();return this.type===i.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e),e},U.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===i.semi||this.canInsertSemicolon()||this.type!==i.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(i.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},U.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var Ke=Z.prototype;Ke.raise=function(e,t){var r=oe(this.input,e);t+=" ("+r.line+":"+r.column+")";var s=new SyntaxError(t);throw s.pos=e,s.loc=r,s.raisedAt=this.pos,s},Ke.raiseRecoverable=Ke.raise,Ke.curPosition=function(){if(this.options.locations)return new G(this.curLine,this.pos-this.lineStart)};var xe=Z.prototype,Ra=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};xe.enterScope=function(e){this.scopeStack.push(new Ra(e))},xe.exitScope=function(){this.scopeStack.pop()},xe.treatFunctionsAsVarInScope=function(e){return e.flags&ge||!this.inModule&&e.flags&Ee},xe.declareName=function(e,t,r){var s=!1;if(t===fe){var a=this.currentScope();s=a.lexical.indexOf(e)>-1||a.functions.indexOf(e)>-1||a.var.indexOf(e)>-1,a.lexical.push(e),this.inModule&&a.flags&Ee&&delete this.undefinedExports[e]}else if(t===mr){var h=this.currentScope();h.lexical.push(e)}else if(t===dr){var c=this.currentScope();this.treatFunctionsAsVar?s=c.lexical.indexOf(e)>-1:s=c.lexical.indexOf(e)>-1||c.var.indexOf(e)>-1,c.functions.push(e)}else for(var v=this.scopeStack.length-1;v>=0;--v){var y=this.scopeStack[v];if(y.lexical.indexOf(e)>-1&&!(y.flags&pr&&y.lexical[0]===e)||!this.treatFunctionsAsVarInScope(y)&&y.functions.indexOf(e)>-1){s=!0;break}if(y.var.push(e),this.inModule&&y.flags&Ee&&delete this.undefinedExports[e],y.flags&mt)break}s&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},xe.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},xe.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},xe.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&mt)return t}},xe.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&mt&&!(t.flags&cr))return t}};var Ve=function(t,r,s){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new X(t,s)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},Re=Z.prototype;Re.startNode=function(){return new Ve(this,this.start,this.startLoc)},Re.startNodeAt=function(e,t){return new Ve(this,e,t)};function yr(e,t,r,s){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=s),this.options.ranges&&(e.range[1]=r),e}Re.finishNode=function(e,t){return yr.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},Re.finishNodeAt=function(e,t,r,s){return yr.call(this,e,t,r,s)},Re.copyNode=function(e){var t=new Ve(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t};var Ar="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",Cr=Ar+" Extended_Pictographic",Er=Cr,br=Er+" EBase EComp EMod EPres ExtPict",ja=br,qa={9:Ar,10:Cr,11:Er,12:br,13:ja},_r="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",Sr="Adlam Adlm 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 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",wr=Sr+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",kr=wr+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Fr=kr+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Ma=Fr+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Ua={9:Sr,10:wr,11:kr,12:Fr,13:Ma},Br={};function za(e){var t=Br[e]={binary:f(qa[e]+" "+_r),nonBinary:{General_Category:f(_r),Script:f(Ua[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var At=0,Tr=[9,10,11,12,13];At<Tr.length;At+=1){var Wa=Tr[At];za(Wa)}var D=Z.prototype,de=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":""),this.unicodeProperties=Br[t.options.ecmaVersion>=13?13: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=[]};de.prototype.reset=function(t,r,s){var a=s.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=s,this.switchU=a&&this.parser.options.ecmaVersion>=6,this.switchN=a&&this.parser.options.ecmaVersion>=9},de.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)},de.prototype.at=function(t,r){r===void 0&&(r=!1);var s=this.source,a=s.length;if(t>=a)return-1;var h=s.charCodeAt(t);if(!(r||this.switchU)||h<=55295||h>=57344||t+1>=a)return h;var c=s.charCodeAt(t+1);return c>=56320&&c<=57343?(h<<10)+c-56613888:h},de.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var s=this.source,a=s.length;if(t>=a)return a;var h=s.charCodeAt(t),c;return!(r||this.switchU)||h<=55295||h>=57344||t+1>=a||(c=s.charCodeAt(t+1))<56320||c>57343?t+1:t+2},de.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)},de.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)},de.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)},de.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1};function Xe(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}D.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,s=0;s<r.length;s++){var a=r.charAt(s);t.indexOf(a)===-1&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(a,s+1)>-1&&this.raise(e.start,"Duplicate regular expression flag")}},D.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},D.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var s=r[t];e.groupNames.indexOf(s)===-1&&e.raise("Invalid named capture referenced")}},D.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},D.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},D.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1},D.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1},D.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1},D.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},D.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var s=0,a=-1;if(this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(a=e.lastIntValue),e.eat(125)))return a!==-1&&a<s&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1},D.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},D.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},D.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}e.pos=t}return!1},D.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},D.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},D.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},D.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Ir(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Ir(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}D.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!Ir(r);)e.advance();return e.pos!==t},D.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1},D.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}},D.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},D.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Xe(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Xe(e.lastIntValue);return!0}return!1},D.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,s=e.current(r);return e.advance(r),s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(s=e.lastIntValue),Ga(s)?(e.lastIntValue=s,!0):(e.pos=t,!1)};function Ga(e){return C(e,!0)||e===36||e===95}D.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,s=e.current(r);return e.advance(r),s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(s=e.lastIntValue),Ka(s)?(e.lastIntValue=s,!0):(e.pos=t,!1)};function Ka(e){return K(e,!0)||e===36||e===95||e===8204||e===8205}D.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},D.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1},D.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},D.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},D.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},D.regexp_eatZero=function(e){return e.current()===48&&!He(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1},D.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1},D.regexp_eatControlLetter=function(e){var t=e.current();return Pr(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function Pr(e){return e>=65&&e<=90||e>=97&&e<=122}D.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,s=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(s&&a>=55296&&a<=56319){var h=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var c=e.lastIntValue;if(c>=56320&&c<=57343)return e.lastIntValue=(a-55296)*1024+(c-56320)+65536,!0}e.pos=h,e.lastIntValue=a}return!0}if(s&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&Xa(e.lastIntValue))return!0;s&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function Xa(e){return e>=0&&e<=1114111}D.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1},D.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1},D.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(Ha(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1};function Ha(e){return e===100||e===68||e===115||e===83||e===119||e===87}D.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,s),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var a=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,a),!0}return!1},D.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){P(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},D.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},D.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Nr(t=e.current());)e.lastStringValue+=Xe(t),e.advance();return e.lastStringValue!==""};function Nr(e){return Pr(e)||e===95}D.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";Ja(t=e.current());)e.lastStringValue+=Xe(t),e.advance();return e.lastStringValue!==""};function Ja(e){return Nr(e)||He(e)}D.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},D.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},D.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}},D.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||Lr(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var s=e.current();return s!==93?(e.lastIntValue=s,e.advance(),!0):!1},D.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},D.regexp_eatClassControlLetter=function(e){var t=e.current();return He(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1},D.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},D.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;He(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function He(e){return e>=48&&e<=57}D.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Dr(r=e.current());)e.lastIntValue=16*e.lastIntValue+Or(r),e.advance();return e.pos!==t};function Dr(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Or(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}D.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1},D.regexp_eatOctalDigit=function(e){var t=e.current();return Lr(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function Lr(e){return e>=48&&e<=55}D.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var s=0;s<t;++s){var a=e.current();if(!Dr(a))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+Or(a),e.advance()}return!0};var Je=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new X(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},W=Z.prototype;W.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Je(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},W.getToken=function(){return this.next(),new Je(this)},typeof Symbol<"u"&&(W[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===i.eof,value:t}}}}),W.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(i.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())},W.readToken=function(e){return C(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)},W.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888},W.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var s=void 0,a=t;(s=ee(this.input,a,this.pos))>-1;)++this.curLine,a=this.lineStart=s;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())},W.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),s=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!q(s);)s=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())},W.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++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 e}break;default:if(e>8&&e<14||e>=5760&&ae.test(String.fromCharCode(e)))++this.pos;else break e}}},W.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)},W.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(i.ellipsis)):(++this.pos,this.finishToken(i.dot))},W.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(i.assign,2):this.finishOp(i.slash,1)},W.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,s=e===42?i.star:i.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,s=i.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(i.assign,r+1):this.finishOp(s,r)},W.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(i.assign,3)}return this.finishOp(e===124?i.logicalOR:i.logicalAND,2)}return t===61?this.finishOp(i.assign,2):this.finishOp(e===124?i.bitwiseOR:i.bitwiseAND,1)},W.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(i.assign,2):this.finishOp(i.bitwiseXOR,1)},W.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||_.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(i.incDec,2):t===61?this.finishOp(i.assign,2):this.finishOp(i.plusMin,1)},W.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(i.assign,r+1):this.finishOp(i.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(i.relational,r))},W.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(i.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(i.arrow)):this.finishOp(e===61?i.eq:i.prefix,1)},W.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(i.questionDot,2)}if(t===63){if(e>=12){var s=this.input.charCodeAt(this.pos+2);if(s===61)return this.finishOp(i.assign,3)}return this.finishOp(i.coalesce,2)}}return this.finishOp(i.question,1)},W.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),C(t,!0)||t===92))return this.finishToken(i.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Ye(t)+"'")},W.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(i.parenL);case 41:return++this.pos,this.finishToken(i.parenR);case 59:return++this.pos,this.finishToken(i.semi);case 44:return++this.pos,this.finishToken(i.comma);case 91:return++this.pos,this.finishToken(i.bracketL);case 93:return++this.pos,this.finishToken(i.bracketR);case 123:return++this.pos,this.finishToken(i.braceL);case 125:return++this.pos,this.finishToken(i.braceR);case 58:return++this.pos,this.finishToken(i.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(i.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)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(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(i.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Ye(e)+"'")},W.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},W.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var s=this.input.charAt(this.pos);if(_.test(s)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(s==="[")t=!0;else if(s==="]"&&t)t=!1;else if(s==="/"&&!t)break;e=s==="\\"}++this.pos}var a=this.input.slice(r,this.pos);++this.pos;var h=this.pos,c=this.readWord1();this.containsEsc&&this.unexpected(h);var v=this.regexpState||(this.regexpState=new de(this));v.reset(r,a,c),this.validateRegExpFlags(v),this.validateRegExpPattern(v);var y=null;try{y=new RegExp(a,c)}catch{}return this.finishToken(i.regexp,{pattern:a,flags:c,value:y})},W.readInt=function(e,t,r){for(var s=this.options.ecmaVersion>=12&&t===void 0,a=r&&this.input.charCodeAt(this.pos)===48,h=this.pos,c=0,v=0,y=0,M=t==null?1/0:t;y<M;++y,++this.pos){var z=this.input.charCodeAt(this.pos),re=void 0;if(s&&z===95){a&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),v===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),y===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),v=z;continue}if(z>=97?re=z-97+10:z>=65?re=z-65+10:z>=48&&z<=57?re=z-48:re=1/0,re>=e)break;v=z,c=c*e+re}return s&&v===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===h||t!=null&&this.pos-h!==t?null:c};function Ya(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Vr(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}W.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=Vr(this.input.slice(t,this.pos)),++this.pos):C(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(i.num,r)},W.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var s=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&s===110){var a=Vr(this.input.slice(t,this.pos));return++this.pos,C(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(i.num,a)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),s===46&&!r&&(++this.pos,this.readInt(10),s=this.input.charCodeAt(this.pos)),(s===69||s===101)&&!r&&(s=this.input.charCodeAt(++this.pos),(s===43||s===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),C(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var h=Ya(this.input.slice(t,this.pos),r);return this.finishToken(i.num,h)},W.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t};function Ye(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}W.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var s=this.input.charCodeAt(this.pos);if(s===e)break;s===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):s===8232||s===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(q(s)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(i.string,t)};var Rr={};W.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Rr)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},W.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Rr;this.raise(e,t)},W.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===i.template||this.type===i.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(i.dollarBraceL)):(++this.pos,this.finishToken(i.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(i.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(q(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
22
+ `;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},W.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(i.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},W.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
23
+ `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Ye(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var r=this.pos-1;return this.invalidStringToken(r,"Invalid escape sequence in template string"),null}default:if(t>=48&&t<=55){var s=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],a=parseInt(s,8);return a>255&&(s=s.slice(0,-1),a=parseInt(s,8)),this.pos+=s.length-1,t=this.input.charCodeAt(this.pos),(s!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-s.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(a)}return q(t)?"":String.fromCharCode(t)}},W.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r},W.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,s=this.options.ecmaVersion>=6;this.pos<this.input.length;){var a=this.fullCharCodeAtPos();if(K(a,s))this.pos+=a<=65535?1:2;else if(a===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var h=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var c=this.readCodePoint();(t?C:K)(c,s)||this.invalidStringToken(h,"Invalid Unicode escape"),e+=Ye(c),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)},W.readWord=function(){var e=this.readWord1(),t=i.name;return this.keywords.test(e)&&(t=H[e]),this.finishToken(t,e)};var jr="8.7.0";Z.acorn={Parser:Z,version:jr,defaultOptions:me,Position:G,SourceLocation:X,getLineInfo:oe,Node:Ve,TokenType:m,tokTypes:i,keywordTypes:H,TokContext:ne,tokContexts:Y,isIdentifierChar:K,isIdentifierStart:C,Token:Je,isNewLine:q,lineBreak:_,lineBreakG:T,nonASCIIwhitespace:ae};function Qa(e,t){return Z.parse(e,t)}function Za(e,t,r){return Z.parseExpressionAt(e,t,r)}function $a(e,t){return Z.tokenizer(e,t)}u.Node=Ve,u.Parser=Z,u.Position=G,u.SourceLocation=X,u.TokContext=ne,u.Token=Je,u.TokenType=m,u.defaultOptions=me,u.getLineInfo=oe,u.isIdentifierChar=K,u.isIdentifierStart=C,u.isNewLine=q,u.keywordTypes=H,u.lineBreak=_,u.lineBreakG=T,u.nonASCIIwhitespace=ae,u.parse=Qa,u.parseExpressionAt=Za,u.tokContexts=Y,u.tokTypes=i,u.tokenizer=$a,u.version=jr,Object.defineProperty(u,"__esModule",{value:!0})})}}),_h=Q({"node_modules/acorn-jsx/xhtml.js"(n,o){J(),o.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"}}}),Ia=Q({"node_modules/acorn-jsx/index.js"(n,o){"use strict";J();var u=_h(),l=/^[\da-fA-F]+$/,x=/^\d+$/,b=new WeakMap;function A(g){g=g.Parser.acorn||g;let O=b.get(g);if(!O){let V=g.tokTypes,I=g.TokContext,d=g.TokenType,C=new I("<tag",!1),K=new I("</tag",!1),m=new I("<tag>...</tag>",!0,!0),N={tc_oTag:C,tc_cTag:K,tc_expr:m},j={jsxName:new d("jsxName"),jsxText:new d("jsxText",{beforeExpr:!0}),jsxTagStart:new d("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new d("jsxTagEnd")};j.jsxTagStart.updateContext=function(){this.context.push(m),this.context.push(C),this.exprAllowed=!1},j.jsxTagEnd.updateContext=function(B){let H=this.context.pop();H===C&&B===V.slash||H===K?(this.context.pop(),this.exprAllowed=this.curContext()===m):this.exprAllowed=!0},O={tokContexts:N,tokTypes:j},b.set(g,O)}return O}function k(g){if(!g)return g;if(g.type==="JSXIdentifier")return g.name;if(g.type==="JSXNamespacedName")return g.namespace.name+":"+g.name.name;if(g.type==="JSXMemberExpression")return k(g.object)+"."+k(g.property)}o.exports=function(g){return g=g||{},function(O){return E({allowNamespaces:g.allowNamespaces!==!1,allowNamespacedObjects:!!g.allowNamespacedObjects},O)}},Object.defineProperty(o.exports,"tokTypes",{get:function(){return A(ct()).tokTypes},configurable:!0,enumerable:!0});function E(g,O){let V=O.acorn||ct(),I=A(V),d=V.tokTypes,C=I.tokTypes,K=V.tokContexts,m=I.tokContexts.tc_oTag,N=I.tokContexts.tc_cTag,j=I.tokContexts.tc_expr,B=V.isNewLine,H=V.isIdentifierStart,L=V.isIdentifierChar;return class extends O{static get acornJsx(){return I}jsx_readToken(){let i="",_=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let T=this.input.charCodeAt(this.pos);switch(T){case 60:case 123:return this.pos===this.start?T===60&&this.exprAllowed?(++this.pos,this.finishToken(C.jsxTagStart)):this.getTokenFromCode(T):(i+=this.input.slice(_,this.pos),this.finishToken(C.jsxText,i));case 38:i+=this.input.slice(_,this.pos),i+=this.jsx_readEntity(),_=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(T===62?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:B(T)?(i+=this.input.slice(_,this.pos),i+=this.jsx_readNewLine(!0),_=this.pos):++this.pos}}}jsx_readNewLine(i){let _=this.input.charCodeAt(this.pos),T;return++this.pos,_===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,T=i?`
24
+ `:`\r
25
+ `):T=String.fromCharCode(_),this.options.locations&&(++this.curLine,this.lineStart=this.pos),T}jsx_readString(i){let _="",T=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let q=this.input.charCodeAt(this.pos);if(q===i)break;q===38?(_+=this.input.slice(T,this.pos),_+=this.jsx_readEntity(),T=this.pos):B(q)?(_+=this.input.slice(T,this.pos),_+=this.jsx_readNewLine(!1),T=this.pos):++this.pos}return _+=this.input.slice(T,this.pos++),this.finishToken(d.string,_)}jsx_readEntity(){let i="",_=0,T,q=this.input[this.pos];q!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let ee=++this.pos;for(;this.pos<this.input.length&&_++<10;){if(q=this.input[this.pos++],q===";"){i[0]==="#"?i[1]==="x"?(i=i.substr(2),l.test(i)&&(T=String.fromCharCode(parseInt(i,16)))):(i=i.substr(1),x.test(i)&&(T=String.fromCharCode(parseInt(i,10)))):T=u[i];break}i+=q}return T||(this.pos=ee,"&")}jsx_readWord(){let i,_=this.pos;do i=this.input.charCodeAt(++this.pos);while(L(i)||i===45);return this.finishToken(C.jsxName,this.input.slice(_,this.pos))}jsx_parseIdentifier(){let i=this.startNode();return this.type===C.jsxName?i.name=this.value:this.type.keyword?i.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(i,"JSXIdentifier")}jsx_parseNamespacedName(){let i=this.start,_=this.startLoc,T=this.jsx_parseIdentifier();if(!g.allowNamespaces||!this.eat(d.colon))return T;var q=this.startNodeAt(i,_);return q.namespace=T,q.name=this.jsx_parseIdentifier(),this.finishNode(q,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===C.jsxTagEnd)return"";let i=this.start,_=this.startLoc,T=this.jsx_parseNamespacedName();for(this.type===d.dot&&T.type==="JSXNamespacedName"&&!g.allowNamespacedObjects&&this.unexpected();this.eat(d.dot);){let q=this.startNodeAt(i,_);q.object=T,q.property=this.jsx_parseIdentifier(),T=this.finishNode(q,"JSXMemberExpression")}return T}jsx_parseAttributeValue(){switch(this.type){case d.braceL:let i=this.jsx_parseExpressionContainer();return i.expression.type==="JSXEmptyExpression"&&this.raise(i.start,"JSX attributes must only be assigned a non-empty expression"),i;case C.jsxTagStart:case d.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let i=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(i,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let i=this.startNode();return this.next(),i.expression=this.type===d.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(d.braceR),this.finishNode(i,"JSXExpressionContainer")}jsx_parseAttribute(){let i=this.startNode();return this.eat(d.braceL)?(this.expect(d.ellipsis),i.argument=this.parseMaybeAssign(),this.expect(d.braceR),this.finishNode(i,"JSXSpreadAttribute")):(i.name=this.jsx_parseNamespacedName(),i.value=this.eat(d.eq)?this.jsx_parseAttributeValue():null,this.finishNode(i,"JSXAttribute"))}jsx_parseOpeningElementAt(i,_){let T=this.startNodeAt(i,_);T.attributes=[];let q=this.jsx_parseElementName();for(q&&(T.name=q);this.type!==d.slash&&this.type!==C.jsxTagEnd;)T.attributes.push(this.jsx_parseAttribute());return T.selfClosing=this.eat(d.slash),this.expect(C.jsxTagEnd),this.finishNode(T,q?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(i,_){let T=this.startNodeAt(i,_),q=this.jsx_parseElementName();return q&&(T.name=q),this.expect(C.jsxTagEnd),this.finishNode(T,q?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(i,_){let T=this.startNodeAt(i,_),q=[],ee=this.jsx_parseOpeningElementAt(i,_),ae=null;if(!ee.selfClosing){e:for(;;)switch(this.type){case C.jsxTagStart:if(i=this.start,_=this.startLoc,this.next(),this.eat(d.slash)){ae=this.jsx_parseClosingElementAt(i,_);break e}q.push(this.jsx_parseElementAt(i,_));break;case C.jsxText:q.push(this.parseExprAtom());break;case d.braceL:q.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}k(ae.name)!==k(ee.name)&&this.raise(ae.start,"Expected corresponding JSX closing tag for <"+k(ee.name)+">")}let te=ee.name?"Element":"Fragment";return T["opening"+te]=ee,T["closing"+te]=ae,T.children=q,this.type===d.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(T,"JSX"+te)}jsx_parseText(){let i=this.parseLiteral(this.value);return i.type="JSXText",i}jsx_parseElement(){let i=this.start,_=this.startLoc;return this.next(),this.jsx_parseElementAt(i,_)}parseExprAtom(i){return this.type===C.jsxText?this.jsx_parseText():this.type===C.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(i)}readToken(i){let _=this.curContext();if(_===j)return this.jsx_readToken();if(_===m||_===N){if(H(i))return this.jsx_readWord();if(i==62)return++this.pos,this.finishToken(C.jsxTagEnd);if((i===34||i===39)&&_==m)return this.jsx_readString(i)}return i===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(C.jsxTagStart)):super.readToken(i)}updateContext(i){if(this.type==d.braceL){var _=this.curContext();_==m?this.context.push(K.b_expr):_==j?this.context.push(K.b_tmpl):super.updateContext(i),this.exprAllowed=!0}else if(this.type===d.slash&&i===C.jsxTagStart)this.context.length-=2,this.context.push(N),this.exprAllowed=!1;else return super.updateContext(i)}}}}}),Sh=Q({"src/language-js/parse/acorn.js"(n,o){"use strict";J();var u=lr(),l=fa(),x=Fa(),b=Ta(),A={ecmaVersion:"latest",sourceType:"module",allowReserved:!0,allowReturnOutsideFunction:!0,allowImportExportEverywhere:!0,allowAwaitOutsideFunction:!0,allowSuperOutsideMethod:!0,allowHashBang:!0,locations:!0,ranges:!0};function k(I){let{message:d,loc:C}=I;if(!C)return I;let{line:K,column:m}=C;return u(d.replace(/ \(\d+:\d+\)$/,""),{start:{line:K,column:m+1}})}var E,g=()=>{if(!E){let{Parser:I}=ct(),d=Ia();E=I.extend(d())}return E};function O(I,d){let C=g(),K=[],m=[],N=C.parse(I,Object.assign(Object.assign({},A),{},{sourceType:d,onComment:K,onToken:m}));return N.comments=K,N.tokens=m,N}function V(I,d){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{result:K,error:m}=l(()=>O(I,"module"),()=>O(I,"script"));if(!K)throw k(m);return C.originalText=I,b(K,C)}o.exports=x(V)}}),wh=Q({"src/language-js/parse/utils/replace-hashbang.js"(n,o){"use strict";J();function u(l){return l.charAt(0)==="#"&&l.charAt(1)==="!"?"//"+l.slice(2):l}o.exports=u}}),kh=Q({"node_modules/espree/dist/espree.cjs"(n){"use strict";J(),Object.defineProperty(n,"__esModule",{value:!0});var o=ct(),u=Ia(),l;function x(p){return p&&typeof p=="object"&&"default"in p?p:{default:p}}function b(p){if(p&&p.__esModule)return p;var P=Object.create(null);return p&&Object.keys(p).forEach(function(w){if(w!=="default"){var f=Object.getOwnPropertyDescriptor(p,w);Object.defineProperty(P,w,f.get?f:{enumerable:!0,get:function(){return p[w]}})}}),P.default=p,Object.freeze(P)}var A=b(o),k=x(u),E=b(l),g={Boolean:"Boolean",EOF:"<end>",Identifier:"Identifier",PrivateIdentifier:"PrivateIdentifier",Keyword:"Keyword",Null:"Null",Numeric:"Numeric",Punctuator:"Punctuator",String:"String",RegularExpression:"RegularExpression",Template:"Template",JSXIdentifier:"JSXIdentifier",JSXText:"JSXText"};function O(p,P){let w=p[0],f=p[p.length-1],F={type:g.Template,value:P.slice(w.start,f.end)};return w.loc&&(F.loc={start:w.loc.start,end:f.loc.end}),w.range&&(F.start=w.range[0],F.end=f.range[1],F.range=[F.start,F.end]),F}function V(p,P){this._acornTokTypes=p,this._tokens=[],this._curlyBrace=null,this._code=P}V.prototype={constructor:V,translate(p,P){let w=p.type,f=this._acornTokTypes;if(w===f.name)p.type=g.Identifier,p.value==="static"&&(p.type=g.Keyword),P.ecmaVersion>5&&(p.value==="yield"||p.value==="let")&&(p.type=g.Keyword);else if(w===f.privateId)p.type=g.PrivateIdentifier;else if(w===f.semi||w===f.comma||w===f.parenL||w===f.parenR||w===f.braceL||w===f.braceR||w===f.dot||w===f.bracketL||w===f.colon||w===f.question||w===f.bracketR||w===f.ellipsis||w===f.arrow||w===f.jsxTagStart||w===f.incDec||w===f.starstar||w===f.jsxTagEnd||w===f.prefix||w===f.questionDot||w.binop&&!w.keyword||w.isAssign)p.type=g.Punctuator,p.value=this._code.slice(p.start,p.end);else if(w===f.jsxName)p.type=g.JSXIdentifier;else if(w.label==="jsxText"||w===f.jsxAttrValueToken)p.type=g.JSXText;else if(w.keyword)w.keyword==="true"||w.keyword==="false"?p.type=g.Boolean:w.keyword==="null"?p.type=g.Null:p.type=g.Keyword;else if(w===f.num)p.type=g.Numeric,p.value=this._code.slice(p.start,p.end);else if(w===f.string)P.jsxAttrValueToken?(P.jsxAttrValueToken=!1,p.type=g.JSXText):p.type=g.String,p.value=this._code.slice(p.start,p.end);else if(w===f.regexp){p.type=g.RegularExpression;let F=p.value;p.regex={flags:F.flags,pattern:F.pattern},p.value="/".concat(F.pattern,"/").concat(F.flags)}return p},onToken(p,P){let w=this,f=this._acornTokTypes,F=P.tokens,G=this._tokens;function X(){F.push(O(w._tokens,w._code)),w._tokens=[]}if(p.type===f.eof){this._curlyBrace&&F.push(this.translate(this._curlyBrace,P));return}if(p.type===f.backQuote){this._curlyBrace&&(F.push(this.translate(this._curlyBrace,P)),this._curlyBrace=null),G.push(p),G.length>1&&X();return}if(p.type===f.dollarBraceL){G.push(p),X();return}if(p.type===f.braceR){this._curlyBrace&&F.push(this.translate(this._curlyBrace,P)),this._curlyBrace=p;return}if(p.type===f.template||p.type===f.invalidTemplate){this._curlyBrace&&(G.push(this._curlyBrace),this._curlyBrace=null),G.push(p);return}this._curlyBrace&&(F.push(this.translate(this._curlyBrace,P)),this._curlyBrace=null),F.push(this.translate(p,P))}};var I=[3,5,6,7,8,9,10,11,12,13];function d(){return I[I.length-1]}function C(){return[...I]}function K(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:5,P=p==="latest"?d():p;if(typeof P!="number")throw new Error('ecmaVersion must be a number or "latest". Received value of type '.concat(typeof p," instead."));if(P>=2015&&(P-=2009),!I.includes(P))throw new Error("Invalid ecmaVersion.");return P}function m(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"script";if(p==="script"||p==="module")return p;if(p==="commonjs")return"script";throw new Error("Invalid sourceType.")}function N(p){let P=K(p.ecmaVersion),w=m(p.sourceType),f=p.range===!0,F=p.loc===!0;if(P!==3&&p.allowReserved)throw new Error("`allowReserved` is only supported when ecmaVersion is 3");if(typeof p.allowReserved<"u"&&typeof p.allowReserved!="boolean")throw new Error("`allowReserved`, when present, must be `true` or `false`");let G=P===3?p.allowReserved||"never":!1,X=p.ecmaFeatures||{},oe=p.sourceType==="commonjs"||Boolean(X.globalReturn);if(w==="module"&&P<6)throw new Error("sourceType 'module' is not supported when ecmaVersion < 2015. Consider adding `{ ecmaVersion: 2015 }` to the parser options.");return Object.assign({},p,{ecmaVersion:P,sourceType:w,ranges:f,locations:F,allowReserved:G,allowReturnOutsideFunction:oe})}var j=Symbol("espree's internal state"),B=Symbol("espree's esprimaFinishNode");function H(p,P,w,f,F,G){let X={type:p?"Block":"Line",value:P};return typeof w=="number"&&(X.start=w,X.end=f,X.range=[w,f]),typeof F=="object"&&(X.loc={start:F,end:G}),X}var L=()=>p=>{let P=Object.assign({},p.acorn.tokTypes);return p.acornJsx&&Object.assign(P,p.acornJsx.tokTypes),class extends p{constructor(f,F){(typeof f!="object"||f===null)&&(f={}),typeof F!="string"&&!(F instanceof String)&&(F=String(F));let G=f.sourceType,X=N(f),oe=X.ecmaFeatures||{},me=X.tokens===!0?new V(P,F):null;super({ecmaVersion:X.ecmaVersion,sourceType:X.sourceType,ranges:X.ranges,locations:X.locations,allowReserved:X.allowReserved,allowReturnOutsideFunction:X.allowReturnOutsideFunction,onToken:ve=>{me&&me.onToken(ve,this[j]),ve.type!==P.eof&&(this[j].lastToken=ve)},onComment:(ve,pt,ft,Ee,ge,De)=>{if(this[j].comments){let Ue=H(ve,pt,ft,Ee,ge,De);this[j].comments.push(Ue)}}},F);this[j]={originalSourceType:G||X.sourceType,tokens:me?[]:null,comments:X.comment===!0?[]:null,impliedStrict:oe.impliedStrict===!0&&this.options.ecmaVersion>=5,ecmaVersion:this.options.ecmaVersion,jsxAttrValueToken:!1,lastToken:null,templateElements:[]}}tokenize(){do this.next();while(this.type!==P.eof);this.next();let f=this[j],F=f.tokens;return f.comments&&(F.comments=f.comments),F}finishNode(){let f=super.finishNode(...arguments);return this[B](f)}finishNodeAt(){let f=super.finishNodeAt(...arguments);return this[B](f)}parse(){let f=this[j],F=super.parse();if(F.sourceType=f.originalSourceType,f.comments&&(F.comments=f.comments),f.tokens&&(F.tokens=f.tokens),F.body.length){let[G]=F.body;F.range&&(F.range[0]=G.range[0]),F.loc&&(F.loc.start=G.loc.start),F.start=G.start}return f.lastToken&&(F.range&&(F.range[1]=f.lastToken.range[1]),F.loc&&(F.loc.end=f.lastToken.loc.end),F.end=f.lastToken.end),this[j].templateElements.forEach(G=>{let oe=G.tail?1:2;G.start+=-1,G.end+=oe,G.range&&(G.range[0]+=-1,G.range[1]+=oe),G.loc&&(G.loc.start.column+=-1,G.loc.end.column+=oe)}),F}parseTopLevel(f){return this[j].impliedStrict&&(this.strict=!0),super.parseTopLevel(f)}raise(f,F){let G=p.acorn.getLineInfo(this.input,f),X=new SyntaxError(F);throw X.index=f,X.lineNumber=G.line,X.column=G.column+1,X}raiseRecoverable(f,F){this.raise(f,F)}unexpected(f){let F="Unexpected token";if(f!=null){if(this.pos=f,this.options.locations)for(;this.pos<this.lineStart;)this.lineStart=this.input.lastIndexOf(`
26
+ `,this.lineStart-2)+1,--this.curLine;this.nextToken()}this.end>this.start&&(F+=" ".concat(this.input.slice(this.start,this.end))),this.raise(this.start,F)}jsx_readString(f){let F=super.jsx_readString(f);return this.type===P.string&&(this[j].jsxAttrValueToken=!0),F}[B](f){return f.type==="TemplateElement"&&this[j].templateElements.push(f),f.type.includes("Function")&&!f.generator&&(f.generator=!1),f}}},i="9.3.1",_={_regular:null,_jsx:null,get regular(){return this._regular===null&&(this._regular=A.Parser.extend(L())),this._regular},get jsx(){return this._jsx===null&&(this._jsx=A.Parser.extend(k.default(),L())),this._jsx},get(p){return Boolean(p&&p.ecmaFeatures&&p.ecmaFeatures.jsx)?this.jsx:this.regular}};function T(p,P){let w=_.get(P);return(!P||P.tokens!==!0)&&(P=Object.assign({},P,{tokens:!0})),new w(P,p).tokenize()}function q(p,P){let w=_.get(P);return new w(P,p).parse()}var ee=i,ae=function(){return E.KEYS}(),te=void 0,ie=d(),Ne=C();n.Syntax=te,n.VisitorKeys=ae,n.latestEcmaVersion=ie,n.parse=q,n.supportedEcmaVersions=Ne,n.tokenize=T,n.version=ee}}),Fh=Q({"src/language-js/parse/espree.js"(n,o){"use strict";J();var u=lr(),l=fa(),x=Fa(),b=wh(),A=Ta(),k={ecmaVersion:"latest",range:!0,loc:!0,comment:!0,tokens:!0,sourceType:"module",ecmaFeatures:{jsx:!0,globalReturn:!0,impliedStrict:!1}};function E(O){let{message:V,lineNumber:I,column:d}=O;return typeof I!="number"?O:u(V,{start:{line:I,column:d}})}function g(O,V){let I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{parse:d}=kh(),C=b(O),{result:K,error:m}=l(()=>d(C,Object.assign(Object.assign({},k),{},{sourceType:"module"})),()=>d(C,Object.assign(Object.assign({},k),{},{sourceType:"script"})));if(!K)throw E(m);return I.originalText=O,A(K,I)}o.exports=x(g)}});J();var Bh=Sh(),Th=Fh();Pa.exports={parsers:{acorn:Bh,espree:Th}}});"use strict";return Ih();});