prettier 2.1.2 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/bin-prettier.js +12967 -10861
- package/doc.js +3219 -2190
- package/esm/parser-angular.mjs +67 -0
- package/esm/parser-babel.mjs +22 -0
- package/esm/parser-espree.mjs +22 -0
- package/esm/parser-flow.mjs +22 -0
- package/esm/parser-glimmer.mjs +1 -0
- package/esm/parser-graphql.mjs +1 -0
- package/esm/parser-html.mjs +132 -0
- package/esm/parser-markdown.mjs +34 -0
- package/esm/parser-meriyah.mjs +22 -0
- package/esm/parser-postcss.mjs +22 -0
- package/esm/parser-typescript.mjs +22 -0
- package/esm/parser-yaml.mjs +15 -0
- package/esm/standalone.mjs +76 -0
- package/index.js +23033 -17556
- package/package.json +3 -2
- package/parser-angular.js +61 -40
- package/parser-babel.js +22 -1
- package/parser-espree.js +22 -0
- package/parser-flow.js +22 -1
- package/parser-glimmer.js +1 -1
- package/parser-graphql.js +1 -1
- package/parser-html.js +82 -63
- package/parser-markdown.js +24 -9
- package/parser-meriyah.js +22 -0
- package/parser-postcss.js +22 -8
- package/parser-typescript.js +22 -14
- package/parser-yaml.js +2 -2
- package/standalone.js +63 -2
- package/third-party.js +1070 -968
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
var e=function(e,t){const u=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return u.loc=t,u};var t=function(...e){let t;for(const[u,i]of e.entries())try{return{result:i()}}catch(e){0===u&&(t=e)}return{error:t}},u=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 i=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 r=i,n=i;r.default=n;const s=e=>{if("string"!=typeof e||0===e.length)return 0;if(0===(e=u(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 u=0;u<e.length;u++){const i=e.codePointAt(u);i<=31||i>=127&&i<=159||(i>=768&&i<=879||(i>65535&&u++,t+=r(i)?2:1))}return t};var a=s,o=s;a.default=o;var c=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")};var p=e=>e[e.length-1];function D(e,t){if(null==e)return{};var u,i,r=function(e,t){if(null==e)return{};var u,i,r={},n=Object.keys(e);for(i=0;i<n.length;i++)u=n[i],t.indexOf(u)>=0||(r[u]=e[u]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(i=0;i<n.length;i++)u=n[i],t.indexOf(u)>=0||Object.prototype.propertyIsEnumerable.call(e,u)&&(r[u]=e[u])}return r}var h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function l(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function d(e){var t={exports:{}};return e(t,t.exports),t.exports}var f=function(e){return e&&e.Math==Math&&e},E=f("object"==typeof globalThis&&globalThis)||f("object"==typeof window&&window)||f("object"==typeof self&&self)||f("object"==typeof h&&h)||function(){return this}()||Function("return this")(),C=function(e){try{return!!e()}catch(e){return!0}},m=!C((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),A={}.propertyIsEnumerable,F=Object.getOwnPropertyDescriptor,g={f:F&&!A.call({1:2},1)?function(e){var t=F(this,e);return!!t&&t.enumerable}:A},y=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},x={}.toString,B=function(e){return x.call(e).slice(8,-1)},v="".split,S=C((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==B(e)?v.call(e,""):Object(e)}:Object,b=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},T=function(e){return S(b(e))},w=function(e){return"object"==typeof e?null!==e:"function"==typeof e},_=function(e,t){if(!w(e))return e;var u,i;if(t&&"function"==typeof(u=e.toString)&&!w(i=u.call(e)))return i;if("function"==typeof(u=e.valueOf)&&!w(i=u.call(e)))return i;if(!t&&"function"==typeof(u=e.toString)&&!w(i=u.call(e)))return i;throw TypeError("Can't convert object to primitive value")},I=function(e){return Object(b(e))},k={}.hasOwnProperty,N=Object.hasOwn||function(e,t){return k.call(I(e),t)},L=E.document,P=w(L)&&w(L.createElement),O=!m&&!C((function(){return 7!=Object.defineProperty((e="div",P?L.createElement(e):{}),"a",{get:function(){return 7}}).a;var e})),R=Object.getOwnPropertyDescriptor,j={f:m?R:function(e,t){if(e=T(e),t=_(t,!0),O)try{return R(e,t)}catch(e){}if(N(e,t))return y(!g.f.call(e,t),e[t])}},M=function(e){if(!w(e))throw TypeError(String(e)+" is not an object");return e},V=Object.defineProperty,U={f:m?V:function(e,t,u){if(M(e),t=_(t,!0),M(u),O)try{return V(e,t,u)}catch(e){}if("get"in u||"set"in u)throw TypeError("Accessors not supported");return"value"in u&&(e[t]=u.value),e}},$=m?function(e,t,u){return U.f(e,t,y(1,u))}:function(e,t,u){return e[t]=u,e},G=function(e,t){try{$(E,e,t)}catch(u){E[e]=t}return t},X=E["__core-js_shared__"]||G("__core-js_shared__",{}),q=Function.toString;"function"!=typeof X.inspectSource&&(X.inspectSource=function(e){return q.call(e)});var W,H,J,z,K=X.inspectSource,Q=E.WeakMap,Y="function"==typeof Q&&/native code/.test(K(Q)),Z=d((function(e){(e.exports=function(e,t){return X[e]||(X[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.13.1",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})})),ee=0,te=Math.random(),ue=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++ee+te).toString(36)},ie=Z("keys"),re={},ne=E.WeakMap;if(Y||X.state){var se=X.state||(X.state=new ne),ae=se.get,oe=se.has,ce=se.set;W=function(e,t){if(oe.call(se,e))throw new TypeError("Object already initialized");return t.facade=e,ce.call(se,e,t),t},H=function(e){return ae.call(se,e)||{}},J=function(e){return oe.call(se,e)}}else{var pe=ie[z="state"]||(ie[z]=ue(z));re[pe]=!0,W=function(e,t){if(N(e,pe))throw new TypeError("Object already initialized");return t.facade=e,$(e,pe,t),t},H=function(e){return N(e,pe)?e[pe]:{}},J=function(e){return N(e,pe)}}var De,he,le={set:W,get:H,has:J,enforce:function(e){return J(e)?H(e):W(e,{})},getterFor:function(e){return function(t){var u;if(!w(t)||(u=H(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return u}}},de=d((function(e){var t=le.get,u=le.enforce,i=String(String).split("String");(e.exports=function(e,t,r,n){var s,a=!!n&&!!n.unsafe,o=!!n&&!!n.enumerable,c=!!n&&!!n.noTargetGet;"function"==typeof r&&("string"!=typeof t||N(r,"name")||$(r,"name",t),(s=u(r)).source||(s.source=i.join("string"==typeof t?t:""))),e!==E?(a?!c&&e[t]&&(o=!0):delete e[t],o?e[t]=r:$(e,t,r)):o?e[t]=r:G(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||K(this)}))})),fe=E,Ee=function(e){return"function"==typeof e?e:void 0},Ce=function(e,t){return arguments.length<2?Ee(fe[e])||Ee(E[e]):fe[e]&&fe[e][t]||E[e]&&E[e][t]},me=Math.ceil,Ae=Math.floor,Fe=function(e){return isNaN(e=+e)?0:(e>0?Ae:me)(e)},ge=Math.min,ye=function(e){return e>0?ge(Fe(e),9007199254740991):0},xe=Math.max,Be=Math.min,ve=function(e){return function(t,u,i){var r,n=T(t),s=ye(n.length),a=function(e,t){var u=Fe(e);return u<0?xe(u+t,0):Be(u,t)}(i,s);if(e&&u!=u){for(;s>a;)if((r=n[a++])!=r)return!0}else for(;s>a;a++)if((e||a in n)&&n[a]===u)return e||a||0;return!e&&-1}},Se={includes:ve(!0),indexOf:ve(!1)}.indexOf,be=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),Te={f:Object.getOwnPropertyNames||function(e){return function(e,t){var u,i=T(e),r=0,n=[];for(u in i)!N(re,u)&&N(i,u)&&n.push(u);for(;t.length>r;)N(i,u=t[r++])&&(~Se(n,u)||n.push(u));return n}(e,be)}},we={f:Object.getOwnPropertySymbols},_e=Ce("Reflect","ownKeys")||function(e){var t=Te.f(M(e)),u=we.f;return u?t.concat(u(e)):t},Ie=function(e,t){for(var u=_e(t),i=U.f,r=j.f,n=0;n<u.length;n++){var s=u[n];N(e,s)||i(e,s,r(t,s))}},ke=/#|\.prototype\./,Ne=function(e,t){var u=Pe[Le(e)];return u==Re||u!=Oe&&("function"==typeof t?C(t):!!t)},Le=Ne.normalize=function(e){return String(e).replace(ke,".").toLowerCase()},Pe=Ne.data={},Oe=Ne.NATIVE="N",Re=Ne.POLYFILL="P",je=Ne,Me=j.f,Ve=function(e,t){var u,i,r,n,s,a=e.target,o=e.global,c=e.stat;if(u=o?E:c?E[a]||G(a,{}):(E[a]||{}).prototype)for(i in t){if(n=t[i],r=e.noTargetGet?(s=Me(u,i))&&s.value:u[i],!je(o?i:a+(c?".":"#")+i,e.forced)&&void 0!==r){if(typeof n==typeof r)continue;Ie(n,r)}(e.sham||r&&r.sham)&&$(n,"sham",!0),de(u,i,n,e)}},Ue=Array.isArray||function(e){return"Array"==B(e)},$e=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Ge=function(e,t,u){if($e(e),void 0===t)return e;switch(u){case 0:return function(){return e.call(t)};case 1:return function(u){return e.call(t,u)};case 2:return function(u,i){return e.call(t,u,i)};case 3:return function(u,i,r){return e.call(t,u,i,r)}}return function(){return e.apply(t,arguments)}},Xe=function(e,t,u,i,r,n,s,a){for(var o,c=r,p=0,D=!!s&&Ge(s,a,3);p<i;){if(p in u){if(o=D?D(u[p],p,t):u[p],n>0&&Ue(o))c=Xe(e,t,o,ye(o.length),c,n-1)-1;else{if(c>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[c]=o}c++}p++}return c},qe=Xe,We=Ce("navigator","userAgent")||"",He=E.process,Je=He&&He.versions,ze=Je&&Je.v8;ze?he=(De=ze.split("."))[0]<4?1:De[0]+De[1]:We&&(!(De=We.match(/Edge\/(\d+)/))||De[1]>=74)&&(De=We.match(/Chrome\/(\d+)/))&&(he=De[1]);var Ke=he&&+he,Qe=!!Object.getOwnPropertySymbols&&!C((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Ke&&Ke<41})),Ye=Qe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ze=Z("wks"),et=E.Symbol,tt=Ye?et:et&&et.withoutSetter||ue,ut=function(e){return N(Ze,e)&&(Qe||"string"==typeof Ze[e])||(Qe&&N(et,e)?Ze[e]=et[e]:Ze[e]=tt("Symbol."+e)),Ze[e]},it=ut("species"),rt=function(e,t){var u;return Ue(e)&&("function"!=typeof(u=e.constructor)||u!==Array&&!Ue(u.prototype)?w(u)&&null===(u=u[it])&&(u=void 0):u=void 0),new(void 0===u?Array:u)(0===t?0:t)};Ve({target:"Array",proto:!0},{flatMap:function(e){var t,u=I(this),i=ye(u.length);return $e(e),(t=rt(u,0)).length=qe(t,u,u,i,0,1,e,arguments.length>1?arguments[1]:void 0),t}});var nt={},st=ut("iterator"),at=Array.prototype,ot={};ot[ut("toStringTag")]="z";var ct="[object z]"===String(ot),pt=ut("toStringTag"),Dt="Arguments"==B(function(){return arguments}()),ht=ct?B:function(e){var t,u,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(u=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),pt))?u:Dt?B(t):"Object"==(i=B(t))&&"function"==typeof t.callee?"Arguments":i},lt=ut("iterator"),dt=function(e){var t=e.return;if(void 0!==t)return M(t.call(e)).value},ft=function(e,t){this.stopped=e,this.result=t},Et=function(e,t,u){var i,r,n,s,a,o,c,p,D=u&&u.that,h=!(!u||!u.AS_ENTRIES),l=!(!u||!u.IS_ITERATOR),d=!(!u||!u.INTERRUPTED),f=Ge(t,D,1+h+d),E=function(e){return i&&dt(i),new ft(!0,e)},C=function(e){return h?(M(e),d?f(e[0],e[1],E):f(e[0],e[1])):d?f(e,E):f(e)};if(l)i=e;else{if("function"!=typeof(r=function(e){if(null!=e)return e[lt]||e["@@iterator"]||nt[ht(e)]}(e)))throw TypeError("Target is not iterable");if(void 0!==(p=r)&&(nt.Array===p||at[st]===p)){for(n=0,s=ye(e.length);s>n;n++)if((a=C(e[n]))&&a instanceof ft)return a;return new ft(!1)}i=r.call(e)}for(o=i.next;!(c=o.call(i)).done;){try{a=C(c.value)}catch(e){throw dt(i),e}if("object"==typeof a&&a&&a instanceof ft)return a}return new ft(!1)};Ve({target:"Object",stat:!0},{fromEntries:function(e){var t={};return Et(e,(function(e,u){!function(e,t,u){var i=_(t);i in e?U.f(e,i,y(0,u)):e[i]=u}(t,e,u)}),{AS_ENTRIES:!0}),t}});var Ct=void 0!==Ct?Ct:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function mt(){throw new Error("setTimeout has not been defined")}function At(){throw new Error("clearTimeout has not been defined")}var Ft=mt,gt=At;function yt(e){if(Ft===setTimeout)return setTimeout(e,0);if((Ft===mt||!Ft)&&setTimeout)return Ft=setTimeout,setTimeout(e,0);try{return Ft(e,0)}catch(t){try{return Ft.call(null,e,0)}catch(t){return Ft.call(this,e,0)}}}"function"==typeof Ct.setTimeout&&(Ft=setTimeout),"function"==typeof Ct.clearTimeout&&(gt=clearTimeout);var xt,Bt=[],vt=!1,St=-1;function bt(){vt&&xt&&(vt=!1,xt.length?Bt=xt.concat(Bt):St=-1,Bt.length&&Tt())}function Tt(){if(!vt){var e=yt(bt);vt=!0;for(var t=Bt.length;t;){for(xt=Bt,Bt=[];++St<t;)xt&&xt[St].run();St=-1,t=Bt.length}xt=null,vt=!1,function(e){if(gt===clearTimeout)return clearTimeout(e);if((gt===At||!gt)&&clearTimeout)return gt=clearTimeout,clearTimeout(e);try{gt(e)}catch(t){try{return gt.call(null,e)}catch(t){return gt.call(this,e)}}}(e)}}function wt(e,t){this.fun=e,this.array=t}wt.prototype.run=function(){this.fun.apply(null,this.array)};function _t(){}var It=_t,kt=_t,Nt=_t,Lt=_t,Pt=_t,Ot=_t,Rt=_t;var jt=Ct.performance||{},Mt=jt.now||jt.mozNow||jt.msNow||jt.oNow||jt.webkitNow||function(){return(new Date).getTime()};var Vt=new Date;var Ut={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var u=1;u<arguments.length;u++)t[u-1]=arguments[u];Bt.push(new wt(e,t)),1!==Bt.length||vt||yt(Tt)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:It,addListener:kt,once:Nt,off:Lt,removeListener:Pt,removeAllListeners:Ot,emit:Rt,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*Mt.call(jt),u=Math.floor(t),i=Math.floor(t%1*1e9);return e&&(u-=e[0],(i-=e[1])<0&&(u--,i+=1e9)),[u,i]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-Vt)/1e3}};var $t="object"==typeof Ut&&Ut.env&&Ut.env.NODE_DEBUG&&/\bsemver\b/i.test(Ut.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var Gt={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},Xt=d((function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:u}=Gt,i=(t=e.exports={}).re=[],r=t.src=[],n=t.t={};let s=0;const a=(e,t,u)=>{const a=s++;$t(a,t),n[e]=a,r[a]=t,i[a]=new RegExp(t,u?"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",`(${r[n.NUMERICIDENTIFIER]})\\.(${r[n.NUMERICIDENTIFIER]})\\.(${r[n.NUMERICIDENTIFIER]})`),a("MAINVERSIONLOOSE",`(${r[n.NUMERICIDENTIFIERLOOSE]})\\.(${r[n.NUMERICIDENTIFIERLOOSE]})\\.(${r[n.NUMERICIDENTIFIERLOOSE]})`),a("PRERELEASEIDENTIFIER",`(?:${r[n.NUMERICIDENTIFIER]}|${r[n.NONNUMERICIDENTIFIER]})`),a("PRERELEASEIDENTIFIERLOOSE",`(?:${r[n.NUMERICIDENTIFIERLOOSE]}|${r[n.NONNUMERICIDENTIFIER]})`),a("PRERELEASE",`(?:-(${r[n.PRERELEASEIDENTIFIER]}(?:\\.${r[n.PRERELEASEIDENTIFIER]})*))`),a("PRERELEASELOOSE",`(?:-?(${r[n.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${r[n.PRERELEASEIDENTIFIERLOOSE]})*))`),a("BUILDIDENTIFIER","[0-9A-Za-z-]+"),a("BUILD",`(?:\\+(${r[n.BUILDIDENTIFIER]}(?:\\.${r[n.BUILDIDENTIFIER]})*))`),a("FULLPLAIN",`v?${r[n.MAINVERSION]}${r[n.PRERELEASE]}?${r[n.BUILD]}?`),a("FULL",`^${r[n.FULLPLAIN]}$`),a("LOOSEPLAIN",`[v=\\s]*${r[n.MAINVERSIONLOOSE]}${r[n.PRERELEASELOOSE]}?${r[n.BUILD]}?`),a("LOOSE",`^${r[n.LOOSEPLAIN]}$`),a("GTLT","((?:<|>)?=?)"),a("XRANGEIDENTIFIERLOOSE",`${r[n.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),a("XRANGEIDENTIFIER",`${r[n.NUMERICIDENTIFIER]}|x|X|\\*`),a("XRANGEPLAIN",`[v=\\s]*(${r[n.XRANGEIDENTIFIER]})(?:\\.(${r[n.XRANGEIDENTIFIER]})(?:\\.(${r[n.XRANGEIDENTIFIER]})(?:${r[n.PRERELEASE]})?${r[n.BUILD]}?)?)?`),a("XRANGEPLAINLOOSE",`[v=\\s]*(${r[n.XRANGEIDENTIFIERLOOSE]})(?:\\.(${r[n.XRANGEIDENTIFIERLOOSE]})(?:\\.(${r[n.XRANGEIDENTIFIERLOOSE]})(?:${r[n.PRERELEASELOOSE]})?${r[n.BUILD]}?)?)?`),a("XRANGE",`^${r[n.GTLT]}\\s*${r[n.XRANGEPLAIN]}$`),a("XRANGELOOSE",`^${r[n.GTLT]}\\s*${r[n.XRANGEPLAINLOOSE]}$`),a("COERCE",`(^|[^\\d])(\\d{1,${u}})(?:\\.(\\d{1,${u}}))?(?:\\.(\\d{1,${u}}))?(?:$|[^\\d])`),a("COERCERTL",r[n.COERCE],!0),a("LONETILDE","(?:~>?)"),a("TILDETRIM",`(\\s*)${r[n.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",a("TILDE",`^${r[n.LONETILDE]}${r[n.XRANGEPLAIN]}$`),a("TILDELOOSE",`^${r[n.LONETILDE]}${r[n.XRANGEPLAINLOOSE]}$`),a("LONECARET","(?:\\^)"),a("CARETTRIM",`(\\s*)${r[n.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",a("CARET",`^${r[n.LONECARET]}${r[n.XRANGEPLAIN]}$`),a("CARETLOOSE",`^${r[n.LONECARET]}${r[n.XRANGEPLAINLOOSE]}$`),a("COMPARATORLOOSE",`^${r[n.GTLT]}\\s*(${r[n.LOOSEPLAIN]})$|^$`),a("COMPARATOR",`^${r[n.GTLT]}\\s*(${r[n.FULLPLAIN]})$|^$`),a("COMPARATORTRIM",`(\\s*)${r[n.GTLT]}\\s*(${r[n.LOOSEPLAIN]}|${r[n.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",a("HYPHENRANGE",`^\\s*(${r[n.XRANGEPLAIN]})\\s+-\\s+(${r[n.XRANGEPLAIN]})\\s*$`),a("HYPHENRANGELOOSE",`^\\s*(${r[n.XRANGEPLAINLOOSE]})\\s+-\\s+(${r[n.XRANGEPLAINLOOSE]})\\s*$`),a("STAR","(<|>)?=?\\s*\\*"),a("GTE0","^\\s*>=\\s*0.0.0\\s*$"),a("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}));const qt=["includePrerelease","loose","rtl"];var Wt=e=>e?"object"!=typeof e?{loose:!0}:qt.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{};const Ht=/^[0-9]+$/,Jt=(e,t)=>{const u=Ht.test(e),i=Ht.test(t);return u&&i&&(e=+e,t=+t),e===t?0:u&&!i?-1:i&&!u?1:e<t?-1:1};var zt={compareIdentifiers:Jt,rcompareIdentifiers:(e,t)=>Jt(t,e)};const{MAX_LENGTH:Kt,MAX_SAFE_INTEGER:Qt}=Gt,{re:Yt,t:Zt}=Xt,{compareIdentifiers:eu}=zt;class tu{constructor(e,t){if(t=Wt(t),e instanceof tu){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>Kt)throw new TypeError(`version is longer than ${Kt} characters`);$t("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const u=e.trim().match(t.loose?Yt[Zt.LOOSE]:Yt[Zt.FULL]);if(!u)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+u[1],this.minor=+u[2],this.patch=+u[3],this.major>Qt||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Qt||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Qt||this.patch<0)throw new TypeError("Invalid patch version");u[4]?this.prerelease=u[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<Qt)return t}return e})):this.prerelease=[],this.build=u[5]?u[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($t("SemVer.compare",this.version,this.options,e),!(e instanceof tu)){if("string"==typeof e&&e===this.version)return 0;e=new tu(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof tu||(e=new tu(e,this.options)),eu(this.major,e.major)||eu(this.minor,e.minor)||eu(this.patch,e.patch)}comparePre(e){if(e instanceof tu||(e=new tu(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 u=this.prerelease[t],i=e.prerelease[t];if($t("prerelease compare",t,u,i),void 0===u&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===u)return-1;if(u!==i)return eu(u,i)}while(++t)}compareBuild(e){e instanceof tu||(e=new tu(e,this.options));let t=0;do{const u=this.build[t],i=e.build[t];if($t("prerelease compare",t,u,i),void 0===u&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===u)return-1;if(u!==i)return eu(u,i)}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 uu=tu;var iu=(e,t,u)=>new uu(e,u).compare(new uu(t,u));var ru=(e,t,u)=>iu(e,t,u)<0;var nu=(e,t,u)=>iu(e,t,u)>=0,su="2.3.1",au=d((function(e,t){function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function i(){return"undefined"!=typeof WeakMap?new WeakMap:{add:u,delete:u,get:u,set:u,has:function(e){return!1}}}Object.defineProperty(t,"__esModule",{value:!0}),t.outdent=void 0;var r=Object.prototype.hasOwnProperty,n=function(e,t){return r.call(e,t)};function s(e,t){for(var u in t)n(t,u)&&(e[u]=t[u]);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,u){var i=0,r=e[0].match(p);r&&(i=r[1].length);var n=new RegExp("(\\r\\n|\\r|\\n).{0,"+i+"}","g");t&&(e=e.slice(1));var s=u.newline,c=u.trimLeadingNewline,D=u.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 u="",i=0,r=e.length;i<r;i++)u+=e[i],i<r-1&&(u+=t[i]);return u}function d(e){return n(e,"raw")&&n(e,"length")}var f=function e(t){var u=i(),r=i();return s((function i(n){for(var a=[],o=1;o<arguments.length;o++)a[o-1]=arguments[o];if(d(n)){var p=n,E=(a[0]===i||a[0]===f)&&D.test(p[0])&&c.test(p[1]),C=E?r:u,m=C.get(p);if(m||(m=h(p,E,t),C.set(p,m)),0===a.length)return m[0];var A=l(m,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=f,t.default=f;try{e.exports=f,Object.defineProperty(f,"__esModule",{value:!0}),f.default=f,f.outdent=f}catch(e){}}));const{outdent:ou}=au,cu={cursorOffset:{since:"1.4.0",category:"Special",type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:ou`
|
|
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:"Editor"},endOfLine:{since:"1.15.0",category:"Global",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:ou`
|
|
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:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{since:"0.0.10",category:"Global",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:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:"Config"},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:"Global",description:ou`
|
|
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:"Config"},printWidth:{since:"0.0.0",category:"Global",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:"Special",type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:ou`
|
|
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:"Editor"},rangeStart:{since:"1.4.0",category:"Special",type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:ou`
|
|
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:"Editor"},requirePragma:{since:"1.7.0",category:"Special",type:"boolean",default:!1,description:ou`
|
|
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:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:"Global",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 pu=["cliName","cliCategory","cliDescription"],Du={compare:iu,lt:ru,gte:nu},hu=su,lu={CATEGORY_CONFIG:"Config",CATEGORY_EDITOR:"Editor",CATEGORY_FORMAT:"Format",CATEGORY_OTHER:"Other",CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:"Global",CATEGORY_SPECIAL:"Special",options:cu}.options;var du={getSupportInfo:function({plugins:e=[],showUnreleased:t=!1,showDeprecated:u=!1,showInternal:i=!1}={}){const r=hu.split("-",1)[0],n=e.flatMap((e=>e.languages||[])).filter(c),s=(a=Object.assign({},...e.map((({options:e})=>e)),lu),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(i)return e;return D(e,pu)})).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)=>Du.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,u){const i=new Set(e.choices.map((e=>e.value)));for(const r of t)if(r.parsers)for(const t of r.parsers)if(!i.has(t)){i.add(t);const n=u.find((e=>e.parsers&&e.parsers[t]));let s=r.name;n&&n.name&&(s+=` (plugin: ${n.name})`),e.choices.push({value:t,description:s})}}(t,n,e));const u=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:u})}));var a,o;return{languages:n,options:s};function c(e){return t||!("since"in e)||e.since&&Du.gte(r,e.since)}function p(e){return u||!("deprecated"in e)||e.deprecated&&Du.lt(r,e.deprecated)}}};const{getSupportInfo:fu}=du,Eu=/[^\x20-\x7F]/;function Cu(e){return(t,u,i)=>{const r=i&&i.backwards;if(!1===u)return!1;const{length:n}=t;let s=u;for(;s>=0&&s<n;){const u=t.charAt(s);if(e instanceof RegExp){if(!e.test(u))return s}else if(!e.includes(u))return s;r?s--:s++}return(-1===s||s===n)&&s}}const mu=Cu(/\s/),Au=Cu(" \t"),Fu=Cu(",; \t"),gu=Cu(/[^\n\r]/);function yu(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let u=t+2;u<e.length;++u)if("*"===e.charAt(u)&&"/"===e.charAt(u+1))return u+2;return t}function xu(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?gu(e,t):t)}function Bu(e,t,u){const i=u&&u.backwards;if(!1===t)return!1;const r=e.charAt(t);if(i){if("\r"===e.charAt(t-1)&&"\n"===r)return t-2;if("\n"===r||"\r"===r||"\u2028"===r||"\u2029"===r)return t-1}else{if("\r"===r&&"\n"===e.charAt(t+1))return t+2;if("\n"===r||"\r"===r||"\u2028"===r||"\u2029"===r)return t+1}return t}function vu(e,t,u={}){const i=Au(e,u.backwards?t-1:t,u);return i!==Bu(e,i,u)}function Su(e,t){let u=null,i=t;for(;i!==u;)u=i,i=Fu(e,i),i=yu(e,i),i=Au(e,i);return i=xu(e,i),i=Bu(e,i),!1!==i&&vu(e,i)}function bu(e,t){let u=null,i=t;for(;i!==u;)u=i,i=Au(e,i),i=yu(e,i),i=xu(e,i),i=Bu(e,i);return i}function Tu(e,t,u){return bu(e,u(t))}function wu(e,t,u=0){let i=0;for(let r=u;r<e.length;++r)"\t"===e[r]?i=i+t-i%t:i++;return i}function _u(e,t){const u=e.slice(1,-1),i={quote:'"',regex:/"/g},r={quote:"'",regex:/'/g},n="'"===t?r:i,s=n===r?i:r;let a=n.quote;if(u.includes(n.quote)||u.includes(s.quote)){a=(u.match(n.regex)||[]).length>(u.match(s.regex)||[]).length?s.quote:n.quote}return a}function Iu(e,t,u){const i='"'===t?"'":'"',r=e.replace(/\\(.)|(["'])/gs,((e,r,n)=>r===i?r:n===t?"\\"+n:n||(u&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(r)?r:"\\"+r)));return t+r+t}function ku(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(e){const t=e.type||e.kind||"(unknown type)";let u=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||"");u.length>20&&(u=u.slice(0,19)+"\u2026");return t+(u?" "+u:"")}(e)}var Nu={inferParserByLanguage:function(e,t){const{languages:u}=fu({plugins:t.plugins}),i=u.find((({name:t})=>t.toLowerCase()===e))||u.find((({aliases:t})=>Array.isArray(t)&&t.includes(e)))||u.find((({extensions:t})=>Array.isArray(t)&&t.includes(`.${e}`)));return i&&i.parsers[0]},getStringWidth:function(e){return e?Eu.test(e)?a(e):e.length:0},getMaxContinuousCount:function(e,t){const u=e.match(new RegExp(`(${c(t)})+`,"g"));return null===u?0:u.reduce(((e,u)=>Math.max(e,u.length/t.length)),0)},getMinNotPresentContinuousCount:function(e,t){const u=e.match(new RegExp(`(${c(t)})+`,"g"));if(null===u)return 0;const i=new Map;let r=0;for(const e of u){const u=e.length/t.length;i.set(u,!0),u>r&&(r=u)}for(let e=1;e<r;e++)if(!i.get(e))return e;return r+1},getPenultimate:e=>e[e.length-2],getLast:p,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:bu,getNextNonSpaceNonCommentCharacterIndex:Tu,getNextNonSpaceNonCommentCharacter:function(e,t,u){return e.charAt(Tu(e,t,u))},skip:Cu,skipWhitespace:mu,skipSpaces:Au,skipToLineEnd:Fu,skipEverythingButNewLine:gu,skipInlineComment:yu,skipTrailingComment:xu,skipNewline:Bu,isNextLineEmptyAfterIndex:Su,isNextLineEmpty:function(e,t,u){return Su(e,u(t))},isPreviousLineEmpty:function(e,t,u){let i=u(t)-1;return i=Au(e,i,{backwards:!0}),i=Bu(e,i,{backwards:!0}),i=Au(e,i,{backwards:!0}),i!==Bu(e,i,{backwards:!0})},hasNewline:vu,hasNewlineInRange:function(e,t,u){for(let i=t;i<u;++i)if("\n"===e.charAt(i))return!0;return!1},hasSpaces:function(e,t,u={}){return Au(e,u.backwards?t-1:t,u)!==t},getAlignmentSize:wu,getIndentSize:function(e,t){const u=e.lastIndexOf("\n");return-1===u?0:wu(e.slice(u+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:_u,printString:function(e,t){return Iu(e.slice(1,-1),"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":_u(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:Iu,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,ku(e,t)},addDanglingComment:function(e,t,u){t.leading=!1,t.trailing=!1,u&&(t.marker=u),ku(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,ku(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(u){return t.has(u)||t.set(u,Symbol(e)),t.get(u)}}};const{isNonEmptyArray:Lu}=Nu;function Pu(e,t){const{ignoreDecorators:u}=t||{};if(!u){const t=e.declaration&&e.declaration.decorators||e.decorators;if(Lu(t))return Pu(t[0])}return e.range?e.range[0]:e.start}function Ou(e){return e.range?e.range[1]:e.end}function Ru(e,t){return Pu(e)===Pu(t)}var ju={locStart:Pu,locEnd:Ou,hasSameLocStart:Ru,hasSameLoc:function(e,t){return Ru(e,t)&&function(e,t){return Ou(e)===Ou(t)}(e,t)}},Mu=d((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 u(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=u(t)}while(t);return!1},trailingStatement:u}}()})),Vu=d((function(e){!function(){var t,u,i,r,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(u={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]/},i=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],r=new Array(128),s=0;s<128;++s)r[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&&i.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?r[e]:u.NonAsciiIdentifierStart.test(a(e))},isIdentifierPartES5:function(e){return e<128?n[e]:u.NonAsciiIdentifierPart.test(a(e))},isIdentifierStartES6:function(e){return e<128?r[e]:t.NonAsciiIdentifierStart.test(a(e))},isIdentifierPartES6:function(e){return e<128?n[e]:t.NonAsciiIdentifierPart.test(a(e))}}}()})),Uu=d((function(e){!function(){var t=Vu;function u(e,t){return!(!t&&"yield"===e)&&i(e,t)}function i(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 r(e,t){return"null"===e||"true"===e||"false"===e||u(e,t)}function n(e,t){return"null"===e||"true"===e||"false"===e||i(e,t)}function s(e){var u,i,r;if(0===e.length)return!1;if(r=e.charCodeAt(0),!t.isIdentifierStartES5(r))return!1;for(u=1,i=e.length;u<i;++u)if(r=e.charCodeAt(u),!t.isIdentifierPartES5(r))return!1;return!0}function a(e){var u,i,r,n,s;if(0===e.length)return!1;for(s=t.isIdentifierStartES6,u=0,i=e.length;u<i;++u){if(55296<=(r=e.charCodeAt(u))&&r<=56319){if(++u>=i)return!1;if(!(56320<=(n=e.charCodeAt(u))&&n<=57343))return!1;r=1024*(r-55296)+(n-56320)+65536}if(!s(r))return!1;s=t.isIdentifierPartES6}return!0}e.exports={isKeywordES5:u,isKeywordES6:i,isReservedWordES5:r,isReservedWordES6:n,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:s,isIdentifierNameES6:a,isIdentifierES5:function(e,t){return s(e)&&!r(e,t)},isIdentifierES6:function(e,t){return a(e)&&!n(e,t)}}}()}));const $u=d((function(e,t){t.ast=Mu,t.code=Vu,t.keyword=Uu})).keyword.isIdentifierNameES5,{getLast:Gu,hasNewline:Xu,skipWhitespace:qu,isNonEmptyArray:Wu,isNextLineEmptyAfterIndex:Hu}=Nu,{locStart:Ju,locEnd:zu,hasSameLocStart:Ku}=ju,Qu=new RegExp("^(?:(?=.)\\s)*:"),Yu=new RegExp("^(?:(?=.)\\s)*::");function Zu(e){return"Block"===e.type||"CommentBlock"===e.type||"MultiLine"===e.type}function ei(e){return"Line"===e.type||"CommentLine"===e.type||"SingleLine"===e.type||"HashbangComment"===e.type||"HTMLOpen"===e.type||"HTMLClose"===e.type}const ti=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function ui(e){return e&&ti.has(e.type)}function ii(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function ri(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function ni(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function si(e){return li(e)&&"Identifier"===e.callee.type&&("async"===e.callee.name||"inject"===e.callee.name||"fakeAsync"===e.callee.name)}function ai(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function oi(e){return"get"===e.kind||"set"===e.kind}function ci(e){return oi(e)||Ku(e,e.value)}const pi=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]);const Di=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 hi=/^(skip|[fx]?(it|describe|test))$/;function li(e){return e&&("CallExpression"===e.type||"OptionalCallExpression"===e.type)}function di(e){return e&&("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)}function fi(e){return/^(\d+|\d+\.\d+)$/.test(e)}function Ei(e){return e.quasis.some((e=>e.value.raw.includes("\n")))}function Ci(e){return e.extra?e.extra.raw:e.raw}const mi={"==":!0,"!=":!0,"===":!0,"!==":!0},Ai={"*":!0,"/":!0,"%":!0},Fi={">>":!0,">>>":!0,"<<":!0};const gi={};for(const[e,t]of[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].entries())for(const u of t)gi[u]=e;function yi(e){return gi[e]}const xi=new WeakMap;function Bi(e){if(xi.has(e))return xi.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),xi.set(e,t),t}const vi=new WeakMap;function Si(e){if(vi.has(e))return vi.get(e);let t=e.arguments;return"ImportExpression"===e.type&&(t=[e.source],e.attributes&&t.push(e.attributes)),vi.set(e,t),t}function bi(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function Ti(e){return e&&(e.prettierIgnore||Ii(e,wi.PrettierIgnore))}const wi={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},_i=(e,t)=>{if("function"==typeof e&&(t=e,e=0),e||t)return(u,i,r)=>!(e&wi.Leading&&!u.leading||e&wi.Trailing&&!u.trailing||e&wi.Dangling&&(u.leading||u.trailing)||e&wi.Block&&!Zu(u)||e&wi.Line&&!ei(u)||e&wi.First&&0!==i||e&wi.Last&&i!==r.length-1||e&wi.PrettierIgnore&&!bi(u)||t&&!t(u))};function Ii(e,t,u){if(!e||!Wu(e.comments))return!1;const i=_i(t,u);return!i||e.comments.some(i)}function ki(e,t,u){if(!e||!Array.isArray(e.comments))return[];const i=_i(t,u);return i?e.comments.filter(i):e.comments}function Ni(e){return li(e)||"NewExpression"===e.type||"ImportExpression"===e.type}var Li={getFunctionParameters:Bi,iterateFunctionParametersPath:function(e,t){const u=e.getValue();let i=0;const r=e=>t(e,i++);u.this&&e.call(r,"this"),Array.isArray(u.parameters)?e.each(r,"parameters"):Array.isArray(u.params)&&e.each(r,"params"),u.rest&&e.call(r,"rest")},getCallArguments:Si,iterateCallArgumentsPath:function(e,t){const u=e.getValue();"ImportExpression"===u.type?(e.call((e=>t(e,0)),"source"),u.attributes&&e.call((e=>t(e,1)),"attributes")):e.each(t,"arguments")},hasRestParameter:function(e){if(e.rest)return!0;const t=Bi(e);return t.length>0&&"RestElement"===Gu(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()&&ui(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasFlowAnnotationComment:function(e){return e&&Zu(e[0])&&Yu.test(e[0].value)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&Wu(e.trailingComments)&&Zu(e.trailingComments[0])&&Qu.test(e.trailingComments[0].value)},hasLeadingOwnLineComment:function(e,t){return ai(t)?Ti(t):Ii(t,wi.Leading,(t=>Xu(e,zu(t))))},hasNakedLeftSide:function(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||li(e)||di(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,u){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t))return t.some((t=>e(t,u)));const i=u(t);return"boolean"==typeof i?i:Object.values(t).some((t=>e(t,u)))},hasIgnoreComment:function(e){return Ti(e.getValue())},hasNodeIgnoreComment:Ti,identity:function(e){return e},isBinaryish:function(e){return pi.has(e.type)},isBlockComment:Zu,isCallLikeExpression:Ni,isLineComment:ei,isPrettierIgnoreComment:bi,isCallExpression:li,isMemberExpression:di,isExportDeclaration:ui,isFlowAnnotationComment:function(e,t){const u=Ju(t),i=qu(e,zu(t));return!1!==i&&"/*"===e.slice(u,u+2)&&"*/"===e.slice(i,i+2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;let t=0;for(const u of e)if(ni(u)){if(t+=1,t>1)return!0}else if(li(u))for(const e of u.arguments)if(ni(e))return!0;return!1},isFunctionNotation:ci,isFunctionOrArrowExpression:ni,isGetterOrSetter:oi,isJestEachTemplateLiteral:function(e,t){const u=/^[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&&u.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&&u.test(t.tag.object.object.name))},isJsxNode:ai,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(),u=e.getParentNode();return li(t)&&li(u)&&u.callee===t&&t.arguments.length>u.arguments.length&&u.arguments.length>0},isSimpleCallArgument:function e(t,u){if(u>=2)return!1;const i=t=>e(t,u+1),r="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(r&&r.length>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(i):"ObjectExpression"===t.type?t.properties.every((e=>!e.computed&&(e.shorthand||e.value&&i(e.value)))):"ArrayExpression"===t.type?t.elements.every((e=>null===e||i(e))):Ni(t)?("ImportExpression"===t.type||e(t.callee,u))&&Si(t).every(i):di(t)?e(t.object,u)&&e(t.property,u):"UnaryExpression"!==t.type||"!"!==t.operator&&"-"!==t.operator?"TSNonNullExpression"===t.type&&e(t.expression,u):e(t.argument,u)))},isMemberish:function(e){return di(e)||"BindExpression"===e.type&&Boolean(e.object)},isNumericLiteral:ii,isSignedNumericLiteral:function(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&ii(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},isObjectTypePropertyAFunction:function(e){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||ci(e))},isSimpleType:function(e){return!!e&&(!("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)||!!Di.has(e.type))},isSimpleNumber:fi,isSimpleTemplateLiteral:function(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");const u=e[t];return 0!==u.length&&u.every((e=>{if(Ii(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(di(e)){let t=e;for(;di(t);){if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type)return!1;if(t=t.object,Ii(t))return!1}return"Identifier"===t.type||"ThisExpression"===t.type}return!1}))},isStringLiteral:ri,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&ri(e.key)&&Ci(e.key).slice(1,-1)===e.key.value&&($u(e.key.value)&&!(("typescript"===t.parser||"babel-ts"===t.parser)&&"ClassProperty"===e.type)||fi(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&&Ei(e)||"TaggedTemplateExpression"===e.type&&Ei(e.quasi))&&!Xu(t,Ju(e),{backwards:!0})},isTestCall:function e(t,u){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(si(t)&&u&&e(u))return ni(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 si(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&hi.test(t.callee.name)||function(e){return di(e.callee)&&"Identifier"===e.callee.object.type&&"Identifier"===e.callee.property.type&&hi.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])||ri(t.arguments[0])))return!(t.arguments[2]&&!ii(t.arguments[2]))&&((2===t.arguments.length?ni(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&Bi(t.arguments[1]).length<=1)||si(t.arguments[1]));return!1},isTheOnlyJsxElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;const u=t.getNode();if(!u.expression||!ai(u.expression))return!1;const i=t.getParentNode();return"Program"===i.type&&1===i.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||Ku(e,e.typeAnnotation))},isNextLineEmpty:(e,{originalText:t})=>Hu(t,zu(e)),needsHardlineAfterDanglingComment:function(e){if(!Ii(e))return!1;const t=Gu(ki(e,wi.Dangling));return t&&!Zu(t)},rawText:Ci,shouldPrintComma:function(e,t="es5"){return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)},isBitwiseOperator:function(e){return Boolean(Fi[e])||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return yi(t)===yi(e)&&("**"!==e&&((!mi[e]||!mi[t])&&(!("%"===t&&Ai[e]||"%"===e&&Ai[t])&&((t===e||!Ai[t]||!Ai[e])&&(!Fi[e]||!Fi[t])))))},startsWithNoLookaheadToken:function e(t,u){switch((t=function(e){for(;e.left;)e=e.left;return e}(t)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return u;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return e(t.object,u);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,u);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,u);case"ConditionalExpression":return e(t.test,u);case"UpdateExpression":return!t.prefix&&e(t.argument,u);case"BindExpression":return t.object&&e(t.object,u);case"SequenceExpression":return e(t.expressions[0],u);case"TSAsExpression":case"TSNonNullExpression":return e(t.expression,u);default:return!1}},getPrecedence:yi,hasComment:Ii,getComments:ki,CommentCheckFlags:wi};const{getLast:Pi,hasNewline:Oi,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Ri,getNextNonSpaceNonCommentCharacter:ji,hasNewlineInRange:Mi,addLeadingComment:Vi,addTrailingComment:Ui,addDanglingComment:$i,getNextNonSpaceNonCommentCharacterIndex:Gi,isNonEmptyArray:Xi}=Nu,{isBlockComment:qi,getFunctionParameters:Wi,isPrettierIgnoreComment:Hi,isJsxNode:Ji,hasFlowShorthandAnnotationComment:zi,hasFlowAnnotationComment:Ki,hasIgnoreComment:Qi,isCallLikeExpression:Yi,getCallArguments:Zi,isCallExpression:er,isMemberExpression:tr,isObjectProperty:ur}=Li,{locStart:ir,locEnd:rr}=ju;function nr(e,t){const u=(e.body||e.properties).find((({type:e})=>"EmptyStatement"!==e));u?Vi(u,t):$i(e,t)}function sr(e,t){"BlockStatement"===e.type?nr(e,t):Vi(e,t)}function ar({comment:e,followingNode:t}){return!(!t||!Or(e))&&(Vi(t,e),!0)}function or({comment:e,precedingNode:t,enclosingNode:u,followingNode:i,text:r}){if(!u||"IfStatement"!==u.type||!i)return!1;return")"===ji(r,e,rr)?(Ui(t,e),!0):t===u.consequent&&i===u.alternate?("BlockStatement"===t.type?Ui(t,e):$i(u,e),!0):"BlockStatement"===i.type?(nr(i,e),!0):"IfStatement"===i.type?(sr(i.consequent,e),!0):u.consequent===i&&(Vi(i,e),!0)}function cr({comment:e,precedingNode:t,enclosingNode:u,followingNode:i,text:r}){if(!u||"WhileStatement"!==u.type||!i)return!1;return")"===ji(r,e,rr)?(Ui(t,e),!0):"BlockStatement"===i.type?(nr(i,e),!0):u.body===i&&(Vi(i,e),!0)}function pr({comment:e,precedingNode:t,enclosingNode:u,followingNode:i}){return!(!u||"TryStatement"!==u.type&&"CatchClause"!==u.type||!i)&&("CatchClause"===u.type&&t?(Ui(t,e),!0):"BlockStatement"===i.type?(nr(i,e),!0):"TryStatement"===i.type?(sr(i.finalizer,e),!0):"CatchClause"===i.type&&(sr(i.body,e),!0))}function Dr({comment:e,enclosingNode:t,followingNode:u}){return!(!tr(t)||!u||"Identifier"!==u.type)&&(Vi(t,e),!0)}function hr({comment:e,precedingNode:t,enclosingNode:u,followingNode:i,text:r}){const n=t&&!Mi(r,rr(t),ir(e));return!(t&&n||!u||"ConditionalExpression"!==u.type&&"TSConditionalType"!==u.type||!i)&&(Vi(i,e),!0)}function lr({comment:e,precedingNode:t,enclosingNode:u}){return!(!ur(u)||!u.shorthand||u.key!==t||"AssignmentPattern"!==u.value.type)&&(Ui(u.value.left,e),!0)}function dr({comment:e,precedingNode:t,enclosingNode:u,followingNode:i}){if(u&&("ClassDeclaration"===u.type||"ClassExpression"===u.type||"DeclareClass"===u.type||"DeclareInterface"===u.type||"InterfaceDeclaration"===u.type||"TSInterfaceDeclaration"===u.type)){if(Xi(u.decorators)&&(!i||"Decorator"!==i.type))return Ui(Pi(u.decorators),e),!0;if(u.body&&i===u.body)return nr(u.body,e),!0;if(i)for(const r of["implements","extends","mixins"])if(u[r]&&i===u[r][0])return!t||t!==u.id&&t!==u.typeParameters&&t!==u.superClass?$i(u,e,r):Ui(t,e),!0}return!1}function fr({comment:e,precedingNode:t,enclosingNode:u,text:i}){return(u&&t&&("Property"===u.type||"TSDeclareMethod"===u.type||"TSAbstractMethodDefinition"===u.type)&&"Identifier"===t.type&&u.key===t&&":"!==ji(i,t,rr)||!(!t||!u||"Decorator"!==t.type||"ClassMethod"!==u.type&&"ClassProperty"!==u.type&&"PropertyDefinition"!==u.type&&"TSAbstractClassProperty"!==u.type&&"TSAbstractMethodDefinition"!==u.type&&"TSDeclareMethod"!==u.type&&"MethodDefinition"!==u.type))&&(Ui(t,e),!0)}function Er({comment:e,precedingNode:t,enclosingNode:u,text:i}){return"("===ji(i,e,rr)&&(!(!t||!u||"FunctionDeclaration"!==u.type&&"FunctionExpression"!==u.type&&"ClassMethod"!==u.type&&"MethodDefinition"!==u.type&&"ObjectMethod"!==u.type)&&(Ui(t,e),!0))}function Cr({comment:e,enclosingNode:t,text:u}){if(!t||"ArrowFunctionExpression"!==t.type)return!1;const i=Gi(u,e,rr);return!1!==i&&"=>"===u.slice(i,i+2)&&($i(t,e),!0)}function mr({comment:e,enclosingNode:t,text:u}){return")"===ji(u,e,rr)&&(t&&(Pr(t)&&0===Wi(t).length||Yi(t)&&0===Zi(t).length)?($i(t,e),!0):!(!t||"MethodDefinition"!==t.type&&"TSAbstractMethodDefinition"!==t.type||0!==Wi(t.value).length)&&($i(t.value,e),!0))}function Ar({comment:e,precedingNode:t,enclosingNode:u,followingNode:i,text:r}){if(t&&"FunctionTypeParam"===t.type&&u&&"FunctionTypeAnnotation"===u.type&&i&&"FunctionTypeParam"!==i.type)return Ui(t,e),!0;if(t&&("Identifier"===t.type||"AssignmentPattern"===t.type)&&u&&Pr(u)&&")"===ji(r,e,rr))return Ui(t,e),!0;if(u&&"FunctionDeclaration"===u.type&&i&&"BlockStatement"===i.type){const t=(()=>{const e=Wi(u);if(e.length>0)return Ri(r,rr(Pi(e)));const t=Ri(r,rr(u.id));return!1!==t&&Ri(r,t+1)})();if(ir(e)>t)return nr(i,e),!0}return!1}function Fr({comment:e,enclosingNode:t}){return!(!t||"ImportSpecifier"!==t.type)&&(Vi(t,e),!0)}function gr({comment:e,enclosingNode:t}){return!(!t||"LabeledStatement"!==t.type)&&(Vi(t,e),!0)}function yr({comment:e,enclosingNode:t}){return!(!t||"ContinueStatement"!==t.type&&"BreakStatement"!==t.type||t.label)&&(Ui(t,e),!0)}function xr({comment:e,precedingNode:t,enclosingNode:u}){return!!(er(u)&&t&&u.callee===t&&u.arguments.length>0)&&(Vi(u.arguments[0],e),!0)}function Br({comment:e,precedingNode:t,enclosingNode:u,followingNode:i}){return!u||"UnionTypeAnnotation"!==u.type&&"TSUnionType"!==u.type?(i&&("UnionTypeAnnotation"===i.type||"TSUnionType"===i.type)&&Hi(e)&&(i.types[0].prettierIgnore=!0,e.unignore=!0),!1):(Hi(e)&&(i.prettierIgnore=!0,e.unignore=!0),!!t&&(Ui(t,e),!0))}function vr({comment:e,enclosingNode:t}){return!!ur(t)&&(Vi(t,e),!0)}function Sr({comment:e,enclosingNode:t,followingNode:u,ast:i,isLastComment:r}){return i&&i.body&&0===i.body.length?(r?$i(i,e):Vi(i,e),!0):t&&"Program"===t.type&&0===t.body.length&&!Xi(t.directives)?(r?$i(t,e):Vi(t,e),!0):!(!u||"Program"!==u.type||0!==u.body.length||!t||"ModuleExpression"!==t.type)&&($i(u,e),!0)}function br({comment:e,enclosingNode:t}){return!(!t||"ForInStatement"!==t.type&&"ForOfStatement"!==t.type)&&(Vi(t,e),!0)}function Tr({comment:e,precedingNode:t,enclosingNode:u,text:i}){return!!(t&&"ImportSpecifier"===t.type&&u&&"ImportDeclaration"===u.type&&Oi(i,rr(e)))&&(Ui(t,e),!0)}function wr({comment:e,enclosingNode:t}){return!(!t||"AssignmentPattern"!==t.type)&&(Vi(t,e),!0)}function _r({comment:e,enclosingNode:t}){return!(!t||"TypeAlias"!==t.type)&&(Vi(t,e),!0)}function Ir({comment:e,enclosingNode:t,followingNode:u}){return!(!t||"VariableDeclarator"!==t.type&&"AssignmentExpression"!==t.type||!u||"ObjectExpression"!==u.type&&"ArrayExpression"!==u.type&&"TemplateLiteral"!==u.type&&"TaggedTemplateExpression"!==u.type&&!qi(e))&&(Vi(u,e),!0)}function kr({comment:e,enclosingNode:t,followingNode:u,text:i}){return!(u||!t||"TSMethodSignature"!==t.type&&"TSDeclareFunction"!==t.type&&"TSAbstractMethodDefinition"!==t.type||";"!==ji(i,e,rr))&&(Ui(t,e),!0)}function Nr({comment:e,enclosingNode:t,followingNode:u}){if(Hi(e)&&t&&"TSMappedType"===t.type&&u&&"TSTypeParameter"===u.type&&u.constraint)return t.prettierIgnore=!0,e.unignore=!0,!0}function Lr({comment:e,precedingNode:t,enclosingNode:u,followingNode:i}){return!(!u||"TSMappedType"!==u.type)&&(i&&"TSTypeParameter"===i.type&&i.name?(Vi(i.name,e),!0):!(!t||"TSTypeParameter"!==t.type||!t.constraint)&&(Ui(t.constraint,e),!0))}function Pr(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 Or(e){return qi(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}var Rr={handleOwnLineComment:function(e){return[Nr,Ar,Dr,or,cr,pr,dr,Fr,br,Br,Sr,Tr,wr,fr,gr].some((t=>t(e)))},handleEndOfLineComment:function(e){return[ar,Ar,hr,Fr,or,cr,pr,dr,gr,xr,vr,Sr,_r,Ir].some((t=>t(e)))},handleRemainingComment:function(e){return[Nr,or,cr,lr,mr,fr,Sr,Cr,Er,Lr,yr,kr].some((t=>t(e)))},isTypeCastComment:Or,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===Wi(e.value).length&&!e.value.returnType&&!Xi(e.value.typeParameters)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]},willPrintOwnComments:function(e){const t=e.getValue(),u=e.getParentNode();return(t&&(Ji(t)||zi(t)||er(u)&&(Ki(t.leadingComments)||Ki(t.trailingComments)))||u&&("JSXSpreadAttribute"===u.type||"JSXSpreadChild"===u.type||"UnionTypeAnnotation"===u.type||"TSUnionType"===u.type||("ClassDeclaration"===u.type||"ClassExpression"===u.type)&&u.superClass===t))&&(!Qi(e)||"UnionTypeAnnotation"===u.type||"TSUnionType"===u.type)}};const{getLast:jr,getNextNonSpaceNonCommentCharacter:Mr}=Nu,{locStart:Vr,locEnd:Ur}=ju,{isTypeCastComment:$r}=Rr;function Gr(e){return"CallExpression"===e.type?(e.type="OptionalCallExpression",e.callee=Gr(e.callee)):"MemberExpression"===e.type?(e.type="OptionalMemberExpression",e.object=Gr(e.object)):"TSNonNullExpression"===e.type&&(e.expression=Gr(e.expression)),e}function Xr(e,t){let u;if(Array.isArray(e))u=e.entries();else{if(!e||"object"!=typeof e||"string"!=typeof e.type)return e;u=Object.entries(e)}for(const[i,r]of u)e[i]=Xr(r,t);return Array.isArray(e)?e:t(e)||e}function qr(e){return"LogicalExpression"===e.type&&"LogicalExpression"===e.right.type&&e.operator===e.right.operator}function Wr(e){return qr(e)?Wr({type:"LogicalExpression",operator:e.operator,left:Wr({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[Vr(e.left),Ur(e.right.left)]}),right:e.right.right,range:[Vr(e),Ur(e)]}):e}var Hr,Jr=function(t,u){if("typescript"===u.parser&&u.originalText.includes("@")){const{esTreeNodeToTSNodeMap:i,tsNodeToESTreeNodeMap:r}=u.tsParseResult;t=Xr(t,(t=>{const u=i.get(t);if(!u)return;const n=u.decorators;if(!Array.isArray(n))return;const s=r.get(u);if(s!==t)return;const a=s.decorators;if(!Array.isArray(a)||a.length!==n.length||n.some((e=>{const t=r.get(e);return!t||!a.includes(t)}))){const{start:t,end:u}=s.loc;throw e("Leading decorators must be attached to a class declaration",{start:{line:t.line,column:t.column+1},end:{line:u.line,column:u.column+1}})}}))}if("typescript"!==u.parser&&"flow"!==u.parser&&"espree"!==u.parser&&"meriyah"!==u.parser){const e=new Set;t=Xr(t,(t=>{t.leadingComments&&t.leadingComments.some($r)&&e.add(Vr(t))})),t=Xr(t,(t=>{if("ParenthesizedExpression"===t.type){const{expression:u}=t;if("TypeCastExpression"===u.type)return u.range=t.range,u;const i=Vr(t);if(!e.has(i))return u.extra=Object.assign(Object.assign({},u.extra),{},{parenthesized:!0}),u}}))}return t=Xr(t,(e=>{switch(e.type){case"ChainExpression":return Gr(e.expression);case"LogicalExpression":if(qr(e))return Wr(e);break;case"VariableDeclaration":{const t=jr(e.declarations);t&&t.init&&function(e,t){if(";"===u.originalText[Ur(t)])return;e.range=[Vr(e),Ur(t)]}(e,t);break}case"TSParenthesizedType":return e.typeAnnotation.range=[Vr(e),Ur(e)],e.typeAnnotation;case"TSTypeParameter":if("string"==typeof e.name){const t=Vr(e);e.name={type:"Identifier",name:e.name,range:[t,t+e.name.length]}}break;case"SequenceExpression":{const t=jr(e.expressions);e.range=[Vr(e),Math.min(Ur(t),Ur(e))];break}case"ClassProperty":e.key&&"TSPrivateIdentifier"===e.key.type&&"?"===Mr(u.originalText,e.key,Ur)&&(e.optional=!0)}}))};function zr(){if(void 0===Hr){var e=new ArrayBuffer(2),t=new Uint8Array(e),u=new Uint16Array(e);if(t[0]=1,t[1]=2,258===u[0])Hr="BE";else{if(513!==u[0])throw new Error("unable to figure out endianess");Hr="LE"}}return Hr}function Kr(){return void 0!==Ct.location?Ct.location.hostname:""}function Qr(){return[]}function Yr(){return 0}function Zr(){return Number.MAX_VALUE}function en(){return Number.MAX_VALUE}function tn(){return[]}function un(){return"Browser"}function rn(){return void 0!==Ct.navigator?Ct.navigator.appVersion:""}function nn(){}function sn(){}function an(){return"javascript"}function on(){return"browser"}function cn(){return"/tmp"}var pn=cn,Dn={EOL:"\n",arch:an,platform:on,tmpdir:pn,tmpDir:cn,networkInterfaces:nn,getNetworkInterfaces:sn,release:rn,type:un,cpus:tn,totalmem:en,freemem:Zr,uptime:Yr,loadavg:Qr,hostname:Kr,endianness:zr},hn=Object.freeze({__proto__:null,endianness:zr,hostname:Kr,loadavg:Qr,uptime:Yr,freemem:Zr,totalmem:en,cpus:tn,type:un,release:rn,networkInterfaces:nn,getNetworkInterfaces:sn,arch:an,platform:on,tmpDir:cn,tmpdir:pn,EOL:"\n",default:Dn});const ln=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");const t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;const u=t.filter((e=>"\r\n"===e)).length;return u>t.length-u?"\r\n":"\n"};var dn=ln;dn.graceful=e=>"string"==typeof e&&ln(e)||"\n";var fn=l(hn),En=function(e){const t=e.match(vn);return t?t[0].trimLeft():""},Cn=function(e){const t=e.match(vn);return t&&t[0]?e.substring(t[0].length):e},mn=function(e){return kn(e).pragmas},An=kn,Fn=function({comments:e="",pragmas:t={}}){const u=(0,yn().default)(e)||gn().EOL,i=" *",r=Object.keys(t),n=r.map((e=>Nn(e,t[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>" * "+e+u)).join("");if(!e){if(0===r.length)return"";if(1===r.length&&!Array.isArray(t[r[0]])){const e=t[r[0]];return`/** ${Nn(r[0],e)[0]} */`}}const s=e.split(u).map((e=>` * ${e}`)).join(u)+u;return"/**"+u+(e?s:"")+(e&&r.length?i+u:"")+n+" */"};function gn(){const e=fn;return gn=function(){return e},e}function yn(){const e=(t=dn)&&t.__esModule?t:{default:t};var t;return yn=function(){return e},e}const xn=/\*\/$/,Bn=/^\/\*\*/,vn=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Sn=/(^|\s+)\/\/([^\r\n]*)/g,bn=/^(\r?\n)+/,Tn=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,wn=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,_n=/(\r?\n|^) *\* ?/g,In=[];function kn(e){const t=(0,yn().default)(e)||gn().EOL;e=e.replace(Bn,"").replace(xn,"").replace(_n,"$1");let u="";for(;u!==e;)u=e,e=e.replace(Tn,`${t}$1 $2${t}`);e=e.replace(bn,"").trimRight();const i=Object.create(null),r=e.replace(wn,"").replace(bn,"").trimRight();let n;for(;n=wn.exec(e);){const e=n[2].replace(Sn,"");"string"==typeof i[n[1]]||Array.isArray(i[n[1]])?i[n[1]]=In.concat(i[n[1]],e):i[n[1]]=e}return{comments:r,pragmas:i}}function Nn(e,t){return In.concat(t).map((t=>`@${e} ${t}`.trim()))}var Ln=Object.defineProperty({extract:En,strip:Cn,parse:mn,parseWithComments:An,print:Fn},"__esModule",{value:!0});var Pn={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 u;if("\n"===t)u=/\n/g;else if("\r"===t)u=/\r/g;else{if("\r\n"!==t)throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`);u=/\r\n/g}const i=e.match(u);return i?i.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}};const{parseWithComments:On,strip:Rn,extract:jn,print:Mn}=Ln,{getShebang:Vn}=Nu,{normalizeEndOfLine:Un}=Pn;function $n(e){const t=Vn(e);t&&(e=e.slice(t.length+1));const u=jn(e),{pragmas:i,comments:r}=On(u);return{shebang:t,text:e,pragmas:i,comments:r}}var Gn={hasPragma:function(e){const t=Object.keys($n(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){const{shebang:t,text:u,pragmas:i,comments:r}=$n(e),n=Rn(u),s=Mn({pragmas:Object.assign({format:""},i),comments:r.trimStart()});return(t?`${t}\n`:"")+Un(s)+(n.startsWith("\n")?"\n":"\n\n")+n}};const{hasPragma:Xn}=Gn,{locStart:qn,locEnd:Wn}=ju;var Hn=function(e){return e="function"==typeof e?{parse:e}:e,Object.assign({astFormat:"estree",hasPragma:Xn,locStart:qn,locEnd:Wn},e)};var Jn=function(e){return"#"===e.charAt(0)&&"!"===e.charAt(1)?"//"+e.slice(2):e},zn={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"},Kn="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",Qn={5:Kn,"5module":Kn+" export import",6:Kn+" const class extends export import super"},Yn=/^in(stanceof)?$/,Zn="\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",es="\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",ts=new RegExp("["+Zn+"]"),us=new RegExp("["+Zn+es+"]");Zn=es=null;var is=[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],rs=[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 ns(e,t){for(var u=65536,i=0;i<t.length;i+=2){if((u+=t[i])>e)return!1;if((u+=t[i+1])>=e)return!0}}function ss(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&ts.test(String.fromCharCode(e)):!1!==t&&ns(e,is)))}function as(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&us.test(String.fromCharCode(e)):!1!==t&&(ns(e,is)||ns(e,rs)))))}var os=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 cs(e,t){return new os(e,{beforeExpr:!0,binop:t})}var ps={beforeExpr:!0},Ds={startsExpr:!0},hs={};function ls(e,t){return void 0===t&&(t={}),t.keyword=e,hs[e]=new os(e,t)}var ds={num:new os("num",Ds),regexp:new os("regexp",Ds),string:new os("string",Ds),name:new os("name",Ds),eof:new os("eof"),bracketL:new os("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new os("]"),braceL:new os("{",{beforeExpr:!0,startsExpr:!0}),braceR:new os("}"),parenL:new os("(",{beforeExpr:!0,startsExpr:!0}),parenR:new os(")"),comma:new os(",",ps),semi:new os(";",ps),colon:new os(":",ps),dot:new os("."),question:new os("?",ps),questionDot:new os("?."),arrow:new os("=>",ps),template:new os("template"),invalidTemplate:new os("invalidTemplate"),ellipsis:new os("...",ps),backQuote:new os("`",Ds),dollarBraceL:new os("${",{beforeExpr:!0,startsExpr:!0}),eq:new os("=",{beforeExpr:!0,isAssign:!0}),assign:new os("_=",{beforeExpr:!0,isAssign:!0}),incDec:new os("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new os("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:cs("||",1),logicalAND:cs("&&",2),bitwiseOR:cs("|",3),bitwiseXOR:cs("^",4),bitwiseAND:cs("&",5),equality:cs("==/!=/===/!==",6),relational:cs("</>/<=/>=",7),bitShift:cs("<</>>/>>>",8),plusMin:new os("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:cs("%",10),star:cs("*",10),slash:cs("/",10),starstar:new os("**",{beforeExpr:!0}),coalesce:cs("??",1),_break:ls("break"),_case:ls("case",ps),_catch:ls("catch"),_continue:ls("continue"),_debugger:ls("debugger"),_default:ls("default",ps),_do:ls("do",{isLoop:!0,beforeExpr:!0}),_else:ls("else",ps),_finally:ls("finally"),_for:ls("for",{isLoop:!0}),_function:ls("function",Ds),_if:ls("if"),_return:ls("return",ps),_switch:ls("switch"),_throw:ls("throw",ps),_try:ls("try"),_var:ls("var"),_const:ls("const"),_while:ls("while",{isLoop:!0}),_with:ls("with"),_new:ls("new",{beforeExpr:!0,startsExpr:!0}),_this:ls("this",Ds),_super:ls("super",Ds),_class:ls("class",Ds),_extends:ls("extends",ps),_export:ls("export"),_import:ls("import",Ds),_null:ls("null",Ds),_true:ls("true",Ds),_false:ls("false",Ds),_in:ls("in",{beforeExpr:!0,binop:7}),_instanceof:ls("instanceof",{beforeExpr:!0,binop:7}),_typeof:ls("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:ls("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:ls("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},fs=/\r\n?|\n|\u2028|\u2029/,Es=new RegExp(fs.source,"g");function Cs(e,t){return 10===e||13===e||!t&&(8232===e||8233===e)}var ms=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,As=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Fs=Object.prototype,gs=Fs.hasOwnProperty,ys=Fs.toString;function xs(e,t){return gs.call(e,t)}var Bs=Array.isArray||function(e){return"[object Array]"===ys.call(e)};function vs(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var Ss=function(e,t){this.line=e,this.column=t};Ss.prototype.offset=function(e){return new Ss(this.line,this.column+e)};var bs=function(e,t,u){this.start=t,this.end=u,null!==e.sourceFile&&(this.source=e.sourceFile)};function Ts(e,t){for(var u=1,i=0;;){Es.lastIndex=i;var r=Es.exec(e);if(!(r&&r.index<t))return new Ss(u,t-i);++u,i=r.index+r[0].length}}var ws={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1};function _s(e){var t={};for(var u in ws)t[u]=e&&xs(e,u)?e[u]:ws[u];if(t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),Bs(t.onToken)){var i=t.onToken;t.onToken=function(e){return i.push(e)}}return Bs(t.onComment)&&(t.onComment=function(e,t){return function(u,i,r,n,s,a){var o={type:u?"Block":"Line",value:i,start:r,end:n};e.locations&&(o.loc=new bs(this,s,a)),e.ranges&&(o.range=[r,n]),t.push(o)}}(t,t.onComment)),t}function Is(e,t){return 2|(e?4:0)|(t?8:0)}var ks=function(e,t,u){this.options=e=_s(e),this.sourceFile=e.sourceFile,this.keywords=vs(Qn[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var i="";if(!0!==e.allowReserved){for(var r=e.ecmaVersion;!(i=zn[r]);r--);"module"===e.sourceType&&(i+=" await")}this.reservedWords=vs(i);var n=(i?i+" ":"")+zn.strict;this.reservedWordsStrict=vs(n),this.reservedWordsStrictBind=vs(n+" "+zn.strictBind),this.input=String(t),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(fs).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=ds.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null},Ns={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};ks.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},Ns.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},Ns.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},Ns.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},Ns.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0},Ns.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},Ns.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},ks.prototype.inNonArrowFunction=function(){return(2&this.currentThisScope().flags)>0},ks.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var u=this,i=0;i<e.length;i++)u=e[i](u);return u},ks.parse=function(e,t){return new this(t,e).parse()},ks.parseExpressionAt=function(e,t,u){var i=new this(u,e,t);return i.nextToken(),i.parseExpression()},ks.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(ks.prototype,Ns);var Ls=ks.prototype,Ps=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;function Os(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}Ls.strictDirective=function(e){for(;;){As.lastIndex=e,e+=As.exec(this.input)[0].length;var t=Ps.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2])){As.lastIndex=e+t[0].length;var u=As.exec(this.input),i=u.index+u[0].length,r=this.input.charAt(i);return";"===r||"}"===r||fs.test(u[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(r)||"!"===r&&"="===this.input.charAt(i+1))}e+=t[0].length,As.lastIndex=e,e+=As.exec(this.input)[0].length,";"===this.input[e]&&e++}},Ls.eat=function(e){return this.type===e&&(this.next(),!0)},Ls.isContextual=function(e){return this.type===ds.name&&this.value===e&&!this.containsEsc},Ls.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},Ls.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},Ls.canInsertSemicolon=function(){return this.type===ds.eof||this.type===ds.braceR||fs.test(this.input.slice(this.lastTokEnd,this.start))},Ls.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Ls.semicolon=function(){this.eat(ds.semi)||this.insertSemicolon()||this.unexpected()},Ls.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},Ls.expect=function(e){this.eat(e)||this.unexpected()},Ls.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},Ls.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var u=t?e.parenthesizedAssign:e.parenthesizedBind;u>-1&&this.raiseRecoverable(u,"Parenthesized pattern")}},Ls.checkExpressionErrors=function(e,t){if(!e)return!1;var u=e.shorthandAssign,i=e.doubleProto;if(!t)return u>=0||i>=0;u>=0&&this.raise(u,"Shorthand property assignments are valid only in destructuring patterns"),i>=0&&this.raiseRecoverable(i,"Redefinition of __proto__ property")},Ls.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")},Ls.isSimpleAssignTarget=function(e){return"ParenthesizedExpression"===e.type?this.isSimpleAssignTarget(e.expression):"Identifier"===e.type||"MemberExpression"===e.type};var Rs=ks.prototype;Rs.parseTopLevel=function(e){var t={};for(e.body||(e.body=[]);this.type!==ds.eof;){var u=this.parseStatement(null,!0,t);e.body.push(u)}if(this.inModule)for(var i=0,r=Object.keys(this.undefinedExports);i<r.length;i+=1){var n=r[i];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 js={kind:"loop"},Ms={kind:"switch"};Rs.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;As.lastIndex=this.pos;var t=As.exec(this.input),u=this.pos+t[0].length,i=this.input.charCodeAt(u);if(91===i)return!0;if(e)return!1;if(123===i)return!0;if(ss(i,!0)){for(var r=u+1;as(this.input.charCodeAt(r),!0);)++r;var n=this.input.slice(u,r);if(!Yn.test(n))return!0}return!1},Rs.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;As.lastIndex=this.pos;var e=As.exec(this.input),t=this.pos+e[0].length;return!(fs.test(this.input.slice(this.pos,t))||"function"!==this.input.slice(t,t+8)||t+8!==this.input.length&&as(this.input.charAt(t+8)))},Rs.parseStatement=function(e,t,u){var i,r=this.type,n=this.startNode();switch(this.isLet(e)&&(r=ds._var,i="let"),r){case ds._break:case ds._continue:return this.parseBreakContinueStatement(n,r.keyword);case ds._debugger:return this.parseDebuggerStatement(n);case ds._do:return this.parseDoStatement(n);case ds._for:return this.parseForStatement(n);case ds._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(n,!1,!e);case ds._class:return e&&this.unexpected(),this.parseClass(n,!0);case ds._if:return this.parseIfStatement(n);case ds._return:return this.parseReturnStatement(n);case ds._switch:return this.parseSwitchStatement(n);case ds._throw:return this.parseThrowStatement(n);case ds._try:return this.parseTryStatement(n);case ds._const:case ds._var:return i=i||this.value,e&&"var"!==i&&this.unexpected(),this.parseVarStatement(n,i);case ds._while:return this.parseWhileStatement(n);case ds._with:return this.parseWithStatement(n);case ds.braceL:return this.parseBlock(!0,n);case ds.semi:return this.parseEmptyStatement(n);case ds._export:case ds._import:if(this.options.ecmaVersion>10&&r===ds._import){As.lastIndex=this.pos;var s=As.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'")),r===ds._import?this.parseImport(n):this.parseExport(n,u);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(n,!0,!e);var c=this.value,p=this.parseExpression();return r===ds.name&&"Identifier"===p.type&&this.eat(ds.colon)?this.parseLabeledStatement(n,c,p,e):this.parseExpressionStatement(n,p)}},Rs.parseBreakContinueStatement=function(e,t){var u="break"===t;this.next(),this.eat(ds.semi)||this.insertSemicolon()?e.label=null:this.type!==ds.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i<this.labels.length;++i){var r=this.labels[i];if(null==e.label||r.name===e.label.name){if(null!=r.kind&&(u||"loop"===r.kind))break;if(e.label&&u)break}}return i===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,u?"BreakStatement":"ContinueStatement")},Rs.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},Rs.parseDoStatement=function(e){return this.next(),this.labels.push(js),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(ds._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(ds.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},Rs.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(js),this.enterScope(0),this.expect(ds.parenL),this.type===ds.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var u=this.isLet();if(this.type===ds._var||this.type===ds._const||u){var i=this.startNode(),r=u?"let":this.value;return this.next(),this.parseVar(i,!0,r),this.finishNode(i,"VariableDeclaration"),(this.type===ds._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===i.declarations.length?(this.options.ecmaVersion>=9&&(this.type===ds._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,i)):(t>-1&&this.unexpected(t),this.parseFor(e,i))}var n=new Os,s=this.parseExpression(!0,n);return this.type===ds._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===ds._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(s,!1,n),this.checkLVal(s),this.parseForIn(e,s)):(this.checkExpressionErrors(n,!0),t>-1&&this.unexpected(t),this.parseFor(e,s))},Rs.parseFunctionStatement=function(e,t,u){return this.next(),this.parseFunction(e,Us|(u?0:$s),!1,t)},Rs.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(ds._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},Rs.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(ds.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},Rs.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(ds.braceL),this.labels.push(Ms),this.enterScope(0);for(var u=!1;this.type!==ds.braceR;)if(this.type===ds._case||this.type===ds._default){var i=this.type===ds._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),i?t.test=this.parseExpression():(u&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),u=!0,t.test=null),this.expect(ds.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")},Rs.parseThrowStatement=function(e){return this.next(),fs.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 Vs=[];Rs.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===ds._catch){var t=this.startNode();if(this.next(),this.eat(ds.parenL)){t.param=this.parseBindingAtom();var u="Identifier"===t.param.type;this.enterScope(u?32:0),this.checkLVal(t.param,u?4:2),this.expect(ds.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(ds._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},Rs.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},Rs.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(js),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},Rs.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")},Rs.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},Rs.parseLabeledStatement=function(e,t,u,i){for(var r=0,n=this.labels;r<n.length;r+=1){n[r].name===t&&this.raise(u.start,"Label '"+t+"' is already declared")}for(var s=this.type.isLoop?"loop":this.type===ds._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(i?-1===i.indexOf("label")?i+"label":i:"label"),this.labels.pop(),e.label=u,this.finishNode(e,"LabeledStatement")},Rs.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},Rs.parseBlock=function(e,t,u){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(ds.braceL),e&&this.enterScope(0);this.type!==ds.braceR;){var i=this.parseStatement(null);t.body.push(i)}return u&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},Rs.parseFor=function(e,t){return e.init=t,this.expect(ds.semi),e.test=this.type===ds.semi?null:this.parseExpression(),this.expect(ds.semi),e.update=this.type===ds.parenR?null:this.parseExpression(),this.expect(ds.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},Rs.parseForIn=function(e,t){var u=this.type===ds._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!u||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)?this.raise(t.start,(u?"for-in":"for-of")+" loop variable declaration may not have an initializer"):"AssignmentPattern"===t.type&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=u?this.parseExpression():this.parseMaybeAssign(),this.expect(ds.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,u?"ForInStatement":"ForOfStatement")},Rs.parseVar=function(e,t,u){for(e.declarations=[],e.kind=u;;){var i=this.startNode();if(this.parseVarId(i,u),this.eat(ds.eq)?i.init=this.parseMaybeAssign(t):"const"!==u||this.type===ds._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===i.id.type||t&&(this.type===ds._in||this.isContextual("of"))?i.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(i,"VariableDeclarator")),!this.eat(ds.comma))break}return e},Rs.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,"var"===t?1:2,!1)};var Us=1,$s=2;Rs.parseFunction=function(e,t,u,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===ds.star&&t&$s&&this.unexpected(),e.generator=this.eat(ds.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&Us&&(e.id=4&t&&this.type!==ds.name?null:this.parseIdent(),!e.id||t&$s||this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var r=this.yieldPos,n=this.awaitPos,s=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Is(e.async,e.generator)),t&Us||(e.id=this.type===ds.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,u,!1),this.yieldPos=r,this.awaitPos=n,this.awaitIdentPos=s,this.finishNode(e,t&Us?"FunctionDeclaration":"FunctionExpression")},Rs.parseFunctionParams=function(e){this.expect(ds.parenL),e.params=this.parseBindingList(ds.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},Rs.parseClass=function(e,t){this.next();var u=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.startNode(),r=!1;for(i.body=[],this.expect(ds.braceL);this.type!==ds.braceR;){var n=this.parseClassElement(null!==e.superClass);n&&(i.body.push(n),"MethodDefinition"===n.type&&"constructor"===n.kind&&(r&&this.raise(n.start,"Duplicate constructor in the same class"),r=!0))}return this.strict=u,this.next(),e.body=this.finishNode(i,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},Rs.parseClassElement=function(e){var t=this;if(this.eat(ds.semi))return null;var u=this.startNode(),i=function(e,i){void 0===i&&(i=!1);var r=t.start,n=t.startLoc;return!!t.eatContextual(e)&&(!(t.type===ds.parenL||i&&t.canInsertSemicolon())||(u.key&&t.unexpected(),u.computed=!1,u.key=t.startNodeAt(r,n),u.key.name=e,t.finishNode(u.key,"Identifier"),!1))};u.kind="method",u.static=i("static");var r=this.eat(ds.star),n=!1;r||(this.options.ecmaVersion>=8&&i("async",!0)?(n=!0,r=this.options.ecmaVersion>=9&&this.eat(ds.star)):i("get")?u.kind="get":i("set")&&(u.kind="set")),u.key||this.parsePropertyName(u);var s=u.key,a=!1;return u.computed||u.static||!("Identifier"===s.type&&"constructor"===s.name||"Literal"===s.type&&"constructor"===s.value)?u.static&&"Identifier"===s.type&&"prototype"===s.name&&this.raise(s.start,"Classes may not have a static property named prototype"):("method"!==u.kind&&this.raise(s.start,"Constructor can't have get/set modifier"),r&&this.raise(s.start,"Constructor can't be a generator"),n&&this.raise(s.start,"Constructor can't be an async method"),u.kind="constructor",a=e),this.parseClassMethod(u,r,n,a),"get"===u.kind&&0!==u.value.params.length&&this.raiseRecoverable(u.value.start,"getter should have no params"),"set"===u.kind&&1!==u.value.params.length&&this.raiseRecoverable(u.value.start,"setter should have exactly one param"),"set"===u.kind&&"RestElement"===u.value.params[0].type&&this.raiseRecoverable(u.value.params[0].start,"Setter cannot use rest params"),u},Rs.parseClassMethod=function(e,t,u,i){return e.value=this.parseMethod(t,u,i),this.finishNode(e,"MethodDefinition")},Rs.parseClassId=function(e,t){this.type===ds.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},Rs.parseClassSuper=function(e){e.superClass=this.eat(ds._extends)?this.parseExprSubscripts():null},Rs.parseExport=function(e,t){if(this.next(),this.eat(ds.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!==ds.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(ds._default)){var u;if(this.checkExport(t,"default",this.lastTokStart),this.type===ds._function||(u=this.isAsyncFunction())){var i=this.startNode();this.next(),u&&this.next(),e.declaration=this.parseFunction(i,4|Us,!1,u)}else if(this.type===ds._class){var r=this.startNode();e.declaration=this.parseClass(r,"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!==ds.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")},Rs.checkExport=function(e,t,u){e&&(xs(e,t)&&this.raiseRecoverable(u,"Duplicate export '"+t+"'"),e[t]=!0)},Rs.checkPatternExport=function(e,t){var u=t.type;if("Identifier"===u)this.checkExport(e,t.name,t.start);else if("ObjectPattern"===u)for(var i=0,r=t.properties;i<r.length;i+=1){var n=r[i];this.checkPatternExport(e,n)}else if("ArrayPattern"===u)for(var s=0,a=t.elements;s<a.length;s+=1){var o=a[s];o&&this.checkPatternExport(e,o)}else"Property"===u?this.checkPatternExport(e,t.value):"AssignmentPattern"===u?this.checkPatternExport(e,t.left):"RestElement"===u?this.checkPatternExport(e,t.argument):"ParenthesizedExpression"===u&&this.checkPatternExport(e,t.expression)},Rs.checkVariableExport=function(e,t){if(e)for(var u=0,i=t;u<i.length;u+=1){var r=i[u];this.checkPatternExport(e,r.id)}},Rs.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},Rs.parseExportSpecifiers=function(e){var t=[],u=!0;for(this.expect(ds.braceL);!this.eat(ds.braceR);){if(u)u=!1;else if(this.expect(ds.comma),this.afterTrailingComma(ds.braceR))break;var i=this.startNode();i.local=this.parseIdent(!0),i.exported=this.eatContextual("as")?this.parseIdent(!0):i.local,this.checkExport(e,i.exported.name,i.exported.start),t.push(this.finishNode(i,"ExportSpecifier"))}return t},Rs.parseImport=function(e){return this.next(),this.type===ds.string?(e.specifiers=Vs,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===ds.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},Rs.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===ds.name){var u=this.startNode();if(u.local=this.parseIdent(),this.checkLVal(u.local,2),e.push(this.finishNode(u,"ImportDefaultSpecifier")),!this.eat(ds.comma))return e}if(this.type===ds.star){var i=this.startNode();return this.next(),this.expectContextual("as"),i.local=this.parseIdent(),this.checkLVal(i.local,2),e.push(this.finishNode(i,"ImportNamespaceSpecifier")),e}for(this.expect(ds.braceL);!this.eat(ds.braceR);){if(t)t=!1;else if(this.expect(ds.comma),this.afterTrailingComma(ds.braceR))break;var r=this.startNode();r.imported=this.parseIdent(!0),this.eatContextual("as")?r.local=this.parseIdent():(this.checkUnreserved(r.imported),r.local=r.imported),this.checkLVal(r.local,2),e.push(this.finishNode(r,"ImportSpecifier"))}return e},Rs.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)},Rs.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 Gs=ks.prototype;Gs.toAssignable=function(e,t,u){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"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",u&&this.checkPatternErrors(u,!0);for(var i=0,r=e.properties;i<r.length;i+=1){var n=r[i];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",u&&this.checkPatternErrors(u,!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);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,u);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 u&&this.checkPatternErrors(u,!0);return e},Gs.toAssignableList=function(e,t){for(var u=e.length,i=0;i<u;i++){var r=e[i];r&&this.toAssignable(r,t)}if(u){var n=e[u-1];6===this.options.ecmaVersion&&t&&n&&"RestElement"===n.type&&"Identifier"!==n.argument.type&&this.unexpected(n.argument.start)}return e},Gs.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},Gs.parseRestBinding=function(){var e=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==ds.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},Gs.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case ds.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(ds.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case ds.braceL:return this.parseObj(!0)}return this.parseIdent()},Gs.parseBindingList=function(e,t,u){for(var i=[],r=!0;!this.eat(e);)if(r?r=!1:this.expect(ds.comma),t&&this.type===ds.comma)i.push(null);else{if(u&&this.afterTrailingComma(e))break;if(this.type===ds.ellipsis){var n=this.parseRestBinding();this.parseBindingListItem(n),i.push(n),this.type===ds.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),i.push(s)}return i},Gs.parseBindingListItem=function(e){return e},Gs.parseMaybeDefault=function(e,t,u){if(u=u||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(ds.eq))return u;var i=this.startNodeAt(e,t);return i.left=u,i.right=this.parseMaybeAssign(),this.finishNode(i,"AssignmentPattern")},Gs.checkLVal=function(e,t,u){switch(void 0===t&&(t=0),e.type){case"Identifier":2===t&&"let"===e.name&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(t?"Binding ":"Assigning to ")+e.name+" in strict mode"),u&&(xs(u,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),u[e.name]=!0),0!==t&&5!==t&&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":t&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ObjectPattern":for(var i=0,r=e.properties;i<r.length;i+=1){var n=r[i];this.checkLVal(n,t,u)}break;case"Property":this.checkLVal(e.value,t,u);break;case"ArrayPattern":for(var s=0,a=e.elements;s<a.length;s+=1){var o=a[s];o&&this.checkLVal(o,t,u)}break;case"AssignmentPattern":this.checkLVal(e.left,t,u);break;case"RestElement":this.checkLVal(e.argument,t,u);break;case"ParenthesizedExpression":this.checkLVal(e.expression,t,u);break;default:this.raise(e.start,(t?"Binding":"Assigning to")+" rvalue")}};var Xs=ks.prototype;Xs.checkPropClash=function(e,t,u){if(!(this.options.ecmaVersion>=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var i,r=e.key;switch(r.type){case"Identifier":i=r.name;break;case"Literal":i=String(r.value);break;default:return}var n=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===i&&"init"===n&&(t.proto&&(u?u.doubleProto<0&&(u.doubleProto=r.start):this.raiseRecoverable(r.start,"Redefinition of __proto__ property")),t.proto=!0);else{var s=t[i="$"+i];if(s)("init"===n?this.strict&&s.init||s.get||s.set:s.init||s[n])&&this.raiseRecoverable(r.start,"Redefinition of property");else s=t[i]={init:!1,get:!1,set:!1};s[n]=!0}}},Xs.parseExpression=function(e,t){var u=this.start,i=this.startLoc,r=this.parseMaybeAssign(e,t);if(this.type===ds.comma){var n=this.startNodeAt(u,i);for(n.expressions=[r];this.eat(ds.comma);)n.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(n,"SequenceExpression")}return r},Xs.parseMaybeAssign=function(e,t,u){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var i=!1,r=-1,n=-1;t?(r=t.parenthesizedAssign,n=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new Os,i=!0);var s=this.start,a=this.startLoc;this.type!==ds.parenL&&this.type!==ds.name||(this.potentialArrowAt=this.start);var o=this.parseMaybeConditional(e,t);if(u&&(o=u.call(this,o,s,a)),this.type.isAssign){var c=this.startNodeAt(s,a);return c.operator=this.value,c.left=this.type===ds.eq?this.toAssignable(o,!1,t):o,i||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=c.left.start&&(t.shorthandAssign=-1),this.checkLVal(o),this.next(),c.right=this.parseMaybeAssign(e),this.finishNode(c,"AssignmentExpression")}return i&&this.checkExpressionErrors(t,!0),r>-1&&(t.parenthesizedAssign=r),n>-1&&(t.trailingComma=n),o},Xs.parseMaybeConditional=function(e,t){var u=this.start,i=this.startLoc,r=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return r;if(this.eat(ds.question)){var n=this.startNodeAt(u,i);return n.test=r,n.consequent=this.parseMaybeAssign(),this.expect(ds.colon),n.alternate=this.parseMaybeAssign(e),this.finishNode(n,"ConditionalExpression")}return r},Xs.parseExprOps=function(e,t){var u=this.start,i=this.startLoc,r=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)||r.start===u&&"ArrowFunctionExpression"===r.type?r:this.parseExprOp(r,u,i,-1,e)},Xs.parseExprOp=function(e,t,u,i,r){var n=this.type.binop;if(null!=n&&(!r||this.type!==ds._in)&&n>i){var s=this.type===ds.logicalOR||this.type===ds.logicalAND,a=this.type===ds.coalesce;a&&(n=ds.logicalAND.binop);var o=this.value;this.next();var c=this.start,p=this.startLoc,D=this.parseExprOp(this.parseMaybeUnary(null,!1),c,p,n,r),h=this.buildBinary(t,u,e,D,o,s||a);return(s&&this.type===ds.coalesce||a&&(this.type===ds.logicalOR||this.type===ds.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(h,t,u,i,r)}return e},Xs.buildBinary=function(e,t,u,i,r,n){var s=this.startNodeAt(e,t);return s.left=u,s.operator=r,s.right=i,this.finishNode(s,n?"LogicalExpression":"BinaryExpression")},Xs.parseMaybeUnary=function(e,t){var u,i=this.start,r=this.startLoc;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))u=this.parseAwait(),t=!0;else if(this.type.prefix){var n=this.startNode(),s=this.type===ds.incDec;n.operator=this.value,n.prefix=!0,this.next(),n.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),s?this.checkLVal(n.argument):this.strict&&"delete"===n.operator&&"Identifier"===n.argument.type?this.raiseRecoverable(n.start,"Deleting local variable in strict mode"):t=!0,u=this.finishNode(n,s?"UpdateExpression":"UnaryExpression")}else{if(u=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return u;for(;this.type.postfix&&!this.canInsertSemicolon();){var a=this.startNodeAt(i,r);a.operator=this.value,a.prefix=!1,a.argument=u,this.checkLVal(u),this.next(),u=this.finishNode(a,"UpdateExpression")}}return!t&&this.eat(ds.starstar)?this.buildBinary(i,r,u,this.parseMaybeUnary(null,!1),"**",!1):u},Xs.parseExprSubscripts=function(e){var t=this.start,u=this.startLoc,i=this.parseExprAtom(e);if("ArrowFunctionExpression"===i.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return i;var r=this.parseSubscripts(i,t,u);return e&&"MemberExpression"===r.type&&(e.parenthesizedAssign>=r.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=r.start&&(e.parenthesizedBind=-1)),r},Xs.parseSubscripts=function(e,t,u,i){for(var r=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,n=!1;;){var s=this.parseSubscript(e,t,u,i,r,n);if(s.optional&&(n=!0),s===e||"ArrowFunctionExpression"===s.type){if(n){var a=this.startNodeAt(t,u);a.expression=s,s=this.finishNode(a,"ChainExpression")}return s}e=s}},Xs.parseSubscript=function(e,t,u,i,r,n){var s=this.options.ecmaVersion>=11,a=s&&this.eat(ds.questionDot);i&&a&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var o=this.eat(ds.bracketL);if(o||a&&this.type!==ds.parenL&&this.type!==ds.backQuote||this.eat(ds.dot)){var c=this.startNodeAt(t,u);c.object=e,c.property=o?this.parseExpression():this.parseIdent("never"!==this.options.allowReserved),c.computed=!!o,o&&this.expect(ds.bracketR),s&&(c.optional=a),e=this.finishNode(c,"MemberExpression")}else if(!i&&this.eat(ds.parenL)){var p=new Os,D=this.yieldPos,h=this.awaitPos,l=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var d=this.parseExprList(ds.parenR,this.options.ecmaVersion>=8,!1,p);if(r&&!a&&!this.canInsertSemicolon()&&this.eat(ds.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=D,this.awaitPos=h,this.awaitIdentPos=l,this.parseArrowExpression(this.startNodeAt(t,u),d,!0);this.checkExpressionErrors(p,!0),this.yieldPos=D||this.yieldPos,this.awaitPos=h||this.awaitPos,this.awaitIdentPos=l||this.awaitIdentPos;var f=this.startNodeAt(t,u);f.callee=e,f.arguments=d,s&&(f.optional=a),e=this.finishNode(f,"CallExpression")}else if(this.type===ds.backQuote){(a||n)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var E=this.startNodeAt(t,u);E.tag=e,E.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(E,"TaggedTemplateExpression")}return e},Xs.parseExprAtom=function(e){this.type===ds.slash&&this.readRegexp();var t,u=this.potentialArrowAt===this.start;switch(this.type){case ds._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),t=this.startNode(),this.next(),this.type!==ds.parenL||this.allowDirectSuper||this.raise(t.start,"super() call outside constructor of a subclass"),this.type!==ds.dot&&this.type!==ds.bracketL&&this.type!==ds.parenL&&this.unexpected(),this.finishNode(t,"Super");case ds._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case ds.name:var i=this.start,r=this.startLoc,n=this.containsEsc,s=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!n&&"async"===s.name&&!this.canInsertSemicolon()&&this.eat(ds._function))return this.parseFunction(this.startNodeAt(i,r),0,!1,!0);if(u&&!this.canInsertSemicolon()){if(this.eat(ds.arrow))return this.parseArrowExpression(this.startNodeAt(i,r),[s],!1);if(this.options.ecmaVersion>=8&&"async"===s.name&&this.type===ds.name&&!n)return s=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(ds.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,r),[s],!0)}return s;case ds.regexp:var a=this.value;return(t=this.parseLiteral(a.value)).regex={pattern:a.pattern,flags:a.flags},t;case ds.num:case ds.string:return this.parseLiteral(this.value);case ds._null:case ds._true:case ds._false:return(t=this.startNode()).value=this.type===ds._null?null:this.type===ds._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case ds.parenL:var o=this.start,c=this.parseParenAndDistinguishExpression(u);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(c)&&(e.parenthesizedAssign=o),e.parenthesizedBind<0&&(e.parenthesizedBind=o)),c;case ds.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(ds.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case ds.braceL:return this.parseObj(!1,e);case ds._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case ds._class:return this.parseClass(this.startNode(),!1);case ds._new:return this.parseNew();case ds.backQuote:return this.parseTemplate();case ds._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},Xs.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 ds.parenL:return this.parseDynamicImport(e);case ds.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},Xs.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(ds.parenR)){var t=this.start;this.eat(ds.comma)&&this.eat(ds.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},Xs.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.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},Xs.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")},Xs.parseParenExpression=function(){this.expect(ds.parenL);var e=this.parseExpression();return this.expect(ds.parenR),e},Xs.parseParenAndDistinguishExpression=function(e){var t,u=this.start,i=this.startLoc,r=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var n,s=this.start,a=this.startLoc,o=[],c=!0,p=!1,D=new Os,h=this.yieldPos,l=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==ds.parenR;){if(c?c=!1:this.expect(ds.comma),r&&this.afterTrailingComma(ds.parenR,!0)){p=!0;break}if(this.type===ds.ellipsis){n=this.start,o.push(this.parseParenItem(this.parseRestBinding())),this.type===ds.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}o.push(this.parseMaybeAssign(!1,D,this.parseParenItem))}var d=this.start,f=this.startLoc;if(this.expect(ds.parenR),e&&!this.canInsertSemicolon()&&this.eat(ds.arrow))return this.checkPatternErrors(D,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=l,this.parseParenArrowList(u,i,o);o.length&&!p||this.unexpected(this.lastTokStart),n&&this.unexpected(n),this.checkExpressionErrors(D,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=l||this.awaitPos,o.length>1?((t=this.startNodeAt(s,a)).expressions=o,this.finishNodeAt(t,"SequenceExpression",d,f)):t=o[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var E=this.startNodeAt(u,i);return E.expression=t,this.finishNode(E,"ParenthesizedExpression")}return t},Xs.parseParenItem=function(e){return e},Xs.parseParenArrowList=function(e,t,u){return this.parseArrowExpression(this.startNodeAt(e,t),u)};var qs=[];Xs.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(ds.dot)){e.meta=t;var u=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'"),u&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var i=this.start,r=this.startLoc,n=this.type===ds._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),i,r,!0),n&&"ImportExpression"===e.callee.type&&this.raise(i,"Cannot use new with import()"),this.eat(ds.parenL)?e.arguments=this.parseExprList(ds.parenR,this.options.ecmaVersion>=8,!1):e.arguments=qs,this.finishNode(e,"NewExpression")},Xs.parseTemplateElement=function(e){var t=e.isTagged,u=this.startNode();return this.type===ds.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),u.value={raw:this.value,cooked:null}):u.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),u.tail=this.type===ds.backQuote,this.finishNode(u,"TemplateElement")},Xs.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var u=this.startNode();this.next(),u.expressions=[];var i=this.parseTemplateElement({isTagged:t});for(u.quasis=[i];!i.tail;)this.type===ds.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(ds.dollarBraceL),u.expressions.push(this.parseExpression()),this.expect(ds.braceR),u.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(u,"TemplateLiteral")},Xs.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===ds.name||this.type===ds.num||this.type===ds.string||this.type===ds.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===ds.star)&&!fs.test(this.input.slice(this.lastTokEnd,this.start))},Xs.parseObj=function(e,t){var u=this.startNode(),i=!0,r={};for(u.properties=[],this.next();!this.eat(ds.braceR);){if(i)i=!1;else if(this.expect(ds.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(ds.braceR))break;var n=this.parseProperty(e,t);e||this.checkPropClash(n,r,t),u.properties.push(n)}return this.finishNode(u,e?"ObjectPattern":"ObjectExpression")},Xs.parseProperty=function(e,t){var u,i,r,n,s=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(ds.ellipsis))return e?(s.argument=this.parseIdent(!1),this.type===ds.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(s,"RestElement")):(this.type===ds.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),s.argument=this.parseMaybeAssign(!1,t),this.type===ds.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)&&(r=this.start,n=this.startLoc),e||(u=this.eat(ds.star)));var a=this.containsEsc;return this.parsePropertyName(s),!e&&!a&&this.options.ecmaVersion>=8&&!u&&this.isAsyncProp(s)?(i=!0,u=this.options.ecmaVersion>=9&&this.eat(ds.star),this.parsePropertyName(s,t)):i=!1,this.parsePropertyValue(s,e,u,i,r,n,t,a),this.finishNode(s,"Property")},Xs.parsePropertyValue=function(e,t,u,i,r,n,s,a){if((u||i)&&this.type===ds.colon&&this.unexpected(),this.eat(ds.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===ds.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(u,i);else if(t||a||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===ds.comma||this.type===ds.braceR||this.type===ds.eq)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((u||i)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=r),e.kind="init",t?e.value=this.parseMaybeDefault(r,n,e.key):this.type===ds.eq&&s?(s.shorthandAssign<0&&(s.shorthandAssign=this.start),e.value=this.parseMaybeDefault(r,n,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{(u||i)&&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")}},Xs.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(ds.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(ds.bracketR),e.key;e.computed=!1}return e.key=this.type===ds.num||this.type===ds.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},Xs.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},Xs.parseMethod=function(e,t,u){var i=this.startNode(),r=this.yieldPos,n=this.awaitPos,s=this.awaitIdentPos;return this.initFunction(i),this.options.ecmaVersion>=6&&(i.generator=e),this.options.ecmaVersion>=8&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|Is(t,i.generator)|(u?128:0)),this.expect(ds.parenL),i.params=this.parseBindingList(ds.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0),this.yieldPos=r,this.awaitPos=n,this.awaitIdentPos=s,this.finishNode(i,"FunctionExpression")},Xs.parseArrowExpression=function(e,t,u){var i=this.yieldPos,r=this.awaitPos,n=this.awaitIdentPos;return this.enterScope(16|Is(u,!1)),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!u),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=i,this.awaitPos=r,this.awaitIdentPos=n,this.finishNode(e,"ArrowFunctionExpression")},Xs.parseFunctionBody=function(e,t,u){var i=t&&this.type!==ds.braceL,r=this.strict,n=!1;if(i)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var s=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);r&&!s||(n=this.strictDirective(this.end))&&s&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var a=this.labels;this.labels=[],n&&(this.strict=!0),this.checkParams(e,!r&&!n&&!t&&!u&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,5),e.body=this.parseBlock(!1,void 0,n&&!r),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=a}this.exitScope()},Xs.isSimpleParamList=function(e){for(var t=0,u=e;t<u.length;t+=1){if("Identifier"!==u[t].type)return!1}return!0},Xs.checkParams=function(e,t){for(var u={},i=0,r=e.params;i<r.length;i+=1){var n=r[i];this.checkLVal(n,1,t?null:u)}},Xs.parseExprList=function(e,t,u,i){for(var r=[],n=!0;!this.eat(e);){if(n)n=!1;else if(this.expect(ds.comma),t&&this.afterTrailingComma(e))break;var s=void 0;u&&this.type===ds.comma?s=null:this.type===ds.ellipsis?(s=this.parseSpread(i),i&&this.type===ds.comma&&i.trailingComma<0&&(i.trailingComma=this.start)):s=this.parseMaybeAssign(!1,i),r.push(s)}return r},Xs.checkUnreserved=function(e){var t=e.start,u=e.end,i=e.name;(this.inGenerator&&"yield"===i&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===i&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.keywords.test(i)&&this.raise(t,"Unexpected keyword '"+i+"'"),this.options.ecmaVersion<6&&-1!==this.input.slice(t,u).indexOf("\\"))||(this.strict?this.reservedWordsStrict:this.reservedWords).test(i)&&(this.inAsync||"await"!==i||this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+i+"' is reserved"))},Xs.parseIdent=function(e,t){var u=this.startNode();return this.type===ds.name?u.name=this.value:this.type.keyword?(u.name=this.type.keyword,"class"!==u.name&&"function"!==u.name||this.lastTokEnd===this.lastTokStart+1&&46===this.input.charCodeAt(this.lastTokStart)||this.context.pop()):this.unexpected(),this.next(!!e),this.finishNode(u,"Identifier"),e||(this.checkUnreserved(u),"await"!==u.name||this.awaitIdentPos||(this.awaitIdentPos=u.start)),u},Xs.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===ds.semi||this.canInsertSemicolon()||this.type!==ds.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(ds.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},Xs.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var e=this.startNode();return this.next(),e.argument=this.parseMaybeUnary(null,!1),this.finishNode(e,"AwaitExpression")};var Ws=ks.prototype;Ws.raise=function(e,t){var u=Ts(this.input,e);t+=" ("+u.line+":"+u.column+")";var i=new SyntaxError(t);throw i.pos=e,i.loc=u,i.raisedAt=this.pos,i},Ws.raiseRecoverable=Ws.raise,Ws.curPosition=function(){if(this.options.locations)return new Ss(this.curLine,this.pos-this.lineStart)};var Hs=ks.prototype,Js=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[]};Hs.enterScope=function(e){this.scopeStack.push(new Js(e))},Hs.exitScope=function(){this.scopeStack.pop()},Hs.treatFunctionsAsVarInScope=function(e){return 2&e.flags||!this.inModule&&1&e.flags},Hs.declareName=function(e,t,u){var i=!1;if(2===t){var r=this.currentScope();i=r.lexical.indexOf(e)>-1||r.functions.indexOf(e)>-1||r.var.indexOf(e)>-1,r.lexical.push(e),this.inModule&&1&r.flags&&delete this.undefinedExports[e]}else if(4===t){this.currentScope().lexical.push(e)}else if(3===t){var n=this.currentScope();i=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&&!(32&a.flags&&a.lexical[0]===e)||!this.treatFunctionsAsVarInScope(a)&&a.functions.indexOf(e)>-1){i=!0;break}if(a.var.push(e),this.inModule&&1&a.flags&&delete this.undefinedExports[e],3&a.flags)break}i&&this.raiseRecoverable(u,"Identifier '"+e+"' has already been declared")},Hs.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},Hs.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Hs.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(3&t.flags)return t}},Hs.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(3&t.flags&&!(16&t.flags))return t}};var zs=function(e,t,u){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new bs(e,u)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},Ks=ks.prototype;function Qs(e,t,u,i){return e.type=t,e.end=u,this.options.locations&&(e.loc.end=i),this.options.ranges&&(e.range[1]=u),e}Ks.startNode=function(){return new zs(this,this.start,this.startLoc)},Ks.startNodeAt=function(e,t){return new zs(this,e,t)},Ks.finishNode=function(e,t){return Qs.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},Ks.finishNodeAt=function(e,t,u,i){return Qs.call(this,e,t,u,i)};var Ys=function(e,t,u,i,r){this.token=e,this.isExpr=!!t,this.preserveSpace=!!u,this.override=i,this.generator=!!r},Zs={b_stat:new Ys("{",!1),b_expr:new Ys("{",!0),b_tmpl:new Ys("${",!1),p_stat:new Ys("(",!1),p_expr:new Ys("(",!0),q_tmpl:new Ys("`",!0,!0,(function(e){return e.tryReadTemplateToken()})),f_stat:new Ys("function",!1),f_expr:new Ys("function",!0),f_expr_gen:new Ys("function",!0,!1,null,!0),f_gen:new Ys("function",!1,!1,null,!0)},ea=ks.prototype;ea.initialContext=function(){return[Zs.b_stat]},ea.braceIsBlock=function(e){var t=this.curContext();return t===Zs.f_expr||t===Zs.f_stat||(e!==ds.colon||t!==Zs.b_stat&&t!==Zs.b_expr?e===ds._return||e===ds.name&&this.exprAllowed?fs.test(this.input.slice(this.lastTokEnd,this.start)):e===ds._else||e===ds.semi||e===ds.eof||e===ds.parenR||e===ds.arrow||(e===ds.braceL?t===Zs.b_stat:e!==ds._var&&e!==ds._const&&e!==ds.name&&!this.exprAllowed):!t.isExpr)},ea.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},ea.updateContext=function(e){var t,u=this.type;u.keyword&&e===ds.dot?this.exprAllowed=!1:(t=u.updateContext)?t.call(this,e):this.exprAllowed=u.beforeExpr},ds.parenR.updateContext=ds.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===Zs.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},ds.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Zs.b_stat:Zs.b_expr),this.exprAllowed=!0},ds.dollarBraceL.updateContext=function(){this.context.push(Zs.b_tmpl),this.exprAllowed=!0},ds.parenL.updateContext=function(e){var t=e===ds._if||e===ds._for||e===ds._with||e===ds._while;this.context.push(t?Zs.p_stat:Zs.p_expr),this.exprAllowed=!0},ds.incDec.updateContext=function(){},ds._function.updateContext=ds._class.updateContext=function(e){!e.beforeExpr||e===ds.semi||e===ds._else||e===ds._return&&fs.test(this.input.slice(this.lastTokEnd,this.start))||(e===ds.colon||e===ds.braceL)&&this.curContext()===Zs.b_stat?this.context.push(Zs.f_stat):this.context.push(Zs.f_expr),this.exprAllowed=!1},ds.backQuote.updateContext=function(){this.curContext()===Zs.q_tmpl?this.context.pop():this.context.push(Zs.q_tmpl),this.exprAllowed=!1},ds.star.updateContext=function(e){if(e===ds._function){var t=this.context.length-1;this.context[t]===Zs.f_expr?this.context[t]=Zs.f_expr_gen:this.context[t]=Zs.f_gen}this.exprAllowed=!0},ds.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==ds.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var ta="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",ua=ta+" Extended_Pictographic",ia={9:ta,10:ua,11:"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 Extended_Pictographic"},ra="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",na="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",sa=na+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",aa={9:na,10:sa,11:"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 Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho"},oa={};function ca(e){var t=oa[e]={binary:vs(ia[e]+" "+ra),nonBinary:{General_Category:vs(ra),Script:vs(aa[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}ca(9),ca(10),ca(11);var pa=ks.prototype,Da=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.unicodeProperties=oa[e.options.ecmaVersion>=11?11: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 ha(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function la(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function da(e){return e>=65&&e<=90||e>=97&&e<=122}function fa(e){return da(e)||95===e}function Ea(e){return fa(e)||Ca(e)}function Ca(e){return e>=48&&e<=57}function ma(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Aa(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function Fa(e){return e>=48&&e<=55}Da.prototype.reset=function(e,t,u){var i=-1!==u.indexOf("u");this.start=0|e,this.source=t+"",this.flags=u,this.switchU=i&&this.parser.options.ecmaVersion>=6,this.switchN=i&&this.parser.options.ecmaVersion>=9},Da.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},Da.prototype.at=function(e,t){void 0===t&&(t=!1);var u=this.source,i=u.length;if(e>=i)return-1;var r=u.charCodeAt(e);if(!t&&!this.switchU||r<=55295||r>=57344||e+1>=i)return r;var n=u.charCodeAt(e+1);return n>=56320&&n<=57343?(r<<10)+n-56613888:r},Da.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var u=this.source,i=u.length;if(e>=i)return i;var r,n=u.charCodeAt(e);return!t&&!this.switchU||n<=55295||n>=57344||e+1>=i||(r=u.charCodeAt(e+1))<56320||r>57343?e+1:e+2},Da.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.pos,e)},Da.prototype.lookahead=function(e){return void 0===e&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},Da.prototype.advance=function(e){void 0===e&&(e=!1),this.pos=this.nextIndex(this.pos,e)},Da.prototype.eat=function(e,t){return void 0===t&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},pa.validateRegExpFlags=function(e){for(var t=e.validFlags,u=e.flags,i=0;i<u.length;i++){var r=u.charAt(i);-1===t.indexOf(r)&&this.raise(e.start,"Invalid regular expression flag"),u.indexOf(r,i+1)>-1&&this.raise(e.start,"Duplicate regular expression flag")}},pa.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},pa.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,u=e.backReferenceNames;t<u.length;t+=1){var i=u[t];-1===e.groupNames.indexOf(i)&&e.raise("Invalid named capture referenced")}},pa.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")},pa.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},pa.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)},pa.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 u=!1;if(this.options.ecmaVersion>=9&&(u=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!u,!0}return e.pos=t,!1},pa.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},pa.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},pa.regexp_eatBracedQuantifier=function(e,t){var u=e.pos;if(e.eat(123)){var i=0,r=-1;if(this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue),e.eat(125)))return-1!==r&&r<i&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=u}return!1},pa.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)},pa.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},pa.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},pa.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},pa.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)},pa.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},pa.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!la(t)&&(e.lastIntValue=t,e.advance(),!0)},pa.regexp_eatPatternCharacters=function(e){for(var t=e.pos,u=0;-1!==(u=e.current())&&!la(u);)e.advance();return e.pos!==t},pa.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)},pa.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")}},pa.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},pa.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=ha(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=ha(e.lastIntValue);return!0}return!1},pa.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,u=this.options.ecmaVersion>=11,i=e.current(u);return e.advance(u),92===i&&this.regexp_eatRegExpUnicodeEscapeSequence(e,u)&&(i=e.lastIntValue),function(e){return ss(e,!0)||36===e||95===e}(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)},pa.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,u=this.options.ecmaVersion>=11,i=e.current(u);return e.advance(u),92===i&&this.regexp_eatRegExpUnicodeEscapeSequence(e,u)&&(i=e.lastIntValue),function(e){return as(e,!0)||36===e||95===e||8204===e||8205===e}(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)},pa.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)},pa.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var u=e.lastIntValue;if(e.switchU)return u>e.maxBackReference&&(e.maxBackReference=u),!0;if(u<=e.numCapturingParens)return!0;e.pos=t}return!1},pa.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},pa.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)},pa.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},pa.regexp_eatZero=function(e){return 48===e.current()&&!Ca(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},pa.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)},pa.regexp_eatControlLetter=function(e){var t=e.current();return!!da(t)&&(e.lastIntValue=t%32,e.advance(),!0)},pa.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){void 0===t&&(t=!1);var u,i=e.pos,r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(r&&n>=55296&&n<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343)return e.lastIntValue=1024*(n-55296)+(a-56320)+65536,!0}e.pos=s,e.lastIntValue=n}return!0}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&((u=e.lastIntValue)>=0&&u<=1114111))return!0;r&&e.raise("Invalid unicode escape"),e.pos=i}return!1},pa.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)},pa.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},pa.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(function(e){return 100===e||68===e||115===e||83===e||119===e||87===e}(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},pa.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var u=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,u,i),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,r),!0}return!1},pa.regexp_validateUnicodePropertyNameAndValue=function(e,t,u){xs(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(u)||e.raise("Invalid property value")},pa.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},pa.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";fa(t=e.current());)e.lastStringValue+=ha(t),e.advance();return""!==e.lastStringValue},pa.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";Ea(t=e.current());)e.lastStringValue+=ha(t),e.advance();return""!==e.lastStringValue},pa.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},pa.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},pa.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var u=e.lastIntValue;!e.switchU||-1!==t&&-1!==u||e.raise("Invalid character class"),-1!==t&&-1!==u&&t>u&&e.raise("Range out of order in character class")}}},pa.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var u=e.current();(99===u||Fa(u))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var i=e.current();return 93!==i&&(e.lastIntValue=i,e.advance(),!0)},pa.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)},pa.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!Ca(t)&&95!==t)&&(e.lastIntValue=t%32,e.advance(),!0)},pa.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},pa.regexp_eatDecimalDigits=function(e){var t=e.pos,u=0;for(e.lastIntValue=0;Ca(u=e.current());)e.lastIntValue=10*e.lastIntValue+(u-48),e.advance();return e.pos!==t},pa.regexp_eatHexDigits=function(e){var t=e.pos,u=0;for(e.lastIntValue=0;ma(u=e.current());)e.lastIntValue=16*e.lastIntValue+Aa(u),e.advance();return e.pos!==t},pa.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var u=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*u+e.lastIntValue:e.lastIntValue=8*t+u}else e.lastIntValue=t;return!0}return!1},pa.regexp_eatOctalDigit=function(e){var t=e.current();return Fa(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},pa.regexp_eatFixedHexDigits=function(e,t){var u=e.pos;e.lastIntValue=0;for(var i=0;i<t;++i){var r=e.current();if(!ma(r))return e.pos=u,!1;e.lastIntValue=16*e.lastIntValue+Aa(r),e.advance()}return!0};var ga=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new bs(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},ya=ks.prototype;function xa(e){return"function"!=typeof BigInt?null:BigInt(e.replace(/_/g,""))}function Ba(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}ya.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 ga(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},ya.getToken=function(){return this.next(),new ga(this)},"undefined"!=typeof Symbol&&(ya[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===ds.eof,value:t}}}}),ya.curContext=function(){return this.context[this.context.length-1]},ya.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(ds.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},ya.readToken=function(e){return ss(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},ya.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},ya.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),u=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(-1===i&&this.raise(this.pos-2,"Unterminated comment"),this.pos=i+2,this.options.locations)for(Es.lastIndex=u;(e=Es.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(u+2,i),u,this.pos,t,this.curPosition())},ya.skipLineComment=function(e){for(var t=this.pos,u=this.options.onComment&&this.curPosition(),i=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!Cs(i);)i=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,u,this.curPosition())},ya.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&&ms.test(String.fromCharCode(e))))break e;++this.pos}}},ya.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var u=this.type;this.type=e,this.value=t,this.updateContext(u)},ya.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(ds.ellipsis)):(++this.pos,this.finishToken(ds.dot))},ya.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(ds.assign,2):this.finishOp(ds.slash,1)},ya.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),u=1,i=42===e?ds.star:ds.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++u,i=ds.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(ds.assign,u+1):this.finishOp(i,u)},ya.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(ds.assign,3);return this.finishOp(124===e?ds.logicalOR:ds.logicalAND,2)}return 61===t?this.finishOp(ds.assign,2):this.finishOp(124===e?ds.bitwiseOR:ds.bitwiseAND,1)},ya.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(ds.assign,2):this.finishOp(ds.bitwiseXOR,1)},ya.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&&!fs.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(ds.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(ds.assign,2):this.finishOp(ds.plusMin,1)},ya.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),u=1;return t===e?(u=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+u)?this.finishOp(ds.assign,u+1):this.finishOp(ds.bitShift,u)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(u=2),this.finishOp(ds.relational,u)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},ya.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(ds.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(ds.arrow)):this.finishOp(61===e?ds.eq:ds.prefix,1)},ya.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(46===t){var u=this.input.charCodeAt(this.pos+2);if(u<48||u>57)return this.finishOp(ds.questionDot,2)}if(63===t){if(e>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(ds.assign,3);return this.finishOp(ds.coalesce,2)}}return this.finishOp(ds.question,1)},ya.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(ds.parenL);case 41:return++this.pos,this.finishToken(ds.parenR);case 59:return++this.pos,this.finishToken(ds.semi);case 44:return++this.pos,this.finishToken(ds.comma);case 91:return++this.pos,this.finishToken(ds.bracketL);case 93:return++this.pos,this.finishToken(ds.bracketR);case 123:return++this.pos,this.finishToken(ds.braceL);case 125:return++this.pos,this.finishToken(ds.braceR);case 58:return++this.pos,this.finishToken(ds.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(ds.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(ds.prefix,1)}this.raise(this.pos,"Unexpected character '"+Ba(e)+"'")},ya.finishOp=function(e,t){var u=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,u)},ya.readRegexp=function(){for(var e,t,u=this.pos;;){this.pos>=this.input.length&&this.raise(u,"Unterminated regular expression");var i=this.input.charAt(this.pos);if(fs.test(i)&&this.raise(u,"Unterminated regular expression"),e)e=!1;else{if("["===i)t=!0;else if("]"===i&&t)t=!1;else if("/"===i&&!t)break;e="\\"===i}++this.pos}var r=this.input.slice(u,this.pos);++this.pos;var n=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(n);var a=this.regexpState||(this.regexpState=new Da(this));a.reset(u,r,s),this.validateRegExpFlags(a),this.validateRegExpPattern(a);var o=null;try{o=new RegExp(r,s)}catch(e){}return this.finishToken(ds.regexp,{pattern:r,flags:s,value:o})},ya.readInt=function(e,t,u){for(var i=this.options.ecmaVersion>=12&&void 0===t,r=u&&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(i&&95===p)r&&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 i&&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},ya.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var u=this.readInt(e);return null==u&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(u=xa(this.input.slice(t,this.pos)),++this.pos):ss(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(ds.num,u)},ya.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10,void 0,!0)||this.raise(t,"Invalid number");var u=this.pos-t>=2&&48===this.input.charCodeAt(t);u&&this.strict&&this.raise(t,"Invalid number");var i=this.input.charCodeAt(this.pos);if(!u&&!e&&this.options.ecmaVersion>=11&&110===i){var r=xa(this.input.slice(t,this.pos));return++this.pos,ss(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(ds.num,r)}u&&/[89]/.test(this.input.slice(t,this.pos))&&(u=!1),46!==i||u||(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),69!==i&&101!==i||u||(43!==(i=this.input.charCodeAt(++this.pos))&&45!==i||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),ss(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var n,s=(n=this.input.slice(t,this.pos),u?parseInt(n,8):parseFloat(n.replace(/_/g,"")));return this.finishToken(ds.num,s)},ya.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},ya.readString=function(e){for(var t="",u=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===e)break;92===i?(t+=this.input.slice(u,this.pos),t+=this.readEscapedChar(!1),u=this.pos):(Cs(i,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(u,this.pos++),this.finishToken(ds.string,t)};var va={};ya.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==va)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},ya.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw va;this.raise(e,t)},ya.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var u=this.input.charCodeAt(this.pos);if(96===u||36===u&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==ds.template&&this.type!==ds.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(ds.template,e)):36===u?(this.pos+=2,this.finishToken(ds.dollarBraceL)):(++this.pos,this.finishToken(ds.backQuote));if(92===u)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(Cs(u)){switch(e+=this.input.slice(t,this.pos),++this.pos,u){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(u)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},ya.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(ds.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},ya.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 Ba(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(e){var u=this.pos-1;return this.invalidStringToken(u,"Invalid escape sequence in template string"),null}default:if(t>=48&&t<=55){var i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(i,8);return r>255&&(i=i.slice(0,-1),r=parseInt(i,8)),this.pos+=i.length-1,t=this.input.charCodeAt(this.pos),"0"===i&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-i.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)}return Cs(t)?"":String.fromCharCode(t)}},ya.readHexChar=function(e){var t=this.pos,u=this.readInt(16,e);return null===u&&this.invalidStringToken(t,"Bad character escape sequence"),u},ya.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,u=this.pos,i=this.options.ecmaVersion>=6;this.pos<this.input.length;){var r=this.fullCharCodeAtPos();if(as(r,i))this.pos+=r<=65535?1:2;else{if(92!==r)break;this.containsEsc=!0,e+=this.input.slice(u,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?ss:as)(s,i)||this.invalidStringToken(n,"Invalid Unicode escape"),e+=Ba(s),u=this.pos}t=!1}return e+this.input.slice(u,this.pos)},ya.readWord=function(){var e=this.readWord1(),t=ds.name;return this.keywords.test(e)&&(t=hs[e]),this.finishToken(t,e)};ks.acorn={Parser:ks,version:"7.4.1",defaultOptions:ws,Position:Ss,SourceLocation:bs,getLineInfo:Ts,Node:zs,TokenType:os,tokTypes:ds,keywordTypes:hs,TokContext:Ys,tokContexts:Zs,isIdentifierChar:as,isIdentifierStart:ss,Token:ga,isNewLine:Cs,lineBreak:fs,lineBreakG:Es,nonASCIIwhitespace:ms};var Sa={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"},ba=l(Object.freeze({__proto__:null,Node:zs,Parser:ks,Position:Ss,SourceLocation:bs,TokContext:Ys,Token:ga,TokenType:os,defaultOptions:ws,getLineInfo:Ts,isIdentifierChar:as,isIdentifierStart:ss,isNewLine:Cs,keywordTypes:hs,lineBreak:fs,lineBreakG:Es,nonASCIIwhitespace:ms,parse:function(e,t){return ks.parse(e,t)},parseExpressionAt:function(e,t,u){return ks.parseExpressionAt(e,t,u)},tokContexts:Zs,tokTypes:ds,tokenizer:function(e,t){return ks.tokenizer(e,t)},version:"7.4.1"})),Ta=d((function(e){const t=/^[\da-fA-F]+$/,u=/^\d+$/,i=new WeakMap;function r(e){e=e.Parser.acorn||e;let t=i.get(e);if(!t){const u=e.tokTypes,r=e.TokContext,n=e.TokenType,s=new r("<tag",!1),a=new r("</tag",!1),o=new r("<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===u.slash||t===a?(this.context.pop(),this.exprAllowed=this.curContext()===o):this.exprAllowed=!0},t={tokContexts:c,tokTypes:p},i.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(i){return function(e,i){const s=i.acorn||ba,a=r(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,d=s.isNewLine,f=s.isIdentifierStart,E=s.isIdentifierChar;return class extends i{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 u=this.input.charCodeAt(this.pos);switch(u){case 60:case 123:return this.pos===this.start?60===u&&this.exprAllowed?(++this.pos,this.finishToken(c.jsxTagStart)):this.getTokenFromCode(u):(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===u?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:d(u)?(e+=this.input.slice(t,this.pos),e+=this.jsx_readNewLine(!0),t=this.pos):++this.pos}}}jsx_readNewLine(e){let t,u=this.input.charCodeAt(this.pos);return++this.pos,13===u&&10===this.input.charCodeAt(this.pos)?(++this.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(u),this.options.locations&&(++this.curLine,this.lineStart=this.pos),t}jsx_readString(e){let t="",u=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let i=this.input.charCodeAt(this.pos);if(i===e)break;38===i?(t+=this.input.slice(u,this.pos),t+=this.jsx_readEntity(),u=this.pos):d(i)?(t+=this.input.slice(u,this.pos),t+=this.jsx_readNewLine(!1),u=this.pos):++this.pos}return t+=this.input.slice(u,this.pos++),this.finishToken(o.string,t)}jsx_readEntity(){let e,i="",r=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&&r++<10;){if(n=this.input[this.pos++],";"===n){"#"===i[0]?"x"===i[1]?(i=i.substr(2),t.test(i)&&(e=String.fromCharCode(parseInt(i,16)))):(i=i.substr(1),u.test(i)&&(e=String.fromCharCode(parseInt(i,10)))):e=Sa[i];break}i+=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,u=this.startLoc,i=this.jsx_parseIdentifier();if(!e.allowNamespaces||!this.eat(o.colon))return i;var r=this.startNodeAt(t,u);return r.namespace=i,r.name=this.jsx_parseIdentifier(),this.finishNode(r,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===c.jsxTagEnd)return"";let t=this.start,u=this.startLoc,i=this.jsx_parseNamespacedName();for(this.type!==o.dot||"JSXNamespacedName"!==i.type||e.allowNamespacedObjects||this.unexpected();this.eat(o.dot);){let e=this.startNodeAt(t,u);e.object=i,e.property=this.jsx_parseIdentifier(),i=this.finishNode(e,"JSXMemberExpression")}return i}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 u=this.startNodeAt(e,t);u.attributes=[];let i=this.jsx_parseElementName();for(i&&(u.name=i);this.type!==o.slash&&this.type!==c.jsxTagEnd;)u.attributes.push(this.jsx_parseAttribute());return u.selfClosing=this.eat(o.slash),this.expect(c.jsxTagEnd),this.finishNode(u,i?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(e,t){let u=this.startNodeAt(e,t),i=this.jsx_parseElementName();return i&&(u.name=i),this.expect(c.jsxTagEnd),this.finishNode(u,i?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(e,t){let u=this.startNodeAt(e,t),i=[],r=this.jsx_parseOpeningElementAt(e,t),s=null;if(!r.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}i.push(this.jsx_parseElementAt(e,t));break;case c.jsxText:i.push(this.parseExprAtom());break;case o.braceL:i.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}n(s.name)!==n(r.name)&&this.raise(s.start,"Expected corresponding JSX closing tag for <"+n(r.name)+">")}let a=r.name?"Element":"Fragment";return u["opening"+a]=r,u["closing"+a]=s,u.children=i,this.type===o.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(u,"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(f(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},i)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return r(ba).tokTypes},configurable:!0,enumerable:!0})})),wa={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 _a="Boolean",Ia="Identifier",ka="Keyword",Na="Null",La="Numeric",Pa="Punctuator",Oa="String",Ra="RegularExpression",ja="Template",Ma="JSXIdentifier",Va="JSXText";function Ua(e,t){this._acornTokTypes=e,this._tokens=[],this._curlyBrace=null,this._code=t}Ua.prototype={constructor:Ua,translate(e,t){const u=e.type,i=this._acornTokTypes;if(u===i.name)e.type=Ia,"static"===e.value&&(e.type=ka),t.ecmaVersion>5&&("yield"===e.value||"let"===e.value)&&(e.type=ka);else if(u===i.semi||u===i.comma||u===i.parenL||u===i.parenR||u===i.braceL||u===i.braceR||u===i.dot||u===i.bracketL||u===i.colon||u===i.question||u===i.bracketR||u===i.ellipsis||u===i.arrow||u===i.jsxTagStart||u===i.incDec||u===i.starstar||u===i.jsxTagEnd||u===i.prefix||u===i.questionDot||u.binop&&!u.keyword||u.isAssign)e.type=Pa,e.value=this._code.slice(e.start,e.end);else if(u===i.jsxName)e.type=Ma;else if("jsxText"===u.label||u===i.jsxAttrValueToken)e.type=Va;else if(u.keyword)"true"===u.keyword||"false"===u.keyword?e.type=_a:"null"===u.keyword?e.type=Na:e.type=ka;else if(u===i.num)e.type=La,e.value=this._code.slice(e.start,e.end);else if(u===i.string)t.jsxAttrValueToken?(t.jsxAttrValueToken=!1,e.type=Va):e.type=Oa,e.value=this._code.slice(e.start,e.end);else if(u===i.regexp){e.type=Ra;const t=e.value;e.regex={flags:t.flags,pattern:t.pattern},e.value=`/${t.pattern}/${t.flags}`}return e},onToken(e,t){const u=this,i=this._acornTokTypes,r=t.tokens,n=this._tokens;function s(){r.push(function(e,t){const u=e[0],i=e[e.length-1],r={type:ja,value:t.slice(u.start,i.end)};return u.loc&&(r.loc={start:u.loc.start,end:i.loc.end}),u.range&&(r.start=u.range[0],r.end=i.range[1],r.range=[r.start,r.end]),r}(u._tokens,u._code)),u._tokens=[]}if(e.type!==i.eof){if(e.type===i.backQuote)return this._curlyBrace&&(r.push(this.translate(this._curlyBrace,t)),this._curlyBrace=null),n.push(e),void(n.length>1&&s());if(e.type===i.dollarBraceL)return n.push(e),void s();if(e.type===i.braceR)return this._curlyBrace&&r.push(this.translate(this._curlyBrace,t)),void(this._curlyBrace=e);if(e.type===i.template||e.type===i.invalidTemplate)return this._curlyBrace&&(n.push(this._curlyBrace),this._curlyBrace=null),void n.push(e);this._curlyBrace&&(r.push(this.translate(this._curlyBrace,t)),this._curlyBrace=null),r.push(this.translate(e,t))}else this._curlyBrace&&r.push(this.translate(this._curlyBrace,t))}};var $a=Ua;const Ga=[3,5,6,7,8,9,10,11,12];var Xa={normalizeOptions:function(e){const t=function(e=5){if("number"!=typeof e)throw new Error(`ecmaVersion must be a number. Received value of type ${typeof e} instead.`);let t=e;if(t>=2015&&(t-=2009),!Ga.includes(t))throw new Error("Invalid ecmaVersion.");return t}(e.ecmaVersion),u=function(e="script"){if("script"===e||"module"===e)return e;throw new Error("Invalid sourceType.")}(e.sourceType),i=!0===e.range,r=!0===e.loc;if("module"===u&&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:u,ranges:i,locations:r})},getLatestEcmaVersion:function(){return Ga[Ga.length-1]},getSupportedEcmaVersions:function(){return[...Ga]}};const{normalizeOptions:qa}=Xa,Wa=Symbol("espree's internal state"),Ha=Symbol("espree's esprimaFinishNode");var Ja=()=>e=>{const t=Object.assign({},e.acorn.tokTypes);return e.acornJsx&&Object.assign(t,e.acornJsx.tokTypes),class extends e{constructor(e,u){"object"==typeof e&&null!==e||(e={}),"string"==typeof u||u instanceof String||(u=String(u));const i=qa(e),r=i.ecmaFeatures||{},n=!0===i.tokens?new $a(t,u):null;super({ecmaVersion:i.ecmaVersion,sourceType:i.sourceType,ranges:i.ranges,locations:i.locations,allowReturnOutsideFunction:Boolean(r.globalReturn),onToken:e=>{n&&n.onToken(e,this[Wa]),e.type!==t.eof&&(this[Wa].lastToken=e)},onComment:(e,t,u,i,r,n)=>{if(this[Wa].comments){const s=function(e,t,u,i,r,n){const s={type:e?"Block":"Line",value:t};return"number"==typeof u&&(s.start=u,s.end=i,s.range=[u,i]),"object"==typeof r&&(s.loc={start:r,end:n}),s}(e,t,u,i,r,n);this[Wa].comments.push(s)}}},u),this[Wa]={tokens:n?[]:null,comments:!0===i.comment?[]:null,impliedStrict:!0===r.impliedStrict&&this.options.ecmaVersion>=5,ecmaVersion:this.options.ecmaVersion,jsxAttrValueToken:!1,lastToken:null}}tokenize(){do{this.next()}while(this.type!==t.eof);this.next();const e=this[Wa],u=e.tokens;return e.comments&&(u.comments=e.comments),u}finishNode(...e){const t=super.finishNode(...e);return this[Ha](t)}finishNodeAt(...e){const t=super.finishNodeAt(...e);return this[Ha](t)}parse(){const e=this[Wa],t=super.parse();return t.sourceType=this.options.sourceType,e.comments&&(t.comments=e.comments),e.tokens&&(t.tokens=e.tokens),t.range&&(t.range[0]=t.body.length?t.body[0].range[0]:t.range[0],t.range[1]=e.lastToken?e.lastToken.range[1]:t.range[1]),t.loc&&(t.loc.start=t.body.length?t.body[0].loc.start:t.loc.start,t.loc.end=e.lastToken?e.lastToken.loc.end:t.loc.end),t}parseTopLevel(e){return this[Wa].impliedStrict&&(this.strict=!0),super.parseTopLevel(e)}raise(t,u){const i=e.acorn.getLineInfo(this.input,t),r=new SyntaxError(u);throw r.index=t,r.lineNumber=i.line,r.column=i.column+1,r}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 u=super.jsx_readString(e);return this.type===t.string&&(this[Wa].jsxAttrValueToken=!0),u}[Ha](e){if("TemplateElement"===e.type){const t="${"===this.input.slice(e.end,e.end+2);e.range&&(e.range[0]--,e.range[1]+=t?2:1),e.loc&&(e.loc.start.column--,e.loc.end.column+=t?2:1)}return e.type.indexOf("Function")>-1&&!e.generator&&(e.generator=!1),e}}},za="7.3.1",Ka={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"],Program:["body"],Property:["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"]};const Qa=Object.freeze(Object.keys(Ka));for(const e of Qa)Object.freeze(Ka[e]);Object.freeze(Ka);const Ya=new Set(["parent","leadingComments","trailingComments"]);function Za(e){return!Ya.has(e)&&"_"!==e[0]}var eo=Object.freeze({KEYS:Ka,getKeys:e=>Object.keys(e).filter(Za),unionWith(e){const t=Object.assign({},Ka);for(const u of Object.keys(e))if(t.hasOwnProperty(u)){const i=new Set(e[u]);for(const e of t[u])i.add(e);t[u]=Object.freeze(Array.from(i))}else t[u]=Object.freeze(Array.from(e[u]));return Object.freeze(t)}});const{getLatestEcmaVersion:to,getSupportedEcmaVersions:uo}=Xa,io={_regular:null,_jsx:null,get regular(){return null===this._regular&&(this._regular=ba.Parser.extend(Ja())),this._regular},get jsx(){return null===this._jsx&&(this._jsx=ba.Parser.extend(Ta(),Ja())),this._jsx},get(e){return Boolean(e&&e.ecmaFeatures&&e.ecmaFeatures.jsx)?this.jsx:this.regular}};var ro={version:za,tokenize:function(e,t){const u=io.get(t);return t&&!0===t.tokens||(t=Object.assign({},t,{tokens:!0})),new u(t,e).tokenize()},parse:function(e,t){return new(io.get(t))(t,e).parse()},Syntax:function(){let e,t={};for(e in"function"==typeof Object.create&&(t=Object.create(null)),wa)Object.hasOwnProperty.call(wa,e)&&(t[e]=wa[e]);return"function"==typeof Object.freeze&&Object.freeze(t),t}(),VisitorKeys:eo.KEYS,latestEcmaVersion:to(),supportedEcmaVersions:uo()};const no={range:!0,loc:!0,comment:!0,tokens:!0,sourceType:"module",ecmaFeatures:{jsx:!0,globalReturn:!0,impliedStrict:!1}};var so={parsers:{espree:Hn((function(u,i,r){const{parse:n,latestEcmaVersion:s}=ro;no.ecmaVersion=s;const a=Jn(u),{result:o,error:c}=t((()=>n(a,Object.assign(Object.assign({},no),{},{sourceType:"module"}))),(()=>n(a,Object.assign(Object.assign({},no),{},{sourceType:"script"}))));if(!o)throw function(t){const{message:u,lineNumber:i,column:r}=t;return"number"!=typeof i?t:e(u,{start:{line:i,column:r}})}(c);return Jr(o,Object.assign(Object.assign({},r),{},{originalText:u}))}))}};export default so;
|